/* ============================================
   Kursolog - Logo Renk Paleti (renkler.txt)
   ============================================ */
:root {
  /* Logo harf renkleri */
  --kursolog-k: #FF0000;           /* k - Kırmızı */
  --kursolog-u: #FF8C00;           /* u - Koyu Turuncu */
  --kursolog-r: #FFFF66;           /* r - Açık Sarı */
  --kursolog-s: #32CD32;           /* s - Yeşil */
  --kursolog-o: #00008B;           /* o - Lacivert */
  --kursolog-l: #ADD8E6;           /* l - Açık Mavi */
  --kursolog-o2: #8A2BE2;          /* o - Menekşe */
  --kursolog-g: #FF0000;           /* g - Kırmızı */
  --kursolog-org: #000000;         /* .org - Siyah */

  /* Tema kullanımı */
  --primary: var(--kursolog-o);    /* Lacivert - ana vurgu */
  --primary-light: var(--kursolog-l);
  --accent: var(--kursolog-u);     /* Turuncu - CTA */
  --accent-success: var(--kursolog-s);
  --accent-warning: var(--kursolog-r);
  --text-dark: #1a1a1a;
  --text-muted: #5a5a5a;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

/* ============================================
   Genel & Body
   ============================================ */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.body-content {
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
  min-height: calc(100vh - 180px);
}

/* Sayfa genişliği: Bootstrap container'dan daha geniş */
.container {
  max-width: 1400px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1480px;
  }
}

/* Ana sayfa: sidebar header'ın hemen altından başlasın */
.container-ana {
  padding-top: 1rem;
}

/* ============================================
   Header - Beyaz üst çubuk (sabit yükseklik, küçük)
   ============================================ */
.header-top {
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 0.25rem 0;
  min-height: 56px;
}

.header-top .navbar {
  min-height: 56px;
}

.header-navbar {
  padding-top: 0;
  padding-bottom: 0;
}

/* Logo+konum bitişik sol küme | boşluk | sepet/hesap */
.header-nav-shell {
  display: grid;
  width: 100%;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0;
  grid-template-columns: max-content 1fr auto;
  grid-template-areas: "start . end";
}

.header-nav-start {
  grid-area: start;
  width: max-content;
  max-width: 100%;
  gap: 0.45rem;
}

.header-nav-konum {
  min-width: 0;
}

.header-nav-end {
  grid-area: end;
  justify-self: end;
}

/* Logo kutusu: sabit yükseklik, taşan logo üstten/alttan kesilir */
.header-top .navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 56px;
  overflow: hidden;
}

/* ========== HEADER LOGO BOYUTU ==========
   height: Logo görselinin gerçek yüksekliği (büyük değer = daha geniş logo, üst/alttan kırpılır).
   width: auto = genişlik oranı korunur, header içinde kesilir.
   Header çubuğu .navbar-brand height: 56px ile sabit; logo büyükse sadece ortası görünür. */
.header-top .header-logo {
  height: 120px;
  width: auto;
  max-width: none;
}

.header-top .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
}

/* Mor butonlar: Sepet + Giriş — mobilde ince; lg+ daha dolgun */
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  background: var(--kursolog-o2);
  color: #fff !important;
  border: none;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  min-height: 2.5rem;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .btn-header {
    padding: 0.48rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .btn-header .btn-icon {
    width: 18px;
    height: 18px;
  }

  .header-user-dropdown {
    min-width: 2.85rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    font-size: 0.95rem;
  }

  .header-nav-shell {
    column-gap: 0.65rem;
  }

  .header-nav-start {
    gap: 0.55rem;
  }

  .header-konum-wrap .btn-sm {
    font-size: 0.8rem;
    padding: 0.28rem 0.55rem;
  }
}

.btn-header:hover {
  background: #7322c4;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-header .btn-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.btn-header-login .btn-icon {
  margin-left: 0.25rem;
}

/* Kullanıcı dropdown (giriş yapınca: Ad Soyad baş harfi) */
.header-top .navbar > .container,
.header-nav-shell,
.header-nav-end,
#header-user-dropdown {
  overflow: visible;
}

.header-user-dropdown {
  min-width: 2.35rem;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  height: 2.5rem;
  white-space: nowrap;
}

.btn-header-icon {
  position: relative;
}

.header-btn-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-count-badge,
.header-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--kursolog-o2);
  font-size: 0.7rem;
  font-weight: 700;
}

.header-count-badge {
  position: absolute;
  right: -0.5rem;
  top: -0.45rem;
}

.header-inline-badge {
  margin-left: 0.45rem;
  background: rgba(138, 43, 226, 0.12);
}

.header-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-user-name {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.header-user-menu {
  min-width: 15rem;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.4rem;
}

.header-user-menu-top {
  padding: 0.35rem 0.45rem 0.55rem;
}

.header-user-menu-identity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #f8f7fc;
}

.header-user-menu-name {
  font-weight: 700;
  color: #111827;
}

.header-user-menu-sub {
  color: #6b7280;
  font-size: 0.8rem;
}

.header-user-photo-lg,
.header-user-avatar-lg {
  width: 40px;
  height: 40px;
}

.header-user-menu .dropdown-item {
  padding: 0.7rem 0.85rem;
  font-weight: 500;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-user-menu .dropdown-item:hover {
  background: rgba(138, 43, 226, 0.08);
  color: var(--kursolog-o2);
}
.header-user-menu .dropdown-divider {
  margin: 0.25rem 0;
}

/* Header: arama bölgesi (il · ilçe / GPS) */
.header-konum-wrap {
  min-width: 0;
}

.header-konum-wrap .header-konum-pin {
  line-height: 0;
}

.header-konum-wrap .header-konum-pin svg {
  width: 16px;
  height: 16px;
}

.header-konum-ozet-col {
  max-width: min(16rem, 100%);
}

@media (max-width: 991.98px) {
  .geri-bildirim-floating-btn {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.72rem 0.9rem;
  }

  .geri-bildirim-toast {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }

  .header-top {
    min-height: 0;
  }

  .header-top .navbar {
    min-height: 0;
  }

  .header-nav-shell {
    column-gap: 0.35rem;
  }

  .header-konum-ozet-col {
    max-width: none;
  }

  .header-konum-wrap {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
  }

  .header-konum-wrap .btn-sm {
    font-size: 0.72rem;
    padding: 0.15rem 0.4rem;
  }
}

/* Ana sayfa: kurs/kurum arama kartı */
.home-hero-search-block {
  padding-top: 0.15rem;
}

.home-hero-search-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.home-hero-search-lead {
  font-size: 0.95rem;
  max-width: 42rem;
}

.home-search-meta-row {
  border-color: rgba(0, 0, 0, 0.07) !important;
}

.btn-kursolog-ara {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--kursolog-o2);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 10px;
}

