/*
=====================================================================
 Belldiva page-specific overrides
 Part of the Belldiva design system. Enqueued by functions.php as
 `belldiva-pages`; see assets/css/belldiva.css for the index.
=====================================================================
*/

/* =====================================================================
   Men's page
   ===================================================================== */
.bd .bd-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bd .bd-split-media {
  margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 1; background: var(--deep-tint);
}
.bd .bd-split-media img,
.bd .bd-split-media .bd-ph { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The "Why Belldiva" intro on Skincare / Men's / Wellness: a short strip, not
   a full split. A square image next to two sentences pushed the products a
   whole viewport down the page. */
.bd .bd-vertical-intro { padding: var(--space-8) 0; }
.bd .bd-vertical-intro .bd-split {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: clamp(24px, 4vw, 56px);
}
.bd .bd-vertical-intro .bd-founder-heading { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: var(--space-1) 0 var(--space-3); }
.bd .bd-vertical-intro .body-copy { margin: 0; }
.bd .bd-vertical-intro .bd-split-media { aspect-ratio: 16 / 9; max-height: 220px; }
/* A video in that box (control room: "Second block: video"). The images above
   are sized to the box, but a <video> had no rule, so it drew at its native
   size (1920 wide) inside overflow:hidden: the picture looked zoomed in and the
   controls along its bottom edge were cut off. Show the whole frame, exactly
   16:9 (no height cap, which would letterbox it), and give the column up to
   half the row (35rem, about 560px) so the player controls are not cramped
   and the strip stays a strip on a big monitor. */
.bd .bd-vertical-intro .bd-split:has(> .bd-split-media video, > .bd-split-media iframe) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 35rem);
}
.bd .bd-vertical-intro .bd-split-media:has(video, iframe) { max-height: none; background: var(--deep); }
.bd .bd-split-media video,
.bd .bd-split-media iframe {
  display: block; width: 100%; height: 100%; border: 0;
  object-fit: contain; background: var(--deep);
}
@media (max-width: 860px) {
  /* Must match the two-column rule's specificity: the generic `.bd .bd-split`
     collapse loses to it, which squeezed the text into a 60px column. */
  .bd .bd-vertical-intro .bd-split,
  .bd .bd-vertical-intro .bd-split:has(> .bd-split-media video, > .bd-split-media iframe) { grid-template-columns: 1fr; }
  .bd .bd-vertical-intro .bd-split-media { max-height: 200px; }
  .bd .bd-vertical-intro .bd-split-media:has(video, iframe) { max-height: none; }
}

