/* Hallmark · genre: editorial · macrostructure: Long Document family · theme: Newsprint-archival (custom)
 * redesign of MultimediaThemeRes mirror · design-system: inline tokens (see tokens.css)
 * axes: light paper band · classical-serif display · warm brick accent
 */

:root {
  --color-paper:      oklch(97.5% 0.008 85);
  --color-paper-2:    oklch(94.5% 0.012 85);
  --color-paper-3:    oklch(91% 0.014 82);
  --color-ink:        oklch(24% 0.012 60);
  --color-ink-2:      oklch(42% 0.014 60);
  --color-rule:       oklch(87% 0.01 80);
  --color-accent:     oklch(48% 0.12 30);
  --color-accent-ink: oklch(97% 0.008 85);
  --color-focus:      oklch(55% 0.14 35);

  --font-display: "Poppins", "Trebuchet MS", Verdana, sans-serif;
  --font-body: "Poppins", "Trebuchet MS", Verdana, sans-serif;

  --space-2xs: 0.5rem; --space-xs: 0.75rem; --space-sm: 1rem;
  --space-md: 1.5rem;  --space-lg: 2rem;    --space-xl: 3rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 180ms;

  --measure: 44rem;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: normal;
}
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
a { color: var(--color-ink); text-decoration-color: color-mix(in oklch, var(--color-accent) 55%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
p, li, dd, dt, td, th, figcaption, .post_body, .post_content { letter-spacing: normal; }
p { font-size: 1.0625rem; line-height: 1.7; color: var(--color-ink); }

h1, h2, h3, h4 { font-family: var(--font-display); font-style: normal; color: var(--color-ink); font-weight: 600; letter-spacing: -0.005em; }

.container { max-width: 1180px; }

/* ---------- header ---------- */
#head { position: sticky; top: 0; z-index: 999; background: #fff !important; box-shadow: none; border: none; width: 100%; left: 0; right: 0; }
.head-area { background: #fff !important; padding: 22px 0 !important; }
/* inset header contents so the menu doesn't span the full viewport */
#head .container { max-width: 1160px; padding: 0 48px; box-sizing: border-box; }
#head .head-nav { float: right; margin: 0; padding: 0; }
#head .head-nav ul.menu, #head .head-nav ul { margin: 0; padding: 0; }
#head .head-nav ul.menu > li { margin: 0 0 0 15px; padding: 0; }
#head .head-nav ul li ul li a { padding: 9px 14px; }
.logo img { height: 44px; width: auto; }

.head-nav ul li a {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  text-transform: none; letter-spacing: 0.01em;
  color: var(--color-ink);
  padding: 8px 0 8px 10px;
  position: relative;
}
.head-nav ul li a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-short) var(--ease-out);
}
.head-nav ul li a:hover::after,
.head-nav ul li.current-menu-item a::after { transform: scaleX(1); }
.head-nav ul li.current-menu-item a { font-weight: 600; }
.head-nav ul li a:hover { color: var(--color-accent); }

/* dropdowns */
.head-nav ul li ul { box-shadow: none; border: 1px solid var(--color-rule); border-top: 2px solid var(--color-accent); }
.head-nav ul li ul li { background: var(--color-paper); width: 240px; }
.head-nav ul li ul li a {
  font-size: 14px; text-transform: none; letter-spacing: 0.01em;
  padding: 9px 14px; font-weight: 400; color: var(--color-ink-2);
  transition: color var(--dur-short) var(--ease-out), padding-left var(--dur-short) var(--ease-out);
}
.head-nav ul li ul li a::after { display: none; }
.head-nav ul li ul li a:hover { background: var(--color-paper-2); color: var(--color-accent); font-weight: 500; padding-left: 18px; }

/* search + lang in nav */
.head-nav .is-search-input {
  border: 1px solid var(--color-rule); background: var(--color-paper-2);
  font-family: var(--font-body); font-size: 14px; letter-spacing: 0;
  border-radius: 2px; padding: 6px 10px; width: 160px;
}
.head-nav .is-search-input:focus { border-color: var(--color-accent); outline: none; }
.lang-toggle a { color: var(--color-ink-2); }

/* ---------- content pages (interviews/posts/pages) ---------- */
.content { margin-top: var(--space-xl); }
.post_content article.post_box, .post_content .post_box { max-width: var(--measure); margin: 0 auto; }
.post_content .post_box h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15;
  text-align: left; letter-spacing: -0.01em;
  margin: var(--space-md) 0 var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-rule);
}
.post_content .post_box h2 { font-size: 1.5rem; margin: var(--space-lg) 0 var(--space-sm); line-height: 1.25; }
.post_content .post_box h3 { font-size: 1.2rem; margin: var(--space-md) 0 var(--space-xs); line-height: 1.3; font-weight: 600; }
.post_content .post_box p { margin: 0 0 1.25em; }
.post_content .post_box a { color: var(--color-ink); text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--color-accent) 45%, transparent); }
.post_content .post_box a:hover { color: var(--color-accent); }
.post_content .post_box img { border-radius: 1px; }
.post_content .post_box ul { list-style: disc; padding-left: 1.4rem; }
.post_content .post_box ul li { margin-bottom: 0.6em; }

/* tags line under interviews */
.post_tags { margin-top: var(--space-lg); padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); font-size: 14px; color: var(--color-ink-2); }
.post_tags a { display: inline-block; border: 1px solid var(--color-rule); border-radius: 2px; padding: 3px 10px; margin-left: 6px; font-size: 13px; color: var(--color-ink-2); text-decoration: none; }
.post_tags a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------- video + masonry refinement (over 13/14 passes) ---------- */
.videowrapper { margin: var(--space-lg) 0; }
.hof-masonry { column-gap: 14px; }
.hof-masonry a.hof-gal-item { border: 1px solid var(--color-rule); border-radius: 1px; background: var(--color-paper-2); transition: border-color var(--dur-short) var(--ease-out); }
.hof-masonry a.hof-gal-item:hover { border-color: var(--color-accent); }

