/* ═══════════════════════════════════════════════════════
   Yuxu Yozmalari — Custom CSS  (Blue Design System)
   Primary: #2563EB  |  Header: white  |  Footer: navy blue
   ═══════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────── */
:root {
  --brand:       #2563EB;
  --brand-dark:  #1D4ED8;
  --brand-deep:  #1E3A8A;
  --brand-light: #60A5FA;
  --brand-pale:  #EFF6FF;
  --brand-soft:  #DBEAFE;

  --ink:   #0F172A;
  --muted: #64748B;
  --line:  #E2E8F0;
  --paper: #FFFFFF;

  --grad-brand:  linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
  --grad-accent: linear-gradient(90deg, #1E3A8A 0%, #2563EB 38%, #93C5FD 68%, #1E3A8A 100%);
  --grad-footer: linear-gradient(160deg, #1E40AF 0%, #1E3A8A 58%, #172554 100%);

  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 16px 40px rgba(15,23,42,.12);
  --shadow-xl: 0 24px 60px rgba(15,23,42,.16);
}

/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a, button, input, textarea { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37,99,235,.3);
  outline-offset: 3px;
}

.yy-icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yy-icon-flip { transform: rotate(180deg); }

#main-content { min-height: 60vh; }

/* ── Container ──────────────────────────────────────────── */
.container-main {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container-main { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 768px) {
  .container-main { padding: 0 .75rem; }
}

/* ═══════════════════════════════════════════════════════
   SITE HEADER — white, sticky, backdrop blur
   ═══════════════════════════════════════════════════════ */

.site-header-accent {
  height: 3px;
  background: var(--grad-accent);
}

#site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(37,99,235,.1);
  box-shadow: 0 2px 14px rgba(15,23,42,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#site-header.scrolled {
  box-shadow: 0 4px 22px rgba(15,23,42,.1);
}

/* Logo */
.site-logo-link { text-decoration: none; }

.site-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
  color: var(--brand);
  font-size: .9rem;
  flex-shrink: 0;
  transition: background .2s;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.15);
}

.site-logo-link:hover .site-logo-icon {
  background: linear-gradient(135deg, #BFDBFE, #DBEAFE);
}

.site-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1;
  margin: 0;
}

.site-logo-text span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header mobile buttons */
.header-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  color: #64748B;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: color .15s, background .15s;
}

.header-mobile-btn:hover {
  color: var(--brand);
  background: var(--brand-pale);
}

/* Search */
.header-search-form {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.header-search-form:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  background: #fff;
}

.header-search-input {
  padding: .45rem .25rem .45rem 1rem;
  font-size: .8125rem;
  background: transparent;
  color: var(--ink);
  border: none;
  outline: none;
  width: 9rem;
  transition: width .3s ease;
  min-width: 0;
}

.header-search-form:focus-within .header-search-input { width: 13rem; }
.header-search-input::placeholder { color: #94A3B8; }

.header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  margin: 3px;
  flex-shrink: 0;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: .7rem;
  transition: opacity .15s, transform .15s;
}

.header-search-btn:hover {
  opacity: .88;
  transform: scale(1.08);
}

/* ── Desktop nav ── */
#site-header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

#site-header nav ul li a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .375rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  border-radius: .5rem;
  transition: color .18s, background .18s;
}

#site-header nav ul li a.nav-link:hover,
#site-header nav ul li.current-menu-item > a.nav-link,
#site-header nav ul li.current-menu-ancestor > a.nav-link {
  color: var(--brand);
  background: var(--brand-pale);
}

#site-header nav ul li a.nav-link::after {
  content: '';
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: 2px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

#site-header nav ul li a.nav-link:hover::after,
#site-header nav ul li.current-menu-item > a.nav-link::after {
  transform: scaleX(1);
}

.nav-chevron {
  display: inline-block;
  opacity: .45;
  transition: transform .2s, opacity .2s;
  flex-shrink: 0;
}

#site-header nav ul li.has-dropdown:hover > a .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

#site-header nav ul li.has-dropdown { position: relative; }

#site-header nav ul li .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: .75rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.14);
  min-width: 190px;
  padding: .375rem;
  list-style: none;
  margin: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}

#site-header nav ul li.has-dropdown:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#site-header nav ul li .sub-menu li a.sub-link {
  display: block;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: .8125rem;
  color: #475569;
  text-decoration: none;
  transition: background .12s, color .12s;
  white-space: nowrap;
}

#site-header nav ul li .sub-menu li a.sub-link:hover {
  background: var(--brand-pale);
  color: var(--brand);
}

/* ── Mobile menu panel nav (white theme) ── */
#mobile-menu-panel nav ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: .5rem 0;
}

#mobile-menu-panel nav ul li a.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem .75rem 1.375rem;
  color: #1E293B;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #F1F5F9;
  transition: color .15s, background .15s, border-color .15s;
}

#mobile-menu-panel nav ul li a.nav-link:hover,
#mobile-menu-panel nav ul li.current-menu-item > a.nav-link {
  color: var(--brand);
  background: var(--brand-pale);
  border-left-color: var(--brand);
}

#mobile-menu-panel nav ul li .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #F8FAFF;
  border-left: 3px solid var(--brand-soft);
}

#mobile-menu-panel nav ul li .sub-menu li a.sub-link {
  display: block;
  padding: .5625rem 1.25rem .5625rem 1.625rem;
  font-size: .8125rem;
  color: #475569;
  text-decoration: none;
  border-bottom: 1px solid #EEF2FF;
  transition: color .15s, background .15s;
}

#mobile-menu-panel nav ul li .sub-menu li a.sub-link:hover {
  color: var(--brand);
  background: var(--brand-pale);
}

/* ═══════════════════════════════════════════════════════
   MOBILE MENU OVERLAY
   ═══════════════════════════════════════════════════════ */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
}

#mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(4px);
}

#mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: #fff;
  overflow: hidden;
  box-shadow: 8px 0 48px rgba(15,23,42,.16);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  border-right: 1px solid #E2E8F0;
}

/* ═══════════════════════════════════════════════════════
   ALPHABET BAR
   ═══════════════════════════════════════════════════════ */
