/*
Theme Name: Oasis Agence
Theme URI: https://www.oasislagence.com
Description: Thème sur mesure Oasis L'Agence — Archetype B Split Editorial
Version: 2.0.0
Author: Oasis Agence
Text Domain: oasis-agence
*/

/* =============================================
   VARIABLES
============================================= */
:root {
    --olive:       #2D5016;
    --olive-dk:    #1E3710;
    --olive-lt:    #4A7A28;
    --terra:       #C4783A;
    --terra-lt:    #E8A878;
    --cream:       #FAF7F2;
    --cream-2:     #F0E8DC;
    --ink:         #1A1208;
    --ink-lt:      #3D3328;
    --muted:       #7A6E65;
    --border:      #E2D9CE;
    --white:       #FFFFFF;

    --radius:      6px;
    --radius-lg:   14px;
    --shadow-sm:   0 2px 12px rgba(26,18,8,0.07);
    --shadow:      0 6px 28px rgba(26,18,8,0.11);
    --shadow-lg:   0 16px 56px rgba(26,18,8,0.16);

    --max-w:       1200px;
    --hh:          68px;
    --ease:        0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-lt);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.18;
    color: var(--ink);
}

/* =============================================
   UTILS
============================================= */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

.label-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 10px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: var(--olive);
    color: var(--white);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background var(--ease), transform var(--ease);
    border: 2px solid var(--olive);
}
.cta-primary:hover {
    background: var(--olive-dk);
    border-color: var(--olive-dk);
    transform: translateY(-1px);
}
.cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--white);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.5);
    transition: all var(--ease);
}
.cta-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }

/* =============================================
   HEADER
============================================= */
.oa-header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--hh);
    z-index: 100;
    transition: background var(--ease), box-shadow var(--ease);
}
.oa-header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Transparent on hero pages */
.home .oa-header,
.single .oa-header,
.category .oa-header,
.tag .oa-header {
    background: transparent;
    color: var(--white);
}

/* Opaque on plain pages */
.page:not(.home) .oa-header,
.error404 .oa-header {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}

.oa-header.is-scrolled {
    background: rgba(26,18,8,0.96) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
    color: var(--white);
}

/* Logo — stacked (two lines) */
.oa-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: inherit;
    transition: opacity var(--ease);
}
.oa-logo:hover { opacity: 0.78; }
.oa-logo svg { width: 110px; height: 44px; }

/* Nav */
.oa-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.oa-nav-mobile-top { display: none; }
.oa-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.oa-nav-links a {
    display: block;
    padding: 7px 13px;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-color var(--ease), color var(--ease);
}
.oa-nav-links a:hover { border-bottom-color: var(--terra); color: var(--terra-lt); }
.oa-header.is-scrolled .oa-nav-links a,
.home .oa-header:not(.is-scrolled) .oa-nav-links a,
.single .oa-header:not(.is-scrolled) .oa-nav-links a,
.category .oa-header:not(.is-scrolled) .oa-nav-links a,
.tag .oa-header:not(.is-scrolled) .oa-nav-links a { color: rgba(255,255,255,0.82); }
.page:not(.home) .oa-header .oa-nav-links a { color: var(--ink-lt); }
.page:not(.home) .oa-header .oa-nav-links a:hover { color: var(--olive); border-bottom-color: var(--olive); }

.oa-nav-contact {
    margin-left: 12px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: var(--terra);
    color: var(--white);
    border-radius: var(--radius);
    transition: background var(--ease);
}
.oa-nav-contact:hover { background: var(--olive); }

.oa-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: inherit;
}
.oa-burger svg { width: 22px; height: 22px; }

/* =============================================
   SPLIT HERO (Archetype B signature)
============================================= */
/* Hero plein écran — slideshow en fond, overlay dégradé sur la gauche */
.split-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #0f0a04;
}

/* Slideshow couvre tout le hero */
.sh-slideshow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}
.sh-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
    display: block;
}
.sh-slide.active { opacity: 1; }

/* Panneau texte gauche — overlay dégradé */
.sh-left {
    position: relative;
    z-index: 2;
    width: 58%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--hh) + 64px) 96px 80px 72px;
    background: linear-gradient(to right,
        rgba(20,12,4,0.97) 0%,
        rgba(20,12,4,0.94) 50%,
        rgba(20,12,4,0.72) 75%,
        transparent 100%
    );
}

