/**
 * Sidebar premium — glassmorphism (.kh-sb-card)
 */

.kh-sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.kh-sidebar-panel__cta {
  margin-bottom: 6px;
}

/* FAZ 2 — Premium banner CTA (yüksek kontrast) */
.kh-sidebar-cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(125deg, #1d4ed8 0%, #6d28d9 42%, #0891b2 100%);
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow:
    0 0 32px rgba(0, 212, 255, 0.35),
    0 14px 36px rgba(29, 78, 216, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kh-sidebar-cta-banner:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 42px rgba(0, 212, 255, 0.55),
    0 18px 44px rgba(29, 78, 216, 0.5);
}

.kh-sidebar-cta-banner__glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.kh-sidebar-cta-banner__icon {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.kh-sidebar-cta-banner__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.kh-sidebar-cta-banner__title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
}

.kh-sidebar-cta-banner__sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #e0f2fe;
  opacity: 0.95;
  line-height: 1.3;
}

.kh-sidebar-cta-banner__arrow {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.kh-sidebar-panel__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kh-sidebar-panel__quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text, #f8fafc);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.kh-sidebar-panel__quick-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.kh-sb-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.kh-sb-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.kh-sb-card__icon {
  font-size: 1.15rem;
  line-height: 1;
}

.kh-sb-card__heading {
  margin: 0;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text, #f8fafc);
}

.kh-sb-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kh-sb-card__item {
  margin: 0;
}

.kh-sb-card__link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.kh-sb-card__link:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(59, 130, 246, 0.12);
}

.kh-sb-card__media {
  margin: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.kh-sb-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kh-sb-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.kh-sb-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text, #f8fafc);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kh-sb-card__meta {
  font-size: 11px;
  color: var(--muted, #94a3b8);
}

.kh-sb-card__empty {
  margin: 0;
  font-size: 12px;
  color: var(--muted, #94a3b8);
}

@media (max-width: 1024px) {
  .kh-sidebar-panel {
    gap: 16px;
  }

  .kh-sb-card__link {
    min-height: 44px;
  }
}
