.container0 {

    display: block;

}

.container {

}

.aside {

    display: grid;

    grid-template-columns:
        minmax(0, 3fr)
        minmax(280px, 1fr);

    margin: 0;

    padding: 0;

}


/* =========================================================
   CHARITY & CHARITABLE WORKS
   FANCY • CLASSY • ELEGANT
========================================================= */

.charity-section {

    width: 100%;

    padding:
        35px 0 60px;

    box-sizing: border-box;

}


/* =========================================================
   CHARITY SECTION BLOCKS

   Actual HTML:

   .charity-section
       > div
           > h1
           > .charity-container
========================================================= */

.charity-section > div {

    width: 92%;

    max-width: 1400px;

    margin:
        0 auto;

    padding: 0;

    box-sizing: border-box;

}

.charity-section > div + div {

    margin-top: 70px;

}


/* =========================================================
   SECTION TITLE
========================================================= */

.charity-section > div > h1 {

    width: 100%;

    margin:
        0 0 28px;

    padding: 0;

    box-sizing: border-box;

    font-family:
        "Playfair Display",
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.5rem
        );

    font-weight: 600;

    line-height: 1.1;

    color: #0A1D3F;

}


/* =========================================================
   CHARITY GRID

   THIS IS THE MAIN DISPLAY RULE
========================================================= */

.charity-section .charity-container {

    width: 100%;

    max-width: none;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 28px;

    align-items: stretch;

}


/* =========================================================
   FORCE GENERATED CARDS TO BE GRID ITEMS
========================================================= */

.charity-section
.charity-container
.charity-card {

    position: relative;

    display: block;

    width: 100%;

    min-width: 0;

    min-height: 0;

    box-sizing: border-box;

}


/* =========================================================
   CHARITY CARD
========================================================= */

.charity-card {

    position: relative;

    width: 100%;

    min-width: 0;

    min-height: 0;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid
        rgba(
            10,
            29,
            63,
            0.08
        );

    border-radius: 4px;

    box-shadow:
        0 12px 35px
        rgba(
            10,
            29,
            63,
            0.10
        ),
        0 3px 10px
        rgba(
            10,
            29,
            63,
            0.05
        );

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;

    isolation: isolate;

}


/* =========================================================
   CARD HOVER
========================================================= */

.charity-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 22px 50px
        rgba(
            10,
            29,
            63,
            0.16
        ),
        0 5px 15px
        rgba(
            10,
            29,
            63,
            0.08
        );

}


/* =========================================================
   CHARITY IMAGE
========================================================= */

.charity-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    max-width: none;

    margin: 0;

    padding: 0;

    display: block;

    object-fit: cover;

    box-sizing: border-box;

    transition:
        transform 0.8s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

}


.charity-card:hover .charity-image {

    transform:
        scale(1.055);

}


/* =========================================================
   IMAGE DARKENING
========================================================= */

.charity-card::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(
                5,
                18,
                38,
                0.02
            ) 15%,
            rgba(
                5,
                18,
                38,
                0.10
            ) 42%,
            rgba(
                5,
                18,
                38,
                0.82
            ) 100%
        );

    pointer-events: none;

}


/* =========================================================
   CARD CONTENT
========================================================= */

.charity-content {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    z-index: 2;

    width: 100%;

    box-sizing: border-box;

    padding:
        28px
        27px
        26px;

    color: #ffffff;

}


/* =========================================================
   ACTIVITY HEADLINE
========================================================= */

.charity-content h2 {

    width: 100%;

    margin:
        0 0 16px;

    padding: 0;

    box-sizing: border-box;

    font-family:
        "Playfair Display",
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size:
        clamp(
            1.35rem,
            2vw,
            1.85rem
        );

    font-weight: 600;

    line-height: 1.15;

    letter-spacing:
        -0.015em;

    text-shadow:
        0 2px 8px
        rgba(
            0,
            0,
            0,
            0.28
        );

}


/* =========================================================
   DATE + ACTIONS
========================================================= */

.charity-bottom {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    box-sizing: border-box;

}


/* =========================================================
   DATE
========================================================= */

.charity-date {

    margin: 0;

    padding: 0;

    flex: 1 1 auto;

    min-width: 0;

    font-family:
        "Inter",
        "Segoe UI",
        sans-serif;

    font-size: 0.7rem;

    font-weight: 500;

    letter-spacing:
        0.10em;

    text-transform: uppercase;

    opacity: 0.88;

}


