/* ============================================================
   Our People – all rules scoped under .op-* prefix
   ============================================================ */

.op-page {
    padding-bottom: 80px;
    font-family: 'Poppins', sans-serif;
}

.op-section {
    /* as per the confirmation with vishal sir */
    padding-top: 30px; 
}

/* Section header: title left + lead right */
.op-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.op-section__title {
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: #111;
    margin: 0;
    line-height: 1.05;
    flex-shrink: 0;
}

.op-section__lead {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 420px;
    padding-top: 10px;
}

/* Person grids */
.op-grid {
    display: grid;
    gap: 28px;
}

.op-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.op-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Person card */
.op-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 0;
    border: 1px solid #D71920;
}

.op-card__media {
    width: 100%;
    /* aspect-ratio: 3 / 4; */
    overflow: hidden;
    background: #f0f0f0;
}

.op-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.op-card__body {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 0 24px 24px 24px;
    gap: 0 12px;
}

.op-card__name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px 0;
    line-height: 1.35;
    grid-column: 1;
    grid-row: 1;
}

.op-card__role {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1B1B1B;
    margin: 0;
    line-height: 1.45;
    grid-column: 1;
    grid-row: 2;
}

/* LinkedIn icon sits in the right column, spanning both text rows */
.op-card__linkedin {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.18s, transform 0.18s;
    opacity: 0.85;
}

.op-card__linkedin:hover {
    opacity: 1;
    transform: scale(1.12);
}

.op-card__linkedin img {
    width: 28px;
    height: 28px;
    display: block;
}

/* Overlay variant – Leadership Team cards */
.op-card--overlay {
    position: relative;
    background: transparent;
    box-shadow: none;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
}

.op-card--overlay .op-card__media {
    /* aspect-ratio: 3 / 4; */
    border-radius: 16px;
}

.op-card--overlay .op-card__body {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.op-card--overlay .op-card__role {
    color: #D71920;
}

/* ── 1660px ─────────────────────────────────────────── */
@media (max-width: 1660px) {
    .op-section__title { font-size: 52px; }
}
/* ── 1660px ─────────────────────────────────────────── */
@media (max-width: 1550px) {
    .op-card__body{
        padding: 0 20px 20px 20px;
    }
    .op-card__name{
        font-size: 18px;
    }
    .op-card__role{
        font-size: 13px;
    }
    .op-card--overlay .op-card__body{
        padding: 20px;
    }
}
/* ── 1440px ─────────────────────────────────────────── */
@media (max-width: 1440px) {
    .op-section__title { font-size: 46px; }
    .op-section__lead  { font-size: 17px; }
    .op-grid           { gap: 24px; }
}

/* ── 1280px ─────────────────────────────────────────── */
@media (max-width: 1280px) {
    .op-section__title  { font-size: 40px; }
    .op-section__header { gap: 36px; margin-bottom: 40px; }
    .op-section__lead   { font-size: 16px; max-width: 380px; }
        .op-card__body{
        padding: 0 16px 16px 16px;
    }
    .op-card__name{
        font-size: 16px;
    }
    .op-card__role{
        font-size: 10px;
    }
    .op-card--overlay .op-card__body{
        padding: 16px;
    }
}
/* ── 1280px ─────────────────────────────────────────── */
@media (max-width: 1152px) {
        .op-card__body{
        padding: 0 15px 15px 15px;
    }
    .op-card__name{
        font-size: 14px;
    }
    .op-card__role{
        font-size: 8px;
    }
    .op-card--overlay .op-card__body{
        padding: 15px;
    }
}

/* ── 1024px ─────────────────────────────────────────── */
@media (max-width: 1292px) {
    .op-grid--4{
        grid-template-columns: repeat(3, 1fr);
    }
    .op-section__title  { font-size: 34px; }
    .op-section__header { gap: 24px; }
    .op-section__lead   { font-size: 15px; }
    .op-grid            { gap: 18px; }
    .op-card__name      { font-size: 14px; }
    .op-card__role      { font-size: 12px; }
}

/* ── 767px – mobile: 1 card per row ─────────────────── */
@media (max-width: 767px) {
    .op-page    { padding-bottom: 48px; }
    .op-section { padding-top: 40px; }

    .op-section__header {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
    }
    .op-section__title { font-size: 28px; }
    .op-section__lead  { font-size: 15px; max-width: 100%; padding-top: 0; }

    .op-grid--4,
    .op-grid--3 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* .op-card__media { aspect-ratio: 3 / 4; } */
    .op-card__name  { font-size: 18px; }
    .op-card__role  { font-size: 13px; }
    .op-card__body  { padding: 0 18px 18px 18px; }
}
