/*
Theme Name: Haber
Theme URI: https://example.com/haber
Author: Haber Tema
Author URI: https://example.com
Description: Profesyonel WordPress haber gazetesi teması. Bootstrap 5, slider, kategori blokları ve PDO desteği içerir. WordPress 7.0 uyumlu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haber
Tags: news, magazine, blog, responsive, bootstrap, slider, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, threaded-comments, translation-ready
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --haber-red: #cc0000;
    --haber-red-dark: #aa0000;
    --haber-red-light: #e60000;
    --haber-dark: #1a1a1a;
    --haber-gray-dark: #333333;
    --haber-gray: #666666;
    --haber-gray-light: #999999;
    --haber-gray-bg: #f4f4f4;
    --haber-border: #e0e0e0;
    --haber-white: #ffffff;
    --haber-orange: #ff6600;
    --haber-font: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
    --haber-heading-font: 'Merriweather', 'Georgia', serif;
    --haber-transition: all 0.25s ease;
    --haber-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--haber-font);
    color: var(--haber-dark);
    background-color: #ececec;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--haber-dark);
    text-decoration: none;
    transition: var(--haber-transition);
}
a:hover {
    color: var(--haber-red);
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
}

/* ============================================================
   TOP BAR
   ============================================================ */
#topbar {
    background: #111111;
    color: #bbbbbb;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 2px solid var(--haber-red);
    position: relative;
    z-index: 1000;
}
#topbar a {
    color: #cccccc;
    font-size: 12px;
}
#topbar a:hover {
    color: var(--haber-white);
}
.topbar-date {
    font-size: 12px;
    color: #aaaaaa;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.topbar-weather {
    color: #cccccc;
    font-size: 12px;
}
.topbar-weather i {
    color: #ffd700;
    margin-right: 3px;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}
.topbar-social a {
    color: #aaaaaa;
    font-size: 14px;
    transition: var(--haber-transition);
}
.topbar-social a:hover {
    color: var(--haber-red);
}
.topbar-links a {
    font-size: 11px;
    color: #aaaaaa;
    padding: 0 5px;
    border-right: 1px solid #444;
}
.topbar-links a:last-child {
    border-right: none;
}
.topbar-links a:hover {
    color: var(--haber-white);
}

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
#breaking-news {
    background: var(--haber-red);
    padding: 7px 0;
    overflow: hidden;
    position: relative;
}
.breaking-label {
    background: #880000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}
.breaking-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-left: 10px solid #880000;
    border-top: 26px solid transparent;
    z-index: 2;
}
.breaking-ticker-wrap {
    overflow: hidden;
    flex: 1;
    position: relative;
    height: 26px;
}
.breaking-ticker {
    display: flex;
    animation: ticker-scroll 40s linear infinite;
    white-space: nowrap;
    height: 26px;
    align-items: center;
}
.breaking-ticker:hover {
    animation-play-state: paused;
}
.breaking-ticker a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 0 30px 0 0;
    white-space: nowrap;
}
.breaking-ticker a::before {
    content: '◆ ';
    font-size: 8px;
    margin-right: 5px;
    opacity: 0.8;
}
.breaking-ticker a:hover {
    color: #ffdddd;
    text-decoration: underline;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   LOGO / HEADER
   ============================================================ */
#header-main {
    background: var(--haber-white);
    padding: 14px 0;
    border-bottom: 3px solid var(--haber-red);
}
/* Mobilde logo ortalanması */
@media (max-width: 767.98px) {
    .site-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .site-logo a,
    .site-logo img {
        display: inline-block;
    }
}
.site-title-text {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--haber-red);
    letter-spacing: -1px;
    line-height: 1;
    text-transform: uppercase;
}
.site-tagline {
    font-size: 11px;
    color: var(--haber-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}
.header-ad-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.header-ad-placeholder {
    background: #f0f0f0;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 11px;
    width: 728px;
    max-width: 100%;
    height: 90px;
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */
#main-nav {
    background: #222222;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 3px solid var(--haber-red);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.navbar-haber {
    display: flex;
    align-items: stretch;
    min-height: 44px;
}
.main-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}
.main-menu > li {
    position: relative;
}
.main-menu > li > a {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 0 15px;
    height: 44px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--haber-transition);
    border-right: 1px solid #333;
}
.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a {
    background: var(--haber-red);
    color: #ffffff;
}
.main-menu > li:first-child > a {
    background: var(--haber-red);
    color: #ffffff;
    font-weight: 700;
}
.main-menu > li:first-child > a:hover {
    background: var(--haber-red-dark);
}
.main-menu > li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #1a1a1a;
    border-top: 2px solid var(--haber-red);
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.main-menu > li:hover .sub-menu {
    display: block;
}
.main-menu .sub-menu li a {
    display: block;
    color: #dddddd;
    font-size: 13px;
    padding: 9px 16px;
    border-bottom: 1px solid #2a2a2a;
    transition: var(--haber-transition);
}
.main-menu .sub-menu li a:hover {
    background: var(--haber-red);
    color: #ffffff;
    padding-left: 22px;
}
.nav-search-btn {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #cccccc;
    font-size: 16px;
    cursor: pointer;
    transition: var(--haber-transition);
    border-left: 1px solid #333;
    margin-left: auto;
}
.nav-search-btn:hover {
    color: var(--haber-red);
    background: #111;
}
.nav-search-form {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 320px;
    background: #111;
    padding: 12px;
    border: 1px solid #333;
    border-top: 2px solid var(--haber-red);
    z-index: 1001;
}
.nav-search-form.active {
    display: block;
}
.nav-search-form input {
    width: 100%;
    padding: 8px 12px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.nav-search-form input:focus {
    border-color: var(--haber-red);
}
.nav-search-form button {
    background: var(--haber-red);
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    margin-top: 6px;
    font-weight: 600;
    transition: var(--haber-transition);
}
.nav-search-form button:hover {
    background: var(--haber-red-dark);
}
.desktop-menu-wrap {
    flex: 1;
    display: flex;
    min-width: 0;
}
.nav-right-group {
    display: flex;
    align-items: stretch;
    position: relative;
    margin-left: auto;
}
.haber-mobile-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    border-left: 1px solid #333;
}
.toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: transform .25s, opacity .25s;
}
.haber-mobile-toggler:hover .toggler-line {
    background: #ff6666;
}
.nav-mobile-toggle {
    display: none !important;
}