/* Spacer pour forcer le hero à pleine largeur */
.sh-right { display: none; }

.sh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--terra-lt);
    margin-bottom: 20px;
}
.sh-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 1.5px;
    background: var(--terra);
}
.sh-left h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.06;
    margin-bottom: 22px;
    max-width: 700px;
}
.sh-left h1 em { font-style: italic; color: var(--terra-lt); }
.sh-left p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.78;
    margin-bottom: 38px;
    max-width: 560px;
}
.sh-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.sh-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 28px;
    max-width: 480px;
}
.sh-stat {
    flex: 1;
    padding-right: 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.sh-stat:last-child { border-right: none; padding-right: 0; padding-left: 24px; }
.sh-stat:first-child { padding-left: 0; }
.sh-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}
.sh-stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; }

/* =============================================
   EDITORIAL ARTICLES (Featured + 2-col grid)
============================================= */
.editorial-section {
    padding: 96px 0;
    background: var(--cream);
}
.editorial-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}
.editorial-head h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    color: var(--ink);
}
.editorial-head-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--olive);
    border-bottom: 1.5px solid var(--olive);
    padding-bottom: 1px;
    transition: color var(--ease), border-color var(--ease);
}
.editorial-head-link:hover { color: var(--terra); border-color: var(--terra); }

/* Featured article: horizontal big card */
.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 36px;
    background: var(--white);
    min-height: 400px;
}
.fp-image { overflow: hidden; position: relative; }
.fp-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.featured-post:hover .fp-image img { transform: scale(1.04); }
.fp-image-placeholder {
    width: 100%; height: 100%;
    min-height: 360px;
    background: var(--cream-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.fp-body {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.fp-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 14px;
}
.fp-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.22;
}
.fp-title a { color: inherit; }
.fp-title a:hover { color: var(--olive); }
.fp-excerpt { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.fp-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 24px;
}
.fp-meta svg { width: 13px; height: 13px; }
.fp-meta span { display: flex; align-items: center; gap: 5px; }
.fp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--olive);
    transition: gap var(--ease);
}
.fp-link:hover { gap: 14px; color: var(--terra); }
.fp-link svg { width: 16px; height: 16px; }

/* 2-column grid for rest of articles */
.posts-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.post-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: box-shadow var(--ease), transform var(--ease);
}
.post-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pi-image { aspect-ratio: 16/9; overflow: hidden; background: var(--cream-2); }
.pi-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-item:hover .pi-image img { transform: scale(1.06); }
.pi-image-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.pi-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.pi-cat {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 8px;
}
.pi-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
    flex: 1;
}
.pi-title a { color: inherit; }
.pi-title a:hover { color: var(--olive); }
.pi-meta {
    display: flex;
    gap: 12px;
    font-size: 0.74rem;
    color: var(--muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.pi-meta span { display: flex; align-items: center; gap: 4px; }
.pi-meta svg { width: 12px; height: 12px; flex-shrink: 0; }

/* =============================================
   PERSONA BAND (Archetype B — centré pleine largeur)
============================================= */
.persona-band {
    background: var(--cream-2);
    padding: 88px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.pb-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}
.pb-photo-wrap { margin-bottom: 24px; }
.pb-photo {
    width: 160px; height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
}
.pb-photo-ph {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: var(--cream);
    margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
}
.pb-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 8px;
}
.pb-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}
.pb-role { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
.pb-bio { color: var(--ink-lt); font-size: 0.97rem; line-height: 1.82; text-align: left; margin-bottom: 28px; }
.pb-bio p { margin-bottom: 12px; }
.pb-bio ul { text-align: left; padding-left: 0; margin-bottom: 12px; }
.pb-bio li { padding: 3px 0 3px 18px; position: relative; font-size: 0.94rem; }
.pb-bio li::before { content: '→'; position: absolute; left: 0; color: var(--terra); }
.pb-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.pb-badge {
    padding: 6px 16px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--olive);
}