.alphabet-section {
  background: rgba(239,246,255,.95);
  border-bottom: 1px solid #BFDBFE;
  backdrop-filter: blur(12px);
}

.alphabet-bar {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  gap: .25rem;
  padding: .125rem 0 .25rem;
  scrollbar-width: thin;
  scrollbar-color: #BFDBFE transparent;
}

.alphabet-bar a {
  display: inline-block;
  min-width: 2rem;
  text-align: center;
  padding: .2rem .55rem;
  border-radius: .375rem;
  font-size: .8125rem;
  font-weight: 600;
  color: #1D4ED8;
  text-decoration: none;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(37,99,235,.1);
  transition: background .15s, color .15s, border-color .15s;
  letter-spacing: .01em;
  white-space: nowrap;
}

.alphabet-bar a:hover,
.alphabet-bar a.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════
   SWIPER HERO
   ═══════════════════════════════════════════════════════ */
.hero-section {
  background:
    linear-gradient(180deg, rgba(30,58,138,.97), rgba(30,64,175,.93)),
    radial-gradient(circle at 20% 0, rgba(59,130,246,.28), transparent 34rem);
  padding: 1.125rem 0;  /* container-main handles horizontal padding */
}

#hero-swiper {
  width: 100%;
  overflow: hidden;
}

/* Hidden until Swiper JS inits */
#hero-swiper.hero-loading { opacity: 0; position: absolute; pointer-events: none; }

/* ── Hero skeleton (matches hero-grid layout) ── */
.hero-skel { padding: 0; }
.hero-skel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 6px;
  border-radius: .875rem;
  overflow: hidden;
}
.hero-skel-large,
.hero-skel-small {
  background: linear-gradient(90deg, #E2E8F0 25%, #CBD5E1 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s infinite linear;
  border-radius: .5rem;
}
.hero-skel-large { grid-row: 1 / span 2; }
.hero-skel.hidden { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 6px;
  border-radius: .875rem;
  overflow: hidden;
}

.hero-grid-card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: #1E3A8A;
  cursor: pointer;
  border-radius: .5rem;
  isolation: isolate;
}

.hero-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}

.hero-grid-card:hover img { transform: scale(1.06); }

.hero-grid-card--large { grid-row: 1 / span 2; }

.hero-grid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: inherit;
  pointer-events: none;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 40%, transparent 65%);
  display: flex;
  align-items: flex-end;
  padding: .875rem 1rem;
  transition: background .3s;
}

.hero-grid-card:hover .hero-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 45%, transparent 68%);
}

.hero-card-title {
  color: #fff;
  font-size: clamp(.82rem, 1.2vw, .95rem);
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 92%;
}

.hero-grid-card--large .hero-card-overlay { padding: 1.25rem 1.375rem; }

.hero-grid-card--large .hero-card-title {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  -webkit-line-clamp: 3;
}

@media (max-width: 639px) {
  .hero-section { padding: .625rem 0; }
  .hero-skel-grid { grid-template-rows: 130px 130px; gap: 4px; }
  .hero-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 130px 130px;
    gap: 4px;
  }
  .hero-grid-card--large {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .hero-grid-card--large .hero-card-title { font-size: .95rem; -webkit-line-clamp: 2; }
  .hero-card-title { font-size: .68rem; }
}

#hero-swiper .swiper-button-next,
#hero-swiper .swiper-button-prev {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  color: var(--brand);
  top: calc(50% - 22px);
  box-shadow: 0 8px 24px rgba(15,23,42,.22);
}

#hero-swiper .swiper-button-next::after,
#hero-swiper .swiper-button-prev::after { font-size: .85rem; font-weight: 900; }

/* Pagination dots — overlaid inside the slider */
#hero-swiper .swiper-pagination {
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

#hero-swiper .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,.55);
  opacity: 1;
  margin: 0 !important;
  transition: width .25s cubic-bezier(.4,0,.2,1), background .25s;
}

#hero-swiper .swiper-pagination-bullet-active {
  width: 22px;
  background: #fff;
  opacity: 1;
  box-shadow: 0 1px 6px rgba(0,0,0,.3);
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════ */
.section-head {
  margin-bottom: 1.5rem;
  max-width: 44rem;
}

.section-head h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .25rem;
}

.section-head p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

.section-underline {
  width: 2.5rem;
  height: 3px;
  background: var(--grad-brand);
  border-radius: 2px;
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════
   BREADCRUMB BAR
   ═══════════════════════════════════════════════════════ */
.breadcrumb-bar {
  background: linear-gradient(90deg, #EFF6FF, #F8FAFF);
  border-bottom: 1px solid #DBEAFE;
  padding: .45rem 0;
  font-size: .76rem;
}

.breadcrumb-bar ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-bar li {
  display: flex;
  align-items: center;
  color: #64748B;
}

.breadcrumb-bar li + li::before {
  content: '/';
  color: #94A3B8;
  margin-right: .3rem;
  font-size: .68rem;
}

.breadcrumb-bar a {
  color: var(--brand);
  text-decoration: none;
  transition: color .15s;
}

.breadcrumb-bar a:hover { color: var(--brand-dark); text-decoration: underline; }
.breadcrumb-bar li:last-child { color: #475569; font-weight: 500; }

/* ═══════════════════════════════════════════════════════
   POST CARDS
   ═══════════════════════════════════════════════════════ */
.post-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
  box-shadow: 0 2px 12px rgba(15,23,42,.07);
  position: relative;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(37,99,235,.18);
}

.post-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  flex-shrink: 0;
}

.post-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.22) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}

.post-card:hover .post-card-thumb::after { opacity: 1; }

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

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

.post-card-body {
  padding: .875rem 1rem 1.125rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid #E8EFFE;
  transition: border-color .25s ease;
}

.post-card:hover .post-card-body { border-top-color: var(--brand); }

.post-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}

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

.post-card-excerpt {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .post-card-body { padding: .75rem; }
  .post-card-title { font-size: .84rem; }
}

/* ═══════════════════════════════════════════════════════
   ARCHIVE / TAG LIST
   ═══════════════════════════════════════════════════════ */
