/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container baseline to match 1440 canvas with 64px side padding */
.don-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

/* =========================================================
   HERO (1440×707; image rotated -180°, overlay 25% black)
   ========================================================= */
.don-hero {
  position: relative;
  min-height: 707px;
  isolation: isolate;
  /* new stacking context */
  z-index: 0;
}

.don-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/donation/hero.png');
  /* <-- relative to this CSS file */
  background-size: cover;
  background-position: center;
  transform: rotate(360deg);
  /* -180° */
  z-index: 0;
}

/* overlay */
.don-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 1;
}

.don-hero__inner {
  position: relative;
  z-index: 2;
  /* above overlay */
  min-height: 707px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Card: 752px fixed width, radius 20, padding 48, gap 32 */
.don-hero__card {
  width: 752px;
  max-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.don-hero__title {
  margin: 0;
  color: #146782;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
}

.don-hero__sub {
  margin: 0;
  color: #000;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
}

/* Buttons */
/* Buttons */
/* Base button style (applies to all buttons, including navbar) */



/* Base Hero Button */
/* Hero Button Base */
/* Base button style */
.bnt {
  display: inline-flex;
  /* inline instead of block */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .15s ease, filter .15s ease;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  cursor: pointer;
  border: 0;
  width: auto;
  /* prevents full-width stretch */
  max-width: max-content;
  /* hug text content */
}

/* Small button */
.bnt-small {
  padding: 6px 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
}

/* Primary button */
.bnt-primary {
  background-color: #146782;
  /* adjust if needed */
  color: #fff;
}





/* =========================================================
   YOUR SUPPORT MAKES AN IMPACT
   ========================================================= */
.don-impact {
  position: relative;
  z-index: 2;
  background: #FAF9F5;
  /* match the whole page background */
  padding-top: 60px;
  padding-bottom: 80px;
}

.don-impact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  max-width: 1312px;
  margin: 0 auto;

  align-items: start;
  /* keep right text top aligned */
}

.impact-left {
  align-self: center;
  /* ✅ vertically center this column in the grid */
}

.yt-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.yt-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Right column */
.impact-right {
  width: 100%;
  max-width: 616px;
}

.impact-title {
  margin: 0 0 16px;
  color: #146782;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;

}

.impact-body {
  margin: 0 0 24px;
  color: #000000;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  width: 616px;

}

/* Points row (two items) */
.impact-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.point {
  display: flex;
  flex-direction: column;
  /* stack icon on top */
  align-items: center;
  /* center horizontally */
  text-align: center;
  /* align text under icon */
}

.point-icon {
  width: 55px;
  /* make icons larger */
  height: 55px;
  object-fit: contain;
  margin-bottom: 12px;
  /* space below icon */
}

.point-text {
  max-width: 320px;
  /* optional, keeps text readable */
}

.point-title {
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  margin: 0 0 6px;
  color: #000;
}

.point-text p {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 150%;
  color: #222;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .don-impact__inner {
    column-gap: 48px;
    padding: 20px;
  }

  .impact-title {
    font-size: 40px;
  }
}

@media (max-width: 900px) {
  .don-impact__inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
    min-height: auto;
  }

  .impact-right {
    max-width: 100%;
  }

  .impact-points {
    grid-template-columns: 1fr;
  }

  .donation-page .container {
    padding: 0 24px;
  }
}


/* ===== WAYS TO SUPPORT US ===== */

