/* ================================================
   HABER MERKEZİ - Yozgat Çamlık Tarzı Tema
   3 Sütunlu Layout, Modern Tasarım
   ================================================ */

:root {
    /* Ana Renkler */
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --secondary: #e53935;
    --accent: #ff6f00;

    /* Kategori Renkleri */
    --cat-gundem: #1a73e8;
    --cat-eco: #00897b;
    --cat-sport: #e53935;
    --cat-tech: #7b1fa2;
    --cat-world: #f57c00;
    --cat-health: #00acc1;
    --cat-edu: #43a047;
    --cat-life: #d81b60;

    /* Nötr Renkler - Light Mode */
    --bg-main: #f5f5f5;
    --bg-card: #ffffff;
    --bg-dark: #1a1a1a;
    --text-primary: #212121;
    --text-secondary: #616161;
    --text-muted: #9e9e9e;
    --border-color: #e0e0e0;

    /* Font */
    --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition: all 0.2s ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-main: #121212;
    --bg-card: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #757575;
    --border-color: #333333;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-main);
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #a0a0a0;
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
}

.top-date i {
    color: var(--primary);
}

.top-breaking {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breaking-label {
    background: linear-gradient(135deg, #e53935, #c62828);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse-label 2s infinite;
}

@keyframes pulse-label {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.breaking-ticker {
    max-width: 500px;
    overflow: hidden;
    position: relative;
    height: 20px;
}

.breaking-ticker .ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    color: #ccc;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.breaking-ticker .ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.breaking-ticker .ticker-item:hover {
    color: #fff;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-links a {
    color: #888;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.top-links a:hover {
    color: #fff;
}

.top-links a i {
    font-size: 11px;
}

.theme-toggle {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 992px) {
    .top-breaking {
        display: none;
    }
}

@media (max-width: 576px) {
    .top-links a span {
        display: none;
    }
}

/* ==================== CURRENCY BAR ==================== */
.currency-bar {
    background: linear-gradient(135deg, var(--primary) 0%, #1557b0 100%);
    color: #fff;
    padding: 12px 0;
    font-size: 13px;
}

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

.currency-ticker {
    display: flex;
    gap: 30px;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.currency-item i {
    font-size: 14px;
    opacity: 0.7;
}

.currency-name {
    font-weight: 600;
    font-size: 11px;
    opacity: 0.8;
}

.currency-value {
    font-weight: 800;
    font-size: 14px;
}

.currency-weather {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.currency-weather i {
    font-size: 16px;
}

.weather-mini-temp {
    font-weight: 700;
}

@media (max-width: 768px) {
    .currency-ticker {
        gap: 15px;
    }

    .currency-name {
        display: none;
    }

    .currency-weather span {
        display: none;
    }
}

/* ==================== HEADER ==================== */
.main-header {
    background: var(--bg-card);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), #1557b0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-slogan {
    font-size: 11px;
    color: var(--primary);
    font-weight: 500;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 30px;
}

.header-ad {
    max-width: 728px;
    width: 100%;
}

.ad-placeholder {
    display: block;
    background: linear-gradient(135deg, var(--bg-main), var(--border-color));
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 25px 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-socials {
    display: flex;
    gap: 6px;
}

.header-socials a {
    width: 36px;
    height: 36px;
    background: var(--bg-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s;
}

.header-socials a:hover {
    transform: translateY(-2px);
}

.header-socials a:nth-child(1):hover {
    background: #1877f2;
    color: #fff;
}

.header-socials a:nth-child(2):hover {
    background: #000;
    color: #fff;
}

.header-socials a:nth-child(3):hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #fff;
}

.header-socials a:nth-child(4):hover {
    background: #ff0000;
    color: #fff;
}

.search-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), #1557b0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    background: var(--bg-main);
    border-radius: 8px;
    font-size: 20px;
    color: var(--text-primary);
}

@media (max-width: 992px) {

    .header-center,
    .header-socials {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .logo-slogan {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-title {
        font-size: 16px;
    }
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 20px;
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    transition: var(--transition);
}

.search-modal.active {
    transform: translateY(0);
}

.search-modal-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-modal input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-main);
    color: var(--text-primary);
}

.search-modal button {
    padding: 12px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
}

.close-search {
    background: var(--secondary) !important;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    background: linear-gradient(135deg, var(--primary), #1557b0);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
}

.nav-menu li a:hover,
.nav-menu li.active a {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.nav-menu li a i {
    font-size: 13px;
    opacity: 0.8;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
}

.nav-location i {
    color: #ff6b6b;
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 9999;
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu li a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding: 20px 0 40px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 20px;
}

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr 280px;
    }

    .left-sidebar {
        display: none;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .right-sidebar {
        display: none;
    }
}

/* ==================== SIDEBAR BOXES ==================== */
.sidebar-box {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.box-title {
    background: var(--primary);
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-title i {
    font-size: 16px;
}

/* Popular Box - En Çok Okunanlar */
.popular-box {
    border: 2px solid #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, var(--bg-card) 100%);
}

.popular-box .box-title {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.popular-box .box-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.popular-box .box-title i {
    color: #1a1a1a;
}

/* Son Dakika - Dikkat Çekici Tasarım */
.son-dakika-box {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.03) 0%, var(--bg-card) 100%);
}

.son-dakika-box .box-title {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    position: relative;
    overflow: hidden;
}

.son-dakika-box .box-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.son-dakika-box .box-title i {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.son-dakika-list {
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
}

.son-dakika-list::-webkit-scrollbar {
    width: 4px;
}

.son-dakika-list::-webkit-scrollbar-track {
    background: var(--bg-main);
}

.son-dakika-list::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 2px;
}

.son-dakika-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
}

.son-dakika-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--secondary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.son-dakika-list li:hover {
    background: rgba(229, 57, 53, 0.05);
    padding-left: 20px;
}

.son-dakika-list li:hover::before {
    transform: scaleY(1);
}

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

.sd-time {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e53935, #c62828);
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 42px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3);
}

.son-dakika-list li:first-child .sd-time {
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.son-dakika-list a {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 500;
    transition: color 0.2s;
}

.son-dakika-list a:hover {
    color: var(--secondary);
}

/* Popular List - En Çok Okunanlar */
.popular-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.popular-list li {
    margin-bottom: 0;
}

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

/* Ana link - TÜM SATIR TIKLANIR */
.popular-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin: 0 -15px;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
}

.popular-item:hover {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(26, 115, 232, 0.03));
    transform: translateX(5px);
}

/* Sıra numarası */
.pop-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #1557b0);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* Altın - 1. sıra */
.popular-list li:nth-child(1) .pop-num {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    animation: goldGlow 2s ease-in-out infinite;
}

@keyframes goldGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.8);
    }
}

