/* ============================================================================
   Burrow Bunnies — The Mascot Family
   Static site styles (plain CSS port of the React/Tailwind design system)
   Brand colours, fonts and component looks mirror the source app 1:1.
   ============================================================================ */

/* ---- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Funtastic';
  src: url('../fonts/Funtastic-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens -------------------------------------------------------- */
:root {
  --red: #C8102E;
  --green: #007A3D;
  --dark-green: #0D4F2A;
  --yellow: #FFD54F;
  --sky: #BFE9F7;
  --grass: #B5DBB4;
  --purple: #51319C;
  --blue: #1788DF;
  --cream: #FFF7D7;
  --text: #1A1A1A;
  --meet-bg: #FFFAE5;
  --hero-bg: #E3FCE2;
  --recipe-green: #047442;

  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
  --font-display: 'Funtastic', 'Baloo 2', cursive;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--sky);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; margin: 0; }
/* Display font wins for the biggest headings (matches the source app) */
h1, h2 { font-family: var(--font-display); }

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }

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

/* Offset sticky header for in-page anchors */
#characters, #activities, #healthy-living { scroll-margin-top: 122px; }

/* ---- Helpers -------------------------------------------------------------- */
.container { width: 100%; margin: 0 auto; }
.max-5xl { max-width: 1024px; }
.max-4xl { max-width: 896px; }
.max-3xl { max-width: 768px; }
.max-2xl { max-width: 672px; }
.max-xl  { max-width: 600px; }
.center  { text-align: center; }
.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;
}

/* ---- Skip link ------------------------------------------------------------ */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: #fff; color: var(--red); font-weight: 700;
  padding: 0.5rem 1rem; border-radius: 0.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  z-index: 100; text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; position: fixed; }

/* ============================================================================
   Header / nav pill
   ============================================================================ */