/* =============================================
   CATEGORY TILES (image de fond pleine)
============================================= */
.cat-tiles-section { padding: 88px 0 0; background: var(--cream); }
.cat-tiles-head { padding: 0 32px 40px; max-width: var(--max-w); margin: 0 auto; }
.cat-tiles-head h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: var(--ink);
}
.cat-tiles-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.cat-tile {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: block;
}
.cat-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}
.cat-tile:hover .cat-tile-bg { transform: scale(1.07); }
.cat-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,18,8,0.85) 0%, rgba(26,18,8,0.3) 50%, transparent 100%);
}
.cat-tile-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 24px;
    z-index: 1;
    color: var(--white);
    transform: translateY(8px);
    transition: transform var(--ease);
}
.cat-tile:hover .cat-tile-body { transform: translateY(0); }
.ct-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.ct-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin-bottom: 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.cat-tile:hover .ct-desc { max-height: 60px; }
.ct-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--terra-lt);
    opacity: 0;
    transition: opacity var(--ease);
}
.cat-tile:hover .ct-cta { opacity: 1; }
.ct-cta svg { width: 13px; height: 13px; }

/* =============================================
   FOOTER — 2 colonnes (Archetype B)
============================================= */
.oa-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.6);
}
.oa-footer-main {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    padding: 72px 0 56px;
}
.oa-foot-brand {}
.oa-foot-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    margin-bottom: 18px;
}
.oa-foot-logo svg { width: 90px; height: 38px; }
.oa-foot-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 400px;
    margin-bottom: 24px;
}
.oa-foot-copy { font-size: 0.76rem; color: rgba(255,255,255,0.3); }

.oa-foot-nav {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 2fr;
    gap: 32px;
    padding-top: 8px;
}
.oa-foot-col h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
}
.oa-foot-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.oa-foot-col a { font-size: 0.86rem; color: rgba(255,255,255,0.58); transition: color var(--ease); }
.oa-foot-col a:hover { color: var(--terra-lt); }
.oa-foot-recent { display: flex; flex-direction: column; gap: 12px; }
.oa-foot-post-title { font-size: 0.82rem; color: rgba(255,255,255,0.58); line-height: 1.4; display: block; margin-bottom: 2px; }
.oa-foot-post-title:hover { color: var(--terra-lt); }
.oa-foot-post-date { font-size: 0.72rem; color: rgba(255,255,255,0.27); }

.oa-footer-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* =============================================
   POST HERO
============================================= */
.post-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    overflow: hidden;
}
.ph-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.ph-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26,18,8,0.45) 0%, rgba(45,80,22,0.6) 50%, rgba(26,18,8,0.88) 100%);
}
.ph-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: calc(var(--hh) + 60px) 0 56px;
    border-top: none;
}
.ph-breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
}
.ph-breadcrumb a { color: rgba(255,255,255,0.55); }
.ph-breadcrumb a:hover { color: var(--white); }
.ph-cat {
    display: inline-block;
    background: var(--terra);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.ph-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
    font-weight: 600;
    color: var(--white);
    max-width: 780px;
    margin-bottom: 18px;
    line-height: 1.15;
}
.ph-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
}
.ph-meta span { display: flex; align-items: center; gap: 5px; }
.ph-meta svg { width: 13px; height: 13px; }
.ph-stars { margin-top: 12px; }

/* =============================================
   ARTICLE CONTENT
============================================= */
.post-featured-img {
    max-width: 760px;
    margin: 48px auto 0;
    padding: 0 24px;
}
.post-featured-img img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.post-body { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.entry-content {
    padding: 40px 0 56px;
    color: var(--ink-lt);
    font-size: 1.02rem;
    line-height: 1.85;
}
.entry-content h2 { font-size: 1.85rem; margin: 44px 0 18px; }
.entry-content h3 { font-size: 1.4rem; margin: 32px 0 14px; }
.entry-content p { margin-bottom: 20px; }
.entry-content ul { list-style: none; padding-left: 0; margin-bottom: 20px; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 20px; }
.entry-content ul li { position: relative; padding-left: 1.3em; margin-bottom: 8px; }
.entry-content ul li::before { content: ''; position: absolute; left: 0; top: 0.52em; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); flex-shrink: 0; }
.entry-content ol li { margin-bottom: 8px; }
.entry-content blockquote {
    border-left: 3px solid var(--terra);
    padding: 14px 22px;
    margin: 28px 0;
    background: var(--cream-2);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--muted);
}
.entry-content a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); margin: 24px auto; }

