/* Donation page (/donate) and thank-you page. Mobile first; colours follow the admin-selected palette. */

.donate-hero { background: linear-gradient(135deg, var(--th-dark-2, var(--tb-navy)) 0%, var(--th-primary-2, var(--tb-navy-2)) 100%); color: #fff; padding: 1.4rem 0 2rem; position: relative; overflow: hidden; }
.donate-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.donate-hero .breadcrumb, .donate-hero .breadcrumb a, .donate-hero .breadcrumb-item.active, .donate-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .7); }
.donate-hero h1 { color: #fff; font-family: var(--tb-display, var(--tb-serif)); font-size: clamp(1.75rem, 6vw, 2.6rem); margin: .35rem 0 .5rem; }
.donate-kicker { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tb-gold-2); }
.donate-lead { color: rgba(255, 255, 255, .85); font-size: 1.02rem; max-width: 620px; margin: 0; }
.donate-hero-grid { display: grid; gap: 1.1rem; position: relative; z-index: 1; }
.donate-verse { margin: 0; padding: .9rem 1rem .9rem 2.6rem; position: relative; border-left: 3px solid var(--tb-gold); background: rgba(255, 255, 255, .07); border-radius: 0 12px 12px 0; font-family: var(--tb-serif); font-style: italic; color: rgba(255, 255, 255, .9); font-size: .98rem; }
.donate-verse i { position: absolute; left: .85rem; top: 1rem; color: var(--tb-gold); font-size: .95rem; }
@media (min-width: 992px) {
    .donate-hero { padding: 1.8rem 0 2.6rem; }
    .donate-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 2.5rem; }
}

.donate-page { margin-top: -1rem; position: relative; }
.donate-card { padding: 0; overflow: hidden; }
.donate-card .tab-pane { padding: 1.1rem; }
@media (min-width: 768px) { .donate-card .tab-pane { padding: 1.6rem; } }

.donate-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--tb-border); background: var(--tb-surface-2); }
.donate-tab { display: flex; align-items: center; gap: .6rem; min-height: 64px; padding: .7rem .9rem; border: 0; background: transparent; color: var(--tb-muted); text-align: left; font-weight: 700; border-bottom: 3px solid transparent; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.donate-tab i { font-size: 1.15rem; flex: none; }
.donate-tab span { display: flex; flex-direction: column; line-height: 1.2; font-size: .95rem; }
.donate-tab small { font-weight: 500; font-size: .74rem; opacity: .85; }
.donate-tab.active { color: var(--tb-heading); background: var(--tb-surface); border-bottom-color: var(--tb-gold); }
.donate-tab:focus-visible { outline: 3px solid var(--tb-gold-2); outline-offset: -3px; }

.donate-step { display: flex; align-items: center; gap: .55rem; font-weight: 700; margin-bottom: .75rem; color: var(--tb-heading); }
.donate-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--tb-gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; flex: none; }

.donate-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
@media (min-width: 420px) { .donate-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .donate-amounts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.donate-amount { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; border: 2px solid var(--tb-border); border-radius: 12px; background: var(--tb-surface); color: var(--tb-text); font-weight: 700; font-size: 1.02rem; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .1s ease; font-variant-numeric: tabular-nums; }
.donate-amount:active { transform: scale(.97); }
.btn-check:checked + .donate-amount { border-color: var(--tb-gold); background: var(--tb-gold-soft); color: var(--tb-heading); box-shadow: 0 0 0 1px var(--tb-gold) inset; }
.btn-check:focus-visible + .donate-amount { outline: 3px solid var(--tb-gold-2); outline-offset: 2px; }
.donate-other { margin-top: .8rem; max-height: 140px; opacity: 1; overflow: hidden; transition: max-height .25s ease, opacity .2s ease, margin .25s ease; }
.donate-other.is-hidden { max-height: 0; opacity: 0; margin-top: 0; }
.donate-other .form-control, .donate-form .form-control, .donate-form .form-select { font-size: 16px; min-height: 46px; }
.donate-other .input-group-text, .donate-form .input-group-text { font-weight: 700; min-width: 46px; justify-content: center; }

.donate-submit { min-height: 54px; font-weight: 700; border-radius: 12px; }
.donate-secure { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--tb-muted); margin: .75rem 0 0; }
.donate-secure i { margin-top: .2rem; color: var(--tb-gold); }

.donate-accounts { display: grid; gap: .65rem; }
@media (min-width: 768px) { .donate-accounts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.donate-account { border: 1px solid var(--tb-border); border-left: 4px solid var(--tb-gold); border-radius: 12px; padding: .8rem .95rem; background: var(--tb-surface-2); }
.da-bank { font-weight: 700; color: var(--tb-heading); display: flex; align-items: center; gap: .45rem; font-size: .92rem; }
.da-bank i { color: var(--tb-gold); }
.da-number { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: .35rem 0 .15rem; }
.da-number span { font-size: 1.35rem; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--tb-text); word-break: break-all; }
.da-number .btn { min-height: 38px; flex: none; }
.da-name { font-size: .88rem; color: var(--tb-muted); }

.donate-why { padding: 1.2rem; }
@media (min-width: 768px) { .donate-why { padding: 1.5rem; } }
.donate-uses { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .9rem; }
.donate-uses li { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: var(--tb-muted); }
.donate-uses strong { display: block; color: var(--tb-heading); font-size: .95rem; margin-bottom: .1rem; }
.du-icon { width: 40px; height: 40px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--tb-gold-soft); color: var(--tb-gold); }
.donate-promise { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem .95rem; border-radius: 12px; background: var(--tb-navy-soft, var(--tb-surface-2)); font-size: .9rem; }
.donate-promise i { color: #e11d48; margin-top: .2rem; }
.donate-trust { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.donate-trust span { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--tb-muted); background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: 999px; padding: .35rem .75rem; }
.donate-trust i { color: var(--tb-gold); }

/* Thank-you page */
.donate-result { max-width: 620px; margin: 0 auto; padding: 1.6rem 1.2rem; text-align: center; }
@media (min-width: 768px) { .donate-result { padding: 2.4rem 2.2rem; } }
.dr-icon { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: var(--tb-gold-soft); color: var(--tb-gold); }
.donate-result.is-ok .dr-icon { background: #fde7ee; color: #e11d48; animation: dr-beat 1.4s ease-in-out 2; }
.donate-result.is-failed .dr-icon { background: #fee4e2; color: #b42318; }
@keyframes dr-beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { .donate-result.is-ok .dr-icon { animation: none; } .donate-other { transition: none; } }
.dr-details { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; text-align: left; margin: 1.2rem 0 1.4rem; padding: .9rem; border: 1px solid var(--tb-border); border-radius: 12px; background: var(--tb-surface-2); }
.dr-details dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tb-muted); font-weight: 600; }
.dr-details dd { margin: 0; font-weight: 600; word-break: break-all; }

/* Header "Give" button and footer link */
.site-header .btn-give i { color: #ff7a93; }
.mobile-nav-link.is-donate i { color: #e11d48; }
