/* Get Involved page — scoped to this page only */
.get-involved-page {
    color: #243650;
    background: #fff8fb;
}

.get-involved-page .get-involved-options-section {
    padding: 58px 0 64px;
    background: #fff8fb;
}

.get-involved-page .get-involved-options-section > .container,
.get-involved-page .get-involved-donation-section > .container,
.get-involved-page .get-involved-sponsors-section > .container {
    width: auto;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Make the intro its own full-width row, followed by a balanced card grid. */
.get-involved-page .tg-otherwaystohelp {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: auto;
    margin-left: -15px;
    margin-right: -15px;
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child {
    float: none;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 28px;
    box-sizing: border-box;
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child .tg-sectionhead {
    max-width: 760px;
    margin: 0;
    text-align: left;
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child .tg-sectiontitle,
.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child .tg-sectiontitle h2,
.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child .tg-description {
    text-align: left;
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child .tg-sectiontitle h2 {
    font-size: clamp(30px, 3vw, 42px);
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child .tg-description p {
    max-width: 760px;
    margin: 0;
    color: #6e7889;
    font-size: 15px;
    line-height: 1.75;
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
    display: flex;
    float: none;
    width: 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.get-involved-page .tg-waytohelp {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 12px 12px 16px;
    overflow: hidden;
    border: 1px solid #f0dce6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(50, 25, 41, .055);
    box-sizing: border-box;
    transition: transform .2s ease, box-shadow .2s ease;
}

.get-involved-page .tg-waytohelp:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(50, 25, 41, .10);
}

.get-involved-page .tg-waytohelp figure {
    width: 100%;
    height: 210px;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 9px;
    background: #f8eaf1;
}

.get-involved-page .tg-waytohelp figure a {
    display: block;
    width: 100%;
    height: 100%;
}

.get-involved-page .tg-waytohelp figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.get-involved-page .tg-waytohelp:hover figure img {
    transform: scale(1.035);
}

.get-involved-page .tg-waytohelpcontent {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0 5px;
}

.get-involved-page .tg-waytohelpcontent h3 {
    margin: 0 0 9px;
    color: #172e50;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.get-involved-page .tg-waytohelpcontent h3 a {
    color: inherit;
    text-decoration: none;
}

.get-involved-page .tg-waytohelpcontent h3 a:hover {
    color: #ec008c;
}

.get-involved-page .tg-waytohelpcontent .tg-description {
    flex: 1 1 auto;
    margin: 0 0 15px;
}

.get-involved-page .tg-waytohelpcontent .tg-description p {
    margin: 0;
    color: #778194;
    font-size: 13px;
    line-height: 1.6;
}

.get-involved-page .tg-waytohelpcontent > .tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 10px 14px;
    border: 0;
    border-radius: 7px;
    background: #f23665;
    color: #fff !important;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .2s ease, transform .2s ease;
}

.get-involved-page .tg-waytohelpcontent > .tg-btn:hover {
    background: #e50079;
    transform: translateY(-1px);
}

/* Donations explainer section */
.get-involved-page .get-involved-donation-section {
    padding: 64px 0;
    background-color: #67133f;
    background-image: linear-gradient(120deg, rgba(58, 13, 43, .92), rgba(111, 20, 68, .91));
    background-position: center;
    background-size: cover;
}

.get-involved-page .get-involved-donation-section .tg-sectiontitle h2 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.25;
}

.get-involved-page .get-involved-donation-section .tg-sectiontitle h2 span {
    display: inline-block;
    padding: 0 7px 3px;
    border-radius: 3px;
    background: #ec008c;
    color: #fff;
}

.get-involved-page .get-involved-donation-section .tg-description p {
    color: rgba(255,255,255,.86);
    font-size: 15px;
    line-height: 1.75;
}

.get-involved-page .tg-floatdonations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    max-width: 760px;
    margin: 20px auto 0;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    box-sizing: border-box;
}

.get-involved-page .tg-donutchart {
    flex: 0 0 240px;
    max-width: 240px;
}

.get-involved-page .tg-graphinfo {
    margin: 0;
    padding: 0;
}

.get-involved-page .tg-graphinfo li {
    margin: 12px 0;
    color: #fff;
    font-size: 14px;
}

/* Sponsor logos */
.get-involved-page .get-involved-sponsors-section {
    padding: 58px 0 64px;
    background: #fff;
}

.get-involved-page .get-involved-sponsors-section .tg-sectionhead {
    margin-bottom: 28px;
}

.get-involved-page .get-involved-sponsors-section .tg-sectiontitle h2 {
    color: #172e50;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 38px);
}

.get-involved-page .get-involved-sponsors-section .tg-oursponsors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.get-involved-page .get-involved-sponsors-section .tg-oursponsor {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width: calc(20% - 18px);
    padding: 16px;
    border: 1px solid #f0dce6;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

.get-involved-page .get-involved-sponsors-section .tg-oursponsor figure,
.get-involved-page .get-involved-sponsors-section .tg-oursponsor a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.get-involved-page .get-involved-sponsors-section .tg-oursponsor img {
    display: block;
    max-width: 100%;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive layout fixes: keep the page scoped and preserve content/links. */
.get-involved-page img,
.get-involved-page svg,
.get-involved-page canvas {
    max-width: 100%;
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
    min-width: 0;
}

.get-involved-page .tg-waytohelpcontent,
.get-involved-page .tg-waytohelpcontent .tg-description,
.get-involved-page .tg-waytohelpcontent h3 {
    min-width: 0;
    overflow-wrap: anywhere;
}

.get-involved-page .tg-waytohelpcontent .tg-description {
    flex: 0 0 auto;
}

.get-involved-page .get-involved-donation-section .tg-sectionhead {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.get-involved-page .tg-floatdonations > * {
    min-width: 0;
}

@media (max-width: 991px) {
    .get-involved-page .get-involved-options-section > .container,
    .get-involved-page .get-involved-donation-section > .container,
    .get-involved-page .get-involved-sponsors-section > .container {
        max-width: 750px;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .get-involved-page .tg-waytohelp figure {
        height: 190px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsor {
        width: calc(33.333333% - 13px);
    }
}

@media (max-width: 767px) {
    .get-involved-page .get-involved-options-section {
        padding: 34px 0 38px;
    }

    .get-involved-page .tg-otherwaystohelp {
        margin-left: -8px;
        margin-right: -8px;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child {
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 22px;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 18px;
    }

    .get-involved-page .tg-waytohelp {
        padding: 10px 10px 13px;
    }

    .get-involved-page .tg-waytohelp figure {
        height: 175px;
        margin-bottom: 12px;
    }

    .get-involved-page .tg-waytohelpcontent h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .get-involved-page .tg-waytohelpcontent .tg-description p {
        font-size: 12px;
        line-height: 1.55;
    }

    .get-involved-page .tg-waytohelpcontent > .tg-btn {
        min-height: 40px;
    }

    .get-involved-page .get-involved-donation-section {
        padding: 38px 0;
    }

    .get-involved-page .tg-floatdonations {
        gap: 18px;
        padding: 18px;
    }

    .get-involved-page .tg-donutchart {
        flex: 0 1 180px;
        max-width: 180px;
        min-width: 0;
    }

    .get-involved-page .get-involved-sponsors-section {
        padding: 36px 0;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsors {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .get-involved-page .get-involved-options-section > .container,
    .get-involved-page .get-involved-donation-section > .container,
    .get-involved-page .get-involved-sponsors-section > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .get-involved-page .tg-otherwaystohelp {
        margin-left: 0;
        margin-right: 0;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child,
    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child {
        margin-bottom: 20px;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
        margin-bottom: 16px;
    }

    .get-involved-page .tg-waytohelp {
        height: auto;
    }

    .get-involved-page .tg-waytohelp figure {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .get-involved-page .tg-waytohelp figure a,
    .get-involved-page .tg-waytohelp figure img {
        width: 100%;
        height: 100%;
    }

    .get-involved-page .tg-floatdonations {
        flex-direction: column;
        gap: 14px;
        margin-top: 18px;
        padding: 14px;
    }

    .get-involved-page .tg-donutchart {
        flex: 0 0 auto;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .get-involved-page .tg-graphinfo {
        width: 100%;
    }

    .get-involved-page .tg-graphinfo li {
        margin: 8px 0;
        font-size: 13px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsor {
        width: calc(50% - 6px);
        min-height: 82px;
        padding: 10px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsor img {
        max-height: 54px;
    }
}

@media (max-width: 360px) {
    .get-involved-page .tg-waytohelpcontent h3 {
        font-size: 17px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsors {
        gap: 8px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsor {
        width: calc(50% - 4px);
    }
}


/* Final content-only responsive alignment overrides — header/footer untouched */
.get-involved-page,
.get-involved-page * {
    box-sizing: border-box;
}

.get-involved-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.get-involved-page .get-involved-options-section > .container,
.get-involved-page .get-involved-donation-section > .container,
.get-involved-page .get-involved-sponsors-section > .container {
    width: 100%;
    max-width: 1170px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Keep the intro and card grid aligned to the same container edges. */
.get-involved-page .tg-otherwaystohelp {
    margin-left: 0;
    margin-right: 0;
    row-gap: 0;
}

.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child,
.get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
    min-width: 0;
}

.get-involved-page .tg-waytohelp {
    min-width: 0;
}

.get-involved-page .tg-waytohelp figure {
    max-width: 100%;
}

.get-involved-page .tg-waytohelp figure img {
    max-width: 100%;
}

.get-involved-page .tg-waytohelpcontent .tg-description,
.get-involved-page .tg-waytohelpcontent .tg-description p {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.get-involved-page .tg-floatdonations {
    width: 100%;
}

.get-involved-page .tg-donutchart,
.get-involved-page .tg-donutchart canvas,
.get-involved-page .tg-donutchart svg {
    max-width: 100%;
}

.get-involved-page .get-involved-sponsors-section .tg-oursponsors {
    width: 100%;
}

@media (max-width: 991px) {
    .get-involved-page .get-involved-options-section > .container,
    .get-involved-page .get-involved-donation-section > .container,
    .get-involved-page .get-involved-sponsors-section > .container {
        max-width: 750px;
    }
}

@media (max-width: 767px) {
    .get-involved-page .get-involved-options-section > .container,
    .get-involved-page .get-involved-donation-section > .container,
    .get-involved-page .get-involved-sponsors-section > .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .get-involved-page .tg-otherwaystohelp {
        margin-left: 0;
        margin-right: 0;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child,
    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
        margin-bottom: 18px;
    }

    .get-involved-page .tg-waytohelp {
        width: 100%;
        height: auto;
    }

    .get-involved-page .tg-floatdonations {
        gap: 16px;
        padding: 14px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsors {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .get-involved-page .get-involved-options-section > .container,
    .get-involved-page .get-involved-donation-section > .container,
    .get-involved-page .get-involved-sponsors-section > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .get-involved-page .tg-floatdonations {
        padding: 12px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsor {
        width: calc(50% - 6px);
        min-width: 0;
    }
}


/* ==========================================================
   GAP Get Involved — mobile side-gutter and section alignment
   Scoped to this page; desktop/tablet layout remains unchanged.
   ========================================================== */
.get-involved-page,
.get-involved-page * {
    box-sizing: border-box;
}

.get-involved-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@media (max-width: 767px) {
    /* Prevent Bootstrap row negative margins from touching the viewport edge. */
    .get-involved-page > section > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .get-involved-page > section > .container > .row {
        margin-left: 0;
        margin-right: 0;
    }

    /* Intro and help cards share one consistent content edge. */
    .get-involved-page .tg-otherwaystohelp {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:first-child,
    .get-involved-page .tg-otherwaystohelp > .tg-verticalmiddle:not(:first-child) {
        padding-left: 0;
        padding-right: 0;
    }

    .get-involved-page .tg-waytohelp {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Donation explainer: match the same left/right gutter. */
    .get-involved-page .get-involved-donation-section .tg-sectionhead,
    .get-involved-page .get-involved-donation-section .tg-floatdonations {
        width: 100%;
        max-width: 100%;
    }

    .get-involved-page .get-involved-donation-section .tg-sectiontitle,
    .get-involved-page .get-involved-donation-section .tg-description {
        padding-left: 0;
        padding-right: 0;
    }

    /* Sponsor intro and logo grid stay inside the viewport. */
    .get-involved-page .get-involved-sponsors-section .tg-oursponsorsarea {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsorsarea > [class*="col-"] {
        float: none;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsors {
        width: 100%;
        gap: 10px;
    }

    .get-involved-page .get-involved-sponsors-section .tg-oursponsor {
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .get-involved-page > section > .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}
