/* Ported from resources/views/frontend/pages/about-us/staff-profile.blade.php <style> */
/* =========================================================
   STAFF PROFILE
   Clean doctor-style UI for staff
========================================================= */

.staff-profile-page {
    background: #f4f8f9;
    min-height: 100vh;
}

/* HERO */
.staff-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(23, 72, 84, .94), rgba(23, 72, 84, .72)),
        url("/images/doctor-banner.jpg") center/cover no-repeat;
}

.staff-hero-content {
    width: 100%;
    text-align: center;
    padding: 75px 20px;
}

.staff-hero h1 {
    color: #fff;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 14px;
}

.staff-hero p {
    color: #fff !important;
    font-size: 19px;
    margin: 0;
}

/* PAGE CONTAINER */
.staff-page-container {
    max-width: 1360px;
    margin: auto;
    padding: 0 24px 70px;
}

/* BREADCRUMB */
.staff-breadcrumb {
    text-align: center;
    padding: 34px 0 28px;
    color: #68767b;
    font-size: 15px;
}

.staff-breadcrumb a {
    color: #198754;
    text-decoration: none;
}

.staff-breadcrumb span {
    margin: 0 9px;
    color: #a6b0b4;
}

/* =========================================================
   PROFILE HEADER
========================================================= */

.staff-profile-card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 35px rgba(20, 50, 60, .07);
}

/* IMAGE */
.staff-photo {
    height: 365px;
    border-radius: 20px;
    overflow: hidden;
    background: #edf3f4;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* MAIN */
.staff-main {
    min-width: 0;
    padding-right: 15px;
}

.staff-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 17px;
    margin-bottom: 20px;
    border-radius: 30px;
    background: #edfff5;
    border: 1px solid #ccefdc;
    color: #198754;
    font-size: 14px;
    font-weight: 700;
}

.staff-main h2 {
    color: #111;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 9px;
}

.staff-designation {
    color: #198754;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}

.staff-qualification {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #4d5a5f;
    font-size: 16px;
    line-height: 1.7;
}

.staff-qualification i {
    color: #198754;
    margin-top: 5px;
}

.staff-intro {
    max-width: 850px;
    margin-top: 18px;
    color: #4d5a5f;
    font-size: 16px;
    line-height: 1.85;
}

/* =========================================================
   INFORMATION STRIP
   Only renders if department / experience / qualification
========================================================= */

.staff-info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.staff-info-box {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    border-radius: 15px;
    background: #f8fbfa;
    border: 1px solid #e4eee9;
}

.staff-info-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf8f1;
    color: #198754;
}

.staff-info-box small {
    display: block;
    color: #778287;
    font-size: 12px;
    margin-bottom: 4px;
}

.staff-info-box strong {
    display: block;
    color: #111;
    font-size: 15px;
    line-height: 1.5;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.staff-content {
    margin-top: 28px;
}

.staff-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 8px 30px rgba(20, 50, 60, .055);
    margin-bottom: 28px;
}

.staff-card:last-child {
    margin-bottom: 0;
}

.staff-heading {
    margin-bottom: 28px;
}

.staff-heading .eyebrow {
    text-align: center;
    color: #198754;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 11px;
}

.staff-heading .line {
    width: 100%;
    height: 3px;
    background: #198754;
}

.staff-card h3 {
    color: #111;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 18px;
}

.staff-rich {
    color: #4d5a5f;
    font-size: 16px;
    line-height: 1.9;
}

.staff-rich p {
    margin: 0 0 14px;
}

.staff-rich ul,
.staff-rich ol {
    padding-left: 23px;
    margin: 12px 0 18px;
}

.staff-rich li {
    margin-bottom: 8px;
}

.staff-rich img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.staff-rich table {
    width: 100%;
    border-collapse: collapse;
}

.staff-rich th,
.staff-rich td {
    border: 1px solid #e3e8ea;
    padding: 10px 12px;
}

/* =========================================================
   EXPERTISE
========================================================= */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 45px;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #4d5a5f;
    font-size: 16px;
    line-height: 1.65;
}

.expertise-item i {
    color: #198754;
    margin-top: 5px;
}

/* =========================================================
   ACCORDION
========================================================= */

.staff-accordion-item {
    border-bottom: 1px solid #e7ecee;
}

.staff-accordion-item:last-child {
    border-bottom: 0;
}

.staff-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 22px 0;
}

.staff-accordion-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.staff-accordion-left i {
    width: 22px;
    color: #198754;
}

.staff-accordion-left span {
    color: #111;
    font-size: 19px;
    font-weight: 700;
}

.staff-arrow {
    color: #198754;
    transition: .25s ease;
}

.staff-accordion-title.active .staff-arrow {
    transform: rotate(180deg);
}

.staff-accordion-content {
    max-height: 0;
    overflow: hidden;
    color: #4d5a5f;
    font-size: 16px;
    line-height: 1.9;
    transition: max-height .35s ease;
}

.staff-accordion-content.open {
    padding-bottom: 24px;
}

/* =========================================================
   CONTACT CARD
========================================================= */

.staff-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.staff-contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    background: #f8fbfa;
    border: 1px solid #e4eee9;
    border-radius: 14px;
}

.staff-contact-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #eaf8f1;
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-contact-item span {
    display: block;
    color: #7a8589;
    font-size: 12px;
    margin-bottom: 3px;
}

.staff-contact-item strong {
    color: #111;
    font-size: 14px;
    word-break: break-word;
}

/* BACK */
.staff-back {
    margin-top: 5px;
}

.staff-back a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 23px;
    border: 1px solid #198754;
    border-radius: 8px;
    color: #198754;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: .25s ease;
}

.staff-back a:hover {
    background: #198754;
    color: #fff;
}

/* RESPONSIVE */
@media(max-width: 900px) {

    .staff-profile-card {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 30px;
    }

    .staff-info-strip {
        grid-template-columns: 1fr;
    }

    .staff-info-box {
        width: 100%;
    }
}

@media(max-width: 700px) {

    .staff-page-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .staff-hero {
        min-height: 280px;
    }

    .staff-hero h1 {
        font-size: 34px;
    }

    .staff-hero p {
        font-size: 16px;
    }

    .staff-profile-card {
        grid-template-columns: 1fr;
        padding: 22px;
        border-radius: 18px;
    }

    .staff-photo {
        width: 100%;
        max-width: 330px;
        height: 330px;
        margin: auto;
    }

    .staff-main {
        padding-right: 0;
        text-align: center;
    }

    .staff-qualification {
        justify-content: center;
        text-align: left;
    }

    .staff-intro {
        text-align: left;
    }

    .staff-card {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .staff-card h3 {
        font-size: 24px;
    }

    .expertise-grid,
    .staff-contact-grid {
        grid-template-columns: 1fr;
    }
}
