/* ==================================================
   BREASTFEEDING / CHESTFEEDING PAGE
================================================== */

/* ==================================================
   1. PAGE VARIABLES & GLOBAL LAYOUT
================================================== */

:root {
  --primary: #8a4867;
  --primary-dark: #623245;
  --secondary: #b7794b;
  --secondary-dark: #8b5e3c;
  --accent: #e6a86a;

  --soft-primary: #faf2f5;
  --soft-secondary: #fdf5ec;
  --soft-accent: #fff8f1;

  --soft-blue: #faf2f5;
  --soft-teal: #fdf5ec;
  --soft-warm: #fff8f1;

  --text: #2d3748;
  --muted: #5d6b7a;
  --border: #e4dde2;
  --white: #ffffff;

  --radius: 10px;
  --shadow: 0 12px 32px rgba(98, 50, 69, 0.10);
}

.breastfeeding-page {
  color: var(--text);
}

.breastfeeding-page main {
  max-width: 1180px;
  margin: 0 auto;
}

.purple-anchor {
  color: var(--primary-dark);
  font-weight: bold;
  text-decoration: underline;
}

/* ==================================================
   2. HERO / BANNER
================================================== */

.bf-banner {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
  background: var(--primary-dark);
  box-sizing: border-box;
}

.bf-banner-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.bf-banner__content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  color: #fff;
}

.bf-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bf-banner__content h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  color: #fff;
}

.bf-banner__content p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: #fff;
}

/* ==================================================
   HERO ACTION BAR
================================================== */

.hero-actions {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 16px;
  padding: 20px;

  background:
    linear-gradient(135deg,
      var(--soft-primary) 0%,
      #fff8fb 50%,
      var(--soft-secondary) 100%);

  border-top: 1px solid rgba(138, 72, 103, 0.12);
  border-bottom: 1px solid rgba(138, 72, 103, 0.12);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    0 6px 18px rgba(98, 50, 69, 0.06);

  overflow: hidden;
}

/* Buttons */

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 1 260px;

  width: 100%;
  max-width: 280px;
  min-width: 0;
  min-height: 48px;

  padding: 12px 24px;
  box-sizing: border-box;

  border-radius: 999px;

  font-weight: 800;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.2;

  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;

  transition:
    transform .25s ease,
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

/* Primary CTA */

.hero-actions .btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);

  box-shadow:
    0 8px 20px rgba(138, 72, 103, 0.22);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(98, 50, 69, 0.28);
}

/* Secondary CTA */

.hero-actions .btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);

  border: 2px solid rgba(138, 72, 103, 0.18);

  box-shadow:
    0 6px 16px rgba(98, 50, 69, 0.08);
}

.hero-actions .btn-secondary:hover,
.hero-actions .btn-secondary:focus {
  background: var(--soft-primary);
  border-color: var(--primary);
  color: var(--primary-dark);

  transform: translateY(-2px);

  box-shadow:
    0 10px 22px rgba(98, 50, 69, 0.14);
}

/* Accessibility */

.hero-actions .btn-primary:focus,
.hero-actions .btn-secondary:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {
  .hero-actions {
    gap: 12px;
    padding: 18px 14px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    flex: 1 1 calc(50% - 12px);
    max-width: none;
    min-width: 0;
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 12px 16px;
  }
}


/* ==================================================
   3. SHARED CONTENT CARDS
================================================== */

.content-section,
.info-alert,
.recommendation-card,
.latch-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 28px;
}

.content-section h2,
.info-alert h2,
.recommendation-card h2,
.latch-section h2,
.benefits-section h2 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: bold;
}

.content-section p,
.info-alert p,
.recommendation-card p,
.latch-section p,
.benefit-card li,
.feeding-grid li {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1rem);
}

.info-alert {
  background: var(--soft-primary);
  border-left: 7px solid var(--primary);
}

.section-title {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: var(--primary-dark);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--secondary);
}

/* ==================================================
   4. WHAT IS BREAST/CHESTFEEDING?
================================================== */

.breastfeeding-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.intro-image img {
  width: 100%;
  /*height: 280px;*/
  object-fit: cover;
  border-radius: 10px;
  display: block;

  background: linear-gradient(135deg,
      #fff 0%,
      #faf2f5 100%);
  box-shadow: 0 10px 24px rgba(98, 50, 69, 0.18);
}

/* ==================================================
   5. WHY IS IT IMPORTANT?
================================================== */

.why-important h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.why-copy p {
  margin: 0;
}

.why-copy p+p {
  margin-top: 14px;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 24px 20px;

  background: linear-gradient(180deg,
      #fff 0%,
      var(--soft-primary) 100%);

  border: 1px solid rgba(138, 72, 103, 0.12);
  border-radius: 16px;

  box-shadow: 0 8px 24px rgba(98, 50, 69, 0.08);

  transition: transform .2s ease,
    box-shadow .2s ease;
}

.stat-card:hover {
  /*transform: translateY(-3px);*/
  box-shadow: 0 14px 32px rgba(98, 50, 69, 0.12);
}

.stat-icon {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 14px;

  background: #fff;
  border: 2px solid rgba(138, 72, 103, 0.12);
  border-radius: 50%;
}

.stat-icon i {
  color: var(--primary);
  font-size: 1.4rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-title {
  display: block;
  margin-bottom: 8px;

  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 800;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==================================================
   6. BENEFITS SECTION
================================================== */

.benefits-section {
  margin-bottom: 28px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.benefit-card i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--soft-primary);
  color: var(--primary);
  font-size: 1.5rem;
}

.benefit-card h3 {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 1.35rem;
}

/* ==================================================
   7. CHECKLIST / LIST STYLES
================================================== */

.benefit-card ul,
.success-box ul,
.warning-box ul,
.latch-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-card li,
.success-box li,
.warning-box li,
.latch-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.benefit-card li::before,
.success-box li::before,
.latch-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 900;
}

/* ==================================================
   8. FEEDING SUCCESS / PROFESSIONAL SUPPORT SECTION
================================================== */

.feeding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}