/* =========================================================
   ACTIONS
========================================================= */

.charity-actions {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    flex:
        0 0 auto;

}


/* =========================================================
   REMINDER BUTTON
========================================================= */

.charity-reminder {

    width: 29px;

    height: 29px;

    min-width: 29px;

    padding: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    border: none;

    border-radius: 2px;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );

    color: #ffffff;

    font-size: 17px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}


.charity-reminder:hover {

    background:
        rgba(
            255,
            255,
            255,
            0.22
        );

    transform:
        translateY(-2px);

}


/* =========================================================
   DONATE BUTTON
========================================================= */

.charity-donate {

    position: static;

    min-width: 110px;

    height: 35px;

    padding:
        0 17px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.55
        );

    border-radius: 2px;

    background:
        rgba(
            255,
            255,
            255,
            0.95
        );

    color: #0a1d3f;

    font-family:
        "Inter",
        "Segoe UI",
        sans-serif;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing:
        0.10em;

    text-transform: uppercase;

    text-decoration: none;

    box-shadow:
        0 5px 15px
        rgba(
            0,
            0,
            0,
            0.14
        );

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.charity-donate:hover {

    background: #0a1d3f;

    color: #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(
            0,
            0,
            0,
            0.22
        );

}


/* =========================================================
   EMPTY / ERROR
========================================================= */

.charity-empty,
.charity-error {

    grid-column:
        1 / -1;

    width: 100%;

    min-height: 220px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    padding: 30px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid
        rgba(
            10,
            29,
            63,
            0.08
        );

    box-shadow:
        0 10px 30px
        rgba(
            10,
            29,
            63,
            0.06
        );

}


.charity-empty p,
.charity-error p {

    margin: 0;

    padding: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 1.35rem;

    color: #526070;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .charity-section > div {

        width: 90%;

    }


    .charity-section .charity-container {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 22px;

    }


    .charity-section > div > h1 {

        margin-bottom: 22px;

        font-size: 2rem;

    }


    .charity-section > div + div {

        margin-top: 55px;

    }


    .charity-content {

        padding:
            23px
            22px
            22px;

    }


    .charity-content h2 {

        font-size: 1.4rem;

    }


    .charity-reminder {

        width: 29px;

        height: 29px;

        min-width: 29px;

        font-size: 15px;

    }


    .charity-donate {

        min-width: 105px;

        height: 35px;

        padding:
            0 16px;

    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 600px) {

    .charity-section {

        padding:
            20px 0 40px;

    }


    .charity-section > div {

        width: 92%;

    }


    .charity-section .charity-container {

        grid-template-columns: 1fr;

        gap: 22px;

    }


    .charity-section > div > h1 {

        margin-bottom: 18px;

        font-size: 1.8rem;

    }


    .charity-section > div + div {

        margin-top: 45px;

    }


    .charity-card {

        width: 100%;

        aspect-ratio: 1 / 1;

        border-radius: 3px;

    }


    .charity-content {

        padding:
            24px
            21px
            21px;

    }


    .charity-content h2 {

        font-size: 1.5rem;

        line-height: 1.12;

        margin-bottom: 15px;

    }


    .charity-date {

        font-size: 0.72rem;

    }


    .charity-bottom {

        gap: 12px;

    }


    .charity-actions {

        gap: 6px;

    }


    .charity-reminder {

        width: 29px;

        height: 29px;

        min-width: 29px;

        font-size: 15px;

    }


    .charity-donate {

        min-width: 105px;

        height: 38px;

        padding:
            0 18px;

        font-size: 0.72rem;

    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .charity-section > div {

        width: 94%;

    }


    .charity-section > div > h1 {

        font-size: 1.6rem;

    }


    .charity-content {

        padding:
            20px
            18px
            18px;

    }


    .charity-content h2 {

        font-size: 1.3rem;

    }


    .charity-date {

        font-size: 0.65rem;

    }


    .charity-bottom {

        gap: 8px;

    }


    .charity-actions {

        gap: 5px;

    }


    .charity-reminder {

        width: 28px;

        height: 28px;

        min-width: 28px;

    }


    .charity-donate {

        min-width: 95px;

        height: 36px;

        padding:
            0 14px;

        font-size: 0.68rem;

    }

}


/* =========================================================
   CHARITY PAGINATION
========================================================= */

.charity-pagination {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin:
        32px 0 10px;

    box-sizing: border-box;

}


/* =========================================================
   PAGINATION BUTTONS
========================================================= */

.charity-page-button {

    min-width: 44px;

    height: 42px;

    padding:
        0 16px;

    display: inline-flex;

    justify-content: center;

    align-items: center;

    box-sizing: border-box;

    border:
        1px solid
        rgba(
            10,
            29,
            63,
            0.18
        );

    background: #ffffff;

    color: #0A1D3F;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.3px;

    border-radius: 3px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


/* =========================================================
   PAGINATION HOVER
========================================================= */

.charity-page-button:hover:not(:disabled) {

    background: #0A1D3F;

    color: #ffffff;

    border-color: #0A1D3F;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 18px
        rgba(
            10,
            29,
            63,
            0.14
        );

}


/* =========================================================
   CURRENT PAGE
========================================================= */

.charity-page-button.active {

    background: #0A1D3F;

    color: #ffffff;

    border-color: #0A1D3F;

    cursor: default;

    box-shadow:
        0 5px 14px
        rgba(
            10,
            29,
            63,
            0.12
        );

}


/* =========================================================
   DISABLED PREV / NEXT
========================================================= */

.charity-page-button:disabled {

    opacity: 0.45;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


/* =========================================================
   PAGINATION MOBILE
========================================================= */

@media (max-width: 600px) {

    .charity-pagination {

        margin:
            26px 0 5px;

        gap: 8px;

    }


    .charity-page-button {

        min-width: 40px;

        height: 40px;

        padding:
            0 13px;

        font-size: 15px;

    }

}

/* =========================================
   DONATION MODAL
========================================= */

.donation-modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);

    z-index: 9999;

}


.donation-modal.active {

    display: flex;

}


/* =========================================
   DONATION FORM CONTAINER
========================================= */

.donation-modal-content {

    position: relative;

    width: 100%;

    max-width: 520px;

    max-height: 90vh;

    overflow-y: auto;

    box-sizing: border-box;

    padding: 34px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.25);

}


