/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c8102e;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
.header {
    border-bottom: 3px solid var(--primary-color);
}

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-date {
    font-weight: 600;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.header-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.header-main {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 16px;
    font-style: italic;
    color: var(--text-light);
    font-weight: 300;
}

/* Navigation */
.nav {
    background-color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-list a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-list a:hover,
.nav-list a.active {
    background-color: rgba(0,0,0,0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Main Content */
.main {
    padding: 40px 0;
}

/* Featured Article */
.featured-section {
    margin-bottom: 60px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.featured-article:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.featured-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.article-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.article-excerpt {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* News Section */
.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
    color: var(--primary-color);
}

.news-section {
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.news-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin: 10px 0;
    color: var(--primary-color);
}

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

/* Opinion Section */
.opinion-section {
    margin-bottom: 60px;
}

.opinion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.opinion-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.opinion-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 12px;
    color: var(--text-light);
}

.opinion-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.opinion-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 14px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        gap: 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-content h2 {
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .opinion-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 28px;
    }

    .header-main {
        padding: 20px 0;
    }

    .main {
        padding: 20px 0;
    }

    .featured-section {
        margin-bottom: 30px;
    }

    .news-section,
    .opinion-section {
        margin-bottom: 30px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card,
.opinion-card,
.featured-article {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .header-top,
    .nav,
    .footer {
        display: none;
    }

    .main {
        padding: 0;
    }

    .news-card,
    .opinion-card {
        break-inside: avoid;
    }
}