/* Program support and bank-transfer details supplied by the organization. */
.trip-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: 40px;
  padding: clamp(26px, 3.4vw, 48px);
  border: 1px solid #243b6717;
  border-radius: 30px;
  background: #fffdf8;
  color: var(--navy);
  scroll-margin-top: 100px;
}
.trip-support > * { min-width: 0; }
.support-kicker { display: block; font-size: 10px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.support-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.support-mark { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 16px; background: #fce7ef; color: var(--pink); }
.support-mark svg { width: 28px; height: 28px; }
.trip-support h3 { max-width: 16ch; font-size: clamp(30px, 3vw, 42px); line-height: 1.14; letter-spacing: -.045em; font-weight: 400; text-wrap: balance; }
.support-date { margin-top: 16px; font-size: 13px; line-height: 1.6; color: #53637d; }
.support-ways { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.support-ways li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: #e9f3f1; font-size: 11px; line-height: 1.5; }
.support-ways svg { width: 16px; height: 16px; flex: 0 0 16px; }
.support-panel { padding-left: clamp(24px, 3vw, 42px); border-left: 1px solid #243b671c; }
.support-status { display: inline-flex; align-items: center; gap: 7px; color: #a91d53; font-size: 11px; font-weight: 650; }
.support-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.support-goal { margin-top: 18px; }
.support-goal > span { display: block; font-size: 12px; color: #53637d; }
.support-goal > strong { display: block; margin-top: 6px; font-size: clamp(50px, 5.8vw, 76px); font-weight: 550; line-height: 1.08; letter-spacing: -.065em; white-space: nowrap; }
.support-goal > strong > span { color: var(--pink); font-size: .67em; }
.support-panel > p { margin: 12px 0 20px; max-width: 42ch; font-size: 14px; line-height: 1.65; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.support-actions .button { min-height: 48px; padding: 13px 22px; justify-content: center; border-radius: 999px; font-size: 13px; }
.support-materials { min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.support-document { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.footer#contact .footer-documents { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid #ffffff29; }
.footer#contact .charter-link { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; min-height: 56px; }
.footer#contact .charter-link > svg { width: 36px; height: 42px; color: var(--aqua); flex-shrink: 0; }
.footer#contact .charter-link strong { display: block; font-weight: 550; font-size: 14px; line-height: 1.5; }
.footer#contact .charter-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.footer#contact .footer-support-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; border: 1px solid #afe0e552; border-radius: 999px; font-size: 12px; color: var(--aqua); }
.footer#contact .footer-support-link:hover { background: #afe0e515; }
/* Keep the first-screen card about the trip; its funding goal lives in the support section. */
.hero .hero-donation { border-color: #ed287733; }
.hero .hero-donation .hero-event-place { font-weight: 400; }
.hero .hero-donation:hover { transform: none; }
.hero-donation-actions { display: grid; gap: 8px; margin-top: 20px; }
.hero .hero-donation .hero-donation-actions a { display: flex; grid-area: auto; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; line-height: 1.35; text-align: center; transition: background .2s, border-color .2s; }
.hero .hero-donation-actions .event-link { background: var(--action-pink, #c71c5c); color: #fff; }
.hero .hero-donation .hero-donation-actions .hero-trip-link { border-color: #243b6733; color: var(--navy); }
.hero .hero-donation .hero-donation-actions .hero-trip-link:hover { background: #afe0e533; border-color: #243b6766; }
.hero-donation-status { display: block; margin-top: 10px; font-size: 9px; color: #53637d; text-align: center; }
@media (min-width: 761px) {
  .hero.hero-compact .hero-donation .hero-event-place { margin-top: 12px; }
  .hero.hero-compact .hero-donation-actions { margin-top: 14px; gap: 6px; }
  .hero.hero-compact .hero-donation-status { margin-top: 8px; }
  /* Keep the ornament above the final letter and below the two-action card. */
  .hero.hero-compact .title-dot { top: .6em; }
}
@media (max-width: 760px) {
  .hero:has(.hero-3d) .hero-donation {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "kicker status" "place place" "date date" "actions actions";
    gap: 6px 12px;
    padding: 20px;
  }
  .hero:has(.hero-3d) .hero-donation .event-kicker { grid-area: kicker; align-self: center; font-size: 8px; }
  .hero:has(.hero-3d) .hero-donation .hero-event-place { grid-area: place; margin-top: 4px; }
  .hero:has(.hero-3d) .hero-donation .hero-event-date { grid-area: date; font-size: 11px; }
  .hero:has(.hero-3d) .hero-donation-actions { grid-area: actions; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
  .hero:has(.hero-3d) .hero-donation .hero-donation-actions a { padding: 9px 8px; font-size: 11px; }
  .hero:has(.hero-3d) .hero-donation-status { grid-area: status; align-self: center; margin: 0; text-align: right; font-size: 9px; }
}
/* Wide phones/tablets have room for the date beside the destination. */
@media (min-width: 600px) and (max-width: 760px) {
  .hero:has(.hero-3d) .hero-donation {
    grid-template-areas: "kicker status" "place date" "actions actions";
    padding: 22px 24px;
    gap: 10px 20px;
  }
  .hero:has(.hero-3d) .hero-donation .hero-event-place { margin-top: 2px; font-size: 26px; }
  .hero:has(.hero-3d) .hero-donation .hero-event-date { align-self: center; text-align: right; font-size: 12px; }
  .hero:has(.hero-3d) .hero-donation .hero-donation-actions a { font-size: 12px; }
}
@media (max-width: 900px) {
  .trip-support { grid-template-columns: 1fr; gap: 24px; }
  .trip-support h3 { max-width: 24ch; }
  .support-panel { padding: 24px 0 0; border-left: 0; border-top: 1px solid #243b671c; }
  .support-panel > p { max-width: 60ch; }
}
@media (max-width: 540px) {
  .trip-support { margin-top: 26px; padding: 24px 20px; border-radius: 24px; }
  .trip-support h3 { font-size: 30px; }
  .support-heading { margin-bottom: 18px; }
  .support-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .support-actions .button { width: 100%; }
  .support-materials { text-align: center; }
  .footer#contact .footer-documents { grid-template-columns: 1fr; gap: 16px; }
  .footer#contact .footer-support-link { justify-self: start; }
}

.support-intro { margin-top: 22px; max-width: 42ch; font-size: 14px; line-height: 1.7; }
.support-general { margin-top: 24px; padding-top: 18px; border-top: 1px solid #243b671c; display: grid; gap: 4px; }
.support-general > span { font-size: 11px; line-height: 1.6; color: #53637d; }
.support-general > button { justify-self: start; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.organization-facts { display: grid; gap: 12px; margin: 24px 0; }
.organization-facts > div { display: grid; gap: 4px; }
.organization-facts dt { font-size: 11px; color: #53637d; }
.organization-facts dd { margin: 0; font-size: 14px; line-height: 1.6; }
.organization-facts code, .footer-registration code { font-family: inherit; }
.organization-register { text-decoration: underline; text-underline-offset: 4px; }
.footer#contact .footer-registration { margin-top: 12px; font-size: 10px; line-height: 1.8; color: #afe0e5; }

.donation-dialog { width: min(920px, calc(100% - 32px)); padding: 38px; border-radius: 28px; }
.donation-dialog > .dialog-close { position: sticky; top: 12px; right: auto; float: right; z-index: 2; width: 44px; height: 44px; margin: -18px -18px -26px 0; background: var(--cream); box-shadow: 0 2px 12px #243b6710; }
.donation-dialog > .small-label { display: block; padding-right: 40px; font-size: 10px; letter-spacing: .09em; }
.donation-dialog h2 { margin: 18px 40px 24px 0; font-size: clamp(30px, 3.5vw, 42px); font-weight: 400; letter-spacing: -.045em; }
.donation-options { display: flex; padding: 5px; gap: 5px; width: fit-content; border: 1px solid #243b671a; border-radius: 999px; background: #e9f2f0; margin-bottom: 28px; }
.donation-options button { padding: 11px 22px; min-height: 44px; border: 0; border-radius: 999px; font-size: 13px; line-height: 1.3; }
.donation-options button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.donation-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; align-items: start; }
.donation-copy { min-width: 0; }
.donation-copy h3 { font-size: 25px; font-weight: 400; letter-spacing: -.035em; margin: 0 0 16px; }
.donation-copy p { font-size: 13px; line-height: 1.75; margin: 0; }
.donation-copy p + p { margin-top: 12px; }
.donation-purpose { padding: 18px; margin-top: 22px; border-radius: 16px; background: #e4f1ef; }
.donation-purpose > span { display: block; margin-bottom: 8px; font-size: 10px; color: #53637d; }
.donation-purpose p { font-size: 13px; line-height: 1.6; }
.donation-copy-purpose { min-height: 46px; padding: 13px 22px; font-size: 12px; margin-top: 16px; justify-content: center; }
.donation-copy .donation-feedback { min-height: 19px; margin-top: 8px; font-size: 11px; color: #50617c; }
.donation-qr-panel { padding: 24px 18px 18px; border: 1px solid #243b6714; border-radius: 22px; background: #fff; text-align: center; }
.donation-qr-frame { padding: 0; width: 220px; max-width: 100%; margin: 0 auto 18px; background: #fff; }
.donation-qr-frame img { display: block; width: 220px; max-width: 100%; height: auto; image-rendering: pixelated; }
.donation-qr-panel p { margin: 0; font-size: 11px; line-height: 1.65; }
.donation-qr-panel .donation-qr-note { margin-top: 12px; font-size: 12px; font-weight: 550; }
.donation-qr-download { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 10px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.donation-bank-details { margin-top: 22px; border-top: 1px solid #243b671f; }
.donation-bank-details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; font-size: 13px; list-style: none; cursor: pointer; }
.donation-bank-details summary::-webkit-details-marker { display: none; }
.donation-bank-details summary::after { content: '+'; font-size: 24px; font-weight: 400; }
.donation-bank-details[open] summary::after { content: '−'; }
.donation-requisites { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 0; padding: 18px; border-radius: 16px; background: #e9f2f0; }
.donation-requisites > div { min-width: 0; }
.donation-requisites dt { font-size: 10px; color: #53637d; margin-bottom: 5px; }
.donation-requisites dd { margin: 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.donation-requisites code { font: inherit; font-variant-numeric: tabular-nums; }
.donation-copy-requisites { min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; margin-top: 8px; }
.donation-copy-fallback { display: block; width: 100%; min-height: 180px; padding: 12px; border: 1px solid var(--navy); border-radius: 12px; background: #fff; color: var(--navy); }
.donation-dialog [hidden] { display: none; }
.donation-dialog-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; border-top: 1px solid #243b671f; }
.donation-dialog-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .donation-dialog { padding: 30px 22px 20px; border-radius: 24px; }
  .donation-dialog h2 { font-size: 32px; margin-bottom: 20px; }
  .donation-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .donation-options { width: 100%; margin-bottom: 24px; }
  .donation-options button { flex: 1; padding-inline: 8px; font-size: 12px; }
  .donation-copy h3 { font-size: 25px; }
  .donation-copy-purpose { width: 100%; }
  .donation-qr-panel { width: 100%; max-width: 340px; justify-self: center; padding: 22px; }
  .donation-requisites { grid-template-columns: 1fr; gap: 16px; }
}
