/*
Theme Name: Haber Temasi Pro
Theme URI: https://isparta.biz
Author: WordPress Developer
Author URI: https://example.com
Description: Profesyonel WordPress haber teması. Dark tasarım, numaralı manşet slider, AJAX haber yükleme, SEO optimizasyonu, touch slider desteği.
Version: 4.2.0
Requires at least: 5.8
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haber-temasi
Tags: news, magazine, dark, responsive, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:      #cc0000;
  --primary-dark: #990000;
  --bg:           #0d0d0d;
  --bg2:          #141414;
  --bg3:          #1a1a1a;
  --bg4:          #222222;
  --border:       #2a2a2a;
  --border2:      #333333;
  --text:         #e8e8e8;
  --text2:        #aaaaaa;
  --text3:        #777777;
  --white:        #ffffff;
  --header-h:     58px;
  --topbar-h:     36px;
  --nav-h:        46px;
  --font:         'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Roboto Condensed', -apple-system, sans-serif;
  --radius:       4px;
  --shadow:       0 2px 12px rgba(0,0,0,.5);
  --trans:        .2s ease;
  --slide-speed:  5000ms;
  scroll-padding-top: calc(var(--header-h) + var(--nav-h) + 10px);
}

/* ============================================================
   1b. LIGHT MODE (gazete32.com.tr renk temasindan ilham)
   Panel > Genel Ayarlar > Renk Modu = Açık Mod seçildiğinde
   body.ht-light-mode sınıfı eklenir ve bu değişkenler devreye girer.
   ============================================================ */
body.ht-light-mode {
  --bg:           #f5f5f5;
  --bg2:          #ffffff;
  --bg3:          #eeeeee;
  --bg4:          #e2e2e2;
  --border:       #d8d8d8;
  --border2:      #cccccc;
  --text:         #1a1a1a;
  --text2:        #444444;
  --text3:        #777777;
  --white:        #ffffff;
  --shadow:       0 2px 12px rgba(0,0,0,.12);
}

