/*
Theme Name: Haber
Theme URI: https://example.com/haber
Author: Haber Tema
Author URI: https://example.com
Description: Premium, modern ve responsive WordPress haber gazetesi teması. Mevcut tema yapısı korunarak modern UI katmanı uygulanmıştır. WordPress 7.0 uyumlu.
Version: 2.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;
}

/* === Eski Android fallback (aspect-ratio desteklemeyen tarayıcılar) === */
@supports not (aspect-ratio: 5 / 3) {
    .featured-mini-slider .mini-slide-inner {
        height: 0 !important;
        padding-bottom: 60% !important; /* 3/5 = 60% → 5:3 oranı */
        position: relative;
    }
    .featured-mini-slider .mini-slide-img {
        position: absolute !important;
        top: 0; left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .featured-mini-slider .mini-slide-caption {
        position: absolute !important;
        bottom: 0; left: 0; right: 0;
    }
}

.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 (2 sütun; iki kart birlikte görünür ve yatay kayar) ===== */
@media (max-width: 767.98px) {
    .featured-mini-slider .mini-slider {
        gap: 10px;
    }
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    .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 korunur) ===== */
@media (max-width: 480px) {
    .featured-mini-slider .mini-slide {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    .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-logo-wrap {
    display: flex;
    align-items: center;
    min-height: 64px;
    margin-bottom: 14px;
}
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    text-decoration: none;
}
.footer-custom-logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 78px;
    height: auto;
    object-fit: contain;
}
.footer-logo-wrap .custom-logo-link {
    display: inline-flex;
    max-width: 100%;
}
.footer-logo-wrap .custom-logo {
    width: auto;
    max-width: 220px;
    max-height: 78px;
    height: auto;
    object-fit: contain;
}
.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;
}
/* ============================================================
   PREMIUM REDESIGN OVERRIDES — 2026
   Mevcut PHP/HTML yapısı korunur. Bu bölüm yalnızca görsel katmanı
   modernleştirir; mevcut sınıflar ve bileşenler kullanılmaya devam eder.
   ============================================================ */
:root{
  --haber-red:#d71920;
  --haber-red-dark:#a90f15;
  --haber-red-light:#ef3340;
  --haber-navy:#101828;
  --haber-navy-2:#172033;
  --haber-ink:#101828;
  --haber-muted:#667085;
  --haber-bg:#f5f7fa;
  --haber-card:#ffffff;
  --haber-border:#e7eaf0;
  --haber-shadow:0 12px 35px rgba(16,24,40,.07);
  --haber-shadow-hover:0 20px 48px rgba(16,24,40,.13);
  --haber-radius:16px;
  --haber-transition:all .28s cubic-bezier(.2,.65,.3,1);
}
html{scroll-behavior:smooth}
body{background:var(--haber-bg);color:var(--haber-ink);font-size:15px}
.container{max-width:1240px}
a{color:inherit}

