:root {
    --primary-color: #1a365d; /* Dark Blue */
    --secondary-color: #c53030; /* News Red */
    --background-color: #f7fafc;
    --text-color: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 5px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.logo-container {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -1px;
}

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

/* Navigation */
nav {
    background-color: var(--white);
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li a {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-color);
}

.nav-links li a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Main Content Grid */
main {
    margin-top: 30px;
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Featured Article */
.featured-article {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.featured-article img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-content {
    padding: 25px;
}

.category {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.featured-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Recent News Grid */
.recent-news {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 15px;
}

.news-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 10px 0;
    line-height: 1.3;
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.trending-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.trending-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--border-color);
    margin-right: 15px;
    font-family: var(--font-heading);
}

.trending-list h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .recent-news {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-wrap: wrap;
    }
}

/* Internal Pages */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.page-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    margin-bottom: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #9b2c2c;
}

/* Article Page */
.article-header {
    max-width: 800px;
    margin: 0 auto 30px;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 15px 0;
}

.article-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-family: var(--font-heading);
    margin: 30px 0 15px;
    color: var(--primary-color);
}