.post-list-item {
  display: block;
  padding: .75rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #F1F5F9;
  font-size: .9375rem;
  transition: color .15s, padding-left .15s;
}

.post-list-item:last-child { border-bottom: none; }

.post-list-item:hover {
  color: var(--brand);
  padding-left: .5rem;
}

/* ═══════════════════════════════════════════════════════
   SINGLE POST — HERO + META BAR
   ═══════════════════════════════════════════════════════ */

/* ── Hero wrapper ── */
.post-hero {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(15,23,42,.14);
}

.post-hero img {
  width: 100%;
  display: block;
  max-height: 480px;
  min-height: 260px;
  object-fit: cover;
}

/* ── Title gradient overlay ── */
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 20%,
    rgba(10,20,55,.35) 55%,
    rgba(10,20,55,.90) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.75rem 2rem;
}

.post-hero h1 {
  color: #fff !important;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  margin: 0;
  max-width: 92%;
}

/* ── Post card placeholder (no / broken image) ── */
.post-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 45%, #312E81 100%);
  overflow: hidden;
}

/* Moon glow + nebula */
.post-card-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 28%, rgba(252,211,77,.65) 0%, rgba(252,211,77,.28) 9%, transparent 22%),
    radial-gradient(circle at 68% 28%, rgba(0,0,0,.38) 14%, transparent 21%),
    radial-gradient(ellipse at 15% 85%, rgba(99,102,241,.32) 0%, transparent 42%);
}

/* Stars via multiple radial-gradients — zero HTTP requests */
.post-card-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.9) 0%, transparent 100%),
    radial-gradient(1px   1px   at 30% 10%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 48% 32%, rgba(255,255,255,.8) 0%, transparent 100%),
    radial-gradient(1px   1px   at 82% 20%, rgba(255,255,255,.65)0%, transparent 100%),
    radial-gradient(1px   1px   at 22% 58%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at  8% 72%, rgba(255,255,255,.9) 0%, transparent 100%),
    radial-gradient(1px   1px   at 75% 55%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 78%, rgba(255,255,255,.75)0%, transparent 100%),
    radial-gradient(1px   1px   at 40% 88%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px   1px   at 92% 68%, rgba(255,255,255,.8) 0%, transparent 100%);
}

/* ── 3D dream placeholder (no featured image) ── */
.post-hero-placeholder {
  width: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 38%, #1D4ED8 65%, #4338CA 100%);
  position: relative;
  overflow: hidden;
}

/* Nebula glow */
.post-hero-placeholder::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.22) 0%, transparent 65%);
  top: -150px; left: 25%;
  pointer-events: none;
}

/* Mist cloud at bottom */
.post-hero-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(30,58,138,.5), transparent);
  pointer-events: none;
}

/* 3D Moon */
.post-hero-3d-moon {
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, #FEF9C3 0%, #FCD34D 40%, #D97706 72%, #92400E 100%);
  box-shadow:
    0 0 35px rgba(252,211,77,.55),
    0 0 90px rgba(252,211,77,.2),
    inset -14px -10px 24px rgba(0,0,0,.38);
  top: 14%; right: 17%;
}

/* Crescent shadow for 3D depth */
.post-hero-3d-moon::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 42%, rgba(20,50,140,.65), transparent 62%);
  top: 7px; left: 14px;
}

/* Stars layer */
.post-hero-3d-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.post-hero-3d-stars::before {
  content: '';
  position: absolute;
  width: 1px; height: 1px;
  background: transparent;
  box-shadow:
    42px 22px 0 1.5px rgba(255,255,255,.9),
    88px 48px 0 1px rgba(255,255,255,.65),
    138px 16px 0 2px rgba(255,255,255,.85),
    192px 62px 0 1px rgba(255,255,255,.7),
    246px 30px 0 1px rgba(255,255,255,.9),
    305px 72px 0 1px rgba(255,255,255,.5),
    362px 18px 0 2px rgba(255,255,255,.8),
    418px 55px 0 1px rgba(255,255,255,.7),
    476px 33px 0 1px rgba(255,255,255,.95),
    538px 68px 0 1px rgba(255,255,255,.6),
    598px 26px 0 2px rgba(255,255,255,.85),
    658px 52px 0 1px rgba(255,255,255,.7),
    716px 14px 0 1px rgba(255,255,255,.9),
    778px 76px 0 1px rgba(255,255,255,.5),
    836px 38px 0 1px rgba(255,255,255,.8),
    70px 90px 0 1px rgba(255,255,255,.6),
    155px 105px 0 1px rgba(255,255,255,.8),
    258px 92px 0 1px rgba(255,255,255,.7),
    378px 108px 0 1px rgba(255,255,255,.9),
    502px 96px 0 2px rgba(255,255,255,.6);
}

/* Floating glowing orb */
.post-hero-3d-stars::after {
  content: '';
  position: absolute;
  width: 200px; height: 70px;
  background: radial-gradient(ellipse, rgba(99,102,241,.45) 0%, transparent 70%);
  bottom: 28%; left: 12%;
  filter: blur(22px);
}

/* ── Meta bar below hero ── */
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  padding: .625rem 1rem;
  background: linear-gradient(90deg, #EFF6FF, #F8FAFF);
  border: 1px solid #DBEAFE;
  border-radius: .75rem;
  font-size: .8rem;
  color: #475569;
}

.post-meta-bar time,
.post-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.post-meta-bar .ml-auto { margin-left: auto; }

.post-meta-cat { display: inline-flex; align-items: center; gap: .25rem; }
.post-meta-cat a { color: var(--brand); font-weight: 600; text-decoration: none; }
.post-meta-cat a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .post-hero h1 { font-size: 1.1rem; }
  .post-hero-overlay { padding: 1rem 1.125rem; }
  .post-hero-3d-moon { width: 75px; height: 75px; }
}

/* Breadcrumb (legacy — kept for other templates) */
.breadcrumb-nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: .35rem;
  font-size: .8125rem;
}

