/*
 * SatanWorld Donate Page Redesign
 * All selectors are scoped to the Donate page.
 */

body.swd-donate-active {
    background: #050505;
}

body.swd-donate-active .entry-header,
body.swd-donate-active .page-header,
body.swd-donate-active .post-thumbnail,
body.swd-donate-active .featured-image,
body.swd-donate-active article.page > header,
body.swd-donate-active .entry-footer {
    display: none !important;
}

body.swd-donate-active .site-main,
body.swd-donate-active .content-area,
body.swd-donate-active .site-content,
body.swd-donate-active article.page,
body.swd-donate-active .entry-content {
    max-width: none !important;
}

body.swd-donate-active article.page,
body.swd-donate-active .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

.swd-donate-page,
.swd-donate-page * {
    box-sizing: border-box;
}

.swd-donate-page {
    --swd-black: #050505;
    --swd-black-soft: #0a0908;
    --swd-panel: #0f0e0c;
    --swd-panel-light: #15130f;
    --swd-gold: #b89a56;
    --swd-gold-light: #dfc47e;
    --swd-gold-dark: #6f5a2f;
    --swd-ivory: #eee7d9;
    --swd-muted: #a39b8e;
    --swd-line: rgba(184, 154, 86, 0.25);
    --swd-crimson: #7f1118;
    --swd-crimson-bright: #a51b25;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin: 0 0 0 -50vw !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 8%, rgba(127, 17, 24, 0.11), transparent 29rem),
        linear-gradient(180deg, #060606 0%, #090806 48%, #050505 100%);
    color: var(--swd-ivory);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.75;
    isolation: isolate;
}

.swd-donate-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.14;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.swd-donate-page h1,
.swd-donate-page h2,
.swd-donate-page h3,
.swd-donate-page p {
    margin-top: 0;
}

.swd-donate-page h1,
.swd-donate-page h2,
.swd-donate-page h3 {
    color: var(--swd-ivory);
    font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-transform: none;
}

.swd-donate-page em {
    color: var(--swd-gold-light);
    font-style: italic;
    font-weight: 400;
}

.swd-donate-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.swd-donate-ribbon {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 9px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(90deg, #5f0b11, #8b141d 50%, #5f0b11);
    color: #f1dfc1;
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.21em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

.swd-donate-ribbon i {
    width: 3px;
    height: 3px;
    transform: rotate(45deg);
    background: var(--swd-gold-light);
}

.swd-donate-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--swd-line);
}

.swd-donate-hero::before,
.swd-donate-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.swd-donate-hero::before {
    top: 0;
    bottom: 0;
    left: calc(50% + 210px);
    width: 1px;
    background: linear-gradient(transparent, var(--swd-line) 20%, var(--swd-line) 80%, transparent);
}

.swd-donate-hero::after {
    right: 0;
    bottom: 0;
    width: 44%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--swd-gold-dark));
}

.swd-donate-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
}

.swd-donate-glow--one {
    top: 12%;
    right: 7%;
    width: 390px;
    height: 390px;
    background: radial-gradient(circle, rgba(138, 20, 29, 0.15), transparent 67%);
}

.swd-donate-glow--two {
    bottom: 5%;
    left: -140px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(184, 154, 86, 0.07), transparent 68%);
}

.swd-donate-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    align-items: center;
    gap: clamp(70px, 9vw, 150px);
    padding-block: 100px 110px;
}

.swd-kicker,
.swd-section-number {
    color: var(--swd-gold);
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.23em;
    line-height: 1.4;
    text-transform: uppercase;
}

.swd-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 28px;
}

.swd-kicker span {
    display: inline-block;
    width: 33px;
    height: 1px;
    background: var(--swd-gold);
}

.swd-donate-hero h1 {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: clamp(58px, 7vw, 104px);
}

.swd-donate-lead {
    max-width: 690px;
    margin-bottom: 19px;
    color: #ded6c7;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.45;
}

.swd-donate-intro {
    max-width: 680px;
    margin-bottom: 38px;
    color: var(--swd-muted);
    font-size: 16px;
    line-height: 1.85;
}

.swd-donate-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px 30px;
}

.swd-donate-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: 1px solid var(--swd-gold);
    background: var(--swd-gold);
    box-shadow: none;
    color: #080706 !important;
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.swd-donate-button:hover,
.swd-donate-button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--swd-gold-light);
    background: var(--swd-gold-light);
    color: #050505 !important;
}

