/* ==========================================================================
   Page: Staff Interview Detail
   ========================================================================== */

:root {
    --staff-coral: #fc7a62;
    --staff-blue: #4875be;
    --staff-teal: #36b7c4;
    --staff-yellow: #e8b500;
    --staff-bg-soft: #fdf6f4;
    --staff-border: #eaded9;
    --staff-text: #5a4e4e;
}

.site-main--staff-interview {
    background-color: #fff;
}

.site-main--our-family {
    background-color: var(--staff-bg-soft);
}

/* ---------- Hero ---------- */

.staff-interview-hero__inner {
    flex-direction: column;
    justify-content: center;
}

.staff-interview-hero__title {
    margin: 0 0 1.5rem;
    line-height: 1.25;
    max-width: 100%;
    display: grid;
    gap: 0.15em;
}

.staff-interview-hero__title span {
    display: block;
}

.staff-interview-hero__meta {
    margin: 0;
    color: var(--staff-text);
    font-size: 1rem;
    line-height: 1.8;
}

.staff-interview-hero__collage {
    pointer-events: none;
}

.staff-interview-hero__photo {
    position: absolute;
}

.staff-interview-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-interview-hero__photo--sign {
    z-index: 1;
}

.staff-interview-hero__photo--person {
    z-index: 2;
}