.success-box,
.warning-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 6px 18px rgba(98, 50, 69, 0.08);
}

.success-box {
  background: #fbfdff;
  border: 1px solid #d7e8f8;
  border-top: 6px solid #4A6F8C;
}

.success-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;

  color: #4a90e2;
  font-weight: 900;
}

.warning-box {
  border-top: 6px solid var(--secondary);
}

.feeding-label,
.support-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.feeding-label {
  background: #edf6ff;
  border: 1px solid #cfe4fb;
  color: #4A6F8C;
}

.support-label {
  background: var(--soft-secondary);
  border: 1px solid #edd9c7;
  color: var(--secondary-dark);
}

.feeding-label i {
  color: #4A6F8C;
  font-size: 0.85rem;
}

.support-label i {
  color: var(--secondary-dark);
  font-size: 0.85rem;
}

.success-box h3,
.warning-box h3 {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

.success-box li,
.warning-box li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 8px;
  color: #3f4d57;
  line-height: 1.45;
}

.success-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4a6f8c;
  font-weight: 900;
}

.warning-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.recommendation-card .feeding-grid {
  margin-top: 28px;
  margin-bottom: 0;
}

.source-sup {
  color: var(--primary);
  border-radius: 999px;

  padding: 0.1rem 0.2rem;

  font-size: 0.75em;
  font-weight: 700;

  vertical-align: super;
  position: relative;
  top: -0.3em;
}

.source-sup small {
  font-size: 1em;
  font-weight: 700;
}

.source-sup i {
  font-size: 0.9em;
}

.source-citation {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #fff 0%, var(--soft-primary) 100%);
  /*background: var(--soft-primary);*/
  border: 1px solid var(--border);
  /*border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);*/
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
}

.reference-number {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.45rem;

  /*background: var(--primary);*/
  color: var(--primary);

  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 14px;
  padding: 8px 14px;

  background: #fff8e6;
  border: 1px solid #f4c542;
  border-radius: 999px;

  color: #8b5e3c;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 4px 12px rgba(244, 197, 66, 0.18);

  transition: all .25s ease;
}

.stat-source:hover,
.stat-source:focus {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;

  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(183, 121, 75, 0.28);
}

.stat-source:hover i,
.stat-source:focus i {
  color: #fff;
}

/*
.source-citation {
  display: flex;
  width: fit-content;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--soft-primary);
  border: 1px solid var(--border);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;

  margin-left: auto;
}
*/

.source-citation i {
  color: var(--primary);
  font-size: 0.9rem;
}

/* ==================================================
   9. VIDEO RESOURCES
================================================== */

.video-section .section-intro {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.video-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 24px;
  border-radius: 10px;
  background:
    linear-gradient(135deg,
      var(--soft-primary) 0%,
      #fffafb 100%);
  border: 1px solid rgba(138, 72, 103, 0.12);
}

.video-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(138, 72, 103, 0.14);
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(98, 50, 69, 0.06),
    0 1px 3px rgba(98, 50, 69, 0.08);
  transition:
    box-shadow .2s ease,
    border-color .2s ease;
}

.video-card:hover {
  border-color: rgba(138, 72, 103, 0.32);
  box-shadow: var(--shadow);
}

.video-embed {
  aspect-ratio: 16 / 9;
  background: var(--soft-primary);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-content {
  padding: 18px 20px;
  border-top: 1px solid rgba(138, 72, 103, 0.10);
}

.video-content h3 {
  margin: 0 0 6px;
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.video-content p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

/* ==================================================
   10. LATCH SECTION
================================================== */

.latch-section {
  background:
    linear-gradient(90deg,
      #ffffff 0%,
      rgba(255, 255, 255, .96) 65%,
      rgba(250, 242, 245, .9) 100%);
}

.latch-details {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.latch-section h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--primary-dark);
  font-size: 1.15rem;
  font-weight: 700;
}

.latch-section h3::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: .85rem;
  font-weight: 800;
}

.latch-checklist {
  margin-top: 0;
  padding: 20px 24px;
  background: var(--soft-primary);
  border: 1px solid rgba(138, 72, 103, 0.14);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(98, 50, 69, 0.05);
}

