/* ==========================================================================
   CYBERSEC 2.0 - ULTRA FAST & AI-SEO (GEO) SİBER GÜVENLİK BLOG PLATFORMU
   Modern 3 Kolonlu Tasarım | Sıfır Bloat | 100% Core Web Vitals Uyumlu
   (Render-blocking @import kaldırıldı -> Kaynaklar HTML <head> içinde preload edildi)
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Aydınlık Mod (Ultra Temiz Tech White) */
  --bg-body: #f4f6fb;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-input: #edf2f7;
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #94a3b8;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: rgba(2, 132, 199, 0.1);
  --accent-gradient: linear-gradient(135deg, #0284c7, #38bdf8);
  --accent-cyan: #06b6d4;
  --header-bg: rgba(255, 255, 255, 0.95);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --tag-bg: #f1f5f9;
  --tag-text: #334155;
  --code-bg: #0f172a;
  --code-text: #38bdf8;
  --ai-box-bg: rgba(2, 132, 199, 0.05);
  --ai-box-border: rgba(2, 132, 199, 0.25);
  --threat-bg: rgba(239, 68, 68, 0.08);
  --threat-border: rgba(239, 68, 68, 0.25);
}

/* Karanlık Mod (Cyber Obsidian & Neon Cyan - Varsayılan Siber Deneyim) */
body.templatemarkDark {
  --bg-body: #050811;
  --bg-card: #0c1222;
  --bg-card-hover: #111a30;
  --bg-sidebar: #0c1222;
  --bg-input: #121a2f;
  --border-color: rgba(56, 189, 248, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --accent: #00f0ff;
  --accent-hover: #38bdf8;
  --accent-light: rgba(0, 240, 255, 0.12);
  --accent-gradient: linear-gradient(135deg, #0284c7, #00f0ff);
  --accent-cyan: #00f0ff;
  --header-bg: rgba(12, 18, 34, 0.95);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.6);
  --tag-bg: rgba(56, 189, 248, 0.1);
  --tag-text: #7dd3fc;
  --code-bg: #04060c;
  --code-text: #00f0ff;
  --ai-box-bg: rgba(0, 240, 255, 0.05);
  --ai-box-border: rgba(0, 240, 255, 0.3);
  --threat-bg: rgba(239, 68, 68, 0.12);
  --threat-border: rgba(239, 68, 68, 0.35);
}

/* Temel Sıfırlamalar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  transition: background-color 0.25s ease, color 0.25s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ==========================================================================
   CANLI TEHDİT & CVE AKIŞ BARI (Breaking Cyber Intel Ticker)
   ========================================================================== */

.cyber-ticker-bar {
  background: linear-gradient(90deg, #070b14, #0f172a, #070b14);
  border-bottom: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  position: relative;
  z-index: 101;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseEffect 1.8s infinite;
}

@keyframes pulseEffect {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.ticker-item .cve-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ==========================================================================
   ANA İSKELET (#outer-wrapper) - GENİŞ 3 KOLONLU MODERN DÜZEN
   ========================================================================== */

#outer-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  max-width: 1620px;
  width: 96%;
  margin: 0 auto;
  padding: 24px 20px;
  gap: 32px;
}

/* ==========================================================================
   1. KOLON: SOL DİKEY SABİT MENÜ (MSD templatemarkHeader - 250px)
   ========================================================================== */

.templatemarkHeader {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.templatemarkHeader::-webkit-scrollbar {
  width: 4px;
}

.templatemarkHeader::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

/* Sol Logo Alanı */
.templatemarkHeader .header-logo-wrap {
  margin-bottom: 20px;
}

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

.templatemarkHeader .logo-shield {
  width: 42px;
  height: 42px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.templatemarkHeader .logo-shield::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shineLogo 4s infinite;
}

@keyframes shineLogo {
  0% { transform: translateX(-100%) rotate(45deg); }
  30%, 100% { transform: translateX(100%) rotate(45deg); }
}

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

.templatemarkHeader .logo-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.templatemarkHeader .logo-title span {
  color: var(--accent);
}

.templatemarkHeader .logo-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

/* Sol Canlı Arama */
.templatemarkHeader .templatemarkSearch {
  position: relative;
  margin-bottom: 18px;
}

.templatemarkHeader .templatemarkSearch .input {
  width: 100%;
  padding: 10px 36px 10px 14px;
  font-size: 0.86rem;
  background-color: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.templatemarkHeader .templatemarkSearch .input:focus {
  border-color: var(--accent);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.templatemarkHeader .templatemarkSearch .search-icon-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--text-subtle);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.templatemarkHeader .templatemarkSearch .search-icon-btn:hover {
  color: var(--accent);
}

/* Sol Navigasyon Menüsü */
.templatemarkMenu {
  font-size: 0.94rem;
  font-weight: 500;
}

.templatemarkMenu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.templatemarkMenu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.templatemarkMenu li a:hover,
.templatemarkMenu li a.active {
  background-color: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  transform: translateX(2px);
}

.templatemarkMenu li a i {
  width: 22px;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.templatemarkMenu li a:hover i,
.templatemarkMenu li a.active i {
  color: var(--accent);
}

.templatemarkMenu li a .menu-arrow {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-subtle);
}

/* Gece Modu Switch'i */
.templatemarkMenu .templatemarkDarkMode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  margin: 8px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.templatemarkMenu .dark-mode-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.templatemarkMenu .dark-mode-label i {
  width: 22px;
  color: var(--accent);
  text-align: center;
  font-size: 1.05rem;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 23px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 23px;
}

.theme-slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .theme-slider {
  background-color: var(--accent);
}

input:checked + .theme-slider:before {
  transform: translateX(21px);
}

/* Sol Menü: Yazar Profili */
.templatemarkMenu .menu-profile {
  margin-top: 8px;
}

.templatemarkMenu .menu-profile a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background-color: var(--bg-input);
}

.templatemarkMenu .menu-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.templatemarkMenu .menu-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.templatemarkMenu .menu-profile-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Takip Et & Abone Ol Butonları */
.templatemarkMenu .subs {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}

.templatemarkMenu .subs a,
.templatemarkMenu .subs button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  background-color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.templatemarkMenu .subs a:hover,
.templatemarkMenu .subs button:hover {
  background-color: var(--accent);
  transform: translateY(-1px);
}

/* Sol Menü: Alt Bilgi */
.templatemarkMenu .menu-footer {
  font-size: 0.74rem;
  color: var(--text-subtle);
  line-height: 1.5;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.templatemarkMenu .footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.74rem;
}

.templatemarkMenu .footer-nav-links a {
  padding: 0;
  color: var(--text-muted);
}

.templatemarkMenu .footer-nav-links a:hover {
  color: var(--accent);
  background: none;
}

.templatemarkMenu .menu-social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.templatemarkMenu .menu-social-icons a {
  padding: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.templatemarkMenu .menu-social-icons a:hover {
  color: var(--accent);
  background: none;
}

.templatemarkMenu .menu-copyright {
  font-size: 0.7rem;
  color: var(--text-subtle);
}

.mobile-header-bar {
  display: none;
}

/* ==========================================================================
   2 & 3. BÖLÜM: ORTA İÇERİK & SAĞ YAN PANEL (.bwrapsite-content)
   1fr (Orta Geniş Alan) + 340px (Sağ Panel)
   ========================================================================== */

.bwrapsite-content {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.content-area {
  min-width: 0;
}

/* Kategori Hızlı Filtre Barı */
.quick-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.quick-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  padding: 7px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-chip:hover,
.filter-chip.active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-light);
}

/* ==========================================================================
   ÖNE ÇIKAN YAZI BÖLÜMÜ (MSD Featured Post - #favpost)
   Modern Sinematik Yatay Düzen (Horizontal Split)
   ========================================================================== */

#favpost {
  margin-bottom: 34px;
}

.section-head-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head-title .title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head-title i {
  color: var(--accent);
}

.featured-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 320px;
  position: relative;
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.45);
}

.featured-img-wrap {
  position: relative;
  flex: 0 0 46%;
  min-height: 300px;
  overflow: hidden;
  background-color: #0c1222;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.featured-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(12, 18, 34, 0.88);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-body {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 1.52rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-main);
}

.featured-title a:hover {
  color: var(--accent);
}

.featured-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.post-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.meta-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: var(--accent);
}