/* Gümüş - 2. sıra */
.popular-list li:nth-child(2) .pop-num {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.5);
}

/* Bronz - 3. sıra */
.popular-list li:nth-child(3) .pop-num {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    box-shadow: 0 4px 12px rgba(205, 127, 50, 0.5);
}

/* 4 ve 5 için */
.popular-list li:nth-child(n+4) .pop-num {
    background: linear-gradient(135deg, #607d8b, #455a64);
    width: 32px;
    height: 32px;
    font-size: 12px;
}

/* İçerik alanı */
.pop-content {
    flex: 1;
    min-width: 0;
    padding-left: 12px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.popular-item:hover .pop-content {
    border-left-color: #FFD700;
    padding-left: 15px;
}

/* Başlık */
.pop-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
    display: block;
    transition: color 0.2s;
    margin-bottom: 6px;
}

.popular-item:hover .pop-title {
    color: #FFA500;
}

/* İlk haber özel */
.popular-list li:first-child .pop-title {
    font-weight: 700;
    font-size: 15px;
}

.popular-list li:first-child .pop-content {
    border-left-color: #FFD700;
}

/* Görüntülenme sayısı */
.pop-views {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.pop-views i {
    font-size: 11px;
    color: #FFA500;
}

/* ==================== WEATHER BOX ==================== */
.weather-box {
    border: 2px solid #00bcd4;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, var(--bg-card) 100%);
}

.weather-box .box-title {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.weather-content {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.weather-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.weather-icon-wrap i {
    font-size: 26px;
    color: #fff;
}

.weather-temp-wrap {
    display: flex;
    flex-direction: column;
}

.weather-temp {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.weather-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ==================== STATS BOX ==================== */
.stats-box {
    border: 2px solid #9c27b0;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.03) 0%, var(--bg-card) 100%);
}

.stats-box .box-title {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.stats-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.stats-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-primary);
}

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

.stats-list li i {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.stats-list li:nth-child(1) i {
    background: linear-gradient(135deg, #1a73e8, #1557b0);
}

.stats-list li:nth-child(2) i {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.stats-list li:nth-child(3) i {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.stats-list li:nth-child(4) i {
    background: linear-gradient(135deg, #e91e63, #c2185b);
}

.stats-list a {
    color: var(--primary);
    font-weight: 600;
}

.stats-list a:hover {
    text-decoration: underline;
}

/* Video Box */
.video-card {
    display: block;
    padding: 15px;
}

.video-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.video-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 18px;
    transition: var(--transition);
}

.video-card:hover .play-btn {
    background: var(--secondary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
}

.video-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Weather Box */
.weather-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weather-main i {
    font-size: 40px;
    color: #ff9800;
}

.weather-temp {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.weather-info {
    display: flex;
    flex-direction: column;
}

.weather-city {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.weather-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Poll Box */
.poll-question {
    padding: 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.poll-options {
    padding: 15px;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}

.poll-option input {
    accent-color: var(--primary);
}

.poll-btn {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}

.poll-btn:hover {
    background: var(--primary-dark);
}

/* Source Info */
.source-info {
    padding: 15px;
}

.source-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.source-info a {
    color: var(--primary);
    font-weight: 600;
}

.source-info a:hover {
    text-decoration: underline;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.hero-card {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

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

.hero-main {
    height: 350px;
}

.hero-main .hero-card {
    height: 100%;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-card.small {
    flex: 1;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
}

.hero-cat {
    display: inline-block;
    padding: 4px 10px;
    background: var(--secondary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 10px;
}

.hero-cat.cat-eco {
    background: var(--cat-eco);
}

.hero-cat.cat-sport {
    background: var(--cat-sport);
}

.hero-cat.cat-tech {
    background: var(--cat-tech);
}

.hero-overlay h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.hero-overlay h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-time {
    font-size: 12px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .hero-main {
        height: 250px;
    }

    .hero-side {
        flex-direction: row;
    }

    .hero-card.small {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-side {
        flex-direction: column;
    }
}

/* ==================== NEWS GRID ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.news-card {
    display: block;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.news-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}

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

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

.news-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--cat-gundem);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
}

.news-cat.cat-eco {
    background: var(--cat-eco);
}

.news-cat.cat-sport {
    background: var(--cat-sport);
}

.news-cat.cat-tech {
    background: var(--cat-tech);
}

.news-cat.cat-health {
    background: var(--cat-health);
}

.news-cat.cat-world {
    background: var(--cat-world);
}

.news-body {
    padding: 15px;
}

.news-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-card:hover .news-body h4 {
    color: var(--primary);
}

.news-time {
    font-size: 12px;
    color: var(--text-muted);
}

.news-time i {
    margin-right: 4px;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== CATEGORY SECTION ==================== */
.category-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-line {
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
}

.title-line.eco {
    background: var(--cat-eco);
}

.title-line.sport {
    background: var(--cat-sport);
}

.see-all {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.see-all:hover {
    color: var(--primary-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

.cat-card.main {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cat-img {
    height: 200px;
    overflow: hidden;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-card:hover .cat-img img {
    transform: scale(1.03);
}

.cat-body {
    padding: 15px;
}

.cat-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.cat-card:hover .cat-body h4 {
    color: var(--primary);
}

.cat-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.cat-time {
    font-size: 12px;
    color: var(--text-muted);
}

.cat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: 8px;
    transition: var(--transition);
}

.cat-list-item:hover {
    background: var(--bg-main);
    transform: translateX(5px);
}

.item-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    line-height: 1;
}

.item-content h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
}

.cat-list-item:hover .item-content h5 {
    color: var(--primary);
}

.item-content span {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #a0a0a0;
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, var(--primary), #1557b0);
    padding: 40px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 450px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 14px 28px;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #16213e;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Main */
.footer-main {
    padding: 50px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-col.about {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 36px;
    color: var(--primary);
}

.footer-logo .logo-name {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.footer-logo .logo-tagline {
    display: block;
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col.about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #a0a0a0;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    font-size: 16px;
    transition: all 0.3s;
}

.footer-socials a:hover {
    transform: translateY(-3px);
}

.footer-socials a:nth-child(1):hover {
    background: #1877f2;
    color: #fff;
}

.footer-socials a:nth-child(2):hover {
    background: #000;
    color: #fff;
}

.footer-socials a:nth-child(3):hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.footer-socials a:nth-child(4):hover {
    background: #ff0000;
    color: #fff;
}

.footer-socials a:nth-child(5):hover {
    background: #0088cc;
    color: #fff;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h4 i {
    color: var(--primary);
}

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

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

.footer-col ul a {
    font-size: 13px;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.footer-col ul a i {
    font-size: 10px;
    color: var(--primary);
    transition: transform 0.2s;
}

.footer-col ul a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col ul a:hover i {
    transform: translateX(3px);
}

/* Contact List */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-list li>i {
    width: 36px;
    height: 36px;
    background: rgba(26, 115, 232, 0.15);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-list li span {
    font-size: 13px;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    color: #777;
}

.footer-bottom p strong {
    color: #fff;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #777;
    transition: color 0.2s;
}

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

.footer-credit {
    font-size: 12px;
    color: #666;
}

.footer-credit a {
    color: var(--primary);
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-col.about {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }

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

    .footer-col.about {
        grid-column: span 1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== SCROLL TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==================== ALL NEWS PAGE ==================== */
.page-title-section {
    margin-bottom: 30px;
}

.page-title-section .section-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
}

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

.news-count {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* News Card - Full Version */
.news-card .card-image {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

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

.news-card .card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.news-card .card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.news-card .card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card .card-meta i {
    color: var(--primary);
    font-size: 11px;
}

.news-grid.full-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .news-grid.full-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid.full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid.full-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), #1557b0);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-numbers a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-numbers .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-numbers .dots {
    border: none;
    background: none;
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
    }

    .page-btn {
        order: 2;
        flex: 1;
        justify-content: center;
    }

    .page-numbers {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
}