/* ---------- archive / category card grids ---------- */
.blog-post-box { background: var(--color-paper-2); }
.blog-post-image > h3 { font-family: var(--font-display); font-weight: 600; text-transform: none; letter-spacing: 0; left: 20px; right: 20px; bottom: 20px; }
.blog-post-image > h3::before {
  content: ""; position: absolute; inset: calc(-1 * var(--space-lg)) calc(-1 * var(--space-sm)) calc(-1 * var(--space-sm)); z-index: -1;
  background: linear-gradient(to top, oklch(15% 0.01 60 / 0.78), oklch(15% 0.01 60 / 0));
}
.blog-post-image > h3 a { color: #fff; font-weight: 600; }
.blog-post-image > h3 a:hover { text-decoration: underline; text-decoration-color: var(--color-accent-ink); }

/* archive title band */
.post_content .archive_title h2, .archive_title h2 {
  font-family: var(--font-display); font-weight: 600; text-transform: none;
  border-left: none; border-right: none;
  border-bottom: 3px solid var(--color-accent);
  padding: 0 0 12px 0; letter-spacing: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* archive pages: breathing room around card grids */
.blog .archive_title { margin: var(--space-md) 0 var(--space-lg); }
.archive-posts { padding: 0 var(--space-lg); overflow: hidden; }
.archive-posts .blog-post-box { margin-bottom: var(--space-lg); }
.archive-posts .blog-post-box:first-child { margin-bottom: var(--space-lg); }
.content > .container > .post_content > .blog { padding: 0 var(--space-xl); }
.page-template-tpl-blog .blog, .post_content .blog { margin-bottom: var(--space-xl); }

/* blog listing cards */
.blog_post_box h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: 0; }
.blog_post_box h3 a { color: var(--color-ink); }
.blog_post_box h3 a:hover { color: var(--color-accent); }
.blog_post_box .blog_post_date { font-size: 15px; color: var(--color-ink-2); }
.read-more {
  background: var(--color-ink); color: var(--color-paper);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 1px;
  transition: background var(--dur-short) var(--ease-out);
}
.read-more:hover { background: var(--color-accent); color: var(--color-accent-ink); }

/* pagination */
.blog-pagination .page-numbers { border: 1px solid var(--color-rule); color: var(--color-ink-2); border-radius: 2px; }
.blog-pagination .page-numbers.current { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.blog-pagination .page-numbers:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------- home ---------- */
/* Hero: full-viewport cover-crop zoomed portrait posters into an unreadable
   middle band. Cap the hero at 560px and bias the crop to the title/logo
   zone (top third of the source posters). */
.home-slider .sl-slider-wrapper,
.sl-slider-wrapper { height: 560px !important; max-height: 70vh; }
.sl-slider, .sl-slides-wrapper, .sl-slide, .sl-slide-inner, .sl-content-wrapper, .sl-slices { height: 560px !important; }
.home-slider .bg-img, .bg-img {
  background-size: cover;
  background-position: center 22%;
}
.home-box { margin-top: 560px; }
@media (max-width: 767px) {
  .home-slider .sl-slider-wrapper, .sl-slider-wrapper,
  .sl-slider, .sl-slides-wrapper, .sl-slide, .sl-slide-inner { height: 420px !important; }
  .home-box { margin-top: 420px; }
}
.home-slider .sl-slider h2 { font-family: var(--font-display); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: clamp(1.8rem, 4vw, 3rem); text-shadow: 0 1px 12px oklch(15% 0.01 60 / 0.55); }
.feature-text-area h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; }
.port-image h3 a { font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0.02em; text-shadow: 0 1px 8px oklch(15% 0.01 60 / 0.6); }
.home-featured { background: var(--color-paper-2); }

/* ---------- footer ---------- */
#foot { background: var(--color-paper-2); border-top: 1px solid var(--color-rule); }
.main-foot { padding: var(--space-xl) 0 var(--space-lg); }
.foot-brdr { background: var(--color-rule); }
.foot-socials ul li a { opacity: 0.75; transition: opacity var(--dur-short) var(--ease-out); }
.foot-socials ul li a:hover { opacity: 1; }
.copyright p, .copyright a, .foot-col p, .foot-col a { color: var(--color-ink-2); font-size: 14px; }
.copyright a:hover { color: var(--color-accent); }

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hof-masonry { column-count: 2; }
  .post_content article.post_box, .post_content .post_box { padding: 0 4px; }
  .blog-post-image > h3 { left: 14px; right: 14px; bottom: 14px; }
}
@media (max-width: 480px) {
  .hof-masonry { column-count: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* unify header positioning across page types (home was absolute over hero,
   archives in-flow sticky — made the header spacing read differently) */
.home header#head, body.home header#head { position: sticky; top: 0; }
.home .home-slider { position: relative; }

/* WP Additional-CSS forces body.archive/.category .container to full width with
   !important — which also stretched the HEADER container on all category pages
   (News, Interviews x4 communities, tags). Re-pin the header container only. */
body.archive #head .container,
body.category #head .container,
body.archive #head .head-area .container,
body.category #head .head-area .container {
  max-width: 1160px !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 48px !important;
  box-sizing: border-box !important;
}

/* language switch: flat EN / FR toggle (replaces TranslatePress dropdown) */
#head .head-nav ul li.hof-lang-switch { margin-left: 18px; }
.hof-lang-switch a {
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-ink-2) !important;
  padding: 8px 2px !important;
}
.hof-lang-switch a.hof-lang-active {
  color: var(--color-accent) !important;
  font-weight: 700;
  border-bottom: 2px solid var(--color-accent);
}
.hof-lang-switch a:not(.hof-lang-active):hover { color: var(--color-accent) !important; }
.hof-lang-switch a::after { display: none !important; }
.hof-lang-sep { color: var(--color-rule); margin: 0 6px; font-size: 14px; }

/* language switch: real horizontal segmented pill switch, compact */
#head .head-nav ul li.hof-lang-switch {
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.hof-lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--color-paper-2);
  border: 1px solid var(--color-rule);
  border-radius: 999px;
  padding: 2px;
  line-height: 1;
}
.hof-lang-switch a {
  display: inline-block;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 5px 12px !important;
  border-radius: 999px;
  color: var(--color-ink-2) !important;
  border-bottom: none !important;
  transition: color var(--dur-short) var(--ease-out), background var(--dur-short) var(--ease-out);
}
.hof-lang-switch a.hof-lang-active {
  background: var(--color-accent);
  color: var(--color-accent-ink) !important;
}
.hof-lang-switch a:not(.hof-lang-active):hover {
  color: var(--color-accent) !important;
}
.hof-lang-switch a::after { display: none !important; }
.hof-lang-sep { display: none !important; }

/* sharper active-state contrast for the lang pill */
.hof-lang-switch a.hof-lang-active {
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--color-accent) 70%, black);
}

/* ============================================================
   HEADER OVERHAUL: single-row flex alignment + visible search
   Fixes: 3-baseline misalignment (search y42 / links y46 / pill y59),
   2-row wrap from float layout, hidden search input, logo overlap
   at 1024px. Replaces the theme's float-based head layout.
   ============================================================ */
.head-area { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.head-area::after { content: none; }
#head .logo { float: none; flex: 0 0 auto; }
#head .head-nav { float: none; flex: 1 1 auto; display: flex; justify-content: flex-end; }
#head .head-nav ul.menu,
#head .head-nav .menu-english-menu-container {
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; width: auto;
}
#head .head-nav .menu > li { margin: 0; }
#head .head-nav .menu > li > a {
  display: inline-flex; align-items: center;
  white-space: nowrap;
}

/* visible search field in the menu row */
#head .is-menu { order: 0; }
#head .is-search-form {
  display: flex !important; align-items: center; position: static !important;
  visibility: visible !important; opacity: 1 !important;
}
#head .is-search-form label { display: flex; align-items: center; margin: 0; }
#head .is-search-input {
  display: block !important; visibility: visible !important;
  width: 150px !important; height: 34px !important;
  border: 1px solid var(--color-rule) !important; border-radius: 17px !important;
  background: var(--color-paper-2) !important;
  padding: 4px 36px 4px 14px !important;
  font-family: var(--font-body) !important; font-size: 14px !important;
  letter-spacing: 0 !important; color: var(--color-ink) !important;
  outline: none !important; box-shadow: none !important;
  transition: width 220ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}
#head .is-search-input:focus {
  width: 210px !important; border-color: var(--color-accent) !important;
  background: #fff !important;
}
#head .is-search-input::placeholder { color: var(--color-ink-2); opacity: 0.7; }
/* search submit becomes an inset icon button */
#head .is-search-submit {
  position: relative; margin-left: -34px; z-index: 2;
  background: none !important; border: none !important; padding: 6px !important;
  cursor: pointer; line-height: 0;
}
#head .is-search-submit svg { fill: var(--color-ink-2); }
#head .is-search-submit:hover svg { fill: var(--color-accent); }
#head .is-search-submit:focus-visible { outline: 2px solid var(--color-focus); border-radius: 4px; }

/* pill switch vertically centered in the row */
#head .head-nav ul.menu > li.hof-lang-switch { display: inline-flex; align-self: center; margin-left: 12px; }