.btn-kursolog-ara:hover {
  background: #7322c4;
  color: #fff;
}

/* Ana sayfa: başlık + alt başlık (toplam iki satır hissi) + tam genişlik hap arama */
.home-hero-v2 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.home-hero-v2-title {
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  font-weight: 700;
  color: #16161f;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero-v2-sub {
  font-size: clamp(0.9rem, 2vw, 1.04rem);
  font-weight: 400;
  color: #6b6b78;
  line-height: 1.35;
  max-width: min(38rem, 100%);
  margin-bottom: 1.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero-v2-form {
  width: 100%;
  max-width: none;
}

.home-search-pill {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.home-search-pill-input {
  display: block;
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 1.35rem;
  padding-right: 3.35rem;
  font-size: 1.05rem;
  border-radius: 999px;
}

.home-search-pill-input:focus {
  box-shadow: none;
}

.home-search-pill-btn {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7b2cbf;
  color: #fff !important;
  border: none;
  border-radius: 50% !important;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}

.home-search-pill-btn:hover {
  background: #5a189a;
  color: #fff !important;
}

.home-search-pill-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.home-section-title-pop {
  border-bottom-color: var(--kursolog-o2);
  border-bottom-width: 4px;
}

/* Ana sayfa slider v2: gradient kart, ortalanmış metin, ince göstergeler */
.carousel-home-kurs.home-slider-v2 {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
}

.carousel-home-kurs.home-slider-v2 .carousel-inner > .carousel-item {
  height: 300px;
}

@media (min-width: 768px) {
  .carousel-home-kurs.home-slider-v2 .carousel-inner > .carousel-item {
    height: 380px;
  }
}

.home-slide-v2 {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.home-slide-v2__photo {
  position: absolute;
  inset: 0;
  background: #2d1a54;
}

.home-slide-v2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-slide-v2__photo--empty {
  background: linear-gradient(115deg, #2d1a54 0%, #5a189a 42%, #9d4edd 100%);
}

.home-slide-v2__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(35, 15, 72, 0.9) 0%, rgba(91, 40, 166, 0.55) 50%, rgba(157, 78, 221, 0.35) 100%);
  pointer-events: none;
}

.home-slide-v2__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 2.75rem;
}

.home-slide-v2__title {
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  max-width: 22rem;
  line-height: 1.2;
}

.home-slide-v2__meta {
  font-size: 0.95rem;
  opacity: 0.95;
  max-width: 26rem;
  line-height: 1.45;
}

.home-slide-v2__cta {
  background: rgba(255, 255, 255, 0.96);
  color: #5a189a;
  border: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
}

.home-slide-v2__cta:hover {
  background: #fff;
  color: #3d1a69;
}

.home-slide-v2--marketing {
  background: linear-gradient(115deg, #231648 0%, #5a189a 38%, #9d4edd 100%);
}

.home-slide-v2--marketing-alt {
  background: linear-gradient(115deg, #1a2d5c 0%, #4361ee 42%, #7b2cbf 100%);
}

.home-slider-v2-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 4;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}

.home-slider-v2-dots [data-bs-target] {
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  text-indent: -9999px;
  overflow: hidden;
}

.home-slider-v2-dots [data-bs-target].active {
  background: #fff;
}

.home-slider-v2-ctrl {
  width: 3rem;
  opacity: 0.95;
  z-index: 3;
}

.home-slider-v2-ctrl .carousel-control-prev-icon,
.home-slider-v2-ctrl .carousel-control-next-icon {
  filter: brightness(0) invert(1);
  width: 2rem;
  height: 2rem;
}

/* Eski navbar (geri uyumluluk) */
.navbar-kursolog .navbar-brand { display: flex; align-items: center; padding: 0; }
.navbar-kursolog .navbar-brand img { height: 42px; width: auto; }
.navbar-kursolog .nav-link { color: rgba(255,255,255,0.95) !important; font-weight: 500; padding: 0.5rem 1rem !important; border-radius: 6px; }
.navbar-kursolog .nav-link:hover { background: rgba(255,255,255,0.15); color: #fff !important; }
.navbar-kursolog .btn-personel { background: var(--kursolog-u); color: #fff !important; border: none; padding: 0.4rem 0.9rem; border-radius: 6px; font-weight: 600; }
.navbar-kursolog .btn-personel:hover { background: #e67d00; color: #fff !important; }

/* ============================================
   Hero - Başlık + arama (sidebar yanında, sayfa ile orantılı)
   ============================================ */
.hero-kursolog {
  background: #fff;
  color: var(--text-dark);
  padding: 1.5rem 0 2rem;
  text-align: center;
}

/* Hero sidebar ile aynı satırda (inline): daha kompakt, arama geniş */
.hero-kursolog.hero-inline {
  padding: 1rem 0 1.75rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

.hero-kursolog .hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.hero-inline .hero-title {
  font-size: 1.75rem;
}

.hero-kursolog .hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-inline .hero-subtitle {
  margin-bottom: 1rem;
}

/* Arama: içerik sütununun genişliğiyle orantılı (sayfa ile oranlı) */
.hero-kursolog .hero-search {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.hero-inline .hero-search {
  max-width: 100%;
}

.hero-kursolog .hero-search-inner {
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
}

.hero-kursolog .hero-search-input {
  flex: 1;
  border: none !important;
  padding: 0.85rem 1.35rem !important;
  font-size: 1rem;
  border-radius: 0;
}

.hero-kursolog .hero-search-input:focus {
  box-shadow: none;
  outline: none;
}

.hero-kursolog .btn-search {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--kursolog-o2);
  color: #fff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0 999px 999px 0;
  font-weight: 600;
  font-size: 1rem;
}

.hero-kursolog .btn-search:hover {
  background: #7322c4;
  color: #fff;
}

.hero-kursolog .btn-search .search-icon {
  flex-shrink: 0;
}

.hero-kursolog .opacity-90 { opacity: 0.9; }

/* ============================================
   Sol sidebar: Kurs İlanları
   ============================================ */
.sidebar-kurs-ilanlari {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.1rem;
  max-width: none;
  width: 100%;
}

@media (min-width: 992px) {
  .sidebar-kurs-ilanlari {
    max-width: 240px;
  }
}

@media (min-width: 992px) {
  /* Sticky, yükseklik ve taşma: .home-sidebar-sticky ile birlikte kullanılır */
  .sidebar-kurs-ilanlari:not(.home-sidebar-sticky) {
    position: sticky;
    top: 60px;
  }
}

.sidebar-kurs-ilanlari .sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--kursolog-o2);
}

.sidebar-kurs-ilanlari .sidebar-count {
  font-weight: 600;
  color: var(--text-muted);
}

.kurs-kategori-listesi {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kurs-kategori-listesi .kategori-item {
  margin-bottom: 0.25rem;
}

.kurs-kategori-listesi .kategori-link {
  display: block;
  padding: 0.5rem 0.6rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.kurs-kategori-listesi .kategori-link:hover {
  background: var(--bg-light);
  color: var(--kursolog-o2);
}

.kurs-kategori-listesi .kategori-sayi {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.kurs-kategori-listesi .kategori-alt {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0.25rem 0 0.5rem 0;
  border-left: 2px solid var(--border-color);
}

.kurs-kategori-listesi .kategori-alt li {
  margin-bottom: 0.2rem;
}

.kurs-kategori-listesi .kategori-alt a {
  display: block;
  padding: 0.35rem 0.6rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 4px;
}

.kurs-kategori-listesi .kategori-alt a:hover {
  color: var(--kursolog-o2);
  background: var(--bg-light);
}

.kurs-kategori-listesi .kategori-ust-satir {
  margin-bottom: 0.15rem;
}

.kurs-kategori-listesi .kategori-link--ana {
  font-weight: 600;
}

.kurs-kategori-listesi .kategori-alt-toggle {
  line-height: 1.1;
  font-size: 0.75rem;
}

/* Kategori kurs listesi (kategori/{id}) */
.kategori-kurslar-page .kategori-filtre-card {
  border-radius: 12px;
  top: 1rem;
}

.kategori-kurslar-page .kategori-filtre-form .form-label {
  margin-bottom: 0.2rem;
}

.kategori-kurslar-page .kategori-filtre-form .btn-group label {
  flex: 1 1 auto;
  text-align: center;
}

.kategori-kurslar-page .breadcrumb {
  background: rgba(90, 45, 130, 0.06);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

/* ============================================
   Carousel
   ============================================ */
.carousel-kursolog {
  margin-bottom: 2rem;
}

.carousel-kursolog .carousel-item {
  height: 420px;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
}

.carousel-kursolog .carousel-item .placeholder-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--kursolog-l) 15%, var(--kursolog-s) 50%, var(--kursolog-o2) 85%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Ana sayfa: yan sütun satır yüksekliğinde uzar; kategori kutusu kaydırırken yapışır */
@media (min-width: 992px) {
  .home-index-row > .home-aside-kategoriler {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .home-aside-kategoriler > .sidebar-kurs-ilanlari {
    align-self: flex-start;
    width: 100%;
  }

  .home-sidebar-sticky {
    position: sticky;
    top: 4.75rem;
    max-height: calc(100vh - 5.25rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 2;
  }

  /* Mobilde collapse kapalı olsa bile masaüstünde liste her zaman görünsün */
  #homeKategorilerListeCollapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  #homeKategorilerListeCollapse .kurs-kategori-listesi {
    max-height: none;
    overflow: visible;
    margin-top: 0;
  }
}

/* Ana sayfa: mobil / tablet — kategoriler üstte, e-ticaret filtresi gibi daraltılabilir */
@media (max-width: 991.98px) {
  .home-aside-kategoriler {
    margin-bottom: 0.85rem;
  }

  .home-kat-mobile-toggle {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 0.65rem 1rem;
    font-size: 0.98rem;
  }

  .home-kat-mobile-toggle:hover {
    background: var(--bg-light);
    color: var(--text-dark);
  }

  .home-kat-mobile-toggle:focus {
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.22);
  }

  .home-kat-mobile-toggle-icon {
    color: var(--kursolog-o2);
    transition: transform 0.2s ease;
  }

  .home-kat-mobile-toggle[aria-expanded="true"] .home-kat-mobile-toggle-icon {
    transform: rotate(180deg);
  }

  .home-aside-kategoriler .sidebar-kurs-ilanlari {
    padding: 0.6rem 0.8rem 0.85rem;
  }

  #homeKategorilerListeCollapse .kurs-kategori-listesi {
    max-height: min(52vh, 22rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.45rem;
    padding-bottom: 0.15rem;
  }
}

.home-hero-compact .hero-title {
  font-size: 1.65rem;
  line-height: 1.25;
}

.home-hero-compact .hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-section-sub {
  max-width: 42rem;
}

/* Ana sayfa slider: sabit yükseklik; görsel/metin taşması yok */
.carousel-home-kurs .carousel-item {
  position: relative;
  overflow: hidden;
  height: 228px;
}

@media (min-width: 768px) {
  .carousel-home-kurs .carousel-item {
    height: 320px;
  }
}

.home-slider-visual {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-slider-visual-sm {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-slider-visual img,
.home-slider-visual-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-slider-caption {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 46%;
  overflow: hidden;
  padding-top: 2rem !important;
}

.home-slider-title-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
  max-height: 2.6em;
  word-break: break-word;
}

.home-slider-meta-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 1.35em;
}

.home-banner-slide-fill {
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.home-banner-slide-alt {
  background: linear-gradient(135deg, #5a2d82 0%, #8a2be2 100%);
}

.home-banner-title-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: 2.6em;
  line-height: 1.25;
}

.home-banner-text-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-height: 4.5em;
  line-height: 1.5;
}

.carousel-home-kurs .carousel-control-prev,
.carousel-home-kurs .carousel-control-next {
  width: 3rem;
  opacity: 0.85;
}

.home-kurum-card {
  transition: box-shadow 0.2s, transform 0.2s;
  height: 204px;
  max-height: 204px;
  overflow: hidden;
}

.home-kurum-card .card-body {
  overflow: hidden;
  min-height: 0;
}

.home-kurum-logo-slot {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  box-sizing: border-box;
}

.home-kurum-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
  max-height: 2.5em;
  word-break: break-word;
}

.home-kurum-card-ozet {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.45;
  max-height: 4.35em;
  word-break: break-word;
}

/* Ana sayfa kurum kartları: mobilde 2 sütun — sıkı yerleşim */
@media (max-width: 767.98px) {
  .home-kurum-kart-row {
    --bs-gutter-x: 0.45rem;
    --bs-gutter-y: 0.55rem;
  }

  .home-kurum-card {
    height: auto;
    min-height: 9.5rem;
    max-height: 11.5rem;
  }

  .home-kurum-card .d-flex.gap-3 {
    gap: 0.45rem !important;
    margin-bottom: 0.35rem !important;
  }

  .home-kurum-logo-slot {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  .home-kurum-card-title {
    font-size: 0.78rem;
  }

  .home-kurum-card .badge {
    font-size: 0.62rem;
    padding: 0.15em 0.35em;
  }

  .home-kurum-card-ozet {
    font-size: 0.68rem;
    -webkit-line-clamp: 2;
    line-height: 1.35;
    max-height: 2.75em;
  }

  .home-kurum-arama-card {
    height: auto;
    min-height: 8.5rem;
    max-height: 12rem;
  }

  .home-kurum-arama-card .card-body {
    gap: 0.45rem !important;
  }

  .home-kurum-arama-logo {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
  }

  .home-kurum-arama-title {
    font-size: 0.78rem;
  }

  .home-kurum-arama-ozet {
    font-size: 0.68rem;
    -webkit-line-clamp: 2;
    max-height: 2.75em;
  }
}

.home-kurum-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px);
}

.home-kurum-arama-card {
  height: 168px;
  max-height: 168px;
  overflow: hidden;
}

.home-kurum-arama-card .card-body {
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.home-kurum-arama-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.home-kurum-arama-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
  max-height: 2.5em;
  word-break: break-word;
}

.home-kurum-arama-ozet {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
  max-height: 2.8em;
  margin-bottom: 0.35rem !important;
}

/* Banner slide (referans: Kariyerinize Yön Verin) */
.banner-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--kursolog-o) 0%, var(--kursolog-o2) 100%);
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.banner-slide-content {
  max-width: 520px;
}

.banner-slide .banner-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.banner-slide .banner-text {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 1.25rem;
}

.btn-banner {
  background: var(--kursolog-o2);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-banner:hover {
  background: #7322c4;
  color: #fff;
}

/* ============================================
   Bölüm başlıkları
   ============================================ */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--kursolog-o);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--kursolog-u);
  display: inline-block;
}

.text-purple { color: var(--kursolog-o2); }
.text-purple:hover { color: #7322c4; }

.search-results-shell {
  align-items: start;
}

.search-results-hero {
  background:
    radial-gradient(circle at top right, rgba(138, 43, 226, 0.12), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, #f8f6ff 100%);
}

.search-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(138, 43, 226, 0.18);
  background: #fff;
  color: var(--text-dark);
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.search-chip-accent {
  background: rgba(138, 43, 226, 0.08);
  color: var(--kursolog-o2);
}

.search-chip-muted {
  border-style: dashed;
  color: var(--text-muted);
}

.search-score-badge {
  font-weight: 700;
}

.search-institution-card {
  border-radius: 1rem;
}

.search-institution-card .home-kurum-arama-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.search-result-meta-badges .badge {
  font-weight: 600;
}
.fw-600 { font-weight: 600; }

/* ============================================
   Kurs kartı (placeholder)
   ============================================ */
.card-kurs {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}

.card-kurs:hover {
  box-shadow: 0 8px 24px rgba(0,0,139,0.12);
  transform: translateY(-2px);
}

.card-kurs .card-img-top {
  height: 160px;
  background: linear-gradient(135deg, var(--kursolog-l), var(--kursolog-s));
  object-fit: cover;
}

/* Ana sayfa kurs kartları: sabit kart boyutu, metin taşması yok */
.card-kurs-home {
  width: 100%;
  height: 24.75rem;
  min-height: 24.75rem;
  max-height: 24.75rem;
  display: flex;
  flex-direction: column;
}

.card-kurs-home .card-img-top {
  flex: 0 0 120px;
  width: 100%;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
}

.card-kurs-home .card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0.6rem 0.75rem;
}

.card-kurs-home .card-kurs-meta-block {
  min-height: 0;
  overflow: hidden;
}

.card-kurs-favorite-count {
  color: #6b7280;
}

.btn-favori-toggle {
  border: 1px solid rgba(138, 43, 226, 0.16);
  background: #fff;
  color: var(--kursolog-o2);
  border-radius: 999px;
  font-weight: 600;
}

.btn-favori-icon {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.btn-favori-toggle:hover {
  background: #f5f3ff;
  color: var(--kursolog-o2);
  border-color: rgba(138, 43, 226, 0.3);
}

.btn-favori-toggle.active {
  background: rgba(138, 43, 226, 0.1);
  color: var(--kursolog-o2);
  border-color: rgba(138, 43, 226, 0.22);
}

.btn-favori-icon.active {
  color: #c026d3;
}

.card-kurs-home .card-kurs-title-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
  max-height: 2.6em;
  word-break: break-word;
}

.card-kurs-home .card-kurs-line-clamp-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  word-break: break-word;
}

.card-kurs-home .card-kurs-line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  max-height: 2.7em;
  word-break: break-word;
}

