/* ============================================
   SkyView News - Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #c0392b;
    --primary-dark: #96281b;
    --secondary: #1a1a2e;
    --accent: #e74c3c;
    --gold: #f39c12;
    --sky: #2980b9;
    --white: #ffffff;
    --light: #f8f9fa;
    --light2: #f0f2f5;
    --gray: #6c757d;
    --gray-light: #dee2e6;
    --dark: #212529;
    --text: #2c3e50;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', Arial, sans-serif;
    --font-alt: 'Oswald', sans-serif;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 6px;
    --transition: all 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }

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

/* --- TOP BAR --- */
.top-bar {
    background: var(--secondary);
    color: #ccc;
    font-size: 0.78rem;
    padding: 6px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-bar-left { display: flex; gap: 16px; }
.top-bar-right { display: flex; gap: 12px; align-items: center; }
.top-bar-right a { color: #ccc; font-size: 0.78rem; }
.top-bar-right a:hover { color: var(--white); }
.divider { color: #555; }

/* --- HEADER MAIN --- */
.header-main { background: var(--white); border-bottom: 3px solid var(--primary); padding: 16px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo-link { display: block; }
.logo-text { font-family: var(--font-alt); font-size: 2.4rem; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.logo-sky { color: var(--sky); }
.logo-view { color: var(--secondary); }
.logo-news { color: var(--primary); font-size: 1.1rem; display: block; letter-spacing: 8px; }
.logo-tagline { font-size: 0.72rem; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }

.header-search form { display: flex; border: 2px solid var(--gray-light); border-radius: 30px; overflow: hidden; }
.header-search input { border: none; outline: none; padding: 8px 16px; font-size: 0.9rem; width: 220px; font-family: var(--font-body); }
.header-search button { background: var(--primary); border: none; color: white; padding: 8px 16px; cursor: pointer; font-size: 1rem; }
.header-search button:hover { background: var(--primary-dark); }

/* --- BREAKING TICKER --- */
.breaking-ticker { background: var(--primary); color: white; padding: 8px 0; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 16px; }
.breaking-label { background: var(--secondary); color: white; padding: 2px 10px; font-size: 0.75rem; font-weight: 700; font-family: var(--font-alt); letter-spacing: 1px; white-space: nowrap; border-radius: 3px; }
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-content { display: flex; gap: 60px; animation: ticker 40s linear infinite; white-space: nowrap; }
.ticker-content span { font-size: 0.85rem; font-weight: 500; }
.ticker-content span::before { content: '◆ '; color: rgba(255,255,255,0.6); margin-right: 4px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- NAVIGATION --- */
.main-nav { background: var(--secondary); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: stretch; position: relative; }
.nav-list { display: flex; align-items: center; flex-wrap: wrap; width: 100%; }
.nav-link { display: block; padding: 14px 14px; color: #e0e0e0; font-family: var(--font-alt); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; transition: var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,0.1); }
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--secondary); min-width: 200px; box-shadow: var(--shadow-hover); border-top: 3px solid var(--primary); z-index: 200; }
.dropdown li a { display: block; padding: 10px 16px; color: #ccc; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dropdown li a:hover { color: white; background: rgba(255,255,255,0.08); padding-left: 22px; }
.has-dropdown:hover .dropdown { display: block; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 14px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: var(--transition); }

/* --- AD CONTAINERS --- */
.ad-container { padding: 12px 0; }
.ad-placeholder { background: #f0f2f5; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gray); font-size: 0.75rem; border-radius: var(--radius); }
.ad-placeholder span { padding: 4px 8px; background: rgba(0,0,0,0.05); border-radius: 3px; text-transform: uppercase; letter-spacing: 1px; }
.ad-leaderboard { min-height: 100px; width: 100%; max-width: 728px; margin: 0 auto; }
.ad-leaderboard-sm { min-height: 90px; width: 100%; max-width: 728px; margin: 0 auto; }
.ad-in-content { min-height: 280px; max-width: 336px; margin: 0 auto; }
.ad-sidebar { min-height: 250px; width: 300px; }
.ad-rect { min-height: 250px; max-width: 336px; }
.ad-header-banner { min-height: 90px; max-width: 500px; }
.ad-leaderboard-bottom { min-height: 100px; width: 100%; max-width: 728px; margin: 0 auto; }
.ad-center { display: flex; justify-content: center; }
.ad-in-article { margin: 24px 0; }

/* --- HERO SECTION --- */
.hero-section { background: white; padding: 24px 0; border-bottom: 1px solid var(--gray-light); }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
.hero-main { position: relative; }
.featured-badge { display: inline-block; background: var(--primary); color: white; font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; padding: 4px 12px; margin-bottom: 12px; font-family: var(--font-alt); text-transform: uppercase; }
.hero-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.hero-content { padding: 16px 0; }
.hero-title { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 900; line-height: 1.25; margin: 10px 0 12px; }
.hero-title a:hover { color: var(--primary); }
.hero-excerpt { color: var(--gray); font-size: 1rem; line-height: 1.6; margin-bottom: 12px; }
.meta-row { display: flex; gap: 16px; font-size: 0.82rem; color: var(--gray); flex-wrap: wrap; }
.meta-row .author strong { color: var(--secondary); }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { display: flex; gap: 12px; background: var(--light); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-light); }
.side-card img { width: 120px; height: 90px; object-fit: cover; flex-shrink: 0; }
.side-card-content { padding: 10px 12px 10px 0; flex: 1; }
.side-card-content h3 { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; line-height: 1.35; margin-top: 6px; }
.side-card-content h3 a:hover { color: var(--primary); }
.meta-mini { display: flex; gap: 8px; font-size: 0.75rem; color: var(--gray); margin-top: 6px; flex-wrap: wrap; }

/* --- CATEGORY TAGS --- */
.category-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-alt); }
.category-tag.politics { background: #e74c3c20; color: #c0392b; }
.category-tag.tech { background: #3498db20; color: #2980b9; }
.category-tag.economy, .category-tag.business { background: #27ae6020; color: #27ae60; }
.category-tag.sports { background: #f39c1220; color: #e67e22; }
.category-tag.world { background: #9b59b620; color: #8e44ad; }
.category-tag.health { background: #e74c3c20; color: #c0392b; }
.category-tag.science { background: #1abc9c20; color: #16a085; }
.category-tag.ent { background: #f1c40f20; color: #d4a017; }
.category-tag.env { background: #27ae6020; color: #27ae60; }

/* --- LATEST NEWS GRID --- */
.latest-news { padding: 32px 0; background: var(--light); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 3px solid var(--primary); padding-bottom: 10px; }
.section-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--secondary); }
.view-all { font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.view-all:hover { color: var(--primary-dark); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card-img { position: relative; }
.news-card-img img { width: 100%; height: 200px; object-fit: cover; }
.news-card-img .category-tag { position: absolute; top: 10px; left: 10px; }
.news-card-body { padding: 16px; }
.news-card-body h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.news-card-body h3 a:hover { color: var(--primary); }
.news-card-body p { font-size: 0.87rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.card-meta { display: flex; gap: 10px; font-size: 0.75rem; color: var(--gray); flex-wrap: wrap; }

/* --- CATEGORIES --- */
.categories-section { padding: 28px 0; background: white; }
.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cat-card { display: flex; flex-direction: column; align-items: center; padding: 20px 10px; border-radius: var(--radius); text-align: center; transition: var(--transition); border: 2px solid transparent; }
.cat-card:hover { transform: translateY(-4px); border-color: currentColor; }
.cat-icon { font-size: 2rem; margin-bottom: 8px; }
.cat-name { font-family: var(--font-alt); font-weight: 600; font-size: 0.85rem; color: var(--secondary); }
.cat-count { font-size: 0.7rem; color: var(--gray); margin-top: 4px; }
.cat-politics { background: #fdf2f2; } .cat-tech { background: #f0f7fd; }
.cat-world { background: #f8f3fc; } .cat-business { background: #f0faf5; }
.cat-sports { background: #fff9f0; } .cat-health { background: #fef5f5; }
.cat-science { background: #f0faf7; } .cat-ent { background: #fefef0; }

/* --- TRENDING + SIDEBAR --- */
.trending-section { padding: 32px 0; background: var(--light); }
.trending-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
.trending-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-light); align-items: flex-start; }
.trending-num { font-family: var(--font-alt); font-size: 2rem; font-weight: 700; color: var(--gray-light); line-height: 1; flex-shrink: 0; width: 40px; }
.trending-content h4 { font-family: var(--font-heading); font-size: 0.97rem; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.trending-content h4 a:hover { color: var(--primary); }
.trending-meta { display: flex; gap: 12px; font-size: 0.78rem; }
.t-cat { color: var(--primary); font-weight: 600; }
.t-time { color: var(--gray); }

/* --- SIDEBAR --- */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.sidebar-widget h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; color: var(--secondary); border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
.most-read-item { padding: 10px 0; border-bottom: 1px solid var(--light2); }
.most-read-item:last-child { border-bottom: none; }
.most-read-item h5 { font-size: 0.87rem; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.most-read-item h5 a:hover { color: var(--primary); }
.most-read-item .views { font-size: 0.75rem; color: var(--gray); }

.newsletter-widget p { font-size: 0.88rem; color: var(--gray); margin-bottom: 12px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input { border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 9px 12px; font-size: 0.88rem; font-family: var(--font-body); }
.newsletter-form button { background: var(--primary); color: white; border: none; padding: 10px; border-radius: var(--radius); font-weight: 600; cursor: pointer; font-family: var(--font-body); font-size: 0.9rem; }
.newsletter-form button:hover { background: var(--primary-dark); }

.social-links { display: flex; flex-direction: column; gap: 8px; }
.social-btn { display: block; padding: 8px 14px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; text-align: center; }
.social-btn.facebook { background: #1877f220; color: #1877f2; }
.social-btn.twitter { background: #1da1f220; color: #1da1f2; }
.social-btn.instagram { background: #e4405f20; color: #e4405f; }
.social-btn.youtube { background: #ff000020; color: #ff0000; }
.social-btn:hover { opacity: 0.8; }

/* --- STATIC PAGES --- */
.static-page { padding: 32px 0; }
.static-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.static-content { background: white; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.page-header { margin-bottom: 28px; border-bottom: 3px solid var(--primary); padding-bottom: 20px; }
.page-header h1 { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--secondary); margin: 8px 0; }
.page-header .subtitle { color: var(--gray); font-style: italic; }
.last-updated { font-size: 0.82rem; color: var(--gray); margin-top: 6px; }
.static-content h2 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; margin: 28px 0 12px; color: var(--secondary); border-left: 4px solid var(--primary); padding-left: 12px; }
.static-content h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin: 18px 0 8px; color: var(--secondary); }
.static-content p { margin-bottom: 14px; line-height: 1.75; color: var(--text); }
.static-content ul { margin: 10px 0 14px 20px; }
.static-content ul li { margin-bottom: 8px; list-style: disc; line-height: 1.6; }
.static-content a { color: var(--sky); }
.static-content a:hover { color: var(--primary); text-decoration: underline; }

.policy-intro { margin-bottom: 24px; }
.alert-box { background: #fffbf0; border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.contact-box { background: var(--light); border: 1px solid var(--gray-light); padding: 16px 20px; border-radius: var(--radius); margin-top: 12px; }

/* Values Grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 24px; }
.value-card { background: var(--light); padding: 20px; border-radius: var(--radius); text-align: center; border-top: 3px solid var(--primary); }
.value-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.value-card h3 { font-family: var(--font-heading); margin-bottom: 8px; font-size: 1rem; }
.value-card p { font-size: 0.85rem; color: var(--gray); }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.team-card { background: var(--light); padding: 20px; border-radius: var(--radius); text-align: center; }
.team-card img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; border: 3px solid var(--primary); }
.team-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; }
.team-card .role { font-size: 0.8rem; color: var(--primary); font-weight: 600; font-family: var(--font-alt); }
.team-card p { font-size: 0.82rem; color: var(--gray); margin-top: 8px; line-height: 1.5; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 16px 0; }
.stat-card { background: var(--secondary); color: white; padding: 16px 10px; border-radius: var(--radius); text-align: center; }
.stat-num { display: block; font-family: var(--font-alt); font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.stat-label { display: block; font-size: 0.72rem; margin-top: 4px; color: #ccc; }

/* Contact Form */
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.contact-info-card { background: var(--light); padding: 20px; border-radius: var(--radius); text-align: center; border-top: 3px solid var(--sky); }
.ci-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.contact-info-card h3 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p { font-size: 0.85rem; color: var(--gray); }
.contact-form-wrap { background: var(--light); padding: 24px; border-radius: var(--radius); margin-bottom: 28px; }
.contact-form-wrap h2 { font-family: var(--font-heading); margin-bottom: 20px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--secondary); }
.form-group input, .form-group select, .form-group textarea {
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition);
    color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}
.checkbox-group label { display: flex; gap: 8px; align-items: flex-start; font-size: 0.87rem; font-weight: normal; cursor: pointer; }
.required { color: var(--primary); }
.btn-submit { background: var(--primary); color: white; border: none; padding: 12px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 700; cursor: pointer; font-family: var(--font-body); transition: var(--transition); }
.btn-submit:hover { background: var(--primary-dark); }
.btn-primary { display: inline-block; background: var(--primary); color: white; padding: 10px 22px; border-radius: var(--radius); font-weight: 600; margin: 8px 0; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { display: inline-block; background: var(--secondary); color: white; padding: 10px 22px; border-radius: var(--radius); font-weight: 600; margin: 8px 0 8px 8px; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-error { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.office-info { background: var(--light); padding: 20px; border-radius: var(--radius); }

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.breadcrumb a { color: var(--sky); }
.breadcrumb a:hover { color: var(--primary); }

/* --- ARTICLE PAGE --- */
.article-page { padding: 28px 0; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.article-main { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.article-top-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 10px; }
.share-buttons { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; flex-wrap: wrap; }
.share-buttons span { color: var(--gray); }
.share-fb { background: #1877f220; color: #1877f2; padding: 4px 10px; border-radius: 3px; font-size: 0.78rem; font-weight: 600; }
.share-tw { background: #1da1f220; color: #1da1f2; padding: 4px 10px; border-radius: 3px; font-size: 0.78rem; font-weight: 600; }
.share-li { background: #0077b520; color: #0077b5; padding: 4px 10px; border-radius: 3px; font-size: 0.78rem; font-weight: 600; }
.share-copy { background: var(--light2); color: var(--gray); padding: 4px 10px; border-radius: 3px; font-size: 0.78rem; font-weight: 600; border: none; cursor: pointer; }
.article-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; line-height: 1.3; margin: 10px 0 16px; color: var(--secondary); }
.article-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--gray); margin-bottom: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--gray-light); padding-bottom: 16px; }
.article-figure { margin-bottom: 20px; }
.article-figure img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.article-figure figcaption { font-size: 0.8rem; color: var(--gray); margin-top: 8px; font-style: italic; }
.article-body { line-height: 1.85; }
.article-body h2 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; margin: 28px 0 14px; color: var(--secondary); }
.article-body p { margin-bottom: 16px; }
.article-body ul { margin: 10px 0 16px 24px; }
.article-body ul li { margin-bottom: 8px; list-style: disc; }
.article-tags { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--gray); border-top: 1px solid var(--gray-light); padding-top: 16px; }
.tag { background: var(--light2); color: var(--gray); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; }
.tag:hover { background: var(--primary); color: white; }

.author-bio-box { display: flex; gap: 16px; background: var(--light); padding: 20px; border-radius: var(--radius); margin: 20px 0; border-left: 4px solid var(--primary); }
.author-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--primary); }
.author-bio-content h4 { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.author-bio-content h3 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 6px; }
.author-bio-content p { font-size: 0.87rem; color: var(--gray); }
.corrections-note { background: #fff9e6; border: 1px solid #ffd; padding: 10px 16px; border-radius: var(--radius); font-size: 0.85rem; margin: 12px 0; }

.related-articles { margin: 24px 0; border-top: 2px solid var(--gray-light); padding-top: 20px; }
.related-articles h3 { font-family: var(--font-heading); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { background: var(--light); padding: 14px; border-radius: var(--radius); }
.related-card h4 { font-size: 0.88rem; font-weight: 700; margin: 6px 0; line-height: 1.4; }
.related-card h4 a:hover { color: var(--primary); }
.related-card .time { font-size: 0.75rem; color: var(--gray); }

.comments-section { border-top: 2px solid var(--gray-light); padding-top: 20px; margin-top: 24px; }
.comments-section h3 { font-family: var(--font-heading); margin-bottom: 12px; }
.comment-placeholder { background: var(--light); padding: 20px; border-radius: var(--radius); margin-top: 16px; }
.comment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-form textarea { width: 100%; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 10px 14px; font-family: var(--font-body); font-size: 0.9rem; }
.btn-comment { background: var(--sky); color: white; border: none; padding: 10px 22px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; cursor: pointer; margin-top: 10px; }

.article-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sticky-ad { position: sticky; top: 70px; }

/* --- FOOTER --- */
.site-footer { background: var(--secondary); color: #ccc; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; padding: 40px 0 24px; }
.footer-col h4 { font-family: var(--font-alt); font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; }
.footer-logo { font-family: var(--font-alt); font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.footer-about { font-size: 0.87rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.fsocial-btn { background: rgba(255,255,255,0.1); color: #ccc; padding: 6px 12px; border-radius: var(--radius); font-size: 0.8rem; }
.fsocial-btn:hover { background: var(--primary); color: white; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { color: #bbb; font-size: 0.87rem; transition: var(--transition); }
.footer-links li a:hover { color: white; padding-left: 4px; }
.footer-contact { margin-top: 20px; }
.footer-contact p { font-size: 0.84rem; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.copyright { font-size: 0.82rem; color: #aaa; }
.copyright a { color: #ccc; }
.copyright a:hover { color: white; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #aaa; font-size: 0.8rem; }
.footer-bottom-links a:hover { color: white; }

/* --- COOKIE BANNER --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--secondary); color: white; padding: 16px 20px; z-index: 9999; border-top: 3px solid var(--primary); }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-content p { font-size: 0.87rem; color: #ccc; flex: 1; min-width: 260px; }
.cookie-content a { color: var(--gold); }
.cookie-buttons { display: flex; gap: 10px; }
.btn-cookie-accept { background: var(--primary); color: white; border: none; padding: 10px 22px; border-radius: var(--radius); font-weight: 700; cursor: pointer; font-size: 0.9rem; }
.btn-cookie-reject { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 10px 22px; border-radius: var(--radius); cursor: pointer; font-size: 0.9rem; }
.cookie-banner.hidden { display: none; }

/* --- SIDEBAR STATIC --- */
.static-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }
.static-sidebar .sidebar-widget { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.static-sidebar .sidebar-widget h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; margin-bottom: 12px; border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
.ad-widget { display: flex; justify-content: center; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-side { flex-direction: row; }
    .side-card { flex: 1; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .trending-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { flex-direction: column; align-items: stretch; gap: 12px; }
    .header-ad { display: none; }
    .hamburger { display: flex; }
    .nav-list { display: none; flex-direction: column; }
    .nav-list.open { display: flex; }
    .has-dropdown .dropdown { display: none !important; position: static; box-shadow: none; }
    .news-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .static-layout { grid-template-columns: 1fr; }
    .static-sidebar { display: none; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-title { font-size: 1.5rem; }
    .article-figure img { height: 250px; }
    .hero-side { flex-direction: column; }
    .contact-info-grid { grid-template-columns: 1fr 1fr; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .top-bar-right { display: none; }
}

@media (max-width: 480px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .cookie-content { flex-direction: column; }
}

/* Print Styles */
@media print {
    .main-nav, .breaking-ticker, .top-bar, .ad-container, .ad-widget, .cookie-banner, .share-buttons, .related-articles, .comments-section, .sidebar, .site-footer { display: none !important; }
    .article-layout { grid-template-columns: 1fr; }
    .article-main { box-shadow: none; padding: 0; }
}