.latch-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

.latch-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.latch-video {
  /*margin-top: 48px;*/
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft-primary);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.latch-video:hover {
  border-color: rgba(138, 72, 103, 0.32);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.22),
    0 6px 16px rgba(138, 72, 103, 0.12);
}

.latch-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.checklist-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(138, 72, 103, 0.18);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.checklist-label i {
  color: var(--primary);
}

/* ==================================================
   11. RESOURCE DIRECTORY
================================================== */

.resources-section {
  background: #ffffff;
}

.resources-header {
  margin-bottom: 28px;
}

.resources-header p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1rem);
  line-height: 1.7;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: visible !important;
  padding-right: 8px;
  padding-bottom: 10px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(98, 50, 69, 0.07);
  transition:
    box-shadow .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}

.resource-card.resource-enter {
  opacity: 0;
  animation: resourceFadeIn 0.45s ease forwards;
}

.resource-card.resource-exit {
  pointer-events: none;
  animation: resourceFadeOut 0.25s ease forwards;
}

@keyframes resourceFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resourceFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.98);
  }
}

.resource-card:hover,
.resource-card:focus {
  border-color: rgba(138, 72, 103, .32);
  background: #fffafb;
  box-shadow: 0 12px 28px rgba(98, 50, 69, 0.12);
}

.resource-card:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.resource-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-primary);
  color: var(--primary);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.resource-card h3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 800;
}

.resource-card h3 i {
  display: none;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.resource-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  text-align: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  background: var(--soft-primary);
  border: 1px solid #ead4dc;
  border-radius: 999px;
  color: var(--primary);
  font-size: .95rem;
  font-weight: 800;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.resource-footer i {
  font-size: .75rem;
  transition: transform .2s ease;
}

.resource-card:hover .resource-footer,
.resource-card:focus .resource-footer {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.resource-card:hover .resource-footer i,
.resource-card:focus .resource-footer i {
  transform: translateX(3px);
}

.resources-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.resources-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.resources-load-more {
  border: 0;
  background: var(--primary);
  color: #ffffff;
}

.resources-load-more:hover,
.resources-load-more:focus {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.resources-load-more:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.resources-show-less {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #ead4dc;
}

.resources-show-less:hover,
.resources-show-less:focus {
  background: var(--soft-primary);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.resources-show-less:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Dropdown resources */

.resources-section {
  overflow: visible !important;
}

.resource-dropdown {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.resource-dropdown summary {
  list-style: none;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-dropdown summary::marker {
  display: none;
  content: "";
}

.resource-dropdown summary::-webkit-details-marker {
  display: none;
}

.resource-dropdown summary::before,
.resource-dropdown summary::after {
  display: none;
}

.resource-dropdown[open] {
  z-index: 9999;
}

.resource-dropdown-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 10000;
  display: none;
  gap: 12px;
  margin-top: 8px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft-secondary) 100%);
  border: 1px solid #edd9c7;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(139, 94, 60, 0.16);
}

.resource-dropdown[open] .resource-dropdown-list {
  display: grid;
}

.resource-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #edd9c7;
  border-left: 4px solid var(--secondary);
  border-right: 4px solid var(--secondary);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.08);
  transition:
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.resource-dropdown-item:hover,
.resource-dropdown-item:focus {
  background: #fffcf9;
  border-color: #e7d6c5;
  box-shadow: 0 6px 14px rgba(139, 94, 60, 0.06);
}

.resource-dropdown-item strong {
  color: var(--secondary-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.resource-dropdown-item p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.resource-dropdown-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--soft-secondary);
  border: 1px solid #edd9c7;
  border-radius: 999px;
  color: var(--secondary-dark);
  font-size: .85rem;
  font-weight: 800;
  text-align: center;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.resource-dropdown-item:hover span,
.resource-dropdown-item:focus span {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.resource-dropdown-item span i {
  font-size: .7rem;
  transition: transform .2s ease;
}

.resource-dropdown-item:hover span i,
.resource-dropdown-item:focus span i {
  transform: translateX(3px);
}

.resource-dropdown-toggle {
  background: var(--soft-secondary);
  border-color: #edd9c7;
  color: var(--secondary-dark);
}

.resource-dropdown-toggle i {
  font-size: .75rem;
  transition: transform .2s ease;
}

.resource-dropdown:hover .resource-dropdown-toggle,
.resource-dropdown[open] .resource-dropdown-toggle {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.resource-dropdown[open] .resource-dropdown-toggle i {
  transform: rotate(180deg);
}

/* ==================================================
   12. EVENTS SECTION
================================================== */

.events-section {
  background: #ffffff;
}

.events-header {
  margin-bottom: 28px;
}

.events-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  background: #edf6ff;
  border: 1px solid #cfe4fb;
  border-radius: 999px;
  color: #1e5b9a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.events-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.events-carousel {
  position: relative;
}

.events-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  grid-template-columns: none;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0px 0px 10px;
}

.events-grid::-webkit-scrollbar {
  height: 8px;
}

.events-grid::-webkit-scrollbar-thumb {
  background: rgba(138, 72, 103, .28);
  border-radius: 999px;
}

/* Event Cards */

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(98, 50, 69, 0.07);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    transform .2s ease;
}

.event-card:not(.event-card-featured):hover {
  border-color: rgba(138, 72, 103, .25);
  box-shadow: 0 12px 28px rgba(98, 50, 69, .12);
}

/* Featured Event Card */

.event-card-featured {
  position: relative;
  overflow: hidden;

  background: linear-gradient(180deg,
      #fffdf8 0%,
      #fff8f1 100%);

  border: 1px solid #f0d3b2;
  border-top: 6px solid var(--secondary);

  box-shadow: 0 8px 20px rgba(98, 50, 69, 0.08);
}

/* Featured event detail icons */

.event-card-featured .event-details i {
  color: var(--secondary);
}

.event-card-featured:hover {
  border-color: #f0d3b2;
  border-top-color: var(--secondary);

  box-shadow: 0 12px 24px rgba(98, 50, 69, 0.12);
}

.event-card-featured::before {
  content: "\f005";
  position: absolute;
  top: 14px;
  right: -32px;

  width: 136px;
  padding: 7px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary) 100%);

  color: #fff;
  text-align: center;

  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;

  transform: rotate(45deg);
  box-shadow: 0 6px 14px rgba(139, 94, 60, 0.25);

  z-index: 2;
}

/* Featured Date Block */

.event-card-featured .event-date {
  background: var(--secondary);
  border: 1px solid var(--secondary-dark);
}

.event-card-featured .event-month,
.event-card-featured .event-day {
  color: #ffffff;
}

/* Featured Event Tag */

.event-card-featured .event-tag {
  background: rgba(183, 121, 75, 0.12);
  border-color: rgba(183, 121, 75, 0.28);
  color: var(--secondary-dark);
}

.events-grid:has(.events-empty) {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: visible;
}

.events-empty {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 125%;
  max-width: 1000px;
  min-height: 240px;

  margin: 0 auto;
  padding: 20px 40px;

  background: var(--soft-secondary);
  border: 1px solid #edd9c7;
  border-radius: 14px;

  color: var(--secondary-dark);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;

  box-sizing: border-box;
}

.events-empty-content i {
  font-size: 6rem;
  color: var(--secondary-dark);
  opacity: 0.8;
  margin-bottom: 15px;
}

.events-empty-content p {
  margin: 0;
  color: var(--secondary-dark);
  font-size: clamp(1.1rem, 1.06rem + 0.17vw, 1.15rem);
}

/* Scroll Buttons */

.events-scroll-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 30px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: var(--shadow);
  transition:
    background-color .2s ease,
    opacity .2s ease,
    transform .2s ease;
  font-size: 1.2rem;
}