/* ============================================================
   FEATURED HORIZONTAL MINI-SLIDER (5:3 ORAN, TÜM EKRANLAR)
   ============================================================ */
.featured-horizontal {
    margin: 18px 0 22px;
    width: 100%;
    max-width: 100%;
}

.featured-mini-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
}

.featured-mini-slider .mini-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100%;
}

.featured-mini-slider .mini-slide {
    flex: 0 0 calc(20% - 12px);   /* masaüstü 5 sütun */
    min-width: calc(20% - 12px);
    box-sizing: border-box;
}

.featured-mini-slider .mini-slide-inner {
    position: relative;
    aspect-ratio: 5 / 3;           /* 5:3 sabit oran – tüm cihazlarda */
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 4px 16px rgba(0,0,0,0.20);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.featured-mini-slider .mini-slide-inner:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    transform: scale(1.02);
    z-index: 2;
}

.featured-mini-slider .mini-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-mini-slider .mini-slide-inner:hover .mini-slide-img {
    transform: scale(1.06);
}

.featured-mini-slider .mini-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px 14px 14px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 0 0 12px 12px;
    transition: background 0.3s ease;
    pointer-events: none;
}

.featured-mini-slider .mini-slide-inner:hover .mini-slide-caption {
    background: rgba(0, 0, 0, 0.55);
}

.featured-mini-slider .mini-slide-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.2px;
}

/* ===== TABLET (3 sütun, 5:3 oran korunur) ===== */
@media (max-width: 991.98px) {
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(33.333% - 12px);
        min-width: calc(33.333% - 12px);
    }
}

/* ===== MOBİL (3 sütun, 5:3 oran korunur) ===== */
@media (max-width: 767.98px) {
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(33.333% - 12px);
        min-width: calc(33.333% - 12px);
    }
    .featured-mini-slider .mini-slide-title {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }
    .featured-mini-slider .mini-slide-caption {
        padding: 6px 8px 8px 8px;
    }
}

/* ===== ÇOK KÜÇÜK EKRANLAR (2 sütun, 5:3 oran korunur) ===== */
@media (max-width: 480px) {
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
    .featured-mini-slider .mini-slide-title {
        font-size: 0.65rem;
    }
}
/* ============================================================
   NUMBERED SLIDER – TAM SIFIRLAMA VE YENİ TASARIM
   ============================================================ */
.ns-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #000 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

.ns-container .ns-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform !important;
}

.ns-container .ns-slide {
    position: relative !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.ns-container .ns-slide-link {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    z-index: auto !important;
    text-decoration: none !important;
}

.ns-container .ns-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #222;
}

.ns-container .ns-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ns-container .ns-slide-link:hover .ns-image img {
    transform: scale(1.03);
}

/* SİYAH ZEMİN + BEYAZ BAŞLIK (MOBİLDE KESİN GÖRÜNÜR) */
.ns-container .ns-caption {
    background: #1a1a1a !important;
    padding: 18px 24px !important;
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
    border-top: 3px solid #cc0000 !important;
}

