/* program.css - Minimalist Modern Redesign (FIXED) */

/* Variables */
:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --border-color: #30363d;
    --primary: #3899FC;
    --accent: #FF0033;
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    --radius: 12px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header & Titles */
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Clean Tab Navigation */
.filter-box {
    margin: 40px auto;
    max-width: 500px;
}

.day-pills {
    display: flex;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 4px;
    position: relative;
}

.day-pill {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    color: var(--text-main);
}

.day-pill.active {
    background: #21262d;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.day-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.day-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.day-pill.active .day-date {
    color: var(--text-main);
}

/* Vertical Timeline Layout */
.program-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    padding-left: 40px;
}

/* Simple Vertical Line */
.timeline-line {
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}

/* Cards - Minimal & Clean */
.clone-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, border-color 0.2s ease;
    width: 100%;
}

.clone-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Timeline Dot */
.clone-card::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--bg-color);
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

/* Card Typography */
.card-time {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    background: rgba(56, 153, 252, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tags */
.card-tags {
    margin-bottom: 20px;
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #21262d !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-color);
}

/* Speaker Section */
.card-speaker-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* VERTICAL LIST CONTAINER */
.speaker-list-vertical {
    display: block !important;
    width: 100%;
    margin-top: 10px;
}

/* Speaker Labels */
.speaker-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin: 10px 0 12px 0;
    display: block;
}

/* SPEAKER CARD - FORCE VERTICAL STACKING */
.speaker-info {
    display: block !important;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0 !important;
}

.speaker-info:last-child {
    border-bottom: none;
}

/* Avatar - Centered and Larger */
.speaker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    background-color: #0b0f14;
    margin: 0 auto 15px auto;
    display: block;
}

/* Speaker Details - Centered Text */
.speaker-details {
    text-align: center;
    width: 100%;
}

.speaker-details h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.speaker-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Signing Logos */
.signing-logos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.signing-logos div {
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    display: flex;
    justify-content: center;
}

.signing-logos img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: 0.3s ease;
}

.signing-logos:hover img {
    filter: none;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .program-timeline {
        padding-left: 30px;
        padding-right: 15px;
    }

    .timeline-line {
        left: 10px;
    }

    .clone-card::before {
        left: -26px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .speaker-avatar {
        width: 70px;
        height: 70px;
    }
}