.instructors-page {
    min-height: calc(100vh - var(--site-header-height));
    padding-bottom: 48px;
}

.instructors-hero {
    padding: 36px 16px 20px;
}

.instructors-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.page-kicker,
.profile-kicker,
.inst-card-kicker {
    margin: 0 0 10px;
    color: darkred;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.22em;
    font-size: 12px;
    text-transform: uppercase;
}

.instructors-hero h1,
.inst-profile-body h1 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.04em;
    line-height: 1.06;
}

.instructors-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    animation: instructorsFadeUp .55s ease both;
}

.instructors-lead {
    max-width: 760px;
    margin: 16px 0 0;
    color: #474747;
    font-size: 16px;
    line-height: 1.72;
    animation: instructorsFadeUp .65s ease both;
}

.instructors-list-section {
    padding: 0 16px;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.instructors-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(17,17,17,0.08);
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
    color: #555;
}

.inst-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(17,17,17,0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .24s ease, border-color .24s ease;
    animation: instructorsFadeUp .55s ease both;
}

.inst-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    border-color: rgba(139, 0, 0, 0.18);
}

.inst-card:hover .inst-photo {
    transform: scale(1.03);
}

.inst-photo {
    width: 100%;
    padding-top: 66%;
    background-size: cover;
    background-position: center;
    transition: transform .32s ease;
}

.inst-body {
    padding: 18px;
}

.inst-card-kicker {
    margin-bottom: 8px;
}

.inst-name {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    line-height: 1.1;
    margin: 0 0 8px;
}

.inst-title {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.inst-excerpt {
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.inst-profile {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

.inst-profile-photo {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    animation: instructorsFadeUp .55s ease both;
}

.inst-profile-body {
    animation: instructorsFadeUp .65s ease both;
}

.inst-profile-body h1 {
    font-size: clamp(32px, 5vw, 46px);
}

.inst-bio {
    margin-top: 18px;
    color: #333;
    line-height: 1.72;
    background: rgba(255,255,255,0.94);
    padding: 18px 20px;
    border: 1px solid rgba(17,17,17,0.08);
    border-left: 4px solid darkred;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    transition: transform .22s ease, box-shadow .24s ease, border-color .24s ease;
}

.inst-bio:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0,0,0,.1);
    border-color: rgba(139, 0, 0, 0.14);
}

.inst-contact {
    margin-top: 16px;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inst-contact a {
    color: darkred;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(139,0,0,0.14);
    padding-bottom: 2px;
    display: inline-block;
}

.inst-contact a:hover {
    color: #7a0000;
    border-bottom-color: rgba(139,0,0,0.28);
}

.inst-profile-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inst-contact-under-photo {
    background: rgba(255,255,255,0.94);
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    border: 1px solid rgba(17,17,17,0.08);
    animation: instructorsFadeUp .7s ease both;
}

.inst-contact-under-photo div {
    font-weight: 600;
    color: #222;
}

.inst-contact-under-photo a {
    font-weight: 700;
}

.inst-card:nth-child(2),
.inst-card:nth-child(5),
.inst-card:nth-child(8) {
    animation-delay: .05s;
}

.inst-card:nth-child(3),
.inst-card:nth-child(6),
.inst-card:nth-child(9) {
    animation-delay: .1s;
}

@keyframes instructorsFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inst-profile {
        grid-template-columns: 1fr;
    }

    .inst-profile-photo {
        height: 320px;
    }
}

@media (max-width: 520px) {
    .instructors-grid {
        grid-template-columns: 1fr;
    }

    .inst-card,
    .inst-profile-photo,
    .inst-bio,
    .inst-contact-under-photo {
        border-radius: 14px;
    }

    .inst-body,
    .inst-bio {
        padding-left: 16px;
        padding-right: 16px;
    }
}
