/* =====================================================================
   Faculty List — Design Option 2 (IHM Bhubaneswar)
   Horizontal profile-row layout: passport photo on the left, details on
   the right in a clean definition-style grid. Uses the site's design
   tokens (navy / gold, Playfair + Jost). Header & footer are untouched.
   ===================================================================== */

/* ---- Faculty area ---- */

:root{
    --edu-body-font : 'Poppins', sans-serif;
}

.fac2-area {
    background: #f8f9fb;
    padding: 70px 0 90px;
}

.fac2-wrap {
    max-width: 1600px;
    margin: 0 auto;
}

span.fac2-detail-value ul {
    padding: 0;
    margin: 0;
}

/* ---- Intro ---- */
.fac2-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
}

.fac2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--edu-body-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--edu-gold-dark);
    margin-bottom: 14px;
}

.fac2-eyebrow .edu-kicker-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: var(--edu-gold);
}

.fac2-intro h2 {
    font-family: var(--edu-display-font);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--edu-navy);
    line-height: 1.25;
    margin-bottom: 16px;
}

.fac2-intro p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #55606f;
    margin: 0;
}

/* =====================================================================
   Featured Principal (full-width profile at the top)
   Same visual language as .fac2-row: navy photo panel + white body.
   ===================================================================== */
.fac2-principal {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: stretch;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(27, 42, 78, 0.07);
    margin-bottom: 48px;
}

/* Photo panel — navy, with a gold accent strip on the inner edge */
.fac2-principal-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 28px;
    background: #36348E;
}

.fac2-principal-photo::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: var(--edu-gold);
}

.fac2-principal-frame {
    /* Passport ratio ~ 35:45 (3.5cm x 4.5cm) */
    width: 190px;
    height: 244px;
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    background: #d7dee8;
}

.fac2-principal-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Body */
.fac2-principal-body {
    padding: 34px 40px;
    display: flex;
    flex-direction: column;
}

.fac2-principal-name {
    font-family: var(--edu-display-font);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 30px);
    color: var(--edu-navy);
    line-height: 1.25;
    margin: 0 0 10px;
}

/* Name + role + experience pill on one header row */
.fac2-principal-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding-bottom: 8px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eef0f3;
}

.fac2-principal-head .fac2-principal-name {
    margin: 0;
}

/* Designation with gold dot/check marker (as in the reference) */
.fac2-principal-role {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--edu-body-font);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
    /*background: rgba(245, 179, 1, 0.14);*/
    padding: 0;
    border-radius: 0;
    margin: 0;
}

.fac2-principal-role i {
    font-size: 13px;
    color: var(--edu-gold);
}

/* Experience pill — compact highlight next to the name */
.fac2-principal-exp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    font-family: var(--edu-body-font);
    font-size: 13px;
    font-weight: 500;
    color: #55606f;
}

.fac2-principal-exp i {
    color: var(--edu-navy);
    font-size: 13px;
}

.fac2-principal-exp strong {
    font-family: var(--edu-display-font);
    font-weight: 700;
    font-size: 16px;
    color: var(--edu-navy);
}

/* Grouped info in a compact, balanced two-column grid */
.fac2-principal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 36px;
}

/* Qualifications is the longest block — let it span both columns */
.fac2-principal-group--wide {
    grid-column: 1 / -1;
}

.fac2-principal-group-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--edu-body-font);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--edu-navy);
    margin: 0 0 10px;
}

.fac2-principal-group-title i {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f3f5f8;
    color: var(--edu-navy);
    font-size: 12px;
}

/* Bulleted list used inside each group */
.fac2-principal-points {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Qualifications span: flow bullets into two columns to save height */
.fac2-principal-group--wide .fac2-principal-points {
    columns: 2;
    column-gap: 36px;
}

.fac2-principal-points li {
    position: relative;
    padding-left: 16px;
    font-family: var(--edu-body-font);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    margin-bottom: 7px;
    break-inside: avoid;
}

.fac2-principal-points li:last-child {
    margin-bottom: 0;
}

.fac2-principal-points li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--edu-gold);
}

