/* Contents
   - Theme removals (page-specific)
   - Masthead alignment
   - Seasonal Insight wrapper + typography
   - Drop caps (season colours)
   - Piece rules / section breaks
   - Figure spacing
   - Exit link polish
   - Responsive refinements
   - Seasonal Insights archive — spine shelf
*/

/* =====================================================
   THEME REMOVALS (still page-specific by design)
   ===================================================== */

body.template-seasonal-insights nav.ag-breadcrumbs,
body.template-seasonal-insights .menu-strip,
body.template-seasonal-insights #primary-nav,
body.template-seasonal-insights .menu-buffer,
body.template-seasonal-insights footer#site-footer,
body.template-seasonal-insights .footer-bottom-bar{
  display:none !important;
}

/* Hide the site tagline ONLY on Seasonal Insights pages */
body.template-seasonal-insights .site-strapline{
  display:none !important;
}

/* Remove theme’s page title band */
body.template-seasonal-insights header.page-header{
  display:none !important;
}

/* =====================================================
   MASTHEAD ALIGNMENT (page-specific)
   ===================================================== */

body.template-seasonal-insights #masthead .site-branding{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
}

body.template-seasonal-insights #masthead .custom-logo{
  display:block;
  height:auto;
}

body.template-seasonal-insights #masthead .brand-text{
  text-align:left;
}

body.template-seasonal-insights #masthead .site-title{
  margin:0 !important;
  line-height:1.05 !important;
}

/* =====================================================
   SEASONAL INSIGHT WRAPPER
   ===================================================== */

.seasonal-insight{
  max-width:720px;
  margin:0 auto;
  padding:0 1.25rem;
  color:#2f4657;
}

/* =====================================================
   TYPOGRAPHY (keeps dropcaps reliable)
   ===================================================== */

.seasonal-insight p{
  font-family:"Cormorant Garamond", serif;
  font-size:1.2rem;
  line-height:1.65;
  margin:0 0 1.1rem 0;
}

/* Masthead typography inside Seasonal Insight */
.seasonal-insight .si-title{
  font-family:"Prata", serif;
  font-weight:400;
  font-size:2.6rem;
  line-height:1.06;
  margin:0 0 .6rem 0;
  color:#476d85;
}

.seasonal-insight .si-subline{
  font-family:"Lato", sans-serif;
  font-size:1rem;
  margin:0 0 .6rem 0;
  opacity:.85;
}

.seasonal-insight .si-byline{
  display:block;
  text-align:right;
  margin-top:0;
  font-size:.85em;
  opacity:.7;
}

.seasonal-insight .si-edition{
  font-family:"Cormorant Garamond", serif;
  font-size:1.15rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin:0 0 1.6rem 0;
}

/* =====================================================
   DROPCAP MECHANICS + SEASON COLOURS
   ===================================================== */

.seasonal-insight .seasonal-dropcap::first-letter{
  float:left;
  font-family:"Cormorant Garamond", serif;
  font-size:4.2rem;
  line-height:0.9;
  padding-right:.4rem;
  padding-top:0;
}

