/* ===== SPEAKERS ===== */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.speaker-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
    position: relative;
}

/* Country flag badge - inline after name */
.country-flag-badge {
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
    margin-left: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4));
}

.speaker-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.speaker-photo-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .1);
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-photo-wrap .initial {
    font-size: 36px;
    font-weight: 800;
    color: var(--fg-dim);
}

.speaker-company {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2px;
}

.speaker-title {
    font-size: 11px;
    color: var(--fg-muted);
    margin-bottom: 4px;
}

.speaker-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.speaker-bio {
    font-size: 12px;
    color: var(--fg-muted);
    line-height: 1.6;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* speaker-message removed — space reallocated to speaker-bio */

.speaker-hp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--fg-muted);
    text-decoration: none;
    transition: all .2s;
}

.speaker-hp:hover {
    border-color: var(--border-light);
    color: var(--fg);
}

/* ===== COMMENTATORS / FACILITATORS side-by-side ===== */
.commentators-facilitators-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.commentators-facilitators-row .content-section {
    margin-bottom: 0;
}

.commentators-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.commentator-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}

.commentator-card.coming-soon-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    color: var(--fg-muted);
    font-size: 13px;
    font-style: italic;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.commentator-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--fg-dim);
}

.commentator-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.commentator-company {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
}

.commentator-title {
    font-size: 10px;
    color: var(--fg-muted);
}

.commentator-name {
    font-size: 15px;
    font-weight: 700;
    margin: 2px 0 6px;
}

.commentator-bio {
    font-size: 11px;
    color: var(--fg-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== EVENT DETAILS ===== */
.event-desc-text {
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.recommend-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.recommend-list {
    list-style: none;
    padding: 0;
}

.recommend-list li {
    font-size: 13px;
    color: var(--fg-muted);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.recommend-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.tag {
    padding: 5px 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--fg-muted);
}

/* ===== TIMETABLE ===== */
.timetable {
    position: relative;
    padding-left: 24px;
}

.timetable::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--fg-dim));
    border-radius: 2px;
}

.tt-entry {
    position: relative;
    padding: 10px 0;
}

.tt-entry::before {
    content: '';
    position: absolute;
    left: -19px;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-section);
}

.tt-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2px;
}

.tt-desc {
    font-size: 14px;
    font-weight: 500;
}

/* ===== SPONSORS ===== */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sponsor-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
    transition: all .2s;
    min-height: 80px;
    text-align: center;
}

.sponsor-chip:hover {
    border-color: var(--border-light);
    background: rgba(255, 255, 255, .06);
}

.sponsor-chip img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

/* ===== FOOTER ===== */
.footer {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 32px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 11px;
    color: var(--fg-dim);
}

.footer-copy a {
    color: var(--fg-muted);
    text-decoration: none;
}

/* ===== LOADING ===== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    flex-direction: column;
    gap: 16px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .sidebar {
        position: static;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 80px 20px 32px;
    }

    .navbar {
        padding: 0 16px;
    }

    .navbar-links a:not(.navbar-cta):not(.lang-switch) {
        display: none;
    }

    .event-meta {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .commentators-grid {
        /* already column layout */
    }

    .commentators-facilitators-row {
        grid-template-columns: 1fr;
    }

    .countdown-item {
        width: 60px;
    }

    .countdown-num {
        font-size: 24px;
    }
}
