*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.75;color:#333;background:#f0f2f5}
.Container_wrapper__f71xA{max-width:860px;margin:0 auto;padding:0 20px}
.Banner_head__M3ejf{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.Banner_head__M3ejf h1{font-size:22px;font-weight:700;margin-bottom:2px}
.Banner_head__M3ejf p{font-size:14px;color:#666}
.Banner_head__M3ejf a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.Main_wrap__pNZGY{display:flex;flex-direction:column;gap:20px}
.Post_main__EkC4M{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.Post_main__EkC4M:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.Post_main__EkC4M h2{font-size:19px;margin-bottom:6px}
.Post_main__EkC4M h2 a{color:#1a1a1a;text-decoration:none}
.Post_main__EkC4M .Nav_head__M8L20{font-size:12px;color:#999;margin-bottom:8px}
.Post_main__EkC4M p{font-size:14px;color:#555;margin-bottom:12px}
.Container_main__pvkWF{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.Container_main__pvkWF:hover{background:#4752c4}
.Wrapper_main__2KkJY{padding-bottom:60px}
.Wrapper_main__2KkJY h1{font-size:30px;font-weight:700;margin-bottom:8px}
.Wrapper_main__2KkJY time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.Wrapper_main__2KkJY h2{font-size:22px;margin:32px 0 12px}
.Wrapper_main__2KkJY h3{font-size:18px;margin:24px 0 8px}
.Wrapper_main__2KkJY p{margin-bottom:16px}
.Wrapper_main__2KkJY ul,.Wrapper_main__2KkJY ol{margin:0 0 16px 24px}
.Wrapper_main__2KkJY a{color:#5865f2}
.Wrapper_main__2KkJY img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.Header_foot__DrHDH{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.Header_foot__DrHDH a{color:#999;text-decoration:none}
.Post_title__hthVu{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.Footer_title__xxlaw{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.Section_wrapper__TOEoe{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.Post_text__RsGr9{text-align:center;margin:0 0 24px}
.Section_title__Yr18l{max-width:100%;height:auto;border-radius:12px}
.Main_root__m5rhh{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.Main_root__m5rhh h3{font-size:16px;font-weight:700;margin-bottom:12px}
.crd-related-list{display:flex;flex-direction:column;gap:8px}
.crd-related-link{display:block;background:#fff;border-radius:8px;padding:10px 14px;color:#333;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.06);font-size:14px}
.crd-related-link:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
.Grid_section__gZOyL{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.Post_section__VpB7x{display:block;background:#fff;border-radius:8px;padding:10px 16px;color:#1a1a1a;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.05);font-size:15px}
.Post_section__VpB7x:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#5C2E3A;--accent:#A07235;--bg:#EBE0C8;--fg:#1F1418;--border:#C8B898;--r:11px;--fb:'Hind';--fh:'Fraunces';--moment:#6B4A2E}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500;1,9..144,600&family=Hind:wght@400;500;600;700&display=swap');

:root body {
  font-family: var(--fb), system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.74;
  font-size: 17px;
}
::selection { background: var(--primary); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

:root header {
  background: transparent;
  border-bottom: 2px solid var(--primary);
  padding: 48px 0 28px;
  margin-bottom: 40px;
}
:root header h1,
:root header span a {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}
:root header h1 { font-size: 30px; line-height: 1.18; }
:root header span a { font-size: 1.8rem; }
:root header p {
  color: var(--fg);
  opacity: .68;
  font-size: 14px;
  font-style: italic;
  font-family: var(--fh), Cambria, serif;
  margin-top: 6px;
}

:root main { padding-bottom: 80px; }

:root main > h1 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 36px;
  line-height: 1.18;
  color: var(--primary);
  margin: 8px 0 6px;
  font-weight: 700;
}
:root main > time {
  display: block;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
/* S6: persona byline anchor before the date-only meta line */
:root main > time::before {
  content: "By Mark Sullivan · ";
  color: var(--primary);
}

:root main > article > p { margin-bottom: 18px; font-size: 17px; }
:root main > article > h2 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--accent);
}
:root main > article > h3 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 8px;
  font-style: normal;
}
:root main > article ul,
:root main > article ol { margin: 0 0 18px 22px; }
:root main > article li { margin-bottom: 6px; }
:root main > article blockquote {
  border-left: 4px solid var(--accent);
  padding: 8px 0 8px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--primary);
  background: rgba(160, 114, 53, .06);
  font-family: var(--fh), Cambria, serif;
}

:root main > article > p a,
:root main > article > p a:visited {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
}
:root main > article > p a:hover {
  color: var(--accent);
  text-decoration-color: var(--primary);
}

:root main > article > p a[href^="/ref/"],
:root main > article > p a[href^="/try/"],
:root main > article > p a[href^="/check/"] {
  background: var(--accent);
  color: var(--bg);
  padding: 2px 10px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 14.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
:root main > article > p a[href^="/ref/"]:hover,
:root main > article > p a[href^="/try/"]:hover,
:root main > article > p a[href^="/check/"]:hover {
  background: var(--primary);
  color: var(--bg);
}

:root article > div[role="img"] {
  margin: 0 0 28px;
}
:root article > div[role="img"] > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
  box-shadow: 0 3px 14px rgba(31, 20, 24, .14);
  border: 1px solid var(--accent);
}

:root article > section {
  background: rgba(160, 114, 53, .07);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 18px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
}
:root article > section b {
  color: var(--primary);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
  display: inline-block;
  margin-right: 8px;
  font-family: var(--fb), system-ui, sans-serif;
}

:root main > div > div:not(.crd-related-list) {
  background: #F5EDDB;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 26px 34px;
  box-shadow: 0 1px 4px rgba(31, 20, 24, .05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
:root main > div > div:not(.crd-related-list):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(92, 46, 58, .12);
  border-color: var(--primary);
}
:root main > div > div:not(.crd-related-list) > p:first-child {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}
:root main > div > div:not(.crd-related-list) > h2 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.24;
}
:root main > div > div:not(.crd-related-list) > h2 a {
  color: var(--primary);
  text-decoration: none;
}
:root main > div > div:not(.crd-related-list) > h2 a:hover { color: var(--accent); }
:root main > div > div:not(.crd-related-list) > p:not(:first-child) {
  font-size: 14.5px;
  color: var(--fg);
  opacity: .85;
  margin-bottom: 14px;
}
:root main > div > div:not(.crd-related-list) > a:last-child {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  letter-spacing: 0;
  text-transform: none;
}
:root main > div > div:not(.crd-related-list) > a:last-child:hover { color: var(--primary); text-decoration-color: var(--primary); }

:root main > div:has(> .crd-related-list) {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--accent);
}
:root main > div:has(> .crd-related-list) > h3 {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
:root .crd-related-list { display: flex; flex-direction: column; gap: 8px; }
:root .crd-related-link {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  color: var(--fg);
  text-decoration: none;
  font-size: 14.5px;
  font-family: var(--fb), system-ui, sans-serif;
  display: block;
  transition: border-color .15s ease, background .15s ease;
}
:root .crd-related-link:hover {
  border-color: var(--primary);
  background: rgba(92, 46, 58, .04);
}

:root footer {
  background: transparent;
  border-top: 1px solid var(--accent);
  padding: 28px 0 36px;
  margin-top: 60px;
  text-align: center;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  color: var(--fg);
  opacity: .58;
  letter-spacing: .04em;
}
:root footer a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
}
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* === R2 fixes (2026-06-06T15:10:03.592625+00:00) === */

/* Fix 1: Site branding — increase visual presence */
:root .site-title,
:root .site-branding {
  font-family: var(--fh), Cambria, 'Times New Roman', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  padding: 6px 0;
  letter-spacing: -.01em;
  text-decoration: none;
}

/* Fix 2: H2 spacing — clear section landmarks */
.bld-content h2,
.entry-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

/* Fix 3: Body paragraph readability */
.bld-content p,
.entry-content p {
  line-height: 1.75;
  margin-bottom: 1.3em;
}

/* Fix 4: Inline product card — warmer background to match page */
.bld-inline-card,
.inline-card,
[class*='product-card'] {
  background-color: #EDE3CC;
  border: 1px solid #C8B99A;
  border-radius: 6px;
}

/* Fix 5: Homepage article list — clear dividers between posts */
.home .post-excerpt,
.blog .post-excerpt,
.home article {
  border-bottom: 1px solid #D4C4A8;
  padding-bottom: 1.8em;
  padding-top: 1.8em;
}

/* Fix 6: Bold text contrast for scanning */
.bld-content strong,
.entry-content strong {
  color: #3D2B1F;
  font-weight: 700;
}

/* === R3 fixes (2026-06-06T15:50:03.495007+00:00) === */

/* Fix 1: Bold text in article paragraphs — scannable timeline markers */
:root main > article p strong {
  color: #3D2B1F;
  font-weight: 700;
}

/* Fix 2: Affiliate /get/ product links — pill button distinct from article cross-links */
:root main > article p a[href^="/get/"],
:root main > article p a[href^="/get/"]:visited {
  background: var(--accent);
  color: var(--bg);
  padding: 2px 10px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .03em;
  display: inline-block;
}
:root main > article p a[href^="/get/"]:hover {
  background: var(--primary);
  color: var(--bg);
}

/* Fix 3: Hide duplicate ymyl disclaimer rendered before footer disclaimer */
:root article > section.Footer_title__xxlaw {
  display: none;
}

/* === R4 fixes (2026-06-06T16:30:03.362954+00:00) === */

/* Fix 1: H3 font-size 20px — applied inline to base rule above */

/* Fix 2+3: /get/ affiliate pill — plum bg for ~10:1 contrast; 16px so it reads as callout not footnote */
:root main > article p a[href^="/get/"],
:root main > article p a[href^="/get/"]:visited {
  background: var(--primary);
  color: var(--bg);
  font-size: 16px;
}
:root main > article p a[href^="/get/"]:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Fix 4: ymyl-disc class selector — catches both div.Footer_title__xxlaw and section.Footer_title__xxlaw variants */
:root article .Footer_title__xxlaw {
  display: none;
}

/* ============================================================= */
/* v.b5e7b4 — layout revision                                    */
/* Editorial signature pass: photo masthead + monogram, a real  */
/* homepage (hero → editor's picks → journal grid → index tail), */
/* two photo section-breaks, Fraunces italic display voice.      */
/* Homepage scoped via main:not(:has(> article)) so article      */
/* pages (praised by QA) are untouched. moment #6B4A2E ×2.       */
/* ============================================================= */

:root { --moment: #6B4A2E; }

/* ---- MASTHEAD: atmospheric photo + monogram seal + italic wordmark ---- */
:root header {
  background:
    linear-gradient(rgba(40,27,20,.66), rgba(40,27,20,.44)),
    url("/theme-assets/hero-masthead.jpg") center/cover no-repeat;
  border-bottom: 3px solid var(--primary);
  padding: 62px 20px 54px;
  margin-bottom: 56px;
  text-align: center;
}
:root header > div { position: relative; max-width: 760px; margin: 0 auto; }
:root header > div::before {
  content: "";
  display: block;
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%3E%3Ccircle%20cx='32'%20cy='32'%20r='29'%20stroke='%23D9B36B'%20stroke-width='2.2'/%3E%3Cpath%20d='M13%2043%20L25%2027%20L33%2037%20L41%2023%20L51%2043'%20stroke='%23F2E8CF'%20stroke-width='2.4'%20stroke-linejoin='round'%20stroke-linecap='round'/%3E%3Ccircle%20cx='43'%20cy='19'%20r='3.2'%20fill='%23D9B36B'/%3E%3C/svg%3E") center/contain no-repeat;
}
:root header h1,
:root header > div > a {
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
  font-weight: 600;
  color: #F3E9CF;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  text-decoration: none;
}
:root header p {
  color: #ECE0C5;
  opacity: .92;
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  max-width: 50ch;
  margin: 13px auto 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

/* ============ HOMEPAGE (no <article> child) ============ */
:root main:not(:has(> article)) { padding-bottom: 96px; }

/* Card container becomes a 6-col editorial grid; pseudo-items reordered
   to build hero → picks-label → picks → journal-strip → journal. */
:root main:not(:has(> article)) > div:first-child {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px 30px;
  align-items: stretch;
  position: relative;
  margin-top: 4px;
}

/* Default = journal card (2-up) */
:root main:not(:has(> article)) > div:first-child > div {
  grid-column: span 3;
  order: 4;
  background: #F5EDDB;
  border: 1px solid rgba(92,46,58,.14);
  border-radius: 9px;
  padding: 26px 34px;
  box-shadow: 0 1px 4px rgba(31,20,24,.05);
}
/* Clamp journal + pick excerpts to normalise row heights (Rule D) */
:root main:not(:has(> article)) > div:first-child > div:nth-child(n+2) > p:nth-child(3) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.58;
}

/* ---- HERO (first card): the loud voice ---- */
:root main:not(:has(> article)) > div:first-child > div:first-child {
  grid-column: 1 / -1;
  order: 0;
  padding: 46px 52px 42px;
  border: 1px solid rgba(92,46,58,.18);
  box-shadow: 0 3px 16px rgba(31,20,24,.08);
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:first-child {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:first-child::before {
  content: "Latest Essay · ";
  color: var(--primary);
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:first-child::after {
  content: " · By Mark Sullivan";
  color: var(--fg);
  opacity: .55;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > h2 {
  font-family: var(--fh), Cambria, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 18px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > h2 a { color: var(--primary); }
:root main:not(:has(> article)) > div:first-child > div:first-child > p:nth-child(3) {
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  max-width: 64ch;
  color: var(--fg);
  opacity: .92;
  margin-bottom: 24px;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > p:nth-child(3)::first-letter {
  font-family: var(--fh), Cambria, serif;
  font-weight: 900;
  font-size: 62px;
  line-height: .78;
  float: left;
  margin: 6px 14px 0 0;
  color: var(--moment);
}
:root main:not(:has(> article)) > div:first-child > div:first-child > a:last-child {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--moment);
  border-radius: 30px;
  background: transparent;
  color: var(--primary);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
:root main:not(:has(> article)) > div:first-child > div:first-child > a:last-child:hover {
  background: var(--moment);
  color: #F5EDDB;
}

/* ---- EDITOR'S PICKS label (full-width grid item) ---- */
:root main:not(:has(> article)) > div:first-child::before {
  content: "Editor's Picks — Read These First";
  grid-column: 1 / -1;
  order: 1;
  margin-top: 26px;
  padding: 0 2px 12px;
  border-bottom: 1px solid var(--accent);
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
}
/* ---- EDITOR'S PICKS cards (3-up band) ---- */
:root main:not(:has(> article)) > div:first-child > div:nth-child(2),
:root main:not(:has(> article)) > div:first-child > div:nth-child(3),
:root main:not(:has(> article)) > div:first-child > div:nth-child(4) {
  grid-column: span 2;
  order: 2;
}
:root main:not(:has(> article)) > div:first-child > div:nth-child(2) > h2,
:root main:not(:has(> article)) > div:first-child > div:nth-child(3) > h2,
:root main:not(:has(> article)) > div:first-child > div:nth-child(4) > h2 {
  font-size: 20px;
  line-height: 1.22;
}

/* ---- STRIP 1: photo section-break before the journal grid ---- */
:root main:not(:has(> article)) > div:first-child::after {
  content: "THE JOURNAL — MOST RECENT FIRST";
  grid-column: 1 / -1;
  order: 3;
  min-height: 200px;
  margin: 44px 0 6px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    url("/theme-assets/entry-photo.jpg") center 30%/cover;
  color: #F3EAD6;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}

/* ---- COMPACT INDEX TAIL (Grid_section) — full width, boxed-card grid ---- */
:root main:not(:has(> article)) > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  align-items: stretch;
  margin-top: 72px;
  position: relative;
}
/* ---- STRIP 2: photo section-break before the archive index ---- */
:root main:not(:has(> article)) > div:last-child::before {
  content: "OLDER ENTRIES";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 0 0 30px;
  border-radius: 9px;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    url("/theme-assets/entry-photo.jpg") center 70%/cover;
  color: #F3EAD6;
  font-family: var(--fb), system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
:root main:not(:has(> article)) > div:last-child > a {
  display: block;
  background: #F5EDDB;
  border: 1px solid rgba(92,46,58,.14);
  border-radius: 9px;
  padding: 18px 22px;
  box-shadow: 0 1px 4px rgba(31,20,24,.05);
  color: var(--primary);
  text-decoration: none;
  font-family: var(--fh), Cambria, serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.34;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
:root main:not(:has(> article)) > div:last-child > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(92,46,58,.12);
  border-color: var(--primary);
  color: var(--accent);
}

/* ---- Article page: stronger affiliate CTA button ---- */
:root main > article p a[href^="/get/"] {
  padding: 7px 18px;
  border-radius: 6px;
  letter-spacing: .04em;
  box-shadow: 0 1px 4px rgba(92,46,58,.25);
}
:root main > article p a[href^="/get/"]::after { content: " →"; }

/* ---- Responsive: collapse the editorial grid on small screens ---- */
@media (max-width: 760px) {
  :root main:not(:has(> article)) > div:first-child { grid-template-columns: 1fr; }
  :root main:not(:has(> article)) > div:first-child > div,
  :root main:not(:has(> article)) > div:first-child > div:first-child,
  :root main:not(:has(> article)) > div:first-child > div:nth-child(2),
  :root main:not(:has(> article)) > div:first-child > div:nth-child(3),
  :root main:not(:has(> article)) > div:first-child > div:nth-child(4) {
    grid-column: 1 / -1;
  }
  :root main:not(:has(> article)) > div:first-child > div:first-child { padding: 32px 26px; }
  :root main:not(:has(> article)) > div:first-child > div:first-child > h2 { font-size: 34px; }
  :root main:not(:has(> article)) > div:last-child { grid-template-columns: repeat(2, 1fr); }
  :root header h1 { font-size: 34px; }
}
@media (max-width: 460px) {
  :root main:not(:has(> article)) > div:last-child { grid-template-columns: 1fr; }
}


/* related-articles-nav-fix v1 */
:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}


/* mobile-overflow-fix v1 */
:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}


/* mobile-overflow-fix v2 */
@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* Any 3+ col grid inside main → 1 col on mobile */
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  /* Any CSS multi-column layout → 1 col on mobile */
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  /* Article body images stay inside viewport */
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}


/* mobile-padding-fix v1 */
@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Cup-of-Jo-personal overlay=55% grid=asymmetric scale=balanced family=astro-grid */

/* ── HERO STRIPS: site-level atmospheric photos (overlay 55%) ── */
:root main:not(:has(> h1)) > div:has(> div)::before {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    url("/theme-assets/premium-hero-strip-1.webp") center 40% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}
:root main:not(:has(> h1)) > div:has(> div)::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    url("/theme-assets/premium-hero-strip-2.webp") center 45% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}


/* ── CARD 1: featured full-row with 300px photo header (via card-own background, NOT ::before —
    leaves ::before free for existing site's M2 label / meta content). ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      /* anchor for existing site's ::before label if it uses absolute */
  overflow: visible;       /* let above-card labels render without clipping */
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  /* room for above-card M2 label (existing site convention) */
}

/* ── CARDS 2-4: medium with 180px photo header (background technique, ::before untouched) ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── Article page: drop cap + dinkus dividers ── */
:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

/* ── Mobile responsive: adjust photo heights via background-size on the card itself ── */
@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div)::before,
  :root main:not(:has(> h1)) > div:has(> div)::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}


/* premium-upgrade v4 */
/* premium-upgrade v4 — surgical bundle. Applied 2026-08-30.
   Fixes: M10 CTA / M11 dinkus leak / M4 heights / M9 typography / M5 frames.
   Kills v2 "LATEST" label (proven counterproductive from v2 diagnosis). */

/* ── Kill v2 counterproductive homepage label ── */
:root main:not(:has(> h1))::before { content: none !important; }

/* ── M10: affiliate CTA visibility on article body ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
}

/* ── M11: prevent dinkus leaking onto article page's first h2 ── */
:root main:has(> h1) > article > h2:first-of-type::before {
  content: none !important;
}

/* ── M4: force equal-height cards via grid stretch + card fill ── */
:root main:not(:has(> h1)) > div:has(> div) {
  align-items: stretch !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
:root main:not(:has(> h1)) > div > article {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
/* also for flat-divs family */
:root main:not(:has(> h1)) > div {
  height: 100% !important;
}

/* ── M9: cap small-title weight so Bebas/Anton counters don't fill in ── */
:root main:not(:has(> h1)) > div > div > h2,
:root main:not(:has(> h1)) > div > div > h2 a,
:root main:not(:has(> h1)) > section > ul > li > a,
:root main:not(:has(> h1)) > div > p > a {
  font-weight: 500 !important;
}

/* ── M5: universal soft frame fallback for card-like elements ── */
:root main:not(:has(> h1)) > div > div,
:root main:not(:has(> h1)) > div > article,
:root main:not(:has(> h1)) > article {
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05) !important;
}