/* keep dropdowns anchored */
#head .head-nav ul li { position: relative; }
#head .head-nav ul li ul { top: 100%; margin-top: 6px; border-radius: 0 0 3px 3px; }

/* responsive: tighten before hamburger breakpoint */
@media (max-width: 1200px) {
  .head-area { gap: 16px; }
  #head .head-nav .menu > li > a { font-size: 14px; padding-left: 8px; }
  #head .is-search-input { width: 120px !important; }
  #head .is-search-input:focus { width: 170px !important; }
}
@media (max-width: 980px) {
  /* hand everything to the slicknav hamburger below this */
  #head .head-nav { display: none; }
}
/* slicknav (mobile) inherits cleaner look */
.slicknav_menu { background: #fff !important; border-bottom: 1px solid var(--color-rule); }
.slicknav_nav { font-family: var(--font-body); }
.slicknav_nav a { font-family: var(--font-body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.slicknav_nav .hof-lang-switch { display: inline-flex; margin: 8px 0; }

/* force the plugin's zero-width tricks off; give the search li a sane height */
#head .head-nav .menu > li.is-menu { display: inline-flex; align-items: center; height: 34px; }
#head li.is-menu > a { display: none !important; }              /* the icon toggle */
#head .is-search-form { position: static !important; }
#head .is-search-input {
  width: 150px !important; max-width: none !important; min-width: 0 !important;
  display: block !important; visibility: visible !important; opacity: 1 !important;
  height: 34px !important; box-sizing: border-box !important;
}
#head .search-close { display: none !important; }

/* the label wraps the input and collapses it — give it real dimensions */
#head .is-search-form label,
#head .is-search-form .is-screen-reader-text {
  position: static !important;
  width: auto !important; height: auto !important;
  clip: auto !important; clip-path: none !important;
  overflow: visible !important;
  display: flex !important; align-items: center;
}
#head .is-search-form label { width: 150px !important; }
#head .is-search-form .is-screen-reader-text {
  position: absolute !important; width: 1px !important; height: 1px !important;
  clip: rect(0 0 0 0) !important; overflow: hidden !important;
}

/* hof-search: clean static search box (replaces Ivory plugin icon) */
#head .head-nav .menu > li.hof-search { display: inline-flex; align-items: center; }
.hof-search-form { display: flex; align-items: center; }
.hof-search-label { display: flex; align-items: center; }
.hof-search-input {
  width: 150px; height: 34px; box-sizing: border-box;
  border: 1px solid var(--color-rule); border-radius: 17px;
  background: var(--color-paper-2);
  padding: 4px 12px; font-family: var(--font-body); font-size: 14px;
  color: var(--color-ink); outline: none;
  transition: width 220ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.hof-search-input::placeholder { color: var(--color-ink-2); opacity: 0.75; }
.hof-search-input:focus { width: 210px; border-color: var(--color-accent); background: #fff; }
.hof-search-input:focus-visible { outline: none; }
.hof-search-submit {
  margin-left: -34px; z-index: 2; background: none; border: none; padding: 6px;
  cursor: pointer; line-height: 0; color: var(--color-ink-2); border-radius: 50%;
}
.hof-search-submit:hover { color: var(--color-accent); }
.hof-search-submit:focus-visible { outline: 2px solid var(--color-focus); }
@media (max-width: 1200px) {
  .hof-search-input { width: 120px; }
  .hof-search-input:focus { width: 170px; }
}
/* slicknav mobile: search + lang switch inside hamburger menu */
.slicknav_nav .hof-search { padding: 8px 16px; }
.slicknav_nav .hof-search-input { width: 100%; }

/* theme's global `input {width:300px}` beats class in this cascade — force it */
#head .hof-search-input { width: 150px !important; }
#head .hof-search-input:focus { width: 210px !important; }

/* header tune-up pass: logo breathing room, search vertical centering,
   smaller language pill */
.head-area { gap: 48px; }
#head .logo { flex: 0 0 auto; padding-right: 8px; }
#head .head-nav { flex: 0 1 auto; }
.hof-search-form, .hof-search-label { height: 34px; }
#head .head-nav .menu > li.hof-search { align-self: center; }
.hof-lang-switch { padding: 2px; transform: scale(0.92); transform-origin: center; margin-left: 12px !important; }
.hof-lang-switch a { font-size: 11px !important; padding: 4px 10px !important; }

/* fix: search collides with logo below ~1000px; input 40px (theme cascade) */
#head .hof-search-input { height: 34px !important; }
#head .hof-search-label { height: 34px; }
@media (max-width: 1080px) {
  #head .head-nav .menu > li.hof-search { display: none; }  /* search lives in hamburger below 1080 */
}

/* language toggle: minimal text style, no pill chrome — editorial look */
.hof-lang-switch {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  transform: none !important;
  gap: 2px;
}
.hof-lang-switch a {
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 2px 3px !important;
  border-radius: 2px !important;
}
.hof-lang-switch a.hof-lang-active {
  background: none !important;
  color: var(--color-accent) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  border-bottom: 1.5px solid var(--color-accent) !important;
}

/* ================= T4: pure-CSS dropdown menus (replaces jQuery slideDown/slideUp) ================= */
/* Kill the JS-animated dropdown flicker: static geometry, hover + keyboard open, no jQuery. */
.head-nav ul li ul {
  display: block;                 /* override theme display:none — visibility gates it now */
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: visibility 0s linear 0.18s, opacity 0.18s ease, transform 0.18s ease;
  overflow: visible;
}
/* open on hover (desktop) and keyboard focus (a11y); > ul only = direct child, no ghost-opens */
.head-nav ul li:hover > ul,
.head-nav ul li:focus-within > ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
/* seamless hover bridge: no dead strip between bar and panel */
.head-nav ul.menu > li > a { padding-bottom: 9px; }
/* third-level flyout: same mechanics, opens to the right */
.head-nav ul li ul li ul { transform: translateX(0); }

/* ================= T5: self-hosted Poppins (same as gourmetdangkor.com) — no Google dependency ================= */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ================= T5b: Poppins consistency — override the theme's only legacy family ================= */
body, .head-nav, .head-nav ul li a, .slicknav_nav, input, button, select, textarea,
.widget_box, .footer, .copyright { font-family: var(--font-body) !important; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display) !important; }

/* ================= T6: de-jQuery — vanilla mobile nav + static hero ================= */
.hof-burger { display: none !important; background: none; border: 0; padding: 10px; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.hof-burger span { display: block; width: 100%; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform 0.15s ease, opacity 0.15s ease; }
.hof-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hof-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hof-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* single horizontal menu at ALL widths — no hamburger; wraps gracefully under the logo */
@media (max-width: 1023px) {
  #head .head-nav { float: none; display: block; margin-top: 10px; }
  #head .head-nav ul.menu > li { margin: 0 20px 0 0; }
}

/* static hero: first slide only (slitslider animation removed) */
.home-slider .sl-slide ~ .sl-slide { display: none; }
.nav-arrows { display: none !important; }

/* ================= T7: unified button system — one look, every control ================= */
/* Canonical button = .read-more (defined above). These rules bring every other
   control to the same system: Poppins 500, uppercase tracking, ink/accent pairing. */
#head .is-search-submit, .hof-search-submit {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--color-rule); border-radius: 2px;
  color: var(--color-ink-2); cursor: pointer; padding: 8px 10px;
  font-family: var(--font-body); transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
#head .is-search-submit:hover, .hof-search-submit:hover { border-color: var(--color-accent); color: var(--color-accent); }
.blog-pagination .page-numbers, .wp-block-button__link, .brz-text-btn,
input[type="submit"], button[type="submit"]:not(.hof-search-submit):not(.is-search-submit) {
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--color-ink); color: var(--color-paper);
  border: none; border-radius: 1px; padding: 12px 22px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background var(--dur-short) var(--ease-out);
}
.wp-block-button__link:hover, .brz-text-btn:hover,
input[type="submit"]:hover { background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; }
/* ghost variant for pagination (context link, not action) */
.blog-pagination .page-numbers { background: none; color: var(--color-ink-2); border: 1px solid var(--color-rule); padding: 8px 14px; }
.blog-pagination .page-numbers:hover { background: none; border-color: var(--color-accent); color: var(--color-accent); }
.blog-pagination .page-numbers.current { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
/* Brizy buttons: neutralize Brizy inline-ish styling to match system */
.brz-text-btn { font-family: var(--font-body) !important; text-decoration: none; }

/* T7b: content-area consistency details */
.mce_SELRES_start { display: none !important; }  /* TinyMCE editor anchor artifact */
video { max-width: 100%; height: auto; }
.post_content img { max-width: 100%; height: auto; }

/* ================= T8: template-family consistency — featured cards, home sections, footer widgets ================= */
/* Featured card (archives + home lead) */
.blog-post-feature, .blog-post-feature h3 { font-family: var(--font-display); }
/* Home trio + latest-posts sections */
.featured-box, .port-body { font-family: var(--font-body); }
.featured-box h3, .port-body h3 { font-family: var(--font-display); font-weight: 600; }
/* magazine grid restored — theme floats own the layout (T37) */
/* Footer + widget internals */
.footer_box, .widget_text, .textwidget { font-family: var(--font-body); color: var(--color-ink-2); }
.footer_box h3, .footer_box .widget-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink); margin-bottom: 12px; }
.footer_box a { color: var(--color-ink-2); text-decoration: none; }
.footer_box a:hover { color: var(--color-accent); }
.bottom-foot { border-top: 1px solid var(--color-rule); margin-top: 28px; padding-top: 18px; }
/* External links inside content */
.post_content a.link--external, a.link--external { color: var(--color-accent); text-underline-offset: 3px; }
a.link--external:hover { color: var(--color-ink); }
/* Search empty state */
.hof-empty { padding: 40px 0; color: var(--color-ink-2); font-style: normal; }

