:root {
    --cnn-red: #cc0000;
    --cnn-black: #000000;
    --cnn-grey: #262626;
    --cnn-light-grey: #f2f2f2;
    --cnn-text: #333333;
    --cnn-border: #e6e6e6;
    --premium-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--cnn-text);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Nav */
header {
    background: #fff;
    border-bottom: 4px solid var(--cnn-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    background: var(--cnn-red);
    color: #fff;
    font-weight: 900;
    font-size: 28px;
    padding: 5px 15px;
    margin-right: 30px;
    letter-spacing: -1px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--cnn-black);
}

.nav-links a:hover {
    color: var(--cnn-red);
}

/* Breaking Ticker */
.ticker-wrap {
    background: var(--cnn-black);
    color: #fff;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-label {
    background: var(--cnn-red);
    padding: 0 20px;
    font-weight: 900;
    font-size: 12px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    padding-left: 20px;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-item {
    padding-right: 50px;
    font-size: 14px;
    font-weight: 500;
}

/* Hero Section */
.container {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.main-feature {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--premium-shadow);
}

.main-feature img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.main-feature:hover img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 40px;
    color: #fff;
}

.feature-category {
    background: var(--cnn-red);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.feature-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

/* Sidebar List */
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-article {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cnn-border);
}

.side-article img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.side-article h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.side-article h3:hover {
    color: var(--cnn-red);
}

/* News Feed Grid */
.news-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--cnn-border);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-meta {
    font-size: 12px;
    font-weight: 700;
    color: var(--cnn-red);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-card h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-card p {
    font-size: 14px;
    color: #666;
}

/* Article Page */
.article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cnn-border);
}

.article-content img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}

.article-text {
    font-size: 18px;
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--cnn-black);
    color: #fff;
    padding: 60px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    background: var(--cnn-red);
    color: #fff;
    font-weight: 900;
    font-size: 40px;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 20px;
}

.footer-section h4 {
    border-bottom: 2px solid var(--cnn-red);
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--cnn-red);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .feature-title {
        font-size: 28px;
    }
    .article-header h1 {
        font-size: 32px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}
