/* ========================================================================== 
   DONATE V3 — TEOS BLACK DIAMOND
   ========================================================================== */

body.site-page.site-page--donate .page-index > .content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    align-items: start !important;
    gap: 24px !important;
    width: min(1440px, calc(100% - 64px)) !important;
    padding: 36px 0 72px !important;
}

body.site-page.site-page--donate .column-left {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.site-page.site-page--donate .column-right.home-sidebar {
    display: grid !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    align-content: start !important;
    width: 330px !important;
    margin: 0 !important;
}

body.site-page.site-page--donate .content-header {
    display: none !important;
}

body.site-page.site-page--donate .column-left > .content-bg {
    overflow: hidden !important;
    background: rgba(4, 8, 13, .95) !important;
    border: 1px solid rgba(202, 211, 222, .11) !important;
    border-top-color: rgba(226, 194, 111, .56) !important;
    box-shadow: 0 22px 58px rgba(0, 0, 0, .28) !important;
}

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

.donate-page {
    width: 100%;
    min-width: 0;
    padding: 0 0 34px !important;
    color: #d9dee5;
}

/* Hero */

.donate-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 158px;
    margin: 0;
    padding: 25px 48px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 30%, rgba(201, 160, 69, .13), transparent 30%),
        linear-gradient(118deg, rgba(5, 9, 14, .99) 0%, rgba(9, 14, 20, .97) 59%, rgba(21, 20, 16, .94) 100%);
    border: 0;
    border-bottom: 1px solid rgba(213, 184, 115, .25);
}

.donate-hero::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 47%;
    height: 2px;
    background: linear-gradient(90deg, #efd078, rgba(213, 184, 115, .1));
}

.donate-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.donate-eyebrow,
.donate-section-kicker,
.donate-help__eyebrow {
    color: #d8b95f;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.donate-title {
    margin: 8px 0 9px;
    color: #f1eee6;
    font-family: "Cormorant SC", Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: .015em;
}

.donate-description {
    max-width: 670px;
    margin: 0;
    color: #929ba7;
    font-size: 15px;
    line-height: 1.55;
}

/* Packages */

.donate-section {
    margin: 0;
    padding: 38px 48px 42px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(213, 184, 115, .18);
}

.donate-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
    padding: 0 0 17px;
    border-bottom: 1px solid rgba(202, 211, 222, .1);
}

.donate-section-head h2 {
    margin: 6px 0 0;
    color: #eeeae2;
    font-family: "Cormorant SC", Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 600;
}

.donate-section-head p {
    margin: 6px 0 0;
    color: #7f8996;
    font-size: 13px;
    line-height: 1.5;
}

.donate-package-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 34px;
    padding: 0 12px;
    color: #e2c56d;
    background: rgba(213, 184, 115, .055);
    border: 1px solid rgba(213, 184, 115, .25);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.donate-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 230px;
    padding: 18px;
    overflow: hidden;
    color: inherit !important;
    background: linear-gradient(145deg, rgba(12, 18, 25, .98), rgba(6, 10, 15, .99));
    border: 1px solid rgba(202, 211, 222, .11);
    border-top-color: rgba(213, 184, 115, .28);
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .015);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.donate-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(213, 184, 115, .1);
    transform: rotate(45deg);
    pointer-events: none;
}

.donate-card:hover {
    color: inherit !important;
    background: linear-gradient(145deg, rgba(17, 23, 30, .99), rgba(8, 12, 17, 1));
    border-color: rgba(226, 194, 111, .42);
    transform: translateY(-3px);
}

.donate-card__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(213, 184, 115, .08), transparent 42%);
    pointer-events: none;
}

.donate-card__bonus {
    position: absolute;
    z-index: 2;
    top: 13px;
    right: 13px;
    padding: 5px 8px;
    color: #efcf71;
    background: #171710;
    border: 1px solid rgba(226, 194, 111, .34);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.donate-card__icon-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 8px auto 3px;
    background: radial-gradient(circle, rgba(213, 184, 115, .11), rgba(213, 184, 115, .015) 64%, transparent 65%);
}

.donate-card__icon {
    display: block;
    max-width: 62px;
    max-height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .38));
    transition: transform .2s ease;
}

.donate-card:hover .donate-card__icon {
    transform: translateY(-2px);
}

.donate-card__amount {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: #edd078;
    font-family: "Cormorant SC", Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.donate-card__amount small {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .08em;
}

.donate-card__price {
    position: relative;
    z-index: 1;
    margin-top: 7px;
    color: #929ba7;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

.donate-card__price small {
    color: #687381;
    font-size: 9px;
}

.donate-card__action {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 37px;
    margin: 17px -18px -18px;
    padding: 0 16px 0 18px;
    color: #d7dde3;
    background: rgba(255, 255, 255, .025);
    border-top: 1px solid rgba(202, 211, 222, .09);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease;
}

.donate-card__action span {
    color: #e2c56d;
    font-size: 16px;
}

.donate-card:hover .donate-card__action {
    color: #12100a;
    background: linear-gradient(90deg, #efd27e, #c89d43);
}

/* Custom amount */

.donate-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 190px 230px;
    align-items: end;
    gap: 12px;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 16%, rgba(213, 184, 115, .08), transparent 30%),
        linear-gradient(135deg, rgba(12, 18, 25, .98), rgba(6, 10, 15, .99));
    border: 1px solid rgba(202, 211, 222, .11);
    border-top-color: rgba(213, 184, 115, .3);
}

.donate-form::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(213, 184, 115, .1);
    transform: rotate(45deg);
    pointer-events: none;
}