.swd-donate-text-link {
    color: #d6cbb9 !important;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-decoration: none !important;
}

.swd-donate-text-link span {
    display: inline-block;
    margin-left: 8px;
    color: var(--swd-gold);
    transition: transform 180ms ease;
}

.swd-donate-text-link:hover span {
    transform: translateY(3px);
}

.swd-donate-mark {
    position: relative;
    width: min(370px, 32vw);
    aspect-ratio: 1;
    justify-self: center;
    border-radius: 50%;
    filter: drop-shadow(0 0 38px rgba(127, 17, 24, 0.13));
}

.swd-donate-mark__outer,
.swd-donate-mark__circle,
.swd-donate-mark__diamond,
.swd-donate-mark__flame {
    position: absolute;
    inset: 0;
    margin: auto;
}

.swd-donate-mark__outer {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(184, 154, 86, 0.31);
    border-radius: 50%;
}

.swd-donate-mark__outer::before,
.swd-donate-mark__outer::after {
    content: "";
    position: absolute;
    inset: 23px;
    border: 1px solid rgba(184, 154, 86, 0.13);
    border-radius: 50%;
}

.swd-donate-mark__outer::after {
    inset: 50% -12px auto;
    height: 1px;
    border: 0;
    border-top: 1px solid rgba(184, 154, 86, 0.19);
}

.swd-donate-mark__diamond {
    width: 64%;
    height: 64%;
    transform: rotate(45deg);
    border: 1px solid rgba(184, 154, 86, 0.36);
}

.swd-donate-mark__diamond::before,
.swd-donate-mark__diamond::after {
    content: "";
    position: absolute;
    inset: 14%;
    border: 1px solid rgba(127, 17, 24, 0.5);
}

.swd-donate-mark__diamond::after {
    inset: 50% -28% auto;
    height: 1px;
    border: 0;
    border-top: 1px solid rgba(184, 154, 86, 0.23);
}

.swd-donate-mark__circle {
    width: 42%;
    height: 42%;
    border: 1px solid rgba(223, 196, 126, 0.64);
    border-radius: 50%;
}

.swd-donate-mark__circle::before,
.swd-donate-mark__circle::after {
    content: "";
    position: absolute;
    top: -58%;
    bottom: -58%;
    left: 50%;
    width: 1px;
    background: linear-gradient(transparent, rgba(184, 154, 86, 0.48), transparent);
}

.swd-donate-mark__circle::after {
    top: 50%;
    right: -58%;
    bottom: auto;
    left: -58%;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 154, 86, 0.48), transparent);
}

.swd-donate-mark__flame {
    top: 2%;
    width: 65px;
    height: 96px;
    border: 1px solid var(--swd-gold-light);
    border-radius: 58% 42% 60% 40% / 62% 45% 55% 38%;
    transform: rotate(45deg);
    background: radial-gradient(circle at 65% 68%, rgba(165, 27, 37, 0.62), transparent 56%);
    box-shadow: 0 0 40px rgba(127, 17, 24, 0.23);
}

.swd-donate-mark__flame span {
    position: absolute;
    inset: 24px;
    border: 1px solid var(--swd-crimson-bright);
    border-radius: inherit;
}

.swd-donate-mark__word {
    position: absolute;
    right: 0;
    bottom: 9%;
    left: 0;
    color: rgba(223, 196, 126, 0.63);
    font-family: "Cinzel", Georgia, serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.43em;
    text-align: center;
}

.swd-donate-form-section {
    position: relative;
    padding: 120px 0;
    border-bottom: 1px solid var(--swd-line);
    background:
        linear-gradient(90deg, rgba(184, 154, 86, 0.025) 1px, transparent 1px),
        linear-gradient(rgba(184, 154, 86, 0.025) 1px, transparent 1px),
        #080706;
    background-size: 64px 64px;
    scroll-margin-top: 40px;
}

.swd-donate-form-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
    align-items: start;
    gap: clamp(60px, 8vw, 130px);
}

.swd-section-number {
    margin-bottom: 24px;
}

.swd-donate-form-copy h2,
.swd-donate-section-heading h2 {
    margin-bottom: 27px;
    font-size: clamp(42px, 5vw, 68px);
}

