/* ═══════════════════════════════════════════════════════════
   UNIVERSAL THEME — main.css v3.0.0
   Exact Planhat.com design language
   Header/Nav + Footer rebuilt pixel-perfect
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ── Root variables ── */
:root {
  --announce-h: 36px;
  --header-h:   64px;
  --max-w:      1200px;
  --pad:        clamp(20px, 5vw, 72px);

  --accent:       #843c12;
  --bg:           #ffffff;
  --text:         #0b0b0b;
  --body-color:   #4a423a;
  --link:         #843c12;
  --radius:       4px;

  --ff-body:    'Inter', 'Poppins', sans-serif;
  --ff-head:    'Inter', 'Poppins', sans-serif;
  --body-size:  16px;
  --body-lh:    1.7;
  --head-weight:600;

  /* ── Theme palette ── */
  --hdr-text:   #0b0b0b;
  --blue-dark:  #a64b16;
  --blue-mid:   #a64b16;
  --blue-light: #a64b16;
  --blue-border: rgba(38,118,239,0.3);

  --hdr-bg:     #ffffff;
  --hdr-border: rgba(132,60,18,0.15);
  --hdr-bg-s:   rgba(255,255,255,0.97);
  --nav-link:   rgba(15,23,42,0.7);
  --nav-hover:  #a64b16;
  --nav-link-s: rgba(15,23,42,0.7);
  --nav-hover-s:#a64b16;

  --mega-bg:    #ffffff;
  --mega-border:rgba(132,60,18,0.12);
  --mega-head:  rgba(132,60,18,0.65);
  --mega-link:  #0b0b0b;
  --mega-link-h:#a64b16;

  --ann-bg:     #a64b16;
  --ann-text:   rgba(255,255,255,0.82);
  --ann-highlight:#ffffff;

  /* Footer — white bg, Planhat style */
  --ftr-bg:         #ffffff;
  --ftr-text:       rgba(0,0,0,0.55);
  --ftr-head:       rgba(0,0,0,0.45);
  --ftr-border:     rgba(0,0,0,0.0225);
  --ftr-link:       rgba(0,0,0,0.65);
  --ftr-link-h:     #0b0b0b;

  /* announce bar divider */
  --announce-border: rgba(255,255,255,0.25);

  /* button: LOG IN (outline blue) */
  --btn-login-color:        #a64b16;
  --btn-login-border:       #a64b16;
  --btn-login-bg:           transparent;
  --btn-login-hover-bg:     #a64b16;
  --btn-login-hover-color:  #ffffff;
  --btn-login-hover-border: #a64b16;

  /* button: CTA / REQUEST A DEMO (filled blue) */
  --btn-demo-bg:          #a64b16;
  --btn-demo-color:       #ffffff;
  --btn-demo-hover-bg:    #a64b16;
  --btn-demo-hover-color: #ffffff;

  /* nav typography */
  --nav-font-size:   0.8rem;
  --nav-font-weight: 500;

  /* mobile nav */
  --mnav-bg:           #5c2a0d;
  --mnav-sub-bg:       #4a2109;
  --mnav-link-color:   rgba(255,255,255,0.85);
  --mnav-link-hover:   #ffffff;
  --mnav-toggle-color: rgba(255,255,255,0.55);
  --mnav-head-color:   rgba(255,255,255,0.85);

  /* footer typography */
  --ftr-col-head-size:    0.6rem;
  --ftr-col-head-weight:  700;
  --ftr-col-head-spacing: 0.18em;
  --ftr-link-size:        0.88rem;
  --ftr-link-weight:      500;
  --ftr-big-weight:       500;
  --ftr-big-spacing:     -0.02em;

  --border:       rgba(0,0,0,0.1);
  --border-light: rgba(255,255,255,0.07);
  --muted:        rgba(0,0,0,0.4);
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: var(--ff-body);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img    { display: block; max-width: 100%; height: auto; }
a      { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover{ color: var(--accent); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-head);
  font-weight: var(--head-weight);
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .9rem; }
p  { line-height: 1.7; }

/* ── Utilities ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.sr-only, .screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 99999;
  background: var(--accent); color: #fff; padding: 8px 16px;
  font-size: .85rem; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px;
  font-family: var(--ff-head); font-weight: 500; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s; border-radius: var(--radius);
  white-space: nowrap;
}
.btn-primary  { background: var(--text); color: #fff; border-color: var(--text); }
.btn-primary:hover { background: transparent; color: var(--text); }
.btn-outline  { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); }
.btn-white    { background: #fff; color: #0a0a0a; border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.btn-sm { padding: 7px 16px; font-size: .75rem; }

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.44,0,.56,1),
              transform .65s cubic-bezier(.44,0,.56,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }


/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR — Planhat scrolling ticker
═══════════════════════════════════════════════════════════ */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 8100;
  background: var(--ann-bg);
  height: var(--announce-h);
  display: flex; align-items: center;
  overflow: hidden;
  transition: transform .3s ease;
  border-bottom: 1px solid var(--announce-border);
}
body.announce-hidden .announce-bar { transform: translateY(-100%); }

/* Announcement bar disabled in the Customizer — collapse the reserved space
   so the header sits flush to the top and #page loses the extra padding. */
body.announce-off { --announce-h: 0px; }

.announce-track {
  display: flex; white-space: nowrap;
  animation: ticker 32s linear infinite;
  will-change: transform;
}
.announce-track:hover { animation-play-state: paused; }
.announce-item {
  padding: 0 56px;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ann-text); font-weight: 500;
}
.announce-item strong, .announce-item em { color: var(--ann-highlight); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ═══════════════════════════════════════════════════════════
   HEADER — fixed, Planhat backdrop blur on scroll
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: var(--announce-h); left: 0; right: 0;
  z-index: 8000;
  height: var(--header-h);
  background: var(--hdr-bg);
  /* Persistent resting border — visible always at rest */
  border-bottom: 1px solid var(--hdr-border, rgba(255,255,255,0.12));
  transition: none;
  will-change: background, backdrop-filter, border-color;
}
body.site-ready .site-header {
  transition: background .4s ease, top .3s ease, backdrop-filter .4s ease, box-shadow .4s ease, border-color .18s ease;
}

