:root {
    --post-navy: #082b4b;
    --post-navy-2: #0e416b;
    --post-gold: #d8a14a;
    --post-gold-dark: #9b6a2e;
    --post-cream: #f6f1e8;
    --post-soft: #fbf8f1;
    --post-border: #e5dece;
    --post-text: #0f2b46;
    --post-muted: #64748b;
}

.post-detail-container {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.post-detail-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(216, 161, 74, .24), transparent 34%),
        linear-gradient(135deg, var(--post-navy), #06365c 58%, #0d4f7f);
    color: #fff;
    padding: 92px 0 82px;
}

.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    color: rgba(255,255,255,.74);
}

.post-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.post-breadcrumb a:hover {
    color: #fff;
}

.post-date-pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
}

.post-detail-hero h1 {
    max-width: 820px;
    margin: 18px 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 4.4vw, 58px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.post-hero-summary {
    max-width: 760px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    font-size: 17px;
}

.post-detail-section {
    background: linear-gradient(180deg, #fff 0%, var(--post-soft) 100%);
    padding: 64px 0 82px;
}

.post-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 38px;
    align-items: start;
}

.post-featured-image {
    margin: 0 0 22px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(8,43,75,.16);
    background: #dfe8ef;
}

.post-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.3;
    object-fit: cover;
}

.post-article-card {
    background: #fff;
    border: 1px solid var(--post-border);
    border-radius: 28px;
    padding: clamp(26px, 4vw, 54px);
    box-shadow: 0 20px 64px rgba(8,43,75,.08);
}

.post-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--post-border);
    color: var(--post-muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.post-content {
    color: var(--post-text);
    font-size: 18px;
    line-height: 1.86;
}

.post-content > *:first-child {
    margin-top: 0;
}

.post-content p {
    margin: 0 0 1.3em;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 1.65em 0 .65em;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.12;
    color: var(--post-navy);
}

.post-content h2 { font-size: 34px; }
.post-content h3 { font-size: 27px; }
.post-content h4 { font-size: 22px; }

.post-content strong {
    color: var(--post-navy);
}

.post-content a {
    color: var(--post-navy-2);
    font-weight: 800;
}

.post-content ul,
.post-content ol {
    padding-left: 1.35em;
    margin: 0 0 1.4em;
}

.post-content li {
    margin: .35em 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 22px 0;
}

.post-after-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--post-border);
}

.post-action-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 999px;
    background: var(--post-cream);
    color: var(--post-navy);
    text-decoration: none;
    font-weight: 900;
}

.post-action-link.primary {
    background: var(--post-navy);
    color: #fff;
}

.post-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.post-sidebar-card {
    display: block;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--post-border);
    color: var(--post-text);
    text-decoration: none;
    box-shadow: 0 18px 52px rgba(8,43,75,.08);
}

.post-sidebar-card h2 {
    margin: 8px 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--post-navy);
    font-size: 25px;
    line-height: 1.12;
}

.post-sidebar-card p {
    margin: 0 0 14px;
    color: var(--post-muted);
    line-height: 1.55;
}

.post-sidebar-eyebrow {
    display: inline-flex;
    color: var(--post-gold-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900;
}

.post-sidebar-link-card strong {
    color: var(--post-navy-2);
    font-size: 14px;
}

.post-sidebar-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 66px rgba(8,43,75,.13);
}

.post-sidebar-card-blue {
    background: linear-gradient(160deg, var(--post-navy), #0d446f);
    color: #fff;
    border-color: rgba(255,255,255,.14);
}

.post-sidebar-card-blue h2,
.post-sidebar-card-blue .post-sidebar-eyebrow {
    color: #fff;
}

.post-sidebar-card-blue p {
    color: rgba(255,255,255,.78);
}

.post-sidebar-card-gold {
    background: linear-gradient(160deg, #fff7e9, #efdcb7);
}

.post-sidebar-schedules {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.post-sidebar-schedule-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.1);
}

.post-sidebar-schedule-item span {
    color: var(--post-gold);
}

.post-sidebar-schedule-item strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.post-sidebar-schedule-item small {
    display: block;
    color: rgba(255,255,255,.7);
    font-weight: 700;
}

.post-sidebar-schedule-item b {
    color: #fff;
    font-size: 13px;
}

.post-recent-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.post-recent-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: var(--post-text);
}

.post-recent-item img,
.post-recent-placeholder {
    width: 76px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--post-cream);
}

.post-recent-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--post-gold-dark);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.post-recent-item strong {
    font-size: 14px;
    line-height: 1.32;
}

@media (max-width: 980px) {
    .post-detail-grid {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-sidebar-recent,
    .post-sidebar-card-blue {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .post-detail-container {
        width: min(100% - 28px, 1120px);
    }

    .post-detail-hero {
        padding: 52px 0 48px;
    }

    .post-detail-section {
        padding: 34px 0 52px;
    }

    .post-featured-image img {
        aspect-ratio: 16 / 10.5;
    }

    .post-content {
        font-size: 16px;
        line-height: 1.78;
    }

    .post-sidebar {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 640px) {
    .post-detail-hero h1 {
        font-size: clamp(28px, 8.5vw, 40px);
        line-height: 1.1;
        letter-spacing: -.03em;
    }

    .post-hero-summary {
        font-size: 15px;
        line-height: 1.65;
    }
}