/* ================= T9: feedback round — tags, interview readability, media breakout, search redesign ================= */
/* --- Tags: plain text links, no pill borders, no red hover --- */
.post_tags a, .post_tags a:hover {
  border: none !important; background: none !important; border-radius: 0 !important;
  padding: 0 !important; display: inline !important; box-shadow: none !important;
  font-family: var(--font-body) !important; font-size: 0.92rem !important;
  color: var(--color-ink-2) !important; text-decoration: underline !important;
  text-decoration-color: color-mix(in oklch, var(--color-ink-2) 45%, transparent) !important;
  text-underline-offset: 3px !important; margin-left: 4px !important;
}
.post_tags a:hover { color: var(--color-ink) !important; text-decoration-color: var(--color-ink) !important; }

/* --- Interviews: larger reading type --- */
.single-post .post_content p, .single-post .post_content .post_box p { font-size: 1.125rem; line-height: 1.8; }
.single-post .post_content h2 { font-size: 1.5rem; margin-top: 2em; }

/* --- Media breakout: video + galleries escape the 66ch text measure --- */
.single-post .post_content .videowrapper {
  position: relative; left: 50%; transform: translateX(-50%);
  width: min(1152px, calc(100vw - 64px)); margin: var(--space-lg) 0;
}
.single-post .post_content .videowrapper iframe.video,
.single-post .post_content .videowrapper iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border: 0;
}
.single-post .post_content .hof-masonry {
  position: relative; left: 50%; transform: translateX(-50%);
  width: min(1152px, calc(100vw - 64px)); column-gap: 16px;
}
.single-post .post_content .hof-masonry img { width: 100%; height: auto; }

/* --- Search page: quiet editorial redesign (overrides page-inline styles) --- */
.hof-search-page { max-width: 820px !important; margin: 0 auto; padding: 48px 0 64px; }
.hof-search-page h1 {
  font-size: 1.1rem !important; font-weight: 600 !important; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-ink-2) !important; margin-bottom: 20px;
}
.hof-search-page .hof-page-search { display: flex; gap: 14px; align-items: flex-end; }
.hof-search-page .hof-page-search input[type="search"] {
  flex: 1; font-family: var(--font-body) !important; font-size: 1.15rem !important;
  padding: 10px 2px !important; border: none !important; border-bottom: 2px solid var(--color-ink) !important;
  border-radius: 0 !important; background: none !important; color: var(--color-ink) !important;
  box-shadow: none !important; outline: none;
}
.hof-search-page .hof-page-search input[type="search"]:focus { border-bottom-color: var(--color-ink) !important; }
.hof-search-page .hof-page-search button {
  font-family: var(--font-body) !important; font-size: 0.85rem !important; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; background: none !important; border: none !important;
  color: var(--color-ink-2) !important; cursor: pointer; padding: 10px 4px !important; border-radius: 0 !important;
}
.hof-search-page .hof-page-search button:hover { color: var(--color-ink) !important; }
.hof-kind-tabs { display: flex; gap: 22px; margin-top: 34px !important; border-bottom: 1px solid var(--color-rule) !important; padding: 0 !important; }
.hof-kind-tabs button, .hof-kind-tabs a {
  font-family: var(--font-body) !important; font-size: 0.85rem !important; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; background: none !important; border: none !important;
  color: var(--color-ink-2) !important; cursor: pointer; padding: 8px 2px !important; border-radius: 0 !important;
  border-bottom: 2px solid transparent !important; margin-bottom: -1px;
}
.hof-kind-tabs button[aria-selected="true"], .hof-kind-tabs .active,
.hof-kind-tabs button.active, .hof-kind-tabs a.active {
  color: var(--color-ink) !important; border-bottom-color: var(--color-ink) !important;
}
.hof-results-info { font-size: 0.9rem !important; color: var(--color-ink-2) !important; margin: 18px 0 8px !important; font-style: normal !important; }
.hof-results { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.hof-results li {
  border: none !important; background: none !important; box-shadow: none !important;
  padding: 18px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--color-rule) !important;
  border-radius: 0 !important;
}
.hof-results li a { text-decoration: none !important; color: var(--color-ink) !important; }
.hof-results li a:hover { text-decoration: underline !important; text-decoration-color: var(--color-ink) !important; }
.hof-results .hof-result-title, .hof-results li h3, .hof-results li .title {
  font-family: var(--font-display) !important; font-size: 1.02rem !important; font-weight: 600; margin: 0 0 4px;
}
.hof-results .hof-result-kind, .hof-results li .kind {
  font-size: 0.72rem !important; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-ink-2) !important; display: block; margin-bottom: 4px;
}
.hof-results .hof-result-snippet, .hof-results li .snippet, .hof-results li p {
  font-size: 0.95rem !important; color: var(--color-ink-2) !important; margin: 0; line-height: 1.6;
}
.hof-pager { margin-top: 28px !important; display: flex; gap: 16px; padding: 0 !important; }
.hof-pager button, .hof-pager a {
  font-family: var(--font-body) !important; font-size: 0.88rem; background: none !important;
  border: none !important; color: var(--color-ink-2) !important; cursor: pointer; padding: 4px 2px !important;
}
.hof-pager button:hover, .hof-pager a:hover { color: var(--color-ink) !important; text-decoration: underline; }
.hof-pager [aria-current], .hof-pager .current { color: var(--color-ink) !important; font-weight: 600; }
.hof-empty { text-align: center; padding: 60px 0 !important; color: var(--color-ink-2); }