.events-scroll-prev {
  left: -30px;
}

.events-scroll-next {
  right: -30px;
}

.events-scroll-btn:hover,
.events-scroll-btn:focus {
  background: var(--primary-dark);
}

.events-scroll-btn:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.events-scroll-btn[disabled] {
  opacity: .35;
  cursor: not-allowed;
}

.events-scroll-btn[hidden] {
  display: none !important;
}

/* Top Row */

.event-top {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  min-width: 0;
}

.event-date {
  width: 74px;
  height: 82px;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--soft-primary);
  border: 1px solid #ead4dc;
  border-radius: 14px;
  text-align: center;
}

.event-month {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-day {
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.event-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.event-tag {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  background: #faf2f5;
  border: 1px solid #ead4dc;
  border-radius: 999px;
  color: var(--primary-dark);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
}

.event-heading h3 {
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.event-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.event-content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.event-details {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}

.event-details li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4b5563;
  font-size: .9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.event-details li+li {
  margin-top: 6px;
}

.event-details i {
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

.event-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 10px 14px;
  background: var(--primary);
  border-radius: 999px;
  color: #ffffff;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: center;
  transition:
    background-color .2s ease,
    transform .2s ease;
  width: 100%;
}

.event-link:hover,
.event-link:focus {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.event-link i {
  flex-shrink: 0;
  font-size: .75rem;
}

/* Featured Event Button */

.event-card-featured .event-link {
  background: var(--secondary);
  color: #fff;
}

.event-card-featured .event-link:hover,
.event-card-featured .event-link:focus {
  background: var(--secondary-dark);
  color: #fff;
}

/* Responsive */

@media (max-width: 980px) {
  .events-grid {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 640px) {
  .events-carousel {
    padding: 0 16px;
  }

  .events-grid {
    grid-auto-columns: 100%;
    gap: 18px;
    padding: 4px 0 14px;
  }

  .events-scroll-btn {
    display: flex;
    width: 30px;
    height: 38px;
  }

  .events-scroll-prev {
    left: -14px;
  }

  .events-scroll-next {
    right: -14px;
  }

  .bf-banner__overlay {
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .event-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .event-date {
    width: fit-content;
    height: auto;
    box-sizing: border-box;
    padding: 12px;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
  }

  .event-day {
    font-size: 1.4rem;
  }

  .event-link {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .bf-banner__content {
    padding: 24px 14px;
  }
}

/* ==================================================
   13. CONTACT US
================================================== */

.contact-section {
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact-info p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-card {
  padding: 20px;
  background: var(--soft-primary);
  border: 1px solid #ead4dc;
  border-left: 5px solid var(--primary);
  border-radius: 14px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  line-height: 1.2;
  min-width: 0;
}

.contact-list li+li {
  margin-top: 16px;
}

.contact-list i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 50%;
  color: var(--primary);
}

.contact-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--primary-dark);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.contact-list a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Form */

.contact-form {
  position: relative;
  padding: 24px;
  background: #fffafb;
  border: 1px solid #ead4dc;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(98, 50, 69, 0.08);
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 800;
}

.form-row label span {
  color: #8f1d1d;
}

.form-row input,
.form-row textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(230, 168, 106, .45);
  border-color: var(--primary);
}

.wrap-email {
  word-break: break-all;
}

/* Validation */

.form-error,
.form-row.invalid .form-error,
.recaptcha-error.show {
  display: none !important;
}

.form-row.valid input,
.form-row.valid textarea {
  border-color: #2e7d32;
}

.form-row.invalid input,
.form-row.invalid textarea {
  border-color: #8f1d1d;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(143, 29, 29, 0.78)
}

/* Form Note */

.form-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #edf6ff;
  border: 1px solid #cfe4fb;
  border-left: 4px solid #4a90e2;
  border-right: 4px solid #4a90e2;
  border-radius: 10px;
  color: #1e5b9a;
  font-size: .8rem;
  line-height: 1.5;
}

.form-note i {
  margin-top: 3px;
  color: #4a90e2;
}

/* Submit Button */

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color .2s ease,
    transform .2s ease,
    opacity .2s ease;
}

.contact-submit:hover,
.contact-submit:focus {
  background: var(--primary-dark);
}

.contact-submit:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.contact-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* Popup Overlay */

.contact-success-popup {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 250, 251, 0.96);
  backdrop-filter: blur(4px);
  border-radius: 16px;
}

.contact-success-popup.show {
  display: flex;
  animation: contactSuccessFade .25s ease;
}

@keyframes contactSuccessFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Success Popup */

.contact-success-box {
  width: 100%;
  max-width: 460px;
  padding: 32px 28px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #d9efe0;
  border-top: 6px solid #2e7d32;
  border-radius: 18px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .12),
    0 8px 24px rgba(46, 125, 50, .08);
  animation: contactSuccessScale .25s ease;
}

@keyframes contactSuccessScale {
  from {
    opacity: 0;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-success-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #edf8ef, #dff3e5);
  border: 2px solid #cde9d4;
  border-radius: 50%;
  color: #2e7d32;
  font-size: 2rem;
}

.contact-success-box h3 {
  margin: 0 0 10px;
  color: #2e7d32;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
}

.contact-success-box p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

/* Error Popup */

.contact-error-box {
  background: #fffbfb;
  border: 1px solid #e6b3b3;
  border-top: 6px solid #8f1d1d;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .12),
    0 8px 24px rgba(143, 29, 29, .12);
}

.contact-error-icon {
  background: linear-gradient(135deg, #ffe8e8, #ffd8d8);
  border: 2px solid #efb0b0;
  color: #8f1d1d;
}

.contact-error-box h3 {
  color: #8f1d1d;
}

.contact-error-message {
  color: #5c1a1a;
  font-weight: 500;
}

.g-recaptcha.invalid {
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(143, 29, 29, 0.68);
}

/* Popup Close Button */

.contact-success-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 46px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #2e7d32;
  color: #ffffff;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color .2s ease,
    transform .2s ease;
}

.contact-success-close:hover,
.contact-success-close:focus {
  background: #35a83b;
  transform: translateY(-1px);
}

.contact-success-close:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.contact-error-box .contact-success-close {
  background: #8f1d1d;
}

.contact-error-box .contact-success-close:hover,
.contact-error-box .contact-success-close:focus {
  background: #731717;
}

/* Contact responsiveness fix */

.contact-section,
.contact-layout,
.contact-info,
.contact-form,
.contact-card,
.form-note {
  min-width: 0;
  box-sizing: border-box;
}

.contact-form,
.contact-form * {
  box-sizing: border-box;
}

.contact-list a,
.form-note span,
.contact-info p {
  overflow-wrap: anywhere;
  word-break: normal;
}

.g-recaptcha {
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

/* 980px and below */
@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info {
    display: contents;
  }

  .contact-info .section-title {
    order: 1;
  }

  #contact .section-title {
    margin-bottom: -10px;
  }

  .contact-info>p {
    order: 2;
    margin: 0;
  }

  .contact-card {
    order: 3;
    border-right: 5px solid var(--primary);
  }

  .contact-form {
    order: 4;
  }

  .form-note {
    order: 5;
    margin: 0;
  }

  .contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /*grid-template-columns: repeat(3, minmax(0, 1fr));*/
    gap: 14px;
  }

  .contact-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;

    padding: 16px;
    background: #ffffff;
    border: 1px solid #ead4dc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(98, 50, 69, 0.06);
  }

  .contact-list li+li {
    margin-top: 0;
  }

  .contact-list i {
    margin-bottom: -4px;
    background: #f6e2f1;
  }
}