/* Journal banner — deliberately smaller than the hero */
.bd .bd-jbanner {
  display: grid; grid-template-columns: 260px 1fr; align-items: stretch;
  background: var(--deep); color: #fff; border-radius: 5px; overflow: hidden;
}
.bd .bd-jbanner-media { position: relative; overflow: hidden; min-height: 190px; }
.bd .bd-jbanner-media img,
.bd .bd-jbanner-media .bd-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.bd .bd-jbanner-body {
  padding: var(--space-6) var(--space-7);
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-2);
}
.bd .bd-jbanner-body .eyebrow { color: var(--gold); }
.bd .bd-jbanner-body h3 {
  /* Explicit: theme heading rules set a dark colour that vanishes on the
     dark green panel if we rely on inheritance alone. */
  margin: 0; color: #fff;
  font-family: 'Kholic', Georgia, serif; font-weight: 400;
  font-size: var(--text-xl); line-height: 1.2;
}
.bd .bd-jbanner-body p { margin: 0 0 var(--space-3); color: rgba(255,255,255,0.75); font-size: var(--text-sm); line-height: 1.6; max-width: 52ch; }
.bd .bd-jbanner-body .bd-shop-btn { align-self: flex-start; background: var(--gold); color: var(--deep); }
.bd .bd-jbanner-body .bd-shop-btn:hover { background: #fff; color: var(--deep); }
@media (max-width: 760px) {
  .bd .bd-jbanner { grid-template-columns: 1fr; }
  .bd .bd-jbanner-media { aspect-ratio: 16 / 9; min-height: 0; }
  .bd .bd-jbanner-body { padding: var(--space-5); }
}
@media (max-width: 860px) { .bd .bd-split { grid-template-columns: 1fr; } }

/* Men's brand cards */
.bd .bd-brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.bd .bd-brand-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5);
  min-height: 132px; padding: var(--space-5);
  background: var(--ground-raised); border: 1px solid var(--line); border-radius: 4px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
}
.bd a.bd-brand-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.bd .bd-brand-name { font-family: 'Kholic', Georgia, serif; font-size: var(--text-md); line-height: 1.2; }
.bd .bd-brand-go { font-size: var(--text-2xs); letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 980px) { .bd .bd-brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .bd .bd-brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   Anita's Picks
   ===================================================================== */
.bd-picks .bd-picks-hero { padding-top: 0; background: var(--gold-tint); }
.bd-picks .bd-picks-hero-inner {
  display: grid; grid-template-columns: 0.9fr 1.2fr 0.8fr;
  gap: clamp(24px, 3.5vw, 56px); align-items: center; padding-top: var(--space-8);
}
.bd-picks .bd-picks-portrait {
  margin: 0; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 5; background: var(--deep);
}
.bd-picks .bd-picks-portrait img,
.bd-picks .bd-picks-portrait .bd-ph { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.bd-picks .bd-picks-title {
  margin: 0; font-family: 'Kholic', Georgia, serif; font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05;
}
.bd-picks .bd-picks-sub {
  margin: var(--space-2) 0 var(--space-5);
  font-family: 'Kholic', Georgia, serif; font-size: var(--text-lg);
  color: var(--gold-deep-on-tint);
}
.bd-picks .bd-picks-copy p { margin: 0 0 var(--space-3); color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.7; max-width: 56ch; }
.bd-picks .bd-picks-sign { margin-top: var(--space-5); display: flex; flex-direction: column; }
.bd-picks .bd-picks-xo { font-size: var(--text-xs); color: var(--ink-soft); }
.bd-picks .bd-picks-name { font-family: 'Kholic', Georgia, serif; font-size: var(--text-xl); }
.bd-picks .bd-picks-note {
  background: var(--ground-raised); border: 1px solid var(--line);
  border-radius: 4px; padding: var(--space-6);
}
.bd-picks .bd-picks-note-rule { display: block; width: 46px; height: 2px; background: var(--gold); margin: var(--space-3) 0 var(--space-4); }
.bd-picks .bd-picks-note p { margin: 0 0 var(--space-3); font-size: var(--text-sm); line-height: 1.65; color: var(--ink-soft); }
.bd-picks .bd-picks-note-em { color: var(--gold-deep) !important; font-style: italic; }
.bd-picks .bd-picks-note .bd-shop-btn { margin-top: var(--space-2); }

.bd-picks .bd-picks-sechead { text-align: center; margin-bottom: var(--space-7); }
.bd-picks .bd-picks-sechead h2 {
  margin: 0; font-family: 'Kholic', Georgia, serif; font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.bd-picks .bd-picks-underline { display: block; width: 72px; height: 2px; background: var(--gold); margin: var(--space-3) auto 0; }
.bd-picks .bd-picks-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
@media (max-width: 1100px) { .bd-picks .bd-picks-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .bd-picks .bd-picks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bd-picks .bd-picks-grid { grid-template-columns: 1fr; } }

.bd-picks .bd-routine { background: var(--gold-tint); }
.bd-picks .bd-routine-head { margin-bottom: var(--space-6); }
.bd-picks .bd-routine-head h2 { margin: 0; font-family: 'Kholic', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.bd-picks .bd-routine-sub { margin: var(--space-2) 0 0; font-family: 'Kholic', Georgia, serif; color: var(--gold-deep-on-tint); }
.bd-picks .bd-routine-head .bd-picks-underline { margin-left: 0; }
.bd-picks .bd-routine-cols { display: grid; grid-template-columns: repeat(3, 1fr) 0.9fr; gap: var(--space-5); align-items: start; }
.bd-picks .bd-routine-day {
  margin: 0 0 var(--space-3); padding: 8px 14px; border-radius: 3px;
  background: var(--ground-raised); color: var(--ink);
  font-size: var(--text-2xs); letter-spacing: 0.09em; text-transform: uppercase; text-align: center;
}
.bd-picks .bd-routine-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.bd-picks .bd-routine-list li {
  position: relative; padding-left: 20px; list-style: none;
  font-size: var(--text-xs); line-height: 1.55; color: var(--ink-soft);
}
/* Theme CSS re-adds a disc marker on list items; the tick below is the only bullet. */
.bd-picks .bd-routine-list li::marker { content: ''; }
.bd-picks .bd-routine-list li::before {
  content: ''; position: absolute; left: 2px; top: 5px;
  width: 8px; height: 5px; border-left: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(-45deg);
}
.bd-picks .bd-routine-photo {
  margin: 0; background: var(--ground-raised); padding: 10px 10px 44px;
  box-shadow: var(--shadow); transform: rotate(2deg); position: relative;
}
.bd-picks .bd-routine-photo img,
.bd-picks .bd-routine-photo .bd-ph { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.bd-picks .bd-routine-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-family: 'Kholic', Georgia, serif; font-size: var(--text-sm); color: var(--ink-soft);
}
@media (max-width: 980px) {
  .bd-picks .bd-routine-cols { grid-template-columns: repeat(2, 1fr); }
  .bd-picks .bd-routine-photo { transform: none; }
}
@media (max-width: 600px) { .bd-picks .bd-routine-cols { grid-template-columns: 1fr; } }

.bd-picks .bd-why-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.bd-picks .bd-why-item { text-align: center; }
.bd-picks .bd-why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold-tint); color: var(--gold-deep); margin-bottom: var(--space-3);
}
.bd-picks .bd-why-icon svg { width: 20px; height: 20px; }
.bd-picks .bd-why-item h4 { margin: 0 0 var(--space-2); font-size: var(--text-2xs); letter-spacing: 0.09em; text-transform: uppercase; }
.bd-picks .bd-why-item p { margin: 0; font-size: var(--text-xs); color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 860px) { .bd-picks .bd-why-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bd-picks .bd-why-row { grid-template-columns: 1fr; } }

.bd-picks .bd-picks-cta {
  position: relative; background-size: cover; background-position: center;
  color: #fff; text-align: center;
}
.bd-picks .bd-picks-cta::before { content: ''; position: absolute; inset: 0; background: rgba(12,20,16,0.58); }
.bd-picks .bd-picks-cta-inner { position: relative; max-width: 640px; }
.bd-picks .bd-picks-cta h2 { margin: 0 0 var(--space-3); color: #fff; font-family: 'Kholic', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.bd-picks .bd-picks-cta p { margin: 0 0 var(--space-5); color: rgba(255,255,255,0.85); font-size: var(--text-sm); line-height: 1.7; }
.bd-picks .bd-picks-cta .bd-shop-btn { background: var(--gold); color: var(--deep); }
.bd-picks .bd-picks-cta .bd-shop-btn:hover { background: #fff; }

.bd-picks .bd-picks-trust { border-top: 1px solid var(--line); }
.bd-picks .bd-picks-trust-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 1000px) {
  .bd-picks .bd-picks-hero-inner { grid-template-columns: 1fr 1fr; }
  .bd-picks .bd-picks-note { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .bd-picks .bd-picks-hero-inner { grid-template-columns: 1fr; }
  .bd-picks .bd-picks-trust-row { flex-direction: column; gap: var(--space-2); }
}

@media (prefers-reduced-motion: reduce) {
  .bd .bd-shop-card,
  .bd .bd-shop-card-media img,
  .bd .bd-journal-media img,
  .bd-modal-dialog { transition: none; animation: none; }
}

/* Anita's Picks: the headline strip sits above the full filterable grid. */
.bd .bd-picks-featured { padding-bottom: var(--space-8); }
.bd .bd-picks-featured .bd-prod-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.bd .bd-picks-featured .bd-prod-disclosure { display: none; }
.bd .bd-picks-essentials .bd-picks-sechead { margin-bottom: var(--space-6); }

/* =====================================================================
   Journal page: editorial intro + gated reader
   ===================================================================== */
/* One card per guide: a small cover, the pitch, and the gated download. */
.bd .bd-journal-page .section-head { align-items: flex-end; }
.bd .bd-journal-note { margin: 0; max-width: 34ch; font-size: var(--text-sm); color: var(--ink-soft); text-align: right; }
.bd .bd-journal-note a { display: block; margin-top: 2px; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.bd .bd-journal-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6); margin-top: var(--space-6);
}
.bd .bd-journal-item {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: var(--space-6); align-items: center;
  padding: var(--space-6);
  background: var(--ground-raised);
  border: 1px solid var(--line-soft); border-radius: 6px;
}
.bd .bd-journal-cover {
  margin: 0; border-radius: 4px; overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow); background: var(--line-soft);
}
.bd .bd-journal-cover img,
.bd .bd-journal-cover .bd-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.bd .bd-journal-item-body h3 { margin: var(--space-1) 0 var(--space-2); font-size: var(--text-lg); }
.bd .bd-journal-item-body .body-copy { margin: 0; font-size: var(--text-sm); }
.bd .bd-journal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-5); }
.bd .bd-journal-actions .hero-cta { margin-top: 0; }
.bd .bd-journal-signin { font-size: var(--text-sm); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bd .bd-journal-signin:hover { color: var(--gold-deep); }
.bd .bd-journal-access { margin: var(--space-3) 0 0; font-size: var(--text-xs); color: var(--ink-soft); }
@media (max-width: 980px) {
  .bd .bd-journal-cards { grid-template-columns: 1fr; }
  .bd .bd-journal-note { text-align: left; }
}
@media (max-width: 560px) {
  .bd .bd-journal-item { grid-template-columns: 1fr; }
  .bd .bd-journal-cover { max-width: 180px; }
}

/* The inline reader below is no longer rendered by template-journal.php
   (replaced by the download cards on 2026-09-13); rules kept with the JS. */

.bd .bd-reader {
  position: relative;
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--space-5);
}
.bd .bd-reader-page { margin: 0; position: relative; }
.bd .bd-reader-page img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}
.bd .bd-reader-page figcaption {
  margin-top: 6px; text-align: center;
  font-size: var(--text-2xs); letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* The gate. The fade sits over the bottom of the last free page so the cut is
   soft rather than abrupt, and the panel sits under it. */
.bd .bd-reader-gate { position: relative; margin-top: calc(var(--space-16) * -1); }
.bd .bd-reader-gate-fade {
  height: var(--space-16);
  background: linear-gradient(180deg, transparent 0%, var(--ground) 82%);
  pointer-events: none;
}
.bd .bd-reader-gate-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ground-raised);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow);
}
.bd .bd-reader-gate-panel h3 {
  font-family: 'Kholic', Georgia, serif; font-weight: 400;
  font-size: var(--text-xl); margin: var(--space-2) 0 var(--space-3);
}
.bd .bd-reader-gate-panel p {
  margin: 0 auto var(--space-6); max-width: 46ch;
  font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.65;
}
.bd .bd-reader-gate-actions {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-5); flex-wrap: wrap;
}
.bd .bd-reader-gate-alt {
  font-size: var(--text-2xs); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--deep); border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.bd .bd-reader-more {
  align-self: center;
  font-family: inherit;
  font-size: var(--text-2xs); letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--deep); color: var(--ground);
  border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer;
}
.bd .bd-reader-more:hover { background: var(--gold-deep); }
.bd .bd-reader-sentinel { height: 1px; }


