/*
Theme Name: MEB Öğretmen V2
Theme URI: https://www.mebogretmen.com
Author: Eğitim Teknoloğu
Author URI: https://www.mebogretmen.com
Description: İlkokulportali.com'dan esinlenilmiş, renkli ikonlu kategoriler, modern vektörel logo, ortalı son dakika bandı ve okunaklı içerik düzenine sahip öğretmen haber ve mevzuat teması.
Version: 3.5.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: mebogretmen
*/

/* =============================================
   RESET & ROOT VARIABLES
   ============================================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --primary:#ba1b1d;
  --primary-dark:#991b1b;
  --primary-light:#fef2f2;
  --primary-grad:linear-gradient(135deg,#991b1b 0%,#ba1b1d 55%,#dc2626 100%);
  --secondary:#c8102e;
  --accent-red:#ba1b1d;
  --accent-green:#059669;
  --accent-blue:#2563eb;
  --accent-amber:#f59e0b;
  --accent-cyan:#0891b2;
  --accent-pink:#db2777;
  --text:#1e293b;
  --text-muted:#64748b;
  --text-light:#94a3b8;
  --bg:#f1f5f9;
  --bg-soft:#f8fafc;
  --white:#ffffff;
  --border:#e2e8f0;
  --border-light:#f1f5f9;
  --shadow-xs:0 1px 3px rgba(0,0,0,.05);
  --shadow-sm:0 3px 10px rgba(0,0,0,.07);
  --shadow-md:0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:0 16px 48px rgba(0,0,0,.14);
  --shadow-xl:0 24px 64px rgba(0,0,0,.18);
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:20px;
  --radius-full:999px;
  --transition:.2s cubic-bezier(.16,1,.3,1);
  --max-w:1180px;
}

html{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:15px;line-height:1.65;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;transition:color var(--transition)}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}

.container{max-width:var(--max-w);margin:0 auto;padding:0 20px}
.site-wrapper{display:flex;flex-direction:column;min-height:100vh}
.site-main{flex:1}

/* =============================================
   1. SUB-HEADER BAR (Hizalı, Eşit Boyutlu & Kompakt Çipler)
   ============================================= */
.sub-header-bar {
  background: transparent;
  padding: 2px 0 6px;
  position: relative;
  z-index: 90;
}

.sub-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sub-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sub-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sub-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Tarih Hapı (Çiplerle Tamamen Eşit Yükseklik ve Hizada) */
.sub-header-date {
  color: #475569;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  line-height: 1;
}

.sub-header-date .sub-chip-icon {
  font-size: 11.5px;
  line-height: 1;
}

/* Dikey Ayırıcı Çizgi */
.sub-header-sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: #cbd5e1;
  margin: 0 3px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Tüm Çipler (Aynı Büyüklükte, Aynı Hizada & Bir Tık Küçük) */
.sub-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

.sub-chip .sub-chip-icon {
  font-size: 11.5px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.sub-chip .sub-chip-label {
  display: inline-block;
  line-height: 1;
}

.sub-chip:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  filter: brightness(0.96);
}

.sub-chip:hover .sub-chip-icon {
  transform: scale(1.15);
}

/* Sağ Çipler */
.chip-eba {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.chip-eokul {
  background: #fce7f3;
  color: #be185d;
  border-color: #f472b6;
}

.chip-mebduyuru {
  background: #fef2f2;
  color: #ba1b1d;
  border-color: #fca5a5;
}

/* =============================================
   2. SITE HEADER (Modern Vektörel Logo + Kategoriler + Arama)
   ============================================= */
.site-header{background:var(--white);border-bottom:1px solid var(--border-light);box-shadow:var(--shadow-xs);position:sticky;top:0;z-index:200}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 20px;max-width:var(--max-w);margin:0 auto;position:relative}