.btn-bookmark {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-bookmark:hover,
.btn-bookmark.bookmarked {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   BLOG YAZILARI LİSTESİ (MSD Post Grid - #mainblogsec)
   Otomatik 3 Kolona Kadar Akıcı Izgara
   ========================================================================== */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.post-card-thumb {
  position: relative;
  width: 100%;
  height: 195px;
  overflow: hidden;
  background-color: #0c1222;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.post-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 18, 34, 0.88);
  backdrop-filter: blur(6px);
  color: var(--accent-cyan);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 16px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.post-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.post-card-tag {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-main);
  flex: 1;
}

.post-card-title a:hover {
  color: var(--accent);
}

.post-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sayfalama */
.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding: 10px 0;
}

.pager-btn {
  padding: 8px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pager-btn:hover,
.pager-btn.active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pager-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   SAĞ YAN PANEL / SIDEBAR (MSD #sidebar-wrapper - 340px)
   ========================================================================== */

.sidebar-area {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sidebar-widget {
  background-color: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--accent);
}

/* Siber Tehdit Durum Widget'ı */
.threat-status-box {
  background: var(--threat-bg);
  border: 1px solid var(--threat-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}

.threat-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.threat-level-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.threat-stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-subtle);
  color: var(--text-muted);
}

.threat-stat-item strong {
  color: var(--text-main);
  font-family: var(--font-code);
}

/* Popüler Yazılar */
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popular-post-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.popular-post-thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #0c1222;
}

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

.popular-post-item:hover .popular-post-thumb img {
  transform: scale(1.06);
}

.popular-post-info {
  flex: 1;
  min-width: 0;
}

.popular-post-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-post-title a:hover {
  color: var(--accent);
}

.popular-post-date {
  font-size: 0.74rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Kategoriler Bulutu */
.categories-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--tag-bg);
  color: var(--tag-text);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-pill:hover,
.category-pill.active {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.category-pill .pill-count {
  background: rgba(0, 0, 0, 0.15);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.7rem;
}

/* Hızlı Araçlar */
.quick-tools-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.tool-link-card:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(3px);
}

/* E-Bülten */
.subscribe-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(0, 240, 255, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.3);
  text-align: center;
}

.subscribe-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.subscribe-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.subscribe-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subscribe-input {
  width: 100%;
  padding: 11px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.88rem;
}

.subscribe-btn {
  padding: 11px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.subscribe-btn:hover {
  opacity: 0.92;
}

/* ==========================================================================
   AI-SEO / GEO & MAKALE DETAY SAYFASI (post.html)
   ========================================================================== */

.single-post-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.post-breadcrumb a:hover {
  color: var(--accent);
}

.single-post-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* AI-SEO / GEO (Generative Engine Optimization) TL;DR Kutusu */
.ai-summary-box {
  background: var(--ai-box-bg);
  border: 1px solid var(--ai-box-border);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0 28px;
  position: relative;
}

.ai-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

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

.ai-summary-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
}

.ai-summary-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Kapak Görseli */
.single-post-cover {
  width: 100%;
  max-height: 440px;
  border-radius: 14px;
  overflow: hidden;
  margin: 24px 0;
  background-color: #0c1222;
}

.single-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* İçindekiler Tablosu (TOC) */
.post-toc {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 26px 0;
}

.post-toc-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-toc-list {
  list-style: decimal;
  padding-left: 22px;
}

.post-toc-list li {
  margin-bottom: 8px;
}

.post-toc-list a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.post-toc-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* İçerik Tipografisi */
.entry-content {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--text-main);
}