/* =====================================================================
   Single post
   ===================================================================== */
.bd .bd-read-progress {
  position: sticky; top: 0; z-index: 400;
  height: 2px; background: transparent;
}
.bd .bd-read-progress span {
  display: block; height: 100%; width: 0;
  background: var(--gold); transition: width 0.08s linear;
}
.bd .bd-article-head { padding-top: var(--space-12); }
.bd .bd-article-back {
  display: inline-block; margin-bottom: var(--space-6);
  font-size: var(--text-2xs); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-soft);
}
.bd .bd-article-back:hover { color: var(--deep); }
.bd .bd-article-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; margin: var(--space-3) 0 var(--space-4);
  max-width: 20ch;
}
.bd .bd-article-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: var(--text-xs); color: var(--ink-soft);
}
.bd .bd-article-hero {
  margin: var(--space-10) 0 var(--space-12);
  max-width: var(--wrap-max); margin-inline: auto; padding: 0 var(--gutter);
}
.bd .bd-article-hero img {
  display: block; width: 100%; height: auto;
  border-radius: 4px; aspect-ratio: 16 / 9; object-fit: cover;
}

/* Designed HTML articles (includes/belldiva-blog.php): the author's own,
   scoped CSS styles them. These zero-specificity rules only keep media
   inside a phone screen, and lose to anything the article sets. */
