:root {
    --volunteer-navy:
        var(--organization-primary, #123552);

    --volunteer-green:
        var(--organization-secondary, #1f7a4d);

    --volunteer-gold:
        var(--organization-accent, #ffc107);
}

.volunteer-hero,
.volunteer-form-hero {
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 193, 7, 0.17),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            var(--volunteer-navy),
            #0d2a42
        );
    color: #fff;
}

.volunteer-hero {
    padding: 5rem 0;
}

.volunteer-form-hero {
    padding: 3.5rem 0 4.25rem;
}

.volunteer-eyebrow,
.section-eyebrow {
    display: inline-block;
    color: var(--volunteer-gold);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.volunteer-hero h1,
.volunteer-form-hero h1 {
    margin: 0.55rem 0 1rem;
    font-weight: 900;
    line-height: 0.98;
}

.volunteer-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.3rem);
}

.volunteer-form-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.volunteer-hero p,
.volunteer-form-hero p {
    max-width: 790px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    line-height: 1.7;
}

.volunteer-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 750;
}

.volunteer-hero-card,
.bright-futures-panel {
    padding: 1.7rem;
    border-radius: 1.5rem;
    background: #fff;
    color: #172b3a;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.17);
}

.volunteer-hero-icon,
.bright-futures-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border-radius: 1.1rem;
    background: color-mix(
        in srgb,
        var(--volunteer-navy) 13%,
        white
    );
    color: var(--volunteer-navy);
    font-size: 1.55rem;
}

.volunteer-hero-card h2,
.bright-futures-panel h2 {
    font-weight: 850;
}

.volunteer-hero-card ul {
    padding-left: 1.25rem;
    color: #52616d;
}

.volunteer-content,
.volunteer-form-page,
.volunteer-success-page {
    background: #f4f7f9;
}

.volunteer-step-card,
.volunteer-info-panel,
.volunteer-form-card,
.volunteer-sidebar-card,
.volunteer-success-card {
    border: 1px solid #e0e6ea;
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 0.7rem 1.8rem rgba(18, 42, 66, 0.07);
}

.volunteer-step-card {
    position: relative;
    height: 100%;
    padding: 1.45rem;
}

.volunteer-step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #d5dde3;
    font-size: 2rem;
    font-weight: 900;
}

.volunteer-step-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: #e8f0f6;
    color: var(--volunteer-navy);
}

.volunteer-step-card h3 {
    font-size: 1.1rem;
    font-weight: 850;
}

.volunteer-step-card p {
    margin: 0;
    color: #687681;
}

.volunteer-info-panel {
    height: 100%;
    padding: 2rem;
}

.volunteer-info-panel h2 {
    margin: 0.35rem 0 0.7rem;
    font-weight: 850;
}

.volunteer-policy-points {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.volunteer-policy-points > div {
    display: flex;
    gap: 0.8rem;
}

.volunteer-policy-points i {
    color: var(--volunteer-green);
}

.volunteer-form-card {
    padding: 1.55rem;
}

.volunteer-form-card-heading {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.45rem;
}

.volunteer-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: color-mix(
        in srgb,
        var(--volunteer-navy) 12%,
        white
    );
    color: var(--volunteer-navy);
}

.volunteer-form-card-heading h2,
.volunteer-sidebar-card h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 850;
}

.volunteer-form-card-heading p {
    margin: 0.15rem 0 0;
    color: #71808b;
}

.form-control,
.form-select {
    border-color: #d7dfe5;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--volunteer-navy);
    box-shadow:
        0 0 0 0.2rem
        color-mix(
            in srgb,
            var(--volunteer-navy) 16%,
            transparent
        );
}

.volunteer-athlete-selector {
    padding: 1.2rem;
    border-radius: 1.2rem;
    background: #f7f9fb;
}

.volunteer-athlete-selector h3 {
    font-size: 1rem;
    font-weight: 850;
}

.volunteer-athlete-selector p {
    color: #71808b;
}

.volunteer-athlete-option,
.volunteer-check-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #dfe6eb;
    border-radius: 1rem;
    background: #fff;
    cursor: pointer;
}

.volunteer-athlete-option span {
    display: grid;
}

.volunteer-athlete-option small {
    color: #71808b;
}

.volunteer-check-row.required {
    border-left: 4px solid var(--volunteer-green);
}

.reference-block + .reference-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5eaee;
}

.reference-block h3 {
    font-size: 1rem;
    font-weight: 850;
}

.volunteer-form-sidebar {
    top: 100px;
    display: grid;
    gap: 1rem;
}

.volunteer-sidebar-card {
    padding: 1.4rem;
}

.volunteer-sidebar-list {
    display: grid;
    gap: 0.85rem;
    padding: 0;
    margin: 1rem 0 1.4rem;
    list-style: none;
}

.volunteer-sidebar-list li {
    display: flex;
    gap: 0.65rem;
    color: #53626d;
}

.volunteer-sidebar-list i {
    color: var(--volunteer-green);
}

.volunteer-success-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.volunteer-success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dff2e5;
    color: #16703c;
    font-size: 2rem;
}

.volunteer-success-card h1 {
    margin: 0.45rem 0 0.8rem;
    font-weight: 900;
}

.volunteer-application-number {
    display: inline-grid;
    gap: 0.2rem;
    margin: 1.3rem 0;
    padding: 1rem 1.4rem;
    border-radius: 1rem;
    background: #eef3f7;
}

.volunteer-application-number small {
    color: #6e7c87;
}

.volunteer-application-number strong {
    font-size: 1.25rem;
}

.volunteer-next-steps {
    margin: 1.5rem 0;
    padding: 1.4rem;
    border-radius: 1.2rem;
    background: #f7f9fb;
    text-align: left;
}

.volunteer-next-steps h2 {
    font-size: 1.1rem;
    font-weight: 850;
}

@media (max-width: 767.98px) {
    .volunteer-hero {
        padding: 3.5rem 0;
    }

    .volunteer-form-card {
        padding: 1.15rem;
    }

    .volunteer-form-card-heading {
        align-items: flex-start;
    }

    .volunteer-success-card {
        padding: 1.5rem;
    }
}