.entry-content p {
  margin-bottom: 22px;
}

.entry-content h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-main);
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}

.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 26px 0 14px;
  color: var(--text-main);
}

.entry-content ul, .entry-content ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

/* Uyarı Kutuları */
.alert-box {
  padding: 18px 22px;
  border-radius: 12px;
  margin: 26px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.94rem;
}

.alert-box.info {
  background-color: rgba(2, 132, 199, 0.08);
  border-left: 4px solid #0284c7;
}

.alert-box.warning {
  background-color: rgba(245, 158, 11, 0.08);
  border-left: 4px solid #f59e0b;
}

.alert-box.danger {
  background-color: rgba(239, 68, 68, 0.08);
  border-left: 4px solid #ef4444;
}

.alert-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-box.info .alert-icon { color: #0284c7; }
.alert-box.warning .alert-icon { color: #f59e0b; }
.alert-box.danger .alert-icon { color: #ef4444; }

/* Kod Blokları & Terminal */
.code-block {
  background-color: var(--code-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin: 26px 0;
  font-family: var(--font-code);
}

.code-header {
  background-color: #0b1120;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-header .lang-tag {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-cyan);
}

.btn-copy-code {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.btn-copy-code:hover {
  color: #fff;
}

.code-block pre {
  padding: 18px 22px;
  overflow-x: auto;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Paylaşım Butonları */
.single-post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 30px 0;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 700;
  font-size: 0.92rem;
  margin-right: 6px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.twitter { background-color: #1da1f2; }
.share-btn.linkedin { background-color: #0a66c2; }
.share-btn.telegram { background-color: #229ed9; }
.share-btn.whatsapp { background-color: #25d366; }

/* ==========================================================================
   YUKARI ÇIK BUTONU (.smoothscroll-top)
   ========================================================================== */

.smoothscroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.smoothscroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.smoothscroll-top:hover {
  transform: translateY(-3px) scale(1.05);
}

/* ==========================================================================
   KATEGORİLER POP-UP MODALI (.popnotification)
   ========================================================================== */

.category-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.category-modal.active {
  opacity: 1;
  visibility: visible;
}

.category-modal-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.category-modal.active .category-modal-box {
  transform: scale(1);
}

.category-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.category-modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-modal-title i {
  color: var(--accent);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

.category-grid-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-item-card {
  padding: 14px 18px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.category-item-card:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.category-item-card .cat-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.category-item-card .cat-count {
  font-size: 0.74rem;
  background: var(--bg-card);
  padding: 3px 8px;
  border-radius: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE UYUMLULUK (Mobil / Tablet Görünümleri)
   ========================================================================== */

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

@media (max-width: 960px) {
  .featured-card {
    flex-direction: column;
  }

  .featured-img-wrap {
    flex: none;
    height: 230px;
    min-height: auto;
  }
}

@media (max-width: 900px) {
  #outer-wrapper {
    display: block;
    width: 100%;
    padding: 0;
    padding-top: 60px;
  }

  .bwrapsite-content {
    padding: 16px;
    grid-template-columns: 1fr;
  }

  .mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
  }

  .mobile-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-menu-toggle-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-main);
    cursor: pointer;
  }

  .templatemarkHeader {
    position: fixed;
    top: 0;
    left: -290px;
    width: 270px;
    min-width: 270px;
    max-width: 270px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border-top: none;
    border-bottom: none;
    z-index: 2001;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .templatemarkHeader.mobile-open {
    left: 0;
  }

  .mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

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

  .single-post-container {
    padding: 22px;
  }

  .single-post-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   AI-SEO & KULLANICI FAQ (SIKÇA SORULAN SORULAR) AKORDİYON STİLLERİ
   ========================================================================== */

.faq-section {
  margin: 38px 0 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.faq-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-question i {
  color: var(--accent);
  transition: transform 0.25s ease;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 20px 18px;
}

