/* The team alternative owns its width, including after a native view-cache hit.
   No request-local application marker or old-template stylesheet is required. */
.ll-v2 .ll-v2-component:has(> .ll-v2-team) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ll-v2 .ll-v2-team {
    color: #000;
}

.ll-v2 .ll-v2-team__hero {
    display: grid;
    place-items: center;
    min-height: 34rem;
    padding: 2rem 1rem;
    background: #f5f7f7 url("../images/our-people-hero-image_1920.jpg") center / cover no-repeat;
    text-align: center;
}

.ll-v2 .ll-v2-team__hero h1 {
    max-width: 40rem;
    margin: 0;
    color: #000;
    font-family: "CynthoSlabPro-Regular", Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.085714;
    transform: translateY(-1.5rem);
}

.ll-v2 .ll-v2-team__list {
    /* Match the saved original: 90% of spare width left, 10% right.
       Below 1080px the original cards fill the available width. */
    width: min(100%, 1080px);
    margin: 120px 0 0;
    margin-inline-start: max(0px, calc(90% - 972px));
    padding: 0 0 120px;
    list-style: none;
}

.ll-v2 .ll-v2-team__card {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) minmax(0, 1fr);
    align-items: start;
    min-width: 0;
    max-width: 1080px;
    margin: 0 0 100px;
    border: 15px solid rgb(85 55 69 / 10%);
    padding: 75px 0;
}

.ll-v2 .ll-v2-team__card:last-child {
    margin-bottom: 0;
}

.ll-v2 .ll-v2-team__image {
    display: block;
    grid-column: 1;
    width: calc(100% - 40px);
    height: 400px;
    margin: 14px 20px;
    object-fit: cover;
    object-position: center;
}

.ll-v2 .ll-v2-team__text {
    grid-column: 2;
    min-width: 0;
}

.ll-v2 .ll-v2-team__name {
    margin: 0;
    color: #000;
    font-family: "CynthoSlabPro-Regular", Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 54px;
}

.ll-v2 .ll-v2-team__position {
    margin: 0;
    color: rgb(0 0 0 / 60%);
    font-family: "CynthoSlabPro-Regular", Georgia, serif;
    font-size: 18px;
    line-height: 27px;
}

.ll-v2 .ll-v2-team__rule {
    width: 72px;
    height: 5px;
    margin: 20px 0;
    border: 0;
    background: #e83446;
}

.ll-v2 .ll-v2-team__summary {
    color: #000;
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 24px;
}

.ll-v2 .ll-v2-team__summary p {
    margin: 0 0 1em;
}

.ll-v2 .ll-v2-team__summary :where(h2, h3, h4, h5, h6) {
    margin: 1em 0 0.5em;
    color: #000;
    font-family: inherit;
    font-size: 1em;
    line-height: inherit;
}

.ll-v2 .ll-v2-team__summary :first-child {
    margin-top: 0;
}

.ll-v2 .ll-v2-team__readmore {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    width: fit-content;
    min-height: 44px;
    margin-inline-start: auto;
    padding: 0.5rem 0;
    color: #000;
    font-family: "ZonaPro-Bold", Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
}

.ll-v2 .ll-v2-team__readmore:hover {
    color: var(--ll-v2-link);
    text-decoration: underline;
}

.ll-v2 .ll-v2-team__readmore svg {
    flex: 0 0 20px;
    width: 20px;
    height: 12px;
    fill: currentColor;
}

.ll-v2 .ll-v2-team__empty,
.ll-v2 .ll-v2-team__pagination {
    width: min(100% - 2rem, 1080px);
    margin: 2rem auto;
}

.ll-v2 .ll-v2-team__pagination :where(ul) {
    flex-wrap: wrap;
}

/* Keep the rightward emphasis inside the normal content area, not at the
   viewport's edge. Narrow screens retain the original full-width cards. */
@media (min-width: 1081px) {
    .ll-v2 .ll-v2-team__list {
        width: min(100% - 2rem, 72rem);
    }
}

@media (max-width: 1080px) {
    .ll-v2 .ll-v2-team__hero {
        min-height: 24rem;
    }

    .ll-v2 .ll-v2-team__hero h1 {
        font-size: 2.5rem;
        line-height: 1.15;
        transform: translateY(-1rem);
    }

    .ll-v2 .ll-v2-team__card {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        padding-block: 60px;
    }

    .ll-v2 .ll-v2-team__text {
        padding: 20px;
    }

    .ll-v2 .ll-v2-team__image {
        height: 280px;
        margin-block: 30px;
    }
}

@media (max-width: 720px) {
    .ll-v2 .ll-v2-team__hero {
        min-height: 12rem;
    }

    .ll-v2 .ll-v2-team__hero h1 {
        font-size: 1.875rem;
        line-height: 1.133333;
        transform: translateY(-0.5rem);
    }

    .ll-v2 .ll-v2-team__card {
        display: block;
        padding-block: 10px;
    }

    .ll-v2 .ll-v2-team__image {
        width: calc(100% - 20px);
        height: 400px;
        margin: 0 10px;
    }

    .ll-v2 .ll-v2-team__text {
        padding: 20px;
    }
}
