/* ============================================================
   style.css — muc.ie
   Palette: chocolate brown, warm cream, gold accent
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

/* ── CSS Variables ── */
:root {
  /* Brand colours */
  --choc-dark:    #2C1810;   /* near-black chocolate */
  --choc-mid:     #5C3317;   /* mid chocolate brown */
  --choc-warm:    #dd5903;   /* brand orange — buttons / accent */
  --choc-light:   #c44e02;   /* darker orange — hover */
  --gold:         #dd5903;   /* accent (same as brand orange) */
  --gold-light:   #ff8c42;   /* lighter orange */
  --cream:        #FDF6EC;   /* warm cream background */
  --cream-dark:   #F5E9D4;   /* slightly darker cream */
  --text-dark:    #1A0A00;   /* almost-black body text */
  --text-mid:     #4A2E1A;   /* medium brown text */
  --text-light:   #8B6347;   /* light brown / meta */
  --white:        #FFFFFF;
  --border:       #E8D5C0;   /* warm border */

  /* Typography */
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  5rem;
  --section-sm:   3rem;

  /* Layout */
  --container:    1200px;
  --radius:       8px;
  --radius-sm:    4px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--cream);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--choc-warm); text-decoration: none; }
a:hover { color: var(--choc-light); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--choc-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Screen reader only ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ── Section spacing ── */
.section     { padding: var(--section-pad) 0; }
.section-sm  { padding: var(--section-sm) 0; }

/* ── Section intro block ── */
.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-intro h2 { margin-bottom: 0.75rem; }
.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Section CTA ── */
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--choc-warm);
  color: var(--white);
  border-color: var(--choc-warm);
}
.btn-primary:hover {
  background: var(--choc-light);
  border-color: var(--choc-light);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--choc-warm);
  border-color: var(--choc-warm);
}
.btn-secondary:hover {
  background: var(--choc-warm);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}
.btn-cream {
  background: var(--cream);
  color: var(--choc-dark);
  border-color: var(--cream);
}
.btn-cream:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--choc-dark);
}


/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: relative;
  z-index: 100;
}

/* Overlay header (homepage + post pages) */
.site-header--hero {
  position: absolute;
  top: 0; left: 0; right: 0;
}

/* Solid header (inner pages) */
.site-header--solid {
  position: sticky;
  top: 0;
  background: var(--choc-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-dot { color: var(--gold); }

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.nav-menu li a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.nav-menu li a.nav-cta {
  background: var(--choc-warm);
  color: var(--white);
  padding: 0.5rem 1rem;
}
.nav-menu li a.nav-cta:hover {
  background: var(--choc-light);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.12); }
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Nav dropdown */
.nav-has-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 0.3rem;
}

.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--choc-dark);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  padding: 0.5rem 0;
  z-index: 300;
  list-style: none;
}

.nav-has-dropdown.is-open .nav-dropdown { display: block; }

.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-dropdown li:last-child a { border-bottom: none; }

.nav-dropdown li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Mobile — dropdown becomes an indented sub-list */
@media (max-width: 820px) {
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.05);
    padding: 0;
    margin: 0.25rem 0 0.25rem 1rem;
    border-left: 2px solid var(--choc-warm);
  }
  .nav-has-dropdown.is-open .nav-dropdown { display: block; }
  .nav-dropdown li a {
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  /* On mobile the toggle href should still work as a link */
  .nav-dropdown-toggle { justify-content: space-between; }
}

/* Mobile nav */
@media (max-width: 820px) {
  .nav-hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(28, 12, 6, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 200;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li a { font-size: 1rem; padding: 0.75rem 1rem; }

  /* Keep hero header floating — do NOT set position:relative here */
  /* The hero-wrap stacks header above the hero section naturally */
}


/* ============================================================
   HERO
   ============================================================ */
.hero-wrap { position: relative; }

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(28, 12, 6, 0.88) 0%,
    rgba(28, 12, 6, 0.72) 45%,
    rgba(28, 12, 6, 0.45) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 8rem;   /* extra top pad so content clears the floating nav */
  padding-bottom: 5rem;
}

