/* =============================================================
   NPW Conference Agenda – Stylesheet
   Matches NairobiPrivateWealth.com brand:
   Dark navy background · Gold accents · White text
   ============================================================= */

/* ── Reset / wrapper ── */
.npw-agenda-wrap *,
.npw-agenda-wrap *::before,
.npw-agenda-wrap *::after {
    box-sizing: border-box;
}

.npw-agenda-wrap {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0a0d1a;
    color: #e8e6e0;
    padding: 60px 24px 80px;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 4px;
}

/* ── Hidden utility ── */
.npw-agenda-wrap .hidden {
    display: none !important;
}

/* ── Tab navigation ── */
.npw-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #dd8936;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.npw-tab {
    background: transparent;
    border: none;
    color: #9a9281;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
}

.npw-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #dd8936;
    transform: scaleX(0);
    transition: transform 0.25s;
}

.npw-tab--active,
.npw-tab:hover {
    color: #dd8936;
}

.npw-tab--active::after,
.npw-tab:hover::after {
    transform: scaleX(1);
}

/* ── Plenary header ── */
.npw-plenary-header {
    text-align: center;
    margin-bottom: 56px;
}

.npw-plenary-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #dd8936;
    margin-bottom: 12px;
}

.npw-plenary-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.npw-plenary-subtitle {
    font-size: 0.88rem;
    color: #7d7568;
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Timeline ── */
.npw-timeline {
    position: relative;
    padding-left: 0;
}

/* Vertical line */
.npw-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 168px;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, #dd8936 10%, #dd8936 90%, transparent 100%);
}

/* ── Individual session ── */
.npw-session {
    display: grid;
    grid-template-columns: 148px 20px 1fr;
    gap: 0 20px;
    margin-bottom: 36px;
    align-items: start;
}

.npw-session:last-child {
    margin-bottom: 0;
}

/* Time */
.npw-session__time {
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: #dd8936;
    letter-spacing: 0.04em;
    padding-top: 3px;
    text-align: right;
    white-space: nowrap;
    line-height: 1.5;
}

/* Dot on the line */
.npw-session__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dd8936;
    border: 2px solid #0a0d1a;
    box-shadow: 0 0 0 2px #dd8936;
    margin-top: 5px;
    flex-shrink: 0;
    justify-self: center;
}

/* Special dot colours by type */
.npw-session--networking .npw-session__dot,
.npw-session--transition .npw-session__dot,
.npw-session--interlude  .npw-session__dot {
    background: #3a4060;
    box-shadow: 0 0 0 2px #3a4060;
}

/* Body */
.npw-session__body {
    padding-bottom: 36px;
    border-bottom: 1px solid #1a1f35;
}

.npw-session:last-child .npw-session__body {
    border-bottom: none;
    padding-bottom: 0;
}

/* Tag / badge */
.npw-session__tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 8px;
    background: #dd8936;
    color: #dd8936;
    border: 1px solid #dd8936;
}

.npw-tag--keynote   { background: #dd8936; color: #e8c86d; border-color: #dd8936; }
.npw-tag--panel     { background: #1f4e7922; color: #6bb3e8; border-color: #6bb3e855; }
.npw-tag--welcome   { background: #1a3020;   color: #5dbf8a; border-color: #5dbf8a55; }
.npw-tag--case-study{ background: #2a1f3a;   color: #b388e8; border-color: #b388e855; }
.npw-tag--expert    { background: #1f2a3a;   color: #88c8e8; border-color: #88c8e855; }
.npw-tag--networking{ background: #1a1a1a;   color: #7a7a7a; border-color: #3a3a3a;   }
.npw-tag--media     { background: #2a1f1f;   color: #e88888; border-color: #e8888855; }
.npw-tag--closing   { background: #2a2010;   color: #e8b06d; border-color: #e8b06d55; }
.npw-tag--interlude { background: #1a1f35;   color: #6a7a9a; border-color: #6a7a9a55; }

/* Session title */
.npw-session__title {
    font-size: 1rem;
    font-weight: 500;
    color: #f0ece4;
    margin: 0 0 8px;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* Networking / break titles slightly muted */
.npw-session--networking .npw-session__title,
.npw-session--transition  .npw-session__title,
.npw-session--interlude   .npw-session__title {
    color: #5a5f72;
    font-weight: 400;
}

/* Description */
.npw-session__desc {
    font-size: 0.83rem;
    color: #6a6a7a;
    margin: 0 0 12px;
    line-height: 1.6;
}

/* ── Speakers ── */
.npw-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.npw-speaker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111527;
    border: 1px solid #1e2440;
    border-radius: 4px;
    padding: 8px 14px 8px 8px;
    min-width: 220px;
    max-width: 360px;
    flex: 1 1 220px;
}

.npw-speaker__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dd8936, #8b6a1f);
    color: #0a0d1a;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0;
}

.npw-speaker__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.npw-speaker__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #d4cfc5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.npw-speaker__meta {
    font-size: 0.72rem;
    color: #5a6080;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Media-query: tablet & mobile ── */
@media (max-width: 680px) {
    .npw-agenda-wrap {
        padding: 36px 16px 60px;
    }

    .npw-timeline::before {
        left: 0;
        display: none;
    }

    .npw-session {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 4px 0;
        padding-left: 0;
    }

    .npw-session__time {
        text-align: left;
        margin-bottom: 2px;
    }

    .npw-session__dot {
        display: none;
    }

    .npw-plenary-title {
        font-size: 1.4rem;
    }

    .npw-tab {
        padding: 10px 18px;
        font-size: 0.75rem;
    }

    .npw-speaker {
        min-width: 100%;
    }
}
