/* ============================================================
   DOR Content Theme — theme.css
   Diocese of Raleigh Parish Content Calendar
   Institutional navy + liturgical gold
   Cormorant Garamond display + DM Sans body
   ============================================================ */

:root {
    /* Brand */
    --dor-navy:       #1a2744;
    --dor-navy-mid:   #253560;
    --dor-navy-light: #e8ecf4;
    --dor-gold:       #b8962e;
    --dor-gold-light: #f5ede0;
    --dor-gold-mid:   #d4a83a;

    /* Neutrals */
    --dor-cream:      #faf8f4;
    --dor-cream-dark: #f1ece2;
    --dor-white:      #ffffff;
    --dor-ink:        #1a1714;
    --dor-ink2:       #3d3830;
    --dor-ink3:       #6b6560;
    --dor-border:     #e0d8cc;
    --dor-border2:    #cfc6b4;

    /* Radius */
    --r:    8px;
    --r-lg: 14px;
    --r-xl: 20px;

    /* Header height */
    --header-h: 68px;
    --max-w: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dor-ink);
    background: var(--dor-cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dor-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER — institutional, authoritative
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dor-navy);
    height: var(--header-h);
    border-bottom: 3px solid var(--dor-gold);
}
.site-header__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo / identity */
.site-header__identity { flex-shrink: 0; }
.site-header__logo-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}
.site-header__logo-text:hover { text-decoration: none; }
.site-header__diocese {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dor-gold-mid);
}
.site-header__site-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--dor-white);
    letter-spacing: -.01em;
}

/* Custom logo */
.site-header__identity .custom-logo-link img {
    max-height: 48px;
    width: auto;
}

/* Navigation */
.site-nav { margin-left: auto; }
.site-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
}
.site-nav__list a {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,.8);
    border-radius: var(--r);
    transition: background .15s, color .15s;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item a {
    background: rgba(255,255,255,.1);
    color: #fff;
    text-decoration: none;
}

/* Diocese link */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.site-header__diocese-link {
    font-size: 12px;
    color: var(--dor-gold-mid);
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(212,168,58,.35);
    padding: 5px 10px;
    border-radius: var(--r);
    transition: background .15s;
}
.site-header__diocese-link:hover {
    background: rgba(212,168,58,.12);
    text-decoration: none;
}

/* Hamburger */
.site-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.site-nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    transition: all .2s;
}

/* ============================================================
   PAGE HEADER — used on homepage and inner pages
   ============================================================ */
.page-header {
    background: var(--dor-white);
    border-bottom: 3px solid var(--dor-gold);
    padding: 36px 0 32px;
}
.page-header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}
.page-header__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dor-ink3);
    font-weight: 500;
    margin-bottom: 10px;
}
.page-header__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 600;
    color: var(--dor-ink);
    line-height: 1.1;
    letter-spacing: -.01em;
    margin-bottom: 10px;
}
.page-header__desc {
    font-size: 15px;
    color: var(--dor-ink3);
    font-weight: 300;
    line-height: 1.65;
    max-width: 560px;
}
.page-header__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    padding-top: 4px;
}

/* Page content (generic page) */
.page-content { padding: 40px 0 64px; }
.page-content .container { max-width: 1100px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.dor-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: inherit;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.dor-page-btn--primary {
    background: var(--dor-navy);
    color: #fff;
}
.dor-page-btn--primary:hover {
    background: var(--dor-navy-mid);
    color: #fff;
    text-decoration: none;
}
.dor-page-btn--outline {
    background: transparent;
    color: var(--dor-navy);
    border: 1.5px solid var(--dor-navy);
}
.dor-page-btn--outline:hover {
    background: var(--dor-navy-light);
    text-decoration: none;
}
.dor-page-btn--ghost {
    background: transparent;
    color: var(--dor-ink3);
    border: 1px solid var(--dor-border2);
}
.dor-page-btn--ghost:hover {
    background: var(--dor-cream-dark);
    text-decoration: none;
}

/* ============================================================
   HOME SECTIONS
   ============================================================ */
.home-section { padding: 40px 0; }
.home-section--week { background: var(--dor-white); border-bottom: 1px solid var(--dor-border); }
.home-section--recent { background: var(--dor-cream); }
.home-section--how { background: var(--dor-navy); padding: 56px 0; }

.home-section__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--dor-ink);
    margin-bottom: 20px;
}
.home-section--week .home-section__title { color: var(--dor-ink); }

