/* ============================================================
   Cartliz — public stylesheet
   Look modelled on a bold beauty-store layout: cream page,
   burgundy + raspberry palette, dark-brown bar and footer, bold
   lowercase geometric headings, flat borderless cards, outlined
   chips and buttons, giant footer wordmark.
   --pink (primary) / --orange (secondary) / --bg are injected
   per-page by the CMS; everything else derives from them.
   ============================================================ */

:root {
  /* brand (overridden inline by the CMS) */
  --pink: #6a0610;                 /* primary: burgundy */
  --orange: #db3355;               /* secondary: raspberry */
  --bg: #fffaed;                   /* cream */
  --grad: linear-gradient(135deg, var(--pink), var(--orange));
  --accent: var(--orange);

  /* neutrals, warm */
  --ink: #311d1f;
  --ink-2: #4d3437;
  --muted: #946b6f;
  --line: #e8dcd4;
  --line-soft: #f2e9e1;
  --card: #fff;
  --dark: #311d1f;
  --dark-2: #45292c;
  --band-1: #fff2c9;               /* pale yellow band */
  --band-2: #f9dddc;               /* blush band */
  --tint: color-mix(in srgb, var(--pink) 7%, transparent);

  /* type */
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Outfit, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-xs: .78rem;
  --f-sm: .88rem;
  --f-base: clamp(.97rem, .93rem + .15vw, 1.04rem);
  --f-lg: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --f-h3: clamp(1.3rem, 1.15rem + .6vw, 1.7rem);
  --f-h2: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  --f-h1: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem);

  /* space */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-pill: 999px;
  --sh-1: none;
  --sh-2: 0 10px 30px rgba(49,29,31,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
  --wrap: 1280px;
  --sidebar-w: 330px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--f-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; color: var(--pink); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.sr, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--card); color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--sh-2);
}
.cms-hidden { display: none !important; }

/* ---------- shared small buttons (template's "Shop All ->" style) ---------- */
.btn-line, .post-card .more, .share-row a, .share-row button, .browse-list a,
.pagination a, .pagination .current, .social-row a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--pink); background: transparent; color: var(--pink);
  font-family: var(--font-body); font-size: var(--f-xs); font-weight: 500; line-height: 1.2;
  cursor: pointer; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.post-card .more:hover, .share-row a:hover, .share-row button:hover, .browse-list a:hover,
.pagination a:hover, .social-row a:hover { background: var(--pink); color: var(--bg); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: var(--s7) var(--s7);
  align-items: start;
  padding: var(--s7) 0 var(--s8);
}

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s5);
}
.section-head .section-title { margin-bottom: 0; }
.section-note { font-size: var(--f-xs); color: var(--muted); white-space: nowrap; }

/* bold, lowercase section headings like "1, 2, 3, glow" */
.section-title {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--f-h3); line-height: 1.15; letter-spacing: -.02em;
  text-transform: lowercase; color: var(--pink); margin: 0 0 var(--s5);
}

/* ---------- announcement bar ---------- */
.topbar { background: var(--dark); color: var(--bg); }
.topbar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: var(--s4); min-height: 40px;
  font-size: var(--f-xs); letter-spacing: .06em; text-transform: uppercase;
}
.topbar-tagline { grid-column: 2; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-social { grid-column: 3; justify-self: end; display: flex; gap: var(--s4); }
.topbar-social a { opacity: .85; transition: opacity .16s var(--ease); }
.topbar-social a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header: logo left, menu centred, search right ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 86px; }
.logo img { height: 44px; width: auto; object-fit: contain; }
.nav-row { display: flex; align-items: center; gap: var(--s5); flex: 1; }
.nav-row nav { margin-inline: auto; }