/* T9b: corrected selectors for actual search-result markup (li.hof-result > h2 > a, .hof-kind, .hof-meta, .hof-snippet) */
.hof-results li.hof-result h2 { font-family: var(--font-display) !important; font-size: 1.02rem !important; font-weight: 600; margin: 0 0 4px; }
.hof-results li.hof-result h2 a { text-decoration: none !important; color: var(--color-ink) !important; }
.hof-results li.hof-result h2 a:hover { text-decoration: underline !important; text-decoration-color: var(--color-ink) !important; }
.hof-results .hof-kind {
  font-size: 0.72rem !important; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-ink-2) !important; margin-right: 10px; font-weight: 500;
}
.hof-results .hof-meta { font-size: 0.8rem !important; color: var(--color-ink-2) !important; margin-bottom: 5px; }
.hof-results .hof-snippet { font-size: 0.95rem !important; color: var(--color-ink-2) !important; margin: 0; line-height: 1.6; }
.hof-kind-tabs button[aria-current="true"] { color: var(--color-ink) !important; border-bottom-color: var(--color-ink) !important; }
.hof-snippet mark { background: none; color: var(--color-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ================= T10: header search — borderless, editorial underline ================= */
.hof-search-input, #head .hof-search-input {
  border: none !important; border-radius: 0 !important;
  border-bottom: 1px solid var(--color-rule) !important;
  background: none !important;
  padding: 4px 2px !important;
  font-size: 14px !important;
}
.hof-search-input:focus, #head .hof-search-input:focus {
  border-bottom-color: var(--color-ink) !important;
  background: none !important;
}
.hof-search-submit, #head .hof-search-submit {
  border: none !important; background: none !important; border-radius: 0 !important;
  padding: 6px 4px !important; box-shadow: none !important;
}
.hof-search-submit:hover, #head .hof-search-submit:hover { color: var(--color-ink) !important; }

/* ================= T11: de-Brizy institutional pages — wider measure ================= */
.post_content article.post_box.hof-wide { max-width: 880px; }
.hof-wide h1 { font-size: 2.1rem; margin-bottom: 0.6em; }
.hof-wide p { font-size: 1.06rem; }
.hof-wide ul { list-style: none; margin: 1.6em 0; padding: 0; }
.hof-wide ul li { position: relative; padding: 0 0 1.2em 26px; font-size: 1.02rem; line-height: 1.7; color: var(--color-ink); }
.hof-wide ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 2px; background: var(--color-accent); }
.hof-wide figure { margin: 2em 0; }
.hof-wide figure img { max-width: 100%; height: auto; display: block; border: 1px solid var(--color-rule); }

/* T11b: kill theme's per-li disc on wide pages (was double-marking with our dash) */
.hof-wide ul, .hof-wide ul li, .post_content .hof-wide ul li { list-style: none !important; }
.hof-wide ul li::marker { content: "" !important; }

/* ================= T12: one reading size everywhere — interviews, posts, pages ================= */
/* Single body-reading token: 18px / 1.8 line-height. Same role, same size, every template. */
.post_content p,
.post_content .post_box p,
.single-post .post_content p,
.single-post .post_content .post_box p,
.hof-wide p,
.page .post_content p {
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
}
.post_content ul li, .post_content ol li,
.hof-wide ul li, .hof-wide ol li,
.single-post .post_content ul li {
  font-size: 1.125rem !important;
  line-height: 1.75 !important;
}
.post_content blockquote p, .post_content blockquote {
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
}
/* captions/meta stay smaller by design (interface text, not reading text) */

/* ================= T13: interview media — wider video, featured-first gallery ================= */
/* Video: near-full-bleed cinematic frame */
.single-post .post_content .videowrapper {
  width: min(1360px, calc(100vw - 32px)) !important;
}
/* Gallery: first image featured full-width, rest 3-per-row masonry */
.hof-masonry a.hof-gal-item:first-child {
  column-span: all;
  width: 100%;
  margin-bottom: 16px;
}
.hof-masonry a.hof-gal-item:first-child img { width: 100%; height: auto; }

/* ================= T14: gallery simplified — all photos in one masonry flow, no featured slot ================= */
.hof-masonry a.hof-gal-item:first-child { column-span: none !important; }
.single-post .post_content .hof-masonry { width: min(1360px, calc(100vw - 32px)) !important; column-count: 3; column-gap: 14px; }
.hof-masonry a.hof-gal-item { border: 1px solid var(--color-rule); }

/* T14b: responsive gallery columns (re-assert after 3-col rule) */
@media (max-width: 900px) { .single-post .post_content .hof-masonry { column-count: 2 !important; } }
@media (max-width: 600px) { .single-post .post_content .hof-masonry { column-count: 1 !important; } }