/* 520px and below */
@media (max-width: 520px) {
  .contact-card {
    padding: 16px;
    border-right: 5px solid var(--primary);
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-list li {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #ead4dc;
    border-radius: 12px;
  }

  .contact-list strong {
    display: none;
  }

  .contact-list i {
    width: 42px;
    height: 42px;
    margin: 0;
    flex-shrink: 0;
    background: var(--soft-primary);
    border: 1px solid #ead4dc;
  }

  .contact-list span {
    min-width: 0;
  }

  .contact-list a {
    word-break: break-word;
  }
}

/* 480px and below */
@media (max-width: 480px) {
  .contact-section {
    padding: 20px;
  }

  .contact-form,
  .contact-card {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .form-note {
    font-size: .82rem;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-success-popup {
    padding: 16px;
  }

  .contact-success-box {
    padding: 24px 20px;
  }

  .contact-success-icon {
    width: 64px;
    height: 64px;
    font-size: 1.7rem;
  }

  .contact-success-box h3 {
    font-size: 1.3rem;
  }

  .contact-success-close {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .g-recaptcha>div {
    transform: scale(0.82);
    transform-origin: center;
  }
}

@media (max-width: 360px) {
  .g-recaptcha>div {
    transform: scale(0.82);
    transform-origin: center;
  }
}

@media (max-width: 320px) {
  .g-recaptcha>div {
    transform: scale(0.75);
    transform-origin: center;
  }
}

/* ==================================================
   14. ACCESSIBILITY
================================================== */

.breastfeeding-page a:focus,
.breastfeeding-page button:focus,
.bf-banner a:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ==================================================
   15. STICKY DISCLAIMER
================================================== */

.bf-disclaimer {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition:
    opacity .28s ease,
    visibility .28s ease,
    transform .28s ease;
}

.bf-disclaimer.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 28px);
  pointer-events: none;
}

/* Disclaimer container */

.bf-disclaimer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
  max-height: 42vh;
  overflow-y: auto;
  padding: 20px 22px;
  background: #fff8e6;
  border: 2px solid #f4c542;
  border-left: 5px solid #d97706;
  border-right: 5px solid #d97706;
  border-radius: 15px;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, .18),
    0 0 0 4px rgba(244, 197, 66, .15);
  backdrop-filter: none;
}