/* =========================================
   CLOSE BUTTON
========================================= */

.donation-close {

    position: absolute;

    top: 14px;
    right: 16px;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    color: #333;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

}


.donation-close:hover {

    opacity: 0.65;

}


/* =========================================
   HEADER
========================================= */

.donation-header {

    margin-bottom: 26px;

    padding-right: 35px;

}


.donation-label {

    display: block;

    margin-bottom: 8px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    opacity: 0.65;

}


.donation-header h2 {

    margin: 0 0 10px;

    font-size: 27px;

    line-height: 1.2;

}


.donation-header p {

    margin: 0;

    font-size: 14px;

    line-height: 1.6;

    opacity: 0.7;

}


/* =========================================
   FORM FIELD
========================================= */

.donation-field {

    margin-bottom: 18px;

}


.donation-field label {

    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;

}


.donation-field label span {

    font-weight: 400;

    opacity: 0.55;

}


.donation-field input,
.donation-field textarea,
.donation-field select {

    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #d8d8d8;

    border-radius: 9px;

    background: #ffffff;

    color: #222;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.donation-field input {

    height: 46px;

}


.donation-field textarea {

    min-height: 100px;

    resize: vertical;

}


.donation-field input:focus,
.donation-field textarea:focus,
.donation-field select:focus {

    border-color: #0b2c5f;

    box-shadow:
        0 0 0 3px
        rgba(11, 44, 95, 0.08);

}


/* =========================================
   AMOUNT + CURRENCY
========================================= */

.donation-amount {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        100px;

    gap: 8px;

}


.donation-amount input,
.donation-amount select {

    min-width: 0;

}


/* =========================================
   SUBMIT BUTTON
========================================= */

.donation-submit {

    width: 100%;

    height: 48px;

    margin-top: 6px;

    padding: 0 20px;

    border: none;

    border-radius: 9px;

    background: #0b2c5f;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

}


.donation-submit:hover {

    opacity: 0.92;

}


.donation-submit:active {

    transform: scale(0.99);

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .donation-modal-content {

        max-width: 500px;

        padding: 30px;

    }

}


/* =========================================
   PHONE
========================================= */

