/* Global Styles */
:root {
    --primary-color: #0f172a;
    --accent-color: #dc2626;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --header-height: 70px;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: white;
}

.search-bar input {
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    outline: none;
}

/* Breaking News Ticker */
.ticker-wrap {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
}

.ticker-heading {
    background-color: #991b1b;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    font-weight: 600;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.copyright {
    color: #64748b;
    font-size: 0.8rem;
}

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

/* Article */
.article-header {
    margin-bottom: 30px;
    position: relative;
}

.category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 15px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -0.5px;
}

.chapeau {
    font-size: 1.25rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.6;
}

.meta {
    font-size: 0.85rem;
    color: #777;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.author {
    font-weight: 700;
    color: var(--primary-color);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.caption {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    display: block;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #222;
}

.article-body strong {
    font-weight: 700;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #111;
}

/* Sidebar */
.sidebar h3 {
    font-family: var(--font-heading);
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

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

.sidebar-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-list a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

.sidebar-list a:hover {
    color: var(--accent-color);
}

.ad-placeholder {
    background-color: #e2e8f0;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    margin-top: 40px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    nav {
        display: none;
    }
}