/* Featured principal responsive */
@media (max-width: 991px) {
    .fac2-principal-group--wide .fac2-principal-points {
        columns: 1;
    }
}

@media (max-width: 767px) {
    .fac2-principal {
        grid-template-columns: 1fr;
        margin-bottom: 36px;
    }

    .fac2-principal-photo {
        padding: 30px 20px 26px;
    }

    .fac2-principal-photo::after {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 3px;
    }

    .fac2-principal-head {
        gap: 10px;
    }

    .fac2-principal-exp {
        margin-left: 0;
    }

    .fac2-principal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fac2-principal-body {
        padding: 28px 24px;
        text-align: left;
    }
}

/* =====================================================================
   Faculty list (stacked horizontal rows)
   ===================================================================== */
.fac2-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* ---- Profile row ---- */
.fac2-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: stretch;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(27, 42, 78, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fac2-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(27, 42, 78, 0.12);
    border-color: #e3e7ee;
}

/* ---- Passport-size photo panel ---- */
.fac2-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 20px;
    background: #36348E;
}

/* Gold accent strip along the inner edge */
.fac2-photo::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: var(--edu-gold);
}

.fac2-photo-frame {
    /* Passport ratio ~ 35:45 (3.5cm x 4.5cm) */
    width: 130px;
    height: 167px;
    border-radius: 8px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    background: #d7dee8;
}

.fac2-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ---- Body ---- */
.fac2-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}

.fac2-head {
    padding-bottom: 10px;
    margin-bottom: 0;
    border-bottom: 1px solid #eef0f3;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-direction: column;
}

.fac2-name {
    font-family: var(--edu-display-font);
    font-weight: 700;
    font-size: 22px;
    color: var(--edu-navy);
    line-height: 1.3;
    margin: 0 0 8px;
}

.fac2-designation {
    display: inline-flex;
    align-items: center;
    font-family: var(--edu-body-font);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #000000;
    padding: 0;
    border-radius: 0;
}

.staff_exp {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
}

.principal_warp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* ---- Detail grid ---- */
.fac2-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.fac2-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fac2-details li:last-child {
    align-items: baseline;
}

.fac2-details li i {
    flex-shrink: 0;
    margin-top: 2px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f3f5f8;
    color: var(--edu-navy);
    font-size: 14px;
}

.fac2-detail-label {
    display: block;
    font-family: var(--edu-body-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #9aa1ad;
    margin-bottom: 3px;
}

.fac2-detail-value {
    display: block;
    font-family: var(--edu-body-font);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
    color: #46505f;
}

.fac2-detail-value .fac2-years {
    font-family: var(--edu-display-font);
    font-weight: 700;
    font-size: 17px;
    color: var(--edu-navy);
}

/* =====================================================================
   Responsive
   ---------------------------------------------------------------------
   Outer grid: 2 items per row on large screens (incl. 1920px),
   1 item per row on tablet/mobile. Each row keeps photo-left + details.
   The inner 3-up detail grid relaxes to a single column once each row
   gets narrow (because the outer grid halves the available width).
   ===================================================================== */

/* Below very large desktops the two half-width rows get narrow, so the
   three detail columns no longer fit comfortably — stack them. */
@media (max-width: 1400px) {
    .fac2-details {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Tablet & down: one faculty item per row */
@media (max-width: 991px) {
    .fac2-area {
        padding: 56px 0 64px;
    }

    .fac2-intro {
        margin-bottom: 40px;
    }

    .fac2-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .fac2-area {
        padding: 44px 0 54px;
    }

    /* Photo moves on top of the details */
    .fac2-row {
        grid-template-columns: 1fr;
    }

    .fac2-photo {
        padding: 28px 20px 24px;
    }

    .fac2-photo::after {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 3px;
    }

    .fac2-head {
        text-align: center;
    }
}