@media (max-width: 820px) {
  .hero-inner {
    padding-top: 6rem;
  }
}

.hero-eyebrow {
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero { min-height: 80vh; }
  .hero-inner { padding-top: 4rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
}


/* ============================================================
   WHAT WE DO — 2×2 image-overlay cards
   ============================================================ */
.what-we-do { background: var(--white); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Each card is a linked block with image + dark overlay + text */
.feature-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  text-decoration: none;
  background: var(--choc-dark);
}

/* Background image */
.feature-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-card-img {
  transform: scale(1.05);
}

/* Dark gradient overlay — stronger at bottom where text sits */
.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 10, 5, 0.85) 0%,
    rgba(20, 10, 5, 0.45) 50%,
    rgba(20, 10, 5, 0.15) 100%
  );
  transition: background 0.3s;
}
.feature-card:hover .feature-card-overlay {
  background: linear-gradient(
    to top,
    rgba(20, 10, 5, 0.9) 0%,
    rgba(20, 10, 5, 0.55) 55%,
    rgba(20, 10, 5, 0.25) 100%
  );
}

/* Text sits at bottom-left */
.feature-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem;
  z-index: 2;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  margin: 0;
}

/* Arrow button — top-right */
.feature-card-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.feature-card-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--choc-dark);
  transition: color 0.2s;
}
.feature-card:hover .feature-card-arrow {
  background: var(--choc-warm);
  transform: scale(1.08);
}
.feature-card:hover .feature-card-arrow svg {
  color: var(--white);
}

/* Cards with no image — solid dark fallback */
.feature-card--dark {
  background: var(--choc-dark);
}
.feature-card--dark .feature-card-img {
  opacity: 0.35;
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card  { aspect-ratio: 4/3; }
}


/* ============================================================
   NEWSLETTER BAND — full-width image background with overlay
   ============================================================ */
.newsletter-band {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: var(--choc-dark); /* fallback if image absent */
}

/* Background image */
.newsletter-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Dark overlay — heavier on right so form stays readable */
.newsletter-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 8, 4, 0.55) 0%,
    rgba(20, 8, 4, 0.78) 50%,
    rgba(20, 8, 4, 0.88) 100%
  );
}

.newsletter-band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.newsletter-band-text {
  flex: 1;
  min-width: 280px;
}

/* Eyebrow with orange bar accent like the screenshot */
.newsletter-band-text .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.newsletter-band-text .eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 4px;
  background: var(--choc-warm);
  border-radius: 2px;
  flex-shrink: 0;
}

.newsletter-band-text h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* "Something Sweet?" part in orange like screenshot */
.newsletter-band-text h2 em {
  font-style: normal;
  color: var(--choc-warm);
}

.newsletter-band-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 400px;
  line-height: 1.65;
}

/* Form — inputs side by side + pill subscribe button */
.newsletter-band-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-band-form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-band-form input {
  flex: 1;
  min-width: 140px;
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.92);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.newsletter-band-form input::placeholder { color: #999; }
.newsletter-band-form input:focus {
  outline: 2px solid var(--choc-warm);
  background: var(--white);
}

/* Pill subscribe button matching the screenshot */
.btn-newsletter {
  padding: 0.9rem 2rem;
  background: var(--choc-warm);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  align-self: flex-start;
}
.btn-newsletter:hover {
  background: var(--choc-light);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .newsletter-band-inner { gap: 2.5rem; }
  .newsletter-band-form-row { flex-direction: column; }
  .btn-newsletter { align-self: stretch; text-align: center; }
}

@media (max-width: 600px) {
  .newsletter-band { padding: 3.5rem 0; }
  .newsletter-band-inner { flex-direction: column; gap: 2rem; }
  .newsletter-band-text, .newsletter-band-form { min-width: 0; width: 100%; }
}


/* ============================================================
   LEGAL PAGES — privacy & terms
   ============================================================ */
.legal-page { background: var(--cream); }

.legal-page-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

.legal-page-header .breadcrumb { margin-bottom: 1rem; }

.legal-page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--choc-dark);
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.legal-content h2 {
  font-size: 1.15rem;
  color: var(--choc-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 0.2rem 0;
}

.legal-content a {
  color: var(--choc-warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--choc-light); }


/* ============================================================
   ABOUT PAGE — 2 column: image grid left, text right
   ============================================================ */
.about-page { background: var(--cream); }

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Image grid — large top, two small below */
.about-img-grid { display: flex; flex-direction: column; gap: 1rem; }

.about-img-main img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(44,24,16,0.12);
  display: block;
}

