/* ── Article Page ── */

.article-hero {
    padding: 5rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.article-hero--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article-hero--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 32, 39, 0.55) 0%,
        rgba(15, 32, 39, 0.75) 100%
    );
}

.article-hero--gradient {
    background: linear-gradient(160deg, #0f2027 0%, #203a43 40%, #2c5364 100%);
}

.article-hero .container {
    position: relative;
    z-index: 1;
}

.article-back {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.article-back:hover {
    color: white;
}

.article-back::before {
    content: '\2190\00a0';
}

.tier-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.article-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    max-width: 800px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.article-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.85;
    line-height: 1.5;
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.article-meta {
    font-size: 0.85rem;
    opacity: 0.6;
    letter-spacing: 0.02em;
}

.article-meta span + span::before {
    content: '\00b7';
    margin: 0 0.5rem;
}

/* ── Article Content Area ── */

.article-content {
    background: white;
}

/* ── Article Body ── */

.article-body {
    max-width: 680px;
    margin: 0 auto;
    padding: 3.5rem 24px 2rem;
}

.article-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #3a3a4a;
    margin-bottom: 1.4rem;
}

.article-body p.drop-cap::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    float: left;
    font-size: 3.8rem;
    line-height: 0.8;
    padding-right: 0.12em;
    padding-top: 0.08em;
    font-weight: 900;
    color: #0f2027;
}

.article-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #0f2027;
    margin-top: 2.8rem;
    margin-bottom: 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    letter-spacing: -0.01em;
}

.article-body h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 2rem;
}

.article-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f2027;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.article-body strong {
    font-weight: 600;
    color: #1a1a2e;
}

.article-body em {
    font-style: italic;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid #2c5364;
    background: #f7f8fa;
    font-style: italic;
    color: #555;
}

.article-body blockquote p {
    margin-bottom: 0;
}

.article-body ul,
.article-body ol {
    margin: 1.2rem 0;
    padding-left: 1.5rem;
    color: #3a3a4a;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body hr {
    border: none;
    text-align: center;
    margin: 2.5rem auto;
}

.article-body hr::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background: #ccc;
}

/* ── Article Figures ── */

.article-figure {
    margin: 2.5rem -2rem;
    line-height: 0;
}

.article-figure img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-figure--mid img {
    max-height: 600px;
}

.article-body img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* ── Citations ── */

.article-body sup {
    font-size: 0.7em;
    line-height: 0;
    position: relative;
    top: -0.4em;
}

.article-body sup a {
    color: #2c5364;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article-body sup a:hover {
    color: #0f2027;
}

/* ── References Section ── */

.article-references {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 24px 3rem;
}

.article-references-inner {
    background: #f7f8fa;
    border-radius: 10px;
    padding: 2rem 2.5rem;
}

.article-references h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f2027;
    margin-bottom: 1.2rem;
}

.article-references p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0.6rem;
    padding-left: 2rem;
    text-indent: -2rem;
}

.article-references a {
    color: #2c5364;
    text-decoration: none;
    word-break: break-all;
}

.article-references a:hover {
    text-decoration: underline;
}

/* ── Article Footer CTA ── */

.article-cta {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px 3rem;
    text-align: center;
}

.article-cta-inner {
    border-top: 1px solid #e0e0e0;
    padding-top: 2.5rem;
}

.article-cta p {
    font-size: 1.05rem;
    color: #3a3a4a;
    margin-bottom: 1.2rem;
    font-style: italic;
}

/* ── Article Index Page ── */

.index-hero {
    text-align: center;
    padding: 5rem 0 4rem;
    color: white;
    background: linear-gradient(160deg, #0f2027 0%, #203a43 40%, #2c5364 100%);
}

.index-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.index-hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    font-style: italic;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 24px;
}

.article-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #2c5364;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: block;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-card .tier-badge {
    background: rgba(44, 83, 100, 0.1);
    border-color: rgba(44, 83, 100, 0.2);
    color: #2c5364;
    margin-bottom: 0.8rem;
}

.article-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f2027;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-card .card-subtitle {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.article-card .card-meta {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.02em;
}

.article-card .card-meta span + span::before {
    content: '\00b7';
    margin: 0 0.4rem;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .article-hero {
        padding: 3.5rem 0 3rem;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.05rem;
    }

    .article-body {
        padding: 2.5rem 20px 1.5rem;
    }

    .article-body p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .article-body h2 {
        font-size: 1.4rem;
    }

    .article-body h3 {
        font-size: 1.15rem;
    }

    .article-body ul,
    .article-body ol {
        font-size: 1rem;
    }

    .article-figure {
        margin: 2rem -10px;
    }

    .article-references-inner {
        padding: 1.5rem;
    }

    .index-hero {
        padding: 3.5rem 0 3rem;
    }

    .index-hero h1 {
        font-size: 2rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    .article-hero h1 {
        font-size: 1.7rem;
    }

    .article-subtitle {
        font-size: 0.95rem;
    }

    .article-body p {
        font-size: 0.95rem;
    }

    .article-body p.drop-cap::first-letter {
        font-size: 3.2rem;
    }

    .article-body h2 {
        font-size: 1.25rem;
    }
}