.bd .bd-post-html { margin: 0 auto var(--space-16); overflow-wrap: break-word; }
:where(.bd-post-html) :where(img, video, iframe, table) { max-width: 100%; }
:where(.bd-post-html) :where(img, video) { height: auto; }
.bd .bd-single--designed .bd-article-head { padding-bottom: var(--space-6); }

/* Measure: long-form prose reads badly at full grid width. */
.bd .bd-prose { max-width: 68ch; margin: 0 auto; }
.bd .bd-prose > * { margin: 0 0 var(--space-5); }
.bd .bd-prose p { font-size: var(--text-md); line-height: 1.75; color: var(--ink); }
.bd .bd-prose h2 {
  font-family: 'Kholic', Georgia, serif; font-weight: 400;
  font-size: var(--text-xl); margin: var(--space-12) 0 var(--space-4); line-height: 1.2;
}
.bd .bd-prose h3 {
  font-family: 'Kholic', Georgia, serif; font-weight: 400;
  font-size: var(--text-lg); margin: var(--space-10) 0 var(--space-3);
}
.bd .bd-prose ul, .bd .bd-prose ol { padding-left: 1.3em; }
.bd .bd-prose li { margin-bottom: var(--space-2); line-height: 1.7; }
.bd .bd-prose img { border-radius: 4px; height: auto; }
.bd .bd-prose a { color: var(--gold-deep); border-bottom: 1px solid currentColor; }