/* ========== WAYS TO SUPPORT US (Figma: 1440 x 1008, inner 1312) ========== */
.don-ways {
  background: #FAF9F5;
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

/* Remove gradient that caused mismatch */
.don-ways::after {
  display: none;
  /* hides the radial gradient overlay */
}


.don-ways__header {
  max-width: 1312px;
  padding: 0 64px;
  margin: 0 auto 32px;
  text-align: center;
}

.don-ways__title {
  margin: 0 0 8px;
  color: #146782;
  font: 700 48px/120% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

.don-ways__subtitle {
  margin: 0;
  font: 400 18px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #000;
}

/* GRID: Left column (tall card) + Right column (2 shorter cards) */
.don-ways__grid {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

/* Left column - single tall card */
.don-ways__left {
  display: flex;
  flex-direction: column;
}

/* Right column - two stacked cards */
.don-ways__right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

/* CARD */
.don-card {
  background: #FAF9F5;
  border: 4px solid #146782;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%
}

/* Tall left card - matches height of both right cards + gap */


/* Icon */
.don-card__icon {
  margin-bottom: 16px;
}

.don-card__icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

/* Title & Body */
.don-card__title {
  margin: 0 0 12px;
  font: 700 32px/130% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #000;
}

.don-card__body {
  margin: 0 0 20px;
  font: 400 16px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #111;
  flex: 1;
}

/* Address block in "Mail a check" */
.don-card__address {
  margin-top: 12px;
  font: 400 16px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #146782;
  font-style: normal;
  text-align: center;
}

/* "Donate ›" link button */
.don-card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 16px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  text-decoration: none;
  color: #000;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.don-card__link .chev {
  font-size: 18px;
  line-height: 1;
}

.don-card__link:hover {
  color: #146782;
  border-color: #146782;
}

.don-ways__footnote {
  max-width: 1312px;
  padding: 16px 64px 0;
  margin: 12px auto 0;
  font: 400 14px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #555;
  text-align: center;
}

/* Icon placeholder styles for demo */
.icon-placeholder {
  width: 46px;
  height: 46px;
  background: #146782;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

/*         /* Fundly section within the tall card */
.don-card__fundly {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 2px solid #f0f0f0;
}

.don-card__fundly .don-card__icon {
  margin-bottom: 16px;
}

.don-card__fundly .don-card__title {
  margin: 0 0 12px;
}

*/

/* Updated Cruise Donation Block */
.don-card__fundly .don-card__body {
  margin: 0 0 20px;
  font: 400 16px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #111;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .don-ways__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .don-ways__right {
    grid-template-rows: auto auto;
  }

  .don-card--tall,
  .don-card--short {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .don-ways__title {
    font-size: 34px;
  }

  .don-ways__subtitle {
    font-size: 16px;
  }

  .don-card {
    padding: 24px;
    border-radius: 16px;
  }

  .don-card__title {
    font-size: 26px;
  }

  .don-ways__header,
  .don-ways__grid,
  .don-ways__footnote {
    padding-left: 24px;
    padding-right: 24px;
  }

  .don-ways__grid,
  .don-ways__right {
    gap: 16px;
  }
}

/* ---------- Where will my money go? ---------- */
.don-where {
  background: #FAF9F5;
  /* light background per spec */
}

.don-where__wrap {
  max-width: 1440px;
  /* Figma width */
  margin: 0 auto;
  padding: 0 64px;
  /* page-side breathing room */
}

.don-where__box {
  position: relative;
  min-height: 560px;
  /* fixed section height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  /* spacing between icon, title, body */
  text-align: center;
}

/* Icon */
.don-where__icon {
  width: 48px;
  /* matches H2 scale */
  height: auto;
  display: block;
}

/* Heading */
.don-where__title {
  margin: 0;
  color: #146782;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
}

/* Body copy */
.don-where__text {
  margin: 0;
  width: min(698px, 100%);
  /* Figma body width */
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: #000;
}

/* Decorative teal corners */
.don-corner {
  position: absolute;
  width: 76px;
  /* corner length */
  height: 76px;
  pointer-events: none;
}

.don-corner.tl {
  top: 132px;
  left: 132px;
  border-top: 4px solid #146782;
  border-left: 4px solid #146782;
}

.don-corner.tr {
  top: 132px;
  right: 132px;
  border-top: 4px solid #146782;
  border-right: 4px solid #146782;
}

.don-corner.bl {
  bottom: 132px;
  left: 132px;
  border-bottom: 4px solid #146782;
  border-left: 4px solid #146782;
}

.don-corner.br {
  bottom: 132px;
  right: 132px;
  border-bottom: 4px solid #146782;
  border-right: 4px solid #146782;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .don-where__wrap {
    padding: 0 24px;
  }

  .don-corner {
    display: none;
  }

  /* hide corners on small screens */
  .don-where__title {
    font-size: 36px;
  }

  .don-where__text {
    width: 100%;
    font-size: 16px;
  }
}

/* ---------- Donate CTA banner ---------- */
.don-cta {
  /* section spacing around the banner (Figma: top 60, bottom 112) */
  margin: 60px auto 112px;
}

.don-cta__inner {
  /* CENTER the banner */
  margin: 0 auto;
  /* <-- centers the 1312px-wide banner */

  /* sizing */
  max-width: 1312px;
  /* Figma: Fill ~1312 */
  min-height: 144px;
  /* Figma: Hug 144px */
  padding: 48px;
  /* Figma: padding 48px */
  gap: 32px;
  /* Figma: gap 32px */

  /* layout */
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* visuals */
  border-radius: 10px;
  /* Figma: radius 10px */
  border: 1px solid #000;
  /* Figma: border 1px */
  overflow: hidden;

  /* dark overlays + background image */
  background-image:
    linear-gradient(rgba(0, 0, 0, .50), rgba(0, 0, 0, .50)),
    linear-gradient(rgba(0, 0, 0, .20), rgba(0, 0, 0, .20)),
    url("../img/donation/footerimg.png");
  /* adjust path if needed */
  background-size: cover;
  width: 1312px;
  height: 144px;
  background-position: center;
  background-repeat: no-repeat;
}

.don-cta__title {
  color: #fff;
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  /* Figma */
  line-height: 1.2;
  /* 120% */
  letter-spacing: 0;
  margin: 0;
}

.don-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  background: #146782;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.don-cta__btn:hover {
  background: #0f4d5a;
  transform: translateY(-2px);
}


/* Responsive stacking */
@media (max-width: 720px) {
  .don-cta__inner {
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .don-cta__title {
    font-size: 30px;
  }

  .don-cta__btn {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .don-cta__title {
    font-size: 26px;
  }
}

/* Proper spacing between PayPal block and Cruise block */
.don-divider {
  margin: 48px 0 40px;
  border: none;
  border-top: 1px solid #e5e5e5;
}

/* Cruise donation group spacing */
.cruise-donation {
  margin-top: 20px;
  padding-top: 10px;
}

/* Bigger, centered, balanced WinWinLabs logo */
.cruise-icon img {
  width: 220px;
  /* Increased size */
  height: auto;
  display: block;
  margin: 0 auto 28px;
  /* Center + spacing below */
  opacity: 1;
}

/* Cruise Title */
.cruise-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 135%;
  color: #000;
}


/* Cruise Description */
.cruise-body {
  font: 400 16px/150% "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #111;
  margin: 0 0 18px;
  max-width: 92%;
  /* makes it read shorter + cleaner */
}

/* Donate link alignment and spacing */
.cruise-link {
  margin-top: 12px;
  font-weight: 500;
}

/* Bigger, centered WinWinLabs logo */
.cruise-icon img {
  width: 120px;
  /* Increased from 90px → 160px */
  height: auto;
  display: block;
  margin: 0px 0px;
  opacity: 1;
  /* Full visibility */
}

/* =====================================================
   GLOBAL MOBILE FIX — DONATION & MERCH PAGES
   Safe: desktop untouched
===================================================== */
@media (max-width: 768px) {

  /* ---------- CONTAINERS ---------- */
  .don-container,
  .don-ways__grid,
  .don-ways__header,
  .don-ways__footnote,
  .don-where__wrap,
  .merch-bonfire .container,
  .merch-hiw .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
  }

  /* ---------- HERO CARD ---------- */
  .don-hero__card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  /* ---------- REMOVE FIXED WIDTHS ---------- */
  .impact-body,
  .bonfire__mock,
  .bonfire__note {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ---------- REMOVE FIXED HEIGHTS ---------- */
  .don-card--tall,
  .don-card--short,
  .don-where__box {
    height: auto !important;
    min-height: unset !important;
  }

  /* ---------- STACK GRIDS ---------- */
  .don-impact__inner,
  .don-ways__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .don-ways__right {
    grid-template-rows: auto !important;
  }

  /* ---------- CTA BANNER ---------- */
  .don-cta__inner {
    width: 100% !important;
    height: auto !important;
    padding: 24px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .don-cta__title {
    font-size: 26px !important;
  }

  /* ---------- TYPOGRAPHY SCALE ---------- */
  h1, .don-hero__title, .bonfire__title, .hiw__title, .don-where__title {
    font-size: 34px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  p {
    font-size: 16px !important;
  }
}

/* =========================================
   DONATION HERO — MOBILE ONLY TRANSPARENCY
   Desktop remains unchanged
========================================= */
@media (max-width: 768px) {
  .don-hero__card {
    background: rgba(255, 255, 255, 0.65); /* subtle transparency */
    backdrop-filter: blur(2px);           /* soft glass effect */
    -webkit-backdrop-filter: blur(2px);   /* iOS / Safari support */
  }
}

/* ===============================
   DONATE HERO BUTTON (LOCKED)
================================ */
.don-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 155px;
  height: 56px;

  margin-top: 32px;

  background: #146782;          /* brand teal */
  color: #ffffff;

  font-size: 18px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 12px;
  border: none;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.don-hero__btn:hover {
  background: #0e5162;
  transform: translateY(-1px);
}

/* ===========================
   Donate CTA – noticeable but calm
=========================== */
.don-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 24px;
  padding: 12px 22px;

  font-size: 17px;
  font-weight: 700;

  color: #1f5f74;
  background-color: #ffffff;

  border: 2px solid #1f5f74;
  border-radius: 12px;

  text-decoration: none;
  width: fit-content;

  transition: all 0.2s ease;
}

/* Hover / focus */
.don-card__link:hover,
.don-card__link:focus-visible {
  background-color: #1f5f74;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(31, 95, 116, 0.25);
  transform: translateY(-1px);
}

/* Chevron clarity */
.don-card__link .chev {
  font-size: 18px;
  line-height: 1;
}

/* Ensure donation cards contain their content */
.don-card {
  display: flex;
  flex-direction: column;
	padding-bottom: 32px;
}

.don-card__link {
  margin-top: auto;       /* pushes button to bottom */
  align-self: flex-start; /* keeps left alignment */
}

