/*
Theme Name: Aydıner V2
Theme URI: https://www.aydiner.gen.tr
Author: AI Geliştirici
Description: Bilişim Teknolojileri eğitim portalı için modern, akademik karanlık tema.
Version: 1.1.0
*/

:root {
  --navy-950: #060B18;
  --navy-900: #0B1326;
  --navy-800: #101D3C;
  --navy-700: #142550;
  --navy-600: #1A2F66;
  --navy-500: #1E3A8A;
  --blue-400: #3B82F6;
  --blue-300: #60A5FA;
  --cyan: #38BDF8;
  --amber: #F59E0B;
  --green: #10B981;
  --red: #EF4444;
  --text: #F0F4FF;
  --text-muted: #94A3B8;
  --text-faint: #5B7090;
  --border: rgba(59, 130, 246, 0.12);
  --border-bright: rgba(59, 130, 246, 0.25);
  --radius: 14px;
  --radius-sm: 8px;
  --tr: all 0.22s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--navy-900);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}


/* â”€â”€ TOP BAR â”€â”€ */
.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  overflow: hidden;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
  gap: 8px;
  flex-wrap: wrap;
}

.topbar-inner a {
  color: var(--text-faint);
  text-decoration: none;
}

.topbar-inner a:hover {
  color: var(--blue-300);
}

.topbar-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* â”€â”€ HEADER â”€â”€ */
header {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-bottom: 1px solid var(--border-bright);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  width: 54px;
  height: 54px;
  box-shadow: inset 0 0 20px rgba(96, 165, 250, 0.1), 0 8px 16px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  transition: var(--tr);
}

.brand:hover .brand-icon {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: inset 0 0 30px rgba(96, 165, 250, 0.2), 0 12px 24px rgba(0, 0, 0, 0.4);
}

.brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.brand-tagline {
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.brand-motto {
  font-size: 11px;
  color: var(--blue-300);
  font-style: italic;
}

/* Searchbar in header */
.header-search {
  width: 100%;
  max-width: 340px;
  position: relative;
  margin-left: auto;
  /* Aligns search to the right */
}

.header-search input {
  width: 100%;
  background: var(--navy-700);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 9px 74px 9px 40px;
  /* Added right padding for button */
  font-size: 13px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--tr);
}

.header-search input::placeholder {
  color: var(--text-faint);
}

.header-search input:focus {
  border-color: var(--blue-400);
  background: var(--navy-800);
}

.header-search>svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}

.search-submit {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: linear-gradient(135deg, var(--navy-500), var(--blue-400));
  border: none;
  border-radius: 6px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 0 14px;
  cursor: pointer;
  transition: var(--tr);
}

.search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-outline {
  border: 1px solid var(--border-bright);
  background: transparent;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--tr);
  font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
  border-color: var(--blue-400);
  color: var(--text);
}

.hamburger {
  display: none;
  background: var(--navy-700);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--tr);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* â”€â”€ NAV â”€â”€ */
.nav-bar {
  background: var(--navy-800);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-inner a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 13px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--tr);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-inner a:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.05);
}

.nav-inner a.active {
  color: var(--blue-300);
  border-bottom-color: var(--blue-400);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--navy-800);
  border-top: 1px solid var(--border);
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  z-index: 190;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.05);
}

/* ── MAIN CONTENT AREA ── */
.site-container {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  overflow: hidden;
}

.main-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* â”€â”€ SECTION TITLE â”€â”€ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.section-label .bar {
  width: 4px;
  height: 22px;
  background: linear-gradient(to bottom, var(--blue-400), var(--cyan));
  border-radius: 4px;
}

.section-label .badge {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue-300);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.see-all {
  font-size: 13px;
  color: var(--blue-300);
  text-decoration: none;
  font-weight: 500;
  transition: var(--tr);
}

.see-all:hover {
  color: var(--cyan);
}

/* ── SLIDER ── */
.slider-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-800);
  border: 1px solid var(--border-bright);
  margin-bottom: 34px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 100%;
}

.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  position: relative;
  background: var(--navy-800);
  text-decoration: none;
  overflow: hidden;
}

.slide-img-half {
  flex: 0 0 45%;
  max-width: 45%;
  /* Sol taraf %45 resim */
  background-size: cover;
  background-position: center;
  position: relative;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.slide-img-half::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(15, 23, 42, 0.6) 100%);
}

.slide-body {
  flex: 1;
  padding: 32px 48px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

.slide-body .card-category {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 0px;
}

.slide-body h1.slide-title {
  font-family: 'Poppins', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
  margin-bottom: -2px;
}

.slide-body p.slide-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--tr);
  width: fit-content;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

.read-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 29, 60, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.slider-btn:hover {
  background: var(--blue-400);
  border-color: var(--blue-400);
}

.slider-btn.prev {
  left: 24px;
}

.slider-btn.next {
  right: 24px;
}

/* Dots & Indicators positioned for dual-pane */
.slider-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 72.5%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--tr);
  padding: 0;
}

.dot.active {
  background: var(--blue-400);
  width: 24px;
  border-radius: 4px;
}