/* The production Legal & Policies page is a hand-styled document with inline
   colours that fail WCAG AA: gold #b8952a headings and links (2.47:1 on
   cream), #888 notes (3.07:1), #777 on the dark box (3.88:1). Inline styles
   beat any selector, hence !important; each rule matches only that exact
   inline colour, so the client's text and layout are untouched. */
.bd .bd-prose [style*="color: #b8952a"] { color: var(--gold-deep) !important; }
.bd .bd-prose [style*="color: #888"] { color: var(--ink-soft) !important; }
.bd .bd-prose [style*="background: #1a1a1a"] [style*="color: #777"] { color: #a3a3a3 !important; }
/* Inside that dark box the original gold already passes (6.11:1); the
   darker cream-ground gold would drop it to 3.19:1. */
.bd .bd-prose [style*="background: #1a1a1a"] [style*="color: #b8952a"] { color: #b8952a !important; }
.bd .bd-prose blockquote {
  border-left: 2px solid var(--gold); padding-left: var(--space-5);
  font-family: 'Kholic', Georgia, serif; font-size: var(--text-lg);
  line-height: 1.4; color: var(--ink);
}

/* Optional building blocks for posts written as plain HTML; usage in
   docs/blog-writing-guide.md. Each one works from phone to large monitor
   without the author writing any CSS. */
.bd .bd-prose figure { margin-inline: 0; }
.bd .bd-prose figcaption { font-size: var(--text-sm); color: var(--ink-soft); margin-top: var(--space-2); }
/* A photo wider than the text column on laptops and monitors. */
.bd .bd-prose .bd-wide { width: min(100vw - 2 * var(--gutter), 62rem); margin-left: 50%; transform: translateX(-50%); }
.bd .bd-prose .bd-wide img { width: 100%; }
/* A tinted box for key takeaways, a tip or a warning. */
.bd .bd-prose .bd-callout {
  background: var(--gold-tint); border-left: 3px solid var(--gold);
  padding: var(--space-5) var(--space-6); border-radius: 4px;
}
.bd .bd-prose .bd-callout > :last-child { margin-bottom: 0; }
.bd .bd-prose .bd-callout > :first-child { margin-top: 0; }
/* Two columns side by side; stacked on phones. */
.bd .bd-prose .bd-two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-6); }
.bd .bd-prose .bd-two-col > * { margin: 0; }
/* Brands mentioned in the post, as a row of quiet chips. */
.bd .bd-prose .bd-brand-links { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; }
.bd .bd-prose .bd-brand-links li { margin: 0; }
.bd .bd-prose .bd-brand-links a {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: var(--text-sm);
}
.bd .bd-prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); display: block; overflow-x: auto; }
.bd .bd-prose th, .bd .bd-prose td { border-bottom: 1px solid var(--line); padding: var(--space-2) var(--space-3); text-align: left; vertical-align: top; }