.ns-container .ns-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px !important;
    font-family: 'Merriweather', serif !important;
    text-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    max-width: 100% !important;
    display: block !important;
}

/* RAKAMLAR (BAŞLIĞIN ALTINDA) */
.ns-container .ns-thumbs {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 10px 18px !important;
    background: #0d0d0d !important;
    border-top: 1px solid #2a2a2a !important;
    flex-wrap: wrap !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    border-radius: 0 !important;
}

.ns-container .ns-thumb {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.10) !important;
    color: #ccc !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    user-select: none !important;
    border: 1px solid transparent !important;
}
.ns-container .ns-thumb:hover {
    background: rgba(255,255,255,0.20) !important;
    color: #fff !important;
}
.ns-container .ns-thumb.active {
    background: #cc0000 !important;
    color: #ffffff !important;
    border-color: #cc0000 !important;
    box-shadow: 0 0 12px rgba(204,0,0,0.4) !important;
}

/* OK BUTONLARI (RESMİN ÜZERİNDE) */
.ns-container .ns-arrow {
    position: absolute !important;
    top: 45% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 1.5rem !important;
    transition: background 0.3s, transform 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.ns-container .ns-arrow:hover {
    background: rgba(255,255,255,0.35) !important;
    transform: translateY(-50%) scale(1.05) !important;
}
.ns-container .ns-prev { left: 15px !important; }
.ns-container .ns-next { right: 15px !important; }

/* ===== TABLET ===== */
@media (max-width: 991.98px) {
    .ns-container .ns-image { height: 320px !important; }
    .ns-container .ns-title { font-size: 1.3rem !important; }
    .ns-container .ns-caption { padding: 14px 18px !important; min-height: 70px !important; }
    .ns-container .ns-thumb { width: 32px !important; height: 32px !important; font-size: 0.75rem !important; }
    .ns-container .ns-thumbs { gap: 6px !important; padding: 10px 8px 14px !important; }
    .ns-container .ns-arrow { width: 36px !important; height: 36px !important; font-size: 1.2rem !important; }
}

/* ===== MOBİL ===== */
@media (max-width: 767.98px) {
    .ns-container .ns-image { height: 240px !important; }
    .ns-container .ns-title { font-size: 1.0rem !important; }
    .ns-container .ns-caption { padding: 10px 14px !important; min-height: 60px !important; }
    .ns-container .ns-thumb { width: 28px !important; height: 28px !important; font-size: 0.65rem !important; }
    .ns-container .ns-thumbs { gap: 5px !important; padding: 8px 6px 12px !important; }
    .ns-container .ns-arrow { width: 30px !important; height: 30px !important; font-size: 1rem !important; }
    .ns-container .ns-prev { left: 8px !important; }
    .ns-container .ns-next { right: 8px !important; }
}

@media (max-width: 480px) {
    .ns-container .ns-image { height: 180px !important; }
    .ns-container .ns-title { font-size: 0.9rem !important; }
    .ns-container .ns-caption { padding: 8px 10px !important; min-height: 50px !important; }
    .ns-container .ns-thumb { width: 24px !important; height: 24px !important; font-size: 0.6rem !important; }
}

/* ============================================================
   SAĞ WIDGET – SON HABERLER
   ============================================================ */
.ns-side-widget {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ns-side-widget .widget-header {
    background: var(--haber-dark, #1a1a1a);
    padding: 9px 14px;
    flex-shrink: 0;
}
.ns-side-widget .widget-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}
.ns-side-widget .widget-body {
    padding: 12px 14px;
    flex: 1;
    overflow-y: auto;
}
.ns-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ns-side-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.ns-side-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ns-side-img {
    flex: 0 0 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
}
.ns-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ns-side-item:hover .ns-side-img img {
    transform: scale(1.05);
}
.ns-side-text {
    flex: 1;
    min-width: 0;
}
.ns-side-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.ns-side-title a {
    color: var(--haber-dark, #1a1a1a);
    text-decoration: none;
}
.ns-side-title a:hover {
    color: var(--haber-red, #cc0000);
}
.ns-side-date {
    font-size: 11px;
    color: var(--haber-gray-light, #999);
    margin-top: 3px;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
#content-area {
    padding: 20px 0;
    background: #ececec;
}
.main-content-col {
    padding: 0 8px 0 0;
}
.sidebar-col {
    padding: 0 0 0 8px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 3px solid var(--haber-red);
    padding-bottom: 8px;
    position: relative;
}
.section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--haber-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--haber-red);
    border-radius: 1px;
}
.section-title-red {
    background: var(--haber-red);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-title-red::before {
    display: none;
}
.section-more-link {
    font-size: 11px;
    color: var(--haber-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-more-link:hover {
    color: var(--haber-red);
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-block {
    background: var(--haber-white);
    margin-bottom: 16px;
    box-shadow: var(--haber-shadow);
    overflow: hidden;
    transition: var(--haber-transition);
}
.news-block:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.16);
    transform: translateY(-1px);
}
.news-block-img {
    position: relative;
    overflow: hidden;
}
.news-block-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-block:hover .news-block-img img {
    transform: scale(1.04);
}
.news-category-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--haber-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-block-body {
    padding: 12px 14px 14px;
}
.news-block-title {
    font-family: var(--haber-heading-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: var(--haber-dark);
}
.news-block-title a {
    color: var(--haber-dark);
}
.news-block-title a:hover {
    color: var(--haber-red);
}
.news-block-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--haber-gray-light);
    flex-wrap: wrap;
}
.news-block-meta .meta-cat {
    color: var(--haber-red);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}
.news-block-meta .meta-sep {
    color: #ddd;
}
.news-block-summary {
    font-size: 13px;
    color: var(--haber-gray);
    line-height: 1.55;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--haber-border);
    background: transparent;
}
.news-list-item:last-child {
    border-bottom: none;
}
.news-list-img {
    flex-shrink: 0;
    width: 90px;
    height: 65px;
    overflow: hidden;
}
.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-list-item:hover .news-list-img img {
    transform: scale(1.06);
}
.news-list-body {
    flex: 1;
    min-width: 0;
}
.news-list-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--haber-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-title a {
    color: var(--haber-dark);
}
.news-list-title a:hover {
    color: var(--haber-red);
}
.news-list-meta {
    font-size: 11px;
    color: var(--haber-gray-light);
    margin-top: 5px;
}
.news-list-meta .meta-cat {
    color: var(--haber-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
}

/* ============================================================
   CATEGORY SECTIONS
   ============================================================ */
.category-section {
    background: var(--haber-white);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--haber-shadow);
}
.category-section-header {
    background: var(--haber-dark);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cat-section-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cat-section-title a {
    color: #fff;
}
.cat-section-title a:hover {
    color: #ddd;
}
.cat-section-badge {
    background: var(--haber-red);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cat-section-more {
    font-size: 11px;
    color: #aaaaaa;
    text-transform: uppercase;
    font-weight: 600;
}
.cat-section-more:hover {
    color: var(--haber-red);
}
.category-section-body {
    padding: 14px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
    background: var(--haber-white);
    margin-bottom: 16px;
    box-shadow: var(--haber-shadow);
    overflow: hidden;
}
.widget-header {
    background: var(--haber-dark);
    padding: 9px 14px;
}
.widget-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}
.widget-title-red {
    background: var(--haber-red);
}
.widget-body {
    padding: 12px 14px;
}
.most-read-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--haber-border);
}
.most-read-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.most-read-num {
    width: 28px;
    height: 28px;
    background: var(--haber-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.most-read-num.top3 {
    background: #880000;
}
.most-read-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--haber-dark);
    flex: 1;
}
.most-read-text a {
    color: var(--haber-dark);
}
.most-read-text a:hover {
    color: var(--haber-red);
}
.sidebar-ad-placeholder {
    background: #f0f0f0;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 11px;
    width: 100%;
    height: 250px;
    margin-bottom: 16px;
}
.sidebar-search-form {
    display: flex;
    gap: 0;
    padding: 12px 14px;
}
.sidebar-search-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 13px;
    outline: none;
    transition: var(--haber-transition);
}
.sidebar-search-form input:focus {
    border-color: var(--haber-red);
}
.sidebar-search-form button {
    background: var(--haber-red);
    color: #fff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--haber-transition);
}
.sidebar-search-form button:hover {
    background: var(--haber-red-dark);
}
.widget-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget-recent-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--haber-border);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.widget-recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.widget-recent-img {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    overflow: hidden;
}
.widget-recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.widget-recent-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--haber-dark);
}
.widget-recent-title a {
    color: var(--haber-dark);
}
.widget-recent-title a:hover {
    color: var(--haber-red);
}
.widget-recent-date {
    font-size: 10px;
    color: var(--haber-gray-light);
    margin-top: 3px;
}
.widget-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 14px;
}
.widget-tag-cloud a {
    background: #f0f0f0;
    color: #555;
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #e0e0e0;
    transition: var(--haber-transition);
}
.widget-tag-cloud a:hover {
    background: var(--haber-red);
    color: #fff;
    border-color: var(--haber-red);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-wrap {
    background: var(--haber-white);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--haber-shadow);
}
.single-post-cat {
    display: inline-block;
    background: var(--haber-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.single-post-title {
    font-family: var(--haber-heading-font);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--haber-dark);
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--haber-border);
}
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--haber-gray-light);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--haber-border);
}
.single-post-meta .meta-author {
    color: var(--haber-red);
    font-weight: 700;
}
.single-post-meta .meta-author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--haber-red);
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}
.post-featured-image {
    margin-bottom: 20px;
}
.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}
.post-featured-caption {
    font-size: 12px;
    color: var(--haber-gray-light);
    font-style: italic;
    margin-top: 6px;
    padding: 0 4px;
}
.post-summary-box {
    background: var(--haber-gray-bg);
    border-left: 4px solid var(--haber-red);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--haber-gray-dark);
    line-height: 1.5;
}
.post-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.post-content p {
    margin-bottom: 16px;
}
.post-content h2 {
    font-family: var(--haber-heading-font);
    font-size: 21px;
    font-weight: 800;
    color: var(--haber-dark);
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--haber-border);
}
.post-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 10px;
}
.post-content a {
    color: var(--haber-red);
    text-decoration: underline;
}
.post-content blockquote {
    background: var(--haber-gray-bg);
    border-left: 4px solid var(--haber-red);
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 16px;
    font-style: italic;
    color: var(--haber-gray-dark);
}
.post-content img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}
.post-content ul,
.post-content ol {
    margin: 0 0 16px 20px;
    padding: 0;
}
.post-content ul li {
    list-style: disc;
    margin-bottom: 6px;
}
.post-content ol li {
    list-style: decimal;
    margin-bottom: 6px;
}
.post-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--haber-border);
}
.share-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--haber-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    padding: 6px 12px;
    transition: var(--haber-transition);
    border: none;
    cursor: pointer;
}
.share-btn-fb { background: #1877f2; }
.share-btn-tw { background: #1da1f2; }
.share-btn-wa { background: #25d366; }
.share-btn-copy { background: #555; }
.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #fff;
}
.post-tags {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--haber-border);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.post-tags-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--haber-gray);
}
.post-tag {
    background: #f0f0f0;
    color: #555;
    font-size: 12px;
    padding: 3px 10px;
    border: 1px solid #e0e0e0;
    transition: var(--haber-transition);
}
.post-tag:hover {
    background: var(--haber-red);
    color: #fff;
    border-color: var(--haber-red);
}
.comments-wrap {
    background: var(--haber-white);
    padding: 24px;
    margin-top: 16px;
    box-shadow: var(--haber-shadow);
}
.comments-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--haber-red);
}
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.comment {
    padding: 14px 0;
    border-bottom: 1px solid var(--haber-border);
}
.comment:last-child {
    border-bottom: none;
}
.comment-author-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--haber-dark);
}
.comment-date {
    font-size: 11px;
    color: var(--haber-gray-light);
    margin-left: 8px;
}
.comment-body {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 6px;
    color: #444;
}
.comment-form-wrap {
    margin-top: 24px;
}
.comment-form-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--haber-dark);
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: var(--haber-font);
    margin-bottom: 12px;
    outline: none;
    transition: var(--haber-transition);
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--haber-red);
}
.comment-form textarea {
    height: 120px;
    resize: vertical;
}
.comment-form button {
    background: var(--haber-red);
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--haber-transition);
}
.comment-form button:hover {
    background: var(--haber-red-dark);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.page-numbers {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.page-numbers li a,
.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 13px;
    font-weight: 700;
    background: var(--haber-white);
    color: var(--haber-gray-dark);
    border: 1px solid #ddd;
    transition: var(--haber-transition);
}
.page-numbers li a:hover {
    background: var(--haber-red);
    color: #fff;
    border-color: var(--haber-red);
}
.page-numbers li .current {
    background: var(--haber-red);
    color: #fff;
    border-color: var(--haber-red);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer-top {
    background: #1a1a1a;
    padding: 36px 0 24px;
    border-top: 3px solid var(--haber-red);
}
.footer-logo {
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--haber-red);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.footer-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #aaa;
    border: 1px solid #333;
    transition: var(--haber-transition);
}
.footer-social-link:hover {
    background: var(--haber-red);
    color: #fff;
    border-color: var(--haber-red);
}
.footer-widget-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--haber-red);
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li {
    padding: 5px 0;
    border-bottom: 1px solid #2a2a2a;
}
.footer-links li:last-child {
    border-bottom: none;
}
.footer-links li a {
    color: #aaaaaa;
    font-size: 13px;
    transition: var(--haber-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links li a::before {
    content: '›';
    color: var(--haber-red);
    font-size: 16px;
    line-height: 1;
}
.footer-links li a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.footer-recent {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-recent li {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #2a2a2a;
}
.footer-recent li:last-child {
    border-bottom: none;
}
.footer-recent-img {
    width: 60px;
    height: 44px;
    flex-shrink: 0;
    overflow: hidden;
}
.footer-recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.footer-recent-title {
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
}
.footer-recent-title a {
    color: #aaa;
}
.footer-recent-title a:hover {
    color: #fff;
}
.footer-recent-date {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
}
#footer-bottom {
    background: #111111;
    padding: 14px 0;
    border-top: 1px solid #222;
}
.footer-bottom-left {
    font-size: 12px;
    color: #666;
}
.footer-bottom-left a {
    color: #888;
}
.footer-bottom-left a:hover {
    color: var(--haber-red);
}
.footer-bottom-right {
    font-size: 12px;
    color: #555;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
.footer-bottom-right a {
    color: #666;
}
.footer-bottom-right a:hover {
    color: var(--haber-red);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
#breadcrumb-bar {
    background: var(--haber-white);
    border-bottom: 1px solid var(--haber-border);
    padding: 8px 0;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: var(--haber-gray);
}
.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 4px;
}
.breadcrumb-list li + li::before {
    content: '›';
    color: #bbb;
}
.breadcrumb-list a {
    color: var(--haber-gray);
}
.breadcrumb-list a:hover {
    color: var(--haber-red);
}
.breadcrumb-list .current {
    color: var(--haber-red);
    font-weight: 600;
}

/* ============================================================
   404
   ============================================================ */
.page-404-wrap {
    text-align: center;
    padding: 80px 20px;
    background: var(--haber-white);
    margin: 30px 0;
}
.page-404-number {
    font-size: 120px;
    font-weight: 900;
    color: var(--haber-red);
    line-height: 1;
    font-family: var(--haber-heading-font);
}
.page-404-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--haber-dark);
    margin: 10px 0;
}
.page-404-text {
    font-size: 15px;
    color: var(--haber-gray);
    margin-bottom: 24px;
}
.page-404-home-btn {
    display: inline-block;
    background: var(--haber-red);
    color: #fff;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--haber-transition);
}
.page-404-home-btn:hover {
    background: var(--haber-red-dark);
    color: #fff;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-red { color: var(--haber-red); }
.bg-red { background: var(--haber-red); }
.font-bold { font-weight: 700; }
.font-bolder { font-weight: 800; }
.text-uppercase { text-transform: uppercase; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ============================================================
   OFFCANVAS MENU
   ============================================================ */
.haber-offcanvas {
    width: 300px !important;
    background: #1a1a1a;
    border-right: 3px solid var(--haber-red) !important;
}
.haber-offcanvas-header {
    background: #111;
    border-bottom: 2px solid var(--haber-red);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.offcanvas-logo a,
.offcanvas-site-name {
    font-family: 'Georgia', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--haber-red);
    text-decoration: none;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1;
}
.haber-offcanvas-close {
    background: none;
    border: 1px solid #444;
    color: #aaa;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 0;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.haber-offcanvas-close:hover {
    background: var(--haber-red);
    color: #fff;
    border-color: var(--haber-red);
}
.haber-offcanvas-search {
    background: #222;
    padding: 10px 14px;
    border-bottom: 1px solid #333;
}
.mobile-search-row {
    display: flex;
}
.mobile-search-row input {
    flex: 1;
    padding: 9px 12px;
    background: #111;
    border: 1px solid #444;
    border-right: none;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.mobile-search-row input:focus {
    border-color: var(--haber-red);
}
.mobile-search-row button {
    background: var(--haber-red);
    color: #fff;
    border: none;
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
}
.haber-offcanvas-body {
    padding: 0;
    overflow-y: auto;
    background: #1a1a1a;
}
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu-list li {
    border-bottom: 1px solid #282828;
}
.mobile-menu-list li a {
    display: flex;
    align-items: center;
    padding: 13px 18px;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s, padding-left .15s;
}
.mobile-menu-list li a:hover,
.mobile-menu-list li.current-menu-item > a {
    background: #222;
    color: #fff;
    padding-left: 24px;
}
.mobile-menu-list > li:first-child > a {
    color: var(--haber-red);
    border-left: 3px solid var(--haber-red);
}
.mobile-menu-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #141414;
    display: block !important;
}
.mobile-menu-list .sub-menu li a {
    padding: 10px 18px 10px 32px;
    font-size: 13px;
    font-weight: 400;
    color: #aaa;
}
.mobile-menu-list .sub-menu li a::before {
    content: '– ';
    color: var(--haber-red);
}
.mobile-cat-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}
.offcanvas-social {
    display: flex;
    gap: 0;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    padding: 14px 18px;
    gap: 8px;
}
.offcanvas-social-link {
    width: 36px;
    height: 36px;
    background: #2a2a2a;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: background .2s, color .2s;
    border-radius: 0;
}
.offcanvas-social-link:hover {
    background: var(--haber-red);
    color: #fff;
}
.offcanvas-footer-links {
    padding: 14px 18px;
}
.offcanvas-footer-links a {
    color: #888;
    font-size: 12px;
    text-decoration: none;
}
.offcanvas-footer-links a:hover {
    color: var(--haber-red);
}
.offcanvas-backdrop {
    background: rgba(0,0,0,0.75) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .main-content-col { padding: 0; }
    .sidebar-col { padding: 0; margin-top: 16px; }

    .desktop-menu-wrap .main-menu { display: none; }
    .haber-mobile-toggler { display: flex; }

    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(20% - 10px);
    min-width: calc(20% - 10px);
    }

    .site-title-text { font-size: 32px; }
    .header-ad-area { display: none; }

    .ns-slide { min-height: 300px; }
    .ns-title { font-size: 1.8rem; }
    .ns-content { bottom: 25%; }
    .ns-thumb { width: 30px; height: 30px; font-size: 0.8rem; }
    .ns-thumbs { padding: 6px 12px; gap: 5px; }
    .ns-arrow { width: 36px; height: 36px; font-size: 1.2rem; }

    .ns-side-widget { margin-top: 20px; }
    .ns-side-item { flex: 0 0 50%; border-bottom: none; padding: 6px 8px; }
    .ns-side-img { flex: 0 0 60px; height: 50px; }
    .ns-side-title { font-size: 13px; }
}