.swd-donate-form-copy > p:not(.swd-section-number) {
    color: var(--swd-muted);
    font-size: 16px;
    line-height: 1.9;
}

.swd-donate-promise {
    display: grid;
    grid-template-columns: 1px 1fr;
    gap: 19px;
    margin-top: 42px;
}

.swd-donate-promise__line {
    background: linear-gradient(var(--swd-crimson-bright), transparent);
}

.swd-donate-promise p {
    margin: 0;
    color: #9e9689;
    font-size: 13px;
    line-height: 1.75;
}

.swd-donate-promise strong {
    color: #d9d0c0;
    font-weight: 600;
}

.swd-donate-form-card {
    position: relative;
    padding: clamp(28px, 4vw, 50px);
    border: 1px solid rgba(184, 154, 86, 0.32);
    background:
        linear-gradient(135deg, rgba(184, 154, 86, 0.07), transparent 36%),
        rgba(14, 13, 11, 0.96);
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.45);
}

.swd-donate-form-card::before,
.swd-donate-form-card::after {
    content: "";
    position: absolute;
    width: 44px;
    height: 44px;
    pointer-events: none;
}

.swd-donate-form-card::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--swd-gold-light);
    border-left: 2px solid var(--swd-gold-light);
}

.swd-donate-form-card::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid var(--swd-gold-light);
    border-bottom: 2px solid var(--swd-gold-light);
}

.swd-donate-form-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(184, 154, 86, 0.2);
}

.swd-donate-form-card__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--swd-gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.swd-donate-form-card h3 {
    margin: 0;
    font-size: clamp(30px, 3vw, 43px);
}

.swd-donate-lock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-top: 4px;
    color: #8f887d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.swd-donate-lock span {
    position: relative;
    width: 10px;
    height: 8px;
    border: 1px solid var(--swd-gold);
}

.swd-donate-lock span::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 1px;
    width: 6px;
    height: 6px;
    border: 1px solid var(--swd-gold);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.swd-donate-form-note {
    margin: 26px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(184, 154, 86, 0.15);
    color: #898277;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

/* Full Stripe styling, strictly scoped to this page. */
.swd-stripe-shell {
    position: relative;
    z-index: 3;
    color: var(--swd-ivory);
}

/* Keep all interactive elements above decorative layers. */
.swd-donate-page a,
.swd-stripe-shell button,
.swd-stripe-shell input,
.swd-stripe-shell select,
.swd-stripe-shell textarea,
.swd-stripe-shell iframe {
    position: relative;
    z-index: 4;
}

.swd-donate-page a,
.swd-stripe-shell button,
.swd-stripe-shell input[type="submit"] {
    cursor: pointer;
    pointer-events: auto;
}

/* Script elements must never become visible through theme-level CSS resets. */
.swd-donate-page script,
.swd-donate-page style,
.swd-donate-page template {
    display: none !important;
}

.swd-stripe-shell form,
.swd-stripe-shell .wpfs-form,
.swd-stripe-shell .wpfs-form-container,
.swd-stripe-shell .wpfs-checkout-form,
.swd-stripe-shell .wpfs-form-checkout {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--swd-ivory);
}