/* The sign is a complete exported composition. */
body.page-template-template-staff-interview .staff-interview-hero__photo--sign {
    height: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

body.page-template-template-staff-interview .staff-interview-hero__photo--sign img {
    height: auto;
    object-fit: contain;
}

/* The editable staff image is framed by CSS so any uploaded photo shares the FV treatment. */
body.page-template-template-staff-interview .staff-interview-hero__photo--person {
    box-sizing: border-box;
    width: clamp(240px, 33vw, 338.549px);
    height: auto;
    aspect-ratio: 338.549 / 231.549;
    padding: 9.2745px;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: none;
    transform: rotate(-12deg);
}

body.page-template-template-staff-interview .staff-interview-hero__photo--person img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

/* ---------- Main interview ---------- */

.staff-interview-main {
    position: relative;
    z-index: 1;
    margin-top: -100px;
    padding: 5.5rem 4rem 5rem;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
}

.staff-interview-main__inner {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.staff-interview-profile {
    position: sticky;
    top: 110px;
    align-self: start;
}

.staff-interview-profile__image {
    overflow: hidden;
    border-radius: 4px;
}

.staff-interview-profile__image img {
    display: block;
    width: 100%;
    height: 335px;
    object-fit: cover;
}

.staff-interview-profile__body {
    padding: 1.5rem 0 1.2rem;
    /* Delete this underline if not needed */
    /* border-bottom: 1px solid var(--staff-coral); */
}

.staff-interview-profile__name {
    margin: 0 0 0.35rem;
    color: var(--staff-coral);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.staff-interview-profile__role {
    margin: 0;
    color: var(--staff-coral);
    font-size: 1rem;
    line-height: 1.7;
}

.staff-interview-profile__category {
    margin: 0.35rem 0 0;
    color: #777;
    font-size: 0.75rem;
    line-height: 1.7;
}

.staff-interview-profile__line {
    width: 1px;
    height: 660px;
    margin: 0 auto;
    background-color: var(--staff-coral);
}

.staff-interview-profile--blue .staff-interview-profile__name {
    color: var(--staff-blue);
}

.staff-interview-profile--blue .staff-interview-profile__role {
    color: var(--staff-blue);
}

.staff-interview-profile--teal .staff-interview-profile__name {
    color: var(--staff-teal);
}

.staff-interview-profile--teal .staff-interview-profile__role {
    color: var(--staff-teal);
}

/* ---------- Our Family index ---------- */

.page-hero--our-family .page-hero__collage-photo--1 {
    top: 3%;
    right: 33%;
    width: 295px;
    height: 170px;
    transform: rotate(7deg);
}

.page-hero--our-family .page-hero__collage-photo--2 {
    top: 28%;
    right: 2%;
    width: 285px;
    height: 185px;
    transform: rotate(-10deg);
}

/* The Our Family hero exports are complete compositions including decoration. */
body.page-template-page-our-family .page-hero--our-family .page-hero__collage-photo {
    height: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

body.page-template-page-our-family .page-hero--our-family .page-hero__collage-photo img {
    height: auto;
    object-fit: contain;
}

.our-family-intro {
    position: relative;
    z-index: 2;
    margin-top: -99px;
    padding: 104px 4rem 67px;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
}

.our-family-intro__inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: left;
}

.our-family-intro__heading {
    margin: 0 0 12px;
    color: var(--staff-text);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.7;
}

.our-family-intro__text {
    max-width: 843px;
}

.our-family-intro__text p {
    margin: 0;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 2;
}

.our-family-intro__text p:last-child {
    margin-bottom: 0;
}

.staff-interview-qa__header,
.staff-interview-movie {
    text-align: center;
}

.staff-interview-qa__label,
.staff-interview-movie__label,
.staff-interview-list__header span:first-child {
    display: block;
    color: #d8c9c6;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
}

.staff-interview-qa__plus,
.staff-interview-movie__plus,
.staff-interview-list__header span:nth-child(2) {
    display: block;
    margin: 0.45rem 0 2.5rem;
    color: #f0c6bd;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

body.page-template-template-staff-interview .staff-interview-qa__label,
body.page-template-template-staff-interview .staff-interview-movie__label {
    color: var(--staff-coral);
}

.staff-interview-question {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px dashed var(--staff-border);
}

.staff-interview-question::after {
    content: "...";
    display: block;
    margin-top: 2.6rem;
    color: var(--staff-coral);
    opacity: 0.55;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
}

.staff-interview-question__number {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--staff-coral);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.staff-interview-question__title {
    margin: 0 0 1.4rem;
    color: var(--staff-text);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

.staff-interview-question__answer {
    margin: 0;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 2;
}

.staff-interview-movie {
    padding: 1rem 0 2rem;
}

.staff-interview-movie__plus {
    margin-bottom: 1.25rem;
}

.staff-interview-movie__title {
    margin: 0 0 1rem;
    color: var(--staff-text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.7;
    text-align: left;
}

.staff-interview-movie__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #e5e5e5;
    overflow: hidden;
    border-radius: 4px;
}

.staff-interview-movie__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #e5e5e5;
}

.staff-interview-movie__iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background-color: #000;
}

.staff-interview-movie__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.staff-interview-movie__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: #d8c7c4;
    transform: translate(-50%, -50%);
}

.staff-interview-movie__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid #fff;
    transform: translate(-40%, -50%);
}

/* ---------- Interview cards ---------- */

.staff-interview-list {
    padding: 5rem 4rem;
    background-color: var(--staff-bg-soft);
}

.staff-interview-list__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.staff-interview-list__header {
    margin-bottom: 2.75rem;
    text-align: center;
}

.staff-interview-list__header h2 {
    margin: 0;
    color: var(--staff-text);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.staff-interview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 3.2rem;
}

.staff-interview-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.staff-interview-card__current {
    display: block;
    color: inherit;
}

.staff-interview-card {
    --staff-card-accent: var(--staff-coral);
    --staff-card-accent-rgb: 252, 122, 98;
}

.staff-interview-card--blue {
    --staff-card-accent: var(--staff-blue);
    --staff-card-accent-rgb: 72, 117, 190;
}

.staff-interview-card--teal {
    --staff-card-accent: var(--staff-teal);
    --staff-card-accent-rgb: 53, 184, 192;
}

.staff-interview-card__image {
    position: relative;
    margin-bottom: 1.3rem;
    border: 8px solid #fff;
    border-radius: 6px;
}

.staff-interview-card__image img {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.staff-interview-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 0% 100%,
        rgba(var(--staff-card-accent-rgb), 0.55) 0%,
        rgba(var(--staff-card-accent-rgb), 0.3) 25%,
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.staff-interview-card__quote {
    position: absolute;
    z-index: 2;
    left: -2rem;
    right: 1rem;
    bottom: -1.5rem;
    display: grid;
    gap: 0.5rem;
    margin: 0;
}

.staff-interview-card__quote span {
    width: fit-content;
    max-width: 100%;
    padding: 0.38rem 0.55rem;
    color: var(--staff-text);
    background-color: #fff;
    border-radius: 3px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.staff-interview-card__meta {
    display: grid;
    grid-template-columns: 1fr 54px;
    gap: 1rem;
    align-items: center;
}

.staff-interview-card__meta strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--staff-card-accent);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: color 0.3s ease, filter 0.3s ease;
}

.staff-interview-card__meta span {
    display: block;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 1.7;
}

.staff-interview-card__meta em {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-left: 1px solid #e1d7d2;
    color: currentColor;
    font-style: normal;
    font-size: 1.15rem;
    color: var(--staff-card-accent);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.staff-interview-card a:hover .staff-interview-card__image::after {
    opacity: 1;
}

.staff-interview-card a:hover .staff-interview-card__quote span {
    color: #fff;
    background-color: var(--staff-card-accent);
}

.staff-interview-card a:hover .staff-interview-card__meta strong {
    filter: saturate(1.2);
}

.staff-interview-card a:hover .staff-interview-card__meta em {
    border-left-color: var(--staff-card-accent);
    transform: translateX(-4px);
}

.staff-interview-card--current .staff-interview-card__image::after {
    opacity: 1;
}

.staff-interview-card--current .staff-interview-card__quote span {
    color: #fff;
    background-color: var(--staff-card-accent);
}

.staff-interview-card--current .staff-interview-card__meta strong {
    filter: saturate(1.2);
}

.staff-interview-card--current .staff-interview-card__meta em {
    border-left-color: var(--staff-card-accent);
    transform: translateX(-4px);
}

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

@media (min-width: 1025px) {
    .staff-interview-list--index {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .staff-interview-list--index .staff-interview-list__header {
        margin-bottom: 40px;
    }

    .staff-interview-list--index .staff-interview-list__header span:nth-child(2) {
        margin-bottom: 9px;
    }
}

@media (min-width: 1360px) {
    .staff-interview-list--index {
        padding-bottom: 160px;
    }

    .staff-interview-list--index .staff-interview-cards,
    body.page-template-template-staff-interview .staff-interview-cards {
        grid-template-columns: repeat(3, 407px);
        column-gap: 29px;
        row-gap: 117px;
    }

    .staff-interview-list--index .staff-interview-cards {
        position: relative;
    }

    .staff-interview-list--index .staff-interview-cards::before {
        content: "";
        position: absolute;
        z-index: 1;
        top: 576px;
        right: 0;
        left: 0;
        height: 1px;
        background: repeating-linear-gradient(
            to right,
            #d8c8c7 0 2px,
            transparent 2px 4px
        );
        pointer-events: none;
    }

    .staff-interview-list--index .staff-interview-card__image,
    body.page-template-template-staff-interview .staff-interview-card__image {
        box-sizing: border-box;
        width: 377px;
        height: 408px;
        margin: 0 0 40px 30px;
        border-width: 10px;
        border-radius: 8px;
    }

    .staff-interview-list--index .staff-interview-card__image img,
    body.page-template-template-staff-interview .staff-interview-card__image img {
        height: 388px;
        border-radius: 4px;
    }

    .staff-interview-list--index .staff-interview-card__meta,
    body.page-template-template-staff-interview .staff-interview-card__meta {
        grid-template-columns: 297px 80px;
        gap: 0;
        width: 377px;
        margin-left: 30px;
    }

    .staff-interview-list--index .staff-interview-card__quote {
        top: 340px;
        right: auto;
        bottom: auto;
        gap: 4px;
    }

    .staff-interview-list--index .staff-interview-card__quote span {
        box-sizing: border-box;
        max-width: none;
        height: 37px;
        padding: 0 10px;
        border-radius: 4px;
        line-height: 37px;
        white-space: nowrap;
    }

    .staff-interview-list--index .staff-interview-card__meta em {
        align-self: start;
        min-height: 68px;
        height: 68px;
        border-left-color: #d8c9c6;
        font-size: 0;
    }

    .staff-interview-list--index .staff-interview-card__meta em::before {
        content: "";
        width: 18px;
        height: 14px;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M1 7h16M11 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M1 7h16M11 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    }
}

@media (max-width: 1024px) {
    .staff-interview-main__inner {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 2.5rem;
    }

    .staff-interview-cards {
        gap: 2rem;
    }
}

@media (max-width: 820px) {
    .page-hero--our-family,
    .page-hero--our-family .page-hero__collage {
        height: 389px;
    }

    .our-family-intro {
        margin-top: -24px;
        padding: 58px 2rem 18px;
        border-radius: 20px 20px 0 0;
    }

    .our-family-intro__heading {
        margin-bottom: 12px;
    }

    .staff-interview-hero__inner,
    .staff-interview-main,
    .staff-interview-list {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .staff-interview-main__inner,
    .staff-interview-cards {
        grid-template-columns: 1fr;
    }

    body.page-template-template-staff-interview .staff-interview-main {
        margin-top: -24px;
    }

    .staff-interview-profile {
        position: static;
    }

    .staff-interview-profile__line {
        display: none;
    }

    .staff-interview-profile__image img {
        height: 360px;
    }

    .staff-interview-card__image img {
        height: 340px;
    }

    .staff-interview-list__header h2 {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    .staff-interview-card__quote span {
        font-size: clamp(1rem, 2.25vw, 1.125rem);
        line-height: 1.6;
    }

    .staff-interview-card__meta strong {
        font-size: clamp(1.5rem, 3.6vw, 1.75rem);
    }

    .staff-interview-card__meta span {
        font-size: clamp(0.9375rem, 2vw, 1rem);
    }
}

@media (min-width: 769px) and (max-width: 820px) {
    body.page-template-template-staff-interview .staff-interview-hero__collage {
        height: 400px;
    }

    body.page-template-template-staff-interview .staff-interview-main {
        margin-top: -100px;
    }
}

@media (max-width: 560px) {
    .our-family-intro {
        padding-top: 5rem;
        padding-right: 24px;
        padding-bottom: 2.5rem;
        padding-left: 24px;
    }

    .staff-interview-list--index {
        padding-top: 2.5rem;
    }

    .staff-interview-list--index .staff-interview-list__header {
        margin-bottom: 2rem;
    }

    .staff-interview-list--index .staff-interview-list__header span:nth-child(2) {
        margin: 0.45rem auto 0.5rem;
    }

    .staff-interview-list--index .staff-interview-cards,
    body.page-template-template-staff-interview .staff-interview-cards {
        width: 307px;
        margin-right: auto;
        margin-left: auto;
    }

    .staff-interview-list--index .staff-interview-card__image,
    body.page-template-template-staff-interview .staff-interview-card__image {
        box-sizing: border-box;
        width: 307px;
        height: 332px;
        margin-bottom: 40px;
        border-width: 10px;
    }

    .staff-interview-list--index .staff-interview-card__image img,
    body.page-template-template-staff-interview .staff-interview-card__image img {
        height: 312px;
    }

    body.page-template-template-staff-interview .staff-interview-hero {
        height: 456px;
        min-height: 456px;
        align-items: stretch;
    }

    body.page-template-template-staff-interview .staff-interview-hero__inner {
        right: 0;
        bottom: 24px;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: auto;
        max-width: none;
        padding: 0 24px;
        align-items: flex-start;
    }

    body.page-template-template-staff-interview .staff-interview-hero__title {
        margin-bottom: 1rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    body.page-template-template-staff-interview .staff-interview-hero__meta {
        font-size: 1rem;
        line-height: 1.5;
    }

    body.page-template-template-staff-interview .staff-interview-hero__collage {
        height: 456px;
        width: 100%;
        opacity: 1;
    }

    body.page-template-template-staff-interview .staff-interview-hero__photo--sign {
        display: none;
    }

    body.page-template-template-staff-interview
    .page-hero--staff-interview-detail
    .staff-interview-hero__photo--person {
        top: 103px;
        right: -15px;
        width: 240px;
        transform: rotate(-12deg);
    }

    .staff-interview-hero__inner,
    .staff-interview-main,
    .staff-interview-list {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    body.page-template-template-staff-interview .staff-interview-main {
        padding: 3.75rem 24px 5rem;
        border-radius: 20px 20px 0 0;
    }

    body.page-template-template-staff-interview .staff-interview-profile__image img {
        height: 356px;
    }

    .staff-interview-question__title {
        font-size: 1.05rem;
    }

    .staff-interview-profile__image img,
    .staff-interview-card__image img {
        height: 280px;
    }

    .staff-interview-question__number {
        font-size: 1rem;
    }
}

/* Keep staff stories readable throughout tablet widths, including 834px iPad Air. */
@media (min-width: 561px) and (max-width: 1024px) {
    .staff-interview-list--index .staff-interview-cards {
        grid-template-columns: minmax(0, 640px);
        justify-content: center;
    }

    .staff-interview-list--index .staff-interview-card__image img {
        height: 340px;
    }
}