.menu { display: flex; align-items: center; gap: var(--s2); }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 10px 12px;
  font-size: var(--f-base); font-weight: 500; color: var(--pink);
  transition: color .16s var(--ease);
}
.menu > li > a:hover, .menu > li.current > a { color: var(--orange); }
.menu > li.has-children > a { padding-right: 20px; }
.menu > li.has-children > a::before {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 5px; height: 5px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.sub-menu {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--sh-2); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-4px); transition: all .16s var(--ease);
}
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 4px; font-size: var(--f-sm); color: var(--ink-2); }
.sub-menu a:hover { background: var(--line-soft); color: var(--pink); }

.search-form { display: flex; align-items: center; }
.search-form input {
  width: 170px; padding: 9px 14px; font: inherit; font-size: var(--f-sm);
  border: 1px solid var(--pink); border-right: 0; color: var(--ink);
  border-radius: var(--r-sm) 0 0 var(--r-sm); background: #fff;
  transition: width .2s var(--ease);
}
.search-form input::placeholder { color: var(--muted); }
.search-form input:focus { width: 220px; outline: none; }
.search-form button {
  padding: 10px 16px; border: 1px solid var(--pink); cursor: pointer;
  font-size: var(--f-sm); font-weight: 500; color: var(--bg);
  background: var(--pink); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.search-form button:hover { background: var(--orange); border-color: var(--orange); }
.menu-toggle {
  display: none; width: 42px; height: 42px; padding: 10px;
  background: none; border: 1px solid var(--pink); border-radius: var(--r-sm); cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--pink); border-radius: 2px; }
.menu-toggle span + span { margin-top: 5px; }

/* ---------- banner ---------- */
.banner {
  display: grid; grid-template-columns: minmax(0,1fr) var(--sidebar-w);
  gap: var(--s7); padding-top: var(--s6); align-items: start;
}
.banner-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--band-2); }
.banner-track { position: relative; aspect-ratio: 3 / 2; }
.banner-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease); }
.banner-slide.is-active { opacity: 1; visibility: visible; }
.banner-photo { width: 100%; height: 100%; object-fit: cover; }
.banner-slide .overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: clamp(20px, 3.5vw, 44px);
  background: linear-gradient(to top, rgba(49,29,31,.9) 0%, rgba(49,29,31,.45) 45%, rgba(49,29,31,0) 75%);
  color: var(--bg);
}
.banner-slide h2 {
  color: var(--bg); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.12;
  margin: 10px 0 12px; max-width: 26ch; text-transform: lowercase;
}
.banner-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.banner-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,250,237,.45); cursor: pointer; transition: all .2s var(--ease);
}
.banner-dots button.is-active { width: 26px; border-radius: var(--r-pill); background: var(--bg); }
.banner-nav { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; pointer-events: none; }
.banner-nav button {
  pointer-events: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--bg); color: var(--pink); font-size: 22px; line-height: 1;
  opacity: 0; transition: opacity .2s var(--ease);
}
.banner-slider:hover .banner-nav button, .banner-nav button:focus-visible { opacity: 1; }

/* small outlined chips, like the template's variant tags */
.cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cats a, .cats span {
  display: inline-block; padding: 3px 9px; border-radius: 4px;
  border: 1px solid currentColor; color: var(--pink);
  font-size: var(--f-xs); font-weight: 500; line-height: 1.4;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.overlay .cats a, .overlay .cats span { color: var(--bg); }
.cats a:hover { background: var(--pink); color: var(--bg); }
.meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: var(--f-xs); color: var(--muted); }
.meta li { position: relative; }
.meta li + li::before {
  content: ""; position: absolute; left: -9px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6;
}
.overlay .meta { color: rgba(255,250,237,.85); }