.swd-stripe-shell label,
.swd-stripe-shell legend,
.swd-stripe-shell .wpfs-form-label,
.swd-stripe-shell .control-label {
    color: #d8cebd !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.swd-stripe-shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.swd-stripe-shell select,
.swd-stripe-shell textarea,
.swd-stripe-shell .form-control,
.swd-stripe-shell .wpfs-form-control,
.swd-stripe-shell .StripeElement {
    min-height: 50px;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(184, 154, 86, 0.28) !important;
    border-radius: 0 !important;
    outline: none;
    background: #090806 !important;
    box-shadow: none !important;
    color: #f0e8da !important;
    font-size: 15px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.swd-stripe-shell input:focus,
.swd-stripe-shell select:focus,
.swd-stripe-shell textarea:focus,
.swd-stripe-shell .form-control:focus,
.swd-stripe-shell .wpfs-form-control:focus,
.swd-stripe-shell .StripeElement--focus {
    border-color: var(--swd-gold-light) !important;
    box-shadow: 0 0 0 2px rgba(184, 154, 86, 0.08) !important;
}

.swd-stripe-shell input::placeholder,
.swd-stripe-shell textarea::placeholder {
    color: #6d675e;
    opacity: 1;
}

.swd-stripe-shell select option {
    background: #090806;
    color: #f0e8da;
}

.swd-stripe-shell input[type="checkbox"],
.swd-stripe-shell input[type="radio"] {
    accent-color: var(--swd-crimson-bright);
}

.swd-stripe-shell .form-group,
.swd-stripe-shell .wpfs-form-group,
.swd-stripe-shell .mb-3,
.swd-stripe-shell fieldset {
    margin-bottom: 19px;
}

.swd-stripe-shell button,
.swd-stripe-shell button[type="submit"],
.swd-stripe-shell input[type="submit"],
.swd-stripe-shell .btn,
.swd-stripe-shell .btn-primary,
.swd-stripe-shell .wpfs-btn,
.swd-stripe-shell .wpfs-btn-primary,
.swd-stripe-shell .wpfs-form-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 9px;
    padding: 14px 25px !important;
    border: 1px solid var(--swd-crimson-bright) !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #971a23, #721017) !important;
    box-shadow: none !important;
    color: #fff2df !important;
    font-family: "Cinzel", Georgia, serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: transform 160ms ease, filter 160ms ease !important;
}

.swd-stripe-shell button:hover,
.swd-stripe-shell button:focus-visible,
.swd-stripe-shell input[type="submit"]:hover,
.swd-stripe-shell .btn:hover,
.swd-stripe-shell .wpfs-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.13);
}

.swd-stripe-shell a {
    color: var(--swd-gold-light) !important;
}

.swd-stripe-shell iframe {
    max-width: 100%;
}

.swd-stripe-shell .alert,
.swd-stripe-shell .wpfs-form-message,
.swd-stripe-shell .wpfs-form-error,
.swd-form-status {
    padding: 16px 18px;
    border: 1px solid rgba(184, 154, 86, 0.34);
    background: rgba(184, 154, 86, 0.07);
    color: #d6cdbc;
    font-size: 13px;
    line-height: 1.65;
}

.swd-form-status--admin {
    border-color: rgba(165, 27, 37, 0.55);
    background: rgba(165, 27, 37, 0.09);
}

.swd-form-status code {
    color: var(--swd-gold-light);
}

.swd-donate-support {
    padding: 125px 0 135px;
    border-bottom: 1px solid var(--swd-line);
    scroll-margin-top: 40px;
}

.swd-donate-section-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 60px;
}

.swd-donate-section-heading > p {
    max-width: 430px;
    margin-bottom: 10px;
    color: var(--swd-muted);
    font-size: 15px;
    line-height: 1.85;
}

.swd-donate-support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--swd-line);
    border-left: 1px solid var(--swd-line);
}

.swd-support-card {
    position: relative;
    min-height: 360px;
    padding: 34px 29px;
    border-right: 1px solid var(--swd-line);
    border-bottom: 1px solid var(--swd-line);
    background: rgba(255, 255, 255, 0.008);
    transition: background 200ms ease, transform 200ms ease;
}

.swd-support-card:hover {
    z-index: 1;
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(184, 154, 86, 0.07), rgba(127, 17, 24, 0.04));
}

.swd-support-card__number {
    display: block;
    margin-bottom: 50px;
    color: #6e675c;
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    letter-spacing: 0.18em;
}

.swd-support-card__symbol {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 29px;
    border: 1px solid rgba(184, 154, 86, 0.35);
    transform: rotate(45deg);
    color: var(--swd-gold-light);
    font-size: 17px;
}

.swd-support-card__symbol::first-letter {
    transform: rotate(-45deg);
}

.swd-support-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
}

.swd-support-card p {
    margin: 0;
    color: #969084;
    font-size: 13px;
    line-height: 1.8;
}

.swd-donate-manifesto {
    padding: 130px 0;
    background:
        radial-gradient(circle at 16% 50%, rgba(127, 17, 24, 0.10), transparent 27rem),
        #090806;
}

.swd-donate-manifesto__grid {
    display: grid;
    grid-template-columns: 0.32fr 1.68fr;
    gap: 70px;
}

.swd-donate-manifesto h2 {
    max-width: 980px;
    margin-bottom: 52px;
    font-size: clamp(37px, 4.5vw, 62px);
    line-height: 1.2;
}