.home-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}
.home-section__see-all {
    font-size: 13px;
    color: var(--dor-gold);
    font-weight: 500;
}

/* ---- Recent posts grid ---- */
.home-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.home-post-card {
    background: var(--dor-white);
    border: 1px solid var(--dor-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.home-post-card__thumb-link { display: block; }
.home-post-card__thumb {
    position: relative;
    height: 160px;
    background: var(--dor-cream-dark);
    overflow: hidden;
}
.home-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.home-post-card__thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dor-border2);
}
.home-post-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.home-post-card__count {
    position: absolute;
    bottom: 7px;
    right: 8px;
    background: rgba(26,39,68,.7);
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
}
.home-post-card__body {
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-post-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
.home-post-card__date { font-size: 11px; color: var(--dor-ink3); }
.home-post-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--dor-ink);
    line-height: 1.25;
    margin-bottom: 4px;
}
.home-post-card__title a { color: inherit; }
.home-post-card__title a:hover { color: var(--dor-navy); text-decoration: none; }
.home-post-card__caption {
    font-size: 12px;
    color: var(--dor-ink3);
    line-height: 1.5;
    flex: 1;
    font-weight: 300;
}
.home-post-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid var(--dor-border);
}
.home-post-card__view {
    font-size: 12px;
    color: var(--dor-gold);
    font-weight: 500;
}

/* Small button variant */
.dor-btn--sm { padding: 4px 10px; font-size: 11px; }

/* ---- How-to section (dark bg) ---- */
.home-how {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.home-how__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.home-how__body {
    font-size: 14px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 14px;
}
.home-how__links { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.home-how__steps { display: flex; flex-direction: column; gap: 24px; }
.home-how__step { display: flex; gap: 16px; align-items: flex-start; }
.home-how__step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212,168,58,.2);
    border: 1px solid var(--dor-gold-mid);
    color: var(--dor-gold-mid);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.home-how__step h3 {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}
.home-how__step p {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
    font-weight: 300;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-header {
    background: var(--dor-white);
    border-bottom: 3px solid var(--dor-gold);
    padding: 28px 0 24px;
}
.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--dor-ink3);
    margin-bottom: 14px;
}
.post-breadcrumb a { color: var(--dor-ink3); }
.post-breadcrumb a:hover { color: var(--dor-navy); }
.post-header__inner { display: flex; flex-direction: column; gap: 8px; }
.post-header__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.post-header__sep { color: var(--dor-border2); }
.post-header__date { font-size: 13px; color: var(--dor-ink3); }
.post-header__moveable {
    font-size: 11px;
    color: var(--dor-ink3);
    background: var(--dor-cream-dark);
    padding: 2px 7px;
    border-radius: 4px;
}
.post-header__evergreen {
    font-size: 10px;
    background: var(--dor-gold-light);
    color: var(--dor-gold);
    border-radius: 4px;
    padding: 2px 7px;
    font-weight: 500;
}
.post-header__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: var(--dor-ink);
    line-height: 1.15;
    letter-spacing: -.01em;
}

.post-body { padding: 36px 0 64px; }
.post-body__inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.post-body__main { min-width: 0; }

/* Sidebar */
.post-sidebar-card {
    background: var(--dor-white);
    border: 1px solid var(--dor-border);
    border-radius: var(--r-lg);
    padding: 20px;
}
.post-sidebar-card--light { background: var(--dor-cream-dark); border-color: var(--dor-border); margin-top: 16px; }
.post-sidebar-card__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dor-ink);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.post-sidebar-card__steps {
    list-style: none;
    counter-reset: steps;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.post-sidebar-card__steps li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--dor-ink2);
}
.post-sidebar-card__steps li::before {
    content: counter(steps);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dor-navy-light);
    color: var(--dor-navy);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.post-sidebar-card__caption-box {
    background: var(--dor-cream);
    border-radius: var(--r);
    padding: 12px;
    border: 1px solid var(--dor-border);
}
.post-sidebar-card__caption-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dor-ink3);
    margin-bottom: 6px;
}
.post-sidebar-card__caption-text {
    font-size: 13px;
    color: var(--dor-ink2);
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}
.post-sidebar-card__copy {
    width: 100%;
    padding: 8px;
    background: var(--dor-navy);
    color: #fff;
    border: none;
    border-radius: var(--r);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}
