/* ==========================================================================
   Article Page Styles
   ========================================================================== */

/* Article Header */
.article-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-light);
}

/* Reading List Button */
.reading-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.reading-list-btn:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.reading-list-btn svg {
    width: 16px;
    height: 16px;
}

/* Article Title */
.article-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.article-excerpt {
    font-size: 22px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-style: italic;
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    overflow: hidden;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    line-height: 1.4;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.author-name:hover {
    color: var(--accent-warm);
}

.author-title {
    font-size: 13px;
    color: var(--text-tertiary);
}

.meta-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item svg {
    color: var(--accent-warm);
}

.share-buttons {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--accent-warm);
    color: white;
}

/* Article Hero Image */
.article-hero {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-warm) 0%, #147a9e 100%);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-caption {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 4px;
}

/* Article Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    padding: 60px 0;
}

.article-content {
    max-width: 720px;
}

.article-content p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.article-content p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    float: left;
    line-height: 0.8;
    padding-right: 16px;
    padding-top: 8px;
    color: var(--accent-warm);
    font-weight: 600;
}

.article-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    margin: 48px 0 24px;
    color: var(--text-primary);
}

.article-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-content li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.article-content blockquote {
    border-left: 4px solid var(--accent-warm);
    padding: 24px 32px;
    margin: 40px 0;
    background: #f9f9f9;
    font-style: italic;
    font-size: 20px;
    color: var(--text-secondary);
}

.article-content a {
    color: var(--accent-warm);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--accent-gold);
}

/* Pull Quote */
.wp-block-pullquote,
.pull-quote {
    margin: 48px 0;
    padding: 40px;
    background: var(--accent-warm);
    color: white;
    text-align: center;
    border: none;
    border-radius: 8px;
}

.wp-block-pullquote blockquote,
.pull-quote blockquote {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.wp-block-pullquote p,
.pull-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 16px !important;
    color: white !important;
}

.wp-block-pullquote p::first-letter,
.pull-quote p::first-letter {
    font-size: inherit !important;
    float: none !important;
    line-height: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
}

.wp-block-pullquote cite,
.pull-quote cite {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-style: normal;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

/* Stock Table */
.stock-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.stock-table th {
    background: var(--accent-primary);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
}

.stock-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
}

.stock-table tr:hover {
    background: #f9f9f9;
}

.stock-table .ticker {
    font-weight: 700;
    color: var(--accent-primary);
}

.stock-table .positive { color: #22c55e; font-weight: 600; }
.stock-table .negative { color: #D8442F; font-weight: 600; }

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 40px;
}

/* Table of Contents */
.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--accent-warm);
}

/* Related Articles */
.related-article {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.related-article-image {
    width: 80px;
    height: 60px;
    background: var(--accent-warm);
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.related-article span {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--text-tertiary);
}

/* Tags */
.article-tags {
    display: none;
}

/* Author Bio Box */
.author-bio-box {
    background: #f9f9f9;
    padding: 40px;
    margin: 48px 0;
    display: flex;
    gap: 24px;
}

.author-bio-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.author-bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-bio-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.author-bio-content h3 a:hover {
    color: var(--accent-warm);
}

.author-bio-content p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 16px !important;
}

.author-articles-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-warm);
    text-decoration: none;
}

.author-articles-link:hover {
    text-decoration: underline;
}

/* More From Author */
.more-from-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
}

.more-from-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
}

.more-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.more-article-card {
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.more-article-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.more-article-card .card-image {
    height: 160px;
    background: linear-gradient(135deg, var(--accent-warm) 0%, #147a9e 100%);
    position: relative;
    overflow: hidden;
}

.more-article-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-article-card .card-premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--accent-gold);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.more-article-card .card-premium-badge svg {
    width: 10px;
    height: 10px;
}

.more-article-card .card-body {
    padding: 24px;
}

.more-article-card .card-category {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-warm);
    margin-bottom: 8px;
}

.more-article-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.more-article-card .card-footer {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-tertiary);
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    margin-top: 12px;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-warm);
    z-index: 9999;
    transition: width 0.1s;
}