.ai-summary-wrap { max-width: 760px; margin: 28px auto 0; padding: 0 24px; }

.post-tags {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.post-tags-label { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.post-tag {
    padding: 4px 12px;
    background: var(--cream-2);
    border-radius: var(--radius);
    font-size: 0.76rem;
    color: var(--ink-lt);
    border: 1px solid var(--border);
    transition: all var(--ease);
}
.post-tag:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }

/* Author */
.author-block { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.author-inner {
    background: var(--cream-2);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 64px;
    border-left: 3px solid var(--terra);
}
.author-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-photo-ph { width: 72px; height: 72px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.author-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--terra); margin-bottom: 3px; }
.author-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.author-role { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.author-bio { font-size: 0.9rem; color: var(--ink-lt); line-height: 1.7; }

/* Related */
.related-section { background: var(--cream-2); padding: 64px 0 80px; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 32px;
}

/* =============================================
   ARCHIVE HERO
============================================= */
.arch-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
}
.arch-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.arch-hero-overlay { position: absolute; inset: 0; background: rgba(26,18,8,0.68); }
.arch-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.arch-hero-lbl { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--terra-lt); margin-bottom: 10px; }
.arch-hero-inner h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 4.5vw, 3.2rem); color: var(--white); margin-bottom: 14px; }
.arch-hero-desc { color: #fff !important; }
.arch-hero-desc p { color: #fff !important; text-shadow: 0 1px 5px rgba(0,0,0,.5); font-size: 0.97rem; margin: 0; }
.arch-count {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
    padding: 4px 14px; border-radius: var(--radius);
    font-size: 0.76rem; margin-top: 14px;
}

.archive-posts { padding: 72px 0; }

/* SEO Block */
.seo-block { background: var(--white); padding: 80px 0; border-top: 1px solid var(--border); }
.seo-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
}
.seo-text h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; color: var(--ink); margin-bottom: 16px; }
.seo-text p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.seo-list { list-style: none; padding: 0; margin: 18px 0; }
.seo-list li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; display: flex; gap: 10px; }
.seo-list li::before { content: '→'; font-family: monospace; color: var(--terra); flex-shrink: 0; }
.seo-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.seo-img img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.seo-img:hover img { transform: scale(1.03); }

/* =============================================
   PAGE HERO (contact, mentions, plan)
============================================= */
.page-hero-band {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page-hero-band::before { content: ''; position: absolute; inset: 0; background: rgba(26,18,8,0.65); }
.page-hero-band .phb-inner { position: relative; z-index: 1; }
.page-hero-band h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--white); margin: 0 0 8px; }
.phb-breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.phb-breadcrumb a { color: rgba(255,255,255,0.65); }
.phb-breadcrumb a:hover { color: var(--white); }

/* Contact */
.contact-section { padding: 80px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--ink); margin-bottom: 14px; }
.contact-intro p { color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.contact-info-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ink-lt); font-size: 0.9rem; }
.contact-info-item svg { width: 17px; height: 17px; color: var(--terra); flex-shrink: 0; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-wrap h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--ink); margin-bottom: 22px; }
.wpcf7-form p { display: flex; flex-direction: column; gap: 5px; margin: 0 0 16px; }
.wpcf7-form br { display: none; }
.wpcf7-form label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.92rem; color: var(--ink-lt); background: var(--cream); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(45,80,22,0.1); background: var(--white); }
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form .wpcf7-submit { width: 100%; padding: 13px; background: var(--olive); color: var(--white); border: none; border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.wpcf7-form .wpcf7-submit:hover { background: var(--olive-dk); }
.wpcf7-not-valid-tip { font-size: 0.76rem; color: #e53e3e; margin-top: 3px; }
.wpcf7-response-output { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius); font-size: 0.87rem; border: 1.5px solid; }
.wpcf7-mail-sent-ok { border-color: #38a169; color: #276749; background: #f0fff4; }
.wpcf7-validation-errors { border-color: #e53e3e; color: #c53030; background: #fff5f5; }

/* Legal */
.legal-section { padding: 80px 0; background: var(--cream); }
.legal-content { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: 52px 60px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.legal-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--ink); margin: 38px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--terra); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.75; margin-bottom: 12px; font-size: 0.95rem; }
.legal-content a { color: var(--olive); }
.legal-content ul { padding-left: 20px; list-style: disc; }

/* Sitemap */
.sitemap-section { padding: 80px 0; }
.sitemap-content { max-width: 900px; margin: 0 auto; }
.sitemap-cat-block { margin-bottom: 40px; }
.sitemap-cat-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; color: var(--ink); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sitemap-posts { display: flex; flex-direction: column; gap: 4px; }
.sitemap-post { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); font-size: 0.88rem; transition: all var(--ease); }
.sitemap-post:hover { border-color: var(--olive); color: var(--olive); }
.sitemap-post::before { content: '→'; color: var(--terra); font-weight: 700; }