.breadcrumb-nav li { display: flex; align-items: center; gap: .35rem; }
.breadcrumb-nav li::after { content: '/'; color: #CBD5E1; }
.breadcrumb-nav li:last-child::after { display: none; }
.breadcrumb-nav a { color: var(--brand); text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav li.active { color: var(--muted); }

/* Social share buttons */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .15s;
}

.btn-social:hover { opacity: .88; transform: translateY(-1px); }

.btn-telegram { background: linear-gradient(135deg, #0088cc, #00aaff); color: #fff; }
.btn-whatsapp { background: linear-gradient(135deg, #128C7E, #25D366); color: #fff; }

/* Font controls */
.font-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.font-ctrl:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

/* Table of contents */
.toc-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #fff 72%);
  border: 1px solid #BFDBFE;
  border-radius: .875rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(37,99,235,.06);
}

.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: .5rem;
}

.toc-toggle:hover { background: rgba(37,99,235,.04); }

.toc-label-inner {
  display: inline-flex;
  align-items: center;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.toc-chevron {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform .3s ease;
}

.toc-toggle[aria-expanded="false"] .toc-chevron { transform: rotate(-90deg); }

.toc-body {
  padding: 0 1.25rem;
  overflow: hidden;
  max-height: 1000px;
  transition: max-height .35s ease, padding .35s ease, opacity .3s ease;
  opacity: 1;
}

.toc-body.toc-collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.toc-list { list-style: none; margin: 0; padding: 0 0 .75rem; }

.toc-list li a {
  display: block;
  padding: .3rem 0;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: .875rem;
  border-bottom: 1px solid #DBEAFE;
  transition: padding-left .15s, color .15s;
}

.toc-list li:last-child a { border-bottom: none; }
.toc-list li a:hover { padding-left: .5rem; color: var(--brand); }
.toc-list li a.toc-active { font-weight: 600; color: var(--brand-deep); }

/* Post body */
.post-body {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: #1E293B;
}

.post-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 1.75em 0 .6em;
  padding-bottom: .3em;
  border-bottom: 2px solid #DBEAFE;
}

.post-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 1.5em 0 .5em;
}

.post-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25em 0 .4em;
}

.post-body p { margin: 0 0 1em; }
.post-body ul, .post-body ol { padding-left: 1.5em; margin: 0 0 1em; }
.post-body li { margin-bottom: .35em; }

.post-body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.post-body a:hover { color: var(--brand-dark); }

.post-body strong, .post-body b { font-weight: 700; }

.post-body img {
  border-radius: .75rem;
  margin: .75em 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: .9rem;
}

.post-body table td,
.post-body table th {
  padding: .5rem .75rem;
  border: 1px solid #E2E8F0;
  vertical-align: top;
}

.post-body table th {
  background: #EFF6FF;
  font-weight: 600;
  color: var(--brand-deep);
}

.post-body table tr:nth-child(even) td { background: #F8FAFF; }

.post-body blockquote {
  border-left: 3px solid var(--brand);
  padding: .75em 1.25em;
  margin: 1em 0;
  background: #EFF6FF;
  border-radius: 0 .625rem .625rem 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .post-body.bg-white { padding: 1.125rem !important; }
}

/* Post meta */
.post-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--muted);
}

.post-meta-item { display: flex; align-items: center; gap: .3rem; }

/* Related posts */
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li { border-bottom: 1px solid #F1F5F9; }
.related-list li:last-child { border-bottom: none; }

.related-list li a {
  display: block;
  padding: .5rem .75rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .875rem;
  transition: color .15s, background .15s, padding-left .15s;
}

.related-list li a:hover {
  color: var(--brand);
  background: #EFF6FF;
  padding-left: 1rem;
}

/* Prev / Next */
.prev-next-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.prev-next-link,
.prev-next-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border: 1px solid #BFDBFE;
  border-radius: .625rem;
  font-size: .875rem;
  color: var(--brand);
  text-decoration: none;
  background: #EFF6FF;
  transition: background .15s, border-color .15s, transform .15s;
  max-width: 48%;
  line-height: 1.4;
}

.prev-next-link:hover,
.prev-next-nav a:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   FAQ / ACCORDION
   ═══════════════════════════════════════════════════════ */
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s;
}

.faq-btn:hover { background: #EFF6FF; }

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform .25s;
}

.faq-content {
  padding: 0 1.25rem 1rem;
  font-size: .9rem;
  line-height: 1.75;
  color: #334155;
}

.faq-content p { margin: 0 0 .75em; }
.faq-content p:last-child { margin: 0; }

/* ═══════════════════════════════════════════════════════
   COMMENTS
   ═══════════════════════════════════════════════════════ */
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; margin-top: .75rem; }

.comment-body {
  display: flex;
  gap: .875rem;
  padding: .875rem 0;
  border-top: 1px solid #E2E8F0;
}

.comment-list li:first-child .comment-body { border-top: 0; }

.comment-author { flex-shrink: 0; }
.comment-author img { border-radius: 50%; display: block; }
.comment-author .fn { display: none; }

.comment-details { flex: 1; min-width: 0; }

.comment-meta.commentmetadata a {
  font-size: .75rem;
  color: var(--muted);
  text-decoration: none;
}

.comment-meta .edit-link { margin-left: .5rem; }
.comment-meta .edit-link a { font-size: .75rem; color: var(--brand); }

.comment-content { margin-top: .375rem; font-size: .9rem; color: var(--ink); line-height: 1.6; }
.comment-awaiting-moderation { font-size: .8rem; color: #F59E0B; margin-top: .25rem; }

.reply { margin-top: .375rem; }
.comment-reply-link {
  font-size: .8rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.comment-reply-link:hover { text-decoration: underline; }

.comment-author-name { font-weight: 600; font-size: .875rem; color: var(--brand); }
.comment-date { font-size: .75rem; color: var(--muted); }
.comment-text { font-size: .9rem; color: var(--ink); }

/* Comment form */
.comment-form-field { margin-bottom: 1rem; }

.comment-form-field label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
}

.comment-form-field input,
.comment-form-field textarea {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid #E2E8F0;
  border-radius: .625rem;
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.comment-form-field input.error,
.comment-form-field textarea.error,
input.error,
textarea.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important;
}

#submit, .comment-submit-btn {
  background: var(--grad-brand);
  color: #fff;
  border: none;
  padding: .625rem 1.75rem;
  border-radius: .625rem;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 500;
  transition: opacity .2s, transform .2s;
}