@media (max-width: 767.98px) {
    .ns-slide { min-height: 220px; }
    .ns-title { font-size: 1.3rem; }
    .ns-content { bottom: 18%; }
    .ns-thumb { width: 26px; height: 26px; font-size: 0.7rem; }
    .ns-arrow { display: none; }

    .site-title-text { font-size: 28px; }
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(100% - 10px);
        min-width: calc(100% - 10px);
    }
    .single-post-title { font-size: 20px; }
    .single-post-wrap { padding: 16px; }
    #footer-top .col-md-3 { margin-bottom: 24px; }

    .ns-side-item { flex: 0 0 100%; }
}

@media (max-width: 480px) {
    .ns-slide { min-height: 180px; }
    .ns-title { font-size: 1rem; }
    .ns-thumbs { padding: 4px 8px; gap: 4px; }
    .ns-thumb { width: 22px; height: 22px; font-size: 0.6rem; }
    .ns-content { bottom: 15%; left: 3%; right: 3%; }
}

@media print {
    #topbar, #breaking-news, #main-nav, .sidebar-col,
    #footer-top, #footer-bottom, #back-to-top,
    .post-share-bar, .ns-arrow { display: none !important; }
    body { background: #fff; color: #000; }
    .single-post-wrap { box-shadow: none; padding: 0; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--haber-red);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    transition: var(--haber-transition);
    border: 2px solid rgba(255,255,255,0.2);
}
#back-to-top:hover {
    background: var(--haber-red-dark);
    transform: translateY(-2px);
}
#back-to-top.visible {
    display: flex;
}