.donate-form__field {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.donate-form__field label {
    display: block;
    margin-bottom: 9px;
    color: #d8b95f;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.donate-form__input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    height: 56px;
    background: rgba(2, 6, 10, .78);
    border: 1px solid rgba(202, 211, 222, .15);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.donate-form__input-wrap:focus-within {
    border-color: rgba(235, 203, 113, .62);
    box-shadow: 0 0 0 2px rgba(213, 184, 115, .06);
}

.donate-form__input {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    color: #f0d27a;
    background: transparent;
    border: 0;
    outline: 0;
    font-family: "Cormorant SC", Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.donate-form__input::-webkit-inner-spin-button,
.donate-form__input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.donate-form__input-wrap > span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca5af;
    border-left: 1px solid rgba(202, 211, 222, .1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.donate-form__summary {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 56px;
    padding: 0 16px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(202, 211, 222, .1);
}

.donate-form__summary > span {
    color: #707b88;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.donate-form__summary strong {
    margin-top: 6px;
    color: #e9cf7d;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}

.donate-form__summary small {
    color: #7d8792;
    font-size: 9px;
    letter-spacing: .07em;
}

.donate-form__submit {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 56px;
    padding: 0 20px 0 23px;
    color: #151108;
    background: linear-gradient(90deg, #efd27e, #c99d43);
    border: 0;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: filter .18s ease, transform .18s ease;
}

.donate-form__submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.donate-form__submit:focus-visible {
    outline: 2px solid #f4d987;
    outline-offset: 3px;
}

.donate-form__submit span {
    font-size: 17px;
    font-weight: 400;
}

/* Support */

.donate-help {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 26px 48px;
    background: linear-gradient(90deg, rgba(9, 14, 20, .96), rgba(5, 9, 14, .98));
    border: 0;
    border-bottom: 1px solid rgba(202, 211, 222, .09);
}

.donate-help__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #d6ba68;
    background: rgba(213, 184, 115, .07);
    border: 1px solid rgba(213, 184, 115, .28);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    font-size: 14px;
    font-weight: 800;
}

.donate-help__content {
    min-width: 0;
}

.donate-help__eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
}

.donate-help__content h3 {
    margin: 0 0 4px;
    color: #e4e8ec;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.donate-help__content p {
    max-width: 610px;
    margin: 0;
    color: #7d8793;
    font-size: 12px;
    line-height: 1.5;
}

.donate-help__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.donate-help__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 102px;
    height: 36px;
    padding: 0 14px;
    color: #cbd1d7 !important;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(202, 211, 222, .12);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.donate-help__button:hover {
    color: #f0d37e !important;
    background: rgba(213, 184, 115, .06);
    border-color: rgba(226, 194, 111, .36);
}

.donate-footnote {
    padding: 16px 48px 0;
    color: #626d79;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

.donate-empty {
    padding: 42px 20px;
    color: #75808c;
    border: 1px dashed rgba(202, 211, 222, .13);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 1300px) and (min-width: 901px) {
    body.site-page.site-page--donate .page-index > .content {
        grid-template-columns: minmax(0, 1fr) 290px !important;
        gap: 20px !important;
        width: calc(100% - 40px) !important;
    }

    body.site-page.site-page--donate .column-right.home-sidebar {
        width: 290px !important;
    }

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

    .donate-form {
        grid-template-columns: minmax(220px, 1fr) 160px;
    }

    .donate-form__submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    body.site-page.site-page--donate .page-index > .content {
        display: block !important;
        width: calc(100% - 28px) !important;
        padding: 24px 0 52px !important;
    }

    body.site-page.site-page--donate .column-left,
    body.site-page.site-page--donate .column-right.home-sidebar {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.site-page.site-page--donate .column-right.home-sidebar {
        margin-top: 22px !important;
    }

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

    .donate-form {
        grid-template-columns: minmax(0, 1fr) 180px;
    }

    .donate-form__submit {
        grid-column: 1 / -1;
    }

    .donate-help {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .donate-help__actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .donate-hero {
        min-height: 0;
        padding: 25px 24px 27px;
    }

    .donate-title {
        font-size: 37px;
    }

    .donate-description {
        font-size: 13px;
    }

    .donate-section {
        padding: 30px 24px 34px;
    }

    .donate-section-head {
        align-items: flex-start;
    }

    .donate-section-head h2 {
        font-size: 27px;
    }

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

    .donate-form {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px;
    }

    .donate-form__summary,
    .donate-form__submit {
        grid-column: 1;
    }

    .donate-card {
        min-height: 208px;
    }

    .donate-help {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 24px;
    }

    .donate-help__actions {
        grid-column: 1 / -1;
    }

    .donate-help__button {
        flex: 1;
    }

    .donate-footnote {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 390px) {
    .donate-help__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