.post-sidebar-card__copy:hover { background: var(--dor-navy-mid); }
.post-sidebar-card__copy.is-copied { background: #2a7a2a; }
.post-sidebar-card__diocese-note {
    font-size: 12px;
    color: var(--dor-ink3);
    line-height: 1.6;
    text-align: center;
}

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding-top: 28px;
    margin-top: 32px;
    border-top: 1px solid var(--dor-border);
}
.post-nav__prev { display: flex; justify-content: flex-start; }
.post-nav__center { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.post-nav__next { display: flex; justify-content: flex-end; }

.post-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: var(--r);
    border: 1px solid var(--dor-border);
    background: var(--dor-white);
    transition: background .15s, border-color .15s;
    max-width: 220px;
}
.post-nav__link:hover {
    background: var(--dor-navy-light);
    border-color: #b0c0d8;
    text-decoration: none;
}
.post-nav__link--disabled { visibility: hidden; }

.post-nav__arrow {
    color: var(--dor-gold);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.post-nav__link-inner {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.post-nav__link--next .post-nav__link-inner { text-align: right; }
.post-nav__date {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dor-ink3);
}
.post-nav__title {
    font-size: 13px;
    color: var(--dor-ink);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-nav__all {
    font-size: 11px;
    color: var(--dor-ink3);
    border: 1px solid var(--dor-border2);
    padding: 4px 10px;
    border-radius: var(--r);
    transition: background .15s;
    white-space: nowrap;
}
.post-nav__all:hover { background: var(--dor-cream-dark); text-decoration: none; }
.post-nav__day-count {
    font-size: 11px;
    color: var(--dor-ink3);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .post-nav {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .post-nav__center {
        grid-column: 1 / -1;
        order: -1;
        flex-direction: row;
        justify-content: center;
    }
    .post-nav__link { max-width: 100%; }
    .post-nav__title { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dor-navy);
    border-top: 3px solid var(--dor-gold);
    padding: 36px 0;
}
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-footer__seal {
    font-size: 28px;
    color: var(--dor-gold-mid);
    opacity: .7;
    line-height: 1;
}
.site-footer__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}
.site-footer__subtitle {
    font-size: 11px;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.site-footer__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.site-footer__links a {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    font-weight: 300;
    transition: color .15s;
}
.site-footer__links a:hover { color: #fff; text-decoration: none; }
.site-footer__legal {
    width: 100%;
    font-size: 11px;
    color: rgba(255,255,255,.3);
    font-weight: 300;
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ============================================================
   EMAIL GATE MODAL — navy variant
   ============================================================ */
#dor-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,39,68,.6);
    z-index: 9998;
    backdrop-filter: blur(2px);
}
#dor-overlay.is-open { display: block; }

#dor-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    border-radius: var(--r-xl);
    padding: 44px 36px 36px;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 24px 60px rgba(26,39,68,.22);
    text-align: center;
}
#dor-modal.is-open { display: block; }
.dor-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dor-ink3);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s;
}
.dor-modal-close:hover { background: var(--dor-cream-dark); }

.dor-modal-cross {
    width: 28px; height: 28px;
    position: relative;
    margin: 0 auto 14px;
}
.dor-modal-cross::before, .dor-modal-cross::after {
    content: '';
    position: absolute;
    background: var(--dor-gold);
    border-radius: 2px;
}
.dor-modal-cross::before { width: 4px; height: 28px; left: 12px; top: 0; }
.dor-modal-cross::after  { width: 28px; height: 4px; left: 0; top: 12px; }

.dor-modal-eyebrow {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dor-ink3);
    margin-bottom: 6px;
}
.dor-modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--dor-ink);
    line-height: 1.2;
    margin-bottom: 10px;
}
.dor-modal-sub {
    font-size: 13px;
    color: var(--dor-ink3);
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 300;
}
.dor-gate-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--dor-ink2);
    margin-bottom: 6px;
    text-align: left;
}
.dor-gate-input {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--dor-border2);
    border-radius: var(--r);
    font-size: 14px;
    font-family: inherit;
    color: var(--dor-ink);
    background: var(--dor-cream);
    outline: none;
    box-sizing: border-box;
    margin-bottom: 8px;
    transition: border-color .15s;
}
.dor-gate-input:focus { border-color: var(--dor-navy); }
.dor-gate-error {
    font-size: 12px;
    color: #b42318;
    text-align: left;
    margin-bottom: 8px;
}
.dor-gate-submit {
    width: 100%;
    padding: 13px;
    background: var(--dor-navy);
    color: #fff;
    border: none;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background .15s;
}
.dor-gate-submit:hover:not(:disabled) { background: var(--dor-navy-mid); }
.dor-gate-submit:disabled { opacity: .6; cursor: not-allowed; }
.dor-modal-fine {
    font-size: 11px;
    color: var(--dor-ink3);
    line-height: 1.5;
    font-weight: 300;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .post-body__inner { grid-template-columns: 1fr; }
    .post-body__sidebar { display: none; }
    .home-how { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    :root { --header-h: 58px; }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--dor-navy);
        border-bottom: 2px solid var(--dor-gold);
        padding: 12px 24px 20px;
        z-index: 99;
    }
    .site-nav.is-open { display: block; }
    .site-nav__list { flex-direction: column; gap: 2px; }
    .site-nav__list a { padding: 10px 12px; }
    .site-nav__toggle { display: flex; }
    .site-header__diocese-link { display: none; }

    .page-header__inner { flex-direction: column; gap: 20px; }
    .page-header__actions { flex-direction: row; }

    .home-posts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .home-post-card__thumb { height: 130px; }
    .home-how__steps { gap: 16px; }

    #dor-modal { padding: 36px 20px 28px; border-radius: var(--r-lg); }
}