/* ================= T17: gallery lightbox ================= */
.hof-lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(16, 14, 12, 0.94); align-items: center; justify-content: center; }
.hof-lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.hof-lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; display: block; margin: 0 auto; box-shadow: 0 6px 40px rgba(0,0,0,0.5); }
.hof-lightbox figcaption { color: #f5f2ed; font-family: var(--font-body); font-size: 0.9rem; margin-top: 14px; opacity: 0.85; }
.hof-lb-close, .hof-lb-prev, .hof-lb-next { position: fixed; background: none; border: none; color: #f5f2ed; cursor: pointer; font-family: var(--font-body); line-height: 1; padding: 18px; opacity: 0.75; }
.hof-lb-close:hover, .hof-lb-prev:hover, .hof-lb-next:hover { opacity: 1; }
.hof-lb-close { top: 10px; right: 14px; font-size: 34px; }
.hof-lb-prev { left: 6px; top: 50%; transform: translateY(-50%); font-size: 44px; }
.hof-lb-next { right: 6px; top: 50%; transform: translateY(-50%); font-size: 44px; }
.hof-lb-count { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); color: #f5f2ed; font-family: var(--font-body); font-size: 0.85rem; opacity: 0.7; }

/* ================= T18: gallery = live-site look (uniform cropped grid, content-column width) ================= */
/* Match heartsoffreedom.org live wp-block-gallery: 3 equal columns, uniformly cropped
   thumbnails, filling the content column. Full uncropped photo opens in the lightbox. */
.single-post .post_content .videowrapper,
.single-post .post_content .hof-masonry {
  position: static !important; left: auto !important; transform: none !important;
  width: 100% !important; max-width: 100% !important; margin: 25px 0 !important;
}
.hof-masonry {
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px;
  column-count: auto !important; column-gap: normal !important;
}
.hof-masonry a.hof-gal-item {
  display: block; width: 100%; margin: 0; aspect-ratio: 1 / 1; overflow: hidden;
  border: none; background: #f2f2f2; break-inside: auto; line-height: 0;
}
.hof-masonry a.hof-gal-item img { width: 100%; height: 100%; object-fit: cover; }
.hof-masonry a.hof-gal-item:hover { border-color: transparent; opacity: 0.92; }
@media (max-width: 900px) { .hof-masonry { grid-template-columns: repeat(2, 1fr); } }

/* T18b: force crop over page-inline height:auto */
.hof-masonry a.hof-gal-item img { height: 100% !important; object-fit: cover !important; }

/* ================= T19: natural masonry — full photos, natural heights, ZERO cropping ================= */
.hof-masonry {
  display: block !important; grid-template-columns: none !important;
  column-count: 3 !important; column-gap: 14px !important;
  width: 100% !important; max-width: 100% !important;
  position: static !important; left: auto !important; transform: none !important;
  margin: 25px 0 !important;
}
.hof-masonry a.hof-gal-item {
  width: auto !important; aspect-ratio: auto !important; overflow: visible !important;
  margin: 0 0 14px !important; break-inside: avoid; page-break-inside: avoid;
  border: 1px solid var(--color-rule) !important;
}
.hof-masonry a.hof-gal-item img { width: 100% !important; height: auto !important; }
@media (max-width: 900px) { .hof-masonry { column-count: 2 !important; } }
@media (max-width: 600px) { .hof-masonry { column-count: 1 !important; } }

/* ================= T20: full-width video + gallery below the text (zoom-safe, no transforms) ================= */
.single-post .post_content .videowrapper,
.single-post .post_content .hof-masonry {
  width: calc(100vw - 32px) !important;
  max-width: 1360px !important;
  margin-left: max(0px, calc(50% - 50vw + 16px)) !important;
  margin-right: max(0px, calc(50% - 50vw + 16px)) !important;
}
.single-post .post_content .videowrapper iframe.video,
.single-post .post_content .videowrapper iframe {
  width: 100% !important; aspect-ratio: 16 / 9; height: auto !important; display: block;
}

/* ================= T21: video medium-centered, gallery widest ================= */
.single-post .post_content .videowrapper {
  width: 100% !important; max-width: 1080px !important;
  margin-left: auto !important; margin-right: auto !important;
}

/* T21b: video centered breakout to 1080 (clamped by viewport, no transform) */
.single-post .post_content .videowrapper {
  width: min(1080px, calc(100vw - 48px)) !important; max-width: none !important;
  margin-left: calc(50% - min(1080px, 100vw - 48px) / 2) !important;
  margin-right: calc(50% - min(1080px, 100vw - 48px) / 2) !important;
}

/* ================= T22: design system owns the video embed entirely ================= */
.single-post .post_content .videowrapper {
  position: relative !important; height: auto !important; padding-bottom: 0 !important;
  aspect-ratio: 16 / 9;
}
.single-post .post_content .videowrapper iframe {
  position: absolute !important; top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important; border: 0; display: block;
}

/* ================= T23: wide article — media fills it naturally, no breakout math ================= */
.single-post .post_content { width: auto !important; max-width: none !important; margin-inline: 0 !important; }
.single-post .post_content article.post_box { max-width: 1200px !important; margin-inline: auto; }
.single-post .post_content .post_box > *:not(.videowrapper):not(.hof-masonry) { max-width: var(--measure); }
.single-post .post_content .videowrapper,
.single-post .post_content .hof-masonry {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}

/* ================= T24: wide institutional pages — centered column, identical typography ================= */
.post_content article.hof-wide { margin-inline: auto !important; max-width: min(880px, 100%) !important; }
.hof-wide > *:not(.videowrapper):not(.hof-masonry) { max-width: var(--measure); margin-inline: auto; }

/* T24b: center the interview text column inside the wide article */
.single-post .post_content .post_box > *:not(.videowrapper):not(.hof-masonry) { margin-inline: auto; }

/* ================= T25: outcomes list — numbered editorial component, identical type size ================= */
.hof-wide ul {
  counter-reset: hof-outcome; list-style: none !important;
  margin: 2.4em auto 2em !important; padding: 0 !important;
}
.hof-wide ul li {
  counter-increment: hof-outcome; position: relative;
  padding: 1.35em 0 1.35em 64px !important; margin: 0 !important;
  font-size: 1.125rem !important; line-height: 1.75 !important;
  border-top: 1px solid var(--color-rule);
}
.hof-wide ul li::before {
  content: counter(hof-outcome, decimal-leading-zero) !important;
  position: absolute; left: 0; top: 1.5em; width: 44px;
  font-family: var(--font-display) !important; font-size: 0.95rem !important;
  font-weight: 600; color: var(--color-accent); letter-spacing: 0.05em;
  background: none !important; height: auto !important;
}

/* ================= T26: Poppins on ALL reading text — kill theme's bare-element Lato rules ================= */
p, li, ul, ol, blockquote, dd, dl, dt, td, th, figcaption,
.post_content p, .post_content li, .content p, .content li,
.hof-wide p, .hof-wide li {
  font-family: var(--font-body) !important;
}

/* ================= T26b: ONE family everywhere — Poppins, no exceptions ================= */
*, *::before, *::after { font-family: var(--font-body) !important; }

/* ================= T27: chronology — static timeline (era sections + event rail) ================= */
.hof-chronology-label {
  font-size: 1.1rem !important; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-ink-2);
  margin: 3em auto 1em !important;
}
.hof-era {
  font-size: 1.6rem !important; font-weight: 600; color: var(--color-ink);
  margin: 2.2em auto 0.8em !important; padding-bottom: 0.35em;
  border-bottom: 1px solid var(--color-rule);
}
.hof-timeline { border-left: 2px solid var(--color-rule); margin: 0 auto 1.5em; padding-left: 0; }
.hof-tl-event { position: relative; padding: 0.4em 0 1.3em 30px; }
.hof-tl-event::before {
  content: ""; position: absolute; left: -6px; top: 0.75em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-paper); border: 2px solid var(--color-accent);
}
.hof-tl-date {
  display: block; font-size: 0.78rem !important; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent);
  margin-bottom: 2px;
}
.hof-tl-event h3 { font-size: 1.06rem !important; font-weight: 600; margin: 0 0 4px; }
.hof-tl-event p { font-size: 1.06rem !important; line-height: 1.7; margin: 0; }

/* ================= T28: page header subtitle — smaller, no rule ================= */
.hof-subtitle {
  font-size: 1.05rem !important; font-weight: 500; color: var(--color-ink-2);
  line-height: 1.5; margin: -0.4em auto 1.6em !important; border: none !important;
  letter-spacing: 0.01em;
}

/* ================= T29: funding & partners — logo wall ================= */
.hof-logos img { border: none !important; outline: none; }
.hof-logos figure { margin: 0 !important; border: none !important; background: none; }
.hof-logos {
  display: flex; flex-wrap: wrap; gap: 1.1rem;
  align-items: stretch; justify-content: center;
}
.hof-logos h1 { flex: 1 1 100%; margin-bottom: 0.6em !important; }
/* Federal funders — Government of Canada wordmark stands alone on top */
.hof-logos figure:nth-of-type(1) {
  flex: 1 1 100%; display: flex; justify-content: center;
  padding: 1.4rem 0 0.6rem; margin-bottom: 0.4rem !important;
}
.hof-logos figure:nth-of-type(1) img { max-height: 64px; width: auto; }
/* Canadian Heritage — principal funder, prominent below */
.hof-logos figure:nth-of-type(2) {
  flex: 1 1 100%; display: flex; justify-content: center;
  padding: 0.4rem 0 1.2rem;
  border-bottom: 1px solid var(--color-rule) !important; margin-bottom: 1rem !important;
}
.hof-logos figure:nth-of-type(2) img { max-height: 96px; width: auto; }
/* Partner logos — quiet tiles, 3 per row, uniform breathing room */
.hof-logos figure:nth-of-type(n+3) {
  flex: 1 1 28%; min-width: 200px; max-width: 340px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem 1.2rem; border-radius: 10px;
  background: var(--color-paper-2);
}
.hof-logos figure:nth-of-type(n+3) img { max-height: 84px; max-width: 100%; width: auto; }
@media (max-width: 700px) { .hof-logos figure:nth-of-type(n+3) { flex: 1 1 44%; } }

/* T29b: logo-wall figures exempt from the page measure constraint (auto margins break flex rows) */
.hof-logos figure { max-width: none !important; margin-inline: 0 !important; }

