/* ==========================================================================
   Instructors Page — editorial bios
   ========================================================================== */

.page-instructors .page-content {
    background-color: #E2D6C4;
}

.instructors-hero {
    position: relative;
    padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4.5vw, 56px);
    text-align: center;
    overflow: hidden;
}

.instructors-hero::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: min(480px, 88vw);
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(245, 81, 28, 0.18) 0%, transparent 72%);
    pointer-events: none;
}

.instructors-hero__inner {
    position: relative;
    z-index: 1;
    max-width: min(920px, 100%);
    margin: 0 auto;
}

.instructors-hero__eyebrow {
    font-family: var(--font-nav);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #757575;
    margin-bottom: clamp(16px, 2vw, 24px);
}

.instructors-hero__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #181818;
    margin-bottom: clamp(18px, 2.2vw, 26px);
}

.instructors-hero__title-line {
    display: block;
    white-space: nowrap;
}

.instructors-hero__lead {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.75;
    letter-spacing: 0.02em;
    color: #5A5A5A;
    max-width: 620px;
    margin: 0 auto;
}

.instructors-main {
    padding: 0 0 clamp(80px, 10vw, 120px);
}

.instructors-main__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Editorial bio row — no heavy card box */
.instructor-bio {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
    padding: clamp(36px, 5vw, 64px) 0;
    border-top: 1px solid rgba(24, 24, 24, 0.1);
}

.instructor-bio:first-child {
    border-top: none;
    padding-top: clamp(12px, 2vw, 24px);
}

.instructor-bio--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.instructor-bio--reverse .instructor-bio__media {
    order: 2;
}

.instructor-bio--reverse .instructor-bio__content {
    order: 1;
}

.instructor-bio__media {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: clamp(18px, 2vw, 28px);
    background-color: #D4C8B6;
    box-shadow: 0 22px 50px rgba(24, 24, 24, 0.1);
}

.instructor-bio__media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.instructor-bio__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.instructor-bio__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #DDD2C4 0%, #C4B8A6 48%, #B8AC9A 100%);
}

.instructor-bio__placeholder span {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 48px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(24, 24, 24, 0.42);
}

.instructor-bio__content {
    min-width: 0;
    max-width: 560px;
}

.instructor-bio--reverse .instructor-bio__content {
    justify-self: end;
}

.instructor-bio__eyebrow {
    margin: 0 0 14px;
    font-family: var(--font-nav);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #F5511C;
}

.instructor-bio__heading {
    margin: 0 0 18px;
    font-family: var(--font-serif);
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
    color: #181818;
}

.instructor-bio__rule {
    display: block;
    width: 52px;
    height: 2px;
    margin: 0 0 clamp(20px, 2.4vw, 28px);
    background-color: #F5511C;
}

.instructor-bio__text {
    margin: 0 0 1.15em;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.78;
    letter-spacing: 0.01em;
    color: #4A4A4A;
}

.instructor-bio__text:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .instructors-hero__title-line {
        white-space: normal;
    }

    .instructor-bio,
    .instructor-bio--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: clamp(32px, 6vw, 48px) 0;
    }

    .instructor-bio--reverse .instructor-bio__media,
    .instructor-bio--reverse .instructor-bio__content {
        order: initial;
    }

    .instructor-bio__media {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 3 / 4;
    }

    .instructor-bio__content,
    .instructor-bio--reverse .instructor-bio__content {
        max-width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 600px) {
    .instructors-main {
        padding-bottom: 64px;
    }

    .instructor-bio__heading {
        font-size: clamp(26px, 8vw, 34px);
    }

    .instructor-bio__text {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .instructor-bio {
        transition: none;
    }
}
