.vsg-management-team {
    padding: 70px 20px 95px;
    color: #07172a;
    background: #f3f0ea;
}

.vsg-management-team__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.vsg-management-team__head {
    display: grid;
    grid-template-columns: minmax(220px, 0.65fr) minmax(360px, 1.1fr);
    gap: 28px 72px;
    margin-bottom: 42px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(7, 23, 42, 0.25);
}

.vsg-management-team__eyebrow,
.vsg-profile-card__role,
.vsg-profile-modal__eyebrow {
    font-family: HelveticaNeue-Bold, Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.45;
    letter-spacing: 2.2px;
    color: #9f1d18;
    text-transform: uppercase;
}

.vsg-management-team__head h2 {
    grid-column: 2;
    max-width: 760px;
    margin: 0;
    font-family: Palatino-Roman, Georgia, serif;
    font-size: clamp(4rem, 5vw, 6.4rem);
    font-weight: 400;
    line-height: 1.05;
}

.vsg-management-team__head > p:last-child {
    grid-column: 2;
    max-width: 680px;
    margin: 0;
    color: #475467;
}

.vsg-management-team__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 24px;
}

.vsg-profile-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.72fr) minmax(220px, 1fr);
    min-height: 360px;
    border: 1px solid rgba(7, 23, 42, 0.22);
    background: rgba(255, 255, 255, 0.72);
}

.vsg-profile-card--lead {
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr);
}

.vsg-profile-card__image {
    overflow: hidden;
    background: #d8d2c7;
}

.vsg-profile-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
    transition: transform 420ms ease;
}

.vsg-profile-card:hover .vsg-profile-card__image img {
    transform: scale(1.04);
}

.vsg-profile-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(28px, 3vw, 42px);
}

.vsg-profile-card__content h3 {
    margin: 8px 0 16px;
    font-family: Palatino-Roman, Georgia, serif;
    font-size: clamp(3.2rem, 3.4vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
}

.vsg-profile-card__content p:not(.vsg-profile-card__role) {
    margin-bottom: 28px;
    color: #344054;
}

.vsg-profile-card__button {
    margin-top: auto;
    padding: 15px 24px;
    border: 1px solid #07172a;
    color: #07172a;
    font-family: HelveticaNeue-Bold, Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1;
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.vsg-profile-card__button:hover,
.vsg-profile-card__button:focus {
    color: #fff;
    border-color: #9f1d18;
    background: #9f1d18;
}

.vsg-profile-modal .modal-dialog {
    width: min(920px, calc(100% - 40px));
    max-width: none;
    margin: 7vh auto;
}

.vsg-profile-modal.modal {
    background: transparent;
}

.modal-backdrop.show {
    opacity: 0.42;
}

.modal-backdrop {
    background-color: #07172a;
}

.vsg-profile-modal .modal-content,
.vsg-profile-modal .modal-body {
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #fff;
}

.vsg-profile-modal .modal-body {
    position: relative;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(7, 23, 42, 0.24);
}

.vsg-profile-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid rgba(7, 23, 42, 0.22);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.vsg-profile-modal__close img {
    display: block;
    width: 100%;
    height: 100%;
}

.vsg-profile-modal__layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    max-height: min(720px, calc(100vh - 80px));
    overflow: hidden;
}

.vsg-profile-modal__media {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 30px 24px;
    border-right: 1px solid rgba(7, 23, 42, 0.12);
    background: #f3f0ea;
}

.vsg-profile-modal__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(7, 23, 42, 0.14);
    object-fit: cover;
    object-position: center top;
}

.vsg-profile-modal__content {
    overflow-y: auto;
    max-height: min(720px, calc(100vh - 80px));
    padding: 48px 54px 52px;
    scrollbar-color: rgba(7, 23, 42, 0.35) transparent;
    scrollbar-width: thin;
}

.vsg-profile-modal__content h2 {
    margin: 10px 0 8px;
    font-family: Palatino-Roman, Georgia, serif;
    font-size: clamp(3.8rem, 4.4vw, 5.2rem);
    font-weight: 400;
    line-height: 1.05;
}

.vsg-profile-modal__meta {
    margin-bottom: 28px;
    color: #667085;
}

.vsg-profile-modal__content p {
    color: #344054;
}

.vsg-profile-modal__content blockquote {
    margin: 28px 0;
    padding: 22px 0 22px 24px;
    border-left: 3px solid #bf9e5d;
    font-family: Palatino-Roman, Georgia, serif;
    font-size: clamp(2.4rem, 2.4vw, 3.4rem);
    line-height: 1.18;
    color: #07172a;
}

.vsg-profile-modal__motto {
    color: #07172a;
    font-family: HelveticaNeue-Bold, Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    .vsg-profile-card__image img,
    .vsg-profile-card__button {
        transition: none;
    }
}

@media screen and (max-width: 992px) {
    .vsg-management-team__head,
    .vsg-management-team__grid,
    .vsg-profile-card,
    .vsg-profile-card--lead {
        grid-template-columns: 1fr;
    }

    .vsg-management-team__head h2,
    .vsg-management-team__head > p:last-child {
        grid-column: auto;
    }

    .vsg-profile-modal__layout {
        grid-template-columns: 240px minmax(0, 1fr);
        max-height: min(680px, calc(100vh - 52px));
        overflow: hidden;
    }

    .vsg-profile-modal__media {
        padding: 24px 20px;
    }

    .vsg-profile-modal__content {
        max-height: min(680px, calc(100vh - 52px));
        padding: 38px 38px 42px;
    }
}

@media screen and (max-width: 640px) {
    .vsg-management-team {
        padding: 48px 16px 64px;
    }

    .vsg-profile-card__image img {
        min-height: 300px;
    }

    .vsg-profile-card__content {
        padding: 24px;
    }

    .vsg-profile-modal .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .vsg-profile-modal__close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
    }

    .vsg-profile-modal__layout {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 20px);
    }

    .vsg-profile-modal__media {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: center;
        min-height: auto;
        padding: 18px 64px 18px 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(7, 23, 42, 0.12);
    }

    .vsg-profile-modal__media img {
        aspect-ratio: 1 / 1;
        border-radius: 50%;
    }

    .vsg-profile-modal__content {
        max-height: calc(100vh - 146px);
        padding: 26px 22px 32px;
    }

    .vsg-profile-modal__content h2 {
        font-size: 3.6rem;
    }

    .vsg-profile-modal__eyebrow {
        font-size: 1.05rem;
        letter-spacing: 1.6px;
    }
}