.card-kurs .card-title {
  color: var(--kursolog-o);
  font-weight: 600;
  font-size: 1rem;
}

.card-kurs .badge-online {
  background: var(--kursolog-s);
  color: #fff;
}

.card-kurs .rating {
  color: var(--kursolog-r);
}

.card-kurs .price {
  color: var(--kursolog-o);
  font-weight: 700;
}

.card-kurs .btn-sepete {
  background: var(--kursolog-u);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 6px;
}

.card-kurs .btn-sepete:hover {
  background: #e67d00;
  color: #fff;
}

/* Ana sayfa kurs kartları: tablet/telefon — 2 sütun (dar kart yan yana), sütunu doldurur */
@media (max-width: 767.98px) {
  .home-kurs-kart-row {
    padding-left: 0;
    padding-right: 0;
    --bs-gutter-x: 0.45rem;
    --bs-gutter-y: 0.55rem;
  }

  .home-kurs-kart-row > .col {
    display: flex;
  }

  .home-kurs-kart-row .card-kurs.card-kurs-home {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    height: 100%;
    max-height: none;
    padding: 0.35rem 0.4rem 0.45rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .card-kurs-home {
    min-height: 0;
    max-height: none;
  }

  .card-kurs-home .card-img-top {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 6.75rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
  }

  .card-kurs-home .card-img-top:not(img) {
    aspect-ratio: 16 / 9;
    min-height: 3.75rem;
    max-height: 6.75rem;
    background: linear-gradient(145deg, var(--kursolog-l) 0%, var(--kursolog-s) 55%, var(--kursolog-o2) 100%) !important;
  }

  .card-kurs-home .card-body {
    padding: 0.4rem 0.15rem 0.45rem;
    flex: 1 1 auto;
    min-height: 0;
  }

  .card-kurs-home .card-kurs-actions {
    padding-top: 0.1rem;
  }

  .card-kurs-home .card-title {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .card-kurs-home .card-text.small {
    font-size: 0.68rem;
  }

  .card-kurs-home .badge {
    font-size: 0.65rem;
  }

  .card-kurs-home .btn-sm {
    padding: 0.28rem 0.35rem;
    font-size: 0.72rem;
  }

  .card-kurs-home .rating.small,
  .card-kurs-home .price {
    font-size: 0.75rem;
  }
}

/* ============================================
   Footer - 3 sütun
   ============================================ */
.footer-kursolog {
  background: var(--text-dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

/* Footer logosu boyutu: height ile küçültüp büyütebilirsiniz */
.footer-kursolog .footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-kursolog h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-kursolog ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-kursolog ul li {
  margin-bottom: 0.4rem;
}

.footer-kursolog a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-kursolog a:hover {
  color: var(--kursolog-l);
}

.footer-kursolog .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.geri-bildirim-floating-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  background: var(--kursolog-o);
  color: #fff;
  box-shadow: 0 10px 24px rgba(3, 9, 77, 0.22);
}

.geri-bildirim-floating-btn:hover {
  background: #000066;
}

.geri-bildirim-modal {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}

.geri-bildirim-modal .modal-header,
.geri-bildirim-modal .modal-footer {
  border-color: #eef2f7;
}

.geri-bildirim-info {
  border: 1px solid #dbe7ff;
  background: #f7faff;
  color: #26417a;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
}

.geri-bildirim-toast {
  position: fixed;
  right: 1rem;
  top: 4.5rem;
  z-index: 1055;
  max-width: 24rem;
  border-radius: 14px;
  padding: 0.8rem 1rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.geri-bildirim-toast.success {
  background: #e8fff4;
  color: #116149;
  border: 1px solid #b7ebd1;
}

.geri-bildirim-toast.error {
  background: #fff1f3;
  color: #a61b34;
  border: 1px solid #ffc5d0;
}

/* ============================================
   Form & Input overrides
   ============================================ */
input,
select,
textarea {
  max-width: 100%;
}

/* Bootstrap override - primary rengi logo lacivert */
.btn-primary {
  background-color: var(--kursolog-o);
  border-color: var(--kursolog-o);
}

.btn-primary:hover {
  background-color: #000066;
  border-color: #000066;
}

/* ============================================
   Login / Giriş Sayfası (referans tasarım)
   ============================================ */
.login-page {
  min-height: calc(100vh - 180px);
  background: var(--bg-light);
  padding: 2rem 1rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

.login-logo {
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-logo img {
  height: 64px;
  width: auto;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 2rem;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  text-align: center;
}

.login-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Öğrenci / Kurum geçiş linki (tek buton) */
.login-switch-wrap {
  margin-bottom: 0.5rem;
}

.login-switch-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  color: var(--kursolog-o2);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.login-switch-link:hover {
  color: #7322c4;
  text-decoration: underline;
}

/* Input ikonlu alan */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap .input-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.input-icon-wrap .form-control {
  padding-left: 2.75rem;
  padding-right: 2.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: 2.75rem;
}

.input-icon-wrap .form-control:focus {
  border-color: var(--kursolog-o2);
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.15);
}

.input-icon-wrap .input-icon-right {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.25rem;
  cursor: pointer;
}

.input-icon-wrap .input-icon-right:hover {
  color: var(--kursolog-o2);
}

/* Öğrenci / Kurum ikili buton (giriş kartı) */
.login-dual-tabs {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
}

.login-dual-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.login-dual-tab:hover {
  color: var(--text-dark);
}

.login-dual-tab.active {
  background: var(--kursolog-o2);
  color: #fff;
}

.login-hint {
  color: var(--text-muted);
}

.login-link-small {
  font-size: 0.85rem;
  color: var(--kursolog-o2);
  text-decoration: none;
}

.login-link-small:hover {
  color: #7322c4;
  text-decoration: underline;
}

/* Giriş Yap butonu (mor) */
.btn-login {
  background: var(--kursolog-o2);
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.btn-login:hover {
  background: #7322c4;
  color: #fff;
}

.btn-login-icon {
  font-size: 1.1rem;
}

.login-footer-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0;
}

.login-link {
  color: var(--kursolog-o2);
  font-weight: 600;
  text-decoration: none;
}

.login-link:hover {
  color: #7322c4;
  text-decoration: underline;
}

.login-form .form-label {
  font-weight: 500;
  color: var(--text-dark);
}

.login-form .form-control {
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.login-form .form-control:focus {
  border-color: var(--kursolog-o2);
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.15);
}

/* ============================================
   Mobil ve küçük ekran (ana sayfa + header)
   ============================================ */
@media (max-width: 767.98px) {
  .home-hero-v2-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: unset;
    line-height: 1.2;
  }

  .home-hero-v2-sub {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: unset;
    margin-bottom: 1rem;
  }

  .home-slide-v2__body {
    padding: 1rem 0.75rem 2.5rem;
  }

  .home-slide-v2__title {
    max-width: 100%;
    padding: 0 0.25rem;
    text-align: center;
  }

  .home-slide-v2__meta {
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: center;
    padding: 0 0.35rem;
  }
}

@media (max-width: 575.98px) {
  .home-page-shell.container {
    --bs-gutter-x: 0.75rem;
  }

  .home-search-pill-input {
    padding: 0.8rem 1rem;
    padding-right: 3.15rem;
    font-size: 1rem;
  }

  .home-search-pill-btn {
    right: 0.35rem;
    width: 2.45rem;
    height: 2.45rem;
  }

  .home-search-pill-btn svg {
    width: 18px;
    height: 18px;
  }

  .carousel-home-kurs.home-slider-v2 {
    border-radius: 0.85rem;
  }

  .carousel-home-kurs.home-slider-v2 .carousel-inner.rounded-4 {
    border-radius: 0.85rem !important;
  }

  .carousel-home-kurs.home-slider-v2 .carousel-inner > .carousel-item {
    height: 260px;
  }

  .home-slider-v2-ctrl {
    width: 2.5rem;
  }

  .home-slider-v2-ctrl .carousel-control-prev-icon,
  .home-slider-v2-ctrl .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .btn-header {
    padding: 0.26rem 0.45rem;
    min-width: 2.35rem;
    min-height: 2.35rem;
    justify-content: center;
  }

  .btn-header .btn-icon.me-sm-2 {
    margin-right: 0 !important;
  }

  .btn-header-login .btn-icon {
    margin-left: 0;
  }

  .header-top .navbar > .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .header-konum-wrap .btn-sm {
    font-size: 0.7rem;
    padding: 0.12rem 0.35rem;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    max-width: 100%;
    word-break: break-word;
    line-height: 1.25;
  }

  .home-section .home-section-sub {
    font-size: 0.8125rem;
  }

  /* Konum modal: tam ekran (Bootstrap) + gövde kaydırılabilir */
  #headerKonumModal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #headerKonumModal .modal-footer .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ============================================
   Kurs detay (sade arka plan; başlıkta --primary)
   ============================================ */
.kurs-detay-shell {
  background: #fbfbfd;
}

.kurs-detay-mobile-bar {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.kurs-detay-hero-card,
.kurs-detay-social-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05) !important;
}

.kurs-detay-social-header {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.kurs-detay-gallery {
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.kurs-detay-gallery-main {
  background: #e9ecef;
}

/* Ana görsel: kutu her zaman 16:9 dolar; orantı bozuk görseller kırpılarak ortalanır */
.kurs-detay-gallery-main > .kurs-detay-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kurs-detay-gallery-placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -12deg,
    #e9ecef,
    #e9ecef 10px,
    #f1f3f5 10px,
    #f1f3f5 20px
  );
}

.kurs-detay-gallery-thumbs {
  background: #fcfcfe !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.kurs-detay-thumb {
  width: 72px;
  height: 54px;
  flex-shrink: 0;
}

.kurs-detay-thumb.active {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.kurs-detay-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kurs-detay-title {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.kurs-detay-subtitle {
  max-width: 60ch;
  line-height: 1.65;
}

.kurs-detay-top-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kurs-detay-mini-rating {
  min-width: 132px;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #f7f7fb;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}

.kurs-detay-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.kurs-detay-fact-card {
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.kurs-detay-fact-card strong {
  display: block;
  color: #101828;
  font-size: 0.98rem;
}

.kurs-detay-fact-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kurs-detay-inline-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.kurs-detay-inline-meta-item {
  min-width: 0;
}

.kurs-detay-specs {
  border-color: var(--border-color) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.kurs-detay-specs .table th {
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-light) !important;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.kurs-detay-specs .table td {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-color: var(--border-color);
}

.kurs-detay-tabs {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.kurs-detay-tabs .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0.8rem 0.8rem 0 0;
  padding: 0.65rem 1rem;
}

.kurs-detay-tabs .nav-link:hover {
  color: var(--primary);
  border-color: transparent;
  background: rgba(15, 23, 42, 0.04);
}

.kurs-detay-tabs .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(138, 43, 226, 0.06);
}

.kurs-detay-tab-panel-wrap {
  border-color: rgba(15, 23, 42, 0.08) !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.kurs-detay-sidebar {
  top: 5.5rem;
  z-index: 2;
  border-left: 3px solid var(--primary);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06) !important;
  border-radius: 1rem;
}

.kurs-detay-sidebar-chips .kurs-detay-chip {
  background: #f5f3ff;
  color: #5b21b6;
  font-weight: 500;
  border: 1px solid rgba(138, 43, 226, 0.12);
}

.kurs-detay-sidebar-chips .kurs-detay-chip--accent {
  background: #fff8e6;
  color: #7a5200;
  border-color: #f0e0b2;
}

.kurs-detay-price-display {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.kurs-detay-sidebar-note {
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.kurs-detay-sidebar-note ul {
  padding-left: 1rem;
  color: #5b6473;
}

.kurs-detay-sidebar-note li + li {
  margin-top: 0.45rem;
}

.kurs-detay-price-inline {
  font-size: 1.2rem;
  color: var(--primary);
}

.kurs-detay-hr {
  border-color: var(--border-color);
  opacity: 1;
}

.kurs-detay-kurum-box {
  background: #fcfcfe;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.kurs-detay-kurum-label {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.kurs-detay-kurum-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.kurs-detay-section-title {
  color: var(--primary);
  font-weight: 600;
  position: relative;
  padding-left: 0.9rem;
}

.kurs-detay-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--kursolog-o2), #4f46e5);
}

.kurs-detay-kart-satiri .col.d-flex > .card-kurs-home {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.kurs-detay-kart-satiri .card-kurs-home .card-body {
  flex: 1 1 auto;
}

.kurs-detay-btn-outline {
  border-color: rgba(138, 43, 226, 0.16);
  color: var(--primary);
  background: #fff;
}

.kurs-detay-btn-outline:hover {
  background: #f5f3ff;
  border-color: var(--primary);
  color: var(--primary);
}

.kurs-detay-sidebar .btn-sepete,
.kurs-detay-mobile-bar .btn-sepete {
  background: linear-gradient(135deg, var(--kursolog-o) 0%, var(--kursolog-o2) 100%);
  border: none;
  box-shadow: 0 14px 28px rgba(138, 43, 226, 0.22);
}

.kurs-detay-sidebar .btn-sepete:hover,
.kurs-detay-mobile-bar .btn-sepete:hover {
  background: linear-gradient(135deg, #f08a1a 0%, #7f2be2 100%);
  transform: translateY(-1px);
}

.kurs-detay-sidebar .btn-outline-success,
.kurs-detay-mobile-bar .btn-outline-success {
  border-color: rgba(34, 197, 94, 0.28);
  color: #15803d;
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.95), rgba(220, 252, 231, 0.95));
}

.kurs-detay-sidebar .btn-outline-success:hover,
.kurs-detay-mobile-bar .btn-outline-success:hover {
  border-color: rgba(21, 128, 61, 0.35);
  color: #166534;
  background: linear-gradient(180deg, #dcfce7, #bbf7d0);
}

@media (min-width: 992px) {
  .kurs-detay-mobile-bar {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .kurs-detay-inline-meta,
  .kurs-detay-facts-grid {
    grid-template-columns: 1fr;
  }

  .kurs-detay-mini-rating {
    width: 100%;
  }

  .kurs-detay-sidebar {
    top: auto;
  }
}

/* ============================================
   Ogrenci Paneli
   ============================================ */
.ogrenci-layout-body {
  background: linear-gradient(180deg, #f6f8fc 0%, #ffffff 220px);
}

.ogrenci-layout-main {
  padding-bottom: 2rem;
}

.ogrenci-shell {
  position: relative;
}

.ogrenci-sidebar,
.ogrenci-page-hero,
.ogrenci-panel-card,
.ogrenci-stat-card,
.ogrenci-course-card,
.ogrenci-chat-card,
.ogrenci-checkout-card,
.ogrenci-empty-state,
.ogrenci-summary-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.ogrenci-sidebar {
  position: sticky;
  top: 88px;
}

.ogrenci-sidebar-card {
  padding: 1.25rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.ogrenci-sidebar + .ogrenci-sidebar-card,
.ogrenci-sidebar-card + .ogrenci-sidebar-card {
  margin-top: 1rem;
}

.ogrenci-sidebar-profile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ogrenci-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--kursolog-o2), #b562ff);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ogrenci-avatar-image,
.ogrenci-profile-photo-preview {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #eef2f7;
}

.ogrenci-profile-photo-preview {
  width: 76px;
  height: 76px;
}

.ogrenci-profile-photo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 600;
}

.ogrenci-sidebar-label,
.ogrenci-kpi-label,
.ogrenci-meta-label {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 700;
}

.ogrenci-sidebar-name {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.ogrenci-sidebar-text,
.ogrenci-page-description,
.ogrenci-card-text,
.ogrenci-empty-text,
.ogrenci-meta-text {
  color: #5b6473;
  line-height: 1.6;
}

.ogrenci-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ogrenci-subnav {
  margin: -0.1rem 0 0.45rem;
  padding: 0.15rem 0 0.15rem 0.9rem;
  border-left: 2px solid rgba(138, 43, 226, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ogrenci-subnav-link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  color: #5b6473;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.ogrenci-subnav-link.active {
  background: rgba(138, 43, 226, 0.08);
  color: var(--kursolog-o2);
}

.ogrenci-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: #162033;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ogrenci-nav-link:hover {
  background: #f3ecff;
  color: var(--kursolog-o2);
  transform: translateX(2px);
}

.ogrenci-nav-link.active {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.14), rgba(0, 0, 139, 0.08));
  color: var(--kursolog-o2);
  box-shadow: inset 0 0 0 1px rgba(138, 43, 226, 0.18);
}

.ogrenci-nav-link-muted {
  color: #7b8190;
}

.ogrenci-page-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7f0ff 100%);
}

.ogrenci-page-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kursolog-o2);
  font-weight: 700;
}

.ogrenci-page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #101828;
}

.ogrenci-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.ogrenci-page-content > * + * {
  margin-top: 1.5rem;
}

.ogrenci-sidebar-toggle {
  border-radius: 14px;
}

.ogrenci-checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ogrenci-checkout-step {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #edf2f7;
  color: #516072;
  font-weight: 600;
  font-size: 0.92rem;
}

.ogrenci-checkout-step.active {
  background: var(--kursolog-o2);
  color: #fff;
}

.ogrenci-checkout-step.done {
  background: rgba(50, 205, 50, 0.16);
  color: #1f6b1f;
}

.ogrenci-panel-card,
.ogrenci-chat-card,
.ogrenci-checkout-card,
.ogrenci-empty-state,
.ogrenci-summary-card {
  padding: 1.5rem;
}

.ogrenci-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.ogrenci-card-subtitle {
  margin: 0 0 1.25rem;
  color: #6b7280;
}

.ogrenci-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ogrenci-stat-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}

.ogrenci-stat-value,
.ogrenci-kpi-value {
  margin: 0.35rem 0 0;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 700;
  color: #111827;
}

.ogrenci-kpi-value-sm {
  font-size: 1.3rem;
}

.ogrenci-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ogrenci-kpi-item {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.ogrenci-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ogrenci-action-tile {
  display: block;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ogrenci-action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 43, 226, 0.2);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.ogrenci-action-title {
  display: block;
  margin-bottom: 0.4rem;
  color: #111827;
  font-weight: 700;
}

.ogrenci-action-text {
  display: block;
  color: #667085;
  line-height: 1.55;
}

.ogrenci-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #5b6473;
}

.ogrenci-list li + li {
  margin-top: 0.55rem;
}

.ogrenci-form-section + .ogrenci-form-section {
  margin-top: 1.5rem;
}

.ogrenci-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ogrenci-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.ogrenci-summary-item strong {
  color: #101828;
}

.ogrenci-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ogrenci-course-card {
  overflow: hidden;
}

.ogrenci-course-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #eef2f7;
}

.ogrenci-course-card-body {
  padding: 1.35rem;
}

.ogrenci-course-meta,
.ogrenci-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.9rem;
  color: #667085;
  font-size: 0.92rem;
}

.ogrenci-progress {
  height: 10px;
  border-radius: 999px;
  background: #edf2f7;
}

.ogrenci-progress .progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kursolog-o2), #4f46e5);
}

