/* =========================================
   VOLUNTEER PAGE
   ========================================= */

html { scroll-behavior: smooth; }

/* ---- Active link in the header ---- */
#umuri-header-root .umuri-nav-links > li > a.active {
    color: var(--accent-color) !important;
    box-shadow: 0 3px 0 var(--accent-color) !important;
}

/* ---- Hero image (fully visible, no overlay) ---- */
.vl-hero {
    margin-top: 170px; /* clears the desktop header */
    height: 520px;
    background-image: url('../img/_DSC0137.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---- Headline band ---- */
.vl-band {
    background: var(--primary-color);
    color: #fff;
    padding: 44px 0 48px;
    border-bottom: 4px solid var(--accent-color);
}

.vl-band-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.vl-crumbs {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.vl-crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.vl-crumbs a:hover { color: #fff; }

.vl-crumbs span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

.vl-band h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
}

.vl-band p {
    margin: 0;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.vl-band-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.vl-btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vl-btn:hover { background: #fff; border-color: #fff; color: var(--primary-color); }

.vl-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
}

.vl-btn-ghost:hover { background: #fff; border-color: #fff; color: var(--primary-color); }

.vl-link {
    display: inline-block;
    align-self: flex-start;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.vl-link:hover { color: var(--accent-color); }

/* ---- Impact ---- */
.vl-impact {
    padding: 64px 0;
    background: #f7f3f0;
    border-bottom: 1px solid #e6ddd8;
    text-align: center;
}

.vl-impact h2 {
    margin: 0 0 36px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.vl-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vl-impact-item {
    padding: 8px 24px;
    border-left: 1px solid #ddd3ce;
}

.vl-impact-item:first-child { border-left: none; }

.vl-impact-number {
    display: block;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--accent-color);
}

.vl-impact-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* ---- Sections ---- */
.vl-section { padding: 72px 0; }

.vl-tint {
    background: #f7f3f0;
    border-top: 1px solid #e6ddd8;
    border-bottom: 1px solid #e6ddd8;
}

.vl-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

.vl-head-tight { margin-bottom: 28px; }

.vl-head h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

.vl-count {
    font-size: 13px;
    color: #777;
    white-space: nowrap;
}

.vl-label {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--accent-color);
}

/* ---- Roles ---- */
.vl-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.vl-role {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6ddd8;
}

.vl-role-media {
    overflow: hidden;
    background: #e8e0dc;
}

.vl-role-media img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vl-role:hover .vl-role-media img { transform: scale(1.03); }

.vl-role-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 26px 28px;
}

.vl-role-body h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.vl-role-body p {
    flex-grow: 1;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
}

/* ---- Steps ---- */
.vl-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vl-steps::before {
    content: '';
    position: absolute;
    top: 21px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #d9cdc7;
}

.vl-steps li { position: relative; }

.vl-step-num {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    background: var(--accent-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.vl-steps h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.vl-steps p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* ---- Application ---- */
.vl-apply {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.vl-apply-media {
    overflow: hidden;
    margin-bottom: 26px;
    background: #e8e0dc;
}

.vl-apply-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.vl-apply-side h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-color);
}

.vl-apply-side p {
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
    color: #444;
}

.vl-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.vl-field { margin-bottom: 20px; }

.vl-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.vl-field input,
.vl-field select,
.vl-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.vl-field textarea {
    resize: vertical;
    min-height: 130px;
}

.vl-field input:focus,
.vl-field select:focus,
.vl-field textarea:focus { border-color: var(--primary-color); }

.vl-submit {
    padding: 16px 40px;
    border: none;
    border-radius: 0;
    background: var(--accent-color);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vl-submit:hover { background: var(--primary-color); }
.vl-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.vl-form-msg {
    margin: 14px 0 0;
    min-height: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.vl-form-msg.ok { color: #2e7d32; }
.vl-form-msg.error { color: #b3261e; }

/* ---- Stories ---- */
.vl-stories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.vl-story {
    margin: 0;
    padding: 30px 32px 28px;
    background: #fff;
    border: 1px solid #e6ddd8;
    border-top: 4px solid var(--accent-color);
}

.vl-story > i {
    margin-bottom: 14px;
    font-size: 24px;
    color: var(--accent-color);
}

.vl-story blockquote {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.85;
    color: #333;
}

.vl-story figcaption strong {
    display: block;
    font-size: 16px;
    color: var(--primary-color);
}

.vl-story figcaption em {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: #888;
}

/* ---- Final CTA ---- */
.vl-cta {
    padding: 64px 0;
    background: var(--primary-color);
    color: #fff;
}

.vl-cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.vl-cta h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
}

.vl-cta p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .vl-hero {
        margin-top: 70px; /* mobile header is 70px tall */
        height: 400px;
    }

    .vl-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .vl-band-grid { grid-template-columns: 1fr; gap: 26px; }
    .vl-apply { grid-template-columns: 1fr; gap: 40px; }
    .vl-stories { grid-template-columns: 1fr; gap: 28px; }
    .vl-cta-grid { grid-template-columns: 1fr; gap: 24px; }

    .vl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
    .vl-steps::before { display: none; }
}

@media (max-width: 768px) {
    .vl-hero { height: 260px; }

    .vl-band { padding: 32px 0 36px; }
    .vl-band h1 { font-size: 30px; }
    .vl-band p { font-size: 15px; }
    .vl-band-actions .vl-btn { flex: 1 1 100%; text-align: center; }

    .vl-impact { padding: 48px 0; }
    .vl-impact-grid { grid-template-columns: 1fr; gap: 24px; }
    .vl-impact-item { padding: 0; border-left: none; }
    .vl-impact-number { font-size: 44px; }

    .vl-section { padding: 48px 0; }
    .vl-head h2 { font-size: 22px; }

    .vl-roles { grid-template-columns: 1fr; }
    .vl-steps { grid-template-columns: 1fr; }
    .vl-row { grid-template-columns: 1fr; gap: 0; }
    .vl-apply-side h2 { font-size: 24px; }
    .vl-submit { width: 100%; }

    .vl-story { padding: 24px 22px; }
    .vl-story blockquote { font-size: 16px; }

    .vl-cta { padding: 44px 0; }
    .vl-cta h2 { font-size: 24px; }
    .vl-cta .vl-btn { width: 100%; text-align: center; box-sizing: border-box; }
}