/* ---------- featured column: flat numbered rows ---------- */
.featured-col { display: flex; flex-direction: column; }
.featured-list { display: flex; flex-direction: column; gap: 0; }
.featured-item, .sidebar-item {
  display: grid; grid-template-columns: 90px 1fr; gap: var(--s3);
  align-items: center; padding: 12px 0; background: transparent;
  border-top: 1px solid var(--line);
}
.featured-item:first-child, .sidebar-item:first-child { border-top: 0; padding-top: 0; }
.featured-item { grid-template-columns: 28px 84px 1fr; }
.featured-item .num { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--orange); line-height: 1; }
.featured-item img, .sidebar-item img { width: 90px; height: 60px; object-fit: cover; border-radius: var(--r-sm); background: var(--band-2); }
.featured-item img { width: 84px; height: 56px; }
.featured-item .txt, .sidebar-item .txt { min-width: 0; }
.featured-item h3, .sidebar-item h3 {
  font-family: var(--font-body); font-weight: 600; font-size: var(--f-sm); line-height: 1.4; margin-bottom: 4px; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .16s var(--ease);
}
.featured-item:hover h3, .sidebar-item:hover h3 { color: var(--orange); }
.featured-col .featured-list { flex: 1; }

/* ---------- post cards: flat, image + text, no box ---------- */
.latest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s6) var(--s5); }
.post-card { display: flex; flex-direction: column; background: transparent; }
.post-card .thumb { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--band-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.03); }
.read-badge {
  position: absolute; left: 10px; bottom: 10px;
  padding: 4px 9px; border-radius: 4px;
  background: var(--bg); color: var(--pink); font-size: var(--f-xs); font-weight: 500;
}
.post-card .txt { padding: var(--s4) 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h2 {
  font-size: var(--f-lg); line-height: 1.3; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .16s var(--ease);
}
.post-card:hover h2 { color: var(--orange); }
.post-card p {
  margin: 0; font-size: var(--f-sm); color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .more { margin-top: auto; align-self: flex-start; }

/* lead story runs wide on a blush band */
.post-card--lead {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s6);
  background: var(--band-2); border-radius: var(--r-lg); padding: var(--s4);
}
.post-card--lead .thumb { aspect-ratio: 3 / 2; min-height: 0; height: auto; }
.post-card--lead .thumb img { position: absolute; inset: 0; }
.post-card--lead .txt { padding: var(--s4) var(--s4) var(--s4) 0; justify-content: center; gap: 12px; }
.post-card--lead h2 { font-size: var(--f-h2); -webkit-line-clamp: 3; }
.post-card--lead p { font-size: var(--f-base); -webkit-line-clamp: 4; }

/* ---------- article ---------- */
.read-progress { position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 0; background: var(--orange); transition: width .1s linear; }
.article { background: transparent; }
.article-head { padding: 0 0 var(--s5); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--f-xs); color: var(--muted); margin-bottom: var(--s4); text-transform: uppercase; letter-spacing: .06em; }
.breadcrumb a:hover { color: var(--orange); }
.article-head h1 { font-size: var(--f-h1); line-height: 1.08; letter-spacing: -.02em; margin: 6px 0 16px; max-width: 24ch; }
.article-lede { font-size: var(--f-lg); color: var(--ink-2); max-width: 62ch; margin: 0 0 18px; }
.article-hero { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--band-2); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: var(--s6) 0 0; }
.prose { font-size: var(--f-lg); line-height: 1.8; color: var(--ink-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose h2 { font-size: var(--f-h2); }
.prose h3 { font-size: var(--f-h3); }
.prose img { border-radius: var(--r); margin-block: 1.4em; }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
  margin: 1.6em 0; padding: 20px 24px; border-radius: var(--r);
  background: var(--band-1); color: var(--pink); font-family: var(--font-display); font-weight: 600; font-size: 1.15em; line-height: 1.4;
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--f-sm); display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.share-label { font-size: var(--f-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }

.related-wrap { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s5) var(--s4); }
.related .post-card img { aspect-ratio: 3/2; width: 100%; object-fit: cover; border-radius: var(--r); background: var(--band-2); }
.related .post-card .txt { padding: var(--s3) 0 0; gap: 6px; }
.related .post-card h2 { font-size: var(--f-base); -webkit-line-clamp: 3; }

/* ---------- sidebar: soft bands instead of boxes ---------- */
.site-sidebar { display: flex; flex-direction: column; gap: var(--s5); position: sticky; top: 104px; }
.sidebar-block { background: var(--band-1); border-radius: var(--r-lg); padding: var(--s5); }
.sidebar-block:nth-child(even) { background: var(--band-2); }
.sidebar-block .section-title { margin-bottom: var(--s4); font-size: 1.25rem; }
.sidebar-block .sidebar-item { border-top-color: rgba(49,29,31,.12); grid-template-columns: 78px 1fr; }
.sidebar-block .sidebar-item img { width: 78px; height: 52px; }
.browse-list { display: flex; flex-wrap: wrap; gap: 8px; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.partner { display: block; padding: var(--s3); border-radius: var(--r); background: #fff; }
.partner img { margin-inline: auto; max-height: 80px; width: auto; object-fit: contain; }

/* ---------- pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s7); }
.pagination a, .pagination .current { min-width: 38px; justify-content: center; padding: 8px 12px; }
.pagination .current { background: var(--pink); color: var(--bg); }
.pagination .pg-arrow { padding-inline: 14px; }

/* ---------- footer: dark brown, cream text, giant wordmark ---------- */
.site-footer { background: var(--dark); color: var(--bg); margin-top: var(--s8); padding-top: var(--s7); overflow: hidden; }
.site-footer .section-title { color: var(--bg); font-size: 1.1rem; }
.site-footer a { color: var(--bg); }

.footer-brand {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s5);
  padding-bottom: var(--s6); margin-bottom: var(--s6);
  border-bottom: 1px solid rgba(255,250,237,.14);
}
.footer-brand .logo { background: var(--bg); padding: 8px 14px; border-radius: var(--r-sm); }
.footer-brand .logo img { height: 34px; }
.footer-tagline { flex: 1 1 240px; margin: 0; color: rgba(255,250,237,.7); font-size: var(--f-sm); text-transform: lowercase; }
.site-footer .social-row a { border-color: rgba(255,250,237,.5); color: var(--bg); }
.site-footer .social-row a:hover { background: var(--bg); color: var(--dark); border-color: var(--bg); }

.top-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s6); padding-bottom: var(--s6); }
.footer-widget { display: flex; flex-direction: column; gap: var(--s6); min-width: 0; }
.footer-links li + li { border-top: 1px solid rgba(255,250,237,.1); }
.footer-links a { display: block; padding: 8px 0; font-size: var(--f-sm); line-height: 1.45; transition: color .16s var(--ease); }
.footer-links a:hover { color: var(--orange); }
.site-footer .sidebar-item { border-top-color: rgba(255,250,237,.1); grid-template-columns: 75px 1fr; }
.site-footer .sidebar-item img { width: 75px; height: 50px; background: var(--dark-2); }
.site-footer .sidebar-item h3 { color: var(--bg); -webkit-line-clamp: 2; }
.site-footer .sidebar-item:hover h3 { color: var(--orange); }
.site-footer .meta { color: rgba(255,250,237,.55); }