/* Disclaimer text */

.bf-disclaimer-text {
  color: var(--text);
  min-width: 0;
}

.bf-disclaimer-text strong {
  color: #7c2d12;
  font-weight: 700;
}

.bf-disclaimer-lead {
  display: block;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217, 119, 6, .25);
  color: #7c2d12;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.55;
}

.bf-disclaimer-copy {
  display: block;
  min-width: 0;
  text-align: center;
}

.bf-disclaimer-text p:not(.bf-disclaimer-lead) {
  margin: 0;
  color: #4b5563;
  font-size: .82rem;
  line-height: 1.6;
}

/* Disclaimer close button */

.bf-disclaimer-close {
  width: 28px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #7c2d12;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  justify-self: end;
  margin-top: -13px;
  margin-right: -16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.bf-disclaimer-close:hover,
.bf-disclaimer-close:focus {
  background: #d97706;
  color: #ffffff;
  transform: scale(1.05);
}

.bf-disclaimer-close i {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
}

/* Disclaimer scrollbar */

.bf-disclaimer-content::-webkit-scrollbar {
  width: 8px;
}

.bf-disclaimer-content::-webkit-scrollbar-track {
  background: transparent;
}

.bf-disclaimer-content::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 6, .35);
  border-radius: 999px;
}


/* Featured Event Note
================================================== */

.events-note {
    display: flex;
    align-items: flex-start;
    gap: .85rem;

    margin: 0 0 2rem;
    padding: .9rem 1.1rem;

    background: linear-gradient(
        180deg,
        #fffdf8 0%,
        #fff8f1 100%
    );

    border: 1px solid #f0d3b2;
    border-left: 5px solid var(--secondary);
    border-radius: 12px;

    color: var(--text);
    font-size: .813rem !important;
    line-height: 1.6;

    box-shadow: 0 8px 20px rgba(98, 50, 69, .08);
}

.events-note i {
    flex-shrink: 0;

    width: 1.75rem;
    height: 1.75rem;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: .05rem;

    background: var(--secondary);
    border-radius: 50%;

    color: #fff;
    font-size: .65rem !important;
}

.events-note strong {
    color: var(--secondary-dark);
}

@media (max-width: 480px) {
    .events-note {
        padding: .85rem 1rem;
        gap: .65rem;
        font-size: .78rem !important; /* ~12.5px */
    }

    .events-note i {
        width: 1.6rem;
        height: 1.6rem;
        font-size: .7rem;
    }
}