.about-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-img-row img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(44,24,16,0.1);
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Text column */
.about-page-text .eyebrow { margin-bottom: 0.5rem; }

/* Two-tone welcome heading matching old site */
.about-welcome {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--choc-dark);
}

.about-welcome-brand {
  color: var(--choc-warm);
  display: block;
}

.about-page-text > p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
}

/* Goals box — icon + content */
.about-goals-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.about-goals-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid var(--choc-warm);
  color: var(--choc-warm);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-goals-box h3 {
  font-size: 1rem;
  color: var(--choc-dark);
  margin-bottom: 0.6rem;
}

.about-goals-box p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.about-goals-box p:last-of-type { margin-bottom: 0.75rem; }

.about-goals-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.about-goals-list li {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding: 0.2rem 0;
}

/* Three pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--choc-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
}

.about-pillar h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--choc-dark);
}

.about-pillar p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.about-pillar-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--choc-warm);
}
.about-pillar-link:hover { color: var(--choc-light); }

@media (max-width: 860px) {
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .about-img-row { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   ALTERNATING CONTENT ROWS
   ============================================================ */
.content-row { background: var(--white); }
.content-row--alt { background: var(--cream-dark); }

.content-row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Reverse layout — image right */
.content-row--reverse .content-row-inner {
  direction: rtl;
}
.content-row--reverse .content-row-inner > * {
  direction: ltr;
}

.content-row-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(44,24,16,0.12);
}

.content-row-text .eyebrow { margin-bottom: 0.5rem; }

.content-row-text h2 {
  margin-bottom: 1rem;
}

.content-row-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-row-text .btn { margin-top: 0.5rem; }

@media (max-width: 800px) {
  .content-row-inner { grid-template-columns: 1fr; gap: 2rem; }
  .content-row--reverse .content-row-inner { direction: ltr; }
  /* On mobile always show image first */
  .content-row--reverse .content-row-text { order: 2; }
  .content-row--reverse .content-row-img  { order: 1; }
}


/* ============================================================
   NAMED BAR SUGAR TABLE
   ============================================================ */
.bar-table-section { background: var(--cream); }

.bar-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.bar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.bar-table thead tr {
  background: var(--choc-dark);
  color: var(--white);
}

.bar-table th {
  padding: 0.9rem 1.1rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
}

.bar-table td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: middle;
}