/* ============================================================
   REKLAM ALANLARI
   ============================================================ */
.haber-ad-wrap {
    overflow: hidden;
    text-align: center;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
}
.haber-ad-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.haber-ad-wrap a {
    display: inline-block;
    max-width: 100%;
}
.haber-ad-header_banner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.haber-ad-sidebar_top,
.haber-ad-sidebar_bottom {
    width: 100%;
}
.haber-ad-footer_banner,
.haber-ad-content_top {
    text-align: center;
}
@media (max-width: 767.98px) {
    .haber-ad-wrap img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    .haber-ad-header_banner {
        justify-content: center;
    }
    .haber-ad-sidebar_top .haber-ad-wrap,
    .haber-ad-sidebar_bottom .haber-ad-wrap {
        margin: 0 auto 16px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(33.333% - 10px);
        min-width: calc(33.333% - 10px);
    }
}

/* Telefon */
@media (max-width: 767.98px) {
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(100% - 10px);
        min-width: calc(100% - 10px);
    }
}

/* ============================================================
   HEADER WEATHER WIDGET (Sağda)
   ============================================================ */
.header-weather-widget {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.weather-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5f7a 100%);
    padding: 6px 18px 6px 12px;
    border-radius: 40px;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(2px);
}
.weather-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.weather-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.3));
}

