.volunteer-page {
    color: var(--text-color);
}

.volunteer-hero {
    min-height: 650px;
    padding: 180px 0 90px;
    position: relative;
    overflow: hidden;
    background: #f9fafe;
}

.volunteer-hero::after {
    content: "";
    position: absolute;
    width: 510px;
    height: 510px;
    top: 90px;
    right: -130px;
    border: 1px solid rgba(8, 155, 77, .12);
    border-radius: 50%;
}

.volunteer-hero .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    gap: 48px;
}

.volunteer-hero-content {
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.volunteer-eyebrow,
.volunteer-section .small-txt {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.volunteer-hero h1 {
    max-width: 620px;
    margin: 18px 0;
}

.volunteer-hero p {
    max-width: 600px;
    margin-bottom: 30px;
    font-size: 19px;
    line-height: 1.7;
}

.volunteer-button {
    display: inline-flex;
    min-height: 54px;
    padding: 15px 26px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 4px;
    background: var(--button-color);
    color: #fff;
    font: 700 15px/1.4 'Maven Pro', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.volunteer-button:hover,
.volunteer-button:focus {
    background: #067d3e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.volunteer-button:focus-visible,
.volunteer-form input:focus-visible,
.volunteer-form select:focus-visible,
.volunteer-form textarea:focus-visible {
    outline: 3px solid rgba(8, 155, 77, .35);
    outline-offset: 2px;
}

.volunteer-hero-photo {
    position: absolute;
    right: 15px;
    top: 50%;
    z-index: 1;
    width: calc(50% - 25px);
    height: 410px;
    margin: 0;
    border-radius: 18px;
    background: #e7eee9;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .15);
    transform: translateY(-50%);
}

.volunteer-hero-photo > img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center center;
}

.volunteer-hero-photo::after {
    position: absolute;
    inset: 45% 0 0;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .58));
    content: "";
    pointer-events: none;
}

.volunteer-hero-photo figcaption {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 1;
    color: #fff;
    font: 700 16px/1.4 'Maven Pro', sans-serif;
}

.volunteer-hero-photo figcaption i {
    margin-right: 7px;
    color: #8ee0ad;
}

.volunteer-hero-portrait {
    position: absolute;
    bottom: 46px;
    left: -48px;
    z-index: 2;
    display: flex;
    width: 245px;
    min-height: 88px;
    align-items: center;
    gap: 12px;
    padding: 10px 15px 10px 10px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .14);
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.volunteer-hero-portrait img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 50%;
    background: #eaf3ed;
    object-fit: cover;
    object-position: center 20%;
}

.volunteer-section {
    padding: 100px 0;
}

.volunteer-section .generic-title {
    margin-bottom: 45px;
}

.volunteer-section .generic-title h2 {
    line-height: 1.15;
}

.volunteer-section .generic-title p {
    max-width: 700px;
    margin: 18px auto 0;
}

.volunteer-intro-title {
    margin-bottom: 30px !important;
}

.volunteer-intro-copy {
    font-size: 17px;
    line-height: 1.8;
}

.volunteer-intro-copy p:last-child {
    margin-bottom: 0;
}

.volunteer-intro-photo {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, #e6f2e9, #d5e8dc);
}

.volunteer-intro-photo img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    object-position: center bottom;
    transition: transform .35s ease;
}

.volunteer-intro-photo:hover img {
    transform: scale(1.035);
}

.volunteer-intro-photo figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 17px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.volunteer-intro-photo figcaption span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.volunteer-intro-photo figcaption strong {
    color: var(--secondary-color);
    font: 700 17px/1.3 'Maven Pro', sans-serif;
}

.volunteer-card {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 32px 28px;
    border: 1px solid #edf0f2;
    background: #fff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.volunteer-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
    transform: translateY(-4px);
}

.volunteer-card-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(8, 155, 77, .1);
    color: var(--accent);
    font-size: 22px;
}

.volunteer-card h3,
.volunteer-step h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
    font: 900 22px/1.3 'Maven Pro', sans-serif;
}

.volunteer-card p,
.volunteer-step p {
    margin-bottom: 0;
}

.volunteer-step {
    height: 100%;
    padding: 28px;
    background: #fff;
}

.volunteer-step-number {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font: 900 38px/1 'Maven Pro', sans-serif;
}