.bar-table tbody tr:last-child td { border-bottom: none; }
.bar-table tbody tr:nth-child(even) { background: var(--cream-dark); }
.bar-table tbody tr:hover { background: #f5e8d8; }

/* Teaspoon column — colour coded */
.bar-table-tsp {
  font-weight: 700;
  font-size: 0.95rem;
}
.bar-table-tsp--high { color: #c0392b; }
.bar-table-tsp--mid  { color: #d35400; }
.bar-table-tsp--low  { color: #27ae60; }
.bar-table-tsp--best { color: #1a7a40; }

.bar-table-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
}
.bar-table-note a { color: var(--choc-warm); }

.bar-table-context {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}
.bar-table-context p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.bar-table-context p:last-child { margin-bottom: 0; }
.bar-table-context a { color: var(--choc-warm); font-weight: 600; }


/* ============================================================
   RECOMMENDED BARS TEASER
   ============================================================ */
.recommended-section { background: var(--white); }

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.recommended-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.recommended-card:hover {
  box-shadow: 0 8px 28px rgba(44,24,16,0.1);
  transform: translateY(-3px);
}

.recommended-card-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: block;
}

.recommended-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--choc-dark);
}

.recommended-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.recommended-coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

@media (max-width: 1000px) {
  .recommended-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .recommended-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   POPULAR RECIPES (kept for recipe sub-pages)
   ============================================================ */
.popular-recipes { background: var(--cream-dark); }

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.recipe-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.recipe-card:hover {
  box-shadow: 0 12px 40px rgba(44,24,16,0.12);
  transform: translateY(-4px);
}

.recipe-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 3/2;
}
.recipe-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.recipe-card:hover .recipe-card-img-wrap img {
  transform: scale(1.04);
}

.recipe-card-body {
  padding: 1.5rem;
}

.recipe-eyebrow {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.recipe-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.recipe-card-title a {
  color: var(--choc-dark);
  text-decoration: none;
}
.recipe-card-title a:hover { color: var(--choc-warm); }

.recipe-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.recipe-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.recipe-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--cream-dark);
  color: var(--text-mid);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .recipe-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .recipe-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   ABOUT BAND
   ============================================================ */
.about-band { background: var(--white); }

.about-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-band-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(44,24,16,0.15);
}

.about-band-text .eyebrow { margin-bottom: 0.5rem; }
.about-band-text h2 { margin-bottom: 1rem; }
.about-band-text p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .about-band-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: var(--cream); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover {
  box-shadow: 0 12px 40px rgba(44,24,16,0.12);
  transform: translateY(-4px);
}

.post-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 3/2;
}
.post-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-img-wrap img {
  transform: scale(1.04);
}

.post-card-body { padding: 1.25rem 1.5rem 1.5rem; }

.post-card-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.post-card-date {
  font-size: 0.8rem;
  color: var(--text-light);
}
.post-card-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-card-cat:hover { color: var(--choc-warm); }

.post-card-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.post-card-title a {
  color: var(--choc-dark);
}
.post-card-title a:hover { color: var(--choc-warm); }

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.post-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--choc-warm);
}
.post-card-link:hover { color: var(--choc-light); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .blog-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--choc-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}

.footer-email {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.footer-email:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--choc-warm);
  color: var(--white);
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-newsletter-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-newsletter-form input {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  width: 100%;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter-form input:focus {
  outline: 2px solid var(--gold);
  background: rgba(255,255,255,0.1);
}

.footer-affiliate {
  background: rgba(0,0,0,0.2);
  padding: 1.25rem 0;
}
.footer-affiliate p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin: 0;
}
.footer-copy a {
  color: rgba(255,255,255,0.5);
}
.footer-copy a:hover { color: var(--gold-light); }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* ============================================================
   POST / GUIDE / RECIPE PAGES
   (included here for completeness — used by sub-pages)
   ============================================================ */
.post-hero-wrap { position: relative; }

.post-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,24,16,0.85) 0%, rgba(44,24,16,0.4) 60%, rgba(44,24,16,0.1) 100%);
}
.post-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  max-width: 780px;
}
.post-hero-eyebrow { color: var(--gold-light); margin-bottom: 0.75rem; }
.post-hero-heading {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.post-hero-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* Breadcrumb */
.post-breadcrumb-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-light);
}
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--border);
}
.breadcrumb a { color: var(--choc-warm); }
.breadcrumb a:hover { color: var(--choc-light); }

/* Post layout grid */
.post-layout { background: var(--cream); }
.post-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* Article content */
.post-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}
.post-content p { color: var(--text-mid); }
.post-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--choc-dark) !important;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.post-figure { margin: 2rem 0; }
.post-figure img { border-radius: var(--radius); width: 100%; }
.post-figure figcaption {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}
.post-blockquote {
  border-left: 4px solid var(--gold);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--choc-mid);
}
.post-checklist { list-style: none; margin: 1rem 0; }
.post-checklist li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.post-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.post-cta-inline {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.post-cta-inline p { margin-bottom: 1rem; color: var(--text-mid); }

/* FAQ */
.faq-header { margin-bottom: 1rem; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--choc-dark);
  text-align: left;
  gap: 1rem;
}
.faq-question:hover { color: var(--choc-warm); }
.faq-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 1rem; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.9rem; color: var(--text-mid); }

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--cream-dark);
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.tag:hover {
  background: var(--choc-warm);
  color: var(--white);
  border-color: var(--choc-warm);
}