/* footer lists show ~3 rows, the rest scrolls - tagging a 4th article
   lengthens the list instead of pushing one off the end */
.site-footer .featured-list,
.site-footer .footer-links {
  max-height: 228px; overflow-y: auto; overscroll-behavior: contain; padding-right: 8px;
  scrollbar-width: thin; scrollbar-color: rgba(255,250,237,.25) transparent;
}
.site-footer .featured-list::-webkit-scrollbar, .site-footer .footer-links::-webkit-scrollbar { width: 5px; }
.site-footer .featured-list::-webkit-scrollbar-track, .site-footer .footer-links::-webkit-scrollbar-track { background: rgba(255,250,237,.06); border-radius: 3px; }
.site-footer .featured-list::-webkit-scrollbar-thumb, .site-footer .footer-links::-webkit-scrollbar-thumb { background: rgba(255,250,237,.22); border-radius: 3px; }

.miss-blogs { padding: var(--s6) 0; border-top: 1px solid rgba(255,250,237,.14); }
.site-footer .section-note { color: rgba(255,250,237,.55); }
.miss-row {
  display: flex; gap: var(--s4); overflow-x: auto; padding-bottom: 10px;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255,250,237,.25) transparent;
}
.miss-row::-webkit-scrollbar { height: 6px; }
.miss-row::-webkit-scrollbar-track { background: rgba(255,250,237,.06); border-radius: 3px; }
.miss-row::-webkit-scrollbar-thumb { background: rgba(255,250,237,.24); border-radius: 3px; }
.miss-card { flex: 0 0 200px; scroll-snap-align: start; }
.miss-thumb { display: block; aspect-ratio: 3/2; border-radius: var(--r-sm); background: var(--dark-2) center/cover no-repeat; margin-bottom: 10px; }
.miss-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: var(--f-sm); font-weight: 500; line-height: 1.4; color: var(--bg);
}
.miss-card:hover .miss-title { color: var(--orange); }