.ogrenci-course-actions,
.ogrenci-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ogrenci-question-list,
.ogrenci-cart-list,
.ogrenci-summary-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ogrenci-question-card {
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.ogrenci-question-answer {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--kursolog-o2);
  border-radius: 0 16px 16px 0;
  background: #f7f1ff;
}

.ogrenci-badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.ogrenci-badge-soft-success {
  background: rgba(50, 205, 50, 0.16);
  color: #1f6b1f;
}

.ogrenci-badge-soft-muted {
  background: #eef2f7;
  color: #516072;
}

.ogrenci-empty-state {
  text-align: center;
  padding: 2.25rem 1.5rem;
}

.ogrenci-empty-title {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
}

.ogrenci-cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.ogrenci-cart-image {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 16px;
  background: #eef2f7;
}

.ogrenci-cart-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.ogrenci-summary-stack .ogrenci-summary-card {
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.ogrenci-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 700;
  color: #111827;
}

.ogrenci-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.95fr);
  gap: 1.25rem;
}

.ogrenci-chat-stream {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.ogrenci-message-bubble {
  max-width: 85%;
  border-radius: 18px;
  padding: 0.9rem 1rem;
  white-space: pre-wrap;
}

.ogrenci-message-bubble.mine {
  margin-left: auto;
  background: linear-gradient(135deg, var(--kursolog-o2), #4f46e5);
  color: #fff;
}

.ogrenci-message-bubble.other {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.ogrenci-message-meta {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.ogrenci-chat-form textarea.form-control,
.ogrenci-checkout-card .form-control,
.ogrenci-panel-card .form-control {
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  border-color: rgba(15, 23, 42, 0.14);
}

.ogrenci-checkout-card .form-label,
.ogrenci-panel-card .form-label {
  color: #344054;
  font-weight: 600;
}

.ogrenci-success-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1rem;
  border-radius: 24px;
  background: rgba(50, 205, 50, 0.16);
  color: #1f6b1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .ogrenci-stat-grid,
  .ogrenci-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ogrenci-course-grid,
  .ogrenci-chat-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .ogrenci-sidebar {
    position: static;
  }

  .ogrenci-page-hero {
    flex-direction: column;
    padding: 1.25rem;
  }

  .ogrenci-page-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ogrenci-cart-item {
    grid-template-columns: 1fr;
  }

  .ogrenci-cart-image {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 767.98px) {
  .ogrenci-stat-grid,
  .ogrenci-kpi-grid,
  .ogrenci-action-grid,
  .ogrenci-course-grid {
    grid-template-columns: 1fr;
  }

  .ogrenci-panel-card,
  .ogrenci-chat-card,
  .ogrenci-checkout-card,
  .ogrenci-empty-state,
  .ogrenci-summary-card,
  .ogrenci-sidebar-card,
  .ogrenci-stat-card {
    padding: 1.15rem;
    border-radius: 20px;
  }

  .ogrenci-page-title {
    font-size: 1.55rem;
  }

  .ogrenci-message-bubble {
    max-width: 100%;
  }
}

/* ============================================
   Kurum vitrin (Home/KurumDetay)
   ============================================ */
.kurum-sayfa-hero {
  background: linear-gradient(135deg, rgba(0, 0, 139, 0.06) 0%, rgba(255, 140, 0, 0.08) 45%, rgba(173, 216, 230, 0.2) 100%);
  border-bottom: 1px solid var(--border-color);
}

.kurum-sayfa-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.kurum-sayfa-title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.kurum-sayfa-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52rem;
}

.kurum-sayfa-logo-wrap {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.kurum-sayfa-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.kurum-sayfa-logo-placeholder {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 139, 0.25);
}

.kurum-sayfa-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Kurum vitrin: sol kare ana goruntu, sag (mobilde altta) kucuk seciciler */
.kurum-sayfa-galeri-card {
  background: #fff;
}

.kurum-sayfa-galeri-layout {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.kurum-sayfa-galeri-ana {
  flex: 0 0 auto;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.kurum-sayfa-galeri-ana img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kurum-sayfa-galeri-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 0 0 auto;
  width: 92px;
  max-height: min(420px, 72vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.kurum-sayfa-galeri-pick {
  flex: 0 0 auto;
  display: block;
  width: 84px;
  height: 84px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #e8ecf3;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.kurum-sayfa-galeri-pick:hover,
.kurum-sayfa-galeri-pick:focus-visible {
  border-color: rgba(0, 0, 139, 0.35);
  transform: translateY(-1px);
  outline: none;
}

.kurum-sayfa-galeri-pick.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.kurum-sayfa-galeri-pick-inner {
  display: block;
  width: 100%;
  height: 100%;
}

.kurum-sayfa-galeri-pick-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .kurum-sayfa-galeri-layout {
    flex-direction: column;
    align-items: center;
  }

  .kurum-sayfa-galeri-ana {
    width: min(100%, 360px);
  }

  .kurum-sayfa-galeri-thumbs {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: min(100%, 360px);
    max-height: none;
    overflow-y: hidden;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .kurum-sayfa-galeri-pick {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
  }
}

.kurum-sayfa-prose-inner {
  white-space: pre-wrap;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.kurum-vitrin-galeri-thumb {
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.kurum-vitrin-galeri-editor {
  max-height: 320px;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  background: var(--bg-light);
}
