*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.css-2e3js7s{max-width:1100px;margin:0 auto;padding:0 24px}
.css-4b2y2p9{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.css-4b2y2p9 h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.css-4b2y2p9 p{font-size:16px;opacity:.8;font-style:italic}
.css-4b2y2p9 .css-cdm9jls{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.css-ajr5bsq{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.css-ifg9qmm{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.css-ifg9qmm:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.css-ifg9qmm h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.css-ifg9qmm h2 a{color:#2c3e50;text-decoration:none}
.css-ifg9qmm .css-89gt3ca{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.css-ifg9qmm p{font-size:15px;color:#555;margin-bottom:14px}
.css-kkcbu5a{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.css-r2aftbq{max-width:780px;margin:0 auto;padding:0 24px 60px}
.css-r2aftbq h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.css-r2aftbq .css-89gt3ca{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.css-r2aftbq h2{font-size:24px;margin:36px 0 14px}
.css-r2aftbq h3{font-size:19px;margin:28px 0 10px}
.css-r2aftbq p{margin-bottom:18px;font-size:17px}
.css-r2aftbq ul,.css-r2aftbq ol{margin:0 0 18px 28px}
.css-r2aftbq a{color:#e74c3c}
.css-r2aftbq img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.css-m4ccw1f{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.css-m4ccw1f a{color:#888}
.css-488ncye{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:14px 0;margin-bottom:28px;font-size:14px;color:#888;font-style:italic;text-align:center}
.css-qhumbrw{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.css-o55adwn{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.css-n0zozcj{margin:0 0 28px}
.css-2uuu5fk{width:100%;height:auto;border-radius:4px}
.css-mn51o5f{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.css-mn51o5f h4{font-size:16px;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;color:#888}
.mag-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mag-related-item a{color:#2c3e50;text-decoration:none;font-size:15px}
.mag-related-item a:hover{color:#e74c3c}
.css-omdxj1v{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.css-omdxj1v p{font-size:15px;padding:4px 0;margin:0}
.css-omdxj1v .css-89gt3ca{margin:0 8px 0 0;display:inline}
.css-omdxj1v a{color:#2c3e50;text-decoration:none}
.css-omdxj1v a:hover{color:#e74c3c}
/* === Theme === */
:root{--primary:#7A4F2E;--accent:#2A4258;--bg:#ECE4D0;--fg:#1F1814;--border:#C5BBA8;--r:32px;--fb:'Roboto Serif';--fh:'Pridi'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Pridi:wght@500;700&family=Roboto+Serif:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root body { font-family: var(--fb), Cambria, 'Times New Roman', 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 nav { background: var(--primary); color: var(--bg); padding: 56px 24px 36px; text-align: center; margin-bottom: 48px; border-bottom: 5px solid var(--accent); }
:root nav h1 { font-family: var(--fh), Cambria, serif; font-size: 34px; font-weight: 700; color: var(--bg); letter-spacing: -.005em; margin-bottom: 8px; line-height: 1.14; }
:root nav h1 + p { font-family: var(--fb), Cambria, serif; font-size: 15px; color: rgba(236, 228, 208, .82); font-style: italic; }
:root nav a { font-family: var(--fh), Cambria, serif; font-size: 22px; color: var(--bg); text-decoration: none; font-weight: 700; }

:root main { padding-bottom: 80px; }
:root main > h1 { font-family: var(--fh), Cambria, serif; font-size: 36px; font-weight: 700; color: var(--primary); line-height: 1.16; margin: 12px 0 8px; letter-spacing: -.005em; }
:root main > time { display: block; font-family: var(--fb), Cambria, serif; font-size: 12px; color: var(--accent); margin-bottom: 32px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

:root main > article > p { margin-bottom: 18px; font-size: 17px; line-height: 1.78; }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 1.35em; font-weight: 700; color: var(--primary); margin: 2.6em 0 0.55em; padding-top: 12px; border-top: 2px solid var(--accent); }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 19px; font-weight: 600; color: var(--accent); margin: 1.9em 0 0.4em; }
:root main > article ul, :root main > article ol { margin: 0 0 18px 26px; }
:root main > article li { margin-bottom: 6px; }
:root main > article blockquote { border-left: 4px solid var(--accent); padding: 10px 0 10px 20px; margin: 28px 0; font-style: italic; color: var(--primary); background: rgba(42, 66, 88, .06); border-radius: 0 var(--r) var(--r) 0; }

: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: 600; }
: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: 700; font-family: var(--fh), Cambria, serif; font-size: 14.5px; letter-spacing: .02em; 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); }

:root main > article > figure { margin: 0 0 32px; }
:root main > article > figure > img { width: 100%; height: auto; display: block; border-radius: var(--r); box-shadow: 0 4px 18px rgba(31, 24, 20, .14); }

:root main > article > div { background: rgba(122, 79, 46, .06); border-left: 4px solid var(--primary); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; margin: 36px 0 0; font-size: 14px; color: var(--fg); font-family: var(--fb), Cambria, serif; font-style: italic; }
:root main > article > div strong { font-family: var(--fh), Cambria, serif; font-style: normal; color: var(--primary); text-transform: uppercase; font-size: 11px; letter-spacing: .14em; display: inline-block; margin-right: 8px; font-weight: 700; }

:root main > div > div { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 22px 24px; box-shadow: 0 2px 10px rgba(31, 24, 20, .06); transition: transform .15s ease, box-shadow .15s ease, border-left-color .15s ease; }
:root main > div > div:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(122, 79, 46, .12); border-left-color: var(--primary); }
:root main > div > div > p:first-child { font-family: var(--fb), Cambria, serif; font-size: 11px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
:root main > div > div > h2 { font-family: var(--fh), Cambria, serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; line-height: 1.22; }
:root main > div > div > h2 a { color: var(--primary); text-decoration: none; }
:root main > div > div > h2 a:hover { color: var(--accent); }
:root main > div > div > p:not(:first-child) { font-family: var(--fb), Cambria, serif; font-size: 14.5px; color: var(--fg); opacity: .82; margin-bottom: 14px; }
:root main > div > div > a:last-child { font-family: var(--fh), Cambria, serif; font-size: 13px; color: var(--primary); text-decoration: none; letter-spacing: .04em; font-weight: 700; border-bottom: 1px solid var(--primary); padding-bottom: 1px; }
:root main > div > div > a:last-child:hover { color: var(--accent); border-bottom-color: var(--accent); }

:root main > aside { margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--primary); }
:root main > aside h4 { font-family: var(--fh), Cambria, serif; font-size: 14px; color: var(--primary); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
:root .mag-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
:root .mag-related-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; transition: border-color .15s ease, background .15s ease; }
:root .mag-related-item:hover { border-color: var(--primary); background: rgba(122, 79, 46, .04); }
:root .mag-related-item a { color: var(--fg); text-decoration: none; font-family: var(--fb), Cambria, serif; font-size: 14.5px; line-height: 1.4; display: block; }

:root footer { background: transparent; border-top: 1px solid var(--border); padding: 28px 0 36px; margin-top: 48px; text-align: center; font-family: var(--fh), Cambria, serif; font-size: 12px; color: var(--fg); opacity: .60; letter-spacing: .04em; font-style: italic; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); font-style: normal; }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* === R2 fixes (2026-06-04T21:00:05.444531+00:00) === */

:root main > article a[href^="/link/"] { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

:root nav .css-2e3js7s p { font-size: 0.82rem; color: #5a4a35; line-height: 1.4; margin-top: 0.3em; }

:root .css-mn51o5f { border-top: 2px solid #c8b09a; padding-top: 1.6em; margin-top: 2.2em; }

:root .css-ifg9qmm h2 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-top: 0.3em; margin-bottom: 0.4em; }

/* === R3 fixes (2026-06-04T21:40:05.143179+00:00) === */

:root main > article > p a[href^="/link/"], :root main > article > p a[href^="/link/"]:visited { background: var(--accent); color: var(--bg); padding: 2px 10px; border-radius: var(--r); text-decoration: none; font-weight: 700; font-family: var(--fh), Cambria, serif; font-size: 14.5px; letter-spacing: .02em; }
:root main > article > p a[href^="/link/"]:hover { background: var(--primary); color: var(--bg); }

:root nav .css-2e3js7s p { font-size: 0.82rem; color: rgba(236, 228, 208, 0.72); line-height: 1.4; margin-top: 0.3em; }

:root main > div > div > p:first-child { font-size: 10px; font-weight: 400; opacity: 0.55; margin-bottom: 6px; letter-spacing: .10em; }

/* === R4 fixes (2026-06-04T22:20:04.731888+00:00) === */

:root main > article > h3 { border-left: 3px solid var(--accent); padding-left: 0.65em; margin-left: -0.65em; }

:root main > article .bld-disclaimer,
:root main > article [class*='disclosure'],
:root main > article [class*='disclaimer'] { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid rgba(139, 119, 90, 0.30); font-size: 0.88em; color: rgba(59, 40, 20, 0.65); }

/* === R5 editorial refix iter1 (2026-08-23) — M1/M2/M6/M7 + S1/S2/S6 (home scope only) === */
/* homepage = main:not(:has(>h1)); grid = > div:has(>div>h2); tail = > div:has(>p) */

/* ---- M2: full-width uppercase section label above the feature-card grid ---- */
:root main:not(:has(> h1)) > div:has(> div > h2)::before {
  content: "EDITOR'S PICKS — READ THESE FIRST";
  grid-column: 1 / -1;
  font-family: var(--fh), Cambria, serif;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
  padding: 0 2px 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

/* ---- S1/S2: first feature card reads as a full-width hero anchor (own row, no M4 conflict) ---- */
:root main:not(:has(> h1)) > div:has(> div > h2) > div:first-child {
  grid-column: 1 / -1; padding: 34px 36px;
}
:root main:not(:has(> h1)) > div:has(> div > h2) > div:first-child > h2 {
  font-size: 30px; line-height: 1.18;
}
:root main:not(:has(> h1)) > div:has(> div > h2) > div:first-child > p:not(:first-child) {
  font-size: 16px; max-width: 660px;
}

/* ---- M6: hero-photo strip #1 (section break between journal grid and archive tail) ---- */
:root main:not(:has(> h1)) > div:has(> div > h2)::after {
  content: "THE JOURNAL — EVERY PRODUCT, LOGGED";
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center;
  min-height: 210px; margin: 14px 0 0; padding: 0 20px;
  background:
    linear-gradient(rgba(31, 24, 20, .52), rgba(31, 24, 20, .66)),
    var(--primary) url("/assets/steel-toes-to-sandals-nail-supplement-tracking-results/hero-0.webp") center / cover no-repeat;
  border-radius: var(--r);
  color: #f6efe1; text-align: center;
  font-family: var(--fh), Cambria, serif;
  font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}

/* ---- M1 + M7: compact archive tail becomes a magazine grid of boxed cream cards ---- */
/* :root:root beats base .css-omdxj1v {background:#fff} and its 2-class descendant rules */
:root:root main:not(:has(> h1)) > div:has(> p) {
  background: transparent !important;
  box-shadow: none; border-radius: 0; padding: 0; margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px;
}
/* ---- M2: full-width label above the archive tail cards ---- */
:root:root main:not(:has(> h1)) > div:has(> p)::before {
  content: "OLDER ENTRIES — THE FULL JOURNAL";
  grid-column: 1 / -1;
  font-family: var(--fh), Cambria, serif;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
  padding: 0 2px 12px; margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
}
:root:root main:not(:has(> h1)) > div:has(> p) > p {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: 0 2px 10px rgba(31, 24, 20, .06);
  padding: 20px 22px; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
:root:root main:not(:has(> h1)) > div:has(> p) > p:hover {
  transform: translateY(-2px); box-shadow: 0 5px 16px rgba(122, 79, 46, .12);
  border-color: var(--primary);
}
:root:root main:not(:has(> h1)) > div:has(> p) > p > span {
  font-family: var(--fb), Cambria, serif;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
:root:root main:not(:has(> h1)) > div:has(> p) > p > a {
  font-family: var(--fh), Cambria, serif;
  font-size: 15px; line-height: 1.34; color: var(--primary);
  text-decoration: none; font-weight: 700;
}
:root:root main:not(:has(> h1)) > div:has(> p) > p > a:hover { color: var(--accent); }

/* ---- M6: hero-photo strip #2 (closing section break below the archive) ---- */
:root:root main:not(:has(> h1)) > div:has(> p)::after {
  content: "THE ARCHIVE — TWO YEARS OF SUNDAY PHOTOS";
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center;
  min-height: 210px; margin: 20px 0 0; padding: 0 20px;
  background:
    linear-gradient(rgba(31, 24, 20, .52), rgba(31, 24, 20, .66)),
    var(--accent) url("/assets/how-i-dealt-with-nail-fungus-for-summer/hero-0.webp") center / cover no-repeat;
  border-radius: var(--r);
  color: #f6efe1; text-align: center;
  font-family: var(--fh), Cambria, serif;
  font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}

/* ---- responsive: archive-tail column count ---- */
@media (max-width: 820px) {
  :root:root main:not(:has(> h1)) > div:has(> p) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  :root:root main:not(:has(> h1)) > div:has(> p) { grid-template-columns: 1fr; }
}

/* ---- S6: article persona/byline anchor appended to the date meta ---- */
:root main:has(> h1) > time::after {
  content: " · BY RICK HOLLOWAY";
  color: var(--primary); font-weight: 700;
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=The-Sill-botanical overlay=25% grid=asymmetric scale=balanced family=astro-grid */

/* ── HERO STRIPS: site-level atmospheric photos (overlay 25%) ── */
: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.25) 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.25) 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;
}


/* premium-upgrade v5 */
/* premium-upgrade v5 — big M2 band + wider M10 CTA net + M8 breathing. 2026-08-31. */

/* ── M2: PROMINENT full-row label, not the small word v2 tried ── */
:root main:not(:has(> h1))::before {
  content: "◆ LATEST FEATURES ◆" !important;
  display: block !important;
  font-family: var(--fh, "PT Sans"), Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 16px 24px 20px !important;
  margin: 0 0 40px !important;
  border-top: 3px solid var(--primary, #333) !important;
  border-bottom: 1px solid var(--border, #ccc) !important;
  color: var(--primary, #333) !important;
  background: transparent !important;
}

/* ── M10: broaden CTA net (Amazon, aff/ path, [target=_blank] product-shaped) ── */
: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^="/aff/"],
:root main:has(> h1) a[href^="/product/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"],
:root main:has(> h1) a[href*="amazon."],
:root main:has(> h1) a[href*="/track/"],
:root main:has(> h1) a[href*="/link/"],
:root main:has(> h1) a[href*="lstrk.net"],
:root main:has(> h1) a[href*="thrivecart"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 8px 18px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  margin: 4px 2px !important;
}

/* ── M8: article body breathing ── */
:root main:has(> h1) > article > p {
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}
:root main:has(> h1) > article > h2 {
  margin-top: 48px !important;
  margin-bottom: 18px !important;
}
:root main:not(:has(> h1)) > div:has(> div) {
  gap: 40px 32px !important;
}


/* === Link & button colour audit (2026-09-16) ===
   Generated from a measured crawl of this site's own pages: every link and
   button was checked for text-vs-surface contrast at rest and on hover.
   Replacement colours keep the original hue and move only lightness, so the
   design reads the same. Verified by re-rendering before this was written. */
/* 16x 3.02:1 -> needs 4.5 | “[DailyMed]” */
:root :is(#lnkfix, main) > article > table > tbody > tr > td > a[href^="http"] { color: #B82617; }
/* 15x 3.02:1 -> needs 4.5 | “DailyMed (NIH/NLM): Undecylenic Acid 25%” */
:root :is(#lnkfix, main) > article > ul > li > a[href^="http"] { color: #B82617; }
/* 1x 3.02:1 -> needs 4.5 | “download the image” */
:root :is(#lnkfix, main) > article > figure > figcaption > a[href^="/theme-assets/"] { color: #B82617; }