body.nav-transparent .site-header.at-top {
  background: transparent !important;
  border-bottom-color: transparent !important;
}

/* Scrolled: Planhat blur(30px) */
.site-header.scrolled {
  top: 0 !important;
  background: var(--hdr-bg-s) !important;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);

  border-bottom-color: rgba(255,255,255,.05) !important;
}

/* When any mega is open: header border fades out so panel connects seamlessly */
.site-header.has-mega-open {
  border-bottom-color: transparent !important;
  transition: border-color .18s ease, background .4s ease, backdrop-filter .4s ease !important;
}

/* Admin bar offsets */
.admin-bar .announce-bar { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .site-header  { top: calc(var(--announce-h) + var(--wp-admin--admin-bar--height, 32px)); }
.admin-bar .site-header.scrolled { top: var(--wp-admin--admin-bar--height, 32px) !important; }
.admin-bar #page { padding-top: calc(var(--announce-h) + var(--header-h)); }
@media (max-width: 782px) {
  .admin-bar .announce-bar { top: 46px; }
  .admin-bar .site-header  { top: calc(var(--announce-h) + 46px); }
  .admin-bar .site-header.scrolled { top: 46px !important; }
}

#page { padding-top: calc(var(--announce-h) + var(--header-h)); }
body.announce-hidden #page { padding-top: var(--header-h); }


/* ── Header inner — 3-zone Planhat flex ─────────────────
   logo:flex:none | nav:flex:1 0 0;width:1px | cta:flex:none
   width:1px is Planhat's trick to prevent nav link wrapping.
──────────────────────────────────────────────────────── */
.header-inner {
  max-width: 100%; margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
}

/* Zone 1: Logo — flex:none */
.site-logo { flex: none; display: flex; align-items: center; }
.site-logo a { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.site-logo img { max-height: 36px; width: auto; }
.logo-text {
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  color: var(--hdr-text, #0b0b0b); letter-spacing: -.01em; white-space: nowrap;
}
/* Wrapper that stacks site title + tagline vertically */
.logo-text-wrap {
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
}
.site-logo .site-title,
.site-logo .site-tagline {
  display: block;
}
.site-tagline {
  font-family: var(--ff-body); font-weight: 400; font-size: 0.72rem;
  color: var(--nav-link, rgba(15,23,42,0.6)); white-space: nowrap;
  letter-spacing: 0;
}

/* Zone 2: Nav — flex:1 0 0; width:1px */
.site-nav {
  flex: 1 0 0;
  width: 1px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.primary-menu {
  display: flex; align-items: center;
  list-style: none; flex-wrap: nowrap;
  gap: 0;
}
.nav-item { flex: none; position: static; }

/* Nav links — Planhat: 14px, opacity .78, no wrap */
.nav-link, .mega-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px;
  font-family: var(--ff-head); font-weight: var(--nav-font-weight); font-size: var(--nav-font-size);
  color: var(--nav-link);
  opacity: .8;
  background: none; border: none; cursor: pointer;
  transition: color .2s, opacity .2s;
  white-space: nowrap; border-radius: var(--radius);
  text-decoration: none; line-height: 1.2;
  letter-spacing: .01em;
}
.nav-link:hover, .mega-trigger:hover,
.nav-item.mega-open > .mega-trigger { color: var(--nav-hover); opacity: 1; }

.site-header.scrolled .nav-link,
.site-header.scrolled .mega-trigger { color: var(--nav-link-s); opacity: .8; }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .mega-trigger:hover,
.site-header.scrolled .nav-item.mega-open > .mega-trigger {
  color: var(--nav-hover-s); opacity: 1;
}

/* Planhat caret — pure CSS pseudo-elements forming a + that collapses vertically on open */
.nav-caret {
  display: inline-flex; align-items: center; justify-content: center;
  width: 8px; height: 8px; position: relative; flex-shrink: 0;
  pointer-events: none;
}
.nav-caret-h, .nav-caret-v {
  position: absolute;
  background: currentColor; border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-caret-h { width: 8px; height: 1px; }
.nav-caret-v { width: 1px; height: 8px; }
.nav-item.mega-open > .mega-trigger .nav-caret-v {
  transform: rotate(90deg); opacity: 0;
}

/* Zone 3: Right CTAs */
.nav-right {
  flex: none; display: flex; align-items: center;
  gap: 8px; padding-left: 16px;
}

/* LOG IN — colors fully customizable via CSS vars */
.nav-login-btn {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  font-family: var(--ff-head); font-weight: var(--nav-font-weight); font-size: var(--nav-font-size);
  letter-spacing: .01em;
  color: var(--btn-login-color); background: var(--btn-login-bg);
  border: 1px solid var(--btn-login-border); border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.nav-login-btn:hover { background: var(--btn-login-hover-bg); border-color: var(--btn-login-hover-border); color: var(--btn-login-hover-color); }

/* REQUEST A DEMO — colors fully customizable via CSS vars */
.nav-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  font-family: var(--ff-head); font-weight: var(--nav-font-weight); font-size: var(--nav-font-size);
  letter-spacing: .01em;
  color: var(--btn-demo-color); background: var(--btn-demo-bg);
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-cta-btn:hover {
  background: var(--btn-demo-hover-bg);
  color: var(--btn-demo-hover-color);
  border-color: var(--btn-demo-hover-border, #ffffff);
}

/* Hamburger (mobile only) */
.hbtn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  color: var(--nav-link, rgba(15,23,42,0.7));
  transition: color .2s; border-radius: var(--radius); flex-shrink: 0;
}
.hbtn:hover { color: var(--nav-hover, #a64b16); }
.hbtn-close { display: none; }
.hamburger.is-active .hbtn-open  { display: none; }
.hamburger.is-active .hbtn-close { display: block; }


/* ═══════════════════════════════════════════════════════════
   MEGA MENU PANEL — Planhat full-width dark dropdown
═══════════════════════════════════════════════════════════ */
.mega-panel {
  position: fixed;
  left: 0; right: 0; z-index: 7800;
  background: var(--mega-bg);
  border-bottom: 1px solid var(--mega-border);
  
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s cubic-bezier(.44,0,.56,1),
              transform .22s cubic-bezier(.44,0,.56,1);
}
.mega-panel--open { opacity: 1; pointer-events: all; transform: translateY(0); }

.mega-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 36px var(--pad) 64px;
  display: flex; flex-flow: row;
  justify-content: space-between;
  align-items: flex-start; gap: 48px;
}

/* Columns area */
.mega-cols {
  flex: 1 0 0; width: 1px;
  display: flex; flex-flow: row wrap;
  align-items: flex-start;
  gap: 0 32px;
}
.mega-group { display: flex; flex-direction: column; min-width: 140px; }
.mega-group + .mega-group {
  padding-left: 32px;
  border-left: 1px solid rgba(132,60,18,.08);
}

/* Group head — UPPERCASE, very muted, with arrow */
.mega-group-head {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--mega-head); margin-bottom: 14px;
  text-decoration: none; transition: color .15s;
  cursor: default;
}
a.mega-group-head { cursor: pointer; }
a.mega-group-head:hover { color: var(--blue-mid); }
.mega-group-head svg { opacity: .45; flex-shrink: 0; }

/* Links list */
.mega-group-links { list-style: none; display: flex; flex-direction: column; }
.mega-group-links li { border-bottom: 1px solid rgba(132,60,18,.06); }
.mega-group-links li:last-child { border-bottom: none; }

/* Standalone depth-1 link */
.mega-standalone { margin-bottom: 2px; }

/* All mega links */
.mega-link {
  display: block; padding: 8px 0;
  font-size: 1rem; font-weight: 600;
  color: var(--mega-link); text-decoration: none;
  letter-spacing: -.01em;
  transition: opacity .15s;
}
.mega-link:hover { opacity: .58; color: var(--mega-link-h); }
.mega-standalone .mega-link { font-size: 1.1rem; padding: 10px 0; }

/* Spotlight — right column */
.mega-spotlight { flex: none; width: 260px; }
.mega-spotlight__card {
  display: block; background: rgba(132,60,18,.04);
  border: 1px solid rgba(132,60,18,.12); border-radius: 10px;
  padding: 20px; text-decoration: none; transition: background .2s;
}
.mega-spotlight__card:hover { background: rgba(132,60,18,.08); }
.mega-spotlight__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.mega-spotlight__eyebrow {
  font-size: .58rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(132,60,18,.5);
}
.mega-spotlight__star { font-size: .8rem; color: rgba(38,118,239,.4); }
.mega-spotlight__title {
  font-size: .9rem; font-weight: 700; color: #0b0b0b;
  line-height: 1.3; margin-bottom: 8px; letter-spacing: -.01em;
}
.mega-spotlight__excerpt {
  font-size: .76rem; color: rgba(15,23,42,.5);
  line-height: 1.55; margin-bottom: 12px;
}
.mega-spotlight__img {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; border-radius: 5px; margin-bottom: 10px;
}
.mega-spotlight__img img { width: 100%; height: 100%; object-fit: cover; }
.mega-spotlight__meta {
  font-size: .67rem; color: rgba(132,60,18,.45);
  display: flex; align-items: center; gap: 6px;
}
.mega-spotlight__dot { opacity: .4; }

/* Overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 7700;
  display: none; cursor: default;
}
.nav-overlay.is-visible { display: block; }
body.nav-is-open .nav-overlay {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}


/* ═══════════════════════════════════════════════════════════
   MOBILE NAV — Planhat full-screen, slides from right
   Black bg, large links, + / — accordion, white CTA
═══════════════════════════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0; z-index: 9000;
  width: min(420px, 100vw);
  background: var(--mnav-bg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.55,.08,.68,.53);
  overflow: hidden;
  pointer-events: none;
}
.mobile-nav.is-open {
  transform: translateX(0);
  pointer-events: all;
}
body.site-ready .mobile-nav {
  transition: transform .32s cubic-bezier(.25,.46,.45,.94);
}

/* Mobile nav header row: logo + — close */
.mnav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  flex-shrink: 0;
}
.mnav-logo-link { text-decoration: none; min-width: 0; overflow: hidden; flex: 1; }
.mnav-logo-link img { max-height: 28px; width: auto; }
.mnav-logo-text {
  font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9);
  letter-spacing: -.01em; white-space: nowrap;
}

/* Close button */
.mnav-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.7); font-size: 1.6rem; font-weight: 300;
  line-height: 1; padding: 4px 8px;
  transition: color .2s; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px;
}
.mnav-close:hover { color: #fff; }

/* Scrollable body */
.mnav-body { flex: 1; overflow-y: auto; padding: 0 0 40px; }
.mnav-list { list-style: none; margin: 0; padding: 0; }

/* Top-level item row */
.mnav-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.mnav-item:last-child { border-bottom: none; }
.mnav-item-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; min-height: 56px;
}

/* Top-level link */
.mnav-link {
  flex: 1; color: var(--mnav-link-color); text-decoration: none;
  font-size: 1.05rem; font-weight: var(--nav-font-weight); letter-spacing: -.01em;
  transition: color .2s; padding: 16px 0;
}
.mnav-link:hover { color: var(--mnav-link-hover); }
.mnav-item.is-open > .mnav-item-row > .mnav-link { color: var(--mnav-link-color); font-weight: 600; }

/* Toggle button — shows + by default, — when open */
.mnav-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--mnav-toggle-color);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 300;
  transition: color .2s; flex-shrink: 0;
}
.mnav-toggle:hover { color: rgba(255,255,255,.8); }