.footer-wordmark {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.05em;
  font-size: clamp(4.5rem, 19vw, 17rem); line-height: .82; color: var(--orange);
  text-transform: lowercase; text-align: center; padding-top: var(--s6);
  white-space: nowrap; overflow: hidden; user-select: none;
}

.copy {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s4) 0 var(--s5); font-size: var(--f-xs); color: rgba(255,250,237,.6);
}
.to-top { color: var(--bg); transition: color .16s var(--ease); }
.to-top:hover { color: var(--orange); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .content-grid, .banner { grid-template-columns: minmax(0, 1fr); }
  .site-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s5); }
  .banner-track { aspect-ratio: 3 / 2; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; order: 2; margin-left: auto; }
  .nav-row { gap: var(--s3); }
  .nav-row nav { margin: 0; }
  .menu {
    display: none; position: absolute; right: 20px; top: 90px;
    flex-direction: column; align-items: stretch; gap: 2px;
    width: min(320px, calc(100vw - 40px)); padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2);
  }
  .nav-open .menu { display: flex; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .search-form input { width: 140px; }
  .search-form input:focus { width: 160px; }
  .post-card--lead { grid-template-columns: 1fr; gap: var(--s4); }
  .post-card--lead .thumb { aspect-ratio: 3 / 2; min-height: 0; height: auto; }
  .post-card--lead .thumb img { position: static; }
  .post-card--lead .txt { padding: 0 var(--s2) var(--s2); }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .topbar-inner { grid-template-columns: 1fr; }
  .topbar-social { display: none; }
  .content-grid { padding: var(--s5) 0 var(--s6); gap: var(--s6); }
  .latest-grid { grid-template-columns: 1fr; }
  .banner-track { aspect-ratio: 3 / 2; }
  .banner-nav { display: none; }
  .search-form { display: none; }
  .site-sidebar { grid-template-columns: 1fr; }
  .miss-card { flex-basis: 150px; }
  .logo img { height: 36px; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
}

@media print {
  .topbar, .site-header, .site-footer, .site-sidebar, .pagination, .related-wrap, .banner, .share-row, .read-progress { display: none !important; }
  body { background: #fff; }
}

/* ---------- featured column: 4 at a time, rest on scroll ---------- */
.featured-col .featured-list {
  max-height: 420px;              /* ~4 rows; JS sets the exact height */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 4px;
  flex: 0 1 auto;
}
.featured-col .featured-list::-webkit-scrollbar { width: 6px; }
.featured-col .featured-list::-webkit-scrollbar-thumb { background: rgba(49,29,31,.2); border-radius: 999px; }
.featured-col .featured-list::-webkit-scrollbar-track { background: transparent; }

/* ---------- search results page ---------- */
.search-page-form { margin: 0 0 18px; }
.search-page-form input { width: 100%; max-width: 420px; }
.search-page-form input:focus { width: 100%; max-width: 420px; }
.search-status { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }

/* ============================================================
   Banded page structure (modelled on the reference template)
   Full-bleed hero, colour bands between sections, horizontal
   featured row. All content still comes from the same CMS
   placements - only the arrangement changes.
   ============================================================ */

/* ---------- full-bleed colour bands ---------- */
.band { width: 100%; padding: var(--s7) 0; }
.band--sun { background: var(--band-1); }
.band--blush { background: var(--band-2); }
.band .section-title { color: var(--pink); }

/* ---------- hero: edge to edge ---------- */
.hero { width: 100%; padding-top: var(--s5); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--s6);
  align-items: start;
}
.hero .banner-slider { width: 100%; margin: 0; border-radius: var(--r-lg); }

/* info panel that fills the space beside the banner */
.hero-info {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  /* 0.9375 = 1 / (1.6 x 2/3): makes this column exactly as tall as the
     3:2 banner beside it, so neither leaves a gap */
  aspect-ratio: 0.9375;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s5);
}
.hero-info > *:not(.hero-list) { flex-shrink: 0; }
.hero-eyebrow {
  font-size: var(--f-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero-tagline {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, .85rem + .9vw, 1.65rem); line-height: 1.15;
  letter-spacing: -.01em; text-transform: lowercase; color: var(--pink);
  margin: 8px 0 var(--s5);
}
.hero-info .section-title { font-size: var(--f-sm); margin-bottom: var(--s2); }
.hero-list { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; overflow: hidden; }
.hero-list li + li { border-top: 1px solid var(--line-soft); }
.hero-list a { display: block; padding: 11px 0; }
.hero-list .t {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 600; font-size: var(--f-sm); line-height: 1.4; color: var(--ink);
  transition: color .16s var(--ease);
}
.hero-list .d { display: block; margin-top: 4px; font-size: var(--f-xs); color: var(--muted); }
.hero-list a:hover .t { color: var(--orange); }
.hero-more {
  margin-top: var(--s4); align-self: flex-start;
  padding: 8px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--pink); color: var(--pink);
  font-size: var(--f-xs); font-weight: 500;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.hero-more:hover { background: var(--pink); color: var(--bg); }
.hero .banner-track {
  aspect-ratio: 3 / 2;      /* same shape as the article images: no cropping */
  height: auto;
  min-height: 0;
}
.hero .banner-photo { object-position: center; }
.hero .banner-slide .overlay {
  padding: clamp(18px, 3vw, 34px);
  background: linear-gradient(to top, rgba(49,29,31,.92) 0%, rgba(49,29,31,.5) 48%, rgba(49,29,31,0) 82%);
}
.hero .banner-slide .overlay > div { width: 100%; }
.hero .banner-slide h2 {
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.3rem);
  line-height: 1.1; max-width: 24ch; margin: 8px 0 10px;
}
.hero-cta {
  display: inline-block; margin-top: 12px;
  padding: 9px 18px; border-radius: var(--r-sm);
  background: var(--pink); color: var(--bg);
  font-size: var(--f-sm); font-weight: 500;
  transition: background .16s var(--ease);
}
.banner-slide:hover .hero-cta { background: var(--orange); }
.hero .banner-dots { bottom: 12px; }
.hero .banner-nav { padding: 0 clamp(12px, 3vw, 32px); }