#submit:hover, .comment-submit-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

#submit.loadingform, .comment-submit-btn.loadingform { opacity: .7; cursor: wait; }

/* ═══════════════════════════════════════════════════════
   ZODIAC / BURCLER PAGE
   ═══════════════════════════════════════════════════════ */

/* ── Hero banner ── */
.burc-hero-banner {
  background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 55%, #4F46E5 100%);
  border-radius: 1.125rem;
  padding: 2.5rem 2rem 2.25rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(30,58,138,.3);
}

.burc-hero-banner::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165,180,252,.22) 0%, transparent 65%);
  top: -160px; right: -80px;
  pointer-events: none;
}

.burc-hero-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 65%);
  bottom: -100px; left: -60px;
  pointer-events: none;
}

.burc-hero-icon {
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: .75rem;
  color: rgba(255,255,255,.8);
  text-shadow: 0 0 40px rgba(165,180,252,.9), 0 0 80px rgba(99,102,241,.5);
  position: relative;
  z-index: 1;
  animation: burc-pulse 3s ease-in-out infinite;
}

@keyframes burc-pulse {
  0%, 100% { opacity: .8;  transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.12); }
}

.burc-hero-banner h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 .625rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.burc-hero-banner > p {
  color: rgba(255,255,255,.78);
  font-size: .9375rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ── Zodiac card grid ── */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) { .zodiac-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .zodiac-grid { grid-template-columns: repeat(2, 1fr); gap: .625rem; } }

.zodiac-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem .75rem 1.125rem;
  border-radius: .875rem;
  text-align: center;
  background: linear-gradient(135deg, var(--zc-from, #1D4ED8) 0%, var(--zc-to, #3B82F6) 100%);
  color: #fff;
  text-decoration: none;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  min-height: 120px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
}

.zodiac-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity .2s;
  border-radius: inherit;
}

.zodiac-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 18px 38px rgba(0,0,0,.22); }
.zodiac-card:hover::before { opacity: 1; }

.zodiac-card-symbol {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: .5rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.22));
  transition: transform .25s ease;
  position: relative;
  z-index: 1;
}

.zodiac-card:hover .zodiac-card-symbol { transform: scale(1.18) rotate(-6deg); }

.zodiac-card strong {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  display: block;
  position: relative;
  z-index: 1;
}

.zodiac-card > span {
  font-size: .64rem;
  opacity: .82;
  margin-top: 3px;
  display: block;
  position: relative;
  z-index: 1;
}

/* ── Selector layout ── */
.burc-selector-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 767px) {
  .burc-selector-grid { grid-template-columns: 1fr; }
  .burc-divider-arrow { display: none; }
}

/* Panel head */
.burc-panel-head {
  background: var(--grad-brand);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: .625rem .625rem 0 0;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.burc-panel-head svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* List container */
.burc-list {
  border: 1px solid #E2E8F0;
  border-top: none;
  border-radius: 0 0 .625rem .625rem;
  overflow: hidden;
  max-height: 440px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #BFDBFE transparent;
}

.burc-list::-webkit-scrollbar { width: 4px; }
.burc-list::-webkit-scrollbar-track { background: transparent; }
.burc-list::-webkit-scrollbar-thumb { background: #BFDBFE; border-radius: 2px; }

/* Left items */
.burc-left-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background .15s;
  background: #fff;
  color: var(--ink);
  user-select: none;
}

.burc-left-item:last-child { border-bottom: none; }
.burc-left-item:hover,
.burc-left-item.burc-active { background: #EFF6FF; }

.burc-left-symbol {
  font-size: 1.375rem;
  line-height: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(37,99,235,.07);
  flex-shrink: 0;
  color: var(--bl-color, var(--brand));
  transition: background .15s;
}

.burc-left-item:hover .burc-left-symbol,
.burc-left-item.burc-active .burc-left-symbol { background: rgba(37,99,235,.13); }

.burc-left-info {
  flex: 1;
  min-width: 0;
}

.burc-left-info strong {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  transition: color .15s;
}

.burc-left-info small {
  display: block;
  font-size: .7rem;
  color: var(--muted);
  margin-top: .125rem;
}

.burc-left-item:hover .burc-left-info strong,
.burc-left-item.burc-active .burc-left-info strong { color: var(--brand); }

.burc-left-arrow {
  width: 1rem;
  height: 1rem;
  color: #CBD5E1;
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}

.burc-left-item:hover .burc-left-arrow,
.burc-left-item.burc-active .burc-left-arrow { color: var(--brand); transform: translateX(3px); }

/* Divider arrow */
.burc-divider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  color: #BFDBFE;
}

.burc-divider-arrow svg { width: 1.5rem; height: 1.5rem; }

/* Right items */
.burc-right-item {
  border-bottom: 1px solid #F1F5F9;
  background: #fff;
  transition: background .15s;
}

.burc-right-item:last-child { border-bottom: none; }
.burc-right-item:hover { background: #F8FAFF; }

.burc-right-item a {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  color: var(--muted);
  text-decoration: none;
  width: 100%;
  transition: color .15s;
}

.burc-right-item a:hover,
.burc-right-item a.burc-right-active { color: var(--brand); }

.burc-right-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  background: #EFF6FF;
  color: var(--brand);
  flex-shrink: 0;
  transition: background .15s;
}

.burc-right-icon svg { width: 1rem; height: 1rem; }

.burc-right-item a:hover .burc-right-icon,
.burc-right-item a.burc-right-active .burc-right-icon { background: var(--brand-soft); }

.burc-right-label {
  flex: 1;
  font-size: .875rem;
  font-weight: 500;
  color: inherit;
  min-width: 0;
}

.burc-right-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #CBD5E1;
  transition: transform .2s, color .2s;
}

.burc-right-item a:hover .burc-right-arrow { color: var(--brand); transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════
   LIVE SEARCH DROPDOWN
   ═══════════════════════════════════════════════════════ */
.ls-wrap {
  position: relative;
}

.ls-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: .875rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.14);
  z-index: 200;
  overflow: hidden;
}

