/* Madina Core forms. Uses the Madina theme's colors when present, with fallbacks. */
.mc-form { display: flex; flex-direction: column; gap: 16px; font-size: 16px; color: var(--ink, #141414); }
.mc-form [hidden] { display: none !important; }
.mc-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--deep, #0B4A43); }
.mc-field input, .mc-field select, .mc-field textarea {
	font: inherit; font-weight: 400; font-size: 16px; color: var(--ink, #141414);
	padding: 12px 14px; border: 1.5px solid #CFD8D6; border-radius: 12px; background: #fff; width: 100%; box-sizing: border-box;
}
.mc-field input:focus, .mc-field select:focus, .mc-field textarea:focus { outline: none; border-color: var(--teal, #008F7E); box-shadow: 0 0 0 3px rgba(0,143,126,.18); }
.mc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .mc-grid { grid-template-columns: minmax(0, 1fr); } }
.mc-toggle { display: grid; grid-template-columns: 1fr 1fr; border: 0; padding: 4px; margin: 0; background: #EEF3F2; border-radius: 999px; }
.mc-toggle label { position: relative; }
.mc-toggle input { position: absolute; opacity: 0; inset: 0; }
.mc-toggle span { display: block; text-align: center; padding: 10px 12px; border-radius: 999px; font-weight: 700; color: var(--deep, #0B4A43); cursor: pointer; }
.mc-toggle input:checked + span { background: var(--deep, #0B4A43); color: #fff; }
.mc-toggle input:focus-visible + span { outline: 3px solid var(--gold, #FFD028); }
.mc-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.mc-amount { font: inherit; font-weight: 700; font-size: 17px; padding: 14px 8px; border-radius: 12px; border: 1.5px solid #CFD8D6; background: #fff; color: var(--deep, #0B4A43); cursor: pointer; }
.mc-amount[aria-pressed="true"] { background: var(--deep, #0B4A43); border-color: var(--deep, #0B4A43); color: #fff; }
.mc-dollar { position: relative; display: block; }
.mc-dollar::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #5C5C5C; font-weight: 400; }
.mc-dollar input { padding-left: 28px; }
.mc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--body, #33504C); font-weight: 400; }
.mc-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--teal, #008F7E); }
.mc-choices { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mc-choices legend { font-weight: 600; font-size: 14px; color: var(--deep, #0B4A43); margin-bottom: 4px; }
.mc-children { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mc-children legend { font-weight: 700; color: var(--deep, #0B4A43); margin-bottom: 4px; }
.mc-child { border: 1.5px solid #E2E8E7; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #FBFCFC; }
.mc-child__title { margin: 0; font-weight: 700; color: var(--deep, #0B4A43); }
.mc-link { background: none; border: 0; color: #A33; text-decoration: underline; cursor: pointer; align-self: flex-start; padding: 0; font: inherit; font-size: 14px; }
.mc-more summary { cursor: pointer; color: var(--teal-text, #00796B); font-weight: 600; }
.mc-more[open] { display: flex; flex-direction: column; gap: 12px; }
.mc-bank-hint, .mc-note { background: var(--mist, #E6F4F2); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--deep, #0B4A43); margin: 0; }
.mc-fine { font-size: 13px; color: #5C5C5C; margin: 0; }
.mc-error { background: #FDECEA; color: #8A1F11; border-radius: 12px; padding: 12px 14px; margin: 0; font-size: 15px; }
.mc-success { background: #E6F4F1; color: var(--deep, #0B4A43); border-radius: 12px; padding: 18px; font-size: 17px; font-weight: 600; }
.mc-submit { justify-content: center; width: 100%; }
.mc-submit.is-busy { opacity: .7; cursor: progress; }
.mc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mc-thanks { position: fixed; inset: 0; background: rgba(11,74,67,.55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 99999; }
.mc-thanks__box { position: relative; background: #fff; border-radius: 28px; padding: 36px 28px; max-width: 480px; width: 100%; text-align: center; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.mc-thanks__box h2 { margin: 0; font-size: 26px; color: var(--deep, #0B4A43); }
.mc-thanks__box .btn { align-self: center; }
.mc-thanks__box .mc-form { text-align: left; }
.mc-thanks__ar { font-family: Amiri, serif; font-size: 30px; color: var(--gold-ink, #8F6A00); margin: 0; }
.mc-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 28px; cursor: pointer; color: #5C5C5C; }
.cf-turnstile { min-height: 65px; }

/* Win over theme form-shell defaults (1.0.2) */
form.mc-form button.mc-submit.btn--gold { background: var(--gold, #FFD028); color: var(--ink, #141414); }
form.mc-form button.mc-submit.btn--deep { background: var(--deep, #0B4A43); color: #fff; }
form.mc-form label.mc-check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; color: var(--body, #33504C); }
form.mc-form label.mc-check input { min-height: 0; }
form.mc-form label.mc-check a { color: var(--teal-text, #00796B); text-decoration: underline; }

/* ==========================================================================
   1.2: events, matching, pledges, live screen.
   Built only from the Madina theme's tokens: deep teal + gold, Inter,
   Instrument Serif italics, Amiri, the arch and the homepage brush stroke.
   ========================================================================== */

/* Homepage brush label (same drawing as the theme's .brush) */
.mc-brush { position: relative; display: inline-flex; align-self: flex-start; padding: 10px 30px 14px 24px; transform: rotate(-1.5deg); }
.mc-brush svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-brush span { position: relative; font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 24px; color: var(--deep, #0B4A43); line-height: 1; }

.mc-pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--gold, #FFD028); color: var(--ink, #141414); font-size: 13px; font-weight: 700; white-space: nowrap; }
.mc-pill--muted { background: var(--mist, #E6F4F2); color: var(--deep, #0B4A43); }

/* ---------- Registration card ---------- */
.mc-event { background: #fff; border: 1px solid var(--line, #E0DEDE); border-radius: var(--radius-lg, 28px); padding: 28px; box-shadow: var(--shadow, 0 18px 50px rgba(11,74,67,.12)); display: flex; flex-direction: column; gap: 20px; }
.mc-event__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mc-event__title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.4px; color: var(--deep, #0B4A43); }
.mc-event__closed { margin: 0; color: var(--body, #4F4F4F); }
.mc-tickets { display: flex; flex-direction: column; gap: 10px; }
.mc-ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; border: 1.5px solid #CFD8D6; border-radius: 18px; transition: border-color .2s, background .2s; }
.mc-ticket.is-on { border-color: var(--teal, #008F7E); background: var(--mist, #E6F4F2); }
.mc-ticket.is-out { opacity: .55; }
.mc-ticket__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-ticket__name { margin: 0; font-weight: 700; font-size: 16px; color: var(--ink, #141414); }
.mc-ticket__desc { margin: 0; font-size: 14px; color: var(--muted, #5C5C5C); }
.mc-ticket__price { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--teal-text, #00796B); }
.mc-ticket__price span { font-weight: 400; color: var(--muted, #5C5C5C); }
.mc-ticket__price .mc-ticket__left { color: var(--gold-ink, #8F6A00); font-weight: 700; }
.mc-ticket__out { font-size: 14px; font-weight: 700; color: var(--muted, #5C5C5C); }
.mc-ticket__amount { width: 116px; }
.mc-ticket__amount input { font: inherit; font-size: 16px; width: 100%; padding: 10px 12px 10px 28px; border: 1.5px solid #CFD8D6; border-radius: 12px; background: #fff; box-sizing: border-box; }
.mc-qty { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid #CFD8D6; border-radius: 999px; padding: 3px; }
.mc-qty button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--mist, #E6F4F2); color: var(--deep, #0B4A43); font-size: 20px; line-height: 1; font-weight: 600; cursor: pointer; }
.mc-qty button:hover { background: var(--mist-2, #CFE9E5); }
.mc-qty output { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink, #141414); }
.mc-addgift { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mc-addgift legend { font-weight: 600; font-size: 14px; color: var(--deep, #0B4A43); margin-bottom: 8px; padding: 0; }
.mc-addgift__opts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mc-chip { font: inherit; font-size: 15px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #CFD8D6; background: #fff; color: var(--deep, #0B4A43); cursor: pointer; }
.mc-chip[aria-pressed="true"] { background: var(--deep, #0B4A43); border-color: var(--deep, #0B4A43); color: #fff; }
.mc-addgift__other { width: 110px; }
.mc-addgift__other input { font: inherit; font-size: 15px; width: 100%; padding: 9px 12px 9px 26px; border: 1.5px solid #CFD8D6; border-radius: 999px; box-sizing: border-box; }
.mc-addgift__match { margin: 0; font-size: 14px; color: var(--gold-ink, #8F6A00); font-weight: 600; }
.mc-reg__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line, #E0DEDE); }
.mc-reg__total span { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 20px; color: var(--teal-text, #00796B); }
.mc-reg__total strong { font-size: 26px; font-weight: 800; color: var(--deep, #0B4A43); font-variant-numeric: tabular-nums; }
.mc-event__done { text-align: center; display: flex; flex-direction: column; gap: 8px; padding: 12px 0; }
.mc-event__done h3 { margin: 0; font-size: 26px; color: var(--deep, #0B4A43); }
.mc-event__done p { margin: 0; color: var(--body, #4F4F4F); }

/* ---------- Match: shared ---------- */
.mc-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(11,74,67,.1); }
.mc-bar span { display: block; height: 100%; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.mc-bar__given { background: var(--gold, #FFD028); }
.mc-bar__match { background: var(--teal, #008F7E); }
.mc-partners { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mc-partner { display: inline-flex; align-items: center; justify-content: center; height: 48px; min-width: 88px; padding: 8px 14px; background: #fff; border: 1px solid var(--line, #E0DEDE); border-radius: 14px; text-decoration: none; color: var(--deep, #0B4A43); font-weight: 700; font-size: 14px; transition: transform .2s; }
a.mc-partner:hover { transform: translateY(-1px); }
.mc-partner img { max-height: 30px; width: auto; max-width: 140px; object-fit: contain; }

/* Compact: sits right above a giving form */
.mc-match--compact { background: radial-gradient(80% 120% at 100% 0%, rgba(0,143,126,.14), rgba(0,143,126,0) 60%), linear-gradient(170deg, #FFFFFF, #EEF7F5); box-shadow: inset 0 0 0 1px rgba(11,74,67,.09); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.mc-match--compact[hidden] { display: none; }
.mc-match__lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink, #141414); }
.mc-match__lead strong { color: var(--deep, #0B4A43); }
.mc-match--compact .mc-match__by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mc-match--compact .mc-match__by > span { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 17px; color: var(--teal-text, #00796B); }
.mc-match--compact .mc-partner { height: 40px; min-width: 72px; padding: 6px 10px; border-radius: 12px; }
.mc-match--compact .mc-partner img { max-height: 24px; }
.mc-match__ends { margin: 0; font-size: 13px; font-weight: 700; color: var(--gold-ink, #8F6A00); }
.mc-match-note { margin: 0; background: var(--mist, #E6F4F2); border-radius: 12px; padding: 10px 14px; font-size: 15px; color: var(--deep, #0B4A43); }

/* Full: a deep section card */
.mc-match--full { background: var(--deep, #0B4A43); color: #fff; border-radius: var(--radius-lg, 28px); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 20px; }
.mc-match__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mc-match--full .mc-match__ends { color: var(--gold, #FFD028); font-size: 15px; }
.mc-match__title { margin: 0; color: #fff; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -1px; font-weight: 800; }
.mc-match__sub { margin: 0; color: var(--on-deep, #D3ECE8); font-size: 18px; max-width: 640px; }
.mc-match__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 8px 0 0; }
.mc-match__nums div { border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px; }
.mc-match__nums dt { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 19px; color: var(--gold, #FFD028); }
.mc-match__nums dd { margin: 4px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.mc-match--full .mc-bar { height: 14px; background: rgba(255,255,255,.12); }
.mc-match--full .mc-bar__match, .mc-screen .mc-bar__match { background: var(--mint, #78D1C6); }
.mc-match__legend { margin: -6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--on-deep, #D3ECE8); }
.mc-match__legend .k { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: -8px; }
.mc-match__legend .k--given { background: var(--gold, #FFD028); }
.mc-match__legend .k--match { background: var(--mint, #78D1C6); }
.mc-match__legend .k--left { background: rgba(255,255,255,.12); }
.mc-match--full .mc-match__by { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 8px; }
.mc-match--full .mc-match__by > span { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 20px; color: var(--on-deep, #D3ECE8); }
.mc-match--full .mc-partner { border: 0; height: 56px; }
@media (max-width: 720px) {
	.mc-match__nums { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.mc-match__nums div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; }
	.mc-match__nums dd { font-size: 26px; margin: 0; }
}

/* ---------- Pledge page (phones) ---------- */
.mc-pledge-body { margin: 0; min-height: 100vh; background-color: var(--deep, #0B4A43); background-image: radial-gradient(70% 45% at 85% 0%, rgba(0,143,126,.6), rgba(0,143,126,0) 70%), radial-gradient(60% 40% at 0% 100%, rgba(255,208,40,.12), rgba(255,208,40,0) 70%); }
.mc-pledge__intro h1 { color: #fff !important; }
.mc-pledge__intro p { color: var(--on-deep, #D3ECE8) !important; }
.mc-pledge__head .custom-logo { background: #fff; border-radius: 14px; padding: 8px 12px; }
.mc-pledge { max-width: 540px; margin: 0 auto; padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.mc-pledge__head { display: flex; justify-content: center; padding: 8px 0; }
.mc-pledge__head .custom-logo { max-height: 52px; width: auto; }
.mc-pledge__intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mc-pledge__intro .mc-brush { align-self: center; }
.mc-pledge__intro h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -.8px; color: var(--deep, #0B4A43); }
.mc-pledge__intro p { margin: 0; color: var(--body, #4F4F4F); }
.mc-pledge__form { background: #fff; border-radius: var(--radius-lg, 28px); padding: 22px; box-shadow: var(--shadow, 0 18px 50px rgba(11,74,67,.12)); }
.mc-pledge .mc-match--compact { margin: 0; background: #fff; }
.mc-amounts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mc-pledge__form .btn--outline { width: 100%; }
.mc-pledge__done { text-align: center; }

/* ---------- Live screen (projector) ---------- */
.mc-screen-body { margin: 0; background: var(--deep, #0B4A43); color: #fff; overflow: hidden; }
.mc-screen { min-height: 100vh; box-sizing: border-box; padding: 4vh 5vw; display: grid; grid-template-rows: auto 1fr auto; gap: 4vh; background: radial-gradient(70% 90% at 30% 45%, #0F5E55 0%, rgba(15,94,85,0) 70%); }
.mc-screen__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mc-screen__logo { background: #fff; border-radius: 18px; padding: 10px 16px; display: inline-flex; }
.mc-screen__logo .custom-logo { max-height: 56px; width: auto; }
.mc-screen__title { margin: 0; font-family: var(--serif, Georgia, serif); font-style: italic; font-size: clamp(22px, 2.2vw, 36px); color: var(--gold, #FFD028); }
.mc-screen__main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 5vw; align-items: center; }
.mc-screen__total { display: flex; flex-direction: column; gap: 2.4vh; }
.mc-screen__total .mc-brush span { font-size: clamp(22px, 2vw, 34px); }
.mc-screen__big { margin: 0; font-size: clamp(72px, 11vw, 210px); line-height: .95; font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.mc-bar--xl { height: 22px; background: rgba(255,255,255,.12); }
.mc-screen__goal { margin: 0; font-size: clamp(16px, 1.4vw, 24px); color: var(--on-deep, #D3ECE8); }
.mc-screen__nums { margin: 0; display: flex; flex-direction: column; }
.mc-screen__nums div { border-top: 1px solid rgba(255,255,255,.16); padding: 2.2vh 0; }
.mc-screen__nums dt { font-family: var(--serif, Georgia, serif); font-style: italic; font-size: clamp(18px, 1.6vw, 28px); color: var(--gold, #FFD028); }
.mc-screen__nums dd { margin: 4px 0 0; font-size: clamp(36px, 4vw, 72px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mc-screen__nums .is-left dd { color: var(--mint, #78D1C6); }
.mc-screen__foot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 5vw; align-items: end; }
.mc-screen__label { margin: 0 0 12px; font-family: var(--serif, Georgia, serif); font-style: italic; font-size: clamp(16px, 1.4vw, 24px); color: var(--on-deep, #D3ECE8); }
.mc-partners--lg { gap: 14px; }
.mc-partners--lg .mc-partner { height: clamp(56px, 7vh, 88px); min-width: 120px; padding: 12px 20px; border: 0; border-radius: 18px; font-size: 18px; }
.mc-partners--lg .mc-partner img { max-height: 100%; max-width: 200px; }
.mc-screen__feed ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mc-screen__feed li { display: flex; justify-content: space-between; gap: 16px; padding: 1.1vh 0; border-top: 1px solid rgba(255,255,255,.12); font-size: clamp(16px, 1.4vw, 24px); animation: mc-in .6s ease both; }
.mc-screen__feed li:first-child { color: var(--gold, #FFD028); }
.mc-screen__feed li strong { font-variant-numeric: tabular-nums; }
.mc-screen__cta { margin: 16px 0 0; font-size: clamp(16px, 1.4vw, 24px); color: var(--on-deep, #D3ECE8); }
.mc-screen__cta strong { color: #fff; }
@keyframes mc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mc-bar span, .mc-screen__feed li { transition: none; animation: none; } }
@media (max-width: 900px) {
	.mc-screen-body { overflow: auto; }
	.mc-screen__main, .mc-screen__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.mc-event { padding: 20px; }
	.mc-ticket { padding: 12px 12px 12px 14px; }
}
.mc-event [hidden], .mc-pledge [hidden] { display: none !important; }
/* 1.2 fit: the screen must fit one projector frame */
.mc-screen { height: 100vh; min-height: 0; padding: 3.5vh 5vw; gap: 3vh; }
.mc-screen__main { min-height: 0; }
.mc-screen__nums div { padding: 1.4vh 0; }
.mc-screen__nums dd { font-size: clamp(30px, 3.2vw, 60px); margin-top: 2px; }
.mc-screen__big { font-size: clamp(64px, 10vw, 190px); }
.mc-screen__feed li { padding: .8vh 0; font-size: clamp(15px, 1.2vw, 22px); }
.mc-screen__feed li:nth-child(n+4) { display: none; }
.mc-match--compact .mc-match__by { flex-direction: column; align-items: flex-start; }
.mc-match--compact .mc-partners { width: 100%; }
@media (max-width: 900px) { .mc-screen { height: auto; min-height: 100vh; } }

/* Thank-you: building updates by text */
.mc-thanks__sms { margin: 6px 0 4px; padding: 18px; border-radius: 18px; background: #F1F7F6; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.mc-thanks__ask { margin: 0; font-weight: 600; color: var(--deep, #0B4A43); }
.mc-thanks__row { display: flex; gap: 8px; }
.mc-thanks__row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #C9DCD9; border-radius: 12px; font: inherit; background: #fff; }
.mc-thanks__row .btn { white-space: nowrap; }
.mc-thanks__ok { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.45; color: #4A5A58; }
.mc-thanks__ok input { margin-top: 2px; flex: none; }
.mc-thanks__sms .mc-success { margin: 0; font-weight: 600; color: var(--deep, #0B4A43); }

/* Free guide card */
.mc-resource { padding: clamp(22px, 4vw, 34px); border-radius: 24px; background: #fff; box-shadow: 0 1px 0 rgba(11,74,67,.08), 0 24px 60px -30px rgba(11,74,67,.35); }
.mc-resource__title { margin: 0 0 6px; color: var(--deep, #0B4A43); }
.mc-resource__text { margin: 0 0 16px; color: #4A5A58; }
.mc-download { margin-top: 12px; display: inline-flex; }
.mc-thanks__box { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
@media (max-width: 380px) { .mc-thanks__row { flex-direction: column; } }

/* Two-step donation form (QR giving page) */
.mc-step { display: flex; flex-direction: column; gap: 12px; }
.mc-step[hidden] { display: none; }
.mc-back { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; font: inherit; font-size: 14px; font-weight: 700; color: var(--teal-text, #00796B); background: var(--mist, #E6F4F2); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.mc-back span[aria-hidden] { font-size: 18px; line-height: 1; }
.mc-thanks__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .mc-thanks__box { padding: 28px 20px; } .mc-thanks__box h2 { font-size: 21px; line-height: 1.25; } .mc-thanks__ar { font-size: 24px; } }