/* ---------- featured band: numbered cards in a row ---------- */
.featured-band .section-head { margin-bottom: var(--s5); }
.band .featured-col { display: block; }
.band .featured-col .featured-list {
  --shown: 4;                /* cards visible at once; the rest scroll */
  display: flex;
  flex-direction: row;
  gap: var(--s5);
  max-height: none;          /* height is never capped; JS skips this list */
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 12px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(49,29,31,.3) transparent;
}
.band .featured-col .featured-list::-webkit-scrollbar { height: 6px; }
.band .featured-col .featured-list::-webkit-scrollbar-track { background: rgba(49,29,31,.08); border-radius: 3px; }
.band .featured-col .featured-list::-webkit-scrollbar-thumb { background: rgba(49,29,31,.24); border-radius: 3px; }
.band .featured-col .featured-list:hover::-webkit-scrollbar-thumb { background: rgba(49,29,31,.4); }
.band .featured-item {
  position: relative; display: block;
  flex: 0 0 calc((100% - (var(--shown) - 1) * var(--s5)) / var(--shown));
  scroll-snap-align: start;
  padding: 0; border-top: 0; background: transparent;
}
.band .featured-item img {
  width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; border-radius: var(--r); background: var(--card);
}
.band .featured-item .num {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 3px 9px; border-radius: 4px;
  background: var(--bg); color: var(--pink); font-size: var(--f-xs);
}
.band .featured-item .txt { padding-top: var(--s3); }
.band .featured-item h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--f-base); line-height: 1.25; color: var(--pink);
  -webkit-line-clamp: 2;
}
.band .featured-item:hover h3 { color: var(--orange); }
.band .featured-item .meta { color: var(--muted); }