.bd .bd-article-tags {
  max-width: 68ch; margin: var(--space-10) auto 0;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.bd .bd-article-tags span {
  font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  color: var(--ink-soft);
}
.bd .bd-article-related { background: var(--deep-tint); }

@media (prefers-reduced-motion: reduce) {
  .bd .bd-read-progress span { transition: none; }
}

/* =====================================================================
   Menopause & Wellness 40+ (includes/parts/menopause.php)
   The client's jade, antique gold and cream. --jade is a greener cousin of
   --deep, used only here, so the feature reads as its own space.
   Phone and tablet layout: _responsive.css, section 3.
   ===================================================================== */
.bd .bd-meno,
.bd .bd-meno-tile { --jade: #0E3B2C; --jade-deep: #082519; --cream: #F5EEE2; }

.bd .bd-meno-feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 12rem;
  min-height: 26rem; overflow: hidden; border-radius: 6px;
  background: linear-gradient(120deg, var(--jade-deep) 0%, var(--jade) 60%);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--cream);
}
.bd .bd-meno-copy { position: relative; z-index: 2; align-self: center; padding: var(--space-10) var(--space-6) var(--space-10) var(--space-10); }
.bd .bd-meno-eyebrow {
  display: block; font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.bd .bd-meno-title {
  font-family: 'Kholic', Georgia, serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: 1.04; letter-spacing: 0.01em;
  color: var(--cream); margin: var(--space-3) 0 var(--space-4);
}
.bd .bd-meno-title em,
.bd .bd-meno-tile-title em { font-style: normal; color: var(--gold); white-space: nowrap; }
/* Georgia, not Kholic: Kholic has no italic, and the faked slant crushed its
   full stops. */
.bd .bd-meno-tagline { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: var(--text-md); line-height: 1.4; color: var(--cream); margin: 0 0 var(--space-3); }
.bd .bd-meno-lede { font-size: var(--text-base); line-height: 1.65; color: color-mix(in srgb, var(--cream) 86%, transparent); max-width: 34rem; margin: 0; }
.bd .bd-meno-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: var(--space-6);
  padding: 14px 26px; border-radius: 6px;
  background: linear-gradient(180deg, #D3B47F 0%, var(--gold) 100%);
  border: 1px solid #E2C995; color: var(--jade-deep);
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.bd .bd-meno-cta:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--jade-deep); }

