/* Klasik Klinik */
body.theme-klasik {
  --radius: 1.25rem;
}

body.theme-klasik .klasik-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

body.theme-klasik .klasik-blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 14px 32px -26px rgba(15, 23, 42, .55);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.theme-klasik .klasik-blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-200);
  box-shadow: 0 24px 42px -26px rgba(15, 23, 42, .42);
}

body.theme-klasik .klasik-blog-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-100);
}

body.theme-klasik .klasik-blog-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(15, 23, 42, .38));
}

body.theme-klasik .klasik-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

body.theme-klasik .klasik-blog-card:hover .klasik-blog-image img {
  transform: scale(1.06);
}

body.theme-klasik .klasik-blog-image span {
  position: absolute;
  z-index: 1;
  left: 1rem;
  bottom: .9rem;
  padding: .35rem .6rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: rgba(15, 118, 110, .9);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.theme-klasik .klasik-blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

body.theme-klasik .klasik-blog-meta {
  display: flex;
  gap: .7rem;
  margin-bottom: .6rem;
  color: #64748b;
  font-size: .74rem;
}

body.theme-klasik .klasik-blog-meta span + span::before {
  content: "•";
  margin-right: .7rem;
  color: var(--brand-500);
}

body.theme-klasik .klasik-blog-body h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.18;
}

body.theme-klasik .klasik-blog-body h3 a:hover {
  color: var(--brand-700);
}

body.theme-klasik .klasik-blog-body p {
  margin: .75rem 0 1rem;
  font-size: .88rem;
  line-height: 1.65;
}

body.theme-klasik .klasik-blog-link {
  margin-top: auto;
  color: var(--brand-700);
  font-size: .82rem;
  font-weight: 700;
}

body.theme-klasik .klasik-blog-link span {
  display: inline-block;
  transition: transform .15s ease;
}

body.theme-klasik .klasik-blog-link:hover span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  body.theme-klasik .klasik-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.theme-klasik .klasik-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Dokuz menü öğesi ve iki aksiyon düğmesi orta genişlikte aynı satıra sığmaz.
   Bu aralıkta taşma yerine mobil menü kullanılır. */
body.theme-klasik .header-inner {
  gap: .75rem;
}

body.theme-klasik .brand {
  flex: 1 1 auto;
}

body.theme-klasik .nav-desktop {
  flex: 0 1 auto;
}

body.theme-klasik .nav-desktop a {
  white-space: nowrap;
}

body.theme-klasik .header-actions {
  flex: 0 0 auto;
}

@media (max-width: 1279px) {
  body.theme-klasik .nav-desktop {
    display: none;
  }

  body.theme-klasik .menu-toggle {
    display: grid;
  }
}

@media (min-width: 1280px) {
  body.theme-klasik .nav-desktop {
    display: flex;
  }

  body.theme-klasik .menu-toggle {
    display: none;
  }
}

@media (max-width: 639px) {
  body.theme-klasik .header-inner {
    width: min(100% - 1.25rem, 1180px);
  }

  body.theme-klasik .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  body.theme-klasik .brand-text strong {
    max-width: 9rem;
    font-size: .82rem;
  }

  body.theme-klasik .brand-text span,
  body.theme-klasik .header-actions .btn-dark-outline {
    display: none;
  }

  body.theme-klasik .header-actions {
    gap: .35rem;
  }

  body.theme-klasik .header-actions .btn-primary {
    padding: .58rem .72rem;
    font-size: .74rem;
  }

  body.theme-klasik .menu-toggle {
    width: 38px;
    height: 38px;
  }
}
