:root {
    /* Brand Colors - Trusted News Theme */
    --primary-color: #1a365d;
    /* Deep Royal Blue */
    --secondary-color: #2b6cb0;
    /* Trusted Blue */
    --accent-color: #c53030;
    /* Urgent Red for important elements */

    /* Neutral Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --bg-body: #f7fafc;
    --bg-white: #ffffff;
    --border-subtle: #e2e8f0;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Merriweather', serif;
    /* Serif for better readability of long text */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 70px;
    --radius-sm: 4px;
    --radius-md: 8px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.navbar,
.btn-contact,
.category-badge,
.hero-meta,
footer {
    font-family: var(--font-heading);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.btn-contact {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: var(--radius-sm);
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contact:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: white;
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--bg-body);
    transform: skewY(-1deg);
}

.category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.meta-item i {
    margin-right: 6px;
}

/* Main Content Layout */
.content-wrapper {
    display: flex;
    gap: 40px;
    margin-top: -40px;
    /* Overlap effect */
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px 80px;
}

.main-article {
    flex: 2;
    background: var(--bg-white);
    padding: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.sidebar {
    flex: 1;
    max-width: 350px;
}

/* Article Styles */
.featured-image {
    width: 100%;
    height: 400px;
    position: relative;
}

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

.featured-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
}

.article-body {
    padding: 40px;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.content-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 32px 0;
    width: 100px;
}

.article-body h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 40px 0 20px;
    font-weight: 700;
}

.article-body p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Info Box */
.info-box {
    background: #ebf8ff;
    border-left: 4px solid #4299e1;
    padding: 24px;
    border-radius: 4px;
    margin: 40px 0;
}

.info-box h3 {
    margin-bottom: 12px;
    color: #2b6cb0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #2c5282;
}

/* Sidebar & Widgets */
.sidebar-widget {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    border-top: 4px solid var(--secondary-color);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.related-posts {
    list-style: none;
}

.related-posts li {
    margin-bottom: 16px;
}

.related-posts a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    display: block;
    line-height: 1.4;
}

.related-posts a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: #cbd5e0;
    padding-top: 60px;
    font-size: 0.95rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 300px;
    opacity: 0.8;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

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

/* Warning Banner */
.legal-warning-banner {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-top: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 48, 48, 0.3);
}

.warning-content h4 {
    color: #fc8181;
    margin-bottom: 12px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.warning-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
    font-style: italic;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        margin-top: 0;
        padding-top: 40px;
    }

    .sidebar {
        max-width: 100%;
        order: 2;
    }

    .main-article {
        order: 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 10px 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .mobile-menu-icon {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-menu-icon span {
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        transition: all 0.3s;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        margin-top: 10px;
        border-top: 1px solid var(--border-subtle);
    }

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

    .navbar .container {
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 12px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}