/* CNN-Style Country News Detail Page - Gold Theme */

/* Category Navigation */
.category-nav {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, rgba(15, 15, 15, 0.95) 100%);
}

.category-tab {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #9ca3af;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.category-tab.active {
    color: #cbb37a;
    border-bottom-color: #cbb37a;
    font-weight: 600;
}

/* Featured Article Card */
.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background: #111;
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
}

.featured-image-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.featured-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #cbb37a;
    color: #070707;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Slide indicators */
.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: #cbb37a;
    transform: scale(1.2);
}

.slide-dot:hover {
    background: rgba(203, 179, 122, 0.6);
}

/* Fade transition for auto-slide */
.featured-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-snippet {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

/* Top Stories Sidebar */
.top-stories-header {
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, #cbb37a 0%, #9a8553 100%);
    margin-bottom: 0;
}

.top-stories-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #070707;
}

.top-stories-list {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

.top-story-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    text-decoration: none;
}

.top-story-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.top-story-item:last-child {
    border-bottom: none;
}

.top-story-number {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(203, 179, 122, 0.2);
    color: #cbb37a;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.25rem;
}

.top-story-content {
    flex: 1;
    min-width: 0;
}

.top-story-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.top-story-meta {
    font-size: 0.6875rem;
    color: #6b7280;
}

/* News Grid */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem;
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* News Card */
.news-card {
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.375rem;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.news-card:hover {
    border-color: rgba(203, 179, 122, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.news-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1a1a;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}

.news-card-placeholder svg {
    width: 3rem;
    height: 3rem;
    color: #333;
}

.news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.news-card-source {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #cbb37a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.news-card-title {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.news-card-time {
    font-size: 0.6875rem;
    color: #6b7280;
}

/* Text-only news cards (legal-safe: no images) */
.news-card-text-only {
    min-height: auto;
}

.news-card-text-only .news-card-body {
    padding: 1.25rem;
    border-left: 3px solid var(--accent-primary, #3b82f6);
}

/* Scrollbar hide utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .featured-title {
        font-size: 1.25rem;
    }

    .featured-content {
        padding: 1rem;
    }
}

/* ========== Breaking News Slider ========== */
#breaking-news-slider {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    border: 1px solid rgba(203, 179, 122, 0.2);
    min-height: 320px;
}

.breaking-news-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.breaking-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(204, 0, 0, 0.3);
}

.breaking-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.slider-indicators {
    display: flex;
    gap: 0.5rem;
}

.slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: #cbb37a;
    transform: scale(1.2);
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.slider-slide a {
    display: block;
    height: 100%;
}

.slide-image-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-slide:hover .slide-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.95) 100%);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.slide-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 0.625rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.slide-source {
    color: #cbb37a;
    font-weight: 600;
}

.slide-time {
    color: #9ca3af;
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

#breaking-news-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(203, 179, 122, 0.3);
    border-color: #cbb37a;
}

.slider-prev {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

/* Progress bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #cbb37a;
    animation: progress 5s linear infinite;
}

@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ========== PAGINATION ========== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(203, 179, 122, 0.15);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(203, 179, 122, 0.1);
    border: 1px solid rgba(203, 179, 122, 0.3);
    border-radius: 8px;
    color: #cbb37a;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(203, 179, 122, 0.2);
    border-color: #cbb37a;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn svg {
    stroke: currentColor;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-page {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-page:hover {
    background: rgba(203, 179, 122, 0.15);
    border-color: rgba(203, 179, 122, 0.4);
    color: #cbb37a;
}

.pagination-page.active {
    background: linear-gradient(135deg, #cbb37a 0%, #a08c5a 100%);
    border-color: #cbb37a;
    color: #0a0a0a;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(203, 179, 122, 0.3);
}

.pagination-ellipsis {
    padding: 0 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .pagination-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .pagination-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .pagination-page {
        min-width: 36px;
        height: 36px;
        font-size: 0.8125rem;
    }
}

/* ========== YOUTUBE BROADCASTER SECTION ========== */
.youtube-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.youtube-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #cbb37a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.broadcaster-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.broadcaster-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.broadcaster-btn:hover {
    background: rgba(203, 179, 122, 0.15);
    border-color: rgba(203, 179, 122, 0.4);
    color: #cbb37a;
}

.broadcaster-btn.active {
    background: linear-gradient(135deg, #cbb37a 0%, #a08c5a 100%);
    border-color: #cbb37a;
    color: #0a0a0a;
    font-weight: 600;
}

.youtube-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(203, 179, 122, 0.2);
}

.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: #cbb37a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.youtube-channel-link:hover {
    color: #fff;
}

.youtube-empty {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem;
}

