
:root {
    --primary-accent: #059669; /* Green */
    --secondary-accent: #dc2626; /* Red */
    --culture-accent: #7e22ce; /* Purple for Culture */
    --text-primary: #0f172a; /* Dark Blue/Black */
    --text-secondary: #475569; /* Slate Gray */
    --bg-light: #f8fafc; /* Very Light Gray */
    --border-color: #e2e8f0; /* Light border */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* --- Header Styles (Simplified) --- */
.header-container {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Top Bar: Logo Only */
.header-top {
    /*padding: 1.25rem 0;*/
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-primary) !important;
    letter-spacing: -1.5px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.navbar-brand span {
    color: var(--primary-accent);
}

/* Navigation Bar: Main Links */
.header-nav {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 0.75rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 70%;
}

/* Mobile Navbar Toggle */
@media (max-width: 991px) {
    .header-nav {
        border-top: 1px solid var(--border-color);
        border-bottom: none;
    }
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Breaking News Ticker */
.breaking-news {
    background: var(--secondary-accent);
    color: white;
    padding: 0.5rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.breaking-label {
    background: rgba(0,0,0,0.2);
    padding: 0.25rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-content {
    /* **UPDATED: Slower and smoother scroll** */
    animation: scroll 45s linear infinite;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- Hero Section Styles --- */
.hero-section {
    padding: 3rem 0;
    background: #ffffff;
}

.hero-featured-card {
    position: relative;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hero-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.hero-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-featured-card:hover img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
    padding: 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-category {
    display: inline-block;
    background: var(--primary-accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -1.5px;
}

.hero-excerpt {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
}

.hero-side-story {
    position: relative;
    height: 130px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.hero-side-story:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-accent);
}

.hero-side-story-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.hero-side-story-content img {
    width: 120px;
    min-width: 120px;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.hero-side-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.hero-side-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-accent);
    text-transform: uppercase;
}

/* --- Section Headers & News Cards --- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-accent);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    color: var(--text-primary);
}

.view-all {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    border-color: var(--primary-accent);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-accent);
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
    flex-grow: 1;
}

.news-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: var(--primary-accent);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: auto;
}

.news-meta i {
    color: var(--primary-accent);
}

/* Featured Section Card */
.featured-card {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.featured-excerpt {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* --- Footer Styles --- */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
}

.footer-brand {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a1a1aa; /* Fixed for visibility */
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Spacing utilities */
.section-spacing {
    padding: 3rem 0;
}