.ls-dropdown.ls-open { display: block; }

.ls-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .875rem;
  border-bottom: 1px solid #F1F5F9;
  transition: background .12s, color .12s;
}

.ls-item:last-child { border-bottom: none; }

.ls-item:hover,
.ls-item:focus {
  background: #EFF6FF;
  color: var(--brand);
  outline: none;
}

.ls-item-icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  opacity: .6;
}

.ls-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: var(--brand);
  font-size: .8125rem;
  gap: .5rem;
}

.ls-spinner-ring {
  width: 1rem;
  height: 1rem;
  border: 2px solid #BFDBFE;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: ls-spin .6s linear infinite;
}

@keyframes ls-spin { to { transform: rotate(360deg); } }

.ls-no-results {
  padding: .875rem 1rem;
  font-size: .875rem;
  color: var(--muted);
  text-align: center;
}

.ls-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  border-top: 1px solid #F1F5F9;
  font-size: .78rem;
  color: var(--brand);
  text-decoration: none;
  background: #F8FAFF;
  transition: background .12s;
}

.ls-footer:hover { background: #EFF6FF; }

/* ═══════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════ */
.pagenavi { display: flex; justify-content: center; }

.pagenavi ul.pagination,
.pagenavi nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagenavi li { display: flex; }

.pagenavi a,
.pagenavi span,
.pagenavi .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .5rem;
  border-radius: .5rem;
  font-size: .875rem;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: var(--brand);
  background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}

.pagenavi a:hover,
.pagenavi span.current,
.pagenavi .page-item.active .page-link {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════
   SITE FOOTER — deep navy blue gradient, NOT black
   ═══════════════════════════════════════════════════════ */
.footer-accent-line {
  height: 3px;
  background: linear-gradient(90deg, #93C5FD 0%, #3B82F6 38%, #1D4ED8 68%, #93C5FD 100%);
}

.footer-body {
  background: var(--grad-footer);
}

.footer-logo-link { text-decoration: none; }

.footer-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #93C5FD;
  font-size: .9rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -.01em;
}

.footer-logo-text em {
  font-style: normal;
  color: #93C5FD;
}

.footer-desc {
  font-size: .9rem;
  color: #BFDBFE;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #BFDBFE;
  font-size: .8125rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .18s, color .18s, transform .18s;
}

.footer-social-btn:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-heading {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #93C5FD;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .125rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 0;
  font-size: .9rem;
  color: #BFDBFE;
  text-decoration: none;
  transition: color .15s, gap .15s;
}

.footer-link:hover { color: #fff; gap: .75rem; }

.footer-link-arrow {
  font-size: .7rem;
  color: #93C5FD;
  flex-shrink: 0;
  transition: color .15s;
}

.footer-link:hover .footer-link-arrow { color: #fff; }

.footer-about-text {
  font-size: .9rem;
  color: #BFDBFE;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.footer-info-badges {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: #BFDBFE;
  padding: .375rem .75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .5rem;
  width: fit-content;
}

.footer-badge .yy-icon { color: #93C5FD; }

.footer-bottom {
  background: linear-gradient(90deg, #0C1A4A 0%, #172554 50%, #0C1A4A 100%);
  border-top: 1px solid rgba(147,197,253,.12);
  padding: .875rem 0;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147,197,253,.4), rgba(96,165,250,.6), rgba(147,197,253,.4), transparent);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .76rem;
  color: #93C5FD;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: #93C5FD;
  text-decoration: none;
  transition: color .15s;
}

.footer-bottom-link:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════
   STICKY FOOTER BANNER
   ═══════════════════════════════════════════════════════ */
.sticky-footer-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 14px rgba(15,23,42,.08);
}

.sticky-footer-banner-content {
  max-width: 1152px;
  margin: 0 auto;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════
   HOME INFO TABLE
   ═══════════════════════════════════════════════════════ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.info-table td {
  padding: .5rem .75rem;
  border: 1px solid #E2E8F0;
}

.info-table td a { color: var(--brand); text-decoration: none; }
.info-table td a:hover { text-decoration: underline; }
.info-table tr:nth-child(even) td { background: #F8FAFF; }

/* ═══════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════ */
.page-404 {
  text-align: center;
  padding: 5rem 1rem;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin: 0 0 .5rem;
}

.page-404 p { font-size: 1.125rem; color: var(--muted); margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════
   SEARCH RESULTS
   ═══════════════════════════════════════════════════════ */
.search-result-item {
  padding: 1rem 0;
  border-bottom: 1px solid #F1F5F9;
}

.search-result-item:last-child { border-bottom: none; }

.search-result-item a {
  font-size: .9375rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.search-result-item a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
   BOOTSTRAP TAB POLYFILL (tapmacalar page)
   ═══════════════════════════════════════════════════════ */
.tab-content > .tab-pane { display: none; }
.tab-content > .tab-pane.show.active { display: block; }

.nav-pills { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 1rem; }

.nav-pills .nav-link {
  display: inline-block;
  padding: .35rem .75rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--brand);
  background: #EFF6FF;
  cursor: pointer;
  border: 1px solid #BFDBFE;
  transition: background .15s, color .15s;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════
   TAPMACALAR PAGE
   ═══════════════════════════════════════════════════════ */
.thumbnail {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  line-height: 1.7;
  font-size: .9375rem;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}

.thumbnail .caption { text-align: left; }

.thumbnail .answer {
  margin-top: .625rem;
  font-style: italic;
  color: var(--brand);
}

.thumbnail .answer b { font-weight: 700; }

.btnAnswer {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: .625rem;
  padding: .3rem .85rem;
  border-radius: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--brand);
  background: #EFF6FF;
  color: var(--brand);
  transition: background .15s, color .15s, border-color .15s;
}

.btnAnswer:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.btnAnswerHide {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: .625rem;
  padding: .3rem .85rem;
  border-radius: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #DC2626;
  background: #FFF1F2;
  color: #DC2626;
  transition: background .15s, color .15s;
}

.btnAnswerHide:hover { background: #DC2626; color: #fff; }

/* ═══════════════════════════════════════════════════════
   MOBILE SEARCH OVERLAY
   ═══════════════════════════════════════════════════════ */
.mob-search-overlay {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s cubic-bezier(.4,0,.2,1);
  background: #fff;
  border-top: 1px solid rgba(37,99,235,.08);
}
.mob-search-overlay.ms-open { max-height: 76px; }

.mob-search-inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 0;
}
.mob-search-form  { flex: 1; }
.mob-search-input { width: 100% !important; }

.mob-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: none;
  background: #F1F5F9;
  border-radius: .5rem;
  color: #64748B;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mob-search-close:hover { background: #FEE2E2; color: #DC2626; }

/* ═══════════════════════════════════════════════════════
   OFFCANVAS MOBILE MENU — white panel (beautiful)
   ═══════════════════════════════════════════════════════ */

/* Open state — JS adds this class */
#mobile-menu-panel.offcanvas-open { transform: translateX(0); }

/* Top accent stripe */
#mobile-menu-panel::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--grad-accent);
  flex-shrink: 0;
}

/* Tagline under logo text */
.offcanvas-tagline {
  font-size: .6875rem;
  color: #94A3B8;
  margin: .1rem 0 0;
  font-weight: 400;
  letter-spacing: .01em;
}

/* "Naviqasiya" section label above nav */
.offcanvas-nav-label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94A3B8;
  margin: 0;
  padding: .875rem 1.375rem .375rem;
}

/* Panel header row */
.offcanvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.125rem .875rem;
  border-bottom: 1px solid #EEF2FF;
  flex-shrink: 0;
  background: #fff;
}

/* Close (×) button */
.offcanvas-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: #F1F5F9;
  border-radius: .625rem;
  color: #64748B;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, color .15s, transform .15s;
}
.offcanvas-close:hover {
  background: #FEE2E2;
  color: #DC2626;
  transform: rotate(90deg);
}

/* Nav scroll area */
.offcanvas-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.offcanvas-nav::-webkit-scrollbar { width: 3px; }
.offcanvas-nav::-webkit-scrollbar-track { background: transparent; }
.offcanvas-nav::-webkit-scrollbar-thumb { background: #DBEAFE; border-radius: 99px; }

/* Footer / social */
.offcanvas-footer {
  padding: 1rem 1.125rem 1.5rem;
  border-top: 1px solid #EEF2FF;
  flex-shrink: 0;
  background: #FAFBFF;
}
.offcanvas-footer-label {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94A3B8;
  margin: 0 0 .625rem;
}
.offcanvas-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: .625rem;
  background: var(--brand-pale);
  color: var(--brand);
  text-decoration: none;
  border: 1px solid var(--brand-soft);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.offcanvas-social-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   AJAX SECTION SKELETON LOADER
   ═══════════════════════════════════════════════════════ */
.ajax-section {
  background: #fff;
  border-bottom: 1px solid #F1F5F9;
  min-height: 280px;
}

.ajax-skeleton-wrap { padding: 2.5rem 0; }

.ajax-skeleton-head {
  height: 1.625rem;
  width: 16rem;
  border-radius: .375rem;
  margin-bottom: 1.625rem;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s infinite linear;
}

.ajax-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px)  { .ajax-skeleton-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ajax-skeleton-grid { grid-template-columns: repeat(4, 1fr); } }

.ajax-skeleton-card {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
}
.ajax-skeleton-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s infinite linear;
}
.ajax-skeleton-line {
  height: .75rem;
  margin: .875rem 1rem 1.125rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s .1s infinite linear;
}
@keyframes skel-shimmer {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════
   ARCHIVE / SEARCH / TAG / CATEGORY — unified card pages
   ═══════════════════════════════════════════════════════ */
.archive-hero-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 65%, #3B82F6 100%);
  border-radius: 1rem;
  padding: 1.5rem 1.625rem;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37,99,235,.25);
  margin-bottom: 2rem;
}
.archive-hero-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: .75rem;
  color: #BFDBFE;
  margin-top: .125rem;
}
.archive-hero-icon .yy-icon { width: 1.5rem; height: 1.5rem; }
.archive-hero-body { flex: 1; min-width: 0; }
.archive-hero-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 .25rem;
  color: #fff;
  line-height: 1.25;
}
.archive-hero-meta {
  font-size: .8125rem;
  color: #BFDBFE;
  display: block;
  margin-bottom: .25rem;
}
.archive-hero-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  margin: .5rem 0 0;
  line-height: 1.6;
  max-width: 42rem;
}