/* + / — toggle spans — only one shows at a time */
.mnav-toggle-plus  { display: inline-block; line-height: 1; }
.mnav-toggle-minus { display: none; line-height: 1; }
.mnav-item.is-open .mnav-toggle-plus  { display: none; }
.mnav-item.is-open .mnav-toggle-minus { display: inline-block; }
.mnav-item.is-open > .mnav-item-row > .mnav-toggle {
  color: rgba(255,255,255,.6);
}

/* Sub-panel — KEY FIX: hidden by default via CSS (no HTML `hidden` attr) */
.mnav-sub {
  display: none; /* class-based — JS adds is-open to parent .mnav-item */
  background: var(--mnav-sub-bg, #4a2109);
  border-top: 1px solid rgba(255,255,255,.05);
}
.mnav-item.is-open > .mnav-sub { display: block; }

.mnav-sub-list { list-style: none; margin: 0; padding: 6px 0 18px; }
.mnav-sub-item { border-bottom: 1px solid rgba(255,255,255,.04); }
.mnav-sub-item:last-child { border-bottom: none; }

/* Group heading inside sub (uppercase, muted + arrow) */
.mnav-group-head {
  display: flex; align-items: center; gap: 5px;
  padding: 12px 24px 8px;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  text-decoration: none;
}
a.mnav-group-head:hover { color: rgba(255,255,255,.5); }
.mnav-group-arrow { flex-shrink: 0; opacity: .4; }

/* Sub links */
.mnav-sub-link {
  display: block; padding: 10px 24px;
  font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,.78); text-decoration: none;
  transition: color .2s, padding-left .15s;
}
.mnav-sub-link:hover { color: #fff; padding-left: 32px; }

/* Group link (grandchildren) */
.mnav-group-links { list-style: none; margin: 0; padding: 0 0 10px; }
.mnav-group-link {
  display: block; padding: 8px 24px;
  font-size: .9rem; font-weight: 400;
  color: rgba(255,255,255,.65); text-decoration: none;
  transition: color .2s, padding-left .15s;
}
.mnav-group-link:hover { color: #fff; padding-left: 32px; }

/* Mobile spotlight card */
.mnav-spotlight { margin: 16px 24px 4px; }
.mnav-spotlight__card {
  display: block; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: 8px;
  padding: 16px; text-decoration: none; transition: background .2s;
}
.mnav-spotlight__card:hover { background: rgba(255,255,255,.08); }
.mnav-spotlight__eyebrow {
  font-size: .58rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: 8px; display: flex; align-items: center; gap: 5px;
}
.mnav-spotlight__title {
  font-size: .88rem; font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 6px;
}
.mnav-spotlight__excerpt {
  font-size: .74rem; color: rgba(255,255,255,.42); line-height: 1.5;
}
.mnav-spotlight__img {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; border-radius: 4px; margin-bottom: 10px;
}
.mnav-spotlight__img img { width: 100%; height: 100%; object-fit: cover; }
.mnav-spotlight__meta { font-size: .68rem; color: rgba(255,255,255,.27); }

/* Mobile nav footer — full-width CTA button */
.mnav-footer {
  padding: 16px 24px 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.mnav-cta-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 20px;
  background: #a64b16; color: #ffffff;
  font-family: var(--ff-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: var(--radius); text-decoration: none;
  transition: opacity .2s;
}
.mnav-cta-btn:hover { opacity: .88; color: #ffffff; background: #a64b16; }

/* Scrollbar — thin dark */
.mnav-body::-webkit-scrollbar { width: 2px; }
.mnav-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.07); border-radius: 2px; }


/* ═══════════════════════════════════════════════════════════
   FOOTER — Planhat white background, multi-column
   Structure:
   footer-top: footer-cols (6 col grid) + footer-right (security + newsletter)
   footer-rule (1px, opacity .0225)
   footer-tagline-big ("Know them. Grow them." 113px)
   footer-bottom: © | Status | Terms | Privacy | Cookie | LinkedIn
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ftr-bg);
  color: var(--ftr-text);
  font-family: var(--ff-body);
  font-size: .88rem;
}

/* Top section — columns + right block */
.footer-top {
  max-width: 100%;
  padding: 72px var(--pad) 48px;
  display: flex; flex-flow: row wrap;
  gap: 48px;
  align-items: flex-start;
}

/* Left: nav columns */
.footer-left { flex: 1 0 0; min-width: 0; }

/* Brand block */
.footer-brand { margin-bottom: 40px; }
.footer-brand img { max-height: 28px; width: auto; }
.logo-text.footer-logo-text { color: var(--text); }
.footer-tagline {
  font-size: .84rem; color: var(--ftr-text);
  margin-top: 10px; max-width: 320px; line-height: 1.6;
}

/* Footer nav columns */
.footer-nav {
  display: flex; flex-flow: row wrap; gap: 0 48px;
}
.footer-col { display: flex; flex-direction: column; min-width: 140px; }

/* Column heading — Planhat: uppercase, opacity ~.45, text-transform uppercase */
.footer-col-head {
  display: block; margin-bottom: 14px;
  font-size: var(--ftr-col-head-size); font-weight: var(--ftr-col-head-weight);
  letter-spacing: var(--ftr-col-head-spacing); text-transform: uppercase;
  color: var(--ftr-head);
  text-decoration: none;
  opacity: .75;
}

/* Footer links */
.footer-links { list-style: none; display: flex; flex-direction: column; }
.footer-links li { padding: 2px 0; }
.footer-links a {
  font-size: var(--ftr-link-size); font-weight: var(--ftr-link-weight);
  color: var(--ftr-link); text-decoration: none;
  transition: color .15s;
  line-height: 1.8;
}
.footer-links a:hover { color: #a64b16; }

/* Custom text column */
.footer-col-text {
  font-size: .84rem; color: var(--ftr-text);
  line-height: 1.65;
}
.footer-col-text a { color: var(--ftr-link); text-decoration: underline; }
.footer-col-text a:hover { color: var(--ftr-link-h); }

/* Right block: awards + security badges + newsletter */
.footer-right { flex: none; width: 300px; }

.footer-right-head {
  display: block; margin-bottom: 20px;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ftr-head); opacity: .75;
}

/* Security/award logos */
.footer-award-logos { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-award-logos img,
.footer-award-logos svg { height: 28px; width: auto; opacity: .6; }

/* Security badges — Planhat: ISO 27001, SOC II, CCPA, GDPR */
.footer-security-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px; align-items: center;
}
.footer-badge {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(0,0,0,.12); border-radius: 8px;
  background: rgba(0,0,0,.03);
  font-size: .5rem; font-weight: 700; letter-spacing: .05em;
  text-align: center; line-height: 1.2;
  color: rgba(0,0,0,.55);
  text-transform: uppercase; flex-direction: column;
}

/* Newsletter form — Planhat: bottom-border-only email input */
.footer-newsletter {}
.footer-newsletter-label {
  display: block; font-size: .72rem; color: var(--ftr-text);
  margin-bottom: 12px; line-height: 1.5;
}
.footer-newsletter-label a { color: inherit; text-decoration: underline; }

.footer-email-wrap {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.35);
  display: flex; align-items: center;
}
.footer-email-wrap input[type="email"] {
  flex: 1; background: none; border: none; outline: none;
  padding: 8px 0;
  font-size: .85rem; color: #0b0b0b;
  caret-color: #0b0b0b;
}
.footer-email-wrap input[type="email"]::placeholder {
  color: rgba(0,0,0,.4);
}

/* Newsletter subscribe button — black fill, white text */
.footer-subscribe-btn {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%; padding: 13px 20px; margin-top: 14px;
  background: linear-gradient(135deg, #a64b16 0%, #a64b16 100%);
  color: #fff;
  border: none; border-radius: 6px;
  font-family: var(--ff-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em;
  cursor: pointer; text-decoration: none;
  transition: all .25s ease;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(38,118,239,0.35);
}
.footer-subscribe-btn:hover {
  background: linear-gradient(135deg, #a64b16 0%, #5c2a0d 100%);
  box-shadow: 0 4px 20px rgba(38,118,239,0.45);
  color: #fff;
  transform: translateY(-1px);
}

/* Newsletter widget fallback */
.footer-right .widget { margin-bottom: 24px; }
.footer-right .widget-title {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ftr-head); margin-bottom: 12px; opacity: .75;
}

/* Rule — Planhat: 1px black at opacity .0225 */
.footer-rule {
  max-width: 100%; margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-rule::before {
  content: ''; display: block;
  height: 1px; background: rgba(132,60,18,.1);
}

/* Big tagline — Planhat: "Know them. Grow them."
   113px Aeonik Medium (we use Inter 500 as equivalent),
   letter-spacing: -.02em */
.footer-tagline-big {
  max-width: 100%;
  padding: 40px var(--pad) 32px;
}
/* Inside footer-left — no side padding, sits flush with nav columns */
.footer-left .footer-tagline-big {
  padding: 40px 0 0;
}
.footer-tagline-big p {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: var(--ftr-big-weight);
  letter-spacing: var(--ftr-big-spacing);
  line-height: 1.15;
  color: var(--ftr-head, #0a0a0a);
  max-width: 22ch;
}

/* Bottom bar: © | Status | Terms | Privacy | Cookie | Follow us */
.footer-bottom {
  max-width: 100%; margin: 0 auto;
  padding: 20px var(--pad) 40px;
  display: flex; flex-flow: row wrap;
  align-items: center; gap: 8px 20px;
}
.footer-copy {
  font-size: .82rem; color: var(--ftr-text);
  font-weight: 500;
}
.footer-bottom-links {
  display: flex; flex-flow: row wrap; align-items: center;
  gap: 4px 16px;
}
.footer-bottom-links a {
  font-size: .82rem; font-weight: 500;
  color: var(--ftr-text); text-decoration: none;
  transition: color .15s;
}
.footer-bottom-links a:hover { color: #a64b16; }

/* Status indicator — Planhat: green dot */
.footer-status {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 500;
  color: var(--ftr-text); text-decoration: none;
  transition: color .15s;
}
.footer-status:hover { color: var(--ftr-link-h); }
.footer-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgb(34,197,94);
  flex-shrink: 0;
}

/* LinkedIn / social icon */
.footer-linkedin {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 500;
  color: var(--ftr-text); text-decoration: none;
  transition: color .15s;
}
.footer-linkedin:hover { color: var(--ftr-link-h); }
.footer-linkedin svg { width: 14px; height: 14px; }


/* ═══════════════════════════════════════════════════════════
   SEARCH BAR (kept — hidden by default)
═══════════════════════════════════════════════════════════ */
.search-bar {
  position: fixed;
  top: calc(var(--announce-h) + var(--header-h));
  left: 0; right: 0; z-index: 7900;
  background: #111; border-bottom: 1px solid rgba(255,255,255,0.06);
  transform: translateY(-100%); opacity: 0;
  transition: transform .3s cubic-bezier(.44,0,.56,1), opacity .3s ease;
  pointer-events: none;
}
.search-bar.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
.site-header.scrolled ~ .search-bar { top: var(--header-h); }
.search-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  height: 54px; display: flex; align-items: center; gap: 12px;
}
.search-bar-inner svg { color: rgba(255,255,255,.4); flex-shrink: 0; }
.search-bar-inner .search-field {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 1rem; caret-color: #fff;
}
.search-bar-inner .search-field::placeholder { color: rgba(255,255,255,.3); }
.search-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.4); transition: color .15s;
  display: flex; align-items: center;
}
.search-close:hover { color: #fff; }


/* ═══════════════════════════════════════════════════════════
   CONTENT / PAGE
═══════════════════════════════════════════════════════════ */
.site-main { min-height: 60vh; }

.entry-header { margin-bottom: 2rem; }
.entry-title { color: var(--text); }

.entry-content {
  max-width: 720px;
}
.entry-content p  { margin-bottom: 1.2em; color: var(--c-body); }
.entry-content ul, .entry-content ol { padding-left: 1.6em; margin-bottom: 1.2em; list-style: revert; }
.entry-content li { margin-bottom: .4em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 2em 0 .7em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.4em; color: var(--body-color);
  font-size: 1.1em; font-style: italic; margin: 1.5em 0;
}
.entry-content pre, .entry-content code {
  background: #f4f4f4; border-radius: 4px; font-size: .9em;
}
.entry-content pre  { padding: 1.2em; overflow-x: auto; }
.entry-content code { padding: 2px 6px; }

/* Archive / blog card grid */
.posts-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden; transition: box-shadow .2s;
}
.post-card:hover { box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/9; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 20px; }
.post-card__title { font-size: 1.05rem; margin-bottom: 8px; }
.post-card__title a { color: var(--text); text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }
.post-card__meta { font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.post-card__excerpt { font-size: .85rem; color: var(--body-color); }

/* Pagination */
.pagination { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 3rem 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  font-size: .85rem; font-weight: 500;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: all .2s;
}
.pagination a:hover         { border-color: var(--accent); color: var(--accent); }
.pagination .current        { background: var(--text); color: #fff; border-color: var(--text); }

/* Sidebar */
.sidebar-widget { margin-bottom: 2.5rem; }
.sidebar-widget .widget-title {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text);
  margin-bottom: 1rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 0; background: none; border: none;
  cursor: pointer; text-align: left;
  font-size: .95rem; font-weight: 600; color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 300; transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > * { padding-bottom: 16px; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* Tablet — hide desktop nav, show hamburger */
@media (max-width: 900px) {
  .site-nav,
  .nav-login-btn { display: none !important; }
  .nav-cta-btn   { display: none !important; }
  .hamburger     { display: flex !important; }
}

/* Desktop — hide hamburger */
@media (min-width: 901px) {
  .hamburger { display: none !important; }
}

/* Small screens — tighten mobile nav */
@media (max-width: 480px) {
  .mnav-item-row  { padding: 0 16px; }
  .mnav-header    { padding: 14px 18px; }
  .mnav-sub-link, .mnav-group-head, .mnav-group-link { padding-left: 20px; }
  .mnav-spotlight { margin: 14px 18px 4px; }
}

/* Footer responsive — stack on tablet */
@media (max-width: 768px) {
  .footer-top { flex-direction: column; padding: 48px var(--pad) 32px; }
  .footer-right { width: 100%; }
  .footer-nav { gap: 0 32px; }
  .footer-col { min-width: 120px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-tagline-big p { font-size: clamp(2.2rem, 8vw, 4rem); }
}
@media (max-width: 480px) {
  .footer-nav { flex-direction: column; gap: 28px 0; }
  .footer-rule { padding: 0 var(--pad); }
}


/* Footer recognized-by section */
.footer-recognized {
  margin-bottom: 20px;
}
.footer-recognized-head {
  display: block; margin-bottom: 14px;
  font-size: var(--ftr-col-head-size); font-weight: var(--ftr-col-head-weight);
  letter-spacing: var(--ftr-col-head-spacing); text-transform: uppercase;
  color: var(--ftr-head); opacity: .75;
}
.footer-award-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 6px; opacity: .62;
}
.footer-award-row img { height: 20px; width: auto; }
.footer-award-text {
  font-size: .78rem; font-weight: 500; color: rgba(0,0,0,.5);
}
/* Circular badge SVG-style icons — Planhat's actual look */
.footer-badge-circle {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 700; text-transform: uppercase;
  color: rgba(0,0,0,.5); text-align: center; line-height: 1.3;
  letter-spacing: .04em;
  background: rgba(0,0,0,.02);
}
/* Newsletter consent row */
.footer-nl-consent {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 12px;
}
.footer-nl-consent input[type="checkbox"] {
  width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; cursor: pointer;
}
.footer-nl-consent label {
  font-size: .76rem; color: rgba(0,0,0,.5); line-height: 1.5; cursor: pointer;
}
.footer-nl-consent a { color: inherit; text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════
   BLOG / ARCHIVE LAYOUT — Planhat Press editorial style
   Desktop: sticky left sidebar + wide right article list
   Mobile: stacked, full-width
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   BLOG / ARCHIVE — Planhat Press editorial
   Structure:
     .archive-section-bar   full-width title + rule
     .archive-featured      full-width featured post (massive title)
     .archive-editorial     220px sidebar | remaining list
   ───────────────────────────────────────────────────────────── */

/* Thin display serif — Cormorant Garamond as Planhat-closest match */
.blog-list-title,
.blog-list-title--featured,
.single-hero-title,
.entry-title-editorial {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  letter-spacing: -.02em;
}

/* ── 1. Section title bar — "Blog" full width with bottom rule ── */
.archive-section-bar {
  max-width: 100%;
  padding: 28px var(--pad) 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.archive-section-title {
  font-family: var(--ff-head) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  color: var(--text) !important;
  text-decoration: none !important;
}

/* ── 2. Featured post — full viewport width, massive title ── */
.archive-featured {
  max-width: 100%;
  padding: 56px var(--pad) 48px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.archive-featured__link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--text) !important;
  gap: 28px;
}
.archive-featured__link:visited,
.archive-featured__link:hover {
  color: var(--text) !important;
  opacity: .75;
  text-decoration: none !important;
}
.archive-featured__title {
  font-family: 'Cormorant Garamond', 'Georgia', serif !important;
  font-weight: 300 !important;
  font-size: clamp(3.4rem, 7.5vw, 7rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.04em !important;
  color: var(--text) !important;
  max-width: 960px;
  text-decoration: none !important;
}
.archive-featured__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: .68rem !important;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.35) !important;
  text-decoration: none !important;
}
.archive-featured__meta::before { content: '—'; opacity: .45; margin-right: 4px; }

/* ── 3. Archive grid — full width, no sidebar unless buttons exist ── */
.archive-editorial {
  max-width: 100%;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  min-height: 40vh;
}
.archive-editorial.has-sidebar {
  grid-template-columns: 200px 1fr;
  gap: 0 80px;
}

/* Sticky left sidebar */
.archive-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.archive-sidebar-title {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(0,0,0,.35); margin-bottom: 20px;
}

/* Sidebar buttons */
.archive-btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  background: #a64b16; color: #fff !important;
  border: none; border-radius: 4px;
  font-family: var(--ff-head); font-weight: 600; font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none !important; cursor: pointer;
  transition: background .2s; white-space: nowrap;
}
.archive-btn-primary:hover { background: #a64b16; color: #fff !important; }
.archive-btn-primary svg { flex-shrink: 0; }
.archive-btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  background: transparent; color: #a64b16 !important;
  border: 1px solid #a64b16; border-radius: 4px;
  font-family: var(--ff-head); font-weight: 600; font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none !important; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.archive-btn-outline:hover { background: #a64b16; color: #fff !important; }

/* ── List column ── */
.archive-list {
  padding-top: 0;
  padding-bottom: 80px;
}

/* List items */
.blog-list-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
  border: none;
  text-decoration: none !important;
  color: var(--text) !important;
  transition: opacity .15s;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.blog-list-item:visited { color: var(--text) !important; text-decoration: none !important; }
.blog-list-item:first-child { border-top: 1px solid rgba(0,0,0,.06); }
.blog-list-item:hover { opacity: .6; color: var(--text) !important; text-decoration: none !important; }

.blog-list-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  font-weight: 300 !important;
  color: var(--text) !important;
  line-height: 1.15;
  flex: 1;
  letter-spacing: -.03em;
  text-decoration: none !important;
}

.blog-list-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,.35) !important;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none !important;
}
.blog-list-meta::before { content: '—'; opacity: .45; }

/* No-results */
.blog-no-posts { padding: 60px 0; color: rgba(0,0,0,.4); font-size: 1.1rem; }

/* Pagination */
.archive-pagination {
  padding: 48px 0 80px;
  display: flex; align-items: center; gap: 8px;
}
.archive-pagination a,
.archive-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  font-size: .82rem; font-weight: 600;
  border: 1px solid rgba(132,60,18,.2); border-radius: 4px;
  color: #a64b16 !important; text-decoration: none !important; transition: all .2s;
}
.archive-pagination a:hover { background: #a64b16; color: #fff !important; border-color: #a64b16; }
.archive-pagination .current { background: #a64b16; color: #fff !important; border-color: #a64b16; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  .archive-section-bar { padding: 20px var(--pad) 14px; }
  .archive-featured { padding: 36px var(--pad) 32px; }
  .archive-editorial,
  .archive-editorial.has-sidebar { grid-template-columns: 1fr; gap: 0; }
  .archive-sidebar { position: static; padding-top: 20px; padding-bottom: 12px; flex-direction: row; flex-wrap: wrap; border-bottom: 1px solid rgba(132,60,18,.1); }
  .archive-list { padding-top: 0; }
  .blog-list-item { flex-direction: column; gap: 10px; padding: 28px 0; }
  .blog-list-meta { font-size: .65rem; }
  .blog-list-meta::before { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   SINGLE POST LAYOUT — Planhat press article style
   Dark blue hero + white article body + related posts dark section
═══════════════════════════════════════════════════════════ */

/* Hero — full viewport, dark blue bg */
.single-hero {
  background: #3a1a08;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 60px) var(--pad) 72px;
  text-align: center;
  position: relative;
}
/* Subtle gradient overlay */
.single-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,8,20,0.25) 0%, rgba(5,8,20,0.65) 100%);
  pointer-events: none;
}
.single-hero > * { position: relative; z-index: 1; }

/* If post has featured image — use as hero bg */
.single-hero.has-image {
  background-size: cover;
  background-position: center;
}
.single-hero.has-image::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(5,8,20,0.72);
}

/* Category tag */
.single-hero-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 2px;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.85) !important;
  margin-bottom: 28px;
  text-decoration: none !important;
  transition: all .2s;
}
.single-hero-tag:hover { background: rgba(255,255,255,.1); color: #fff !important; }

/* Hero title — always white, no customizer override possible */
.single-hero-title {
  font-size: clamp(2rem, 5vw, 4rem) !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  line-height: 1.15;
  max-width: 860px;
  letter-spacing: -.03em;
}

/* Article meta bar */
.single-meta-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px var(--pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.single-source-block { display: flex; flex-direction: column; gap: 4px; }
.single-source-label {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(0,0,0,.35);
}
.single-source-value {
  font-size: 1rem; font-weight: 400;
  color: var(--text);
}

/* Press enquiries button */
.single-enquiry-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: #a64b16; color: #fff;
  border: none; border-radius: 4px;
  font-family: var(--ff-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.single-enquiry-btn:hover { background: #a64b16; color: #fff; }

/* Article content wrapper */
.single-article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Byline + share bar */
.single-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  flex-wrap: wrap;
}
.single-byline-left {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(0,0,0,.5);
  display: flex; align-items: center; gap: 8px;
}
.single-byline-left a {
  color: inherit; text-decoration: underline;
  transition: color .15s;
}
.single-byline-left a:hover { color: #a64b16; }
.single-byline-sep { opacity: .35; }

.single-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(0,0,0,.45);
  background: none; border: none; cursor: pointer;
  transition: color .15s;
}
.single-share-btn:hover { color: #a64b16; }

/* Article body */
.single-body {
  padding: 40px 0 80px;
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--c-body);
}
.single-body p { margin-bottom: 1.4em; }
.single-body a { color: #a64b16; text-decoration: underline; }
.single-body a:hover { color: #a64b16; }

/* Pull quote */
.single-body blockquote {
  font-family: 'Georgia', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  color: #0b0b0b;
  text-align: center;
  padding: 48px 0;
  margin: 32px 0;
  line-height: 1.5;
  letter-spacing: -.01em;
  border-top: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.single-body blockquote p { color: inherit; margin: 0; }

/* Related posts section — deep blue-black, 3 cols */
.single-related {
  background: #3a1a08;
  padding: 64px var(--pad) 80px;
}
.single-related-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.single-related-label {
  font-family: 'Georgia', serif;
  font-size: .95rem;
  font-style: italic;
  color: rgba(255,255,255,.55) !important;
  text-align: center;
  margin-bottom: 48px;
}
.single-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.single-related-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 32px 32px;
  text-decoration: none !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
  min-height: 240px;
}
.single-related-item:visited { color: #ffffff !important; text-decoration: none !important; }
.single-related-item:hover { background: rgba(255,255,255,.04); color: #ffffff !important; text-decoration: none !important; }
.single-related-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif !important;
  font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
  font-weight: 300 !important;
  color: #ffffff !important;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -.02em;
  text-decoration: none !important;
}
.single-related-date {
  font-size: .65rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3) !important;
  text-align: center;
  margin-top: 32px;
}

/* Post nav */
.single-post-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(132,60,18,.1);
}
.post-nav-item { max-width: 48%; }
.post-nav-label {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(0,0,0,.3); margin-bottom: 8px;
}
.post-nav-title {
  font-size: 1rem; font-weight: 400; font-family: 'Georgia', serif;
  color: var(--text) !important; text-decoration: none; line-height: 1.4;
  transition: color .15s;
}
.post-nav-title:visited { color: var(--text) !important; }
.post-nav-title:hover { color: #a64b16 !important; }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  .archive-editorial {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .archive-sidebar {
    position: static;
    padding-top: 24px;
    padding-bottom: 16px;
    flex-direction: column;
    border-bottom: 1px solid rgba(132,60,18,.1);
  }
  .archive-list { padding-top: 0; }

  .blog-list-item {
    flex-direction: column;
    gap: 10px;
    padding: 24px 0;
  }
  .blog-list-meta {
    font-size: .68rem;
  }
  .blog-list-meta::before { display: none; }

  .single-hero {
    min-height: 55vw;
    padding-bottom: 48px;
    padding-top: calc(var(--header-h) + 40px);
  }
  .single-hero-title { font-size: clamp(1.6rem, 6vw, 2.8rem); }
  .single-meta-bar { flex-direction: column; align-items: flex-start; }
  .single-enquiry-btn { width: 100%; justify-content: center; }
  .single-related-grid { grid-template-columns: 1fr; }
  .single-related-item { min-height: auto; padding: 28px 20px; }
  .single-post-nav { flex-direction: column; gap: 20px; }
  .post-nav-item { max-width: 100%; }
}

/* ── Dual spotlight — two cards side by side on desktop ── */
.mega-spotlight--dual {
  display: flex;
  flex: none;
  width: 520px;
  border-left: 1px solid rgba(132,60,18,.08);
}
.mega-spotlight--dual .mega-spotlight__card {
  flex: 1;
  border-right: 1px solid rgba(132,60,18,.08);
}
.mega-spotlight--dual .mega-spotlight__card:last-child {
  border-right: none;
}

/* ── Single body: fix h2/h3 inside content if WP adds anchor links ── */
.single-body h1,
.single-body h2,
.single-body h3,
.single-body h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  color: var(--text);
  margin: 2em 0 .6em;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.single-body h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.single-body h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.single-body h2 a,
.single-body h3 a,
.single-body h4 a {
  color: inherit !important;
  text-decoration: none !important;
}

/* ── Blog list item: first non-featured item needs no extra top border ── */
.blog-list-item:not(:first-child) { border-top: none; }

/* ── Mobile: dual spotlight collapses to single (mobile walker uses its own) ── */
@media (max-width: 900px) {
  .mega-spotlight--dual { display: none; }
}

/* ── Entry category tag / breadcrumb — blue on white ── */
.entry-category {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #a64b16; text-decoration: none;
  margin-bottom: 12px;
  transition: color .15s;
}
.entry-category:hover { color: #a64b16; }

/* ── Page/archive title bar ── */
.archive-editorial .archive-sidebar-title {
  color: rgba(0,0,0,.35);
  font-size: .62rem;
}

/* ── Search form inside white bg — dark text ── */
.search-field { color: #0b0b0b !important; }
.search-field::placeholder { color: rgba(0,0,0,.35) !important; }

/* ── Fix: white text on white bg in site-main ── */
.site-main a:not([class]) { color: #a64b16; }
.site-main a:not([class]):hover { color: #a64b16; }

/* ── Site name in header (when no logo image) ── */
.site-logo .logo-text,
.site-logo a { color: var(--nav-link, #ffffff); }
.site-logo a:hover { color: var(--nav-hover, #ffffff); opacity: 1; }

/* Body text color is set on <body> only via var(--body-color).
   Do NOT set it on p/li/h1-h6 — this lets Elementor/page builders override freely. */

/* Site main background — inherits the site background so page builders
   and the Customizer both win. Was hard-coded #fff, which overrode both. */
.site-main { background: var(--bg, #ffffff); }

/* ── Mobile nav — colours driven by CSS variables so Customizer works ── */
.mnav-item-row a,
.mnav-item-row button,
.mnav-link,
.mnav-sub-link,
.mnav-group-link,
.mnav-group-head { color: var(--mnav-link-color, rgba(255,255,255,.85)); }
.mnav-close svg { stroke: var(--mnav-link-color, rgba(255,255,255,.8)); }

/* ── Mobile site title (logo text on dark blue bg) ── */
.mnav-logo-text { color: #ffffff !important; }
.mnav-logo-link img { filter: brightness(10); } /* invert dark logos to white */

/* ── Announce bar — ensure all children visible on blue bg ── */
.announce-bar,
.announce-bar * { color: var(--ann-text, rgba(255,255,255,.82)); }

/* ── Header border — blue accent for white header ── */
.site-header {
  border-bottom-color: var(--hdr-border, rgba(132,60,18,0.15));
}

/* ── Mega panel — ensure white bg has correct shadows, borders ── */
.mega-panel {
  border-top: 1px solid var(--mega-border, rgba(132,60,18,0.12));
}

/* ── Footer badge circles — blue border ── */
.footer-badge-circle {
  border-color: rgba(132,60,18,0.18);
  color: #a64b16;
}
/* ── Mega menu — light theme content adjustments ── */
.mega-link { color: var(--mega-link); }
.mega-link:hover { opacity: 1; color: var(--mega-link-h); }
