:root {
    --primary-color: #f7941d;
    --accent-red: #c8102e;
    --text-dark: #212121;
    --text-muted: #555;
    --bg-light: #f9f9f9;
    --border-color: #eaeaea;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--accent-red);
}

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: var(--font-serif);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    font-size: 15px;
    font-weight: 600;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.live-btn {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.signup-btn {
    background-color: black;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.signup-btn:hover {
    background-color: #333;
}

/* Breaking Banner */
.breaking-banner {
    background-color: var(--accent-red);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 14px;
}

.banner-content {
    max-width: 1200px;
    width: 100%;
    text-align: left;
}

.breaking-label {
    font-weight: 700;
}

.divider {
    margin: 0 10px;
}

.close-btn {
    background: none;
    border: 1px solid white;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

/* Trending Bar */
.trending-bar {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 13px;
}

.trending-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.trending-label {
    font-weight: 700;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
    margin-bottom: -11px;
}

.trending-links {
    list-style: none;
    display: flex;
    gap: 20px;
    color: var(--text-muted);
}

.trending-links a:hover {
    color: black;
}

/* Main Content Grid */
.main-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 30px;
}

/* Typography Overrides for Headers */
h2, h3, h4 {
    font-weight: 500;
    line-height: 1.3;
}

/* Left Column */
.featured-article {
    position: relative;
    margin-bottom: 30px;
}

.featured-image {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-red);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
}

.featured-content {
    background-color: var(--accent-red);
    color: white;
    padding: 20px;
}

.featured-content .category {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

.featured-content h2 {
    font-size: 32px;
    font-weight: 700;
}

.live-updates {
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
}

.live-updates-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.recording-icon {
    width: 12px;
    height: 12px;
    background-color: white;
    border: 3px solid var(--accent-red);
    border-radius: 50%;
    display: inline-block;
}

.updates-list {
    list-style: none;
}

.updates-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    align-items: flex-start;
}

.updates-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.updates-list .time {
    color: var(--text-muted);
    white-space: nowrap;
}

/* Middle Column */
.middle-featured {
    margin-bottom: 20px;
}

.middle-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.middle-featured h2 {
    font-size: 26px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
}

.news-item.text-only {
    display: block;
}

.news-item h3 {
    font-size: 15px;
}

.news-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.bottom-news {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.bottom-news h2 {
    font-size: 20px;
}

.bottom-thumb {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* Right Column */
.sidebar-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 13px;
    color: var(--primary-color);
    text-transform: uppercase;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 15px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-text h4 {
    font-size: 14px;
}

.sidebar-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.opinion-item {
    display: flex;
    align-items: flex-start !important;
    gap: 15px;
}

.author-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr 1fr;
    }
    .col-right {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .main-container {
        grid-template-columns: 1fr;
    }
    .col-right {
        grid-column: span 1;
    }
    .trending-container {
        overflow-x: auto;
    }
    .breaking-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .close-btn {
        top: 10px;
        right: 10px;
    }
}