/* Logo */
.site-branding{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.brand-badge{position:relative}
.brand-mascot{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#991b1b 0%,#ba1b1d 50%,#e11d48 100%);box-shadow:0 4px 14px rgba(186,27,29,.35);transition:transform .25s ease,box-shadow .25s ease;color:#ffffff}
.site-branding:hover .brand-mascot{transform:scale(1.06) translateY(-1px);box-shadow:0 6px 20px rgba(186,27,29,.45)}
.brand-svg-icon{width:33px;height:33px;display:block;fill:#ffffff;color:#ffffff}
.brand-text{display:flex;flex-direction:column;gap:1px}
.brand-name{font-size:18px;font-weight:900;letter-spacing:-.3px;line-height:1;display:flex;align-items:center;gap:2px}
.brand-letter{font-weight:900;display:inline-block}
.brand-letter.l-m{color:#ba1b1d}
.brand-letter.l-e{color:#c8102e}
.brand-letter.l-b{color:#dc2626}
.brand-main{color:#0f172a;font-weight:900;margin-left:3px;letter-spacing:-.4px}
.brand-star{font-size:13px;margin-left:3px;display:inline-block;animation:starTwinkle 2.5s infinite ease-in-out}
@keyframes starTwinkle{0%,100%{transform:scale(1) rotate(0);opacity:1}50%{transform:scale(1.25) rotate(15deg);opacity:.85}}
.brand-sub{display:flex;align-items:center;gap:5px;font-size:9.5px;color:var(--text-muted)}
.brand-pill{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border:1px solid var(--border);border-radius:var(--radius-full);padding:1px 6px;font-weight:800;font-size:8.5px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.4px}
.brand-sub-dot{color:#cbd5e1;font-size:8px}
.brand-sub-desc{font-weight:600;color:#64748b;font-size:9px}

/* Center Categories / Navigation (İlkokul Portalı / Görsel Tarzı) */
.header-nav{flex:1;display:flex;align-items:center;justify-content:center;overflow-x:auto;scrollbar-width:none;min-width:0;margin:0 8px}
.header-nav::-webkit-scrollbar{display:none}
.header-nav-inner{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;padding:2px 0}
.cat-pill-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 29px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.cat-pill-nav-item .cat-pill-emoji {
  font-size: 12.5px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cat-pill-nav-item:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  filter: brightness(0.97);
}

.cat-pill-nav-item:hover .cat-pill-emoji {
  transform: scale(1.15);
}

.cat-pill-nav-item.active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px currentColor;
  font-weight: 800;
}

/* Search (Sığdırılmış & Tek Satır Entegre Kutu) */
.header-search-wrap{flex-shrink:0;width:205px;display:flex;align-items:center}
.header-search-wrap form{display:flex;align-items:center;width:100%;height:34px}
.header-search-wrap .search-field{flex:1;min-width:0;height:100%;border:1.5px solid var(--border);border-right:none;border-radius:var(--radius-full) 0 0 var(--radius-full);padding:0 12px;font-size:12px;outline:none;background:var(--bg-soft);color:var(--text);transition:border-color var(--transition),background var(--transition)}
.header-search-wrap .search-field:focus{border-color:var(--primary);background:var(--white)}
.header-search-wrap .search-submit{flex-shrink:0;height:100%;background:var(--primary-grad);color:var(--white);border:1.5px solid var(--primary);padding:0 12px;border-radius:0 var(--radius-full) var(--radius-full) 0;font-size:12px;font-weight:700;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:3px;transition:opacity var(--transition);cursor:pointer}
.header-search-wrap .search-submit:hover{opacity:.9}

/* Mobile toggle */
.menu-toggle{display:none;color:var(--text);font-size:22px;padding:6px;border-radius:var(--radius-sm);transition:background var(--transition);cursor:pointer}
.menu-toggle:hover{background:var(--bg)}

/* =============================================
   3. SON DAKİKA TICKER (İçerikle Hizalı & Ortalı)
   ============================================= */
.breaking-section{padding:6px 0 3px}
.breaking-bar{background:linear-gradient(135deg,#7f1d1d 0%,#ba1b1d 50%,#dc2626 100%);display:flex;align-items:center;overflow:hidden;height:38px;border-radius:var(--radius-md);box-shadow:0 4px 14px rgba(186,27,29,.22)}
.breaking-label{background:rgba(0,0,0,.22);color:var(--white);font-size:11px;font-weight:800;padding:0 16px;height:100%;display:flex;align-items:center;gap:7px;white-space:nowrap;flex-shrink:0;letter-spacing:.6px}
.breaking-dot{width:8px;height:8px;border-radius:50%;background:#fbbf24;animation:blink 1.5s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
.ticker-wrapper{flex:1;overflow:hidden;position:relative}
.ticker-track{display:flex;white-space:nowrap;animation:tickerMove 45s linear infinite}
.ticker-track:hover{animation-play-state:paused}
.ticker-item{color:rgba(255,255,255,.95);font-size:12px;font-weight:600;padding:0 28px;display:inline-flex;align-items:center;gap:6px}
.ticker-sep{color:rgba(255,255,255,.35);font-size:16px;padding:0 4px}
@keyframes tickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}


/* =============================================
   5. HERO SECTION (Slider & Sağ Haberler Birebir Eşit Yükseklikte)
   ============================================= */
.hero-section{padding:6px 0 24px}
.hero-grid{display:grid;grid-template-columns:1fr 340px;gap:20px;align-items:stretch}

.hero-featured{
  border-radius:var(--radius-lg);
  overflow:hidden;
  position:relative;
  height:100%;
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  box-shadow:var(--shadow-lg);
  text-decoration:none;
  cursor:pointer;
  transition:transform var(--transition),box-shadow var(--transition);
}
.hero-featured:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl)}
.hero-featured-bg{position:absolute;inset:0;background:var(--primary-grad);transition:transform .4s ease;z-index:1}
.hero-featured:hover .hero-featured-bg{transform:scale(1.04)}
.hero-slide-blur-bg{position:absolute;inset:-24px;background-size:cover;background-position:center;filter:blur(24px) brightness(0.38) saturate(1.2);transform:scale(1.15);z-index:1;opacity:0.92;pointer-events:none}
.hero-featured-img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;opacity:1 !important;z-index:2;display:block;margin:auto;transition:transform .4s cubic-bezier(0.16,1,0.3,1);filter:drop-shadow(0 4px 18px rgba(0,0,0,0.5))}
.hero-slide-link:hover .hero-featured-img,.hero-featured:hover .hero-featured-img{transform:scale(1.02)}
.hero-featured-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,23,42,.92) 0%,rgba(15,23,42,.5) 26%,transparent 52%);z-index:3;pointer-events:none}
.hero-deco-circle-1,.hero-deco-circle-2{display:none}
.hero-featured-body{position:relative;padding:20px 24px;z-index:4;width:100%;box-sizing:border-box}
.hero-badges{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.hero-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:var(--radius-full);font-size:10px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.badge-hot{background:var(--accent-red);color:var(--white)}
.hero-featured-title{color:var(--white);font-size:20px;font-weight:900;line-height:1.35;margin-bottom:10px;text-shadow:0 2px 10px rgba(0,0,0,.8),0 1px 3px rgba(0,0,0,.9);max-width:92%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-meta{display:flex;gap:8px;flex-wrap:wrap}
.hero-meta-chip{display:inline-flex;align-items:center;gap:4px;background:rgba(15,23,42,.65);color:rgba(255,255,255,.9);font-size:11px;padding:3px 10px;border-radius:var(--radius-full);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.15)}

/* Side news: 4 kart tüm yüksekliği eşit paylaşır */
.hero-side{display:flex;flex-direction:column;justify-content:space-between;gap:10px;height:100%}
.side-news-card{flex:1;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;display:flex;align-items:center;text-decoration:none;color:var(--text);transition:all var(--transition);box-shadow:var(--shadow-xs);min-height:76px}
.side-news-card:hover{box-shadow:var(--shadow-md);transform:translateX(3px)}
.side-news-accent{width:5px;align-self:stretch;flex-shrink:0}
.side-news-icon{width:68px;align-self:stretch;flex-shrink:0;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:24px}
.side-news-img{width:76px;align-self:stretch;flex-shrink:0;object-fit:cover}
.side-news-body{padding:10px 14px;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.side-news-cat{font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;margin-bottom:3px;display:block}
.side-news-title{font-size:12.5px;font-weight:700;line-height:1.35;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px}
.side-news-meta{display:flex;gap:8px;font-size:10px;color:var(--text-light)}

/* =============================================
   6. CATEGORY CARDS SECTION (Hepsi Farklı Renk ve Tasarımda)
   ============================================= */
.cat-cards-section{background:var(--white);padding:28px 0 32px;border-bottom:1px solid var(--border-light)}
.cat-cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cat-card{
  border-radius:var(--radius-lg);
  padding:22px 18px 18px;
  text-align:center;
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition:all .25s cubic-bezier(.16,1,.3,1);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  min-height:220px;
}
.cat-card:hover{
  transform:translateY(-7px);
  filter:brightness(1.03);
}

.cat-card-tag{
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.8px;
  padding:3px 11px;
  border-radius:var(--radius-full);
  background:rgba(255,255,255,.2);
  color:#ffffff;
  backdrop-filter:blur(6px);
  margin-bottom:8px;
  position:relative;
  z-index:2;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.cat-card-emoji{
  font-size:44px;
  display:inline-block;
  margin-bottom:6px;
  position:relative;
  z-index:2;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1);
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.15));
}
.cat-card:hover .cat-card-emoji{
  transform:scale(1.22) rotate(-3deg);
}
.cat-card-name{
  font-size:18px;
  font-weight:900;
  color:var(--white);
  position:relative;
  z-index:2;
  letter-spacing:-.3px;
  line-height:1.2;
}
.cat-card-count{
  font-size:12px;
  color:rgba(255,255,255,.85);
  margin-top:4px;
  font-weight:600;
  position:relative;
  z-index:2;
}
.cat-card-cta{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:14px;
  padding:6px 18px;
  border-radius:var(--radius-full);
  font-size:11.5px;
  font-weight:800;
  background:rgba(255,255,255,.22);
  color:var(--white);
  position:relative;
  z-index:2;
  transition:all var(--transition);
  border:1px solid rgba(255,255,255,.3);
  backdrop-filter:blur(4px);
}
.cat-card:hover .cat-card-cta{
  background:rgba(255,255,255,.4);
  border-color:rgba(255,255,255,.7);
  box-shadow:0 4px 14px rgba(0,0,0,.2);
  transform:scale(1.04);
}

/* 1. Deco Rings (Eğitim vb.) */
.deco-rings::before{content:'';position:absolute;top:-40px;right:-40px;width:150px;height:150px;border-radius:50%;border:2px solid rgba(255,255,255,.22);pointer-events:none}
.deco-rings::after{content:'';position:absolute;top:-20px;right:-20px;width:105px;height:105px;border-radius:50%;background:rgba(255,255,255,.09);pointer-events:none}

/* 2. Deco Pulse (Gündem vb.) */
.deco-pulse::before{content:'';position:absolute;bottom:-35px;left:-35px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.28) 0%,transparent 70%);pointer-events:none}
.deco-pulse::after{content:'';position:absolute;top:-20px;right:-10px;width:85px;height:85px;border-radius:50%;border:2px dashed rgba(255,255,255,.28);pointer-events:none}

/* 3. Deco Stars (Öğretmen vb.) */
.deco-stars::before{content:'';position:absolute;top:-30px;right:-30px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.25) 0%,transparent 65%);pointer-events:none}
.deco-stars::after{content:'✦';position:absolute;top:14px;right:18px;font-size:22px;color:rgba(255,255,255,.45);pointer-events:none;animation:starTwinkle 3s infinite ease-in-out}

