/* ============================================================
   SURRENDER MAGAZINE · article + index page styles
   Reuses tokens from /index.css
   ============================================================ */

.article-body { background: var(--cream); }

/* --- Magazine index header --- */
.magazine-hero {
    padding: 9rem 2rem 3.5rem;
    text-align: center;
    background:
        radial-gradient(circle at 80% -10%, rgba(180, 217, 220, 0.45), transparent 55%),
        radial-gradient(circle at 10% 110%, rgba(216, 184, 154, 0.25), transparent 60%),
        var(--cream);
    border-bottom: 1px solid rgba(4, 128, 137, 0.06);
}
.magazine-hero-inner { max-width: 760px; margin: 0 auto; }

.spaceholders-masthead-hero {
    margin: 0 auto 2rem !important;
    max-width: 580px !important;
    padding: 2.5rem 2.75rem !important;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.magazine-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 1rem 0 1.25rem;
}
.magazine-hero-desc {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

.magazine-page { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.magazine-page-section + .magazine-page-section { margin-top: 4rem; }

.magazine-section-header { margin-bottom: 2rem; text-align: center; }
.magazine-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-top: 0.6rem;
}

/* Featured card on /spaceholders/ uses real image */
.magazine-page .magazine-feature-link { flex-direction: row; min-height: 380px; }
.magazine-page .magazine-feature-image {
    width: 50%;
    height: auto;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.magazine-page .magazine-feature-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}
.magazine-page .magazine-feature-link:hover .magazine-feature-image img { transform: scale(1.04); }
.magazine-page .magazine-issue {
    position: absolute; top: 1.25rem; right: 1.25rem;
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 600;
    color: #fff; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 100px;
    backdrop-filter: blur(8px);
}
.magazine-page .magazine-feature-content { padding: 2.5rem; }

@media (max-width: 800px) {
    .magazine-page .magazine-feature-link { flex-direction: column; }
    .magazine-page .magazine-feature-image { width: 100%; height: 260px; }
    .magazine-page .magazine-feature-content { padding: 2rem 1.5rem; }
}

/* Card grid */
.magazine-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
@media (max-width: 900px) { .magazine-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .magazine-page-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.magazine-page-card {
    display: flex; flex-direction: column;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(4, 128, 137, 0.08);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.45s var(--ease-out-expo);
}
.magazine-page-card:hover {
    transform: translateY(-4px);
    border-color: rgba(4, 128, 137, 0.18);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(4, 128, 137, 0.08);
}
.magazine-page-card-image {
    width: 100%; aspect-ratio: 16/10; overflow: hidden;
}
.magazine-page-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}
.magazine-page-card:hover .magazine-page-card-image img { transform: scale(1.04); }
.magazine-page-card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.magazine-page-card-title {
    font-family: var(--font-display);
    font-size: 1.18rem; font-weight: 600;
    color: var(--text-primary); line-height: 1.3;
    letter-spacing: -0.01em;
}
.magazine-page-card-excerpt {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}

.magazine-cta-section { margin-top: 5rem; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-hero {
    position: relative;
    height: 70vh;
    min-height: 540px;
    overflow: hidden;
}
.article-hero-image {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.article-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.55) 70%, rgba(252, 251, 247, 1) 100%);
    z-index: 1;
}
.article-hero-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 0 2rem 4.5rem;
    max-width: 880px; margin: 0 auto; left: 50%; transform: translateX(-50%);
    color: #fff;
    text-align: center;
}
.article-back {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase; letter-spacing: 0.16em;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}
.article-back:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255,255,255,0.5); }
.article-back-logo { height: 18px; width: auto; display: block; }
@media (max-width: 600px) { .article-back-logo { height: 14px; } }
.article-category {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem; font-weight: 600;
    color: var(--teal-soft);
    text-transform: uppercase; letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.article-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.2vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.article-excerpt {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-style: italic;
    line-height: 1.55;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.article-meta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}
.article-meta-dot { opacity: 0.6; }

@media (max-width: 600px) {
    .article-hero { height: auto; min-height: 0; padding-top: 6rem; }
    .article-hero-image { position: relative; height: 320px; }
    .article-hero-content {
        position: static; transform: none;
        padding: 2rem 1.5rem 2.5rem;
        color: var(--text-primary);
        background: var(--cream);
    }
    .article-back { color: var(--text-secondary); border-color: rgba(4,128,137,0.18); background: rgba(255,255,255,0.6); }
    .article-back:hover { color: var(--teal-deep); }
    .article-category { color: var(--teal-deep); }
    .article-title { text-shadow: none; }
    .article-excerpt { color: var(--text-secondary); text-shadow: none; }
    .article-meta { color: var(--text-muted); }
    .article-hero-overlay { display: none; }
}

/* Body */
.article-body-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem 2rem 6rem;
    position: relative;
    z-index: 2;
}
.article-content { font-family: 'Cormorant Garamond', Georgia, serif; }
.article-p {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-primary);
    margin-bottom: 1.4rem;
    font-weight: 400;
}
.article-content > .article-p:first-child::first-letter {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 4.2rem;
    float: left;
    line-height: 0.85;
    padding: 0.35rem 0.7rem 0 0;
    color: var(--teal-deep);
}
.article-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.015em;
    margin: 2.6rem 0 1rem;
    line-height: 1.25;
}
.article-ul {
    margin: 0 0 1.6rem;
    padding-left: 1.4rem;
}
.article-li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
}
.article-li::marker { color: var(--teal-deep); }

