/* =========================================================
   Educational Kit page only (childrens_day.html)
   Loaded AFTER urgent_cause_support.css, so these rules add to
   or override the shared campaign layout for this page.
   ========================================================= */

/* ---------------------------------------------------------
   Hero, left side (cd-* classes are this page only).
   Everything left-aligned on one edge; centred on phones.
   --------------------------------------------------------- */
.cd-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}

.cd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #f0d9b5;
  color: #b5791a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(181, 121, 26, 0.08);
}

.cd-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #1b1b1b;
  margin: 0 0 14px;
}

.cd-title__accent {
  display: block;
  color: #0d7bee;
}

.cd-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0 0 26px;
  max-width: 500px;
}

.cd-hero .u-goal {
  width: 100%;
  margin-bottom: 22px;
}

.cd-btn {
  font-size: 18px;
  padding: 15px 40px;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(13, 123, 238, 0.28);
}

.cd-badges {
  padding-top: 0;
}

/* Desktop: the column shrinks to its widest line (the title), so the
   Donate button centres under the text rather than the empty column. */
@media (min-width: 1025px) {
  .cd-hero {
    width: fit-content;
  }
  .cd-btn {
    align-self: center;
  }
}

.cd-trust-m {
  display: none;
}

@media (max-width: 1024px) {
  .cd-hero {
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
  }
  .cd-badges {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Same 16px side gutter as the poster above */
  .cd-hero {
    padding: 0 6px;
  }
  .cd-eyebrow {
    font-size: 12px;
    margin: 8px 0 14px;
  }
  .cd-title {
    font-size: 27px;
    margin-bottom: 10px;
  }
  .cd-lead {
    font-size: 14.5px;
    max-width: none;
    text-wrap: balance;
    margin-bottom: 20px;
  }
  .cd-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    font-size: 16px;
    padding: 14px 24px;
    margin-bottom: 14px;
  }
  .cd-trust-m {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #6b7280;
    margin: 0;
  }
  /* Breathing room before the "EDUCATIONAL KIT" heading */
  .hero-home .u-hero-inner {
    padding-bottom: 36px;
  }
  /* Wider top poster: 10px side gap instead of the shared 24px */
  .hero-home .cd-hero + .u-hero-img-wrap {
    margin: 0 -14px;
  }
  .hero-home .cd-hero + .u-hero-img-wrap img {
    max-width: none;
  }
}

/* Quote card is a little narrower than on Rebuild Home (422px).
   Desktop/tablet only: phones keep the shared full-width rule. */
@media (min-width: 769px) {
  .u-quote-card {
    max-width: 415px;
  }
}

/* "(1 Kit = ₹1,000)" note next to the "Number of Kits" label */
.ek-kit-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

/* Custom quantity error message on phones */
@media (max-width: 768px) {
  /* "View More / View Less" on the right, same line as the "— Annai Teresa Foundation" credit */
  .cd-quote-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .cd-quote-foot .u-quote-toggle {
    margin: 0;
  }

  #ek-custom-qty-error {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 4px;
  }
}

/* Live total under the kit buttons: "TOTAL  2 Kits x Rs.1,000 = Rs.2,000".
   Shown on every screen size (laptop and phone), right where the donor
   picks the quantity. */
.ek-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  background: #eef6ff;
  border: 1.5px solid #1e90ff;
  border-radius: 12px;
  font-size: 14px;
  color: #374151;
}

.ek-total-label {
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0d7bee;
}

.ek-total-calc strong {
  font-size: 20px;
  font-weight: 800;
  color: #1b1b1b;
}

/* Amount shown on the "Proceed To Pay" button (all screen sizes) */
.ek-pay-amount {
  font-weight: 800;
  margin-left: 4px;
}