.weather-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.weather-temp {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.weather-city {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Fallback (API çalışmazsa) */
.weather-fallback {
    background: #444;
}
.weather-fallback i {
    font-size: 24px;
    margin-right: 4px;
}

/* ============================================================
   MOBİL UYUM (Hava durumu sağda kalır)
   ============================================================ */
@media (max-width: 767.98px) {
    .header-weather-widget {
        justify-content: flex-end;
    }
    .weather-card {
        padding: 4px 10px 4px 6px;
        gap: 6px;
        border-radius: 30px;
    }
    .weather-card img {
        width: 28px;
        height: 28px;
    }
    .weather-temp {
        font-size: 14px;
    }
    .weather-city {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .weather-card {
        padding: 3px 8px 3px 4px;
        gap: 4px;
    }
    .weather-card img {
        width: 22px;
        height: 22px;
    }
    .weather-temp {
        font-size: 12px;
    }
    .weather-city {
        font-size: 8px;
        letter-spacing: 0.3px;
    }
}

/* ============================================================
   PİYASA TICKER – MODERN, KÜÇÜK KARTLAR
   ============================================================ */
#market-ticker {
    background: linear-gradient(135deg, #f0f7fe 0%, #e6f0fa 100%);
    border-top: 1px solid #d0dce8;
    border-bottom: 1px solid #d0dce8;
    padding: 10px 0;
    font-family: var(--haber-font, 'Source Sans 3', sans-serif);
}

.ticker-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
}

.ticker-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 4px 12px 4px 8px;
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0, 20, 40, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    font-size: 13px;
    line-height: 1.3;
}

.ticker-card:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 20, 40, 0.10);
    transform: translateY(-1px);
}

