/*
|--------------------------------------------------------------------------
| RAV Management Directory
|--------------------------------------------------------------------------
*/

.cew-rav-dir {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #e8e8e7;
}

.cew-rav-dir-container {
    max-width: 1200px;
    margin: auto;
    padding-left: 48px;
    padding-right: 48px;
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.cew-rav-dir-header {
    text-align: center;
    margin-bottom: 32px;
}

.cew-rav-dir-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #0f5238;
    margin: 0 0 8px 0;
}

.cew-rav-dir-subheading {
    font-size: 16px;
    line-height: 26px;
    color: #404943;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.cew-rav-dir-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/*
|--------------------------------------------------------------------------
| Card
|--------------------------------------------------------------------------
*/

.cew-rav-dir-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 24px;

    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #bfc9c1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cew-rav-dir-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.cew-rav-dir-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    background-color: #0f5238;
}

.cew-rav-dir-avatar .material-symbols-outlined {
    font-size: 30px;
    line-height: 1;
    color: #ffffff;
}

.cew-rav-dir-body {
    min-width: 0;
}

.cew-rav-dir-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #1a1c1c;
    margin: 0;
}

.cew-rav-dir-role {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    color: #2D6A4F;
    margin: 0 0 8px 0;
}

.cew-rav-dir-email {
    display: block;

    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.05em;
    color: #16677a;
    text-decoration: none;

    /* keeps a long address from blowing out the card width */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cew-rav-dir-email:hover {
    text-decoration: underline;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .cew-rav-dir {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .cew-rav-dir-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cew-rav-dir-heading {
        font-size: 28px;
        line-height: 36px;
    }

}