/* Bio block */
.bio-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.bio-logo a { display: block; flex-shrink: 0; }
.bio-logo-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.bio-logo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--choc-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bio-logo-placeholder .logo-text {
  font-size: 1rem;
  color: var(--white);
}
.bio-site-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--choc-dark);
  margin-bottom: 0.25rem;
}
.bio-desc { font-size: 0.875rem; color: var(--text-mid); margin: 0; }

/* Related posts */
.related-posts { margin-top: 2.5rem; }
.related-posts-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--choc-dark);
}
.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 2rem;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--choc-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.sidebar-thumb-list { list-style: none; }
.sidebar-thumb-item { margin-bottom: 1rem; }
.sidebar-thumb-link {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
}
.sidebar-thumb-img { flex-shrink: 0; }
.sidebar-thumb-img img {
  border-radius: var(--radius-sm);
  width: 80px;
  height: 60px;
  object-fit: cover;
}
.sidebar-thumb-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gold);
  color: var(--white);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  margin-bottom: 0.2rem;
}
.sidebar-thumb-badge--new { background: var(--choc-warm); }
.sidebar-thumb-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--choc-dark);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.sidebar-thumb-link:hover .sidebar-thumb-title { color: var(--choc-warm); }
.sidebar-thumb-date { font-size: 0.75rem; color: var(--text-light); }

.sidebar-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sidebar-cat-tag {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--cream-dark);
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  transition: background 0.15s, color 0.15s;
}
.sidebar-cat-tag:hover {
  background: var(--choc-warm);
  color: var(--white);
  border-color: var(--choc-warm);
}

.sidebar-newsletter { background: var(--choc-dark); border-color: var(--choc-dark); }
.sidebar-newsletter-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.sidebar-newsletter .sidebar-heading { color: var(--white); border-color: var(--gold); }
.sidebar-newsletter-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sidebar-newsletter-form input {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  width: 100%;
}
.sidebar-newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.sidebar-newsletter-form input:focus { outline: 2px solid var(--gold); }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .related-posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .post-content { padding: 1.5rem; }
  .related-posts-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }


/* ============================================================
   BLOG INDEX PAGE
   ============================================================ */

/* Page header */
.blog-index-header {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 0;
}

.blog-index-header .breadcrumb { margin-bottom: 1.25rem; }

.blog-index-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--choc-dark);
  margin-bottom: 0.75rem;
}

.blog-index-lead {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Filter tabs — bordered strip with radius */
.blog-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: #fdf6ec;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  padding: 1rem 1.25rem;
  margin: 0 -1px;
}

.blog-filter-tab {
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--cream-dark);
  color: var(--text-mid);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.blog-filter-tab:hover {
  border-color: var(--choc-warm);
  color: var(--choc-warm);
}

.blog-filter-tab.is-active {
  background: var(--choc-warm);
  border-color: var(--choc-warm);
  color: var(--white);
}

/* Blog grid */
.blog-index-section { background: var(--cream-dark); }

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card */
.blog-index-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(44,24,16,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-index-card:hover {
  box-shadow: 0 12px 40px rgba(44,24,16,0.12);
  transform: translateY(-4px);
}

/* Image with category badge overlay */
.blog-index-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  flex-shrink: 0;
}

.blog-index-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.blog-index-card:hover .blog-index-card-img img {
  transform: scale(1.04);
}

/* Category badge — top left, orange pill matching screenshot */
.blog-index-cat-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--choc-warm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  z-index: 2;
  white-space: nowrap;
}