/* Top bar */
#topbar{background:linear-gradient(90deg,#0b1220,#182338);border-bottom:1px solid rgba(255,255,255,.08);padding:7px 0;color:#cbd5e1}
#topbar a,.topbar-date,.topbar-weather{color:#b9c4d4}
#topbar a:hover,.topbar-social a:hover{color:#fff}
.topbar-right{gap:16px}
.topbar-social a{width:28px;height:28px;border:1px solid rgba(255,255,255,.10);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
.topbar-social a:hover{background:var(--haber-red);border-color:var(--haber-red);transform:translateY(-2px)}

/* Breaking */
#breaking-news{background:var(--haber-red);padding:6px 0;box-shadow:0 3px 14px rgba(215,25,32,.18)}
.breaking-label{background:#a70f15;border-radius:7px;padding:5px 12px;font-size:10px;letter-spacing:1.2px}
.breaking-label:after{display:none}
.breaking-ticker-wrap{margin-left:14px!important}
.breaking-ticker a{font-size:12.5px;font-weight:600}

/* Brand header */
#header-main{background:rgba(255,255,255,.96);padding:20px 0;border-bottom:1px solid var(--haber-border);backdrop-filter:blur(12px)}
.site-logo img.custom-logo{max-height:72px;object-fit:contain;filter:drop-shadow(0 4px 12px rgba(16,24,40,.08))}
.site-title-text{font-family:'Source Sans 3','Segoe UI',sans-serif;font-size:38px;letter-spacing:-1.5px;color:var(--haber-navy);font-weight:900}
.site-tagline{color:var(--haber-muted);letter-spacing:1.6px}

/* Navigation */
#main-nav{background:rgba(16,24,40,.97);border-bottom:0;box-shadow:0 8px 24px rgba(16,24,40,.14);transition:var(--haber-transition)}
#main-nav.is-scrolled{box-shadow:0 12px 28px rgba(16,24,40,.20)}
.navbar-haber{min-height:54px}
.main-menu>li>a{height:54px;padding:0 16px;font-size:12px;letter-spacing:.65px;border-right:1px solid rgba(255,255,255,.07)}
.main-menu>li>a:hover,.main-menu>li.current-menu-item>a,.main-menu>li.current-menu-ancestor>a{background:rgba(215,25,32,.95)}
.main-menu>li:first-child>a{background:var(--haber-red);border-radius:0}
.main-menu>li .sub-menu{top:calc(100% + 7px);background:#fff;border:1px solid var(--haber-border);border-top:3px solid var(--haber-red);border-radius:0 0 12px 12px;box-shadow:0 18px 40px rgba(16,24,40,.15);padding:7px;min-width:230px}
.main-menu .sub-menu li a{color:var(--haber-ink);border:0;border-radius:8px;padding:10px 12px;font-size:12px}
.main-menu .sub-menu li a:hover{background:#fff0f1;color:var(--haber-red);padding-left:17px}
.nav-search-btn{height:54px;padding:0 18px;border-left:1px solid rgba(255,255,255,.08);color:#dbe3ef}
.nav-search-btn:hover{background:rgba(255,255,255,.06);color:#fff}
.nav-search-form{right:0;top:calc(100% + 8px);border:1px solid var(--haber-border);border-radius:12px;box-shadow:0 18px 40px rgba(16,24,40,.15);background:#fff;padding:8px}
.nav-search-form input{border:0!important;border-radius:8px!important;background:#f5f7fa!important;padding:10px 12px!important}
.nav-search-form button{border-radius:8px!important;background:var(--haber-red)!important}

/* Main */
#content-area{background:linear-gradient(180deg,#f5f7fa 0,#f7f8fb 100%);padding:30px 0 42px}
.main-content-col{padding-right:12px}.sidebar-col{padding-left:12px}
.section-header{border-bottom:1px solid var(--haber-border);padding-bottom:11px;margin-bottom:18px}
.section-header:after{content:'';position:absolute;left:0;bottom:-1px;width:58px;height:3px;background:var(--haber-red);border-radius:10px}
.section-title{font-size:17px;letter-spacing:.25px;color:var(--haber-navy);text-transform:none}
.section-title:before{width:5px;height:21px;border-radius:5px}
.section-more-link{font-size:11px;color:var(--haber-muted);padding:6px 10px;border:1px solid var(--haber-border);border-radius:999px;background:#fff}
.section-more-link:hover{background:var(--haber-red);border-color:var(--haber-red);color:#fff}

/* News cards */
.news-block{border:1px solid var(--haber-border);border-radius:var(--haber-radius);box-shadow:0 5px 18px rgba(16,24,40,.045);margin-bottom:18px;position:relative;isolation:isolate}
.news-block:hover{transform:translateY(-5px);box-shadow:var(--haber-shadow-hover);border-color:#dfe3eb}
.news-block-img{background:#e9edf3}
.news-block-img img{aspect-ratio:16/9;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.news-block:hover .news-block-img img{transform:scale(1.065)}
.news-category-tag{top:12px;left:12px;border-radius:999px;padding:5px 9px;background:rgba(215,25,32,.94);font-size:9px;box-shadow:0 5px 14px rgba(215,25,32,.25)}
.news-block-body{padding:15px 16px 16px}
.news-block-title{font-family:'Source Sans 3','Segoe UI',sans-serif;font-size:17px;line-height:1.28;font-weight:800;letter-spacing:-.15px}
.news-block-title a:hover{color:var(--haber-red)}
.news-block-meta{font-size:10.5px;color:#98a2b3;margin-top:10px}
.news-block-summary{color:#667085;font-size:13px;line-height:1.65}
.news-list-item{padding:13px 0;border-bottom:1px solid #edf0f4}

/* Category sections */
.category-section-body{background:#fff;border:1px solid var(--haber-border);border-radius:var(--haber-radius);padding:18px;box-shadow:0 5px 18px rgba(16,24,40,.035)}
.cat-section-title{font-weight:800;color:var(--haber-navy)}

/* Sidebar */
.sidebar-widget{border:1px solid var(--haber-border);border-radius:var(--haber-radius);box-shadow:0 5px 18px rgba(16,24,40,.045);margin-bottom:18px}
.widget-header{background:linear-gradient(135deg,#111827,#1f2937);padding:13px 15px;position:relative}
.widget-header:after{content:'';position:absolute;left:15px;bottom:0;width:38px;height:3px;background:var(--haber-red);border-radius:4px}
.widget-title{font-size:12px;letter-spacing:.65px}
.widget-title-red{background:linear-gradient(135deg,var(--haber-red-dark),var(--haber-red))}
.widget-body{padding:14px 15px}
.most-read-item{padding:12px 0}
.most-read-num{border-radius:9px;background:#f1f3f7;color:#667085;width:30px;height:30px}
.most-read-num.top3{background:#fff0f1;color:var(--haber-red)}
.most-read-text{font-size:12.5px;line-height:1.45}
.most-read-text a:hover{color:var(--haber-red)}
.widget-recent-item{padding:11px 0!important}
.widget-recent-img{border-radius:9px;overflow:hidden}
.widget-tag-cloud a{border:1px solid var(--haber-border);background:#f8fafc;border-radius:999px;padding:5px 9px;color:#667085}
.widget-tag-cloud a:hover{background:var(--haber-red);border-color:var(--haber-red);color:#fff}

/* Search */
.sidebar-search-form{border:0!important}
.sidebar-search-form input{border:1px solid var(--haber-border)!important;border-radius:10px 0 0 10px!important;background:#f8fafc!important}
.sidebar-search-form button{border-radius:0 10px 10px 0!important;background:var(--haber-red)!important}

/* Single post */
.single-post .post-title,.post-title{font-family:'Source Sans 3','Segoe UI',sans-serif;font-weight:900;letter-spacing:-.7px;color:var(--haber-navy)}
.post-featured-image{border-radius:18px;overflow:hidden;border:1px solid var(--haber-border);box-shadow:var(--haber-shadow)}
.post-featured-image img{width:100%;object-fit:cover}
.post-summary-box{background:linear-gradient(135deg,#fff,#f8fafc)!important;border:1px solid var(--haber-border)!important;border-left:4px solid var(--haber-red)!important;border-radius:0 12px 12px 0!important;color:#475467!important;padding:16px 18px!important}
.post-content{font-size:17px;line-height:1.9;color:#344054}
.post-content h2,.post-content h3{color:var(--haber-navy);letter-spacing:-.25px}
.post-content blockquote{border-left:4px solid var(--haber-red);background:#f8fafc;border-radius:0 12px 12px 0;padding:16px 20px;color:#475467}
.post-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.post-tag{border:1px solid var(--haber-border);border-radius:999px;padding:5px 10px;background:#fff;color:#667085}
.post-tag:hover{background:var(--haber-red);border-color:var(--haber-red);color:#fff}

/* Footer */
#footer-top{background:linear-gradient(135deg,#0b1220,#151f31);border-top:0;padding:48px 0 30px}
.footer-logo{color:#fff;font-family:'Source Sans 3','Segoe UI',sans-serif;font-size:28px}
.footer-desc{color:#98a2b3}
.footer-widget-title{font-size:12px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:12px;position:relative}
.footer-widget-title:after{content:'';position:absolute;left:0;bottom:-1px;width:36px;height:2px;background:var(--haber-red)}
.footer-social-link{border:1px solid rgba(255,255,255,.10);border-radius:10px;color:#aab4c4}
.footer-social-link:hover{background:var(--haber-red);border-color:var(--haber-red);transform:translateY(-3px)}
.footer-links li,.footer-recent li{border-color:rgba(255,255,255,.07)}
.footer-links li a,.footer-recent-title a{color:#aab4c4}
.footer-links li a:hover,.footer-recent-title a:hover{color:#fff}
#footer-bottom{background:#070c15;border-top:1px solid rgba(255,255,255,.07);padding:16px 0}

/* Images / accessibility / motion */
img{border-radius:0}
:focus-visible{outline:3px solid rgba(215,25,32,.25);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Mobile */
@media(max-width:991.98px){
  #header-main{padding:15px 0}.site-logo img.custom-logo{max-height:56px}
  #content-area{padding-top:20px}.main-content-col{padding-right:8px}.sidebar-col{padding-left:8px}
  .main-menu{display:none}.navbar-haber{justify-content:flex-end}
  .nav-search-btn{height:50px}
}
@media(max-width:767.98px){
  #topbar{padding:6px 0}.topbar-date{font-size:10px}.topbar-right{justify-content:center;margin-top:4px}.topbar-links{display:none!important}
  #breaking-news{padding:5px 0}.breaking-label{font-size:9px;padding:5px 9px}.breaking-ticker a{font-size:11px}
  #header-main{text-align:center;padding:14px 0}.site-title-text{font-size:30px}.site-tagline{font-size:9px;letter-spacing:1px}
  #content-area{padding:16px 0 30px}.main-content-col,.sidebar-col{padding-left:10px;padding-right:10px}
  .section-title{font-size:15px}.section-more-link{font-size:9px;padding:5px 8px}
  .news-block{border-radius:13px}.news-block-body{padding:12px}.news-block-title{font-size:15px}.news-block-meta{font-size:9.5px}
  .category-section-body{padding:12px;border-radius:13px}
  .sidebar-widget{border-radius:13px}.widget-header{padding:11px 13px}.widget-body{padding:12px}
  .post-content{font-size:16px;line-height:1.78}.post-title{font-size:29px!important;line-height:1.12}
}
@media(max-width:575.98px){
  .container{padding-left:12px;padding-right:12px}.news-block-title{font-size:14px}.news-block-summary{font-size:12px}
  .news-block-img img{aspect-ratio:16/10}.sidebar-col{margin-top:8px}.post-content img{border-radius:10px}
}

/* JS reveal states */
.premium-reveal{opacity:0;transform:translateY(12px);transition:opacity .55s ease,transform .55s cubic-bezier(.2,.65,.3,1)}
.premium-reveal.premium-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.premium-reveal{opacity:1;transform:none}}


/* ============================================================
   ANA SAYFA DÜZENİ – KÜÇÜK HABERLER SLIDERIN ALTINDA
   Sağdaki Son Haberler bloğu kaldırıldı; ana slider tam genişlikte.
   ============================================================ */
#numbered-slider .container {
    max-width: 1200px;
}
#numbered-slider .row {
    --bs-gutter-x: 0;
}
#numbered-slider .ns-container {
    width: 100%;
}
#numbered-slider .ns-container .ns-image {
    height: clamp(360px, 48vw, 620px);
}

/* Menü altındaki küçük haber görselleri artık ana sliderın altında */
#numbered-slider + .featured-horizontal {
    margin-top: 20px;
    margin-bottom: 24px;
}

@media (max-width: 991.98px) {
    .footer-custom-logo,
    .footer-logo-wrap .custom-logo {
        max-width: 190px;
        max-height: 68px;
    }
    #numbered-slider .ns-container .ns-image {
        height: 420px;
    }
}

@media (max-width: 767.98px) {
    .footer-custom-logo,
    .footer-logo-wrap .custom-logo {
        max-width: 170px;
        max-height: 60px;
    }
    #numbered-slider .ns-container .ns-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #numbered-slider .ns-container .ns-image {
        height: 230px;
    }
}

/* ============================================================
   ANA SLIDER + PREMIUM SAĞ HABER KARTLARI
   Mevcut tema yapısı korunur; sadece ana sayfa üst alanı düzenlenir.
   ============================================================ */
#numbered-slider .row {
    align-items: stretch;
}

#numbered-slider .ns-container {
    height: 100%;
    min-height: 0;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(10, 20, 35, .14);
}

#numbered-slider .ns-container .ns-image {
    height: clamp(330px, 31vw, 430px);
}

.home-random-news {
    height: 100%;
    min-height: 330px;
    padding: 18px;
    border: 1px solid rgba(20, 30, 45, .08);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f7f8fb 100%);
    box-shadow: 0 12px 34px rgba(10, 20, 35, .10);
    overflow: hidden;
}

.home-random-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(20, 30, 45, .09);
}

.home-random-kicker {
    display: block;
    margin-bottom: 3px;
    color: #d71920;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.home-random-news-head h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.35px;
}

.home-random-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(215, 25, 32, .08);
    color: #b71319;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
    white-space: nowrap;
}

.home-random-live span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d71920;
    box-shadow: 0 0 0 4px rgba(215, 25, 32, .10);
    animation: homeRandomPulse 1.7s ease-in-out infinite;
}

.home-random-list {
    display: grid;
    gap: 10px;
}

.home-random-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 8px;
    border-radius: 13px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(20, 30, 45, .055);
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(10,20,35,.045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.home-random-card:hover {
    transform: translateY(-2px);
    border-color: rgba(215,25,32,.18);
    box-shadow: 0 9px 22px rgba(10,20,35,.10);
}

.home-random-image {
    position: relative;
    height: 76px;
    overflow: hidden;
    border-radius: 10px;
    background: #e9edf2;
}

.home-random-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-random-card:hover .home-random-image img {
    transform: scale(1.07);
}

.home-random-number {
    position: absolute;
    left: 6px;
    bottom: 6px;
    min-width: 23px;
    padding: 3px 5px;
    border-radius: 6px;
    background: rgba(10,16,25,.78);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    backdrop-filter: blur(5px);
}

.home-random-content {
    min-width: 0;
}

.home-random-category {
    display: block;
    margin-bottom: 3px;
    color: #d71920;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.home-random-content h3 {
    display: -webkit-box;
    margin: 0 0 5px;
    overflow: hidden;
    color: #18202c;
    font-size: 12.5px;
    line-height: 1.28;
    font-weight: 750;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-random-time {
    color: #8a93a0;
    font-size: 9px;
    line-height: 1;
}

@keyframes homeRandomPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.78); }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .home-random-news { padding: 14px; }
    .home-random-card { grid-template-columns: 92px minmax(0,1fr); gap: 9px; padding: 6px; }
    .home-random-image { height: 65px; }
    .home-random-content h3 { font-size: 11.5px; }
    .home-random-news-head h2 { font-size: 18px; }
}

@media (max-width: 991.98px) {
    #numbered-slider .ns-container .ns-image { height: 390px; }
    .home-random-news { margin-top: 2px; min-height: 0; }
    .home-random-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767.98px) {
    #numbered-slider .ns-container .ns-image { height: 290px; }
    .home-random-news { padding: 13px; border-radius: 15px; }
    .home-random-list { grid-template-columns: 1fr; }
    .home-random-card { grid-template-columns: 105px minmax(0,1fr); }
    .home-random-image { height: 70px; }
}

@media (max-width: 480px) {
    #numbered-slider .ns-container .ns-image { height: 230px; }
    .home-random-news-head h2 { font-size: 17px; }
    .home-random-card { grid-template-columns: 96px minmax(0,1fr); }
    .home-random-image { height: 65px; }
}

/* ============================================================
   MOBİL DÜZELTME – SAĞ RASTGELE HABERLERİ GİZLE
   ve ÖNE ÇIKAN YATAY BLOĞU 2'Lİ KAYDIRILABİLİR GÖSTER
   ============================================================ */
@media (max-width: 767.98px) {
    /* Ana sliderın sağındaki rastgele haber paneli yalnızca masaüstünde görünür. */
    #numbered-slider .home-random-news,
    #numbered-slider .col-lg-4:has(.home-random-news) {
        display: none !important;
    }

    /* Öne Çıkan Yatay Blok: ekranda aynı anda iki kart. */
    .featured-horizontal {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }

    .featured-mini-slider {
        width: 100%;
        overflow: hidden;
        touch-action: pan-y;
    }

    .featured-mini-slider .mini-slider {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        width: max-content;
        max-width: none;
        transition: transform .5s ease;
        will-change: transform;
    }

    .featured-mini-slider .mini-slide,
    .featured-mini-slider .mini-slide:first-child,
    .featured-mini-slider .mini-slide:last-child {
        flex: 0 0 calc((100vw - 34px) / 2);
        width: calc((100vw - 34px) / 2);
        min-width: calc((100vw - 34px) / 2);
        max-width: calc((100vw - 34px) / 2);
    }

    .featured-mini-slider .mini-slide-inner {
        width: 100%;
        aspect-ratio: 5 / 3;
        border-radius: 10px;
    }

    .featured-mini-slider .mini-slide-caption {
        padding: 7px 8px 8px;
    }

    .featured-mini-slider .mini-slide-title {
        font-size: clamp(10px, 2.7vw, 12px);
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }
}

@media (min-width: 768px) {
    /* Sağdaki rastgele haberler masaüstünde görünmeye devam eder. */
    #numbered-slider .home-random-news {
        display: block;
    }
}

/* Mobil logo: daha büyük, net ve responsive */
@media (max-width: 767.98px) {
  #header-main { padding: 18px 0 16px; }
  .site-logo { min-height: 72px; padding: 2px 8px; }
  .site-logo a, .site-logo img.custom-logo {
    max-width: 92vw;
    height: auto;
    object-fit: contain;
  }
  .site-logo img.custom-logo {
    image-rendering: auto;
    filter: drop-shadow(0 2px 7px rgba(16,24,40,.12));
  }
}
@media (max-width: 480px) {
  .site-logo { min-height: 68px; }
}