.archive-empty {
  text-align: center;
  padding: 5rem 1rem;
  color: #94A3B8;
}
.archive-empty .yy-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
  margin: 0 auto 1.25rem;
  opacity: .35;
}
.archive-empty p { font-size: 1rem; font-weight: 500; margin-bottom: .5rem; }
.archive-empty p.sub { font-size: .875rem; font-weight: 400; color: #CBD5E1; }

/* ═══════════════════════════════════════════════════════
   SLIDE CARD — portrait card with image + title overlay
   (used in homepage Swiper sections & single related)
   ═══════════════════════════════════════════════════════ */
.slides-outer {
  position: relative;
  /* allow Swiper to overflow slightly for visual peek */
  margin: 0 -.25rem;
  padding: 0 .25rem;
}

.slides-swiper,
.rel-swiper {
  overflow: hidden;
}

.slide-card {
  display: block;
  position: relative;
  border-radius: .875rem;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 3 / 4;
  background: #1E3A8A;
  isolation: isolate;
  box-shadow: 0 4px 16px rgba(15,23,42,.1);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
}
.slide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,23,42,.18);
}

.slide-card-img {
  position: absolute;
  inset: 0;
}
.slide-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.slide-card:hover .slide-card-img img { transform: scale(1.06); }

.slide-card-img .post-card-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
}

.slide-card-foot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.75rem .75rem .75rem;
  background: linear-gradient(to top, rgba(0,0,0,.80) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}

