/* Layout */
.volunteer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.volunteer-inner--narrow {
    max-width: 700px;
}

/* 1. Hero */
.volunteer-hero {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 4rem 1rem;
    text-align: center;
}

.volunteer-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.volunteer-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* 2. Main */
.volunteer-main {
    background-color: var(--color-white);
    padding: 3rem 1rem 4rem;
}

.volunteer-intro {
    margin-bottom: 2rem;
}

.volunteer-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    text-align: center;
}

/* Flash messages */
.volunteer-flash {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.volunteer-flash--success {
    background-color: var(--color-success-bg);
    color: var(--color-success);
}

.volunteer-flash--error {
    background-color: var(--color-error-bg);
    color: var(--color-error);
}

/* Field errors */
.volunteer-error {
    display: block;
    font-size: 0.85rem;
    color: var(--color-error);
    margin-top: 0.25rem;
}

.form-group--error input,
.form-group--error textarea {
    border-color: var(--color-error);
}

/* Checkbox group */
.volunteer-checkbox-group {
    margin-bottom: 1rem;
}

.volunteer-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.volunteer-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--color-orange);
}

/* Fieldsets */
.volunteer-fieldset {
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.volunteer-fieldset legend {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-black);
    padding: 0 0.25rem;
}

.volunteer-fieldset__hint {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
    margin-bottom: 0.5rem;
}

/* Submit button full width on mobile */
.volunteer-main .btn {
    width: 100%;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

@media (min-width: 768px) {
    .volunteer-main .btn {
        width: auto;
    }
}