/* Card body */
.blog-index-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-index-date {
  font-size: 0.775rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.blog-index-card-title {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  flex-grow: 0;
}

.blog-index-card-title a {
  color: var(--choc-dark);
  text-decoration: none;
}

.blog-index-card-title a:hover { color: var(--choc-warm); }

.blog-index-excerpt {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-index-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--choc-warm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-top: auto;
}

.blog-index-read-more:hover { color: var(--choc-light); }

@media (max-width: 900px) {
  .blog-index-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .blog-index-grid { grid-template-columns: 1fr; }
  .blog-filter-tabs { gap: 0.35rem; }
  .blog-filter-tab { font-size: 0.775rem; padding: 0.4rem 0.85rem; }
}


/* ============================================================
   BLOG POST — fitness / science components
   ============================================================ */

/* Science mechanism cards */
.blog-science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.blog-science-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--choc-dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.blog-science-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--choc-warm);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-science-card h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.blog-science-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* Research results box */
.blog-results-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.blog-results-box h3 {
  font-size: 0.95rem;
  color: var(--choc-dark);
  margin-bottom: 0.75rem;
}

.blog-results-box ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-results-box ul li {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 0.2rem 0;
}

.blog-results-source {
  font-size: 0.775rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}

/* Timing cards — pre vs post */
.blog-timing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.blog-timing-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.blog-timing-card--pre {
  background: #f0faf2;
  border-color: #a8dab5;
}

.blog-timing-card--post {
  background: #f0f4fa;
  border-color: #a8c0da;
}