.slide-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* Portrait skeleton for AJAX section loading */
.ajax-skel-slider {
  display: flex;
  gap: 10px;
  overflow: hidden;
}
.ajax-skel-slide {
  flex: 0 0 calc(43% - 5px);
  aspect-ratio: 3 / 4;
  border-radius: .875rem;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s infinite linear;
}
@media (min-width: 640px) {
  .ajax-skel-slide { flex: 0 0 calc(30% - 8px); }
}
@media (min-width: 1024px) {
  .ajax-skel-slide { flex: 0 0 calc(18% - 10px); }
}

/* ═══════════════════════════════════════════════════════
   RELATED POST SWIPER BLOCKS (single.php)
   ═══════════════════════════════════════════════════════ */
.related-sliders { }

.related-block {
  margin-bottom: 1.75rem;
}

.related-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .875rem;
}

.related-block-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.related-block-title .yy-icon {
  color: var(--brand);
  width: 1.125rem;
  height: 1.125rem;
}

.related-block-nav {
  display: flex;
  gap: .375rem;
}

.rel-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  border: 1px solid var(--brand-soft);
  background: var(--brand-pale);
  color: var(--brand);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.rel-nav-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ═══════════════════════════════════════════════════════
   INFINITE SCROLL — load more
   ═══════════════════════════════════════════════════════ */
.lm-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 2rem;
  gap: .875rem;
}

.lm-sentinel {
  height: 1px;
  width: 100%;
}

.lm-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.75rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.lm-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,.35);
}

.lm-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 0;
}

.lm-spinner {
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  border: 3px solid var(--brand-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: lm-spin .7s linear infinite;
}
@keyframes lm-spin { to { transform: rotate(360deg); } }

.lm-end {
  font-size: .8125rem;
  color: var(--muted);
  text-align: center;
  padding: .25rem 0;
}

/* ═══════════════════════════════════════════════════════
   LIVE SEARCH — thumbnail items + skeleton
   ═══════════════════════════════════════════════════════ */
.ls-item-thumb {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  overflow: hidden;
  background: var(--brand-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ls-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ls-item-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 50%, #BFDBFE 100%);
  position: relative;
}
.ls-item-ph::after {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #93C5FD, #2563EB 60%);
  box-shadow: inset -2px -2px 4px rgba(0,0,0,.15), 2px 2px 8px rgba(37,99,235,.4);
}
.ls-item-text {
  flex: 1;
  font-size: .875rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Live search skeleton */
.ls-skeleton { padding: .25rem 0; }
.ls-skel-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1rem;
  border-bottom: 1px solid #F1F5F9;
}
.ls-skel-thumb {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s infinite linear;
}
.ls-skel-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.ls-skel-line {
  height: .625rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s .1s infinite linear;
}
.ls-skel-line--long  { width: 80%; }
.ls-skel-line--short { width: 50%; }

/* ═══════════════════════════════════════════════════════
   HOMEPAGE SLIDES — pagination dots
   ═══════════════════════════════════════════════════════ */
.slides-swiper { padding-bottom: 2.25rem !important; }

.slides-pagination { bottom: 0 !important; }

.slides-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #CBD5E1;
  opacity: 1;
  transition: width .2s, background .2s;
}

.slides-swiper .swiper-pagination-bullet-active {
  width: 18px;
  background: var(--brand);
}

/* ═══════════════════════════════════════════════════════
   BREAKING NEWS TICKERS — single.php related sections
   ═══════════════════════════════════════════════════════ */
.related-tickers {
  border: 1px solid var(--line);
  border-radius: .75rem;
  overflow: hidden;
}

.news-ticker {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.news-ticker:last-child { border-bottom: none; }

.news-ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: 0 .875rem;
  width: 190px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  white-space: normal;
  line-height: 1.3;
}
.news-ticker-label .yy-icon { flex-shrink: 0; opacity: .85; width: .875rem; height: .875rem; }
.news-ticker--hot .news-ticker-label { background: var(--brand); }
.news-ticker--rel .news-ticker-label { background: #DC2626; }
.news-ticker--new .news-ticker-label { background: #059669; }

.news-ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
}
.news-ticker-track::before,
.news-ticker-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 28px;
  z-index: 1;
  pointer-events: none;
}
.news-ticker-track::before { left: 0; background: linear-gradient(to right, #fff 60%, transparent); }
.news-ticker-track::after  { right: 0; background: linear-gradient(to left, #fff 60%, transparent); }

.news-ticker-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-run linear infinite;
  will-change: transform;
}

@keyframes ticker-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.news-ticker-item {
  display: inline-block;
  padding: 0 .75rem;
  font-size: .8rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.news-ticker-item:hover { color: var(--brand); }

.news-ticker-sep {
  color: var(--brand);
  font-size: .45rem;
  opacity: .35;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   BOOTSTRAP ACCORDION POLYFILL
   (FAQ in template-tapmacalar.php — no Bootstrap loaded)
   ═══════════════════════════════════════════════════════ */
.faq-accordion { margin-top: 1.5rem; }

.accordion-item {
  border: 1px solid var(--line);
  border-radius: .75rem;
  overflow: hidden;
  margin-bottom: .5rem;
}
.accordion-item:last-child { margin-bottom: 0; }

.accordion-header { margin: 0; }

.accordion-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .875rem 1.25rem;
  background: var(--brand-pale);
  border: none;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: background .15s, color .15s;
  gap: .75rem;
}
.accordion-button::after {
  content: '';
  flex-shrink: 0;
  margin-left: auto;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
  transition: transform .25s ease;
}
.accordion-button:not(.collapsed) {
  color: var(--brand);
  background: var(--brand-soft);
}
.accordion-button:not(.collapsed)::after { transform: rotate(-180deg); }
.accordion-button:hover { background: var(--brand-soft); color: var(--brand); }

.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.accordion-collapse.show { grid-template-rows: 1fr; }
.accordion-collapse > .accordion-body { overflow: hidden; }

.accordion-body {
  padding: 1rem 1.25rem;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--line);
}

/* ═══════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════ */
@media print {
  #site-header,
  #site-footer,
  .alphabet-section,
  .social-buttons,
  .font-controls,
  #footerfixedreklam { display: none !important; }

  .post-body { font-size: 12pt; }
}