/* 4. Deco Shield (Mevzuat vb.) */
.deco-shield::before{content:'';position:absolute;top:-30px;left:-30px;width:120px;height:120px;border-radius:30%;background:rgba(255,255,255,.12);transform:rotate(45deg);pointer-events:none}
.deco-shield::after{content:'';position:absolute;bottom:-30px;right:-30px;width:120px;height:120px;border-radius:50%;border:2px solid rgba(255,255,255,.18);pointer-events:none}

/* =============================================
   7. POST CARDS & GRIDS
   ============================================= */
.content-section{padding:28px 0;background:var(--bg-soft)}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.section-title{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:900;color:#0f172a}
.section-title-bar{width:4px;height:22px;border-radius:2px;background:var(--primary);flex-shrink:0}
.section-see-all{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:6px 16px;border-radius:var(--radius-full);border:1.5px solid var(--primary-light);color:var(--primary);transition:all var(--transition);text-decoration:none}
.section-see-all:hover{background:var(--primary);color:var(--white);border-color:var(--primary)}

.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.post-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;transition:all var(--transition);box-shadow:var(--shadow-xs);text-decoration:none;color:var(--text)}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:transparent}
.post-card-thumb{position:relative;overflow:hidden;aspect-ratio:16/9;background:var(--bg)}
.post-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.post-card:hover .post-card-thumb img{transform:scale(1.08)}
.post-card-no-img{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;font-size:40px}
.post-card-cat-pill{position:absolute;top:10px;left:10px;padding:3px 10px;border-radius:var(--radius-full);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--white);z-index:1}
.post-card-body{padding:16px;flex:1;display:flex;flex-direction:column}
.post-card-tags{display:flex;gap:6px;margin-bottom:9px;flex-wrap:wrap}
.post-tag{font-size:9px;font-weight:700;padding:2px 9px;border-radius:var(--radius-full)}
.post-card-title{font-size:14px;font-weight:800;line-height:1.4;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:7px;transition:color var(--transition)}
.post-card:hover .post-card-title{color:var(--primary)}
.post-card-excerpt{font-size:12px;color:var(--text-muted);line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1;margin-bottom:12px}
.post-card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:11px;border-top:1px solid var(--border-light);margin-top:auto}
.post-card-date{font-size:10px;color:var(--text-light);display:flex;align-items:center;gap:4px}
.post-read-btn{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;padding:5px 13px;border-radius:var(--radius-full);transition:all var(--transition);cursor:pointer}

