/* ===== BACKSTAGE PASS BLOG ===== */
/* General layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.rail-col {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Masthead */
.blog-masthead {
    background-color: var(--color-cream);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    padding: 3rem 0 2.5rem;
    margin-bottom: 2rem;
}

.masthead-inner {
    text-align: center;
    border-top: 3px double var(--color-navy);
    border-bottom: 3px double var(--color-navy);
    padding: 2rem 1rem 2.5rem;
    max-width: 800px;
}

.masthead-presented {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.masthead-wordmark {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 400;
    color: var(--color-navy);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.masthead-wordmark em {
    font-style: italic;
    color: var(--color-amber);
}

.masthead-tagline {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dateline */
.dateline {
    margin-bottom: 2rem;
}

.dateline-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dateline-date {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-navy);
}

.dateline-pill {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--color-amber);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 30px;
}

/* Cover story (featured) */
.cover-story {
    background: var(--color-cream);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.cover-story-image,
.cover-story-fallback {
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.cover-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cover-story-fallback {
    background: linear-gradient(145deg, var(--color-navy) 0%, #2C4A70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    position: relative;
}

.cover-story-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15), transparent 70%);
    pointer-events: none;
}

.cover-story-content {
    padding: 38px 40px;
}

.cover-story-category {
    display: inline-block;
    color: var(--color-amber);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.cover-story-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 400;
    letter-spacing: -0.8px;
    line-height: 1.08;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.cover-story-headline a {
    color: var(--color-navy);
    text-decoration: none;
}

.cover-story-headline a:hover {
    color: var(--color-navy-light);
}

.cover-story-dek {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.cover-story-byline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Bridge callout */
.bridge {
    margin-top: 26px;
    padding: 22px 24px;
    border-radius: 16px;
    border-left: 3px solid var(--color-amber);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.bridge-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-amber);
    margin-bottom: 0.5rem;
}

.bridge p {
    color: var(--color-text);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bridge-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

/* Feed heading */
.feed-head {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feed-head h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-navy);
    margin: 0;
    white-space: nowrap;
}

.feed-head .rule {
    flex: 1;
    height: 1px;
    background: rgba(30, 58, 95, 0.2);
    margin-left: 1rem;
}

/* Stories list */
.stories-list {
    border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.story {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    padding: 28px 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.story-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-navy-light);
    padding-top: 0.25rem;
}

.story-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-amber);
    margin-bottom: 0.35rem;
}

.story-title h3,
.story-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.story-title a {
    color: var(--color-navy);
    text-decoration: none;
}

.story-title a:hover {
    color: var(--color-navy-light);
}

.story-dek {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.story-takeaway {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.story-takeaway strong {
    color: var(--color-navy);
    font-weight: 600;
}

.story-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Empty state */
.blog-empty-state {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 3rem 2rem;
    text-align: center;
}

.blog-empty-state h2 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

/* ===== RAIL MODULES ===== */
.rmod {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    border: 1px solid rgba(30, 58, 95, 0.06);
}

.rmod h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.rmod p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Ticket card special */
.ticket-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 14px;
    overflow: visible;
}

.ticket-notch {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    background: var(--color-base);
    border-radius: 50%;
    border: 1px solid rgba(30, 58, 95, 0.1);
    z-index: 2;
}

.ticket-notch-top {
    top: -13px;
}

.ticket-notch-bottom {
    bottom: -13px;
}

.ticket-body {
    padding: 0.5rem 0;
}

.ticket-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.ticket-body p {
    margin-bottom: 0.75rem;
}

.ticket-perforation {
    border-top: 2px dashed rgba(30, 58, 95, 0.2);
    margin: 1rem 0 0.75rem;
}

.ticket-footnote {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 0;
}

/* Forms in rail */
.nv-form-field {
    margin-bottom: 0.75rem;
}

.nv-form-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nv-form-field input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid rgba(30, 58, 95, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.25s ease;
}

.nv-form-field input:focus {
    outline: none;
    border-color: var(--color-navy-light);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
}

.btn-block {
    width: 100%;
    margin-top: 0.25rem;
}

/* Follow links */
.follow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.follow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-cream);
    border: 1px solid rgba(30, 58, 95, 0.1);
    color: var(--color-navy);
    transition: all 0.25s ease;
}

.follow-link:hover {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
}

/* Planning card */
.rail-phone {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    text-decoration: none;
}

/* Sections list */
.sections-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sections-list li {
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    padding: 0.5rem 0;
}

.sections-list li:last-child {
    border-bottom: none;
}

.sections-list a {
    color: var(--color-navy);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.sections-list a:hover {
    color: var(--color-amber);
}

/* ===== ARTICLE PAGE ===== */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--color-navy);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-amber);
}

.article {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 3rem;
    margin-bottom: 3rem;
}