/* Caption overlay top-right of the text pane */
.slide-count {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 10px;
  pointer-events: auto;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-500));
  width: 0%;
  transition: width linear;
}

/* Responsive slider */
@media(max-width:900px) {
  .slide {
    flex-direction: column;
  }

  .slide-img-half {
    width: 100%;
    height: 240px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .slide-body {
    padding: 24px 20px 48px 20px;
  }

  .slider-btn.prev {
    left: 12px;
  }

  .slider-btn.next {
    right: 12px;
  }

  .slider-dots {
    left: 50%;
    bottom: 16px;
  }

  .slide-body h1.slide-title {
    font-size: 20px;
  }

  .slide-count {
    top: 16px;
    right: 16px;
  }
}

/* ── CONTENT TYPOGRAPHY (SINGLE & PAGE) ── */
.single-content p {
  margin-bottom: 20px;
}

.single-content a {
  color: var(--blue-400);
  text-decoration: none;
  transition: var(--tr);
}

.single-content a:hover {
  text-decoration: underline;
  color: var(--blue-500);
}

.single-content h2,
.single-content h3,
.single-content h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.single-content blockquote {
  border-left: 4px solid var(--blue-500);
  padding: 18px 24px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 0 12px 12px 0;
  font-size: 1.05em;
}

/* Inline Code Elements */
.single-content code {
  background: rgba(56, 189, 248, 0.15);
  padding: 3px 7px;
  border-radius: 5px;
  font-family: 'Fira Code', 'Consolas', monospace;
  color: var(--cyan);
  font-size: 0.85em;
}

/* Large Preformatted Code Blocks */
.single-content pre,
.single-content .wp-block-code {
  background: #0D1117;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
  margin-bottom: 28px;
  color: #c9d1d9;
  font-family: 'Fira Code', 'Consolas', monospace;
  line-height: 1.6;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Reset inline code styles if perfectly nested inside a pre block */
.single-content pre code,
.single-content .wp-block-code code,
.single-content .wp-block-code pre {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.single-content ul,
.single-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.single-content li {
  margin-bottom: 8px;
}

/* Meta Links & Tags */
.single-meta a {
  color: var(--blue-300);
  text-decoration: none;
  font-weight: 500;
  transition: var(--tr);
}

.single-meta a:hover {
  color: var(--cyan);
  text-decoration: underline;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 4px;
}

/* In-Post Navigation (Prev/Next Links) */
.post-navigation a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: var(--tr);
  display: inline-block;
  background: var(--navy-800);
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.post-navigation a:hover {
  background: var(--navy-700);
  border-color: var(--blue-400);
  color: var(--blue-300);
  transform: translateY(-2px);
}

/* WP Syntax Highlighter Plugin Overrides (SyntaxHighlighter Evolved & EnlighterJS) */
.single-content .syntaxhighlighter,
.single-content .enlighter-default {
  background-color: #0D1117 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.2) !important;
  padding: 16px 0 !important;
  margin-bottom: 28px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.single-content .syntaxhighlighter table {
  margin-bottom: 0 !important;
}

.single-content .syntaxhighlighter .line.alt1,
.single-content .syntaxhighlighter .line.alt2 {
  background: transparent !important;
}

.single-content .syntaxhighlighter .gutter .line {
  color: #484f58 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-right: 12px !important;
}

.single-content .syntaxhighlighter .container .line {
  color: #c9d1d9 !important;
  font-family: 'Fira Code', 'Consolas', monospace !important;
  white-space: pre !important;
  word-wrap: normal !important;
  word-break: normal !important;
}

/* ── POST GRID ── */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

.post-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--tr);
  cursor: pointer;
}

.post-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  flex-shrink: 0;
}

.thumb-web {
  background: linear-gradient(135deg, #0D1F4D, #1A3580);
}

.thumb-prog {
  background: linear-gradient(135deg, #042620, #065F46);
}

.thumb-arduino {
  background: linear-gradient(135deg, #0A1628, #1E3A5F);
}

.thumb-ai {
  background: linear-gradient(135deg, #1A0533, #4A0E96);
}

.thumb-sql {
  background: linear-gradient(135deg, #1F1206, #78350F);
}

.thumb-robotik {
  background: linear-gradient(135deg, #0C1A32, #1E3A54);
}

.thumb-3d {
  background: linear-gradient(135deg, #1A0520, #5B21B6);
}

.thumb-grafik {
  background: linear-gradient(135deg, #190D2E, #7C3AED);
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cyan);
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-faint);
}

.card-tag {
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

/* â”€â”€ CATEGORIES SHOWCASE â”€â”€ */
.cat-showcase {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}

.cat-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 6px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--tr);
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--blue-400);
  background: var(--navy-700);
  transform: translateY(-2px);
}

.cat-icon {
  font-size: 20px;
}

.cat-name {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  text-wrap: nowrap;
}

.cat-count {
  font-size: 9.5px;
  color: var(--text-faint);
}

/* â”€â”€ SIDEBAR â”€â”€ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.widget {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.widget-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 15px;
  background: var(--blue-400);
  border-radius: 3px;
}

/* Ã–zet yazÄ± (sidebar) */
.mini-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
}

.mini-post:hover .mini-title {
  color: var(--blue-300);
}

.mini-num {
  width: 26px;
  height: 26px;
  background: var(--navy-700);
  border: 1px solid var(--border-bright);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-300);
  flex-shrink: 0;
}

.mini-post:first-child .mini-num {
  background: linear-gradient(135deg, var(--navy-500), var(--blue-400));
  color: #fff;
  border-color: transparent;
}

.mini-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  transition: var(--tr);
}

.mini-meta {
  font-size: 11px;
  color: var(--text-faint);
}

/* Kategori listesi sidebar */
.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
  transition: var(--tr);
}

.cat-list a:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--text);
}

