/* ============================================================
   Leader Timeline — leader-timeline.css  v5
   ============================================================ */

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.lth-hero {
    background: #1C1F34;    /* solid fallback */
    position: relative;
    overflow: hidden;
}

/* Gradient bg — own div, z-index 0 */
.lth-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 90% at 85% 50%, rgba(239,148,89,.14) 0%, transparent 60%),
        linear-gradient(140deg, #0c1020 0%, #1C1F34 55%, #242840 100%);
    pointer-events: none;
}

/* Content wrapper sits ABOVE bg, z-index 1 */
.lth-hero-body {
    position: relative;
    z-index: 1;
}

/* Back link */
.lth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color .2s;
}
.lth-back:hover { color: #ef9459; text-decoration: none; }

/* Category pill */
.lth-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 40px;
    padding: 5px 14px;
    margin-bottom: 16px;
}
.lth-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ef9459;
    flex-shrink: 0;
}

/* Name / designation / state */
.lth-name {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 10px;
}
.lth-desig {
    font-size: 15px;
    color: rgba(255,255,255,.62);
    margin-bottom: 8px;
}
.lth-state {
    font-size: 13px;
    color: rgba(255,255,255,.38);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
}

/* Stats row */
.lth-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.lth-stat-box {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 14px 22px;
    text-align: center;
    min-width: 90px;
}
.lth-stat-num  { font-size: 34px; font-weight: 900; color: #ef9459; line-height: 1; }
.lth-stat-lbl  { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.42); margin-top: 4px; }
.lth-party-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239,148,89,.13);
    border: 1px solid rgba(239,148,89,.3);
    color: #ef9459;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
}

/* Portrait */
.lth-portrait {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.lth-portrait-placeholder {
    width: 100%;
    height: 340px;
    background: rgba(255,255,255,.04);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    color: rgba(255,255,255,.07);
}

/* Accent bar */
.lth-accent-bar {
    height: 5px;
    background: linear-gradient(90deg, #ef9459 0%, #d97b3e 55%, #1C1F34 100%);
}

/* ═══════════════════════════════════════════
   SECTION
═══════════════════════════════════════════ */
.lth-section {
    background: #f1f2f6;
    padding: 64px 0 90px;
}
.lth-sec-head {
    text-align: center;
    margin-bottom: 52px;
}
.lth-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ef9459;
    margin-bottom: 8px;
}
.lth-sec-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #1C1F34;
    margin: 0;
}
.lth-divider {
    width: 52px;
    height: 3px;
    background: #ef9459;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ═══════════════════════════════════════════
   TIMELINE  — 3-column grid
   col-a: photo  |  col-b: node+date  |  col-c: text
═══════════════════════════════════════════ */
.lth-timeline {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Spine */
.lth-timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, #ef9459 0%, rgba(239,148,89,.35) 70%, transparent 100%);
    z-index: 0;
}

.lth-row {
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Default (odd): photo LEFT, text RIGHT */
.lth-col-a { padding-right: 28px; }
.lth-col-b { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; }
.lth-col-c { padding-left: 28px; }

/* Even: photo RIGHT, text LEFT */
.lth-even .lth-col-a { grid-column: 3; grid-row: 1; padding-right: 0; padding-left: 28px; }
.lth-even .lth-col-b { grid-column: 2; grid-row: 1; }
.lth-even .lth-col-c { grid-column: 1; grid-row: 1; padding-left: 0; padding-right: 28px; }

/* Node */
.lth-node {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1C1F34;
    border: 3px solid #ef9459;
    box-shadow: 0 0 0 5px rgba(239,148,89,.18), 0 4px 14px rgba(28,31,52,.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    transition: transform .25s, box-shadow .25s;
    z-index: 2;
}
.lth-row:hover .lth-node {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(239,148,89,.2), 0 6px 18px rgba(28,31,52,.35);
}

/* Date tag — NO flex, plain inline-block so nowrap works reliably */
.lth-date-tag {
    display: block;
    background: #ef9459;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 40px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239,148,89,.4);
}

/* Location tag */
.lth-loc-tag {
    display: block;
    color: #777;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
}
.lth-loc-tag i { color: #ef9459; }

/* Image card */
.lth-img-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(28,31,52,.13);
    line-height: 0;
    transition: box-shadow .3s, transform .3s;
}
.lth-img-card:hover {
    box-shadow: 0 12px 40px rgba(28,31,52,.18);
    transform: translateY(-4px);
}
.lth-img-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.lth-img-card:hover img { transform: scale(1.04); }

/* No photo */
.lth-no-photo {
    height: 200px;
    background: linear-gradient(135deg, #e4e6ef, #d4d8e8);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a0a8c0;
    gap: 10px;
    font-size: 13px;
}
.lth-no-photo i { font-size: 38px; opacity: .35; }

/* Text card */
.lth-text-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(28,31,52,.07);
    box-shadow: 0 4px 24px rgba(28,31,52,.1);
    padding: 24px 26px;
    transition: box-shadow .3s, transform .3s;
}
.lth-text-card:hover {
    box-shadow: 0 10px 36px rgba(28,31,52,.15);
    transform: translateY(-3px);
}
.lth-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ef9459;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.lth-card-label::before {
    content: '';
    display: inline-block;
    width: 16px; height: 2px;
    background: #ef9459;
    border-radius: 2px;
}
.lth-card-text {
    font-size: 14px;
    line-height: 1.85;
    color: #4a4a5a;
    margin: 0;
}

/* Empty */
.lth-empty { text-align: center; padding: 90px 20px; }
.lth-empty-ico {
    width: 88px; height: 88px;
    background: rgba(239,148,89,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: #ef9459;
    margin: 0 auto 20px;
}
.lth-empty h3 { color: #1C1F34; font-size: 20px; margin-bottom: 8px; }
.lth-empty p  { color: #888; font-size: 14px; margin-bottom: 24px; }

/* CTA */
.lth-cta { text-align: center; padding: 20px 0 8px; }
.lth-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1C1F34;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 40px;
    text-decoration: none !important;
    border: 2px solid #1C1F34;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.lth-cta-btn:hover {
    background: #ef9459;
    border-color: #ef9459;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239,148,89,.35);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 991px) {
    .lth-name { font-size: 30px; }
    .lth-row  { grid-template-columns: 1fr 180px 1fr; }
    .lth-img-card img { height: 240px; }
}

@media (max-width: 767px) {
    .lth-name { font-size: 26px; }

    /* Single-column timeline */
    .lth-timeline::before { display: none; }

    .lth-row,
    .lth-even {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 44px;
    }
    .lth-col-a,
    .lth-col-b,
    .lth-col-c,
    .lth-even .lth-col-a,
    .lth-even .lth-col-b,
    .lth-even .lth-col-c {
        grid-column: auto !important;
        grid-row: auto !important;
        padding: 0 !important;
        width: 100%;
    }
    .lth-col-b { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
    .lth-img-card img { height: 220px; }
    .lth-node { width: 44px; height: 44px; font-size: 13px; }
}

@media (max-width: 575px) {
    .lth-section   { padding: 40px 0 60px; }
    .lth-sec-title { font-size: 22px; }
    .lth-text-card { padding: 18px 20px; }
    .lth-stats     { gap: 10px; }
    .lth-stat-box  { padding: 12px 16px; min-width: 76px; }
    .lth-stat-num  { font-size: 28px; }
}