/* =============================================
   8. CATEGORY & ARCHIVE BANNER (Ortalı & Düzenli)
   ============================================= */
.category-header-banner{background:linear-gradient(135deg,#181414 0%,#261517 100%);border-radius:var(--radius-lg);padding:28px 32px;margin:20px 0 24px;position:relative;overflow:hidden;box-shadow:var(--shadow-md);border-left:5px solid var(--primary)}
.category-header-banner::after{content:'';position:absolute;top:-40px;right:-40px;width:180px;height:180px;border-radius:50%;background:rgba(186,27,29,0.18)}
.cat-banner-inner{position:relative;z-index:1}
.cat-badge-label{display:inline-block;background:rgba(255,255,255,0.12);color:#93c5fd;font-size:10px;font-weight:800;letter-spacing:1px;padding:3px 10px;border-radius:var(--radius-full);margin-bottom:8px}
.cat-banner-title{color:#ffffff;font-size:28px;font-weight:900;letter-spacing:-0.5px;margin:0 0 8px;line-height:1.2}
.cat-banner-desc{color:#cbd5e1;font-size:13.5px;line-height:1.6;margin:0;max-width:760px}

.archive-main-col{min-width:0;max-width:100%}
.archive-posts-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.no-posts-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:48px 24px;text-align:center;color:var(--text-muted)}
.no-posts-card h3{font-size:17px;font-weight:800;color:#0f172a;margin-bottom:6px}

/* =============================================
   9. CONTENT LAYOUT & SIDEBAR
   ============================================= */
.content-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;align-items:start;padding:24px 0}
.article-main-col{min-width:0;max-width:100%}

/* Single Article Card */
.single-article-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:32px;box-shadow:var(--shadow-xs);overflow:hidden}
.single-header{margin-bottom:24px;border-bottom:1px solid var(--border-light);padding-bottom:20px}
.single-cats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.single-cat-badge{padding:4px 12px;border-radius:var(--radius-full);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;text-decoration:none}
.single-title{font-size:27px;font-weight:900;line-height:1.3;margin-bottom:14px;color:#0f172a}
.single-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12.5px;color:var(--text-muted)}
.single-meta-item{display:inline-flex;align-items:center;gap:4px}
.single-featured-img{border-radius:var(--radius-md);overflow:hidden;margin-bottom:24px;box-shadow:var(--shadow-sm)}
.single-featured-img img{width:100%;height:auto;display:block;border-radius:var(--radius-md)}
.post-content{font-size:16.5px;line-height:1.85;color:#334155}
.post-content p{margin-bottom:18px}
.post-content h2{font-size:22px;font-weight:800;margin:28px 0 12px;color:#0f172a}
.post-content h3{font-size:18px;font-weight:700;margin:22px 0 10px;color:#0f172a}
.post-content ul,.post-content ol{margin:0 0 18px 24px}
.post-content li{margin-bottom:6px}
.post-content a{color:var(--primary);text-decoration:underline}
.post-content blockquote{border-left:4px solid var(--primary);background:var(--primary-light);padding:16px 20px;border-radius:0 var(--radius-sm) var(--radius-sm) 0;margin:22px 0;font-style:italic;color:var(--text-muted)}
.post-content img{border-radius:var(--radius-md);box-shadow:var(--shadow-sm);margin:16px 0}
.post-content table{width:100%;border-collapse:collapse;margin:20px 0}
.post-content th{background:var(--primary);color:var(--white);padding:10px 14px;text-align:left;font-size:13px;font-weight:700}
.post-content td{border:1px solid var(--border);padding:10px 14px;font-size:14px}
.post-content tr:nth-child(even) td{background:var(--bg-soft)}

.single-tags-wrap{margin-top:28px;padding-top:18px;border-top:1px solid var(--border-light);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tags-label{font-size:12px;font-weight:700;color:var(--text-muted)}
.single-tag-chip{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-full);padding:3px 12px;font-size:11.5px;font-weight:600;color:var(--text);transition:all var(--transition)}
.single-tag-chip:hover{background:var(--primary-light);border-color:var(--primary);color:var(--primary)}

.post-nav-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:32px}
.post-nav-card{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius-md);padding:14px 18px;display:flex;flex-direction:column;gap:4px;transition:all var(--transition);text-decoration:none}
.post-nav-card:hover{background:var(--white);box-shadow:var(--shadow-md);border-color:var(--primary);transform:translateY(-2px)}
.post-nav-card.next-card{text-align:right;margin-left:auto;width:100%}
.nav-dir-label{font-size:10.5px;font-weight:800;color:var(--primary);text-transform:uppercase;letter-spacing:.5px}
.nav-post-title{font-size:13px;font-weight:700;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Sidebar Wrap & Cards (Düzenli, Şık ve Okunaklı) */
.sidebar-wrap{display:flex;flex-direction:column;gap:20px;min-width:0}
.sidebar-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-xs)}
.sidebar-card-header{background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);padding:13px 18px;display:flex;align-items:center;gap:8px}
.sidebar-header-icon{font-size:16px}
.sidebar-header-title{color:var(--white);font-size:13.5px;font-weight:800;letter-spacing:.3px;margin:0}
.sidebar-card-body{padding:12px 16px}

.sidebar-posts-list{display:flex;flex-direction:column;gap:0}
.sidebar-post-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--border-light);text-decoration:none;transition:all var(--transition)}
.sidebar-post-item:last-child{border-bottom:none;padding-bottom:4px}
.sidebar-post-item:first-child{padding-top:4px}
.sidebar-post-item:hover .sidebar-post-title{color:var(--primary)}
.sidebar-post-num{font-size:13px;font-weight:900;border-radius:var(--radius-sm);width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sidebar-post-info{flex:1;min-width:0}
.sidebar-post-cat{font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px;display:block}
.sidebar-post-title{font-size:13px;font-weight:700;line-height:1.38;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 4px;transition:color var(--transition)}
.sidebar-post-meta{font-size:10.5px;color:var(--text-light);display:flex;gap:8px}

.sidebar-cats-list{display:flex;flex-direction:column;gap:2px}
.sidebar-cat-item{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:var(--radius-sm);text-decoration:none;color:var(--text);font-size:13px;font-weight:700;transition:all var(--transition)}
.sidebar-cat-item:hover{background:var(--primary-light);color:var(--primary);transform:translateX(3px)}
.sidebar-cat-left{display:flex;align-items:center;gap:8px}
.sidebar-cat-icon{font-size:15px}
.sidebar-cat-badge{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-full);font-size:10px;font-weight:800;color:var(--text-muted);padding:1px 8px}