.cat-badge {
  background: var(--navy-700);
  color: var(--text-faint);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Tags & WP Tag Cloud Widget */
.tag-cloud,
.tagcloud,
.wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.tagcloud a,
.wp-block-tag-cloud a {
  background: var(--navy-700);
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  font-size: 12px !important;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--tr);
  display: inline-block;
}

.tag:hover,
.tagcloud a:hover,
.wp-block-tag-cloud a:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--blue-400);
  color: var(--blue-300) !important;
  transform: translateY(-1px);
}

/* Duyuru banner */
.announce {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.announce-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.announce-text h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.announce-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* â”€â”€ FOOTER â”€â”€ */
footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border-bright);
  padding: 52px 0 24px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--tr);
}

.footer-col ul a:hover {
  color: var(--blue-300);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
}

/* â”€â”€ PREVIEW BADGE â”€â”€ */
.preview-chip {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--navy-500), var(--blue-400));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
  font-family: 'Poppins', sans-serif;
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media(max-width:1100px) {
  .site-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:768px) {
  .nav-bar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-post {
    flex-direction: column;
  }

  .hero-post-img {
    width: 100%;
    height: 200px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .cat-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .header-search {
    display: none;
  }

  /* Slider tam mobil düzeni */
  .slider-wrap {
    border-radius: 12px;
  }

  .slide {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .slide-img-half {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .slide-body {
    padding: 20px 18px 32px 18px;
    width: 100%;
  }

  .slider-dots {
    left: 50%;
  }

  .slide-body h1.slide-title {
    font-size: 18px;
  }

  /* Site container mobil */
  .site-container {
    padding: 0 16px;
    margin-top: 28px;
  }
}

@media(max-width:480px) {
  .header-main {
    padding: 0 12px;
    gap: 8px;
    height: 60px;
  }

  .site-container {
    padding: 0 12px;
    margin-top: 20px;
  }

  .topbar-inner {
    padding: 0 12px;
    gap: 8px;
  }

  .topbar-date {
    display: none; /* Çok dar ekranlarda tarihi gizle */
  }

  .topbar-inner > div:last-child {
    width: 100%;
    justify-content: center;
  }

  .cat-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-tagline,
  .brand-motto {
    display: none;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Slider mobil iyileştirme */
  .slider-wrap {
    border-radius: 12px;
  }

  .slide-body {
    padding: 16px 14px 28px 14px;
  }

  .slide-body h1.slide-title {
    font-size: 16px;
  }

  .read-btn {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* FIX: NAV LI BULLETS & DROP-DOWN MENU BASIC */
.primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.primary-menu>li {
  position: relative;
}

/* Level 1 Sub-menu (Dropdown) */
.primary-menu ul.sub-menu,
.primary-menu ul.children {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: rgba(11, 19, 38, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 8px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Show on hover */
.primary-menu li:hover>ul.sub-menu,
.primary-menu li:hover>ul.children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sub-menu links */
.primary-menu ul.sub-menu>li,
.primary-menu ul.children>li {
  width: 100%;
}

.primary-menu ul.sub-menu>li>a,
.primary-menu ul.children>li>a {
  padding: 10px 20px;
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: normal;
  border: none;
}

.primary-menu ul.sub-menu>li>a:hover,
.primary-menu ul.children>li>a:hover {
  background: var(--navy-800);
  color: var(--cyan);
}

/* Level 2 Sub-menu (Flyout) */
.primary-menu ul.sub-menu ul.sub-menu,
.primary-menu ul.children ul.children {
  top: 0;
  left: 100%;
  transform: translateX(10px);
}

.primary-menu ul.sub-menu li:hover>ul.sub-menu,
.primary-menu ul.children li:hover>ul.children {
  transform: translateX(0);
}

/* Add an icon to dropdown parent */
.primary-menu li.menu-item-has-children>a::after,
.primary-menu li.page_item_has_children>a::after,
.primary-menu li.cat-parent>a::after {
  content: '▾';
  font-size: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

/* FIX: WP PAGINATION STYLES */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.pagination .page-numbers {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--navy-800);
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border-bright);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: var(--tr);
}

.pagination .page-numbers:hover {
  background: var(--navy-700);
  color: var(--text);
  border-color: var(--blue-400);
}

.pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--navy-500), var(--blue-400));
  color: #fff;
  border-color: transparent;
}