/* =============================================
   MOBILE NAV OVERLAY
============================================= */
@media (max-width: 900px) {
    .oa-burger { display: flex; align-items: center; justify-content: center; }
    .oa-nav-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 22px;
        border-bottom: 1px solid var(--border);
    }
    .oa-nav-mobile-top .oa-logo { color: var(--ink); }
    .oa-nav-mobile-close { background: none; border: none; cursor: pointer; padding: 5px; color: var(--ink); }
    .oa-nav-mobile-close svg { width: 21px; height: 21px; }

    .oa-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .oa-nav {
        position: fixed;
        inset: 0;
        z-index: 200;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
    }
    .oa-nav.is-open { transform: translateX(0); }
    .oa-nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
    .oa-nav-links a {
        border-bottom: 1px solid var(--border);
        border-bottom-width: 1px;
        border-left: none;
        padding: 14px 22px;
        font-size: 1rem;
        color: var(--ink) !important;
        border-bottom-color: var(--border) !important;
    }
    .oa-nav-links a:hover { background: var(--cream); border-bottom-color: var(--border) !important; color: var(--olive) !important; }
    .oa-nav-contact { margin: 18px 22px; text-align: center; border-radius: var(--radius); }

    /* Override transparent header link colors on mobile */
    .home .oa-header:not(.is-scrolled) .oa-nav-links a,
    .single .oa-header:not(.is-scrolled) .oa-nav-links a,
    .category .oa-header:not(.is-scrolled) .oa-nav-links a,
    .tag .oa-header:not(.is-scrolled) .oa-nav-links a { color: var(--ink) !important; }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .sh-left { width: 72%; padding: calc(var(--hh) + 40px) 48px 60px 40px; }
    .cat-tiles-row { grid-template-columns: 1fr 1fr; }
    .cat-tile { aspect-ratio: 4/3; }
    .seo-inner { grid-template-columns: 1fr 340px; }
    .posts-2col { grid-template-columns: 1fr; }
    .featured-post { grid-template-columns: 1fr; min-height: auto; }
    .fp-image { height: 280px; }
    .oa-footer-main { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    :root { --hh: 60px; }
    .sh-left { width: 100%; padding: calc(var(--hh) + 40px) 24px 48px; min-height: 100vh; }
    .sh-right { display: none; }
    .sh-stats { flex-direction: column; gap: 16px; }
    .sh-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 0 16px !important; }
    .sh-stat:last-child { border-bottom: none; }
    .cat-tiles-row { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
    .legal-content { padding: 28px 18px; }
    .author-inner { flex-direction: column; }
    .seo-inner { grid-template-columns: 1fr; }
    .seo-img { order: -1; }
    .post-body { padding: 0 16px; }
    .post-featured-img { padding: 0 16px; }
    .author-block { padding: 0 16px; }
    .ai-summary-wrap { padding: 0 16px; }
    .wrap { padding: 0 18px; }
    .editorial-section { padding: 64px 0; }
    .persona-band { padding: 64px 0; }
    .oa-foot-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .cat-tiles-row { grid-template-columns: 1fr; }
    .sh-actions { flex-direction: column; }
}