/* ========== INTERACTIVE TRAVEL MAP ========== */
.travel-map-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    min-height: 520px;
}

@media (max-width: 1024px) {
    .travel-map-layout {
        grid-template-columns: 1fr;
    }
}

.travel-map-left {
    position: relative;
}

.travel-map-container {
    width: 100%;
    height: 520px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background: #0f0f10;
}

.travel-map-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Search Box */
.region-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.region-search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #6b7280;
    pointer-events: none;
}

.region-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 0.875rem;
    font-family: 'Manrope', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}

.region-search-input::placeholder {
    color: #4b5563;
}

.region-search-input:focus {
    border-color: rgba(203, 179, 122, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(203, 179, 122, 0.1);
}

/* Search Results Dropdown */
.region-search-results {
    background: rgba(17, 17, 17, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.region-search-item {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.region-search-item:last-child {
    border-bottom: none;
}

.region-search-item:hover {
    background: rgba(203, 179, 122, 0.1);
    color: #cbb37a;
}

/* Region Info Panel */
.region-info-panel {
    flex: 1;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.region-info-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    text-align: center;
}

.region-info-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #cbb37a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(203, 179, 122, 0.2);
}

.region-info-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.region-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.region-info-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.region-info-value {
    font-size: 0.875rem;
    color: #e5e7eb;
    font-weight: 500;
}

/* ========== NEWS TIMELINE (v2 — Vertical Single-Column) ========== */

/* Empty state */
.timeline-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.timeline-empty h3 {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.timeline-empty p {
    font-size: 0.875rem;
}

.timeline-empty svg {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: #4b5563;
}

/* Container */
.tl-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

/* Header */
.tl-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.75rem 2rem;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(203, 179, 122, 0.15);
    border-radius: 14px;
    backdrop-filter: blur(15px);
}

.tl-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.timeline-impact-badge {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 3px;
}

.impact-critical {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.impact-high {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0a0a0a;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.impact-medium {
    background: rgba(203, 179, 122, 0.25);
    color: #cbb37a;
    border: 1px solid rgba(203, 179, 122, 0.3);
}

.timeline-category-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.tl-event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.625rem;
    line-height: 1.3;
}

.tl-event-summary {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #9ca3af;
    margin: 0 0 0.875rem;
}

.tl-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Track */
.tl-track {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Node — 3-column grid: date | dot | content */
.tl-node {
    display: grid;
    grid-template-columns: 90px 40px 1fr;
    gap: 0 1rem;
    opacity: 0;
    animation: tlFadeIn 0.5s ease forwards;
}

@keyframes tlFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Date column */
.tl-date-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 0.25rem;
}

.tl-date {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #9ca3af;
    font-family: 'Manrope', monospace;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Dot column */
.tl-dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tl-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f10;
    border: 2px solid #6b7280;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.tl-dot-emoji {
    font-size: 0.75rem;
    line-height: 1;
}

.tl-node:hover .tl-dot {
    transform: scale(1.15);
}

/* Connector line */
.tl-connector {
    width: 2px;
    flex: 1;
    min-height: 24px;
    background: linear-gradient(180deg,
        rgba(203, 179, 122, 0.4) 0%,
        rgba(203, 179, 122, 0.1) 100%);
    z-index: 1;
}

/* Content column */
.tl-content-col {
    padding-bottom: 2rem;
}

.tl-type-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.tl-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.375rem;
    line-height: 1.4;
}

.tl-desc {
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.tl-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #cbb37a;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.tl-link:hover {
    color: #fff;
}

.tl-link svg {
    flex-shrink: 0;
}

/* Last node — no bottom padding or connector */
.tl-node:last-child .tl-content-col {
    padding-bottom: 0;
}

/* Hover effect for card area */
.tl-node:hover .tl-content-col {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin: -0.5rem;
    padding: 0.5rem;
    padding-bottom: 1.5rem;
}

.tl-node:last-child:hover .tl-content-col {
    padding-bottom: 0.5rem;
}

/* ========== Mobile responsive ========== */
@media (max-width: 640px) {
    .tl-node {
        grid-template-columns: 70px 28px 1fr;
        gap: 0 0.625rem;
    }

    .tl-date {
        font-size: 0.6875rem;
    }

    .tl-dot {
        width: 26px;
        height: 26px;
    }

    .tl-dot-emoji {
        font-size: 0.625rem;
    }

    .tl-title {
        font-size: 0.875rem;
    }

    .tl-desc {
        font-size: 0.75rem;
    }

    .tl-event-title {
        font-size: 1.25rem;
    }

    .tl-container {
        padding: 1rem 0 2rem;
    }

    .tl-content-col {
        padding-bottom: 1.5rem;
    }
}