/* Tanami volunteers: portrait-led identity cards inspired by a modern ID badge. */
.volunteer-page {
    background: #f4f5f1;
    min-height: 70vh;
}

.volunteer-page__header {
    background: linear-gradient(135deg, #123f32 0%, #1f6a50 68%, #b49a65 100%);
    padding: 4.5rem 1.5rem 4rem;
}

.volunteer-page__header h1 {
    margin: .35rem 0 .75rem;
    font-size: clamp(2rem, 5vw, 3.3rem);
    font-weight: 800;
}

.volunteer-page__header p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
    text-align: center !important;
}

.volunteer-page__eyebrow {
    display: inline-block;
    color: #e6d7b5;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.volunteer-page__content {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
    align-items: stretch;
}

.volunteer-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 510px;
    background: #fff;
    border: 1px solid rgba(18, 63, 50, .1);
    border-radius: 30px 30px 46px 30px;
    box-shadow: 0 18px 42px rgba(18, 63, 50, .13);
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease;
}

.volunteer-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 52px rgba(18, 63, 50, .2);
}

.volunteer-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: -46px;
    bottom: -62px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #123f32;
}

.volunteer-card__portrait {
    height: 360px;
    margin: 12px 12px 0;
    overflow: hidden;
    background: linear-gradient(145deg, #dce4df, #aabbb2);
    border-radius: 24px 24px 20px 20px;
}

.volunteer-card__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.volunteer-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(18, 63, 50, .46);
    font-size: 7rem;
}

.volunteer-card__identity {
    position: relative;
    margin-top: -72px;
    padding: 52px 30px 44px;
    text-align: center;
    background: #fff;
    border-radius: 50% 0 0 0 / 76px 0 0 0;
}

.volunteer-card__identity h2 {
    margin: 0 0 14px;
    color: #173f34;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
}

.volunteer-card__position {
    display: inline-block;
    max-width: 100%;
    padding: 8px 18px;
    overflow: hidden;
    color: #fff;
    background: #123f32;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.volunteer-empty {
    padding: 4rem 1.5rem;
    color: #47645b;
    background: #fff;
    border: 1px dashed rgba(18, 63, 50, .3);
    border-radius: 24px;
    text-align: center;
}

.volunteer-empty__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    color: #fff;
    background: #123f32;
    border-radius: 50% 50% 50% 18%;
    font-size: 1.5rem;
    font-weight: 800;
}

@media (max-width: 991px) {
    .volunteer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .volunteer-page__header {
        padding: 3.25rem 1.25rem 3rem;
    }

    .volunteer-page__content {
        padding-top: 2rem;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .volunteer-card {
        width: 100%;
        max-width: 390px;
        min-height: 480px;
        margin: 0 auto;
    }

    .volunteer-card__portrait {
        height: 330px;
    }
}