@media (max-width: 600px) {

    .donation-modal {

        padding: 0;

        align-items: stretch;

    }


    .donation-modal-content {

        width: 100%;

        max-width: none;

        max-height: none;

        min-height: 100vh;

        overflow-y: auto;

        padding:
            70px
            22px
            30px;

        border-radius: 0;

    }


    .donation-header {

        margin-bottom: 24px;

    }


    .donation-header h2 {

        font-size: 24px;

    }


    .donation-field {

        margin-bottom: 17px;

    }


    .donation-amount {

        grid-template-columns:
            minmax(0, 1fr)
            88px;

    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .donation-modal-content {

        padding:
            65px
            17px
            25px;

    }


    .donation-header h2 {

        font-size: 22px;

    }


    .donation-field input,
    .donation-field textarea,
    .donation-field select {

        font-size: 13px;

    }


    .donation-amount {

        grid-template-columns:
            minmax(0, 1fr)
            82px;

    }

}

/* =========================================
   DONATION CLOSED POPUP
========================================= */

.donation-closed-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(5, 18, 38, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.donation-closed-popup-content {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 42px 36px 36px;

    box-sizing: border-box;

    background: #ffffff;
    border-radius: 14px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);
}

.donation-closed-popup-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 34px;
    height: 34px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;

    color: #0A1D3F;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.donation-closed-popup-close:hover {
    opacity: 0.65;
    transform: rotate(90deg);
}

.donation-closed-popup-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(10, 29, 63, 0.07);
    color: #0A1D3F;

    font-size: 25px;
}

.donation-closed-popup-content h2 {
    margin: 0 0 12px;

    font-family:
        "Playfair Display",
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 2rem;
    font-weight: 600;
    line-height: 1.15;

    color: #0A1D3F;
}

.donation-closed-popup-message {
    margin: 0 0 18px;

    font-family:
        "Inter",
        "Segoe UI",
        sans-serif;

    font-size: 0.92rem;
    line-height: 1.65;

    color: #526070;
}

.donation-closed-popup-activity {
    margin: 0 0 26px;

    font-family:
        "Playfair Display",
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;

    color: #0A1D3F;
}

.donation-closed-popup-button {
    width: 100%;
    height: 44px;

    padding: 0 20px;

    border: none;
    border-radius: 4px;

    background: #0A1D3F;
    color: #ffffff;

    font-family:
        "Inter",
        "Segoe UI",
        sans-serif;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.10em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.donation-closed-popup-button:hover {
    background: #132e59;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(10, 29, 63, 0.18);
}


/* =========================================
   DONATION CLOSED POPUP — PHONE
========================================= */

@media (max-width: 600px) {

    .donation-closed-popup {
        padding: 18px;
    }

    .donation-closed-popup-content {
        max-width: none;

        padding:
            38px
            24px
            28px;

        border-radius: 12px;
    }

    .donation-closed-popup-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 18px;

        font-size: 22px;
    }

    .donation-closed-popup-content h2 {
        font-size: 1.75rem;
    }

    .donation-closed-popup-message {
        font-size: 0.88rem;
    }

    .donation-closed-popup-activity {
        font-size: 1rem;
    }
}

/* =========================================
   DONATION COUNTDOWN
   DISCREET VERSION
========================================= */

.donation-countdown {
    margin-top: 14px;
    padding: 0;

    box-sizing: border-box;

    text-align: left;
}

.donation-countdown-label {
    display: inline;

    margin: 0;

    font-family:
        "Inter",
        "Segoe UI",
        sans-serif;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.09em;
    text-transform: uppercase;

    color: #526070;

    opacity: 0.72;
}

.donation-countdown-time {
    display: inline;

    margin-left: 5px;

    font-family:
        "Inter",
        "Segoe UI",
        sans-serif;

    font-size: 0.9rem;
    font-weight: 600;

    letter-spacing: 0.025em;

    color: #526070;

    line-height: 1.3;

    font-variant-numeric: tabular-nums;
}


/* =========================================
   PHONE
========================================= */

@media (max-width: 600px) {

    .donation-countdown {
        margin-top: 12px;
    }

    .donation-countdown-label {
        font-size: 8px;
    }

    .donation-countdown-time {
        font-size: 0.74rem;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .donation-countdown-label {
        font-size: 8px;
    }

    .donation-countdown-time {
        font-size: 0.70rem;
    }
}

.donation-payment-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
}

.donation-payment-popup.active {
    display: flex;
}

.donation-payment-popup .donation-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 34px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {

    .donation-payment-popup {
        padding: 0;
        align-items: stretch;
    }

    .donation-payment-popup
        .donation-modal-content {

        width: 100%;
        max-width: none;
        max-height: none;
        min-height: 100vh;
        padding:
            70px
            22px
            30px;
        border-radius: 0;
    }

}