.blog-timing-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.blog-timing-card--pre h3 { color: #2d7a3a; }
.blog-timing-card--post h3 { color: #1a4a7a; }

.blog-timing-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.blog-timing-card p:first-of-type {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.blog-timing-card p:last-child { margin-bottom: 0; }

/* Sources section */
.post-sources {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.post-sources-heading {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.post-sources-list {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0;
}

.post-sources-list li {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}

.post-sources-list li:last-child { border-bottom: none; }

.post-sources-list a {
  color: var(--choc-warm);
  font-weight: 600;
  word-break: break-word;
}

.post-sources-list a:hover { color: var(--choc-light); }

/* Reasons / features grid — used in palm oil and silicone mould posts */
.blog-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.blog-reason-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.blog-reason-card h3 {
  font-size: 0.95rem;
  color: var(--choc-dark);
  margin-bottom: 0.5rem;
}

.blog-reason-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 600px) {
  .blog-reasons-grid { grid-template-columns: 1fr; }
}

/* Blockquote cite */
.post-blockquote cite {
  display: block;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

@media (max-width: 640px) {
  .blog-science-grid { grid-template-columns: 1fr; }
  .blog-timing-grid  { grid-template-columns: 1fr; }
}


/* ============================================================
   QUICK LABEL GUIDE — flag cards and label example
   ============================================================ */

/* Red flag ingredient cards */
.qlg-flags {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.qlg-flag {
  border: 1px solid #f0c0c0;
  border-left: 4px solid var(--choc-warm);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.qlg-flag--enumbers {
  border-left-color: var(--choc-dark);
}

.qlg-flag-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: #fdf2f2;
  border-bottom: 1px solid #f0c8c8;
}

.qlg-flag--enumbers .qlg-flag-header {
  background: var(--cream-dark);
  border-bottom-color: var(--border);
}

.qlg-flag-badge { font-size: 1.1rem; flex-shrink: 0; }

.qlg-flag-header h3 {
  font-size: 0.95rem;
  color: var(--choc-dark);
  margin: 0;
}

.qlg-flag > p {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* Label example — claim vs reality */
.qlg-label-example {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.qlg-label-claim {
  background: var(--choc-dark);
  padding: 1.25rem 1.5rem;
}

.qlg-label-claim h3 {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.qlg-label-rows { display: flex; flex-direction: column; gap: 0.25rem; }

.qlg-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.qlg-label-row:last-child { border-bottom: none; }

.qlg-label-row--sub {
  padding-left: 1rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

.qlg-label-value {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold-light);
}

.qlg-label-reality {
  background: #fdf2f2;
  padding: 1.25rem 1.5rem;
  border-left: 1px solid #f0c0c0;
}

.qlg-label-reality h3 {
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a02020;
  margin-bottom: 0.75rem;
}

.qlg-label-reality p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.qlg-label-reality p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .qlg-label-example { grid-template-columns: 1fr; }
  .qlg-label-reality { border-left: none; border-top: 1px solid #f0c0c0; }
}

/* ============================================================
   INGREDIENT PAGE — ingredient cards, polyol label & table
   ============================================================ */

/* Ingredient cards — good and bad */
.ing-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.25rem 0;
  overflow: hidden;
}

.ing-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
}

.ing-card--bad .ing-card-header  { background: #fdf2f2; border-bottom: 1px solid #f0c0c0; }
.ing-card--good .ing-card-header { background: #f0faf2; border-bottom: 1px solid #a8dab5; }

.ing-card-icon { font-size: 1.3rem; flex-shrink: 0; }

.ing-card-header h3 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.3;
}

.ing-card--bad .ing-card-header h3  { color: #a02020; }
.ing-card--good .ing-card-header h3 { color: #2d7a3a; }

.ing-card-body {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--white);
}

.ing-card-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.ing-card-body p:last-child { margin-bottom: 0; }

.ing-card-example {
  background: var(--cream-dark);
  border-left: 3px solid var(--choc-warm);
  padding: 0.6rem 0.9rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem !important;
}

.ing-card-fact {
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* Polyol nutrition label mock */
.ing-polyol-label {
  margin: 1.5rem 0;
}

.ing-polyol-label-inner {
  background: var(--choc-dark);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.ing-polyol-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.ing-polyol-row:last-child { border-bottom: none; }

.ing-polyol-row--sub {
  padding-left: 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.ing-polyol-row--highlight {
  color: var(--gold-light) !important;
  font-weight: 600 !important;
}

.ing-polyol-caption {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* Polyol comparison table */
.ing-polyol-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.ing-polyol-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ing-polyol-table thead tr {
  background: var(--choc-dark);
  color: var(--white);
}

.ing-polyol-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
}

.ing-polyol-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.ing-polyol-table tbody tr:last-child td { border-bottom: none; }

/* Row colour coding */
.ing-polyol-safe     td { background: #f0faf2; color: #2d7a3a; }
.ing-polyol-moderate td { background: #fff8ec; color: #7a5a00; }
.ing-polyol-danger   td { background: #fdf2f2; color: #a02020; font-weight: 600; }
.ing-polyol-ref      td { background: var(--cream-dark); color: var(--text-light); font-style: italic; }

/* ============================================================
   HEALTHY CHOCOLATE GUIDE — page-specific components
   ============================================================ */

/* Sweetener option cards — 2x2 grid */
.hcg-sweetener-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.hcg-sweetener-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.hcg-sweetener-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.hcg-sweetener-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--choc-dark);
}

.hcg-sweetener-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 540px) {
  .hcg-sweetener-grid { grid-template-columns: 1fr; }
}

/* Homemade-with-sugar context box */
.hcg-sugar-context-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--choc-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.hcg-sugar-context-box h3 {
  font-size: 1rem;
  color: var(--choc-dark);
  margin-bottom: 0.75rem;
}

.hcg-sugar-context-box p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.hcg-sugar-context-box p:last-child { margin-bottom: 0; }

/* Warning box */
.hcg-warning-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #fff8ec;
  border: 1px solid #f0d080;
  border-left: 4px solid #f0a800;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.hcg-warning-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }

.hcg-warning-box p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

/* Look for / Avoid label grid */
.hcg-label-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.hcg-label-card {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
}

.hcg-label-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.hcg-label-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hcg-label-card ul li {
  font-size: 0.875rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

.hcg-label-card ul li:last-child { border-bottom: none; }

.hcg-label-card--good {
  background: #f0faf2;
  border-color: #a8dab5;
}

.hcg-label-card--good h3 { color: #2d7a3a; }

.hcg-label-card--bad {
  background: #fdf2f2;
  border-color: #f0a8a8;
}

.hcg-label-card--bad h3 { color: #a02020; }

@media (max-width: 540px) {
  .hcg-label-grid { grid-template-columns: 1fr; }
}

/* Quick recipe box */
.hcg-recipe-box {
  background: var(--choc-dark);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 1.5rem 0;
  color: rgba(255,255,255,0.85);
}

.hcg-recipe-box h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--choc-warm);
}

.hcg-recipe-ingredients,
.hcg-recipe-method { margin-bottom: 1rem; }

.hcg-recipe-box p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0.5rem;
}

.hcg-recipe-box ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.hcg-recipe-box ul li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hcg-recipe-box ul li:last-child { border-bottom: none; }

.hcg-recipe-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-light);
}

/* ============================================================
   SUPERFOOD PAGE — comparison and benefits tables
   ============================================================ */

.dc-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Shared table base */
.dc-compare-table,
.dc-benefits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.dc-compare-table thead tr,
.dc-benefits-table thead tr {
  background: var(--choc-dark);
  color: var(--white);
}

.dc-compare-table th,
.dc-benefits-table th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
}

.dc-compare-table td,
.dc-benefits-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
  line-height: 1.55;
}

.dc-compare-table tbody tr:last-child td,
.dc-benefits-table tbody tr:last-child td { border-bottom: none; }

.dc-compare-table tbody tr:nth-child(even),
.dc-benefits-table tbody tr:nth-child(even) { background: var(--cream-dark); }

/* Compare table — two equal columns */
.dc-compare-table th:first-child { color: #7fffb0; }  /* green tint for dark choc header */
.dc-compare-table th:last-child  { color: #ffb3b3; }  /* red tint for processed header */

/* Benefits table — first column is the label */
.dc-benefits-table td:first-child {
  white-space: nowrap;
  color: var(--choc-dark);
  font-weight: 500;
  width: 28%;
}

/* Mobile: stack table rows into labelled cards */
@media (max-width: 640px) {

  .dc-compare-table thead,
  .dc-benefits-table thead { display: none; }

  .dc-compare-table,
  .dc-compare-table tbody,
  .dc-compare-table tr,
  .dc-compare-table td,
  .dc-benefits-table,
  .dc-benefits-table tbody,
  .dc-benefits-table tr,
  .dc-benefits-table td {
    display: block;
    width: 100%;
  }

  .dc-compare-table tr,
  .dc-benefits-table tr {
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .dc-compare-table td,
  .dc-benefits-table td {
    text-align: left;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    position: relative;
  }

  .dc-compare-table td::before,
  .dc-benefits-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
  }

  .dc-benefits-table td:first-child { white-space: normal; width: 100%; }
}


/* Calculation highlight box */
.sugar-calc-box {
  background: var(--choc-dark);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

.sugar-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}
.sugar-calc-row:last-child { border-bottom: none; }

.sugar-calc-row--result {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--choc-warm);
  border-bottom: none;
  font-size: 1.1rem;
}
.sugar-calc-row--result .sugar-calc-label { color: var(--white); font-weight: 600; }
.sugar-calc-row--result .sugar-calc-value { color: var(--gold-light); font-size: 1.2rem; }
.sugar-calc-row--result strong { color: var(--gold-light); }

.sugar-calc-value { font-weight: 700; }

/* Comparison table */
.sugar-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sugar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sugar-table thead tr {
  background: var(--choc-dark);
  color: var(--white);
}

.sugar-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
}

.sugar-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

.sugar-table tbody tr:last-child td { border-bottom: none; }

.sugar-table tbody tr:nth-child(even) {
  background: var(--cream-dark);
}

.sugar-table tbody tr:hover {
  background: var(--cream);
}

/* Highlight the dangerous rows */
.sugar-table tbody tr:nth-child(5) td,
.sugar-table tbody tr:nth-child(6) td,
.sugar-table tbody tr:nth-child(7) td {
  color: var(--choc-warm);
  font-weight: 600;
}