@media (max-width: 480px) {
    .home-posts-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .home-post-card__title { font-size: 14px; }
    .home-post-card__caption { display: none; }
    .post-nav { flex-direction: column; gap: 12px; text-align: center; }
}

/* Next week title spacing */
.home-section__title--next {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--dor-border);
}

/* ============================================================
   BLOG — index + single post
   ============================================================ */

.blog-container {
    padding-top: 48px;
    padding-bottom: 64px;
}

/* ---- Grid ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- Card ---- */
.blog-card {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--dor-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .18s;
}
.blog-card:hover {
    box-shadow: 0 6px 24px rgba(26,39,68,.1);
    transform: translateY(-2px);
}
.blog-card__image-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card__image { transform: scale(1.03); }

.blog-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.blog-card__date {
    font-size: 11px;
    color: var(--dor-ink3);
    font-weight: 500;
}
.blog-card__cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--dor-gold);
    background: var(--dor-gold-light);
    padding: 2px 7px;
    border-radius: 20px;
    text-decoration: none;
}
.blog-card__cat:hover { background: var(--dor-gold); color: #fff; text-decoration: none; }

.blog-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--dor-ink);
    line-height: 1.3;
    margin-bottom: 10px;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--dor-navy); text-decoration: none; }

.blog-card__excerpt {
    font-size: 14px;
    color: var(--dor-ink2);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}
.blog-card__read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--dor-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.blog-card__read-more:hover { color: var(--dor-gold); text-decoration: none; }

/* ---- Pagination ---- */
.blog-pagination { display: flex; justify-content: center; }
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 600;
    color: var(--dor-navy);
    border: 1px solid var(--dor-border);
    text-decoration: none;
    transition: background .14s, color .14s;
}
.blog-pagination .page-numbers a:hover { background: var(--dor-navy); color: #fff; border-color: var(--dor-navy); text-decoration: none; }
.blog-pagination .page-numbers .current { background: var(--dor-navy); color: #fff; border-color: var(--dor-navy); }
.blog-pagination .page-numbers .dots { border: none; background: none; }

/* ---- Single post ---- */
.blog-single__byline {
    font-size: 13px;
    color: var(--dor-ink3);
    margin-top: 8px;
    font-style: italic;
}
.blog-single__hero { padding: 24px 0 0; }
.blog-single__hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--r-lg);
}
.blog-single__content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 0 32px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dor-ink2);
}
.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--dor-ink);
    margin: 1.5em 0 .5em;
    line-height: 1.25;
}
.blog-single__content h2 { font-size: 28px; }
.blog-single__content h3 { font-size: 22px; }
.blog-single__content p { margin-bottom: 1.2em; }
.blog-single__content ul,
.blog-single__content ol { margin: 0 0 1.2em 1.5em; }
.blog-single__content li { margin-bottom: .4em; }
.blog-single__content img { border-radius: var(--r); margin: 1.5em 0; }
.blog-single__content a { color: var(--dor-gold); }
.blog-single__content a:hover { color: var(--dor-navy); }
.blog-single__content blockquote {
    border-left: 3px solid var(--dor-gold);
    margin: 1.5em 0;
    padding: .75em 1.25em;
    background: var(--dor-gold-light);
    border-radius: 0 var(--r) var(--r) 0;
    font-style: italic;
    color: var(--dor-ink);
}