.site-header { position: sticky; top: 0; z-index: 40; }
.header-gap { height: 50px; }                 /* transparent — shows page bg */
.nav-wrap { display: flex; justify-content: center; padding: 0 1rem; }
.nav-pill {
  width: 70%;
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  border-radius: 1rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 10; border-radius: 0.5rem; text-decoration: none; }
.nav-logo img { height: 84px; width: auto; }   /* overflows the pill on purpose */
.nav-links { display: none; align-items: center; gap: 0.25rem; }
.nav-links a {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  color: var(--text); padding: 0.5rem 0.75rem; border-radius: 0.5rem;
  min-height: 44px; display: flex; align-items: center; text-decoration: none;
  transition: background-color .15s ease;
}
.nav-links a:hover { background: rgba(0,0,0,0.1); }
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0.5rem;
  background: none; border: none; cursor: pointer; color: var(--text);
  border-radius: 0.5rem; transition: background-color .15s ease;
}
.nav-toggle:hover { background: rgba(0,0,0,0.1); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav { display: none; justify-content: center; padding: 0 1rem; margin-top: 0.5rem; }
.mobile-nav.open { display: flex; }
.mobile-nav-inner {
  width: 70%;
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border-radius: 0.75rem; padding: 0.75rem 1rem;
}
.mobile-nav-inner a {
  display: flex; align-items: center; min-height: 44px;
  font-family: var(--font-heading); font-weight: 600; color: var(--text);
  padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.1);
  text-decoration: none; transition: color .15s ease;
}
.mobile-nav-inner a:last-child { border-bottom: none; }
.mobile-nav-inner a:hover { color: var(--red); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; cursor: pointer;
  border-radius: 0.75rem; border: none; min-height: 44px;
  padding: 0.75rem 1.5rem; font-size: 1rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.btn-secondary { background: var(--red); color: #fff; }
.btn-secondary:hover { background: #a30e26; }
.btn-cta {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem;
  color: #fff; background: var(--dark-green); border: none; cursor: pointer;
  padding: 0.625rem 1.75rem; border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transition: opacity .15s ease, transform .1s ease;
}
.btn-cta:hover { opacity: 0.9; }
.btn-cta:active { transform: scale(0.95); }

/* ============================================================================
   Sections — generic
   ============================================================================ */
.section { padding: 4rem 1rem; }
.section-sm { padding: 3.5rem 1rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.section-head p { font-family: var(--font-body); font-size: 1rem; }
@media (min-width: 768px) {
  .section-head h2 { font-size: 3rem; }
  .section-head p { font-size: 1.125rem; }
}

/* SectionHeading component */
.heading { text-align: center; margin-bottom: 2.5rem; }
.heading.left { text-align: left; }
.heading h2, .heading h3 {
  font-weight: 800; font-size: 1.875rem; line-height: 1.15;
}
@media (min-width: 768px) { .heading h2, .heading h3 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .heading h2, .heading h3 { font-size: 3rem; } }
.heading .subtitle { margin-top: 0.5rem; font-size: 1rem; color: rgba(26,26,26,0.7); font-family: var(--font-body); }
@media (min-width: 768px) { .heading .subtitle { font-size: 1.125rem; } }
.c-purple { color: var(--purple); }
.c-red { color: var(--red); }
.c-green { color: var(--green); }
.c-blue { color: var(--blue); }
.c-dark-green { color: var(--dark-green); }
.c-white { color: #fff; }

/* ============================================================================
   Home — hero
   ============================================================================ */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); }
.hero-field {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background-image: url('../hero-field-bg.jpg');
  background-size: cover; background-position: center top; background-repeat: no-repeat;
}
.hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #E3FCE2 0%, #E3FCE2 12%, rgba(227,252,226,0.7) 35%, transparent 62%);
}
.hero-family { position: relative; z-index: 10; display: flex; justify-content: center; align-items: flex-end; }
.hero-family img { width: 100%; max-width: 860px; }
@media (min-width: 768px) {
  .hero { min-height: 520px; }
  .hero-family { min-height: 520px; }
}

/* ============================================================================
   Home — Meet the characters / Character cards
   ============================================================================ */
.section-meet { background: var(--meet-bg); }
.char-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px)  { .char-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .char-grid { grid-template-columns: repeat(5, 1fr); } }

.char-family-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) { .char-family-grid { grid-template-columns: repeat(4, 1fr); } }

.char-card { display: block; text-decoration: none; transition: transform .2s ease; }
a.char-card:hover { transform: scale(1.04); }
.char-card-inner { position: relative; padding-top: 90px; }
.char-card-imgwrap {
  position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: center;
  z-index: 10; pointer-events: none; padding: 0 0.75rem;
}
.char-card-imgwrap img { width: 100%; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3)); }
.char-card-body { border-radius: 1.5rem; padding: 130px 1rem 1.25rem; }
.char-card-body h3 { font-weight: 800; color: #fff; font-size: 1.25rem; line-height: 1.15; margin-bottom: 0.25rem; }
.char-card-tagline {
  font-family: var(--font-body); color: rgba(255,255,255,0.8); font-size: 0.75rem;
  line-height: 1.5; margin-bottom: 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.char-card-cta { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Compact variant (family grid) */
.char-card--compact .char-card-inner { padding-top: 50px; }
.char-card--compact .char-card-imgwrap { padding: 0 25%; }
.char-card--compact .char-card-body { padding-top: 105px; }

/* ============================================================================
   Activity cards (home, character pages, colouring)
   ============================================================================ */
.section-activities { background: var(--grass); }
.activity-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .activity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .activity-grid { grid-template-columns: repeat(3, 1fr); } }

.activity-card {
  display: flex; flex-direction: column; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  background: #fff; height: 100%;
}
.activity-top {
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; min-height: 220px;
}
.activity-top .blob { position: absolute; border-radius: 9999px; background: rgba(255,255,255,0.1); }
.activity-top .blob-1 { width: 160px; height: 160px; top: -40px; right: -40px; }
.activity-top .blob-2 { width: 96px; height: 96px; bottom: -24px; left: -24px; }
.activity-top .blob-3 { width: 64px; height: 64px; top: 16px; left: 32px; }
.activity-emoji { position: relative; z-index: 10; font-size: 96px; line-height: 1; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)); user-select: none; }
.activity-badge {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 11;
  background: rgba(255,255,255,0.9); color: var(--red);
  font-family: var(--font-heading); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem; border-radius: 9999px; box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.activity-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; flex: 1; }