/* The photo fades into the green on its left, like the banner photos. */
.bd .bd-meno-media { position: relative; min-height: 100%; }
.bd .bd-meno-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 55% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.bd .bd-meno-pillars {
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-5);
  padding: var(--space-8) var(--space-6); background: var(--cream); color: var(--jade);
}
.bd .bd-meno-pillars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bd .bd-meno-pillars li,
.bd .bd-meno-grid li { list-style: none; }
.bd .bd-meno-pillars li::marker,
.bd .bd-meno-grid li::marker { content: none; }
.bd .bd-meno-pillars li { font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.bd .bd-meno-pillars p { font-family: 'Kholic', Georgia, serif; font-size: var(--text-md); line-height: 1.25; color: var(--gold-deep); margin: 0; }

.bd .bd-meno-topics { margin-top: var(--space-10); }
.bd .bd-meno-topics .section-head { border-bottom: 0; }
.bd .bd-meno-topics-title { font-family: 'Kholic', Georgia, serif; font-weight: 400; font-size: var(--text-xl); margin: var(--space-1) 0 0; }
.bd .bd-meno-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }
.bd .bd-meno-grid li { margin: 0; }
.bd .bd-meno-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--ground-raised); border: 1px solid #DCC9A2; border-radius: 6px; color: var(--ink);
  transition: transform 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
}
.bd .bd-meno-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.bd .bd-meno-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.bd .bd-meno-card-media img,
.bd .bd-meno-card-media .bd-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.bd .bd-meno-card-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; padding: var(--space-4); }
.bd .bd-meno-card-title { font-family: 'Kholic', Georgia, serif; font-size: var(--text-md); line-height: 1.2; color: var(--deep); }
.bd .bd-meno-card-text { font-size: var(--text-sm); line-height: 1.5; color: var(--ink-soft); }
.bd .bd-meno-card-go {
  margin-top: auto; padding: 9px 12px; text-align: center;
  border: 1px solid var(--gold); border-radius: 999px;
  font-size: var(--text-sm); color: var(--deep);
  transition: background 0.15s ease, color 0.15s ease;
}
.bd .bd-meno-card:hover .bd-meno-card-go { background: var(--deep); border-color: var(--deep); color: var(--ground); }

/* Home: the square that leads to the section. */
.bd .bd-meno-tile {
  position: relative; display: block; aspect-ratio: 1; width: 100%; overflow: hidden;
  border-radius: 6px; background: var(--jade); color: var(--cream);
  transition: transform 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
}
.bd .bd-meno-tile::after {
  content: ''; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent);
  border-radius: 3px; pointer-events: none;
}
.bd .bd-meno-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--cream); }
.bd .bd-meno-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; }
.bd .bd-meno-tile-body {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2);
  padding: var(--space-6);
  background: linear-gradient(0deg, color-mix(in srgb, var(--jade-deep) 96%, transparent) 0%, color-mix(in srgb, var(--jade) 82%, transparent) 42%, transparent 72%);
}
.bd .bd-meno-tile-title { font-family: 'Kholic', Georgia, serif; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; text-transform: uppercase; }
.bd .bd-meno-tile-go { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* Home quote band with the square beside it. */
.bd .bd-home-quote { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: var(--space-10); align-items: center; }
.bd .bd-home-quote-text { text-align: center; max-width: 680px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .bd .bd-meno-card, .bd .bd-meno-tile, .bd .bd-meno-cta { transition: none; }
  .bd .bd-meno-card:hover, .bd .bd-meno-tile:hover, .bd .bd-meno-cta:hover { transform: none; }
}