/* ---------- tagline band above the footer ---------- */
.tagline-band { text-align: center; }
.tagline-quote {
  margin: 0 auto var(--s5);
  max-width: 22ch;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 1.1rem + 3.4vw, 4rem);
  line-height: 1.05; letter-spacing: -.02em;
  text-transform: lowercase; color: var(--pink);
}
@supports (-webkit-text-stroke: 1px currentColor) {
  .tagline-quote { -webkit-text-stroke: 1.6px var(--pink); color: transparent; }
}
.tagline-band .browse-list { justify-content: center; }

@media (max-width: 1080px) {
  .band .featured-col .featured-list { --shown: 3; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-info { aspect-ratio: auto; overflow: visible; }
  .hero-list { overflow: visible; }
}
@media (max-width: 640px) {
  .band { padding: var(--s6) 0; }
  .hero { padding-top: var(--s4); }
  .band .featured-col .featured-list { --shown: 2; gap: var(--s4); }
}
@media print { .hero, .band { display: none !important; } }

/* ---------- article comments ---------- */
.comments { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.comments-note { font-size: var(--f-sm); color: var(--muted); margin: 0 0 var(--s5); }
.comments-note i, .comment-form i { font-style: normal; color: var(--orange); }

.comment-form { display: flex; flex-direction: column; gap: var(--s4); max-width: 760px; }
.comment-form .field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.comment-form .field > span { font-size: var(--f-sm); font-weight: 500; color: var(--ink); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 11px 14px; font: inherit; font-size: var(--f-sm);
  color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .16s var(--ease);
}
.comment-form textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--pink); }
.comment-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }

.comment-form .field-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--f-sm); color: var(--ink-2); cursor: pointer;
}
.comment-form .field-check input { margin-top: 3px; accent-color: var(--pink); }

/* spam trap: hidden from people, tempting to bots */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.comment-submit {
  align-self: flex-start; padding: 11px 22px; cursor: pointer;
  border: 1px solid var(--pink); border-radius: var(--r-sm);
  background: var(--pink); color: var(--bg);
  font-size: var(--f-sm); font-weight: 500;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.comment-submit:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); }
.comment-submit:disabled { opacity: .55; cursor: default; }

.comment-status { margin: 0; font-size: var(--f-sm); min-height: 1.4em; }
.comment-status.is-ok { color: #1f7a4d; }
.comment-status.is-err { color: #b3261e; }

@media (max-width: 640px) {
  .comment-form .field-row { grid-template-columns: 1fr; }
}