/* Category tag used in single post header */
.post-header__cat-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--dor-gold);
    background: rgba(184,150,46,.15);
    padding: 2px 8px;
    border-radius: 20px;
    text-decoration: none;
    margin-left: 6px;
}
.post-header__cat-tag:hover { background: var(--dor-gold); color: #fff; text-decoration: none; }

.blog-single__footer {
    max-width: 720px;
    margin: 0 auto 40px;
    padding-top: 24px;
    border-top: 1px solid var(--dor-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.blog-single__cats { font-size: 13px; color: var(--dor-ink3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.blog-single__back {
    font-size: 13px;
    font-weight: 600;
    color: var(--dor-navy);
    text-decoration: none;
}
.blog-single__back:hover { color: var(--dor-gold); text-decoration: none; }

/* Prev/next navigation */
.blog-single__nav {
    background: var(--dor-cream-dark);
    border-top: 1px solid var(--dor-border);
    padding: 28px 0;
}
.blog-single__nav .container {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}
.blog-single__nav-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    max-width: 45%;
}
.blog-single__nav-item--next { text-align: right; margin-left: auto; }
.blog-single__nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--dor-ink3);
}
.blog-single__nav-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--dor-navy);
    line-height: 1.3;
}
.blog-single__nav-item:hover .blog-single__nav-title { color: var(--dor-gold); text-decoration: none; }

/* Empty state */
.blog-empty {
    color: var(--dor-ink3);
    font-style: italic;
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
}

/* ============================================================
   CONTENT REQUEST PAGE
   ============================================================ */

.request-container {
    padding-top: 48px;
    padding-bottom: 64px;
}

.request-layout {
    max-width: 640px;
    margin: 0 auto;
}

.request-intro {
    font-size: 16px;
    color: var(--dor-ink2);
    line-height: 1.7;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--dor-border);
}

/* Errors */
.request-errors {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: var(--r);
    padding: 14px 18px;
    margin-bottom: 24px;
    color: #be123c;
    font-size: 14px;
}
.request-errors p { margin: 0 0 4px; }
.request-errors p:last-child { margin-bottom: 0; }

/* Form */
.request-form { display: flex; flex-direction: column; gap: 20px; }

.request-form__row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 520px) { .request-form__row--half { grid-template-columns: 1fr; } }

.request-form__field { display: flex; flex-direction: column; gap: 6px; }

.request-form__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dor-ink);
    letter-spacing: .01em;
}
.request-form__label span { color: var(--dor-gold); }

.request-form__input,
.request-form__textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--dor-border);
    border-radius: var(--r);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--dor-ink);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}
.request-form__input::placeholder,
.request-form__textarea::placeholder { color: var(--dor-ink3); }
.request-form__input:focus,
.request-form__textarea:focus {
    border-color: var(--dor-navy);
    box-shadow: 0 0 0 3px rgba(26,39,68,.1);
}
.request-form__textarea { resize: vertical; min-height: 120px; }

.request-form__submit {
    align-self: flex-start;
    background: var(--dor-navy);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: var(--r);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .1s;
    letter-spacing: .01em;
}
.request-form__submit:hover {
    background: var(--dor-navy-mid);
    transform: translateY(-1px);
}
.request-form__submit:active { transform: translateY(0); }

/* Success state */
.request-success {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 32px;
    background: #fff;
    border: 1px solid var(--dor-border);
    border-radius: var(--r-xl);
}
.request-success__icon {
    font-size: 32px;
    color: var(--dor-gold);
    margin-bottom: 16px;
}
.request-success__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--dor-ink);
    margin-bottom: 12px;
}
.request-success__msg {
    font-size: 15px;
    color: var(--dor-ink2);
    line-height: 1.7;
    margin-bottom: 24px;
}
.request-success__again {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dor-navy);
    border: 1.5px solid var(--dor-border);
    padding: 8px 20px;
    border-radius: var(--r);
    text-decoration: none;
    transition: border-color .14s, color .14s;
}
.request-success__again:hover {
    border-color: var(--dor-navy);
    color: var(--dor-navy);
    text-decoration: none;
}