.article-category {
    display: inline-block;
    color: var(--color-amber);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.article-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.article-dek {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-navy-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

.article-byline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.article-hero,
.article-hero-fallback {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    aspect-ratio: 16 / 9;
}

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

.article-hero-fallback {
    background: linear-gradient(145deg, var(--color-navy) 0%, #2C4A70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    position: relative;
}

.article-hero-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15), transparent 70%);
    pointer-events: none;
}

.article-body {
    max-width: 68ch;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

/* Drop cap on first paragraph */
.article-body > p:first-of-type::first-letter {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3.2rem;
    float: left;
    line-height: 0.85;
    padding-right: 0.5rem;
    padding-top: 0.1rem;
    color: var(--color-amber);
    font-weight: 600;
}

.article-body h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 2.5rem 0 1rem;
    line-height: 1.2;
}

.article-body h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 2rem 0 0.75rem;
    line-height: 1.2;
}

.article-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

.article-body blockquote.pull-quote {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--color-navy);
    border-left: 3px solid var(--color-amber);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2.5rem 0;
    font-weight: 400;
}

.article-bridge {
    margin-top: 3rem;
}

/* End of article subscribe box */
.article-end-subscribe {
    background: var(--color-cream);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.article-end-subscribe h2 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.article-end-subscribe p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.nv-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.nv-form-row input[type="email"] {
    flex: 1 1 220px;
    max-width: 320px;
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(30, 58, 95, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    background: #fff;
}

.nv-form-row input[type="email"]:focus {
    outline: none;
    border-color: var(--color-navy-light);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
}

/* More posts section */
.more-posts {
    margin-top: 3rem;
}

.more-posts-heading {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.more-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.more-post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.more-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.more-post-card img,
.more-post-fallback {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.more-post-fallback {
    background: linear-gradient(145deg, var(--color-navy) 0%, #2C4A70 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.more-post-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-amber);
    margin: 0.75rem 1rem 0.25rem;
}

.more-post-title {
    margin: 0 1rem 0.5rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.3;
}

.more-post-title a {
    color: var(--color-navy);
    text-decoration: none;
}

.more-post-title a:hover {
    color: var(--color-navy-light);
}

.more-post-date {
    margin: 0 1rem 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 960px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .rail-col {
        position: static;
        top: auto;
        order: 2;
    }
    .cover-story-content {
        padding: 2rem 1.5rem;
    }
    .story {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
    }
    .story-number {
        font-size: 1rem;
    }
    .article {
        padding: 2rem 1.5rem;
    }
    .article-title {
        font-size: 2rem;
    }
    .article-dek {
        font-size: 1.1rem;
    }
    .article-body {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .masthead-wordmark {
        font-size: 2.5rem;
    }
    .dateline-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .dateline-pill {
        align-self: flex-start;
    }
    .cover-story-headline {
        font-size: 1.8rem;
    }
    .story {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .story-number {
        font-size: 0.9rem;
    }
    .article {
        padding: 1.5rem 1rem;
    }
    .article-body blockquote.pull-quote {
        font-size: 1.4rem;
        padding-left: 1rem;
    }
    .article-body > p:first-of-type::first-letter {
        font-size: 2.5rem;
    }
    .nv-form-row {
        flex-direction: column;
    }
    .nv-form-row input[type="email"] {
        max-width: none;
    }
    .ticket-card {
        padding: 1.25rem;
    }
}

/* ===== Backstage Pass photo masthead (matches the email header) ===== */
.blog-masthead {
    position: relative;
    background: #0f1e34 url('/assets/blog/backstage-pass-masthead.jpg') center 45% / cover no-repeat;
    border-bottom: none;
    padding: 4.5rem 0 4rem;
    margin-bottom: 2rem;
    overflow: hidden;
}
.blog-masthead::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,30,52,0.88) 0%, rgba(15,30,52,0.72) 38%, rgba(15,30,52,0.25) 70%, rgba(15,30,52,0.05) 100%);
    pointer-events: none;
}
.blog-masthead .masthead-inner {
    position: relative;
    text-align: left;
    max-width: 1200px;
    border: none;
    padding: 0 1.5rem;
}
.blog-masthead .masthead-presented {
    color: var(--color-amber);
    letter-spacing: 0.22em;
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(245,239,226,0.35);
    display: inline-block;
    min-width: min(470px, 90%);
}
.blog-masthead .masthead-wordmark {
    color: var(--color-cream);
    font-weight: 500;
    font-size: clamp(3rem, 7vw, 5.25rem);
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(245,239,226,0.35);
    display: inline-block;
    min-width: min(470px, 90%);
}
.blog-masthead .masthead-wordmark em { color: var(--color-amber); }
.blog-masthead .masthead-tagline {
    color: rgba(245,239,226,0.9);
    margin: 0;
    max-width: 520px;
    font-size: 1.05rem;
}
.blog-masthead .masthead-inner > * { display: block; width: fit-content; }
@media (max-width: 700px) {
    .blog-masthead { padding: 3rem 0 2.75rem; background-position: 70% 45%; }
    .blog-masthead::before { background: rgba(15,30,52,0.78); }
}