/* References */
.article-references {
    margin: 4rem 0 2rem;
    padding: 1.75rem 2rem;
    border-radius: 18px;
    background: rgba(180, 217, 220, 0.18);
    border: 1px solid rgba(4, 128, 137, 0.08);
}
.article-ref-title {
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 600;
    color: var(--teal-deep);
    text-transform: uppercase; letter-spacing: 0.16em;
    margin-bottom: 1rem;
}
.article-ref-list { padding-left: 1.2rem; }
.article-ref-list li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.65rem;
}
.article-ref-list li::marker { color: var(--text-muted); }

/* CTA card */
.article-cta-card {
    text-align: center;
    padding: 3rem 2rem;
    margin: 3.5rem 0 0;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(180, 217, 220, 0.4), rgba(232, 244, 245, 0.6));
    border: 1px solid rgba(4, 128, 137, 0.12);
    backdrop-filter: blur(14px);
}
.article-cta-logo { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem; }
.article-cta-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: -0.015em;
}
.article-cta-card p {
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 1.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Pager */
.article-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
}
.article-pager-link {
    display: flex; flex-direction: column;
    padding: 1.1rem 1.4rem;
    border-radius: 14px;
    border: 1px solid rgba(4, 128, 137, 0.1);
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s var(--ease-out-expo);
    min-height: 78px;
}
.article-pager-link:hover {
    border-color: rgba(4, 128, 137, 0.25);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}
.article-pager-link.next { text-align: right; }
.article-pager-label {
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 600;
    color: var(--teal-deep);
    text-transform: uppercase; letter-spacing: 0.16em;
    margin-bottom: 0.3rem;
}
.article-pager-title {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
@media (max-width: 600px) {
    .article-pager { grid-template-columns: 1fr; }
    .article-pager-link.next { text-align: left; }
}

/* ============================================================
   Voices from the Field — index section + detail page
   ============================================================ */

.section-voices .magazine-section-lede {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 560px;
    margin: 0.75rem auto 0;
}
.voices-loading,
.voices-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-style: italic;
    padding: 2rem 1rem;
}
.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.voice-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(4, 128, 137, 0.1);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease-out-expo);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(4, 128, 137, 0.05);
}
.voice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(4, 128, 137, 0.1);
    border-color: rgba(4, 128, 137, 0.2);
}
.voice-card-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(180, 217, 220, 0.4), rgba(216, 184, 154, 0.3));
}
.voice-card-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(180, 217, 220, 0.5), rgba(216, 184, 154, 0.4));
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: rgba(4, 128, 137, 0.55);
}
.voice-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.voice-card-eyebrow {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--teal-deep);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
    display: block;
}
.voice-card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin-bottom: 0.3rem;
}
.voice-card-role {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.voice-card-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Voice detail page */
.voice-detail-main {
    max-width: 820px;
    margin: 0 auto;
    padding: 9rem 1.5rem 5rem;
}
.voice-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal-deep);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    margin-bottom: 2rem;
}
.voice-detail-back:hover { text-decoration: underline; text-underline-offset: 4px; }

.voice-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 280px) 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}
@media (max-width: 720px) {
    .voice-detail-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}
.voice-detail-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 20px 56px rgba(4, 128, 137, 0.12);
}
.voice-detail-eyebrow {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
    display: block;
}
.voice-detail-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
}
.voice-detail-role {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.voice-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    color: var(--teal-deep);
    text-decoration: none;
}
.voice-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.voice-detail-answers {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.voice-detail-answer {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(4, 128, 137, 0.08);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    backdrop-filter: blur(10px);
}
.voice-detail-answer-q {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal-deep);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.4rem;
    display: block;
}
.voice-detail-answer-direction {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.75rem;
}
.voice-detail-answer-a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.65;
    white-space: pre-wrap;
}

.voice-detail-gallery {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.voice-detail-gallery img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(4, 128, 137, 0.08);
}

.voice-not-found {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
}