/* WordPress default widgets styling fallback */
.sidebar-dynamic-widgets .widget,
.sidebar-dynamic-widgets .widget-box,
.widget_recent_entries{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-xs);margin-bottom:20px}
.widgettitle,.widget-title{background:linear-gradient(135deg,#0f172a,#1e293b);padding:13px 18px;color:#fff;font-size:13.5px;font-weight:800;margin:0}
.widget_recent_entries ul{padding:8px 16px;list-style:none}
.widget_recent_entries ul li{padding:10px 0;border-bottom:1px solid var(--border-light);font-size:13px;font-weight:700}
.widget_recent_entries ul li:last-child{border-bottom:none}
.widget_recent_entries ul li a{color:#0f172a;text-decoration:none;transition:color var(--transition)}
.widget_recent_entries ul li a:hover{color:var(--primary)}

/* =============================================
   10. COMMENTS (Yorumlar Kaldırıldı)
   ============================================= */
.comments-wrap,#comments,.comment-respond,.comments-area{display:none !important}

/* =============================================
   11. PAGINATION (Modern, Şık, Ortalı & Sonrası Butonu)
   ============================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 42px 0 24px;
  flex-wrap: wrap;
  text-align: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.page-numbers:hover:not(.current):not(.dots) {
  border-color: var(--primary);
  color: var(--primary);
  background: #fef2f2;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(186, 27, 29, 0.15);
}

.page-numbers.current {
  background: linear-gradient(135deg, #ba1b1d 0%, #991b1b 100%);
  border-color: #ba1b1d;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(186, 27, 29, 0.35);
  cursor: default;
  transform: none;
  font-weight: 800;
}

.page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: #94a3b8;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  min-width: 28px;
  padding: 0;
  cursor: default;
}

/* Şık "Sonrası" Butonu */
.page-numbers.next {
  min-width: auto;
  padding: 0 24px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ba1b1d 0%, #dc2626 100%);
  color: #ffffff;
  border: 1.5px solid #ba1b1d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(186, 27, 29, 0.28);
  margin-left: 6px;
  gap: 8px;
}

.page-numbers.next:hover {
  background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(186, 27, 29, 0.4);
}

.page-numbers.next .pag-arrow {
  display: inline-block;
  font-size: 15px;
  transition: transform 0.25s ease;
}

.page-numbers.next:hover .pag-arrow {
  transform: translateX(4px);
}

/* Şık "Öncesi" Butonu */
.page-numbers.prev {
  min-width: auto;
  padding: 0 22px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: #334155;
  border: 1.5px solid #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  margin-right: 6px;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.page-numbers.prev:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fef2f2;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(186, 27, 29, 0.15);
}

.page-numbers.prev .pag-arrow {
  display: inline-block;
  font-size: 15px;
  transition: transform 0.25s ease;
}

.page-numbers.prev:hover .pag-arrow {
  transform: translateX(-4px);
}

@media(max-width: 640px) {
  .pagination {
    gap: 6px;
    padding: 28px 0 16px;
  }
  .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 6px;
    border-radius: 8px;
  }
  .page-numbers.next,
  .page-numbers.prev {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }
}

/* =============================================
   12. STATS BAR & FOOTER
   ============================================= */
.stats-bar{background:linear-gradient(135deg,#0f172a,#1e293b);padding:28px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat-item{text-align:center;color:var(--white);padding:8px 20px;position:relative}
.stat-item+.stat-item::before{content:'';position:absolute;left:0;top:20%;height:60%;width:1px;background:rgba(255,255,255,.1)}
.stat-num{font-size:36px;font-weight:900;letter-spacing:-1px;line-height:1}
.stat-label{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.8px;margin-top:5px;font-weight:600}
.stat-trend{font-size:10px;color:#10b981;margin-top:3px;font-weight:700}

/* =============================================
   12. STATS BAR & FOOTER (Hizalı, Okunaklı & Şık)
   ============================================= */
.site-footer {
  background: linear-gradient(180deg, #0d1527 0%, #080d19 100%);
  border-top: 3.5px solid var(--primary);
  box-shadow: 0 -8px 24px rgba(186, 27, 29, 0.12);
  color: #f1f5f9;
}

.footer-top {
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Kolon Başlık Hizalaması (4 Kolonun Tepe Çizgisi Birebir Eşit) */
.footer-col-header {
  height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
  padding-bottom: 8px;
}

/* Kolon 1 Marka Başlığı */
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ba1b1d 0%, #dc2626 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(186, 27, 29, 0.35);
  flex-shrink: 0;
}

.footer-brand-svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: #ffffff;
  color: #ffffff;
}

.footer-brand-text {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-brand-text .brand-red {
  color: #ef4444;
}

.footer-brand-text .brand-white {
  color: #ffffff;
}

/* Açıklama Metni (Net, Açık Renk, Kolay Okunur) */
.footer-about-text {
  color: #e2e8f0;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social:hover {
  background: linear-gradient(135deg, #ba1b1d, #dc2626);
  border-color: #ba1b1d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(186, 27, 29, 0.35);
}

/* Kolon 2, 3, 4 Başlıkları */
.footer-col-title {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-title-bar {
  width: 4px;
  height: 15px;
  background: #ef4444;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

/* Menü Bağlantıları (Yüksek Kontrast, Okunaklı & Kırmızı Noktalı) */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2px 0;
}

.footer-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-link:hover .footer-link-dot {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.footer-link-text {
  line-height: 1.4;
}

/* Alt Bar (Telif & Yasal Linkler) */
.footer-bottom-bar {
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* =============================================
   13. 404 & SCROLL TO TOP
   ============================================= */
.page-404{text-align:center;padding:80px 20px}
.error-code{font-size:120px;font-weight:900;color:var(--border);line-height:1}
.error-title{font-size:28px;font-weight:800;margin-bottom:12px}
.error-text{color:var(--text-muted);margin-bottom:28px}
.btn-home{display:inline-flex;align-items:center;gap:8px;background:var(--primary-grad);color:var(--white);font-size:14px;font-weight:700;padding:12px 26px;border-radius:var(--radius-sm);transition:opacity var(--transition),transform var(--transition)}
.btn-home:hover{opacity:.9;transform:translateY(-1px)}

.scroll-top-btn{position:fixed;bottom:28px;right:28px;width:44px;height:44px;background:var(--primary-grad);color:var(--white);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:var(--shadow-md);opacity:0;pointer-events:none;transition:opacity var(--transition),transform var(--transition);z-index:999;cursor:pointer;border:none}
.scroll-top-btn.show{opacity:1;pointer-events:auto}
.scroll-top-btn:hover{transform:translateY(-3px)}

/* =============================================
   14. RESPONSIVE
   ============================================= */
@media(max-width:1024px){
  .header-nav-link,.cat-pill-nav-item{padding:5px 9px;font-size:12px}
  .header-search-wrap{width:180px}
  .hero-grid{grid-template-columns:1fr;gap:16px}
  .hero-featured{min-height:300px;height:auto}
  .hero-slider-wrap{min-height:220px;height:clamp(220px, 56.25vw, 360px)}
  .hero-side{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;height:auto}
  .side-news-card{flex:initial;min-height:80px}
  .content-layout{grid-template-columns:1fr}
  .cat-cards-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  /* --- 1. MOBİLDE LOGOYU VE HEADER'I ORTALA --- */
  .site-header {
    padding: 0;
  }
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-align: center;
  }
  .site-branding {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .brand-text {
    align-items: center;
    text-align: center;
  }
  .brand-name {
    justify-content: center;
    text-align: center;
  }
  .brand-sub {
    justify-content: center;
    text-align: center;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
  }
  .header-search-wrap {
    display: none;
  }

  /* --- 2. MOBİLDE MENÜLERİ ORTALA --- */
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 18px 20px 22px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 250;
    margin: 0;
    text-align: center;
  }
  .header-nav.open {
    display: block;
    animation: fadeInDown 0.25s ease;
  }
  .header-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .cat-pill-nav-item,
  .header-nav-link {
    width: 100%;
    max-width: 300px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    margin: 0 auto;
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
  }

  /* --- 3. MOBİLDE HAKKIMIZDA, İLETİŞİM VB. MENÜLER ANASAYFA ÜSTÜNDE OLMASIN (Masaüstünde kalsın) --- */
  .sub-header-bar {
    display: none !important;
  }

  /* Sayfa Gridleri & Yerleşim */
  .posts-grid { grid-template-columns: 1fr; }
  .archive-posts-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-featured { min-height: 260px; }
  .hero-featured-body { padding: 12px 14px 14px; }
  .hero-featured-title { font-size: 14.5px; margin-bottom: 6px; line-height: 1.35; max-width: 95%; }
  .hero-badges { margin-bottom: 6px; gap: 4px; }
  .hero-badge { padding: 2px 8px; font-size: 9px; }
  .hero-meta-chip { font-size: 9.5px; padding: 2px 7px; }
  .hero-slider-controls { bottom: 10px; right: 12px; padding: 3px 8px; gap: 8px; }
  .slider-arrow { width: 18px; height: 18px; font-size: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .single-title { font-size: 22px; }
  .single-article-card { padding: 20px 16px; }
  .category-header-banner { padding: 20px; }
  .post-nav-row { grid-template-columns: 1fr; }
}

@media(max-width:480px){
  :root{--max-w:100%}
  .container{padding:0 14px}
  .header-inner{padding:12px 14px}
  .cat-cards-grid{grid-template-columns:1fr 1fr}
  .hero-featured-title{font-size:17px}
  .single-title{font-size:19px}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.text-center{text-align:center}

/* Force White MEB Logo in Badges */
.brand-mascot, .brand-mascot svg, .brand-mascot svg *, .brand-svg-icon,
.footer-brand-badge, .footer-brand-badge svg, .footer-brand-badge svg *, .footer-brand-svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* --- HERO SLIDER (2s Doğal Geçiş) --- */
.hero-slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 388px;
  box-shadow: var(--shadow-lg);
  background: #0f172a;
}
.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  pointer-events: none;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.hero-slide-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hero-slider-controls {
  position: absolute;
  bottom: 16px;
  right: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.slider-dot.active {
  width: 22px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.slider-nav-arrows {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}
.slider-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider-arrow:hover {
  background: var(--primary);
  transform: scale(1.1);
}

/* --- ARAMA SONUÇLARI SAYFASI (Search Results) --- */
.search-header-banner {
  background: linear-gradient(135deg, #070e1e 0%, #0f172a 50%, #1e293b 100%);
  color: #ffffff;
  padding: 38px 0;
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.search-banner-inner {
  max-width: 680px;
  margin: 0 auto;
}
.search-badge-label {
  display: inline-block;
  background: rgba(186, 27, 29, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(186, 27, 29, 0.45);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.search-banner-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.search-banner-meta {
  color: #94a3b8;
  font-size: 14px;
  margin: 0 0 20px;
}
.search-banner-meta strong {
  color: #f1f5f9;
}
.search-refine-wrap {
  display: flex;
  justify-content: center;
}
.search-refine-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 9999px;
  padding: 4px 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.search-refine-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 14px;
  outline: none;
  color: #0f172a;
}
.search-refine-form button {
  background: var(--primary-grad);
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.search-refine-form button:hover {
  opacity: 0.9;
}
.no-results-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  max-width: 600px;
  margin: 20px auto;
  box-shadow: var(--shadow-sm);
}
.no-results-icon {
  font-size: 54px;
  margin-bottom: 16px;
}
.no-results-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}
.no-results-text {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
}
.no-results-suggestions {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.no-results-suggestions ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}
.btn-home-return {
  display: inline-block;
  background: var(--primary-grad);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(186,27,29,0.3);
}
.btn-home-return:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(186,27,29,0.45);
}

/* --- MULTI-COLORED TICKER (Örnek Sitedeki Gibi Her Konu Ayrı Renk - Kayan Bant) --- */
.breaking-bar {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 44px;
  border-radius: var(--radius-md);
  position: relative;
}
.breaking-label {
  background: linear-gradient(135deg, #991b1b 0%, #ba1b1d 60%, #dc2626 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: 2px 0 8px rgba(186, 27, 29, 0.25);
  z-index: 2;
}
.breaking-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 8px;
  position: relative;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .ticker-track:hover {
    animation-play-state: paused;
  }
}
@keyframes tickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
@keyframes tickerMove {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
.ticker-pill-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px 3px 4px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.4;
  flex-shrink: 0;
}
.ticker-pill-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.ticker-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.ticker-pill-title {
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- REKLAM ALANLARI (Ad Slots) --- */
.mebv2-ad-slot {
  margin: 16px auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
}
.mebv2-ad-header { margin: 10px auto; }
.mebv2-ad-hero_after { margin: 20px auto 10px; }
.mebv2-ad-single_before { margin: 0 0 20px; }
.mebv2-ad-single_after { margin: 24px 0; }
.mebv2-ad-footer { margin: 24px auto 0; }
.brand-custom-img { object-fit: contain; }


/* ============================================

/* =============================================
   HABER ETKİLEŞİM ALANI (Adblocker Geçirmez)
   ============================================= */
.meb-makale-etkilesim {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 28px 0 24px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: block;
}

.meb-etkilesim-baslik {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.meb-etkilesim-ikon {
  font-size: 16px;
  line-height: 1;
}

.meb-etkilesim-metin {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.2px;
}

.meb-buton-grubu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meb-etkilesim-kart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  color: #ffffff;
  line-height: 1;
  box-sizing: border-box;
}

.meb-etkilesim-kart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  filter: brightness(1.05);
  color: #ffffff;
}

.meb-etkilesim-kart:active {
  transform: translateY(0);
}

/* WhatsApp */
.meb-etkilesim-kart.meb-kart-w {
  background: #25d366;
  color: #ffffff;
}
.meb-etkilesim-kart.meb-kart-w:hover {
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Twitter / X */
.meb-etkilesim-kart.meb-kart-x {
  background: #0f1419;
  color: #ffffff;
}
.meb-etkilesim-kart.meb-kart-x:hover {
  box-shadow: 0 6px 18px rgba(15, 20, 25, 0.35);
}

/* Facebook */
.meb-etkilesim-kart.meb-kart-f {
  background: #1877f2;
  color: #ffffff;
}
.meb-etkilesim-kart.meb-kart-f:hover {
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.35);
}

/* Telegram */
.meb-etkilesim-kart.meb-kart-t {
  background: #229ed9;
  color: #ffffff;
}
.meb-etkilesim-kart.meb-kart-t:hover {
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.35);
}

/* Copy Link */
.meb-etkilesim-kart.meb-kart-k {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.meb-etkilesim-kart.meb-kart-k:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.meb-etkilesim-kart.meb-kart-k.copied {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.meb-kart-ikon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.meb-bildirim-toast {
  display: none;
  background: #065f46;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-top: 10px;
  animation: fadeIn 0.2s ease;
  width: fit-content;
}
.meb-bildirim-toast.show {
  display: inline-block;
}

@media (max-width: 768px) {
  .meb-makale-etkilesim {
    padding: 14px 16px;
    margin: 22px 0 18px;
  }
  .meb-buton-grubu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .meb-etkilesim-kart {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }
  .meb-etkilesim-kart.meb-kart-k {
    grid-column: span 2;
  }
}