/* T29c: content-box theme sizing inflates flex-basis past its % — border-box for the wall */
.hof-logos, .hof-logos figure { box-sizing: border-box; }
.hof-logos figure:nth-of-type(n+3) { max-width: 340px; }

/* T29d: "In partnership with" — section divider label inside the logo wall */
.hof-logos p {
  flex: 1 1 100%; text-align: center; margin: 1.4em 0 0.4em !important;
  font-size: 0.85rem !important; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-ink-2);
}

/* T29e: lone foundation figure before the label — keep tile size, centered on its row */
.hof-logos figure:nth-of-type(3) { flex-grow: 0; }

/* ================= T30: logo wall refinement — no rules, centered title, white tiles ================= */
.hof-logos figure:nth-of-type(2) { border-bottom: none !important; }
.hof-logos h1 { text-align: center; }
.hof-logos figure:nth-of-type(n+3) { background: #fff; }
.hof-logos h1 { text-align: center !important; }

/* T30b: no lines at all on the logo wall page */
.hof-logos h1 { border-bottom: none !important; }
.hof-logos-page footer, .hof-logos-page #foot { border-top: none !important; }
.hof-logos img { outline: none; }

/* T30c (revised): beige page, WHITE logo cards — opaque logos blend into the card */

/* ================= T31: footer — no divider line, spacing instead ================= */
.bottom-foot { border-top: none !important; margin-top: 2.2rem; }

/* ================= T32: donor honour roll — sponsors page ================= */
.hof-donor-intro { margin-top: 0.2em !important; }
.hof-tier { margin: 2.6em auto 0; }
.hof-tier-name {
  font-size: 0.95rem !important; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--color-ink); margin: 0 0 0.9em !important;
  border: none !important; padding: 0 !important;
}
.hof-tier-range {
  font-weight: 500; font-size: 0.8rem !important; color: var(--color-ink-2);
  letter-spacing: 0.08em; margin-left: 0.6em;
}
.hof-donors {
  list-style: none !important; margin: 0 auto !important; padding: 0 !important;
  column-gap: 3rem;
}
.hof-donors li {
  font-size: 1.06rem !important; line-height: 1.7 !important;
  padding: 0.32em 0 0.32em 0 !important; margin: 0 !important;
  break-inside: avoid; border: none !important;
  color: var(--color-ink);
}
.hof-donors li::before { content: none !important; }
.hof-tier:first-of-type .hof-donors li { font-size: 1.19rem; font-weight: 500; }
.hof-tier:nth-of-type(1) .hof-donors, .hof-tier:nth-of-type(2) .hof-donors { columns: 2; }
.hof-tier:nth-of-type(n+3) .hof-donors { columns: 3; }
@media (max-width: 800px) {
  .hof-tier:nth-of-type(n) .hof-donors { columns: 2; }
}

/* ================= T33: donor tiers — contribution hierarchy pops ================= */
.hof-tier {
  background: #fff; border-radius: 12px; border: none;
  padding: 1.9rem 2.3rem 1.5rem; margin: 1.25rem auto 0;
  max-width: var(--measure); box-sizing: border-box;
}
.hof-tier-name { margin: 0 0 1em !important; }
/* descending type scale = descending giving level */
.hof-tier:nth-of-type(1) .hof-tier-name { font-size: 1.5rem !important; letter-spacing: 0.08em; }
.hof-tier:nth-of-type(2) .hof-tier-name { font-size: 1.3rem !important; letter-spacing: 0.1em; }
.hof-tier:nth-of-type(3) .hof-tier-name { font-size: 1.15rem !important; letter-spacing: 0.12em; }
.hof-tier:nth-of-type(4) .hof-tier-name { font-size: 1.02rem !important; letter-spacing: 0.14em; }
.hof-tier-range {
  display: block; font-size: 0.92rem !important; font-weight: 600;
  color: var(--color-accent); letter-spacing: 0.04em; text-transform: none;
  margin-top: 0.25em; margin-left: 0 !important;
}
.hof-tier:nth-of-type(n+3) .hof-donors { columns: 2; }
.hof-tier:nth-of-type(1) .hof-donors li { font-size: 1.22rem; font-weight: 500; }
.hof-tier:nth-of-type(2) .hof-donors li { font-size: 1.12rem; }
.hof-tier:nth-of-type(n+3) .hof-donors li { font-size: 1.02rem !important; }
@media (max-width: 800px) {
  .hof-tier { padding: 1.4rem 1.3rem 1.1rem; }
  .hof-tier:nth-of-type(n) .hof-donors { columns: 1; }
}

/* ================= T34: static hero width — plugin set it via JS; we own it ================= */
.home-slider .sl-slider { width: 100% !important; }
.home-slider .sl-slide { width: 100% !important; }
.home-slider .bg-img a { display: block; width: 100%; height: 100%; }

/* T34b: match the original site's hero height (765px desktop) — 560 was cropping the posters */
.home-slider .sl-slider-wrapper,
.sl-slider-wrapper { height: 765px !important; max-height: 92vh; }
.sl-slider, .sl-slides-wrapper, .sl-slide, .sl-slide-inner, .sl-content-wrapper, .sl-slices { height: 765px !important; max-height: 92vh; }
.home .home-box, .home-box { margin-top: 765px; }
@media (max-width: 900px) {
  .home-slider .sl-slider-wrapper, .sl-slider-wrapper,
  .sl-slider, .sl-slides-wrapper, .sl-slide, .sl-slide-inner { height: 500px !important; }
  .home .home-box, .home-box { margin-top: 500px; }
}
.home .home-box, .home-box { margin-top: min(765px, 92vh) !important; }
@media (max-width: 900px) {
  .home .home-box, .home-box { margin-top: 500px !important; }
}

/* T36: original slitslider behavior — the vanilla port manages slide visibility */
.home-slider .sl-slide ~ .sl-slide { display: none; }
.home-slider .sl-slide { opacity: 1 !important; transition: none; }
.home-slider .bg-img, .bg-img { background-size: cover !important; background-color: transparent; }

/* T36b: match original hero framing exactly — live site uses 50% 50% */
.home-slider .bg-img, .bg-img { background-position: center center !important; }

/* ================= T37: homepage restored to original layout ================= */
/* Hero: in normal flow BELOW the header (no longer absolute, sliding under the
   white header bar), constrained to the 1200px stage like wide articles. */
.home-slider .sl-slider-wrapper { position: relative !important; }
.home-slider { max-width: min(1200px, 100%); margin: 0 auto; }
.home .home-box, .home-box { margin-top: 0 !important; padding-top: 3rem; }
/* Magazine grid: theme rules own widths/floats again. Overlay titles: white on
   image with shadow (readability), Poppins like the rest of the site. */