/* Hava durumu kartı */
.weather-card {
    gap: 6px;
    padding: 4px 14px 4px 6px;
    background: rgba(255, 255, 255, 0.85);
}

.weather-icon img {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
}

.weather-icon i {
    font-size: 28px;
    color: #f9a825;
}

.weather-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.weather-city {
    font-weight: 700;
    color: #0a2a4a;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.weather-temp {
    font-weight: 800;
    color: #0a2a4a;
    font-size: 16px;
}

/* Piyasa kartları */
.market-card {
    padding: 3px 10px 3px 6px;
    gap: 6px;
}

.market-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(42, 95, 122, 0.10);
    border-radius: 50%;
    flex-shrink: 0;
}

.market-icon i {
    font-size: 14px;
    color: #2a5f7a;
}

.market-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.market-label {
    font-weight: 600;
    color: #1a3a5c;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.market-rate {
    font-weight: 700;
    color: #0a2a4a;
    font-size: 13px;
}

.market-change {
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.market-change i {
    font-size: 11px;
}

.market-change.positive {
    color: #1e7e34;
}
.market-change.negative {
    color: #c62828;
}
.market-change.flat {
    color: #6c757d;
}

/* Mobil düzenleme */
@media (max-width: 767.98px) {
    #market-ticker {
        padding: 8px 0;
    }
    .ticker-grid {
        gap: 6px 10px;
    }
    .ticker-card {
        font-size: 11px;
        padding: 3px 8px 3px 5px;
        gap: 4px;
        border-radius: 30px;
    }
    .weather-card {
        padding: 3px 10px 3px 4px;
    }
    .weather-icon img {
        width: 24px;
        height: 24px;
    }
    .weather-icon i {
        font-size: 22px;
    }
    .weather-temp {
        font-size: 14px;
    }
    .weather-city {
        font-size: 10px;
    }
    .market-card {
        padding: 2px 6px 2px 4px;
        gap: 4px;
    }
    .market-icon {
        width: 20px;
        height: 20px;
    }
    .market-icon i {
        font-size: 11px;
    }
    .market-label {
        font-size: 10px;
    }
    .market-rate {
        font-size: 11px;
    }
    .market-change {
        font-size: 10px;
    }
    .market-change i {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .ticker-grid {
        gap: 4px 6px;
    }
    .ticker-card {
        font-size: 10px;
        padding: 2px 6px 2px 4px;
        border-radius: 20px;
    }
    .weather-card {
        padding: 2px 8px 2px 3px;
    }
    .weather-icon img {
        width: 20px;
        height: 20px;
    }
    .weather-temp {
        font-size: 12px;
    }
    .market-rate {
        font-size: 10px;
    }
    .market-change {
        font-size: 9px;
    }
}
/* Son Haberler başlığını sola yaslamak için kesin çözüm */
.mb-3 .section-header {
    display: block !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

.mb-3 .section-title {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    float: none !important;
    width: 100% !important;
}