.volunteer-expectations {
    margin: 32px 0 0;
    color: #666;
    text-align: center;
}

.volunteer-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #edf0f2;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}

.volunteer-field {
    margin-bottom: 24px;
}

.volunteer-field > label,
.volunteer-field legend {
    display: block;
    margin-bottom: 9px;
    color: #202020;
    font-weight: 700;
}

.volunteer-field > label span:not(.volunteer-optional),
.volunteer-field legend span {
    color: var(--accent);
}

.volunteer-optional,
.volunteer-field-hint {
    color: #777;
    font-size: 13px;
    font-weight: 400;
}

.volunteer-field-hint {
    margin: -4px 0 12px;
}

.volunteer-form input:not([type="checkbox"]):not([type="hidden"]),
.volunteer-form select,
.volunteer-form textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #dfe3e6;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font: inherit;
}

.volunteer-form textarea {
    min-height: 120px;
    resize: vertical;
}

.volunteer-form input[aria-invalid="true"],
.volunteer-form select[aria-invalid="true"] {
    border-color: #b42318;
}

.volunteer-category-field {
    min-width: 0;
    padding: 0;
    border: 0;
}

.volunteer-category-field legend {
    font-size: 16px;
}

.volunteer-category-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.volunteer-check-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #444;
    line-height: 1.6;
    cursor: pointer;
}

.volunteer-check-option input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--accent);
}

.volunteer-consent {
    margin: 4px 0 28px;
}

.volunteer-field-error {
    display: block;
    margin-top: 7px;
    color: #b42318;
    font-size: 13px;
}

.volunteer-field-error[hidden] {
    display: none;
}

.volunteer-alert {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 3px;
}

.volunteer-alert-success {
    border: 1px solid #b7dfc8;
    background: #edf8f1;
    color: #155d32;
}

.volunteer-alert-error {
    border: 1px solid #f1c1bd;
    background: #fff3f2;
    color: #8e2118;
}

.volunteer-submit-loading {
    display: none;
}

.volunteer-submit:disabled {
    cursor: wait;
    opacity: .8;
}

.volunteer-privacy-note {
    margin: 16px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.volunteer-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .volunteer-hero {
        min-height: 580px;
        padding: 155px 0 80px;
    }

    .volunteer-hero .container {
        grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
        gap: 24px;
    }

    .volunteer-hero-photo {
        right: 15px;
        width: calc(48% - 10px);
        height: 350px;
    }

    .volunteer-hero-portrait {
        left: -24px;
        width: 215px;
    }
}

@media (max-width: 767px) {
    .volunteer-hero {
        min-height: 0;
        padding: 130px 0 65px;
    }

    .volunteer-hero::after {
        display: none;
    }

    .volunteer-hero .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
    }

    .volunteer-hero-content {
        max-width: none;
    }

    .volunteer-hero h1 {
        font-size: 42px;
        line-height: 1.1;
    }

    .volunteer-hero p {
        font-size: 17px;
    }

    .volunteer-hero-photo {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 16px);
        height: clamp(240px, 68vw, 360px);
        margin: 0 0 25px 16px;
        transform: none;
    }

    .volunteer-hero-portrait {
        bottom: -25px;
        left: -16px;
        width: min(245px, 78%);
    }

    .volunteer-section {
        padding: 70px 0;
    }

    .volunteer-intro-title {
        margin-bottom: 28px !important;
    }

    .volunteer-intro-photo {
        min-height: 320px;
        margin-top: 35px;
    }

    .volunteer-section .generic-title h2 {
        font-size: 32px;
    }

    .volunteer-form {
        padding: 25px 18px;
    }

    .volunteer-category-options {
        grid-template-columns: 1fr;
    }

    .volunteer-step {
        margin-bottom: 18px;
    }
}

@media (max-width: 420px) {
    .volunteer-hero h1 {
        font-size: 36px;
    }

    .volunteer-hero .volunteer-button {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .volunteer-section .generic-title h2 {
        font-size: 29px;
    }

    .volunteer-form {
        padding: 22px 14px;
    }

    .volunteer-submit {
        width: 100%;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .volunteer-button,
    .volunteer-card,
    .volunteer-intro-photo img {
        transition: none;
    }
}