/* ==================================================
   16. RESPONSIVE: TABLET AND BELOW
================================================== */

@media (max-width: 980px) {

  .benefits-grid,
  .feeding-grid {
    grid-template-columns: 1fr;
  }

  .video-links,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-footer {
    padding: 8px 12px;
    font-size: .85rem;
    width: 100%;
    max-width: 250px;
  }

  #contact .mt-3 {
    margin-top: 0rem !important;
  }

}

/* ==================================================
   17. RESPONSIVE: 768PX AND BELOW
================================================== */

@media (max-width: 768px) {
  .breastfeeding-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .carousel-container {
    margin: 0 auto !important;
  }

  .intro-image {
    order: 1;
    width: 100%;
    margin-bottom: 15px;
  }

  .intro-content {
    order: 2;
    padding: 0;
  }

  .intro-image img {
    display: block;
    width: 100%;
    /*height: 240px;*/
    object-fit: cover;
    border-radius: 10px;
  }

  .why-important-grid {
    grid-template-columns: 1fr;
  }

  .why-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }

  .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 22px 18px;
    border-radius: 16px;
  }

  .stat-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
  }

  .stat-icon i {
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 2.6rem;
    margin-bottom: 8px;
  }

  .stat-title {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.25;
  }

  .stat-label {
    max-width: 260px;
    margin: 0 auto;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .bf-disclaimer {
    bottom: 12px;
    width: calc(100% - 20px);
  }

  .bf-disclaimer-content {
    grid-template-columns: 1fr auto;
    gap: 12px;
    max-height: 50vh;
    padding: 16px;
    border-radius: 18px;
  }

  .bf-disclaimer-lead {
    font-size: .85rem;
  }

  .bf-disclaimer-text p:not(.bf-disclaimer-lead) {
    font-size: .78rem;
  }

  .latch-details {
    display: flex;
    flex-direction: column;
  }

  .latch-video {
    order: 2;
    margin-top: 0;
    width: 100%;
    max-width: none;
    align-self: stretch;
  }

  .latch-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
  }

  .full-width-mobile {
    width: 100%;
  }

  .latch-checklist {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .checklist-label {
    display: flex;
    justify-content: center;
    width: fit-content;
    box-sizing: border-box;
  }

  .bf-banner__content {
    padding: 32px 20px;
  }

  .events-header p,
  .contact-info>p {
    font-size: 0.9rem;
  }

  .resource-grid {
    max-height: none;
    overflow: visible;
  }
}

/* ==================================================
   18. RESPONSIVE: 640PX AND BELOW
================================================== */