.swd-donate-manifesto__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px;
    padding-top: 38px;
    border-top: 1px solid var(--swd-line);
}

.swd-donate-manifesto__copy p {
    margin: 0;
    color: #aaa296;
    font-size: 15px;
    line-height: 1.95;
}

.swd-donate-closing {
    position: relative;
    padding: 130px 24px 140px;
    border-top: 1px solid var(--swd-line);
    background:
        radial-gradient(circle at 50% 45%, rgba(127, 17, 24, 0.18), transparent 26rem),
        #050505;
    text-align: center;
}

.swd-donate-closing .swd-kicker {
    justify-content: center;
}

.swd-donate-closing h2 {
    margin: 0 auto 24px;
    font-size: clamp(46px, 6vw, 82px);
}

.swd-donate-closing > p:not(.swd-kicker) {
    margin-bottom: 34px;
    color: #a39b8e;
}

.swd-donate-closing__seal {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto 33px;
    border: 1px solid rgba(184, 154, 86, 0.5);
    transform: rotate(45deg);
}

.swd-donate-closing__seal span {
    transform: rotate(-45deg);
    color: var(--swd-gold-light);
    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.swd-donate-button--light {
    border-color: var(--swd-gold-light);
    background: transparent;
    color: var(--swd-gold-light) !important;
}

.swd-donate-button--light:hover,
.swd-donate-button--light:focus-visible {
    background: var(--swd-gold-light);
    color: #050505 !important;
}

@media (max-width: 1020px) {
    .swd-donate-hero {
        min-height: auto;
    }

    .swd-donate-hero::before {
        display: none;
    }

    .swd-donate-hero__grid {
        grid-template-columns: 1fr 280px;
        gap: 55px;
        padding-block: 90px;
    }

    .swd-donate-mark {
        width: 270px;
    }

    .swd-donate-form-grid {
        grid-template-columns: 0.75fr 1.25fr;
        gap: 55px;
    }

    .swd-donate-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .swd-donate-page {
        font-size: 16px;
    }

    .swd-donate-container {
        width: min(100% - 32px, 1180px);
    }

    .swd-donate-ribbon {
        gap: 10px;
        padding-inline: 12px;
        font-size: 8px;
        letter-spacing: 0.13em;
    }

    .swd-donate-ribbon span:nth-of-type(2) {
        display: none;
    }

    .swd-donate-ribbon i:nth-of-type(2) {
        display: none;
    }

    .swd-donate-hero__grid,
    .swd-donate-form-grid,
    .swd-donate-section-heading,
    .swd-donate-manifesto__grid,
    .swd-donate-manifesto__copy {
        grid-template-columns: 1fr;
    }

    .swd-donate-hero__grid {
        gap: 62px;
        padding-block: 74px 80px;
    }

    .swd-donate-hero h1 {
        font-size: clamp(51px, 16vw, 76px);
    }

    .swd-donate-mark {
        width: min(280px, 80vw);
    }

    .swd-donate-form-section,
    .swd-donate-support,
    .swd-donate-manifesto {
        padding-block: 82px;
    }

    .swd-donate-form-grid,
    .swd-donate-manifesto__grid {
        gap: 45px;
    }

    .swd-donate-section-heading {
        gap: 10px;
        margin-bottom: 43px;
    }

    .swd-donate-support-grid {
        grid-template-columns: 1fr;
    }

    .swd-support-card {
        min-height: auto;
        padding: 30px 27px 35px;
    }

    .swd-support-card__number {
        margin-bottom: 30px;
    }

    .swd-donate-manifesto__copy {
        gap: 28px;
    }

    .swd-donate-closing {
        padding-block: 90px 100px;
    }
}

@media (max-width: 480px) {
    .swd-donate-ribbon span:last-of-type,
    .swd-donate-ribbon i:last-of-type {
        display: none;
    }

    .swd-donate-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .swd-donate-button {
        width: 100%;
    }

    .swd-donate-form-card {
        padding: 26px 20px;
    }

    .swd-donate-form-card__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .swd-donate-lock {
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .swd-donate-page *,
    .swd-donate-page *::before,
    .swd-donate-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* -------------------------------------------------------------------------
 * Donation choice states: amount and frequency selectors
 * ------------------------------------------------------------------------- */

/*
 * WP Full Pay can render choices as radio labels, Bootstrap-style buttons,
 * or accessible role=radio controls depending on plugin version/settings.
 * JavaScript adds these classes without changing Full Stripe values/events.
 */
.swd-stripe-shell .swd-choice-option,
.swd-stripe-shell input[type="radio"] + label,
.swd-stripe-shell .btn-check + .btn,
.swd-stripe-shell [role="radio"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 86px;
    min-height: 44px;
    margin: 4px 6px 4px 0;
    padding: 10px 16px !important;
    border: 1px solid rgba(184, 154, 86, 0.34) !important;
    border-radius: 2px !important;
    background: linear-gradient(180deg, #12100d, #090806) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015) !important;
    color: #d8cebd !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: 0.055em !important;
    line-height: 1.2 !important;
    text-align: center;
    text-transform: none !important;
    cursor: pointer;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        color 160ms ease,
        transform 160ms ease !important;
}

.swd-stripe-shell .swd-choice-option:hover,
.swd-stripe-shell input[type="radio"] + label:hover,
.swd-stripe-shell .btn-check + .btn:hover,
.swd-stripe-shell [role="radio"]:hover {
    border-color: rgba(223, 196, 126, 0.72) !important;
    background: linear-gradient(180deg, #1a1711, #0d0b08) !important;
    color: #f3ead9 !important;
    filter: none !important;
    transform: translateY(-1px);
}

/* Persistent selected state. The !important rules intentionally beat the
 * generic button skin above, while leaving the final Stripe submit button alone.
 */
.swd-stripe-shell .swd-choice-option.swd-choice-selected,
.swd-stripe-shell .swd-choice-option.active,
.swd-stripe-shell .swd-choice-option.selected,
.swd-stripe-shell input[type="radio"]:checked + label,
.swd-stripe-shell .btn-check:checked + .btn,
.swd-stripe-shell [role="radio"][aria-checked="true"],
.swd-stripe-shell [aria-pressed="true"],
.swd-stripe-shell [aria-selected="true"] {
    border-color: #e5c777 !important;
    background:
        linear-gradient(180deg, #d4b566 0%, #a98942 100%) !important;
    box-shadow:
        0 0 0 1px rgba(229, 199, 119, 0.24),
        0 0 22px rgba(165, 27, 37, 0.22),
        inset 0 1px 0 rgba(255, 248, 220, 0.35) !important;
    color: #100d08 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
    filter: none !important;
    transform: translateY(-1px);
}

.swd-stripe-shell .swd-choice-option.swd-choice-selected::after,
.swd-stripe-shell input[type="radio"]:checked + label::after,
.swd-stripe-shell .btn-check:checked + .btn::after,
.swd-stripe-shell [role="radio"][aria-checked="true"]::after {
    content: "";
    position: absolute;
    right: 7px;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #741017;
    box-shadow: 0 0 0 2px rgba(116, 16, 23, 0.16);
}

/* Keep native choice inputs available to assistive technology while the label
 * supplies the visible state. Do not use display:none, which can affect events.
 */
.swd-stripe-shell input[type="radio"],
.swd-stripe-shell input[type="checkbox"] {
    accent-color: #c5a653;
}

.swd-stripe-shell .swd-choice-option:focus-visible,
.swd-stripe-shell input[type="radio"]:focus-visible + label,
.swd-stripe-shell [role="radio"]:focus-visible {
    outline: 2px solid #ead18b !important;
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .swd-stripe-shell .swd-choice-option,
    .swd-stripe-shell input[type="radio"] + label,
        .swd-stripe-shell .btn-check + .btn,
    .swd-stripe-shell [role="radio"] {
        min-width: calc(50% - 8px);
        margin-right: 4px;
        padding-inline: 10px !important;
    }
}


/* Coffee-scale support note. */
.swd-coffee-note {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 13px;
    align-items: start;
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(184, 154, 86, 0.23);
    border-left: 2px solid #9c1720;
    background: rgba(184, 154, 86, 0.045);
}

.swd-coffee-note__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(213, 183, 105, 0.44);
    border-radius: 50%;
    color: #d5b769;
    font-size: 11px;
    line-height: 1;
}

.swd-coffee-note p {
    margin: 0;
    color: #a99f90;
    font-size: 13px;
    line-height: 1.65;
}

.swd-coffee-note strong {
    color: #e2d5bd;
    font-weight: 650;
    letter-spacing: 0.025em;
}
