/* Viewport-sized opening with a slim white frame and rounded image corners. */
body { background: #fff; }
main { display: flow-root; }
.hero {
  height: calc(100vh - 2 * var(--hero-frame));
  height: calc(100dvh - 2 * var(--hero-frame));
  min-height: 0;
  max-height: none;
  padding-inline: clamp(24px, 4vw, 96px);
  grid-template-rows: auto minmax(0, 1fr);
}

.hero-content { align-self: end; padding-top: 0; text-align: left; }
.hero h1 { font-size: clamp(48px, 6vw, 96px); line-height: 1.06; }
.hero-bottom p { font-size: 18px; max-width: 520px; }

@media (max-width: 760px) {
  .hero { padding-inline: 20px; }
  .hero-content { padding-top: 0; }
  .hero h1 { font-size: clamp(30px, 8vw, 58px); }
  .hero-bottom p { font-size: 16px; }
}

@media (max-height: 650px) {
  .hero { padding-block: 16px; gap: 14px; }
  .hero .header { min-height: 58px; padding-bottom: 12px; }
  .hero-content { padding-top: 0; }
  .hero h1 { font-size: clamp(30px, 9vh, 64px); margin-bottom: 18px; }
  .hero-bottom { gap: 16px; }
  .hero-bottom p { font-size: 14px; }
}

@media (max-height: 480px) {
  .hero { grid-template-rows: auto minmax(0, 1fr); overflow-y: auto; }
  .hero-top, .hero .scroll-cue { display: none; }
  .hero-bottom { flex-direction: row; align-items: center; }
  .hero-bottom p { max-width: 360px; }
  .hero-bottom .button { flex-shrink: 0; padding: 10px 14px; }
  .hero h1 { font-size: clamp(28px, 8vh, 44px); margin-bottom: 12px; }
}

@media (max-width: 420px) and (max-height: 480px) {
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media(max-width:1050px){.hero .header-donate{display:none}}