@media (max-width: 640px) {
  .events-carousel {
    padding: 0 16px;
  }

  .events-grid {
    grid-auto-columns: 100%;
    gap: 18px;
    padding: 4px 0 14px;
  }

  .events-grid:has(.events-empty) {
    overflow-x: visible;
  }

  .events-empty {
    width: 100%;
    max-width: 100%;
    min-height: 220px;
    padding: 32px 20px;
  }

  .events-scroll-btn {
    display: flex;
    width: 30px;
    height: 38px;
  }

  .bf-banner__overlay {
    padding: 0px;
  }

  .breastfeeding-page main {
    padding: 28px 14px 56px;
  }

  .video-links,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .info-alert,
  .recommendation-card,
  .latch-section,
  .benefit-card,
  .success-box,
  .warning-box {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .resource-card {
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(98, 50, 69, 0.06);
  }

  .resource-tag {
    margin-bottom: 8px;
    font-size: .68rem;
  }

  .resource-card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .resource-card p {
    margin-bottom: 12px;
    font-size: .88rem;
    line-height: 1.45;
  }

  .contact-form {
    padding: 18px;
    border-radius: 14px;
  }

  .form-row {
    margin-bottom: 14px;
  }

  .form-row label {
    font-size: .88rem;
  }

  .form-row input,
  .form-row textarea {
    min-height: 46px;
    padding: 12px;
    font-size: 1rem;
  }

  .form-row textarea {
    min-height: 130px;
  }

  .form-error {
    padding: 9px 10px 9px 34px;
    font-size: .8rem;
  }

  .g-recaptcha {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
  }

  .contact-submit {
    min-height: 50px;
    font-size: 1rem;
  }
}

@media (max-width: 505px) {
  .source-citation small {
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }

  .reference-number {
    flex-shrink: 0;
  }

  .reference-content {
    flex: 1;
  }
}

/* ==================================================
   19. RESPONSIVE: 480PX AND BELOW
================================================== */

@media (max-width: 480px) {
  .video-links {
    padding: 12px;
  }

  .bf-banner__content h1 {
    max-width: 100%;
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .bf-banner__content p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
    flex: 1 1 0;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .bf-disclaimer-content {
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
  }

  .bf-disclaimer-text {
    width: 100%;
    max-width: 100%;
  }

  .bf-disclaimer-close {
    position: absolute;
    top: 2px;
    right: 0px;
    margin: 0;
    width: 26px;
    height: 32px;
  }

  .bf-disclaimer-copy,
  .bf-disclaimer-text p {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }

  .video-section .section-intro {
    word-break: break-all;
  }

  .why-copy p {
    word-wrap: break-word;
  }

  .content-section p,
  .info-alert p,
  .recommendation-card p,
  .latch-section p,
  .benefit-card li,
  .feeding-grid li {
    word-wrap: break-word;
    font-size: 0.85rem;
  }

  .event-details li {
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .stat-card {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 2.35rem;
  }

  .stat-title {
    font-size: 0.95rem;
  }

  .stat-label {
    font-size: 0.84rem;
  }
}

@media (max-width: 415px) {

  .contact-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 14px;
    background: #ffffff;
    border: 1px solid #ead4dc;
    border-radius: 12px;
  }

  .contact-list i {
    margin-bottom: 4px;
  }

  .contact-list span {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 400px) {

  .bf-banner__content h1 {
    font-size: 1.5rem;
  }

  .bf-banner__content {
    padding: 30px 10px;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1;
    width: auto
  }

  .bf-tag {
    font-size: 0.72rem;
  }

}

@media (max-width: 380px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    flex: 1 1 100%;
  }

  .breastfeeding-page main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .content-section,
  .info-alert,
  .recommendation-card,
  .latch-section,
  .benefit-card,
  .success-box,
  .warning-box {
    padding: 20px;
  }

  .breastfeeding-intro {
    padding: 20px;
  }

  .intro-content {
    padding: 0;
  }

  .intro-image,
  .intro-image img {
    width: 100%;
  }
}

@media (max-width: 350px) {

  .breastfeeding-page main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .content-section,
  .breastfeeding-intro,
  .info-alert,
  .recommendation-card,
  .latch-section,
  .benefit-card,
  .success-box,
  .warning-box {
    padding: 14px;
  }

  .feeding-grid {
    gap: 12px;
  }

  .feeding-label,
  .support-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    box-sizing: border-box;

    gap: 4px;
    padding: 6px 8px;

    font-size: 0.55rem;
    line-height: 1.2;
    text-align: center;

    white-space: normal;
    overflow-wrap: anywhere;
    border-radius: 10px;
  }

  .success-box h3,
  .warning-box h3 {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.3;
  }

  .success-box li,
  .warning-box li {
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .warning-box li::before {
    width: 6px;
    height: 6px;
  }

  .intro-image,
  .intro-image img {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .intro-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .section-title {
    width: 100%;
    max-width: 100%;
  }

  .bf-banner__content {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 330px) {

  .breastfeeding-page main {
    padding-left: 8px;
    padding-right: 8px;
  }

  #contact,
  #contact * {
    box-sizing: border-box;
  }

  #contact.content-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Contact heading */
  #contact .section-title {
    font-size: 1.35rem;
    line-height: 1.25;
    padding-bottom: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  #contact .section-title::after {
    width: 48px;
  }

  /* Feeding cards */
  .feeding-grid,
  .contact-layout,
  .contact-info,
  .contact-card,
  .contact-form,
  .form-note,
  .form-row,
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .success-box,
  .warning-box,
  .contact-card,
  .contact-form {
    padding: 12px;
    box-sizing: border-box;
  }

  .success-box li,
  .warning-box li {
    padding-left: 24px;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .feeding-label,
  .support-label {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    border-radius: 12px;
  }

  /* Contact card */
  .contact-list li {
    min-width: 0;
    gap: 8px;
  }

  .contact-list i {
    width: 34px;
    height: 34px;
  }

  .contact-list span,
  .wrap-email,
  .form-note span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .form-note {
    padding: 10px;
    gap: 6px;
    overflow-wrap: anywhere;
  }

  /* reCAPTCHA */
  .g-recaptcha {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: 58px;
  }

  .g-recaptcha>div {
    width: 304px !important;
    height: 78px !important;
    transform: scale(0.72);
    transform-origin: center;
  }
}

@media (max-width: 280px) {

  .feeding-grid {
    gap: 10px;
  }

  .success-box,
  .warning-box {
    padding: 10px;
    border-radius: 8px;
  }

  .feeding-label,
  .support-label {
    width: 100%;
    padding: 5px 6px;

    font-size: 0.5rem;
    line-height: 1.15;

    gap: 3px;
    border-radius: 8px;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .feeding-label i,
  .support-label i {
    font-size: 0.7rem;
  }

  .success-box h3,
  .warning-box h3 {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.25;

    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .success-box li,
  .warning-box li {
    padding-left: 18px;
    margin-bottom: 5px;

    font-size: 0.78rem;
    line-height: 1.35;

    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .success-box li::before {
    font-size: 0.75rem;
  }

  .warning-box li::before {
    width: 5px;
    height: 5px;
  }

  .why-stats {
    gap: 10px;
    margin-top: 16px;
  }

  .stat-card {
    padding: 12px 10px;
    border-radius: 10px;
  }

  .stat-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }

  .stat-icon i {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .stat-title {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;

    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .stat-label {
    max-width: 100%;
    font-size: 0.75rem;
    line-height: 1.35;

    overflow-wrap: anywhere;
    word-break: break-word;
  }
}