/* Small integration adjustments. The source site's layout is in style.css. */
[hidden] { display: none !important; }
html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
body.has-sticky-donate { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.sticky-donate {
  position: fixed;
  z-index: 1000;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(243, 250, 255, .97);
  border-top: 1px solid #b4e5fb;
  box-shadow: 0 -4px 20px rgba(30, 58, 138, .1);
  transition: none;
}
.sticky-donate-button {
  width: 100%;
  max-width: 380px;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 50px;
  background: #325199;
  color: #fff;
  font: 700 1.1rem/1.4 var(--font-family);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(50, 81, 153, .2);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.sticky-donate-button:hover { background: #1e3a8a; }
.sticky-donate-button:focus { outline: 3px solid #087fbf; outline-offset: 3px; }
body.has-open-modal .sticky-donate { display: none; }
.video-wrapper #storyVideo { display: block; width: 100%; max-width: 400px; height: auto; aspect-ratio: 9 / 16; margin: 0 auto; background: #000; object-fit: contain; }
.video-wrapper.story-player { position: relative; max-width: 400px; }
.story-play-button {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 12px;
  border: 1px solid #b4e5fb;
  border-radius: 16px;
  background: #325199;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3);
}
.story-play-button:hover { background: #1e3a8a; }
.story-play-button:focus { outline: 3px solid #fff; outline-offset: 4px; }
.story-play-button:disabled { cursor: progress; }
.story-play-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: #fff; color: #325199; }
.story-play-button:not(.is-playing) .story-pause-symbol,
.story-play-button.is-playing .story-play-symbol { display: none; }
.story-player.has-started .story-play-button { right: auto; bottom: 16px; width: 56px; height: 56px; padding: 4px; border-radius: 50%; }
.story-player.has-started .story-play-copy { display: none; }
.story-play-copy { display: flex; flex-direction: column; text-align: left; line-height: 1.4; }
.story-play-copy strong { font-size: 1.05rem; }
.story-play-copy > span { font-size: .8rem; margin-top: 3px; }
.story-video-error { max-width: 400px; margin: 12px auto 0; color: #1e3a8a; text-align: center; font-size: .9rem; }
.about-carousel, .new-transformation-carousel, .new-testimonials-carousel { touch-action: pan-y; }
.about-indicator, .new-transformation-indicator, .new-testimonials-indicator { display: inline-block; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible, input:focus-visible { outline: 3px solid #087fbf; outline-offset: 3px; }
#donationError { color: #a12350; margin: 0 0 12px; font-size: .9rem; }
#donationStep2 .modal-body { text-align: center; }
.donation-modal .modal-header h2 { padding-right: 2rem; }
/* Match the blue headings, impact amounts and light-blue sections of the page. */
.donation-modal {
  --donation-blue: #325199;
  --donation-dark: #1e3a8a;
  --donation-light: #e3f2fd;
  --donation-border: #b4e5fb;
}
.donation-modal .modal-content { overflow-y: auto; }
.donation-modal .modal-header,
.donation-modal .donation-btn.selected,
.donation-modal .selected-amount-display {
  background: linear-gradient(135deg, var(--donation-blue), var(--donation-dark));
  color: #fff;
}
.donation-modal .donation-type-indicator {
  background: #fff;
  border-bottom-color: var(--donation-border);
}
.donation-modal .donation-type-indicator span { color: var(--donation-dark); }
.donation-modal .modal-body,
.donation-modal .modal-footer { background: var(--donation-light); color: var(--donation-dark); }
.donation-modal .donation-btn { color: var(--donation-dark); border-color: var(--donation-border); }
.donation-modal .donation-btn::before { background: linear-gradient(90deg, transparent, rgba(50, 81, 153, .1), transparent); }
.donation-modal .donation-btn:hover {
  border-color: var(--donation-blue);
  background: #fff;
  color: var(--donation-dark);
  box-shadow: 0 8px 25px rgba(50, 81, 153, .15);
}
.donation-modal .donation-btn.selected,
.donation-modal .donation-btn.selected:hover {
  background: linear-gradient(135deg, var(--donation-blue), var(--donation-dark));
  border-color: var(--donation-blue);
  color: #fff;
  box-shadow: 0 8px 25px rgba(50, 81, 153, .25);
}
.donation-modal .donation-btn:active { box-shadow: 0 4px 15px rgba(50, 81, 153, .2); }
.donation-modal .donate-btn { background: var(--donation-blue); box-shadow: 0 4px 15px rgba(50, 81, 153, .25); }
.donation-modal .donate-btn:hover { background: var(--donation-dark); box-shadow: 0 8px 25px rgba(50, 81, 153, .3); }
.donation-modal .back-btn { color: var(--donation-dark); border-color: var(--donation-border); }
.donation-modal .back-btn:hover { color: var(--donation-dark); background: #fff; border-color: var(--donation-blue); }
.donation-modal button:focus { outline-color: var(--donation-blue); }
.donation-modal .close-btn:focus { outline-color: #fff; }
.donation-modal #donationError { color: var(--donation-dark); }
.currency-note { text-align: center; font-size: .875rem; margin: -8px auto 20px; color: #44536b; }
.modal[aria-hidden="true"] { display: none; }
.faq-answer[aria-hidden="true"] { visibility: hidden; }
.faq-answer[aria-hidden="false"] { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-animation, .transformation-cta-btn, .exit-popup, .exit-popup-content { animation: none !important; transition: none !important; }
}