/* Top bar - light */
body.ht-light-mode .top-bar { background: #e8e8e8; }
body.ht-light-mode .top-links a { color: #555; }
body.ht-light-mode .top-links a:hover { color: #111; background: #ddd; }
body.ht-light-mode .top-date { color: #888; }

/* Header - light */
body.ht-light-mode .site-header { background: #ffffff; border-bottom-color: #d8d8d8; }
body.ht-light-mode .site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.12); }
body.ht-light-mode .logo-text { color: #111; }
body.ht-light-mode .header-icon-btn { background: #f0f0f0; border-color: #d8d8d8; color: #555; }
body.ht-light-mode .header-login-btn { background: #f0f0f0; border-color: #d8d8d8; color: #444; }
body.ht-light-mode .hamburger span { background: #444; }

/* Navigation - light */
body.ht-light-mode .site-nav { background: #ffffff; border-bottom-color: #d8d8d8; }
body.ht-light-mode .nav-menu > li > a { color: #333; }
body.ht-light-mode .nav-menu > li > a:hover,
body.ht-light-mode .nav-menu > li.current-menu-item > a,
body.ht-light-mode .nav-menu > li.current-menu-ancestor > a { color: #111; }
body.ht-light-mode .nav-menu .sub-menu { background: #fff; border-color: #d8d8d8; }
body.ht-light-mode .nav-menu .sub-menu li a { color: #444; border-bottom-color: #e8e8e8; }
body.ht-light-mode .nav-menu .sub-menu li a:hover { color: #111; background: #f5f5f5; }
@media (max-width: 768px) {
  body.ht-light-mode .nav-menu { background: #ffffff !important; border-top-color: var(--primary) !important; border-right-color: #d8d8d8 !important; }
  body.ht-light-mode .nav-menu > li > a { border-bottom-color: #e8e8e8 !important; }
}

/* Hero & Slider - light */
body.ht-light-mode .hero-wrap { background: #ffffff; border-bottom-color: #d8d8d8; }
body.ht-light-mode .slider-wrap { background: #f5f5f5; border-right-color: #d8d8d8; }
body.ht-light-mode .slider-tabs { background: #ffffff; border-bottom-color: #d8d8d8; }
body.ht-light-mode .slider-tab { color: #666; }
body.ht-light-mode .slider-tab.active, body.ht-light-mode .slider-tab:hover { color: #111; }
body.ht-light-mode .slider-pagination { background: #f5f5f5; border-top-color: #d8d8d8; }
body.ht-light-mode .slider-num { background: #e8e8e8; border-color: #d0d0d0; color: #555; }
body.ht-light-mode .slider-num:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Light modda mobil slider noktaları - beyaz zemin üzerinde görünür */
@media (max-width: 767px) {
  body.ht-light-mode .slider-num { background: rgba(0,0,0,.18) !important; border: none !important; }
  body.ht-light-mode .slider-num.is-active { background: var(--primary) !important; }
}

/* Light modda mobil (560px altı): featured card body static konuma geçince
   başlık rengi beyaz (#fff) kalır → beyaz arka plan üzerinde görünmez.
   Spesifite artırılarak koyu renge zorlanır. */
@media (max-width: 560px) {
  body.ht-light-mode .news-card-featured .card-title { color: #1a1a1a !important; text-shadow: none !important; }
  body.ht-light-mode .news-card-featured .card-excerpt { color: #555 !important; }
  body.ht-light-mode .news-card-featured .card-meta { color: #888 !important; }
  body.ht-light-mode .news-card-featured .card-body { background: transparent !important; }
}
body.ht-light-mode .slider-arrow { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.12); color: #555; }
body.ht-light-mode .slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Mini Slider - light */
body.ht-light-mode .mini-slider-wrap { background: #ffffff; }
body.ht-light-mode .mini-thumbs { background: #f5f5f5; border-top-color: #d8d8d8; scrollbar-color: #ccc transparent; }
body.ht-light-mode .mini-thumb { border-bottom-color: #e8e8e8; }
body.ht-light-mode .mini-thumb:hover { background: #ebebeb; }
body.ht-light-mode .mini-thumb.is-active { background: rgba(204,0,0,.05); border-left-color: var(--primary); }
body.ht-light-mode .mini-thumb-title { color: #555; }
body.ht-light-mode .mini-thumb.is-active .mini-thumb-title { color: #111; }
body.ht-light-mode .mini-slider-nav { background: #f5f5f5; border-top-color: #d8d8d8; }
body.ht-light-mode .mini-counter { color: #888; }

/* Sections - light */
body.ht-light-mode .section-alt { background: #f0f0f0; }
body.ht-light-mode .section-head { border-bottom-color: #d8d8d8; }
body.ht-light-mode .section-title { color: #111; }
body.ht-light-mode .view-all { color: #888; }

/* News Cards - light */
body.ht-light-mode .news-card { background: #ffffff; border-color: #e0e0e0; }
body.ht-light-mode .news-card:hover { border-color: #ccc; }
body.ht-light-mode .card-img { background: #e8e8e8; }
body.ht-light-mode .card-title { color: #1a1a1a; }
body.ht-light-mode .card-excerpt { color: #555; }
body.ht-light-mode .card-meta { color: #888; }
/* Featured card masaüstü: card-body position:absolute + siyah gradient üzerinde
   - başlık/excerpt/meta beyaz kalmalı */
body.ht-light-mode .news-card-featured .card-title   { color: #fff; }
body.ht-light-mode .news-card-featured .card-excerpt { color: rgba(255,255,255,.85); }
body.ht-light-mode .news-card-featured .card-meta    { color: rgba(255,255,255,.7); }

/* Popular - light */
body.ht-light-mode .popular-item { border-bottom-color: #e8e8e8; }
body.ht-light-mode .popular-content .p-title { color: #1a1a1a; }
body.ht-light-mode .popular-content .p-date { color: #888; }

/* Sidebar & Widgets - light */
body.ht-light-mode .widget-box { background: #ffffff; border-color: #e0e0e0; }
body.ht-light-mode .widget-box-title { background: #f0f0f0; color: #111; }
body.ht-light-mode .widget-title { background: #f0f0f0; color: #555; }
body.ht-light-mode .widget-post { border-bottom-color: #e8e8e8; }
body.ht-light-mode .widget-post-title { color: #1a1a1a; }
body.ht-light-mode .widget-post-date { color: #888; }

/* Single Article - light */
body.ht-light-mode .single-article--framed { background: #ffffff; border-color: #e0e0e0; }
body.ht-light-mode .article-divider { border-top-color: #e8e8e8; }
body.ht-light-mode .single-title { color: #111; }
body.ht-light-mode .single-excerpt { color: #555; }
body.ht-light-mode .single-meta { color: #888; border-bottom-color: #e8e8e8; }
body.ht-light-mode .single-featured-img figcaption { background: #f5f5f5; color: #777; }
body.ht-light-mode .post-content { color: #1a1a1a; }
body.ht-light-mode .post-content h2,
body.ht-light-mode .post-content h3 { color: #111; }
body.ht-light-mode .post-content blockquote { background: #f5f5f5; color: #555; }
body.ht-light-mode .post-tag { background: #f0f0f0; border-color: #e0e0e0; color: #555; }
body.ht-light-mode .ht-toolbar__btn { background: #f0f0f0; border-color: #e0e0e0; color: #555; }
body.ht-light-mode .ht-toolbar__readers { background: #f0f0f0; border-color: #e0e0e0; color: #555; }
body.ht-light-mode .ht-toolbar__btn:hover { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }
body.ht-light-mode .social-share { border-top-color: #e8e8e8; border-bottom-color: #e8e8e8; }
body.ht-light-mode .social-share-label { color: #666; }
body.ht-light-mode .author-box { background: #f5f5f5; border-color: #e0e0e0; }
body.ht-light-mode .author-box-name { color: #111; }
body.ht-light-mode .author-box-bio { color: #666; }
body.ht-light-mode .comments-title { color: #111; }
body.ht-light-mode .comment-item { background: #f5f5f5; border-color: #e0e0e0; }
body.ht-light-mode .comment-item__author { color: #111; }
body.ht-light-mode .comment-item__text { color: #333; }
body.ht-light-mode .comment-respond { background: #f5f5f5; border-color: #e0e0e0; }
body.ht-light-mode .comment-reply-title { color: #111; }
body.ht-light-mode .comment-form-comment textarea { background: #fff; border-color: #d8d8d8; color: #1a1a1a; }

/* Gutenberg Blocks - light */
body.ht-light-mode .wp-block-quote { background: #f5f5f5; }
body.ht-light-mode .wp-block-quote p { color: #555; }
body.ht-light-mode .wp-block-pullquote p { color: #1a1a1a; }
body.ht-light-mode .wp-block-separator { border-top-color: #e0e0e0; }
body.ht-light-mode .wp-block-table td,
body.ht-light-mode .wp-block-table th { border-color: #e0e0e0; }
body.ht-light-mode .wp-block-table th { background: #f0f0f0; color: #111; }
body.ht-light-mode .wp-block-table tr:nth-child(even) td { background: rgba(0,0,0,.025); }
body.ht-light-mode .wp-block-code { background: #f8f8f8; border-color: #e0e0e0; }
body.ht-light-mode .wp-block-code code { color: #1a1a1a; }
body.ht-light-mode .wp-block-list li { color: #1a1a1a; }
body.ht-light-mode .wp-block-heading { color: #111; }
body.ht-light-mode .page-links > .page-numbers,
body.ht-light-mode .page-links a { background: #f0f0f0; border-color: #e0e0e0; color: #555; }

/* Footer - light */
body.ht-light-mode .site-footer { background: #f0f0f0; border-top-color: #d8d8d8; }
body.ht-light-mode .footer-grid { border-bottom-color: #d8d8d8; }
body.ht-light-mode .footer-col h4 { color: #666; border-bottom-color: #d8d8d8; }
body.ht-light-mode .footer-about { color: #777; }
body.ht-light-mode .footer-contact { color: #777; }
body.ht-light-mode .footer-contact a { color: #777; }
body.ht-light-mode .footer-contact i { color: #999; }
body.ht-light-mode .footer-links-list a { color: #777; }
body.ht-light-mode .footer-links-list a:hover { color: #333; }
body.ht-light-mode .footer-logo-text { color: #111; }
body.ht-light-mode .social-btn { background: #e8e8e8; border-color: #d8d8d8; color: #666; }
body.ht-light-mode .footer-bottom { border-top-color: #d8d8d8; }
body.ht-light-mode .footer-copy { color: #888; }
body.ht-light-mode .footer-nav .footer-menu a { color: #888; }
body.ht-light-mode .footer-nav .footer-menu a:hover { color: #333; }
body.ht-light-mode .footer-legal { background: #e8e8e8; border-top-color: #d0d0d0; }
body.ht-light-mode .footer-legal p { color: #999; }
body.ht-light-mode .footer-legal a { color: #777; }

/* Pagination & UI - light */
body.ht-light-mode .pagination a,
body.ht-light-mode .pagination span { background: #f0f0f0; border-color: #e0e0e0; color: #555; }
body.ht-light-mode .load-more-btn:disabled { background: #ccc; }
body.ht-light-mode .load-more-btn.done { background: #e0e0e0; color: #999; }
body.ht-light-mode .breadcrumb-bar { background: #f5f5f5; border-bottom-color: #e0e0e0; }
body.ht-light-mode .breadcrumb a { color: #888; }
body.ht-light-mode .breadcrumb-sep { color: #bbb; }
body.ht-light-mode .breadcrumb-current { color: #555; }
body.ht-light-mode .search-overlay { background: rgba(255,255,255,.95); }
body.ht-light-mode .search-overlay-close { background: #f0f0f0; border-color: #e0e0e0; color: #555; }
body.ht-light-mode .search-form .search-field { color: #111; }
body.ht-light-mode .search-form .search-field::placeholder { color: #aaa; }
body.ht-light-mode .search-form-row { background: #f5f5f5; border-color: #e0e0e0; }
body.ht-light-mode .search-form-row .search-field { color: #1a1a1a; }
body.ht-light-mode .search-form-row .search-field::placeholder { color: #aaa; }
body.ht-light-mode .cookie-bar { background: #fff; border-top-color: #e0e0e0; }
body.ht-light-mode .cookie-text { color: #666; }
body.ht-light-mode .cookie-decline { color: #555; border-color: #e0e0e0; }
body.ht-light-mode input[type="text"],
body.ht-light-mode input[type="email"],
body.ht-light-mode input[type="url"],
body.ht-light-mode input[type="tel"],
body.ht-light-mode input[type="search"],
body.ht-light-mode input[type="password"],
body.ht-light-mode select,
body.ht-light-mode textarea { background: #ffffff; border-color: #d8d8d8; color: #1a1a1a; }
body.ht-light-mode select option { background: #fff; color: #1a1a1a; }

/* Archive / Author / Tag - light */
body.ht-light-mode .archive-desc { color: #666; }
body.ht-light-mode .archive-count { color: #888; }
body.ht-light-mode .archive-page-info { color: #888; }
body.ht-light-mode .tag-desc { color: #555; }
body.ht-light-mode .empty-state p { color: #888; }
body.ht-light-mode .author-card { background: #f5f5f5; border-color: #e0e0e0; }
body.ht-light-mode .author-card__name { color: #111; }
body.ht-light-mode .author-card__bio { color: #555; }
body.ht-light-mode .author-card__meta { color: #888; }
body.ht-light-mode .yazar-card { background: #ffffff; border-color: #e0e0e0; color: #1a1a1a; }
body.ht-light-mode .yazar-card__name { color: #111; }
body.ht-light-mode .yazar-card__img { border-color: #e0e0e0; }
body.ht-light-mode .yazar-card__no-img { background: #e8e8e8; border-color: #e0e0e0; }
body.ht-light-mode .yazar-card__no-img i { color: #bbb; }
body.ht-light-mode .yazar-card__unvan { color: #777; }
body.ht-light-mode .yazar-profil { background: #f5f5f5; border-color: #e0e0e0; }
body.ht-light-mode .yazar-profil__ad { color: #111; }
body.ht-light-mode .yazar-profil__no-img { background: #e8e8e8; border-color: #d0d0d0; }
body.ht-light-mode .yazar-bio { background: #f5f5f5; border-color: #e0e0e0; }
body.ht-light-mode .yazar-bio p { color: #555; }
body.ht-light-mode .yazar-yazi-card { background: #ffffff; border-color: #e0e0e0; }
body.ht-light-mode .yazar-yazi-card__baslik { color: #1a1a1a; }
body.ht-light-mode .yazar-yazi-card__tarih { color: #888; }

/* 404 - light */
body.ht-light-mode .error-404-title { color: #111; }
body.ht-light-mode .error-404-desc { color: #777; }

/* Ad areas - light */
body.ht-light-mode .ht-ad--slider_top,
body.ht-light-mode .ht-ad--slider_bottom { background: transparent; border-top-color: transparent; border-bottom-color: transparent; }

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -100px; left: 10px; z-index: 99999; background: var(--primary); color: #fff; padding: 8px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 14px; }
#page { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { min-height: 60vh; flex: 1; }

/* ============================================================
   3. TOP BAR
   ============================================================ */
.top-bar { background: #060606; height: var(--topbar-h); border-bottom: 1px solid var(--border); overflow: hidden; }
@media (max-width: 768px) {
  .top-bar { position: sticky; top: 0; z-index: 1001; }
  .site-header { top: var(--topbar-h) !important; }
  /* Top-bar kapalıysa: header en üstten başlasın, boşluk kalmasın */
  body.ht-no-topbar .site-header { top: 0 !important; }
  body.ht-no-topbar .nav-menu {
    top: var(--header-h) !important;
    height: calc(100vh - var(--header-h)) !important;
  }
}

/* ── TEMA TOGGLE BUTONU (AMPÜL) ── */
/* Dark modda güneş ikonu göster (light'a geç demek), light modda ay göster */
.theme-icon-light { display: none; }
.theme-icon-dark  { display: inline-block; }
body.ht-light-mode .theme-icon-light { display: inline-block; }
body.ht-light-mode .theme-icon-dark  { display: none; }
/* Aktif modda buton hafif vurgulu */
.js-theme-toggle { transition: background var(--trans), color var(--trans), border-color var(--trans); }
body.ht-light-mode .js-theme-toggle { background: var(--bg3); border-color: var(--border); color: var(--text2); }
/* Tooltip benzeri hover efekti */
.js-theme-toggle:hover { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.top-links { display: flex; overflow-x: auto; scrollbar-width: none; }
.top-links::-webkit-scrollbar { display: none; }
.top-links ul { list-style: none; margin: 0; padding: 0; display: flex; }
.top-links li { list-style: none; }
.top-links a {
  color: #888; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px;
  white-space: nowrap; padding: 0 10px; height: var(--topbar-h); display: flex; align-items: center;
  border-right: 1px solid var(--border); transition: color var(--trans), background var(--trans);
}
.top-links a:hover { color: #fff; background: #111; }
.top-date { color: #555; font-size: 11px; white-space: nowrap; padding-left: 10px; }

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header {
  background: var(--bg2); height: var(--header-h); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000; display: flex; align-items: center;
  transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.8); }
.site-header .container { width: 100%; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); position: relative; }
.header-left { display: flex; align-items: center; flex: 1; justify-content: flex-start; }
.site-logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  display: flex; align-items: center; z-index: 2; text-decoration: none; flex-shrink: 0;
}
.site-logo img { height: 38px; width: auto; object-fit: contain; }
.logo-text { font-family: var(--font-heading); font-size: 26px; font-weight: 900; color: var(--white); letter-spacing: -.5px; white-space: nowrap; }
.logo-text .accent { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.header-icon-btn {
  width: 36px; height: 36px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 14px; transition: all var(--trans); cursor: pointer; flex-shrink: 0;
}
.header-icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.header-login-btn {
  display: flex; align-items: center; gap: 7px; padding: 0 14px; height: 36px;
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
  color: #ccc; font-size: 12px; font-weight: 600; transition: all var(--trans); white-space: nowrap;
}
.header-login-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; position: relative; z-index: 1001; }
.hamburger.open { z-index: 10001; }
.hamburger span { width: 22px; height: 2px; background: #ccc; border-radius: 2px; transition: all var(--trans); display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (min-width: 769px) { .header-left .hamburger { display: none; } .header-left { visibility: visible; pointer-events: auto; } }
@media (max-width: 768px) {
  .hamburger { display: flex !important; }
  .header-left { visibility: visible !important; pointer-events: auto !important; }
  .header-actions { gap: 6px; }
  .header-login-btn span { display: none; }
  .header-login-btn { padding: 0 10px; }
  .logo-text { font-size: 20px; }
  .site-logo img { max-width: 130px; height: 34px; }
  .site-logo .logo-text { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--bg2); border-bottom: 2px solid var(--border); height: var(--nav-h);
  position: sticky; top: var(--header-h); z-index: 999; display: flex; align-items: stretch;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: 100%; }
.nav-menu { display: flex; align-items: center; height: 100%; }
.nav-menu > li { position: relative; height: 100%; }
.nav-menu > li > a {
  display: flex; align-items: center; height: 100%; padding: 0 14px;
  font-size: 13px; font-weight: 700; color: #ccc; text-transform: uppercase; letter-spacing: .3px;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--trans); white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a { color: var(--white); border-bottom-color: var(--primary); }
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--bg3); border: 1px solid var(--border); border-top: 2px solid var(--primary);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--trans); z-index: 9999;
}
.nav-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li a { display: block; padding: 10px 16px; font-size: 13px; color: #bbb; border-bottom: 1px solid var(--border); transition: all var(--trans); }
.nav-menu .sub-menu li a:hover { color: #fff; background: var(--bg4); padding-left: 20px; }
.nav-live-btn { display: none !important; }
/* Header live button */
.header-live-btn {
  display: flex; align-items: center; gap: 6px; padding: 5px 12px;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: var(--radius); text-transform: uppercase; flex-shrink: 0;
  transition: background var(--trans); margin-left: 10px; white-space: nowrap;
}
.header-live-btn:hover { background: var(--primary-dark); color: #fff; }
.live-dot { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

/* Mobil: CANLI yazısını gizle, sadece yanıp sönen nokta kalsın */
@media (max-width: 768px) {
  .header-live-btn {
    padding: 6px 10px;
    margin-left: 8px;
    min-width: 0;
    gap: 0;
  }
  .header-live-btn .live-dot {
    width: 10px;
    height: 10px;
  }
  /* CANLI metin etiketini gizle — sadece .live-dot noktası görünsün */
  .header-live-btn .live-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-nav { height: 0 !important; overflow: visible !important; border: none !important; background: transparent !important; position: sticky !important; top: var(--header-h) !important; z-index: 9998 !important; pointer-events: none; }
  .nav-inner { pointer-events: none; height: 0; overflow: visible; }
  .nav-menu {
    pointer-events: all; display: none !important; position: fixed !important;
    top: calc(var(--header-h) + var(--topbar-h)) !important; left: 0 !important; width: 82% !important;
    max-width: 300px !important; bottom: 0 !important;
    height: calc(100vh - var(--header-h) - var(--topbar-h)) !important; background: var(--bg2) !important;
    flex-direction: column !important; align-items: flex-start !important; overflow-y: auto !important;
    z-index: 9999 !important; padding: 8px 0 8px 0 !important;
    box-shadow: 4px 0 20px rgba(0,0,0,.5) !important;
    border-top: 2px solid var(--primary) !important; border-right: 1px solid var(--border) !important;
  }
  .nav-menu.open { display: flex !important; }
  .nav-menu > li { width: 100%; height: auto; }
  .nav-menu > li > a { padding: 12px 20px 12px 16px; border-bottom: 1px solid var(--border) !important; margin-bottom: 0 !important; font-size: 14px; height: auto !important; display: block !important; }
  /* Sub-menu: JS accordion ile kontrol edilir — başlangıçta kapalı */
  .nav-menu .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border: none !important;
    background: var(--bg3) !important;
    box-shadow: none !important;
    min-width: 0 !important;
    width: 100% !important;
    display: none !important; /* JS açacak */
    height: auto !important;
    top: auto !important;
    left: auto !important;
  }
  .nav-menu .menu-item-has-children.sub-open > .sub-menu { display: block !important; }

  /* Mobilde tüm li'lerin height:100% ve position:relative'ini sıfırla */
  .nav-menu > li {
    height: auto !important;
    position: static !important;
  }

  /* Ana li: ok butonunu sağa yapıştır */
  .nav-menu > li.menu-item-has-children {
    position: relative !important;
    display: block !important;
  }
  .nav-menu > li.menu-item-has-children > a {
    display: block !important;
    width: calc(100% - 49px) !important;
    min-height: 48px;
    box-sizing: border-box;
  }

  /* Chevron (ok) butonu — sadece ana link satırının sağına sabit */
  .sub-toggle {
    position: absolute !important;
    top: 0; right: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg2); border: none; border-left: 1px solid var(--border);
    cursor: pointer; color: var(--text2); flex-shrink: 0;
    transition: color .2s ease, background .2s ease;
    z-index: 2;
  }
  .sub-toggle:hover, .sub-toggle.open { color: var(--primary); background: rgba(255,255,255,.05); }
  .sub-toggle svg { transition: transform .25s ease; }
  .sub-toggle.open svg { transform: rotate(180deg); }

  /* Sub-menu içindeki linkler */
  .nav-menu .sub-menu li { width: 100%; }
  .nav-menu .sub-menu li a {
    padding: 10px 16px 10px 28px !important;
    font-size: 13px !important; border-bottom: 1px solid var(--border) !important;
    display: block; color: var(--text2) !important;
  }
  .nav-menu .sub-menu li:last-child > a { border-bottom: none !important; }
  .nav-menu .sub-menu li a:hover { color: var(--white) !important; background: var(--bg4) !important; }

  /* Light mod */
  body.ht-light-mode .sub-toggle { color: #888; border-left-color: #e0e0e0; }
  body.ht-light-mode .sub-toggle:hover,
  body.ht-light-mode .sub-toggle.open { color: var(--primary); background: #f5f5f5; }
  body.ht-light-mode .nav-menu .sub-menu li a { color: #555 !important; border-bottom-color: #eee !important; }
  body.ht-light-mode .nav-menu .sub-menu li a:hover { color: #111 !important; background: #f0f0f0 !important; }

  :root { --nav-h: 0px; }
}

/* ============================================================
   6. BREAKING NEWS TICKER
   ============================================================ */
.breaking-bar { background: var(--primary); padding: 8px 0; }
.breaking-inner { display: flex; align-items: center; gap: 15px; overflow: hidden; }
.breaking-label { background: #fff; color: var(--primary); font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 2px; text-transform: uppercase; flex-shrink: 0; letter-spacing: .5px; }
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: ht-ticker 50s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ht-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}
.ticker-item { color: #fff; font-size: 13px; font-weight: 500; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.3); }
.ticker-item:hover { color: #ffcccc; }
@media (max-width: 768px) { .ticker-track { animation-duration: 38s; } }
@media (max-width: 480px) { .ticker-track { animation-duration: 28s; } .ticker-item { font-size: 12px; padding: 0 14px; } }

/* ============================================================
   7. HERO / ANA SLIDER
   ============================================================ */
.hero-wrap { background: var(--bg2); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 0; min-height: 480px; align-items: stretch; }
.slider-wrap { background: var(--bg); display: flex; flex-direction: column; border-right: 1px solid var(--border); overflow: hidden; }

.slider-tabs { display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--border); background: var(--bg2); overflow-x: auto; scrollbar-width: none; }
.slider-tabs::-webkit-scrollbar { display: none; }
.slider-tab {
  padding: 11px 16px; font-size: 13px; font-weight: 700; color: #888; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all var(--trans); white-space: nowrap;
  background: none; border-top: none; border-left: none; border-right: none; display: inline-flex; align-items: center;
}
.slider-tab.active, .slider-tab:hover { color: #fff; border-bottom-color: var(--primary); }
.slider-tab--link { text-decoration: none; }

.slider-stage { position: relative; flex: 1; overflow: hidden; min-height: 380px; background: #000; transform: translateZ(0); will-change: contents; }
.slider-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease; z-index: 0; overflow: hidden; }
.slider-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slider-slide.is-prev   { opacity: 0; visibility: visible; z-index: 1; transition: opacity .4s ease; }

/* İlk slide JS yüklenene kadar görünür */
#ht-slider .slider-slide:first-child { opacity: 1 !important; visibility: visible !important; z-index: 2 !important; }
#ht-slider.js-slider-ready .slider-slide:first-child:not(.is-active):not(.is-prev) { opacity: 0 !important; visibility: hidden !important; z-index: 0 !important; }

.slide-img-link { position: absolute; inset: 0; display: block; z-index: 1; outline: none; }
.slide-img-link img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.80) 18%, rgba(0,0,0,.3) 32%, transparent 45%);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 0 22px 20px; pointer-events: none; z-index: 2;
}
.slide-overlay > a, .slide-overlay > .slide-cat, .slide-overlay .slide-title-link { pointer-events: all; }
.slide-cat {
  display: inline-block; width: fit-content; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px;
  align-self: flex-start; flex-shrink: 0; transition: background var(--trans);
  max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.slide-cat:hover { background: var(--primary-dark); color: #fff; }
.slide-title-link { display: block; text-decoration: none; width: 100%; }
.slide-title-link:hover .slide-title { opacity: .85; }
.slide-title {
  color: #fff; font-family: var(--font-heading); font-size: clamp(24px,3.2vw,36px);
  font-weight: 900; line-height: 1.15; letter-spacing: -.5px; text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  word-break: break-word; width: 100%; margin-bottom: 8px;
  /* Büyüme engeli */
  max-height: calc(1.15em * 3);
  flex-shrink: 0;
}
.slide-excerpt {
  color: rgba(255,255,255,.82); font-size: clamp(12px,1.2vw,14px); font-style: italic;
  font-weight: 400; line-height: 1.4; margin: 0; pointer-events: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,.8); width: 100%;
  /* Büyüme engeli */
  max-height: calc(1.4em * 2);
  flex-shrink: 0;
}

/* Slider pagination */
.slider-pagination { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--bg); border-top: 1px solid var(--border); min-height: 46px; gap: 8px; }
.slider-nums { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; flex: 1; }
.slider-num {
  min-width: 28px; height: 28px; padding: 0 5px; background: var(--bg3); border-radius: 3px;
  font-size: 11px; font-weight: 700; color: #666; cursor: pointer;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--border);
  transition: background .2s ease, color .2s ease, border-color .2s ease; position: relative; overflow: hidden;
}
.slider-num:hover, .slider-num.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.slider-num.is-active::after { content: ''; position: absolute; bottom: 0; left: 0; height: 2px; background: rgba(255,255,255,.6); animation: num-progress var(--slide-speed,5000ms) linear forwards; }
.slider-num:not(.is-active)::after { display: none !important; }
@keyframes num-progress { from { width: 0%; } to { width: 100%; } }
.slider-arrows { display: flex; gap: 4px; align-items: center; }
.slider-arrow { width: 32px; height: 32px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; color: rgba(255,255,255,.7); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s ease; backdrop-filter: blur(4px); }
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.slider-arrow:active { transform: scale(.94); }

@media (max-width: 768px) { .hero-wrap .container { padding: 0; max-width: 100%; } }
@media (max-width: 767px) {
  .slider-nums { gap: 4px !important; justify-content: center; flex-wrap: nowrap !important; overflow: hidden; max-width: 100%; }
  .slider-num { min-width: 7px !important; width: 7px !important; height: 7px !important; flex-shrink: 0 !important; padding: 0 !important; border-radius: 50% !important; font-size: 0 !important; background: rgba(255,255,255,.28) !important; border: none !important; color: transparent !important; }
  .slider-num .num-text { display: none; }
  .slider-num .num-dot  { display: block; width: 100%; height: 100%; }
  .slider-num.is-active { background: var(--primary) !important; width: 18px !important; border-radius: 4px !important; }
  .slider-pagination { padding: 7px 8px !important; }
  .hero-grid { grid-template-columns: 1fr; }
  .slider-wrap { width: 100%; border-right: none; }
  .slider-stage { min-height: 260px !important; touch-action: pan-y pinch-zoom; }
}
@media (max-width: 480px) { .slider-stage { min-height: 220px !important; } .slide-title { font-size: 21px !important; } .slide-excerpt { display: none; } }

/* ============================================================
   8. MİNİ SLIDER (SAĞ)
   ============================================================ */
.mini-slider-wrap { display: flex; flex-direction: column; background: var(--bg2); overflow: hidden; position: relative; }
.mini-slider-stage { position: relative; flex: 0 0 200px; overflow: hidden; background: #000; }
.mini-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s cubic-bezier(.4,0,.2,1); z-index: 0; }
.mini-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.mini-slide a { display: block; height: 100%; position: relative; outline: none; }
.mini-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.92) 0%,rgba(0,0,0,.75) 20%,rgba(0,0,0,.2) 35%,transparent 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 12px 8px; pointer-events: none; overflow: hidden; }
.mini-slide-overlay > * { pointer-events: all; flex-shrink: 0; }
.mini-slide-title { color: #fff; font-family: var(--font-heading); font-size: 18px; font-weight: 800; line-height: 1.3; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.9); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 5px; max-height: calc(1.3em * 3); flex-shrink: 0; }
.mini-thumbs { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; background: var(--bg3); border-top: 1px solid var(--border); }
.mini-thumbs::-webkit-scrollbar { width: 3px; }
.mini-thumbs::-webkit-scrollbar-track { background: transparent; }
.mini-thumbs::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.mini-thumb { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .2s ease; width: 100%; text-align: left; background: transparent; position: relative; overflow: hidden; }
.mini-thumb:last-child { border-bottom: none; }
.mini-thumb:hover { background: var(--bg4); }
.mini-thumb.is-active { background: rgba(204,0,0,.08); border-left: 3px solid var(--primary); }
.mini-thumb:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.mini-thumb img { width: 50px; height: 34px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.mini-thumb-title { font-size: 11px; font-weight: 600; color: #aaa; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-thumb.is-active .mini-thumb-title { color: #fff; font-weight: 500; }
.mini-progress-bar { display: none !important; }
.mini-slider-nav { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: var(--bg); border-top: 1px solid var(--border); flex-shrink: 0; min-height: 38px; }
.mini-counter { font-size: 11px; font-weight: 700; color: #555; font-variant-numeric: tabular-nums; }

@media (max-width: 960px) { .hero-grid { grid-template-columns: 3fr 2fr; } }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .mini-slider-wrap { border-top: 2px solid var(--border); } }

/* ============================================================
   9. SECTIONS & HABER KARTLARI
   ============================================================ */
.section { padding: 18px 0; content-visibility: auto; contain-intrinsic-size: 0 400px; }
.section-alt { background: var(--bg2); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); position: relative; }
.section-head::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: var(--primary); }
.section-title { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: #fff; text-transform: uppercase; }
.section-title .accent { color: var(--primary); }
.view-all { font-size: 12px; color: #555; transition: color var(--trans); }
.view-all:hover { color: var(--primary); }

.news-grid   { display: grid; gap: 14px; }
.news-grid-4 { grid-template-columns: repeat(4,1fr); }
.news-grid-3 { grid-template-columns: repeat(3,1fr); }
.news-grid-2 { grid-template-columns: repeat(2,1fr); }

.news-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--border2); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0; background: var(--bg4); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .card-img img { transform: scale(1.04); }
.card-cat { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 2px; text-transform: uppercase; }
.card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--text); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card-title:hover { color: var(--primary); }
.card-excerpt { font-size: 12px; color: var(--text2); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text3); margin-top: auto; }
.card-meta i { margin-right: 4px; }

.news-card-featured { grid-column: span 2; grid-row: span 2; position: relative; }
.news-card-featured .card-img { aspect-ratio: unset; height: 100%; min-height: 280px; }
.news-card-featured .card-body { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.55) 60%,transparent 100%); padding: 40px 16px 14px; border-radius: 0; }
.news-card-featured .card-title { font-size: 17px; -webkit-line-clamp: 4; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.news-card-featured .card-title:hover { color: var(--primary); }
.news-card-featured .card-excerpt { -webkit-line-clamp: 3; color: rgba(255,255,255,.85); }
.news-card-featured .card-meta { color: rgba(255,255,255,.65); }
.sticky .news-card { border-color: var(--primary); }

/* Popular */
.popular-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.popular-list { display: flex; flex-direction: column; }
.popular-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.popular-item:last-child { border-bottom: none; }
.popular-num { min-width: 34px; height: 34px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 800; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.popular-content .p-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-content .p-title:hover { color: var(--primary); }
.popular-content .p-date { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ============================================================
   10. SIDEBAR & WIDGETS
   ============================================================ */
.content-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 14px; }
/* Sidebar içinde flex gap kullanıldığından ek margin'ler kaldırıldı – widget kayma sorunu giderildi */
.sidebar .widget { margin-bottom: 0; }
.sidebar > * { width: 100%; max-width: 100%; box-sizing: border-box; }
.widget-box { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.widget-box-title { padding: 10px 14px; font-size: 13px; font-weight: 800; text-transform: uppercase; color: #fff; background: var(--bg4); border-bottom: 2px solid var(--primary); letter-spacing: .3px; }
.widget-title { font-size: 12px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: .5px; padding: 10px 14px; background: var(--bg4); border-bottom: 2px solid var(--primary); margin: 0; }
.widget { margin-bottom: 20px; }
.widget-post { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.widget-post:last-child { border-bottom: none; }
.widget-post-img { width: 70px; height: 50px; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.widget-post-img img { width: 100%; height: 100%; object-fit: cover; }
.widget-post-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-post-title:hover { color: var(--primary); }
.widget-post-date { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ============================================================
   11. TEKİL HABER (single.php)
   ============================================================ */
.page-wrap     { padding-top: 24px; padding-bottom: 40px; }
.page-wrap--sm { padding-top: 24px; padding-bottom: 32px; }
.single .site-main { padding: 0; }
.single-article--framed { border: 1px solid var(--border); border-radius: 8px; overflow: visible; background: var(--bg2); }
.article-header { padding: 28px 28px 0; }
.article-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0 0; }
.article-body { padding: 24px 28px 28px; }
.single-cat-badge { display: inline-block; margin-bottom: 14px; }
.single-title { font-family: var(--font-heading); font-size: 30px; font-weight: 900; line-height: 1.3; color: #fff; margin-bottom: 14px; }
.single-excerpt { font-size: 17px; font-weight: 400; line-height: 1.7; color: var(--text2); margin: 0 0 14px; }
.single-meta { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: 12px; color: #666; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.single-meta a { color: inherit; }
.single-meta a:hover { color: var(--primary); }
.single-meta i { margin-right: 4px; }
.single-featured-img { margin-bottom: 22px; margin-left: -28px; margin-right: -28px; overflow: hidden; }
.single-featured-img img { width: 100%; height: auto; display: block; }
.single-featured-img figcaption { font-size: 11px; color: #555; padding: 7px 10px; background: var(--bg3); text-align: center; }
.video-play-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 13px; font-weight: 700; margin-bottom: 20px; transition: background var(--trans); }
.video-play-link:hover { background: var(--primary-dark); color: #fff; }

.post-content { color: var(--text); font-size: 16px; line-height: 1.85; }
.post-content p   { margin-bottom: 18px; }
.post-content h2  { font-size: 22px; font-weight: 700; margin: 28px 0 14px; color: #fff; }
.post-content h3  { font-size: 18px; font-weight: 700; margin: 22px 0 12px; color: #fff; }
.post-content img { border-radius: var(--radius); margin: 16px 0; }
.post-content a   { color: var(--primary); }
.post-content blockquote { border-left: 3px solid var(--primary); padding: 10px 16px; background: var(--bg3); margin: 18px 0; font-style: italic; color: var(--text2); }

.post-tags { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 18px; }
.post-tags-label { font-size: 12px; font-weight: 700; color: #666; }
.post-tag { display: inline-block; padding: 4px 11px; background: var(--bg3); border: 1px solid var(--border); border-radius: 3px; font-size: 11px; color: #aaa; transition: all var(--trans); }
.post-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.social-share { display: flex; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 20px 0; }
.social-share-label { font-size: 13px; font-weight: 600; color: #aaa; margin-right: 6px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; transition: opacity var(--trans); }
.share-btn:hover { opacity: .85; }
.share-twitter  { background: #1da1f2; }
.share-facebook { background: #1877f2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-linkedin { background: #0077b5; }

.author-box { display: flex; gap: 16px; padding: 20px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 26px; align-items: flex-start; }
.author-box-avatar { border-radius: 50%; flex-shrink: 0; }
.author-box-name { font-size: 16px; font-weight: 700; color: #fff; display: block; margin-bottom: 6px; }
.author-box-name:hover { color: var(--primary); }
.author-box-bio { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 8px; }
.author-box-link { font-size: 12px; color: var(--primary); font-weight: 600; }
.author-box-link:hover { text-decoration: underline; }

.related-posts { margin-top: 30px; }
.related-head { margin-bottom: 16px; }

/* Comments */
.comments-area { margin-top: 30px; }
.comments-title { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item { display: flex; gap: 14px; padding: 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); }
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.comment-item__body { flex: 1; }
.comment-item__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-item__author { font-size: 14px; font-weight: 700; color: #fff; }
.comment-item__date { font-size: 11px; color: var(--text3); }
.comment-item__pending { font-size: 12px; color: var(--primary); font-style: italic; margin-bottom: 8px; }
.comment-item__text { font-size: 14px; color: var(--text); line-height: 1.6; }
.comment-item__reply { margin-top: 10px; }
.comment-reply-link { font-size: 12px; font-weight: 600; color: var(--primary); }
.comment-reply-link:hover { color: #fff; }
.comment-respond { margin-top: 24px; padding: 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); }
.comment-reply-title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form-comment textarea { width: 100%; padding: 12px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 14px; resize: vertical; min-height: 120px; }
.comment-form-comment textarea:focus { outline: none; border-color: var(--primary); }
.comment-form-author, .comment-form-email, .comment-form-url { display: none; }

/* Yorum Gönder Butonu */
.comment-form .submit,
.comment-form input[type="submit"] { 
  display: inline-block;
  padding: 12px 32px; 
  background: var(--primary); 
  border: none; 
  border-radius: var(--radius);
  color: #fff; 
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer; 
  transition: all var(--trans);
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.25);
  text-transform: none;
}

.comment-form .submit:hover,
.comment-form input[type="submit"]:hover { 
  background: var(--primary-dark); 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.35);
}

.comment-form .submit:active,
.comment-form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(204, 0, 0, 0.25);
}

/* Light mode için buton */
body.ht-light-mode .comment-form .submit,
body.ht-light-mode .comment-form input[type="submit"] {
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.2);
}

body.ht-light-mode .comment-form .submit:hover,
body.ht-light-mode .comment-form input[type="submit"]:hover {
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .single-title { font-size: 22px; }
  .single-excerpt { font-size: 15px; }
  .single-featured-img { margin-left: -16px; margin-right: -16px; }
  .article-header { padding: 18px 16px 0; }
  .article-body { padding: 16px 16px 20px; }
}
@media (max-width: 480px) { .author-box { flex-direction: column; } }

/* ============================================================
   12. VİDEO / YOUTUBE EMBED (RESPONSİF)
   ============================================================ */
/* Gutenberg embed */
.wp-block-embed { margin: 20px 0; clear: both; }
.wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.wp-block-embed__wrapper iframe,
.wp-block-embed__wrapper object,
.wp-block-embed__wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Tema video sarıcısı (video_url meta için) */
.ht-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; margin: 20px 0; background: #000; border-radius: 4px; }
.ht-video-wrap iframe,
.ht-video-wrap object,
.ht-video-wrap embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   13. GUTENBERG BLOCKS
   ============================================================ */
.wp-block-image { margin: 20px 0; }
.wp-block-image figcaption { font-size: 12px; color: #666; text-align: center; margin-top: 6px; font-style: italic; }
.alignwide  { margin-left: -24px; margin-right: -24px; max-width: calc(100% + 48px); }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
/* Haber içinde embed/video tam ekran olmasın */
.post-content .alignfull,
.post-content .alignwide,
.post-content .wp-block-embed { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; width: 100% !important; }
.post-content .wp-block-embed__wrapper { position: relative !important; padding-bottom: 56.25% !important; height: 0 !important; overflow: hidden !important; max-width: 100% !important; width: 100% !important; }
.post-content .wp-block-embed__wrapper iframe { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; border: 0; }
.alignleft  { float: left; margin: 0 20px 14px 0; }
.alignright { float: right; margin: 0 0 14px 20px; }
.aligncenter { text-align: center; margin: 0 auto; }
.wp-block-quote { border-left: 3px solid var(--primary); padding: 12px 18px; background: var(--bg3); margin: 20px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.wp-block-quote p { font-size: 16px; font-style: italic; color: var(--text2); margin: 0; line-height: 1.7; }
.wp-block-quote cite { font-size: 12px; color: #666; margin-top: 8px; display: block; }
.wp-block-pullquote { text-align: center; border-top: 3px solid var(--primary); border-bottom: 3px solid var(--primary); padding: 20px; margin: 24px 0; }
.wp-block-pullquote p { font-size: 20px; font-style: italic; color: var(--text); line-height: 1.6; }
.wp-block-separator { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.wp-block-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--border); padding: 10px 14px; text-align: left; font-size: 14px; }
.wp-block-table th { background: var(--bg3); color: #fff; font-weight: 700; }
.wp-block-table tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.wp-block-code { background: #0a0a0a; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; overflow-x: auto; }
.wp-block-code code { font-family: 'Courier New',monospace; font-size: 13px; color: #e8e8e8; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.wp-block-button__link { display: inline-block; padding: 10px 22px; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 14px; font-weight: 700; transition: background var(--trans); }
.wp-block-button__link:hover { background: var(--primary-dark); color: #fff; }
.wp-block-list { padding-left: 20px; margin: 12px 0; }
.wp-block-list li { color: var(--text); font-size: 15px; line-height: 1.7; margin-bottom: 6px; }
.wp-block-heading { color: #fff; margin: 28px 0 14px; }
.wp-block-paragraph { margin-bottom: 16px; }
.wp-block-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 20px 0; }
.wp-block-gallery figure { margin: 0; overflow: hidden; border-radius: 3px; }
.wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.wp-block-gallery figure:hover img { transform: scale(1.04); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 11px; color: #666; text-align: center; margin-top: 4px; font-style: italic; }
.page-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 20px 0; font-size: 13px; color: #666; }
.page-links > .page-numbers, .page-links a { min-width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); color: #aaa; transition: all var(--trans); padding: 0 8px; }
.page-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   14. REKLAM ALANLARI
   ============================================================ */

/* Temel wrapper */
.ht-ad { display: block; text-align: center; max-width: 100%; box-sizing: border-box; contain: layout; }
.ht-ad:empty { display: none; }
@supports (overflow: clip) { .ht-ad { overflow: clip; } }

/* Ana sayfa leaderboard (slider üstü/altı, anasayfa orta) */
.ht-ad--leaderboard { width: 100%; max-width: min(728px, 100%); margin: 16px auto; min-height: 90px; }
.ht-ad--leaderboard ins.adsbygoogle,
.ht-ad--leaderboard iframe { max-width: 100% !important; overflow: hidden !important; }

/* Slider üstü / altı — transparan, kenarsız */
.ht-ad--slider_top,
.ht-ad--slider_bottom { background: transparent; border: none; padding: 0; margin: 0 !important; }
.ht-ad--slider_bottom .ht-ad--leaderboard { margin: 8px auto; }

/* Sidebar */
.ht-ad--sidebar,
.sidebar .ht-ad--sidebar { width: 100%; max-width: 100%; margin: 0; }

/* Sayfa / arşiv / yazar alanları */
.ht-ad--page_top,
.ht-ad--page_bottom,
.ht-ad--author_top,
.ht-ad--author_mid,
.ht-ad--archive_top {
    width: 100%;
    max-width: min(728px, 100%);
    margin: 12px auto;
    padding: 0;
    background: transparent;
    border: none;
    display: block;
    clear: both;
}
.ht-ad--page_sidebar,
.ht-ad--author_sidebar,
.ht-ad--yazar_sidebar { background: transparent; border: none; margin: 0; }

/* ── Haber Detay: 3 reklam alanı (slider_bottom mantığıyla aynı) ── */
.ht-ad--single-resim-alti,
.ht-ad--single-haber-ortasi,
.ht-ad--single-haber-sonu {
    width: 100%;
    max-width: min(728px, 100%);
    padding: 0;
    background: transparent;
    border: none;
    display: block;
    clear: both;
}
/* Resim altı — resimle içerik arasında dengeli boşluk */
.ht-ad--single-resim-alti  { margin: 10px auto 12px; }
/* Haber ortası — paragraflar arası nefes alsın ama abartma */
.ht-ad--single-haber-ortasi { margin: 14px auto; }
/* Haber sonu — paylaşım butonları öncesi */
.ht-ad--single-haber-sonu  { margin: 12px auto 10px; }

/* AdSense ins/iframe — tam blok, ortalı, taşmaz */
.ht-ad ins.adsbygoogle { display: block !important; width: 100% !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
.ht-ad iframe { display: block !important; max-width: 100% !important; box-sizing: border-box !important; margin-left: auto !important; margin-right: auto !important; }

/* post-content içindeki ins/iframe taşma koruması */
.post-content ins,
.post-content ins.adsbygoogle { max-width: 100% !important; width: 100% !important; display: block !important; box-sizing: border-box !important; margin-left: auto !important; margin-right: auto !important; }
.post-content iframe { max-width: 100% !important; box-sizing: border-box !important; }

/* Layout shift koruması */
.single-article { min-width: 0; }
.content-sidebar > article { min-width: 0; overflow: clip; }
.article-body { overflow: clip; }

/* Kule */
.ht-tower-wrap { position: fixed; top: 50%; transform: translateY(-50%); left: 0; right: 0; pointer-events: none; z-index: 90; display: flex; justify-content: space-between; width: 100%; }
.ht-tower { pointer-events: all; width: 160px; min-height: 600px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ht-tower--left { margin-left: 10px; }
.ht-tower--right { margin-right: 10px; }
.ht-tower ins, .ht-tower iframe, .ht-tower img { max-width: 160px; }
@media (max-width: 1440px) { .ht-tower-wrap { display: none; } }

/* ============================================================
   15. NEWSLETTER
   ============================================================ */
.newsletter { background: linear-gradient(90deg,var(--primary) 0%,var(--primary-dark) 100%); padding: 24px 0; flex-shrink: 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.newsletter-text h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.newsletter-text p  { font-size: 12px; color: rgba(255,255,255,.8); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { padding: 10px 14px; border: none; border-radius: var(--radius); font-size: 13px; width: 260px; background: rgba(255,255,255,.95); }
.newsletter-form input:focus { outline: none; }
.newsletter-form input.error { border: 2px solid #ff4444 !important; background: rgba(255,68,68,.08) !important; }
.newsletter-btn { padding: 10px 20px; background: #000; color: #fff; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; transition: background var(--trans); white-space: nowrap; border: none; }
.newsletter-btn:hover { background: #111; }
.newsletter-msg { display: none; font-size: 13px; margin-top: 8px; }
@media (max-width: 768px) {
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; }
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer { background: #050505; border-top: 1px solid var(--border); padding: 40px 0 0; flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-col h4 { font-size: 12px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.footer-brand { margin-bottom: 14px; }
.footer-about { font-size: 13px; color: #555; line-height: 1.7; margin-top: 8px; }
.footer-contact { font-size: 12px; color: #555; display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.footer-contact a { color: #555; transition: color var(--trans); }
.footer-contact a:hover { color: var(--primary); }
.footer-contact i { margin-right: 6px; color: #444; width: 14px; }
.footer-links-list { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
.footer-links-list li { list-style: none; }
.footer-links-list a { font-size: 12px; color: #555; transition: color var(--trans); display: flex; align-items: center; gap: 6px; }
.footer-links-list a::before { content: '›'; color: var(--primary); font-size: 14px; }
.footer-links-list a:hover { color: #bbb; }
.footer-logo-text { font-family: var(--font-heading); font-size: 22px; font-weight: 900; color: #fff; }
.footer-logo-text .accent { color: var(--primary); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.social-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: #777; font-size: 14px; transition: all var(--trans); }
.social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); }
.footer-copy { font-size: 12px; color: #444; }
.footer-nav .footer-menu { display: flex; gap: 14px; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav .footer-menu a { font-size: 11px; color: #444; transition: color var(--trans); }
.footer-nav .footer-menu a:hover { color: #888; }
.footer-legal { background: #000; padding: 12px 0; text-align: center; border-top: 1px solid #0a0a0a; flex-shrink: 0; }
.footer-legal p { font-size: 11px; color: #2a2a2a; }
.footer-legal a { color: #444; transition: color var(--trans); }
.footer-legal a:hover { color: #777; }

/* ============================================================
   17. GENEL UI
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 5px; margin: 24px 0; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: #aaa; transition: all var(--trans); padding: 0 8px; }
.pagination a:hover, .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .current { pointer-events: none; }
.load-more-wrap { display: flex; justify-content: center; padding: 24px 0 8px; }
.load-more-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 28px; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; transition: background var(--trans); border: none; }
.load-more-btn:hover { background: var(--primary-dark); }
.load-more-btn:disabled { background: #333; cursor: not-allowed; }
.load-more-btn.done { background: #2a2a2a; color: #555; cursor: default; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-top { position: fixed; bottom: 24px; right: 20px; width: 42px; height: 42px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all var(--trans); z-index: 998; box-shadow: var(--shadow); border: none; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.08); z-index: 9999; }
.reading-progress-bar { height: 100%; background: var(--primary); width: 0; transition: width .1s linear; }
.breadcrumb-bar { background: var(--bg2); padding: 10px 0; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: #444; }
.breadcrumb-current { color: var(--text2); }
.search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 99999; display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-form { width: min(680px,90vw); }
.search-overlay-close { position: absolute; top: 20px; right: 24px; width: 42px; height: 42px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--border); color: #aaa; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all var(--trans); cursor: pointer; }
.search-overlay-close:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-form { width: 100%; }
.search-form .search-field { width: 100%; padding: 14px 16px; font-size: 18px; background: transparent; border: none; border-bottom: 2px solid var(--primary); color: #fff; border-radius: 0; }
.search-form .search-field:focus { outline: none; }
.search-form .search-field::placeholder { color: #444; }
.search-form .search-submit { display: none; }
.search-wrap { max-width: 640px; margin: 0 auto; }
.search-form-row { display: flex; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.search-form-row .search-field { flex: 1; padding: 13px 16px; background: transparent; border: none; color: var(--text); font-size: 15px; }
.search-form-row .search-field:focus { outline: none; }
.search-form-row .search-field::placeholder { color: #555; }
.search-form-row .search-submit { padding: 0 20px; background: var(--primary); border: none; color: #fff; font-size: 14px; cursor: pointer; transition: background var(--trans); }
.search-form-row .search-submit:hover { background: var(--primary-dark); }
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg3); border-top: 1px solid var(--border); padding: 14px 0; z-index: 9998; display: none; opacity: 0; transform: translateY(100%); transition: opacity .3s, transform .3s; }
.cookie-bar.visible { opacity: 1; transform: translateY(0); }
.cookie-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-text { font-size: 12px; color: #aaa; flex: 1; }
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept { padding: 8px 18px; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 12px; font-weight: 700; cursor: pointer; border: none; }
.cookie-decline { padding: 8px 18px; background: transparent; color: #888; border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; cursor: pointer; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"], select, textarea { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font); font-size: 14px; padding: 10px 12px; transition: border-color var(--trans); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
select option { background: var(--bg3); color: var(--text); }
.ht-no-views .views-meta { display: none !important; }

/* ============================================================
   18. ARŞİV / YAZAR / TAG
   ============================================================ */
.archive-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--primary); }
.archive-desc  { font-size: 13px; color: var(--text3); margin-top: 8px; line-height: 1.6; }
.archive-count { margin-top: 6px; display: inline-block; font-size: 12px; color: var(--text3); }
.archive-page-info { text-align: center; color: var(--text3); font-size: 13px; margin-top: 4px; }
.tag-desc { color: var(--text2); font-size: 13px; margin-top: 8px; }
.empty-state { text-align: center; padding: 60px 0; }
.empty-state p { color: var(--text3); font-size: 16px; margin-bottom: 20px; }
.empty-state--search p { color: #666; font-size: 18px; }
.btn-primary-link { display: inline-block; padding: 11px 28px; background: var(--primary); color: #fff; border-radius: var(--radius); font-weight: 700; font-size: 14px; transition: background var(--trans); }
.btn-primary-link:hover { background: var(--primary-dark); color: #fff; }
.author-card { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 28px; }
.author-card__info { flex: 1; min-width: 0; }
.author-card__name { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.author-card__bio  { color: var(--text2); font-size: 14px; line-height: 1.6; }
.author-card__meta { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--text3); }
.author-card__link { color: var(--primary); }

/* ══ YAZAR HERO BANNER ══ */
.ht-author-hero {
    position: relative;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 40px 0 36px;
}
.ht-author-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 55%);
    opacity: .08;
    pointer-events: none;
}
.ht-author-hero__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
}
.ht-author-hero__avatar-wrap {
    flex-shrink: 0;
    position: relative;
}
.ht-author-hero__avatar {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 3px solid var(--primary) !important;
    box-shadow: 0 0 0 4px var(--bg3), 0 8px 24px rgba(0,0,0,.35) !important;
}
.ht-author-hero__info { flex: 1; min-width: 0; }
.ht-author-hero__name {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.15;
    letter-spacing: -.3px;
}
.ht-author-hero__bio {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.65;
    margin: 0 0 14px;
    max-width: 560px;
}

/* İstatistikler */
.ht-author-hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.ht-author-stat {
    display: flex;
    flex-direction: column;
    padding: 0 18px 0 0;
}
.ht-author-stat:first-child { padding-left: 0; }
.ht-author-stat__val {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}
.ht-author-stat__lbl {
    font-size: 10px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-top: 2px;
}
.ht-author-stat__sep {
    width: 1px;
    height: 32px;
    background: var(--border);
    margin: 0 18px 0 0;
    flex-shrink: 0;
}

/* Sosyal butonlar */
.ht-author-hero__social { display: flex; gap: 8px; flex-wrap: wrap; }
.ht-author-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 14px;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.ht-author-social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ht-author-social-btn--x:hover { background: #000; border-color: #000; }

/* Light mod uyumu */
body.ht-light-mode .ht-author-hero { background: #f0f0f0; }
body.ht-light-mode .ht-author-hero__name { color: #111; }
body.ht-light-mode .ht-author-hero__bg { opacity: .05; }
body.ht-light-mode .ht-author-social-btn { background: #fff; border-color: #ddd; color: #555; }

/* Mobil */
@media (max-width: 600px) {
    .ht-author-hero__inner { flex-direction: column; text-align: center; align-items: center; }
    .ht-author-hero__bio { max-width: 100%; }
    .ht-author-hero__stats { justify-content: center; }
    .ht-author-hero__social { justify-content: center; }
    .ht-author-hero__name { font-size: 22px; }
    .ht-author-hero__avatar { width: 90px !important; height: 90px !important; }
}

/* ============================================================
   19. YAZARLAR CPT
   ============================================================ */
.yazarlar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 40px; }
.yazar-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 24px 16px 20px; transition: box-shadow var(--trans),transform var(--trans),border-color var(--trans); text-decoration: none; color: var(--text); }
.yazar-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--border2); }
.yazar-card__img { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin-bottom: 14px; border: 3px solid var(--border); flex-shrink: 0; }
.yazar-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yazar-card__no-img { width: 90px; height: 90px; border-radius: 50%; background: var(--bg4); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border: 3px solid var(--border); }
.yazar-card__no-img i { font-size: 36px; color: #444; }
.yazar-card__name { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 6px; line-height: 1.3; font-family: var(--font-heading); }
.yazar-card:hover .yazar-card__name { color: var(--primary); }
.yazar-card__unvan  { display: block; font-size: 12px; color: var(--text3); margin-bottom: 4px; }
.yazar-card__count  { display: inline-block; font-size: 11px; color: var(--primary); font-weight: 700; margin-top: 6px; background: rgba(204,0,0,.1); padding: 2px 10px; border-radius: 20px; }
.yazar-card__twitter { display: block; font-size: 11px; color: #1da1f2; margin-top: 6px; }
.yazar-profil { display: flex; align-items: center; gap: 24px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.yazar-profil__foto { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--primary); }
.yazar-profil__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yazar-profil__no-img { width: 110px; height: 110px; border-radius: 50%; background: var(--bg4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 3px solid var(--border); }
.yazar-profil__no-img i { font-size: 44px; color: #444; }
.yazar-profil__ad { font-family: var(--font-heading); font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.yazar-profil__unvan { display: block; font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.yazar-profil__twitter { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #1da1f2; font-weight: 600; }
.yazar-profil__twitter:hover { text-decoration: underline; color: #1da1f2; }
.yazar-bio { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 20px 24px; margin-bottom: 24px; }
.yazar-bio p { margin-bottom: 14px; color: var(--text2); line-height: 1.8; font-size: 15px; }
.yazar-bio p:last-child { margin-bottom: 0; }
.yazar-yazilari-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.yazar-yazi-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow var(--trans),transform var(--trans),border-color var(--trans); }
.yazar-yazi-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--border2); }
.yazar-yazi-card__img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.yazar-yazi-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.yazar-yazi-card:hover .yazar-yazi-card__img img { transform: scale(1.04); }
.yazar-yazi-card__body { padding: 12px; }
.yazar-yazi-card__baslik { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yazar-yazi-card:hover .yazar-yazi-card__baslik { color: var(--primary); }
.yazar-yazi-card__tarih { font-size: 11px; color: var(--text3); }
.yazar-yazi-card__tarih i { margin-right: 4px; }
@media (max-width: 1100px) { .yazarlar-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px)  { .yazarlar-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px)  { .yazarlar-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .yazar-profil { flex-direction: column; text-align: center; } .yazar-profil__foto { width: 90px; height: 90px; } .yazar-profil__ad { font-size: 22px; } }
@media (max-width: 800px)  { .yazar-yazilari-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px)  { .yazar-yazilari-grid { grid-template-columns: 1fr; } }

/* ── Yazar Son Yazısı ── */
.yazar-son-yazi { margin-bottom: 24px; }
.yazar-featured-yazi { display: grid; grid-template-columns: 280px 1fr; gap: 20px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow var(--trans), border-color var(--trans); }
.yazar-featured-yazi:hover { box-shadow: var(--shadow); border-color: var(--border2); }
.yazar-featured-yazi__img { overflow: hidden; height: 100%; min-height: 160px; }
.yazar-featured-yazi__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.yazar-featured-yazi:hover .yazar-featured-yazi__img img { transform: scale(1.04); }
.yazar-featured-yazi__body { padding: 20px 20px 20px 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.yazar-featured-yazi__title { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: #fff; line-height: 1.3; }
.yazar-featured-yazi:hover .yazar-featured-yazi__title { color: var(--primary); }
.yazar-featured-yazi__ozet { font-size: 14px; color: var(--text2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yazar-featured-yazi__tarih { font-size: 12px; color: var(--text3); }
.yazar-featured-yazi__tarih i { margin-right: 4px; }
body.ht-light-mode .yazar-featured-yazi { background: #ffffff; border-color: #e0e0e0; }
body.ht-light-mode .yazar-featured-yazi__title { color: #111; }
body.ht-light-mode .yazar-featured-yazi__ozet { color: #555; }
@media (max-width: 640px) { .yazar-featured-yazi { grid-template-columns: 1fr; } .yazar-featured-yazi__body { padding: 14px; } .yazar-featured-yazi__img { min-height: 180px; } }

/* ============================================================
   20. 404 SAYFASI
   ============================================================ */
.error-404 { padding: 60px 0 40px; text-align: center; }
.error-404-num { font-size: 120px; font-weight: 900; color: var(--primary); line-height: 1; font-family: var(--font-heading); }
.error-404-title { font-size: 26px; font-weight: 800; color: #fff; margin: 16px 0 12px; }
.error-404-desc { color: var(--text3); font-size: 15px; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.error-404-search { max-width: 480px; margin: 0 auto 24px; }

/* ============================================================
   20b. TAM SAYFA ŞABLONU (Widgetsiz, Ortalı)
   ============================================================ */
.page-wrap--fullwidth {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.page-article--fullwidth {
  width: 100%;
}
.post-content--fullwidth {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .page-wrap--fullwidth {
    max-width: 100%;
  }
}

/* ============================================================
   20c. TAM GENİŞ SAYFA (container--full, sidebar yok)
   ============================================================ */
.container--full {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
/* Makale tam genişliği kullanır */
.page-article--fullwide {
  width: 100%;
  max-width: 100%;
}
/* İçerik okunabilirlik için merkeze hizalanır ama genişliği kullanır */
.post-content--fullwide {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 900px) {
  .container--full {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ============================================================
   20d. GENİŞ SAYFA (container--wide, sidebar yok, kule reklam uyumlu)
   Normal container (1200px) ile tam geniş (100%) arasında:
   içerik+sidebar toplam genişliği kadar (~1140px), sidebar olmadan tek sütun.
   ============================================================ */
.container--wide {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}
.page-article--wide {
  width: 100%;
  max-width: 100%;
}
.post-content--wide {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 1200px) {
  .container--wide {
    max-width: 100%;
  }
}

/* ============================================================
   21. ADMİN
   ============================================================ */
.wp-admin input[type="text"],
.wp-admin input[type="email"],
.wp-admin input[type="url"],
.wp-admin input[type="number"],
.wp-admin textarea,
.wp-admin select { color: #1e1e1e !important; background: #fff !important; border-color: #8c8f94 !important; }
.wp-admin #ht_post_options input[type="url"],
.wp-admin #ht_post_options input[type="text"] { background: #fff !important; color: #1e1e1e !important; border: 1px solid #8c8f94 !important; }

/* ============================================================
   22. RESPONSIVE GENEL
   ============================================================ */
@media (max-width: 1100px) { .news-grid-4 { grid-template-columns: repeat(3,1fr); } .news-card-featured { grid-column: span 2; } .footer-grid { grid-template-columns: repeat(2,1fr); } .content-sidebar { grid-template-columns: 1fr 240px; } }
@media (max-width: 900px)  { .content-sidebar { grid-template-columns: 1fr; } .sidebar { display: none; } .news-grid-4 { grid-template-columns: repeat(2,1fr); } .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .popular-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px)  {
  .news-grid-4, .news-grid-3, .news-grid-2 { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: span 1; grid-row: span 1; }
  .news-card-featured .card-img { min-height: 180px; aspect-ratio: 16/9; height: auto; }
  /* Mobilde featured card: body statik konuma geçince overlay gradient olmaz */
  .news-card-featured .card-body { position: static; background: transparent; padding: 12px; }
  .news-card-featured .card-title { color: var(--text); font-size: 15px; text-shadow: none; }
  .news-card-featured .card-meta  { color: var(--text3); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   23. PRINT
   ============================================================ */
@media print {
  .site-header, .site-nav, .site-footer, .breaking-bar, .scroll-top, .cookie-bar, .ht-tower-wrap, .social-share { display: none !important; }
  body { background: #fff; color: #000; }
  .post-content { font-size: 12pt; line-height: 1.6; }
  a { color: #000; text-decoration: underline; }
}

/* ============================================================
   23b. HAREKET AZALTMA — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none !important; }
  .slider-slide { transition: none !important; }
}

/* ============================================================
   23c. MOBİL PERFORMANS — gereksiz efektleri kaldır
   ============================================================ */
@media (max-width: 767px) {
  /* Hover transform'ları mobilde dokunuşta tetiklenip layout kaymasına yol açar */
  .news-card:hover { transform: none; }
  .yazar-card:hover { transform: none; }
  .yazar-yazi-card:hover { transform: none; }
  /* Hover image zoom mobilde gereksiz */
  .news-card:hover .card-img img,
  .yazar-yazi-card:hover .yazar-yazi-card__img img { transform: none; }
  /* content-visibility: auto mobilde footer'ın yüklenmesini geciktirebilir — devre dışı */
  .site-footer { content-visibility: visible; }
}

/* === THEME TOOLTIP (Aydınlık Modu Deneyin) === */
#themeToggleBtn { position: relative; }

.theme-tooltip {
  display: none;
  position: fixed;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 8px 10px 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  align-items: center;
  gap: 8px;
  z-index: 99999;
  pointer-events: all;
}

.theme-tooltip.is-visible {
  display: flex;
  animation: tooltipBounce .4s cubic-bezier(.34,1.56,.64,1) forwards;
}

.theme-tooltip.is-visible { display: flex; }

/* Baloncuk oku */
.theme-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 14px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #f59e0b;
}

.theme-tooltip-close {
  background: rgba(0,0,0,.15);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  flex-shrink: 0;
  padding: 0;
}

.theme-tooltip-close:hover { background: rgba(0,0,0,.28); }

@keyframes tooltipBounce {
  from { opacity: 0; transform: translateY(-6px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   INFİNİTE SCROLL – STİLLER
   ============================================================ */

/* Makaleler arası ayırıcı — article-header içinde, başlıktan önce */
.ht-infinite-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--clr-muted);
    clear: both;
    position: relative;
    z-index: 1;
}
/* Her infinite item — taşmayı engelle */
.ht-infinite-item {
    position: relative;
    overflow: hidden;   /* position:absolute olan badge dışarı taşamasın */
}
.ht-infinite-item + .ht-infinite-item {
    margin-top: 0;
}

/* Infinite article içindeki kategori badge —
   .card-cat genel olarak position:absolute tanımlı,
   bu article-header içinde absolute davranmamalı */
.ht-infinite-article .article-header {
    position: relative;
    overflow: visible;
}
.ht-infinite-article .article-header .single-cat-badge.card-cat {
    position: static !important;
    display: inline-block;
    margin-bottom: 14px;
    float: none;
}
.ht-infinite-divider::before,
.ht-infinite-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--clr-border);
}
.ht-infinite-divider span {
    white-space: nowrap;
    padding: 4px 12px;
    background: var(--clr-primary);
    color: #fff;
    border-radius: 4px;
    font-size: .7rem;
}

/* Infinity article – ilk makaleden görsel olarak ayrı */
.ht-infinite-article {
    margin-top: 0;
    border-top: none;
}

/* Infinite scroll'da toolbar: resim olmayabilir, border-top goster */
.ht-infinite-article .ht-toolbar {
    border-top: 1px solid var(--clr-border);
    border-radius: 8px;
    margin-bottom: 0;
}

/* Başlık linki – single içindeki h2 için renk koruması */
.ht-inf-title-link {
    color: inherit;
    text-decoration: none;
}
.ht-inf-title-link:hover {
    color: var(--clr-primary);
}

/* ── Dalga Bar Loader ─────────────────────────────────────── */
.ht-infinite-loader {
    display: none;
    position: relative;
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: transparent;
    margin: 0;
    padding: 0;
}
.ht-infinite-loader.is-loading {
    display: block;
}
/* Dalganın arkasındaki soluk zemin çizgisi */
.ht-infinite-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--clr-primary) 15%, transparent);
}
/* Kayan dalga */
.ht-infinite-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--clr-primary) 40%,
        #ff4444 60%,
        transparent 100%
    );
    border-radius: 0 2px 2px 0;
    animation: htWave 1.4s ease-in-out infinite;
}
@keyframes htWave {
    0%   { left: -60%; opacity: .9; }
    50%  { opacity: 1; }
    100% { left: 110%; opacity: .9; }
}

/* Trigger – görünmez tetikleyici */
#ht-infinite-trigger {
    height: 1px;
    margin-top: -1px;
    pointer-events: none;
    visibility: hidden;
}

/* ============================================================
   ARAÇ ÇUBUĞU — Okuyanlar · Sesli Oku · Kaydet
   (Etiket pill stilinde, kompakt, mobilde tek satır)
   ============================================================ */
.ht-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 14px;
    background: color-mix(in srgb, var(--clr-card) 96%, var(--clr-primary) 4%);
    border: 1px solid var(--clr-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    flex-wrap: nowrap;          /* Tek satır */
    overflow-x: auto;
    scrollbar-width: none;
    backdrop-filter: blur(4px);
}
.ht-toolbar::-webkit-scrollbar { display: none; }

/* Resim ile toolbar arasındaki keskin geçişi yumuşat */
.single-featured-img + .ht-toolbar,
figure + .ht-toolbar {
    margin-top: 0;
}

/* Ayırıcı — gizle, pilllar zaten ayrı görünüyor */
.ht-toolbar__divider {
    display: none;
}

/* Şu an okuyanlar — pill stili */
.ht-toolbar__readers {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    color: var(--clr-muted);
    padding: 3px 10px 3px 8px;
    border-radius: 3px;
    background: var(--clr-bg3, var(--bg3, rgba(128,128,128,.08)));
    border: 1px solid var(--clr-border);
    white-space: nowrap;
    flex-shrink: 0;
}
.ht-toolbar__readers.is-visible {
    display: flex;
}
.ht-toolbar__readers-count {
    font-weight: 700;
    color: var(--clr-primary);
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    min-width: 14px;
    text-align: center;
}
/* Canlı yeşil nabız noktası */
.ht-readers-pulse {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: htPulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34,197,94,.5);
}
@keyframes htPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
    70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Toolbar butonları — pill stili (post-tag benzeri) */
.ht-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: var(--clr-bg3, var(--bg3, rgba(128,128,128,.08)));
    border: 1px solid var(--clr-border);
    border-radius: 3px;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 500;
    color: var(--clr-muted);
    transition: background .18s, color .18s, border-color .18s;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}
.ht-toolbar__btn:hover,
.ht-toolbar__btn:focus-visible {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    outline: none;
}
.ht-toolbar__btn.is-playing {
    color: var(--clr-primary);
    background: color-mix(in srgb, var(--clr-primary) 12%, transparent);
    border-color: color-mix(in srgb, var(--clr-primary) 40%, transparent);
}
.ht-toolbar__btn.is-paused {
    color: var(--clr-muted);
}
.ht-toolbar__btn.is-saved {
    color: var(--clr-primary);
    border-color: color-mix(in srgb, var(--clr-primary) 40%, transparent);
}
.ht-toolbar__btn:disabled {
    opacity: .5;
    cursor: wait;
}
.ht-toolbar__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ── Toast bildirimi ──────────────────────────────────────── */
.ht-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #1a1a1a;
    color: #fff;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    box-shadow: 0 4px 20px rgba(0,0,0,.35);
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
}
.ht-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobil uyum — tek satır kaydırmalı */
@media (max-width: 600px) {
    .ht-toolbar {
        gap: 5px;
        padding: 7px 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .ht-toolbar__btn {
        padding: 3px 8px;
        font-size: .72rem;
    }
    .ht-toolbar__readers {
        font-size: .72rem;
        padding: 3px 8px 3px 7px;
    }
}

/* ============================================================
   SAĞ PANEL – 3 TASARIM STİLİ  (v4.3)
   ============================================================ */

/* ── Stil 1: KLASİK – güçlendirilmiş orijinal stil ─────────── */
.mini-slider-wrap--classic .mini-thumb {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background .2s ease;
    width: 100%;
    text-align: left;
    background: transparent;
    position: relative;
    overflow: hidden;
}
.mini-slider-wrap--classic .mini-thumb:last-child { border-bottom: none; }
.mini-slider-wrap--classic .mini-thumb:hover { background: var(--bg4); }
.mini-slider-wrap--classic .mini-thumb.is-active {
    background: rgba(204,0,0,.08);
    border-left: 3px solid var(--primary);
}
.mini-slider-wrap--classic .mini-thumb-num {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: rgba(255,255,255,.07);
    width: 22px;
    flex-shrink: 0;
    line-height: 1;
    margin-right: 6px;
}
body.ht-light-mode .mini-slider-wrap--classic .mini-thumb-num { color: rgba(0,0,0,.12); }
body.ht-light-mode .mini-slider-wrap--classic .mini-thumb.is-active .mini-thumb-num { color: rgba(204,0,0,.25); }
.mini-slider-wrap--classic .mini-thumb img {
    width: 54px;
    height: 38px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    margin-right: 9px;
}
.mini-slider-wrap--classic .mini-thumb-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}
.mini-slider-wrap--classic .mini-thumb-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
}
.mini-slider-wrap--classic .mini-thumb-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #aaa;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mini-slider-wrap--classic .mini-thumb.is-active .mini-thumb-title { color: #fff; font-weight: 500; }
.mini-slider-wrap--classic .mini-thumb-time {
    font-size: 9.5px;
    color: var(--text3);
}
.mini-slider-wrap--classic .mini-slide-cat {
    display: inline-block;
    align-self: flex-start;
    background: var(--primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-bottom: 5px;
    max-width: max-content;
}

/* Light mode – Stil 1 */
body.ht-light-mode .mini-slider-wrap--classic .mini-thumb-title { color: #555; }
body.ht-light-mode .mini-slider-wrap--classic .mini-thumb.is-active .mini-thumb-title { color: #111; }

/* ── Stil 2: MODERN STRIP ──────────────────────────────────── */
.mini-slider-wrap--strips {
    display: flex;
    flex-direction: column;
    background: var(--bg2);
    overflow: hidden;
    position: relative;
}
.mss-header {
    padding: 0 14px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--primary);
    flex-shrink: 0;
    background: var(--bg2);
}
.mss-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
}
.mss-dots { display: flex; gap: 5px; }
.mss-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    cursor: pointer;
    transition: background .2s;
}
.mss-dot.is-active { background: var(--primary); }

/* Big stage */
.mss-stage {
    position: relative;
    flex: 0 0 190px;
    overflow: hidden;
    background: #000;
}
.mss-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
.mss-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.mss-slide a { display: block; height: 100%; position: relative; outline: none; }
.mss-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mss-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 12px 12px 10px;
    gap: 8px;
    pointer-events: none;
}
.mss-num {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 900;
    color: rgba(255,255,255,.1);
    line-height: 1;
    flex-shrink: 0;
}
.mss-info { flex: 1; min-width: 0; }
.mss-cat {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8b84b;
    margin-bottom: 3px;
}
.mss-slide-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0,0,0,.9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Strips */
.mss-strips { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }
.mss-strips::-webkit-scrollbar { width: 3px; }
.mss-strips::-webkit-scrollbar-thumb { background: var(--border2); }

.mss-strip {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background .15s ease;
    width: 100%;
    text-align: left;
    background: transparent;
    position: relative;
    overflow: hidden;
    min-height: 60px;
}
.mss-strip:last-child { border-bottom: none; }
.mss-strip:hover { background: var(--bg4); }
.mss-strip.is-active { background: rgba(204,0,0,.07); }
.mss-strip-accent {
    width: 3px;
    align-self: stretch;
    flex-shrink: 0;
    background: transparent;
    transition: background .2s;
}
.mss-strip:hover .mss-strip-accent,
.mss-strip.is-active .mss-strip-accent { background: var(--primary); }
.mss-strip img {
    width: 70px;
    height: 52px;
    object-fit: cover;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
}
.mss-strip-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    flex: 1;
    min-width: 0;
}
.mss-strip-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
}
.mss-strip-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: #aaa;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mss-strip.is-active .mss-strip-title { color: #fff; font-weight: 500; }
.mss-strip-time { font-size: 9px; color: var(--text3); }

/* Light – Stil 2 */
body.ht-light-mode .mini-slider-wrap--strips { background: #fff; }
body.ht-light-mode .mss-header { background: #fff; border-bottom-color: var(--primary); }
body.ht-light-mode .mss-title { color: #111; }
body.ht-light-mode .mss-strip-title { color: #555; }
body.ht-light-mode .mss-strip.is-active .mss-strip-title { color: #111; }
body.ht-light-mode .mss-strip.is-active { background: rgba(204,0,0,.05); }

/* ── Stil 3: TİMELİNE ──────────────────────────────────────── */
.mini-slider-wrap--timeline {
    display: flex;
    flex-direction: column;
    background: var(--bg2);
    overflow: hidden;
    position: relative;
}
.mtl-header {
    padding: 0 14px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.mtl-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mtl-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary);
    flex-shrink: 0;
    animation: mtl-pulse 1.6s ease-in-out infinite;
}
@keyframes mtl-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.85); }
}

.mtl-list {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
    position: relative;
    padding: 4px 0;
}
.mtl-list::-webkit-scrollbar { width: 3px; }
.mtl-list::-webkit-scrollbar-thumb { background: var(--border2); }

/* Dikey çizgi */
.mtl-list::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 54px;
    width: 1px;
    background: var(--border);
    pointer-events: none;
}

.mtl-entry {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 9px 12px 9px 0;
    cursor: pointer;
    transition: background .15s ease;
    position: relative;
    overflow: hidden;
}
.mtl-entry:last-child { border-bottom: none; }
.mtl-entry:hover { background: var(--bg4); }
.mtl-entry.is-active { background: rgba(204,0,0,.07); }

.mtl-time-col {
    width: 55px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2px;
    gap: 5px;
    position: relative;
    z-index: 1;
}
.mtl-time {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--text3);
    letter-spacing: .3px;
}
.mtl-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--bg2);
    border: 2px solid var(--border2);
    transition: border-color .2s, background .2s;
    flex-shrink: 0;
    z-index: 1;
}
.mtl-entry:hover .mtl-dot,
.mtl-entry.is-active .mtl-dot,
.mtl-entry--featured .mtl-dot {
    border-color: var(--primary);
    background: var(--primary);
}

.mtl-body {
    flex: 1;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    min-width: 0;
}
.mtl-body img {
    width: 60px;
    height: 44px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.mtl-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mtl-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
}
.mtl-entry--featured .mtl-cat { color: #e8b84b; }
.mtl-title-text {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #aaa;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mtl-entry.is-active .mtl-title-text,
.mtl-entry--featured .mtl-title-text { color: #fff; font-size: 13px; font-weight: 500; }

/* Light – Stil 3 */
body.ht-light-mode .mini-slider-wrap--timeline { background: #fff; }
body.ht-light-mode .mtl-header { background: #fff; border-bottom-color: #d8d8d8; }
body.ht-light-mode .mtl-title { color: #111; }
body.ht-light-mode .mtl-time { color: #888; }
body.ht-light-mode .mtl-dot { background: #fff; border-color: #ccc; }
body.ht-light-mode .mtl-list::before { background: #e0e0e0; }
body.ht-light-mode .mtl-title-text { color: #444; }
body.ht-light-mode .mtl-entry.is-active .mtl-title-text,
body.ht-light-mode .mtl-entry--featured .mtl-title-text { color: #111; }
body.ht-light-mode .mtl-entry.is-active { background: rgba(204,0,0,.04); }
body.ht-light-mode .mtl-list { scrollbar-color: #ccc transparent; }

/* ============================================================
   BÜYÜME ENGELİ – tüm slider başlık/özet alanları
   hover, focus veya herhangi bir state'de boyut değişimi yok
   ============================================================ */

/* Sol ana slider */
.slide-overlay { overflow: hidden; }
.slide-title, .slide-excerpt { transition: opacity .2s ease; /* sadece opacity */ }

/* Sağ panel – Stil 1 Klasik */
.mini-slider-wrap--classic .mini-thumb-title {
    max-height: calc(1.35em * 2);
    overflow: hidden;
    transition: color .2s ease;
    font-weight: 600 !important;
}
.mini-slider-wrap--classic .mini-thumb:hover .mini-thumb-title { font-weight: 600 !important; }
.mini-slider-wrap--classic .mini-slide-cat { flex-shrink: 0; }

/* Sağ panel – Stil 2 Strip */
.mss-slide-title { transition: none; }
.mss-strip-title {
    max-height: calc(1.25em * 2);
    overflow: hidden;
    transition: color .2s ease;
    font-weight: 600 !important;
}
.mss-strip:hover .mss-strip-title { font-weight: 600 !important; }

/* Sağ panel – Stil 3 Timeline */
.mtl-title-text {
    max-height: calc(1.3em * 2);
    overflow: hidden;
    transition: color .2s ease;
    font-weight: 600 !important;
}
.mtl-entry:hover .mtl-title-text { font-weight: 600 !important; }

/* Global: hiçbir thumb/entry hover veya aktifinde font kalinligi veya yukseklik degismesin */
.mini-thumb,
.mss-strip,
.mtl-entry {
    transition: background .15s ease !important;
}
.mini-thumb-title,
.mss-strip-title,
.mtl-title-text {
    transition: color .2s ease !important;
}

/* Sağ panel ana görseldeki başlıklar */
.mss-overlay { overflow: hidden; }
.mss-slide-title {
    max-height: calc(1.25em * 3);
    flex-shrink: 0;
}

/* ============================================================

/* ============================================================
   HT-SINGLE — YENİ HABER DETAY TASARIMI v5.1
   Toolbar ayrı satır · Paylaşım sadece altta · Google uyumlu
   ============================================================ */

/* Okuma çubuğu */
.ht-reading-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--primary);
    z-index: 9999;
    transition: width .08s linear;
    pointer-events: none;
}

/* Grid */
.ht-single-wrap  { padding-top: 0; padding-bottom: 40px; }
.ht-single-grid  { display: grid; grid-template-columns: 1fr 280px; gap: 0 20px; align-items: start; }

/* Makale — kutusuz */
.ht-single-article { background: transparent; border: none; border-radius: 0; overflow: visible; min-width: 0; }

/* ── Kategori bant ── */
.ht-single-cat-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.ht-single-cat {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--primary); text-decoration: none;
    padding: 3px 10px;
    background: rgba(204,0,0,.08);
    border: 1px solid rgba(204,0,0,.18);
    border-radius: 2px;
    transition: all .15s;
}
.ht-single-cat:hover { background: var(--primary); color: #fff; }
.ht-single-cat--sub  { background: transparent; border-color: var(--border); color: var(--text3); }
.ht-single-cat--sub:hover { background: var(--bg4); color: var(--text); }
.ht-single-cat-sep   { color: var(--text3); font-size: 12px; }
.ht-single-cat-spacer{ flex: 1; }
.ht-single-cat--meta { margin-left: 6px; }
.ht-single-breadcrumb {
    font-size: 11px; color: var(--text3);
    display: flex; align-items: center; gap: 5px;
}
.ht-single-breadcrumb a { color: var(--text3); text-decoration: none; }
.ht-single-breadcrumb a:hover { color: var(--primary); }
.ht-single-breadcrumb span { opacity: .4; }

/* ── Başlık alanı ── */
.ht-single-head { padding: 20px 0 0; }
.ht-single-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3.2vw, 36px);
    font-weight: 900; line-height: 1.2; letter-spacing: -.3px;
    color: var(--text); margin-bottom: 12px;
}
.ht-single-excerpt {
    font-size: 17px; line-height: 1.65; font-style: italic;
    color: var(--text2); margin-bottom: 16px;
    border-left: 3px solid var(--primary); padding-left: 14px;
}

/* Meta */
.ht-single-meta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    flex-wrap: wrap;
}
.ht-single-meta-left { display: flex; align-items: center; gap: 10px; }
.ht-single-avatar    { width: 32px !important; height: 32px !important; border-radius: 50% !important; object-fit: cover; border: 2px solid var(--border); flex-shrink: 0; }
.ht-single-meta-name { display: block; font-size: 12px; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.3; }
.ht-single-meta-name:hover { color: var(--primary); }
.ht-single-meta-date { font-size: 11px; color: var(--text3); display: block; }
.ht-single-meta-right{ display: flex; align-items: center; gap: 12px; }
.ht-single-stat { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text3); font-weight: 600; }
.ht-single-stat svg  { opacity: .5; flex-shrink: 0; }

/* ── Toolbar — kendi satırında, görsel altında ── */
/* Mevcut .ht-toolbar stilini koruyoruz, sadece konumlandırma */
.ht-single-article .ht-toolbar {
    margin: 0;
    border-top: 1px solid var(--border);
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: var(--bg2);
    /* Tüm butonlar ve readers görünür — overflow kaydırmalı */
    overflow-x: auto;
}

/* ── Görsel ── */
.ht-single-figure { margin: 0; overflow: hidden; }
.ht-single-img    { width: 100%; height: auto; display: block; }
.ht-single-figcaption { font-size: 11px; color: var(--text3); padding: 7px 0; font-style: italic; border-bottom: 1px solid var(--border); }

/* ── Haber gövdesi ── */
.ht-single-body { padding: 22px 0 24px; }

/* ── Etiketler ── */
.ht-single-tags {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    padding: 14px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 18px;
}
.ht-single-tags-icon { font-size: 11px; color: var(--text3); margin-right: 2px; }
.ht-single-tag {
    padding: 4px 11px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 2px; font-size: 11px; font-weight: 600;
    color: var(--text2); text-decoration: none;
    letter-spacing: .5px; text-transform: uppercase;
    transition: all .15s;
}
.ht-single-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Paylaşım — SADECE içerik sonunda, bir kez ── */
.ht-share-bottom {
    margin-top: 20px;
    padding: 18px 0 0;
    border-top: 2px solid var(--border);
}
.ht-share-bottom-label {
    display: block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text3); margin-bottom: 12px;
}
.ht-share-bottom-btns {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.ht-sbtn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px;
    border-radius: 3px; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600;
    color: #fff; text-decoration: none;
    transition: opacity .15s, transform .12s;
    flex-shrink: 0;
}
.ht-sbtn:hover  { opacity: .88; transform: translateY(-1px); }
.ht-sbtn:active { transform: translateY(0); }
.ht-sbtn-fb { background: #1877f2; }
.ht-sbtn-wa { background: #25d366; }
.ht-sbtn-tw { background: #1a1a1a; border: 1px solid #333; }
.ht-sbtn-tg { background: #0088cc; }
.ht-sbtn-cp { background: var(--bg3); border: 1px solid var(--border); color: var(--text2); }
.ht-sbtn-cp:hover { background: var(--bg4); color: var(--text); opacity: 1; }

/* ── Yazar kutusu ── */
.ht-author-box {
    display: flex; gap: 16px; padding: 20px;
    background: var(--bg2);
    border-top: 3px solid var(--primary);
    margin: 24px 0 0; align-items: flex-start;
}
.ht-author-avatar { width: 64px !important; height: 64px !important; border-radius: 50% !important; object-fit: cover; flex-shrink: 0; border: 3px solid var(--border); }
.ht-author-name   { display: block; font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; margin-bottom: 5px; }
.ht-author-name:hover { color: var(--primary); }
.ht-author-bio    { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 8px; }
.ht-author-link   { font-size: 12px; color: var(--primary); font-weight: 600; text-decoration: none; }
.ht-author-link:hover { text-decoration: underline; }

/* ── İlgili haberler ── */
.ht-related { margin-top: 30px; }

/* ── Sidebar ── */
.ht-single-sidebar {
    position: sticky;
    top: calc(var(--header-h, 52px) + var(--nav-h, 0px) + 12px);
}

/* ── Light mode ── */
body.ht-light-mode .ht-single-title  { color: #111; }
body.ht-light-mode .ht-single-excerpt{ color: #444; }
body.ht-light-mode .ht-single-cat-bar,
body.ht-light-mode .ht-single-meta   { border-color: #e0e0e0; }
body.ht-light-mode .ht-single-meta-name { color: #111; }
body.ht-light-mode .ht-single-meta-date,
body.ht-light-mode .ht-single-stat   { color: #888; }
body.ht-light-mode .ht-single-tag    { background: #f0f0f0; border-color: #ddd; color: #555; }
body.ht-light-mode .ht-single-tags   { border-top-color: #e0e0e0; }
body.ht-light-mode .ht-share-bottom  { border-top-color: #e0e0e0; }
body.ht-light-mode .ht-sbtn-tw       { background: #111; border-color: #333; }
body.ht-light-mode .ht-sbtn-cp       { background: #f0f0f0; border-color: #ddd; color: #555; }
body.ht-light-mode .ht-author-box    { background: #f5f5f5; }
body.ht-light-mode .ht-author-name   { color: #111; }
body.ht-light-mode .ht-author-bio    { color: #555; }
body.ht-light-mode .ht-single-figcaption { color: #888; border-color: #e0e0e0; }
body.ht-light-mode .ht-single-article .ht-toolbar { background: #f5f5f5; border-color: #e0e0e0; }

/* ── Infinite scroll uyumu ── */
.ht-infinite-article .ht-single-cat-bar { margin-top: 32px; }

/* ── MOBİL ── */
@media (max-width: 768px) {
    .ht-single-grid { grid-template-columns: 1fr; }
    .ht-single-sidebar {
        position: static;
        border-top: 4px solid var(--border);
        padding-top: 20px; margin-top: 24px;
    }
    .ht-single-title   { font-size: 21px; }
    .ht-single-excerpt { font-size: 15px; }
    .ht-single-img     { max-height: none; }
    .ht-single-meta-right { display: flex; gap: 8px; }
    .ht-single-stat { font-size: 10px; }
    .ht-single-cat--meta { font-size: 9px; letter-spacing: 0.8px; padding: 2px 7px; }
    .ht-author-box     { flex-direction: column; gap: 12px; }
    /* Paylaşım butonları tam genişlik, parmak dostu */
    .ht-share-bottom-btns { flex-direction: column; }
    .ht-sbtn { width: 100%; justify-content: center; padding: 12px 16px; font-size: 14px; }
}
@media (max-width: 480px) {
    .ht-single-title   { font-size: 19px; }
    .ht-single-excerpt { font-size: 14px; }
    .ht-single-breadcrumb { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SOSYAL KART (card-social.php)
   ═══════════════════════════════════════════════════════════ */
.news-grid--social { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .news-grid--social { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .news-grid--social { grid-template-columns: 1fr; } }

.sc-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
}
.sc-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.25); }

/* Görsel */
.sc-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg4); flex-shrink: 0; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.sc-card:hover .sc-img img { transform: scale(1.04); }
.sc-cat {
    position: absolute; top: 10px; left: 10px;
    background: var(--primary); color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
    padding: 3px 9px; border-radius: 3px; text-decoration: none;
    transition: background .15s;
}
.sc-cat:hover { background: #e60000; }

/* Aksiyon butonları */
.sc-actions {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px 4px;
}
.sc-actions-left  { display: flex; gap: 6px; align-items: center; }
.sc-actions-right { display: flex; }

.sc-btn {
    background: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--text3); padding: 4px 6px; border-radius: 4px;
    font-size: 12px; font-weight: 600; transition: color .15s, background .15s;
    text-decoration: none;
}
.sc-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.sc-btn:hover { color: var(--text); background: var(--bg3); }

.sc-like.liked         { color: #e0245e; }
.sc-like.liked svg     { fill: #e0245e; stroke: #e0245e; }
.sc-like:hover         { color: #e0245e; background: rgba(224,36,94,.08); }
.sc-like-count         { font-size: 12px; font-weight: 700; color: inherit; min-width: 14px; display: inline-block; }

.sc-save.saved         { color: var(--primary); }
.sc-save.saved svg     { fill: var(--primary); stroke: var(--primary); }
.sc-save:hover         { color: var(--primary); background: rgba(204,0,0,.08); }

.sc-share:hover        { color: #1da1f2; background: rgba(29,161,242,.08); }
.sc-comment:hover      { color: var(--primary); background: rgba(204,0,0,.08); }

/* İçerik */
.sc-body { padding: 6px 14px 10px; flex: 1; }
.sc-title {
    display: block; font-size: 14px; font-weight: 800;
    color: var(--text); text-decoration: none; line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sc-title:hover { color: var(--primary); }
.sc-excerpt {
    font-size: 12px; color: var(--text3); line-height: 1.6; margin: 0 0 6px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sc-time { font-size: 11px; color: var(--text3); }

/* Yorum kutusu */
.sc-comment-box {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.sc-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sc-comment-input {
    flex: 1; font-size: 12px; color: var(--text3);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 7px 14px;
    background: var(--bg3); transition: border-color .15s, background .15s, width .2s;
    font-family: var(--font); outline: none;
    min-width: 0; width: 100%;
}
.sc-comment-input::placeholder { color: var(--text3); }
.sc-comment-input:hover { border-color: var(--border); }
.sc-comment-input:focus {
    border-color: var(--primary);
    color: var(--text);
    background: var(--bg);
}

/* Paylaş pop-up */
.sc-share-popup {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--bg2); border-top: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    padding: 20px; z-index: 9999;
    transform: translateY(100%); transition: transform .3s ease;
    box-shadow: 0 -8px 32px rgba(0,0,0,.3);
}
.sc-share-popup.open { transform: translateY(0); }
.sc-share-popup h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.sc-share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-share-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 6px; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity .15s;
}
.sc-share-btn:hover { opacity: .85; }
.sc-share-btn--fb  { background: #1877f2; color: #fff; }
.sc-share-btn--tw  { background: #1da1f2; color: #fff; }
.sc-share-btn--wa  { background: #25d366; color: #fff; }
.sc-share-btn--copy{ background: var(--bg3); color: var(--text); border: 1px solid var(--border); }
.sc-share-overlay { position: fixed; inset: 0; z-index: 9998; }

.sc-comment-wrap { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sc-comment-msg  { font-size: 11px; padding: 0 4px; }

/* Flash badge — sekme üzerindeki "X yeni" rozeti */
.st-flash-badge {
    display: inline-flex;
    align-items: center;
    background: #E24B4A;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
    letter-spacing: .3px;
    animation: fl-pulse 1.5s infinite;
}
/* ═══════════════════════════════════════════════════════════
   HABER DETAY — GÖRSEL KALP BUTONU
   ═══════════════════════════════════════════════════════════ */
.ht-img-heart {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.48);
    border: none;
    border-radius: 24px;
    padding: 7px 14px 7px 10px;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s, transform .1s;
    z-index: 3;
    user-select: none;
}
.ht-img-heart:hover {
    background: rgba(0,0,0,.65);
    transform: scale(1.04);
}
.ht-img-heart-svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: fill .15s, stroke .15s;
}
.ht-img-heart-count {
    min-width: 14px;
    display: inline-block;
}

/* Beğenildi */
.ht-img-heart.liked {
    background: rgba(224,36,94,.88);
}
.ht-img-heart.liked .ht-img-heart-svg {
    fill: #fff;
    stroke: #fff;
}
.ht-img-heart-count {
    color: #ff6b9d;
    transition: color .2s;
}
.ht-img-heart.liked .ht-img-heart-count {
    color: #fff;
}

/* Pop animasyonu */
@keyframes ht-heart-pop {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.55); }
    55%  { transform: scale(.85); }
    78%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}
.ht-img-heart-svg.popping {
    animation: ht-heart-pop .42s cubic-bezier(.36,.07,.19,.97) both;
}

/* Parçacık */
.ht-img-heart-particles {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    pointer-events: none;
}
.ht-heart-particle {
    position: absolute;
    width: 7px; height: 7px;
    border-radius: 50%;
    opacity: 0;
    animation: ht-particle-fly .55s ease-out forwards;
}
@keyframes ht-particle-fly {
    0%   { opacity: 1; transform: translate(0,0) scale(1); }
    100% { opacity: 0; transform: var(--tx) scale(0); }
}