.blog-post-image > h3 a, .port-image h3 a { color: #fff !important; }
.blog-post-image > h3 a, .port-image h3 a {
  text-shadow: 0 1px 10px oklch(15% 0.01 60 / 0.65), 0 0 2px oklch(15% 0.01 60 / 0.8);
}
.blog-post-box { background: var(--color-ink); }
@media (max-width: 900px) {
  .home .home-box, .home-box { margin-top: 0 !important; }
}
/* white header owns the top — hero starts below it, no tuck-under */
.home-slider { margin-top: 0 !important; }
.home-slider { position: relative !important; }

/* ================= T38: homepage-only — all-white canvas ================= */
body.hof-home { background: #fff !important; }
body.hof-home .home-box, body.hof-home .home-featured { background: #fff !important; }
body.hof-home footer, body.hof-home #foot, body.hof-home .main-foot,
body.hof-home .bottom-foot { background: #fff !important; }
body.hof-home .home-box { padding-top: 2.6rem; }

/* ================= T39: homepage tiles — dark scrim behind overlay titles ================= */
.hof-home .port-image > a, .hof-home .blog-post-image > a { position: relative; filter: brightness(0.94); }
.hof-home .port-image > a::after, .hof-home .blog-post-image > a::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    oklch(14% 0.01 60 / 0.78) 0%,
    oklch(14% 0.01 60 / 0.38) 38%,
    oklch(14% 0.01 60 / 0) 68%);
}

/* T39b: overlay titles — consistent 3-line zone, text bottom-anchored, max 3 lines */
.hof-home .port-image h3, .hof-home .blog-post-image > h3 {
  height: 3.6em; display: flex; align-items: flex-end; justify-content: center;
}
.hof-home .port-image h3 a, .hof-home .blog-post-image > h3 a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; line-height: 1.2;
}

/* ================= T40: featured cards (below hero) — images back + full-card click ================= */
.hof-home .featured-box { position: relative; }
.hof-home .port-image { height: 260px; overflow: hidden; }
.hof-home .port-image > a { height: 260px !important; }
.hof-card-hit { position: absolute; inset: 0; z-index: 6; }
/* excerpts: consistent 3-line block */
.hof-home .port-body p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; min-height: 4.5em; line-height: 1.5;
}
.hof-home .port-image > a { display: block !important; }

/* ================= T42: research papers — editorial bibliography ================= */
.hof-paper { margin: 2.6rem auto 0; }
.hof-paper-title {
  font-size: 1.35rem !important; font-weight: 600; line-height: 1.35;
  color: var(--color-ink); margin: 0 0 0.35em !important; border: none !important;
}
.hof-paper-author {
  font-size: 0.88rem !important; color: var(--color-ink-2);
  text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 1.1em !important;
}
.hof-paper-abstract { font-size: 1.125rem !important; line-height: 1.8; }
.hof-paper-link { margin: 1.1em 0 0 !important; }
.hof-paper-link a {
  font-weight: 500; color: var(--color-accent-ink, var(--color-ink));
  text-decoration: underline; text-underline-offset: 3px;
}
.hof-paper-link a:hover { text-decoration-thickness: 2px; }
.hof-paper-rights { margin-top: 3rem; font-size: 0.9rem !important; letter-spacing: 0.14em; }

/* T42b: paper titles are links */
.hof-paper-title a { color: var(--color-ink); text-decoration: none; }
.hof-paper-title a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 4px; }

/* T42c: copyrights callout — visible, quiet paper-2 panel */
.hof-rights {
  background: var(--color-paper-2); border-radius: 10px;
  padding: 1.6rem 1.8rem 1.4rem; margin: 3rem auto 0;
}
.hof-rights p { font-size: 1.06rem !important; line-height: 1.7; margin: 0.6em 0 0 !important; }

/* ================= T43: members — team cards ================= */
.hof-team { margin: 2.8rem auto 0; max-width: 1024px; }
.hof-team-name {
  font-size: 0.95rem !important; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--color-ink); margin: 0 0 1.1rem !important;
  border: none !important;
}
.hof-team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 1.1rem;
}
.hof-member {
  background: #fff; border-radius: 10px; padding: 1.5rem 1.2rem 1.3rem;
  text-align: center;
}
.hof-member-photo {
  width: 88px; height: 88px; margin: 0 auto 0.9rem; border-radius: 50%;
  overflow: hidden; background: var(--color-paper-2);
}
.hof-member-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hof-member-name { font-size: 1.02rem !important; font-weight: 600; margin: 0 0 0.3em !important; color: var(--color-ink); }
.hof-member-role {
  font-size: 0.88rem !important; line-height: 1.5; color: var(--color-ink-2);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; margin: 0 !important;
}
@media (max-width: 640px) { .hof-team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.hof-member-photo.hof-initials {
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1.35rem; color: var(--color-ink-2);
  background: var(--color-paper-2);
}

/* ================= T44: thin pages — no forced dead space =================
   Theme .post_content{min-height:600px} left ~380px of emptiness on short
   pages (contact, calendar, search, short posts) between content and footer. */
.post_content { min-height: 0 !important; }

/* ================= T46: funding page — Future Funder donate section =================
   Highlight of the Carleton Future Funder campaign (EN+FR). Micro-label in
   accent red (marker use), link stays text-only per system rules. */
.hof-donate { margin: 0 auto 2.5em; }
.hof-donate-label {
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-accent) !important;
  margin: 0 0 0.4em;
}
.hof-donate h2 {
  font-size: 1.6rem; font-weight: 600; color: var(--color-ink);
  margin: 0 0 0.5em; text-align: center;
}
.hof-donate p { font-size: 18px; line-height: 1.8; margin: 0 0 0.8em; text-transform: none; }
.hof-donate-link { font-weight: 500; text-decoration: underline; }

/* ================= T47: hero slider prev/next arrows =================
   Owner request Nov-18-26. Text-only chevrons over the hero photos,
   same white + shadow treatment as slide captions; no boxes/borders. */
.sl-slider-wrapper { position: relative; }
.hof-sl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  background: none; border: none; padding: 20px 14px; cursor: pointer;
  color: #fff; opacity: 0.85;
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(2.2rem, 3vw, 3rem); line-height: 1;
  text-shadow: 0 1px 12px oklch(15% 0.01 60 / 0.55);
}
.hof-sl-arrow:hover { opacity: 1; color: #fff; }
.hof-sl-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -4px; opacity: 1; }
.hof-sl-arrow.prev { left: 10px; }
.hof-sl-arrow.next { right: 10px; }

/* ================= T48: hero FF slide sub-caption + match note =================
   Owner Nov-18-26: highlight the Carleton match (until Dec 1) on the FF slide
   and funding page. White sub-line under the slide h2, same shadow treatment. */
.sl-desc p {
  color: #fff; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 400;
  text-align: center; margin: 0.4em 0 0; line-height: 1.5;
  text-shadow: 0 1px 10px oklch(15% 0.01 60 / 0.6);
}
.hof-donate-match { font-weight: 600; }

/* ================= T49: full-slide click target =================
   Owner report Nov-18-26: hero slides only clickable in a small area — the
   anchor inside .bg-img is an empty inline element. Make it fill the slide. */
.sl-slide .bg-img a {
  display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
}
/* T49b: caption overlay must not swallow clicks — the whole slide is the
   link target (owner: "click anywhere"). */
.sl-desc { pointer-events: none; }

/* ================= T51: hero caption legibility =================
   Owner could not read the sub-line: white text over the collage's bright
   areas (girl's dress). Soft ink plate behind the caption block + stronger
   shadow + slightly larger, medium-weight sub-line. Plate is part of
   .sl-desc (pointer-events:none) so full-slide click behavior is intact. */
.sl-desc { position: relative; }
.sl-desc::before {
  content: ""; position: absolute; inset: -26px -56px; z-index: -1;
  background: oklch(16% 0.01 60 / 0.5); border-radius: 14px;
}
.sl-desc h2 { text-shadow: 0 2px 6px oklch(10% 0.01 60 / 0.85), 0 0 20px oklch(10% 0.01 60 / 0.6); }
.sl-desc p {
  font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  text-shadow: 0 2px 6px oklch(10% 0.01 60 / 0.9), 0 0 16px oklch(10% 0.01 60 / 0.65);
}

/* ================= T60: sticky footer — pin #foot to viewport bottom on
   short-content pages (e.g. contact). Flex column on body; footer gets
   margin-top:auto so it rides at 100vh when content is shorter. ================= */
html { min-height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > footer, body > #foot { margin-top: auto; }