/* Seasonal colours + optical alignment tweaks */
.seasonal-insight .seasonal-dropcap.winter::first-letter { color:#8b3a2b; }
.seasonal-insight .seasonal-dropcap.spring::first-letter { color:#5cad5c; margin-top:0.14em; }
.seasonal-insight .seasonal-dropcap.summer::first-letter { color:#6a7ea0; }
.seasonal-insight .seasonal-dropcap.autumn::first-letter { color:#9b5a32; }

/* =====================================================
   PIECE RULES / SECTION BREAKS
   ===================================================== */

hr.si-rule{
  border:0;
  border-top:1px solid rgba(47, 70, 87, 0.35);
  margin:3rem 0 2.25rem;
  position:relative;
}

hr.si-rule::after{
  content:"•";
  position:absolute;
  left:50%;
  top:-0.95rem;
  transform:translateX(-50%);
  background:#e9e4d8;
  padding:0 .75rem;
  font-size:1.25rem;
  opacity:.8;
}

.si-piece-title{
  margin-top:0;
}

/* =====================================================
   FIGURE SPACING
   ===================================================== */

.seasonal-insight figure.si-figure.si-figure--lead{
  display:block;
  margin:0 0 2rem 0;
  padding:0;
}

.seasonal-insight figure.si-figure.si-figure--lead img{
  width:100%;
  height:auto;
  display:block;
}

.seasonal-insight .si-piece{
  margin-top:0;
}

.seasonal-insight .si-figure--interlude{
  margin:2rem 0 0;
}

/* Seasonal Insights: never allow images to exceed the column */
.template-seasonal-insights .seasonal-insight img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Any Seasonal Insight figure: constrain to the editorial column */
.seasonal-insight figure.si-figure{
  display:block;
  max-width: 100%;
  margin: 0 0 2rem 0;
  padding: 0;
}

.seasonal-insight figure.si-figure img{
  display:block;
  width: 100%;
  max-width: 100%;
  height:auto;
}

/* Lead figure keeps its own spacing (optional: if you want different) */
.seasonal-insight figure.si-figure.si-figure--lead{
  margin: 0 0 1.8rem 0;
}
/* =====================================================
   EXIT LINK POLISH
   ===================================================== */

.seasonal-insight-exit{
  margin-top: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: right;
}

.seasonal-insight-exit a{
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 70, 87, 0.35);
  opacity: 0.85;
}

.seasonal-insight-exit a:hover{
  opacity: 1;
}

.exit-separator{
  opacity: 0.5;
}
/* =====================================================
   RESPONSIVE REFINEMENTS
   ===================================================== */

@media (max-width:480px){
  body.page-id-9542 #masthead .site-branding{ gap:10px; }
  .seasonal-insight .si-title{ font-size:2.0rem; }
}

/* =====================================================
   SEASONAL INSIGHTS ARCHIVE — SPINE SHELF
   (single source of truth; removed older grid + vertical-all variants)
   ===================================================== */

.seasonal-insight.si-archive .si-title{ margin-bottom:.35rem; }
.si-archive-list{ margin-top:1.2rem; margin-bottom:3.5rem; }

/* Shelf */
.si-archive-list{
  display:flex;
  gap:14px;
  align-items:flex-end;
  flex-wrap:wrap;
}

/* Spine card container */
.si-archive-entry{
  position:relative;
  width:140px;
  height:340px;
  padding: 14px 12px 16px;
  border-radius:12px;
  overflow:hidden;
  margin:0;

  background: rgba(255,255,255,0.28);
  border-bottom: 1px solid rgba(47, 70, 87, 0.14);

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  text-shadow: 0 1px 1px rgba(0,0,0,.18),
               0 2px 6px rgba(0,0,0,.10);
}

.si-archive-entry{
  border-bottom: 1px solid rgba(47, 70, 87, 0.10);
}

/* Decorative spine bar */
.si-archive-entry::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:10px;
  border-radius: 12px 0 0 12px;
  background: rgba(47, 70, 87, 0.25); 10
  pointer-events:none;
}

/* Whole card is clickable */
.si-archive-entry .si-spine-hit{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  height:100%;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}

/* Caps: horizontal */
.si-archive-entry .si-spine-top{
  font-family:"Cormorant Garamond", serif;
  font-size:1.15rem;
  letter-spacing:.02em;
  line-height:1.05;
  margin-bottom: 6px;
}

.si-archive-entry .si-spine-bottom{
  font-family:"Lato", sans-serif;
  font-size:.9rem;
  opacity:.9;
  margin-top:10px;

  /* underline style for CTA */
  border-bottom: 1px solid rgba(47,70,87,.35);
  display:inline-block;
  width: fit-content;
}

.si-archive-entry .si-spine-hit:hover .si-spine-bottom{
  border-bottom-color: rgba(47,70,87,.65);
}

/* Middle: vertical contents strip */
.si-archive-entry .si-spine-mid{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 0;
}

.si-archive-entry .si-spine-contents{
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family:"Lato", sans-serif;
  font-size:.82rem;
  line-height:1.15;
  opacity:.85;

  max-height:200px;
  overflow:hidden;
}

/* Seasonal spine colours (more seasonal, consistent strength) */
.si-archive-entry::before{
  background: rgba(47, 70, 87, 0.90); /* fallback */
}

.si-archive-entry{
  background: rgba(47, 70, 87, 0.11); /* fallback wash */
}

/* Spine bar */
.si-archive-entry.winter::before{ background: rgba(139, 58, 43, 0.92); }   /* #8b3a2b */
.si-archive-entry.spring::before{ background: rgba(92, 173, 92, 0.92); }   /* #5cad5c */
.si-archive-entry.summer::before{ background: rgba(115, 133, 154, 0.92); }  /* #3b6fa5 */
/* Autumn 2026 */
.si-archive-entry.autumn::before{
  background: rgba(167, 124, 50, 0.92);   /* #A77C32 */
}

.si-archive-entry.autumn{
  background: rgba(167, 124, 50, 0.11);
}

/* Card wash */
.si-archive-entry.winter{ background: rgba(139, 58, 43, 0.11); }
.si-archive-entry.spring{ background: rgba(92, 173, 92, 0.11); }
.si-archive-entry.summer{ background: rgba(115, 133, 154, 0.11); }


/* Mobile: collapse to normal cards */
@media (max-width:520px){
  .si-archive-entry{
    width:100%;
    height:auto;
  }
  .si-archive-entry .si-spine-contents{
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height:none;
  }
}

/* Archive spine: give horizontal caps breathing room from the left colour bar */
.si-spine-hit .si-spine-top,
.si-spine-hit .si-spine-mid,
.si-spine-hit .si-spine-bottom{
  padding-left: 10px;
  box-sizing: border-box;
}

/* Archive page: keep the editorial column at 720, but let the footer breathe */
body.template-seasonal-insights footer#site-footer .site-footer-inner,
body.template-seasonal-insights footer#site-footer .site-footer__inner,
body.template-seasonal-insights footer#site-footer .container,
body.template-seasonal-insights footer#site-footer .wrap{
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Seasonal Insights: keep any SI figure inside the 720px column */
.template-seasonal-insights .seasonal-insight figure.si-figure{
  max-width: 100%;
  margin: 0 0 2rem 0;   /* sensible default spacing */
}

/* Ensure images never overflow their SI container */
.template-seasonal-insights .seasonal-insight figure.si-figure img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* =====================================================
   SEASONAL INSIGHTS — POLISH PASS
   (spine shelf balance, microtype, cadence cues)
   ===================================================== */


/* ---------- 1) GLOBAL MICROTYPOGRAPHY (Seasonal only) ---------- */

.template-seasonal-insights .seasonal-insight{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

/* Better paragraph colour + reading density (tiny but powerful) */
.template-seasonal-insights .seasonal-insight p{
  letter-spacing: 0.005em;     /* barely-there, helps Garamond at web sizes */
}

/* Links: keep site colour, but make them feel “printed” */
.template-seasonal-insights .seasonal-insight a{
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}


/* ---------- 2) TITLE + FIRST PARAGRAPH TENSION ---------- */

/* Give the masthead block a more editorial “stack” */
.template-seasonal-insights .seasonal-insight .si-title{
  margin-bottom: .45rem;       /* slightly tighter than before */
  letter-spacing: 0.02em;      /* makes Prata feel less heavy */
}

/* If you use .si-edition above/below, tighten it slightly */
.template-seasonal-insights .seasonal-insight .si-edition{
  margin-bottom: 1.25rem;      /* was 1.6rem */
}

/* First paragraph: subtle “lead” feel without changing font */
.template-seasonal-insights .seasonal-insight article.si-piece > p:first-of-type{
  font-size: 1.24rem;          /* tiny lift from 1.2rem */
  line-height: 1.62;           /* slightly firmer */
}


/* ---------- 3) DROP CAP BASELINE FINESSE ---------- */

/* Dropcap: smoother optical alignment */
.template-seasonal-insights .seasonal-insight .seasonal-dropcap::first-letter{
  margin-right: .02em;
}

/* Spring optical drop already set; soften the effect a hair */
.template-seasonal-insights .seasonal-insight .seasonal-dropcap.spring::first-letter{
  margin-top: 0.11em;          /* was 0.14em */
}


/* ---------- 4) FIGURE RHYTHM (calmer spacing) ---------- */

/* Figures: slightly less airy than 2rem (reads more “print”) */
.template-seasonal-insights .seasonal-insight figure.si-figure{
  margin-bottom: 1.8rem;       /* was 2rem */
}

/* Interludes: give them a little top breathing room so they feel intentional */
.template-seasonal-insights .seasonal-insight figure.si-figure + article.si-piece{
  margin-top: 0.2rem;
}


/* ---------- 5) ARCHIVE SPINE SHELF — OPTICAL BALANCE ---------- */

/* Shelf: a touch more gap + a bit of “base line” stability */
.si-archive-list{
  gap: 16px;                   /* was 14px */
  padding-bottom: 6px;
}

/* Spine cards: slightly calmer proportions */
.si-archive-entry{
  width: 138px;                /* was 140px */
  height: 340px;               /* was 320px */
}

/* Make the spine bar feel less “chunky” next to type */
.si-archive-entry::before{
  width: 9px;                  /* was 10px */
}

/* Top cap: reduce weight perception */
.si-archive-entry .si-spine-top{
  letter-spacing: .03em;       /* was .02em */
}

/* Contents strip: slightly tighter for a cleaner “index” */
.si-archive-entry .si-spine-contents{
  font-size: .80rem;           /* was .82rem */
  line-height: 1.12;           /* was 1.15 */
  opacity: .82;                /* slightly quieter */
}

/* CTA: make it read like a control, not body copy */
.si-archive-entry .si-spine-bottom{
  letter-spacing: .02em;
}

/* Hover: small lift instead of heavier underline changes */
.si-archive-entry .si-spine-hit:hover{
  transform: translateY(-2px);
  transition: transform .18s ease;
}
.si-archive-entry .si-spine-hit{
  transition: transform .18s ease;
}


/* ---------- 6) EDITION CADENCE CUE (subtle “current” emphasis) ---------- */
/* If you can add class="current" to the current edition’s .si-archive-entry,
   this gives it a gentle priority without shouting. */

.si-archive-entry.current{
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

/* Seasonal Insights: top nav (base) */
.si-topnav{
  margin: 10px 0 18px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.si-topnav a{
  text-decoration: none;
  font-size: 14px;
}

/* Seasonal Insights: sticky on mobile */
@media (max-width: 768px){
  .si-topnav{
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(246,246,246,0.96);
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.12);

    /* when sticky, don’t leave a big gap above it */
    margin: 0 0 16px;
  }

  .si-topnav__home{
    margin-left: auto;
  }
}

.si-archive-entry.current .si-spine-top{
  opacity: 1;
}

/* Archive spines: fix CTA position consistently */
.si-archive-entry .si-spine-hit{
  position: relative;
  padding-bottom: 38px;
}

.si-archive-entry .si-spine-bottom{
  position: absolute;
  left: 10px;
  bottom: 18px;
  margin-top: 0;
}

.si-archive-entry.spring .si-spine-bottom,
.si-archive-entry.winter .si-spine-bottom{
  bottom: 10px;
}

.si-archive-entry.summer .si-spine-bottom{
	bottom: 8px;
}

/* Seasonal Insights — article transitions */

.si-break{
  height: 5rem;
}

.si-divider{
  border: 0;
  border-top: 1px solid rgba(47,70,87,.16);
  width: 120px;
  margin: 0 auto 5rem auto;
}