.activity-body h3 {
  font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.025em; margin-bottom: 0.5rem;
}
.activity-body p { font-family: var(--font-body); color: rgba(26,26,26,0.65); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }

/* ============================================================================
   Home — Healthy recipes teasers
   ============================================================================ */
.section-recipes { background: var(--grass); }
.recipe-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .recipe-grid { grid-template-columns: repeat(3, 1fr); } }
.recipe-teaser {
  background: #fff; border-radius: 1.5rem; padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); display: flex; flex-direction: column;
  text-decoration: none; transition: box-shadow .2s ease;
}
.recipe-teaser:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); }
.recipe-teaser h3 { font-weight: 700; font-size: 1.25rem; margin-bottom: 0.5rem; }
.recipe-teaser p { font-family: var(--font-body); color: rgba(26,26,26,0.7); font-size: 0.875rem; line-height: 1.6; flex: 1; }
.recipe-teaser .more { margin-top: 1rem; font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; }
.recipe-teaser:hover .more { text-decoration: underline; }

/* ============================================================================
   Home — Parents zone
   ============================================================================ */
.section-parents { background: #000; }
.section-parents h2 { color: #fff; }
.section-parents .lead { font-family: var(--font-body); color: rgba(255,255,255,0.7); max-width: 36rem; margin: 0 auto; }
.safe-notice {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1rem; padding: 1rem; text-align: center;
}
.safe-notice p { font-family: var(--font-body); color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.safe-notice strong { color: #fff; }

/* ============================================================================
   Newsletter
   ============================================================================ */
.section-newsletter { background: var(--cream); }
.newsletter-inner { max-width: 672px; margin: 0 auto; text-align: center; }
.newsletter-inner .env { font-size: 3rem; margin-bottom: 1rem; }
.newsletter-inner h2 { color: var(--red); font-size: 1.875rem; margin-bottom: 0.75rem; }
.newsletter-inner > p { font-family: var(--font-body); color: rgba(26,26,26,0.7); font-size: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .newsletter-inner h2 { font-size: 2.25rem; } .newsletter-inner > p { font-size: 1.125rem; } }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; margin: 0 auto; }
.newsletter-form input {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem; border: 2px solid var(--green);
  font-family: var(--font-body); font-size: 1rem; min-height: 44px;
}
.newsletter-error { margin-top: 0.5rem; font-size: 0.875rem; color: var(--red); font-family: var(--font-body); }
.newsletter-fine { margin-top: 1rem; font-size: 0.75rem; color: rgba(26,26,26,0.5); font-family: var(--font-body); }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }

/* ============================================================================
   Footer
   ============================================================================ */
.site-footer { background: var(--dark-green); color: #fff; padding: 2.5rem 1rem; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.footer-brand img { height: 64px; width: auto; }
.footer-wordmark { font-family: var(--font-heading); font-weight: 800; color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.2em; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; margin-bottom: 1.25rem; }
.footer-nav li { display: flex; align-items: center; }
.footer-nav a { font-family: var(--font-body); font-size: 0.875rem; color: rgba(255,255,255,0.8); text-decoration: none; padding: 0.25rem 0.5rem; border-radius: 4px; transition: color .15s ease; }
.footer-nav a:hover { color: #fff; }
.footer-sep { color: rgba(255,255,255,0.3); font-size: 0.75rem; user-select: none; }
.footer-hr { border: none; border-top: 1px solid rgba(255,255,255,0.2); margin-bottom: 1.25rem; }
.footer-social { display: flex; justify-content: center; gap: 1.25rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9999px; transition: background-color .15s ease; }
.footer-social a:hover { background: rgba(255,255,255,0.1); }
.footer-copy { font-family: var(--font-body); font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 1.5rem; }

/* ============================================================================
   Character page — banner hero (clouds)
   ============================================================================ */
.char-hero { position: relative; width: 100%; overflow: hidden; min-height: 580px; }
.char-hero-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 10; }
.char-hero-img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.cloud { position: absolute; background: rgba(255,255,255,0.22); border-radius: 50px; }
.cloud-1 { width: 65px; height: 26px; top: 14%; left: 5%;  box-shadow: 16px -5px 0 10px rgba(255,255,255,0.22), -11px 2px 0 8px rgba(255,255,255,0.22); animation: cloudFloat1 18s ease-in-out infinite; }
.cloud-2 { width: 85px; height: 30px; top: 8%;  left: 38%; box-shadow: 22px -6px 0 13px rgba(255,255,255,0.22), -16px 3px 0 10px rgba(255,255,255,0.22); animation: cloudFloat2 24s ease-in-out infinite; }
.cloud-3 { width: 55px; height: 22px; top: 20%; right: 8%; box-shadow: 13px -5px 0 8px rgba(255,255,255,0.22), -10px 2px 0 6px rgba(255,255,255,0.22); animation: cloudFloat3 28s ease-in-out infinite; }
@keyframes cloudFloat1 { 0%{transform:translate(0,0)} 25%{transform:translate(28px,-7px)} 50%{transform:translate(14px,5px)} 75%{transform:translate(32px,-3px)} 100%{transform:translate(0,0)} }
@keyframes cloudFloat2 { 0%{transform:translate(0,0)} 30%{transform:translate(-22px,6px)} 55%{transform:translate(18px,-9px)} 80%{transform:translate(-12px,4px)} 100%{transform:translate(0,0)} }
@keyframes cloudFloat3 { 0%{transform:translate(0,0)} 35%{transform:translate(30px,5px)} 60%{transform:translate(10px,-8px)} 85%{transform:translate(24px,3px)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none !important; } }

/* Character bio */
.char-bio { background: var(--cream); padding: 3.5rem 1rem; }
.char-bio h2 { color: var(--red); font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .char-bio h2 { font-size: 3rem; } }
.char-bio p { font-family: var(--font-body); color: var(--text); font-size: 1rem; line-height: 1.7; }
.char-bio p + p { margin-top: 1rem; }
@media (min-width: 768px) { .char-bio p { font-size: 1.125rem; } }

/* Clipboard quick facts */
.clipboard-section { padding: 3.5rem 1rem; }
.clipboard-row { display: flex; flex-direction: column; gap: 2.5rem; align-items: center; max-width: 1024px; margin: 0 auto; }
.clipboard { position: relative; width: 100%; max-width: 20rem; flex-shrink: 0; }
.clipboard-back { position: relative; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4); padding: 2.5rem 1.5rem 1.5rem; }
.clipboard-clip { position: absolute; top: -1.25rem; left: 50%; transform: translateX(-50%); z-index: 10; width: 3.5rem; height: 2.5rem; border-radius: 0 0 0.75rem 0.75rem; background: linear-gradient(180deg, #FFB300 0%, #FF8F00 100%); border: 3px solid #E65100; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.clipboard-hole { position: absolute; top: -0.25rem; left: 50%; transform: translateX(-50%); z-index: 20; width: 1.25rem; height: 1.25rem; border-radius: 9999px; border: 2px solid #E65100; }
.clipboard-paper {
  border-radius: 0.75rem; padding: 1.25rem; background-color: #fff; position: relative; overflow: hidden;
  background-image: repeating-linear-gradient(transparent, transparent 26px, #e3f2fd 26px, #e3f2fd 27px);
  background-size: 100% 27px;
}
.clipboard-paper h2 { color: var(--red); font-size: 1.25rem; margin-bottom: 1rem; text-align: center; font-family: var(--font-heading); font-weight: 800; }
.clipboard-paper dl > div { border-bottom: 1px solid #f3f4f6; padding-bottom: 0.5rem; margin-bottom: 0.75rem; }
.clipboard-paper dl > div:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.clipboard-paper dt { font-family: var(--font-heading); font-weight: 700; color: var(--red); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.025em; }
.clipboard-paper dd { font-family: var(--font-body); color: var(--text); font-size: 0.875rem; font-weight: 600; }
.clipboard-aside { text-align: center; }
.clipboard-aside .big { font-family: var(--font-heading); font-weight: 800; font-size: 1.875rem; margin-bottom: 0.75rem; }
.clipboard-aside p { font-family: var(--font-body); font-size: 1rem; max-width: 24rem; margin: 0 auto; }
@media (min-width: 768px) {
  .clipboard-row { flex-direction: row; }
  .clipboard { max-width: 24rem; transform: rotate(-2deg); }
  .clipboard-aside { text-align: left; }
  .clipboard-aside p { margin: 0; }
  .clipboard-aside .big { font-size: 2.25rem; }
}

/* Best moments */
.moments-section { background: #fff; padding: 3.5rem 1rem; }
.moments-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .moments-grid { grid-template-columns: repeat(3, 1fr); } }
.moment-card { background: var(--cream); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border-top: 4px solid var(--red); }
.moment-img { height: 144px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 2.25rem; }
.moment-body { padding: 1.25rem; }
.moment-body h3 { color: var(--red); font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 700; }
.moment-body p { font-family: var(--font-body); color: rgba(26,26,26,0.7); font-size: 0.875rem; line-height: 1.6; }

/* Character activities + family wrappers */
.char-activities { background: var(--grass); padding: 3.5rem 1rem; }
.char-family { background: var(--meet-bg); padding: 3.5rem 1rem; }

/* ============================================================================
   Recipe detail page
   ============================================================================ */
.recipe-hero { background: var(--recipe-green); padding: 3rem 1.5rem; }
@media (min-width: 768px) { .recipe-hero { padding: 4rem 1.5rem; } }
.recipe-hero h1 { color: #fff; font-size: 2.25rem; line-height: 1.1; margin-bottom: 1rem; }
@media (min-width: 768px) { .recipe-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .recipe-hero h1 { font-size: 3.75rem; } }
.recipe-hero .tagline { font-family: var(--font-body); font-weight: 600; color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 42rem; }
@media (min-width: 768px) { .recipe-hero .tagline { font-size: 1.125rem; } }
.makes-badge { display: inline-block; background: #fff; color: var(--recipe-green); font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; padding: 0.375rem 1.25rem; border-radius: 9999px; }
.back-link { display: inline-flex; align-items: center; gap: 0.25rem; font-family: var(--font-body); font-weight: 700; font-size: 0.875rem; text-decoration: none; margin-bottom: 2rem; }
.back-link.on-dark { color: rgba(255,255,255,0.8); }
.back-link.on-dark:hover { color: #fff; }
.back-link.on-light { color: var(--green); }
.back-link.on-light:hover { text-decoration: underline; }

.recipe-section { background: var(--cream); padding: 3rem 1rem; }
.recipe-intro-text { max-width: 42rem; margin-bottom: 2.5rem; }
.recipe-intro-text p { font-family: var(--font-body); color: rgba(26,26,26,0.8); font-size: 1rem; line-height: 1.7; }
.recipe-intro-text p + p { margin-top: 0.75rem; }
.recipe-block { margin-bottom: 2.5rem; }
.recipe-block:last-child { margin-bottom: 0; }
.recipe-block h2 { color: var(--dark-green); font-size: 1.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .recipe-block h2 { font-size: 1.875rem; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip { display: inline-block; background: #fff; border: 2px solid var(--grass); font-family: var(--font-body); font-weight: 600; color: var(--dark-green); font-size: 0.875rem; padding: 0.5rem 1rem; border-radius: 9999px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.good-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .good-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .good-grid { grid-template-columns: repeat(4, 1fr); } }
.good-card { background: #fff; border-radius: 1rem; padding: 0.75rem 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 0.75rem; border: 1px solid rgba(181,219,180,0.5); }
.good-card .ico { font-size: 1.5rem; flex-shrink: 0; }
.good-card span.txt { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; line-height: 1.4; }

.recipe-cols { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) { .recipe-cols { grid-template-columns: repeat(2, 1fr); } }
.ingredients-card { background: #fff; border-radius: 1.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); overflow: hidden; }
.ingredients-card .head { padding: 1rem 1.5rem; }
.ingredients-card .head h2 { color: #fff; font-size: 1.5rem; }
.ingredients-card .body { padding: 1.25rem 1.5rem; }
.ingredients-group + .ingredients-group { margin-top: 1.25rem; }
.ingredients-group .grp-title { font-family: var(--font-heading); font-weight: 700; color: var(--red); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.ingredients-group li { display: flex; align-items: center; gap: 0.625rem; font-family: var(--font-body); color: var(--text); font-size: 0.875rem; line-height: 1.4; padding: 0.1875rem 0; }
.ingredients-group li .dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; flex-shrink: 0; }
.method h2 { color: var(--dark-green); font-size: 1.5rem; margin-bottom: 1.5rem; }
.method ol { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
.method li { position: relative; display: flex; align-items: flex-start; gap: 1.25rem; }
.method .num { position: relative; z-index: 10; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 0.875rem; }
.method p { font-family: var(--font-body); color: rgba(26,26,26,0.8); font-size: 0.875rem; line-height: 1.6; padding-top: 0.25rem; }

.helper-section { padding: 3rem 1rem; }
.helper-head { text-align: center; margin-bottom: 2rem; }
.helper-head h2 { color: #fff; font-size: 1.875rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .helper-head h2 { font-size: 2.25rem; } }
.helper-head p { font-family: var(--font-body); color: rgba(255,255,255,0.8); max-width: 36rem; margin: 0 auto; }
.helper-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .helper-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .helper-grid { grid-template-columns: repeat(3, 1fr); } }
.helper-card { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 1rem; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.helper-card .ico { font-size: 1.875rem; flex-shrink: 0; }
.helper-card span.txt { font-family: var(--font-body); font-weight: 600; color: #fff; font-size: 0.875rem; line-height: 1.4; }

.tip-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .tip-grid { grid-template-columns: repeat(2, 1fr); } }
.tip-card { background: #fff; border-radius: 1rem; padding: 1rem 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); display: flex; align-items: flex-start; gap: 1rem; border: 1px solid rgba(181,219,180,0.5); }
.tip-card .ico { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.125rem; }
.tip-card p { font-family: var(--font-body); color: rgba(26,26,26,0.8); font-size: 0.875rem; line-height: 1.6; }
.swaps-card { background: #fff; border-radius: 1.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); overflow: hidden; }
.swaps-card .row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(181,219,180,0.4); }
.swaps-card .row:last-child { border-bottom: none; }
.swaps-card .ico { font-size: 1.5rem; flex-shrink: 0; }
.swaps-card .swap { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; }
.swaps-card .for { font-family: var(--font-body); color: rgba(26,26,26,0.7); font-size: 0.875rem; }
.storage-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .storage-grid { grid-template-columns: repeat(3, 1fr); } }
.storage-card { background: #fff; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); border: 1px solid rgba(181,219,180,0.5); text-align: center; }
.storage-card .ico { font-size: 2.25rem; margin-bottom: 0.75rem; }
.storage-card h3 { font-size: 1rem; margin-bottom: 0.5rem; font-weight: 700; }
.storage-card p { font-family: var(--font-body); color: rgba(26,26,26,0.7); font-size: 0.875rem; line-height: 1.6; }

/* ============================================================================
   Colouring page
   ============================================================================ */
.section-colouring { background: var(--grass); }
.colouring-head { text-align: center; margin-bottom: 2.5rem; }
.colouring-head h1 { color: var(--dark-green); font-size: 2.25rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .colouring-head h1 { font-size: 3rem; } }
.colouring-head p { font-family: var(--font-body); color: rgba(13,79,42,0.8); font-size: 1rem; }
@media (min-width: 768px) { .colouring-head p { font-size: 1.125rem; } }


/* ============================================================================
   Club chrome — green site bar + footer (matches rabbitohs.com.au)
   ============================================================================ */
@font-face {
      font-family: 'Antarctica Ultra Expanded Extra';
      src: url('../fonts/antarctica/ultra/Antarctica-UltExpExtBd.woff2') format('woff2'),
           url('../fonts/antarctica/ultra/Antarctica-UltExpExtBd.woff') format('woff');
      font-weight: 900; font-style: normal; font-display: swap;
    }

    /* Header — exact .top-drak-bar */
    .club-bar { background-color: #03502F; color: #fff; }
    .club-bar-inner {
      display: flex; align-items: center; justify-content: flex-start;
      list-style: none; margin: 0; height: 36px; padding: 0 0 0 20px;
      font-family: 'Oswald', sans-serif; font-size: 14px; line-height: 1.2;
      font-weight: 700; text-transform: uppercase;
    }
    .club-bar-inner::-webkit-scrollbar { display: none; }
    .club-bar-inner li { padding: 0 18px; }
    .club-bar a {
      color: #fff; text-decoration: none; white-space: nowrap;
      display: inline-flex; align-items: center;
      padding: 6px 0 10px;
      line-height: 1.2;
    }
    .club-bar a:hover, .club-bar a.active { color: #EE0202; }
    .club-bar a.has-caret::after {
      content: ""; display: inline-block;
      
      border: solid 1px #000;
      border-width: 0px 0 1px 1px;
      width: 4px;
      height: 4px;
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
      margin: -3px 6px 0 7px;
      vertical-align: middle;
          border-color: #fff;
    }
     .club-bar .has-dropdown:hover > .has-caret::after{
       border-color: #EE0202;
      -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
     }
    /* Green-bar dropdown menus (Souths Cares, More) — match rabbitohs.com.au */
    .club-bar .has-dropdown:hover > .has-caret{ color: #EE0202;}
    .club-bar-inner .has-dropdown { position: relative; align-self: stretch; display: flex; align-items: center; }
    .club-dropdown {
      position: absolute; top: 100%; left: 18px; z-index: 50;
      list-style: none; margin: 0; min-width: 160px; padding: 24px 0;
      background: #F1F1F1; border-radius: 0; box-shadow: 0 24px 36px 0 rgb(0,0,0);
      font-family: 'Oswald', sans-serif; text-transform: none;
      opacity: 0; visibility: hidden; transform: translateY(4px);
      transition: opacity .12s ease, transform .12s ease, visibility .12s;
    }
    .club-dropdown::after {
      content: '';
      background: -webkit-gradient(linear, left top, right top, from(#03502F), to(#EE0202));
      background: linear-gradient(90deg, #03502F 0%, #EE0202 100%);
      height: 8px;
      position: absolute;
      width: 100%;
      bottom: 0;
      left: 0;
    }
    .club-bar-inner .has-dropdown:hover > .club-dropdown,
    .club-bar-inner .has-dropdown:focus-within > .club-dropdown {
      opacity: 1; visibility: visible; transform: translateY(0);
    }
    .club-dropdown li { padding: 0; }
    .club-dropdown a {
      display: block; padding: 6px 24px; color: #000; font-size: 16px; line-height: 1.2;
      font-weight: 400; text-transform: none; white-space: nowrap; text-decoration: none;
          font-family: 'Montserrat', sans-serif;
             
    }
    .club-dropdown a:hover, .club-dropdown a:focus { background-color: #F6F6F6; color: #1e2125; }
    @media (max-width: 767px) {
      .club-bar-inner { padding-left: 13px; padding-right: 13px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
      .club-bar-inner li { padding: 0 13px; }
      .club-dropdown { display: none; }
    }

    /* Footer — exact rabbitohs.com.au footer */
    .site-footer { background-color: #03502F; color: #fff; padding: 80px 0 66px; font-family: 'Oswald', sans-serif; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 0.75rem; }
    .footer-brand img { width: 117px; height: 60px; margin-bottom: 7px; }
    .footer-wordmark {
      font-family: 'Antarctica Ultra Expanded Extra', 'Oswald', sans-serif;
      font-weight: 900; font-style: italic; font-size: 24px; letter-spacing: normal; line-height: 36px;
      text-transform: uppercase; color: #fff;
    }
    .footer-nav {
      display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
      font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 14px; padding-top: 3px;
    }
    .footer-nav li { display: flex; align-items: center; }
    .footer-nav a { font-family: 'Oswald', sans-serif; color: #F1F1F1; padding: 0.5rem 0.7rem; text-decoration: none; }
    .footer-nav a:hover { color: #EE0202; }
    .footer-divider { border: 0; border-top: 1px solid #fff; opacity: 1; width: 100%; max-width: 200px; margin: 0.6rem auto 1rem; }
    .footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; padding: 0 0 15px; }
    .footer-social li { padding: 0 12px; }
    .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; border-radius: 0; }
    .footer-social a:hover { background: none; }
    .footer-social a:hover svg path { fill: #EE0202; }
    .footer-copy { font-family: 'Oswald', sans-serif; font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 1.25rem; }

/* Activity card header image (covers the gradient panel) */
.activity-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }


/* Responsive adjustments for the club bar */

.club-bar-mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 44px;
  background-color: #03502F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.club-bar-mobile-title {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.club-bar-toggle {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.club-bar-toggle .icon-close {
  display: none;
}
.club-bar-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.club-bar-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 767px) {
  .club-bar-mobile-header {
    display: flex;
  }

  .club-bar .club-bar-inner {
    display: none;
    flex-direction: column;
    height: auto;
    padding: 0;
    overflow-x: hidden;
    background-color: #03502F;
  }

  .club-bar.is-open .club-bar-inner {
    display: flex;
  }

  .club-bar .club-bar-inner li {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    width: 100%;
  }

  .club-bar a {
    padding: 14px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

  /* Match desktop dropdown UI */
  .club-bar .club-dropdown {
    display: none !important;
    position: static;
    background-color: #F1F1F1;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 8px 0;
    margin: 0;
    width: 100%;
  }

  .club-bar .has-dropdown.is-open .club-dropdown {
    display: block !important;
        
    
  }

  .club-bar .club-dropdown a {
    color: #000 !important;
    padding: 10px 20px 10px 40px !important;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
  }

  .club-bar .club-dropdown a:hover, 
  .club-bar .club-dropdown a:focus {
    background-color: #e9ecef !important;
    color: #1e2125 !important;
  }

  .club-bar .has-dropdown > a.has-caret {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Rotate caret when open */
  .club-bar .has-dropdown > a.has-caret::after {
    transition: transform 0.2s ease;
  }
  
  .club-bar .has-dropdown.is-open > a.has-caret::after {
    transform: rotate(180deg);
  }
}
