/* Become Volunteer — polished page-specific styling; global site CSS remains untouched. */
.volunteer-page {
    padding: 38px 0 54px;
    background: #fff7fa;
    color: #273851;
}
.volunteer-page, .volunteer-page * { box-sizing: border-box; }
.volunteer-page > .container {
    width: calc(100% - 30px) !important;
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.volunteer-page .tg-videoplusgreeting { margin-bottom: 24px; }


.volunteer-page .tg-description {
    color: #64748a;
    font-size: 15px;
    line-height: 1.8;
}


.volunteer-page .tg-staticstic {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 20px;
    border: 1px solid #f1dce5;
    border-radius: 13px;
    background: #fffafd;
}


.volunteer-page .volunteer-form-card {
    padding-bottom: 28px;
}
.volunteer-page .volunteer-form-card > .tg-sectiontitle {
    padding-bottom: 20px;
    border-bottom: 1px solid #f5e2ea;
    background: #fffafd;
}
.volunteer-page .tg-formdonation {
    padding: 24px 30px 0;
}
.volunteer-page .tg-donationstep { margin: 0; }
.volunteer-page .tg-steptitle { margin: 0 0 18px; }
.volunteer-page .tg-steptitle h3 {
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #d7efdf;
    border-radius: 10px;
    background: #f1fbf4;
    color: #217345 !important;
    font-size: 15px;
    line-height: 1.5;
}
.volunteer-page .tg-formdonation .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}
.volunteer-page .tg-formdonation .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}
.volunteer-page .form-group { margin-bottom: 16px; }
.volunteer-page .form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e5d9e0;
    border-radius: 9px;
    background: #fff;
    color: #273851;
    box-shadow: none;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.volunteer-page textarea.form-control {
    min-height: 125px;
    resize: vertical;
}
.volunteer-page .form-control:focus {
    border-color: #ec087b;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(236, 8, 123, .1);
}
.volunteer-page .tg-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 18px;
    color: #64748a;
    font-size: 13px;
    line-height: 1.5;
}
.volunteer-page .tg-checkbox input {
    flex: 0 0 auto;
    margin-top: 3px;
    accent-color: #ec087b;
}
.volunteer-page .tg-btn,
.volunteer-page button.tg-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 0;
    border-radius: 9px;
    background: #ec087b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(236, 8, 123, .18);
    transition: background .2s ease, transform .2s ease;
}
.volunteer-page .tg-btn:hover,
.volunteer-page button.tg-btn:hover {
    background: #c90065;
    color: #fff;
    transform: translateY(-1px);
}
@media (max-width: 767px) {
    .volunteer-page { padding: 28px 0 40px; }
    .volunteer-page .tg-sectiontitle { padding: 23px 20px 12px; }
    .volunteer-page .volunteer-summary-card > .tg-description { padding: 0 20px 22px; }
    .volunteer-page .tg-staticstics { grid-template-columns: minmax(0, 1fr); padding: 0 20px 22px; }
    .volunteer-page .tg-formdonation { padding: 20px 20px 0; }
    .volunteer-page .tg-formdonation .row { display: block; }
    .volunteer-page .tg-formdonation .row > [class*="col-"] { width: 100%; }
}
@media (max-width: 480px) {
    .volunteer-page > .container { width: calc(100% - 28px) !important; }
    .volunteer-page .tg-btn,
    .volunteer-page button.tg-btn { width: 100%; }
}


/* Fix for legacy theme's nested card frame: keep exactly one border per item. */
.volunteer-page .tg-staticstic,
.volunteer-page .tg-volunteers {
    border: 1px solid #f3cddd !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    padding: 22px !important;
    border-radius: 14px !important;
}
.volunteer-page .tg-staticsticholder,
.volunteer-page .tg-staticstic .tg-staticsticholder {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
.volunteer-page .tg-staticsticholder::before,
.volunteer-page .tg-staticsticholder::after,
.volunteer-page .tg-staticstic::before,
.volunteer-page .tg-staticstic::after {
    content: none !important;
    display: none !important;
}
.volunteer-page .tg-content,
.volunteer-page #tg-content,
.volunteer-page .tg-twocolumns {
    width: 100%;
    max-width: 100%;
}
.volunteer-page .tg-content { float: none; }
.volunteer-page .tg-staticstic h3 {
    text-align: left;
}
@media (min-width: 768px) {
    .volunteer-page .tg-staticstics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Reference-match pass: real icon + content layout (not just cosmetic borders). */
.volunteer-page .tg-staticstic.tg-volunteers {
    display: flex !important;
    align-items: flex-start;
    gap: 18px;
    min-height: 150px;
    padding: 22px 20px !important;
    border: 1px solid #ffc7df !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.volunteer-page .volunteer-card-icon {
    display: flex;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fde8f1;
    color: #ed087b;
}
.volunteer-page .volunteer-card-icon svg {
    display: block;
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.volunteer-page .tg-staticsticholder {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.volunteer-page .tg-staticstic h3,
.volunteer-page .tg-staticstic h4 {
    margin: 0 0 10px;
    color: #182b47;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;

    margin: 3px 0 10px !important;
    color: #102b50 !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    text-align: left !important;
}
.volunteer-page .tg-staticstic .tg-description,
.volunteer-page .tg-staticstic .tg-description p {
    margin: 0;
    color: #64748a;
    font-size: 14px;
    line-height: 1.75;

    margin: 0 !important;
    color: #40536d !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}
.volunteer-page .tg-sectiontitle {
    margin: 0 !important;
    padding: 26px 30px 12px;

    padding: 20px 24px 10px !important;
}
.volunteer-page .tg-sectiontitle h2 {
    margin: 0;
    color: #182b47;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.25;

    font-size: clamp(25px, 2.5vw, 34px) !important;
    color: #102b50 !important;
}
.volunteer-page .volunteer-summary-card > .tg-description {
    padding: 0 30px 26px;

    padding: 0 24px 20px !important;
}
.volunteer-page .tg-staticstics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 !important;
    padding: 0 30px 30px;

    gap: 12px !important;
    padding: 0 24px 24px !important;
}
.volunteer-page .tg-videoplusgreeting,
.volunteer-page .volunteer-form-card {
    overflow: hidden;
    border: 1px solid #f0dce5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(38, 25, 44, .07);

    border: 1px solid #f8dce8 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(28, 38, 59, .06) !important;
}
.volunteer-page .volunteer-form-card .tg-formdonation {
    padding: 20px 24px 0 !important;
}
.volunteer-page .volunteer-form-card .form-control {
    min-height: 42px;
    border-radius: 5px;
    border-color: #dce3eb;
}
.volunteer-page .volunteer-form-card textarea.form-control {
    min-height: 90px;
}
@media (max-width: 767px) {
    .volunteer-page .tg-staticstic.tg-volunteers { gap: 13px; padding: 17px 15px !important; }
    .volunteer-page .volunteer-card-icon { flex-basis: 52px; width: 52px; height: 52px; }
    .volunteer-page .volunteer-card-icon svg { width: 27px; height: 27px; }
    .volunteer-page .tg-staticstic h3 { font-size: 15px !important; }
    .volunteer-page .tg-staticstic .tg-description,
    .volunteer-page .tg-staticstic .tg-description p { font-size: 13px !important; }
    .volunteer-page .tg-sectiontitle { padding: 19px 18px 10px !important; }
    .volunteer-page .tg-staticstics { padding: 0 18px 20px !important; }
    .volunteer-page .volunteer-summary-card > .tg-description { padding: 0 18px 18px !important; }
    .volunteer-page .volunteer-form-card .tg-formdonation { padding: 18px 18px 0 !important; }
}
