/* ==========================================================================
   ThinkNext - Our Experts Directory Stylesheet
   Executive Faculty Portfolio - Clean, Distinct & Professional Theme
   ========================================================================== */

:root {
    --tn-teal-dark: #0b202c;
    --tn-teal-card: #102e32;
    --tn-mint: #9ee0bd;
    --tn-mint-hover: #b4edd0;
    --tn-sage: #187552;
    --tn-sage-light: #edf5ef;
    --tn-border-light: rgba(11, 32, 44, 0.08);
    --tn-text-main: #0b202c;
    --tn-text-muted: #5a717d;
    --tn-text-light: #8fa0a8;
}

/* ── Section Structure ── */
.experts-directory-section {
    padding: 70px 0 95px;
    background: #f8faf8;
}

.experts-list-container {
    max-width: 1080px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 34px;
}

/* ── Individual Expert Profile Card ── */
.expert-profile-card {
    background: #ffffff;
    border: 1px solid #dce8df;
    border-radius: 18px;
    padding: 34px 36px;
    box-shadow: 0 4px 22px rgba(11, 32, 44, 0.04);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 36px;
    align-items: start;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    scroll-margin-top: 110px;
    position: relative;
}

.expert-profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(11, 32, 44, 0.08);
    border-color: #72b992;
}

/* ── Photo Column (Left on Desktop) ── */
.expert-photo-col {
    display: flex;
    flex-direction: column;
}

.expert-photo-frame {
    width: 100%;
    height: 275px;
    border-radius: 14px;
    overflow: hidden;
    background: #edf5ef;
    border: 1px solid #dce8df;
    box-shadow: 0 4px 16px rgba(11, 32, 44, 0.05);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.45s ease;
}

.expert-profile-card:hover .expert-photo-frame img {
    transform: scale(1.035);
}

/* ── Details Column (Right on Desktop) ── */
.expert-details-pane {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expert-header-row {
    margin-bottom: 12px;
}

.expert-eyebrow-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.expert-domain-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #187552;
    background: #edf5f0;
    border: 1px solid #cce4d5;
    padding: 4px 12px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.expert-domain-eyebrow i {
    font-size: 11px;
    color: #187552;
}

.expert-name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: #0b202c;
    line-height: 1.25;
    margin: 4px 0 6px;
    letter-spacing: -0.01em;
}

.expert-designation {
    font-size: 0.94rem;
    font-weight: 600;
    color: #187552;
    margin: 0 0 14px;
    line-height: 1.45;
}

.expert-bio {
    font-size: 0.92rem;
    color: #435e52;
    line-height: 1.68;
    margin: 0 0 18px;
}

/* ── Areas of Expertise: Core Expertise Strip ── */
.expert-focus-strip {
    display: flex;
    align-items: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: #f7faf8;
    border: 1px solid #e3eee6;
    border-left: 3.5px solid #187552;
    border-radius: 8px;
}

.focus-strip-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #187552;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.focus-strip-label i {
    font-size: 10px;
}

.focus-tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.focus-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: #103328;
    background: #ffffff;
    border: 1px solid #cce1d4;
    padding: 4px 12px;
    border-radius: 6px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(11, 32, 44, 0.03);
    transition: all 0.2s ease;
}

.focus-tag:hover {
    border-color: #187552;
    background: #fafffc;
    color: #187552;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(24, 117, 82, 0.08);
}

/* ── Executive Dialogue Topics: Numbered Modules ── */
.expert-topics-panel {
    margin-bottom: 24px;
}

.topics-header-bar {
    display: flex;
    align-items: center;
    margin-bottom: 11px;
}

.topics-heading {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #0b202c;
    display: flex;
    align-items: center;
    gap: 7px;
}

.topics-heading i {
    color: #187552;
    font-size: 11px;
}

.topics-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
}

.topic-module {
    background: #ffffff;
    border: 1px solid #dce8df;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.22s ease;
}

.topic-module:hover {
    border-color: #84be9e;
    background: #fbfdfb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 51, 40, 0.06);
}

.topic-module-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: #187552;
    background: #eef6f1;
    border: 1px solid #d2e6da;
    padding: 2px 7px;
    border-radius: 5px;
    flex-shrink: 0;
    line-height: 1.3;
}

.topic-module-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #0e2e24;
    line-height: 1.35;
}

/* ── Action Area: Premium Enquire Button ── */
.expert-action-bar,
.expert-card-footer {
    margin-top: auto;
    padding-top: 4px;
}

.expert-cta-btn,
.expert-enquire-btn,
.expert-card-footer .btn-primary,
.expert-action-bar .btn-primary {
    background: #9ee0bd;
    color: #092b26;
    border: 1px solid #9ee0bd;
    padding: 11px 24px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(158, 224, 189, 0.25);
}

.expert-cta-btn:hover,
.expert-enquire-btn:hover,
.expert-card-footer .btn-primary:hover,
.expert-action-bar .btn-primary:hover {
    background: #b4edd0;
    border-color: #b4edd0;
    color: #092b26;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 46, 50, 0.14);
}

.expert-cta-btn i,
.expert-enquire-btn i,
.expert-card-footer .btn-primary i,
.expert-action-bar .btn-primary i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.expert-cta-btn:hover i,
.expert-enquire-btn:hover i,
.expert-card-footer .btn-primary:hover i,
.expert-action-bar .btn-primary:hover i {
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .expert-profile-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }

    .expert-photo-col {
        align-items: center;
    }

    .expert-photo-frame {
        max-width: 240px;
        height: 260px;
        margin: 0 auto;
    }

    .topics-module-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .expert-cta-btn,
    .expert-enquire-btn {
        width: 100%;
        justify-content: center;
    }
}
