/* All public rules belong to the roster, including block-theme width overrides. */
.fcsm-staff-page.fcsm-staff-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1340px !important;
    margin: 0 auto !important;
    padding: 44px 0 64px;
    color: #171717;
    background: #fff;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}

.fcsm-staff-page *,
.fcsm-staff-page *::before,
.fcsm-staff-page *::after { box-sizing: border-box; }

.fcsm-staff-page .fcsm-staff-title {
    max-width: none;
    margin: 0 0 42px;
    padding: 0;
    color: #171717;
    font-family: inherit;
    font-size: clamp(32px, 3.3vw, 46px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.4px;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: none;
}

.fcsm-staff-page .fcsm-staff-department { margin: 0 0 42px; padding: 0; }
.fcsm-staff-page .fcsm-staff-department:last-child { margin-bottom: 0; }
.fcsm-staff-page .fcsm-staff-department-title {
    margin: 0 0 24px;
    padding: 0;
    color: #171717;
    font-family: inherit;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: none;
}

.fcsm-staff-page .fcsm-staff-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.fcsm-staff-page .fcsm-staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 28px 24px 32px;
    color: #171717;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.fcsm-staff-page .fcsm-staff-card .fcsm-staff-photo {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: none;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    background: #f1f3f4;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
}

.fcsm-staff-page .fcsm-staff-card .fcsm-staff-name {
    width: 100%;
    margin: 25px 0 0;
    padding: 0;
    color: #171717;
    font-family: inherit;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.2px;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: none;
}

.fcsm-staff-page .fcsm-staff-card .fcsm-staff-role {
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    color: #303030;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: none;
}

.fcsm-staff-page .fcsm-staff-card .fcsm-staff-email {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 35px 0 0;
    padding: 0;
    color: #171717;
    background: transparent;
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    text-decoration: none;
}
.fcsm-staff-page .fcsm-staff-email:hover { color: #555; background: #f4f4f4; }
.fcsm-staff-page .fcsm-staff-email:focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
.fcsm-staff-page .fcsm-staff-email .fcsm-staff-envelope { display: block; width: 24px; height: 20px; margin: 0; padding: 0; fill: currentColor; }
.fcsm-staff-page .fcsm-staff-empty { margin: 0; padding: 24px 0; color: #4b4b4b; font-size: 18px; }

@media (max-width: 1023px) {
    .fcsm-staff-page.fcsm-staff-page { padding-top: 36px; padding-bottom: 48px; }
    .fcsm-staff-page .fcsm-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
    .fcsm-staff-page .fcsm-staff-card { padding: 28px 26px 30px; }
}

@media (max-width: 599px) {
    .fcsm-staff-page.fcsm-staff-page { padding-top: 28px; padding-bottom: 36px; }
    .fcsm-staff-page .fcsm-staff-title { margin-bottom: 28px; font-size: 32px; }
    .fcsm-staff-page .fcsm-staff-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .fcsm-staff-page .fcsm-staff-card { padding: 24px 22px 26px; }
    .fcsm-staff-page .fcsm-staff-name { font-size: 24px; }
    .fcsm-staff-page .fcsm-staff-department-title { margin-bottom: 20px; font-size: 26px; }
    .fcsm-staff-page .fcsm-staff-department { margin-bottom: 30px; }
}
