/* ══════════════════════════════════════════════════════════════
   HangiÜniversiteKıbrıs — App-Like Redesign CSS
   ──────────────────────────────────────────────────────────
   Behance "AI Healthcare App" tarzında modern UI
   Mevcut Ek CSS'in ÜZERİNE enjekte edilir
   ══════════════════════════════════════════════════════════════ */

/* ┌─────────────────────────────────────────────────────────┐
   │  1) GOOGLE FONT — NUNİTO                               │
   └─────────────────────────────────────────────────────────┘ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');


/* ┌─────────────────────────────────────────────────────────┐
   │  2) CSS CUSTOM PROPERTIES — LIGHT / DARK MODE           │
   └─────────────────────────────────────────────────────────┘ */

:root,
html[data-theme="light"] {
  /* ── Backgrounds ── */
  --huk-bg:              #F7F0E3;
  --huk-bg-subtle:       #F2E9D8;
  --huk-surface:         #FDFAF5;
  --huk-surface-hover:   #FAF5EC;
  --huk-surface-glass:   rgba(253, 250, 245, 0.72);

  /* ── Primary / Accent ── */
  --huk-sea:             #0D2B3E;
  --huk-sea-light:       #1A4A68;
  --huk-terra:           #C8531F;
  --huk-terra-light:     #E8744A;
  --huk-terra-glow:      rgba(200, 83, 31, 0.15);

  /* ── Text ── */
  --huk-text:            #0F1E14;
  --huk-text-secondary:  #5A5248;
  --huk-text-muted:      #7A6E60;
  --huk-text-hint:       #B8AFA2;
  --huk-text-on-sea:     #F7F0E3;
  --huk-text-on-sea-dim: rgba(247, 240, 227, 0.62);

  /* ── Borders & Shadows ── */
  --huk-border:          #EDE3D0;
  --huk-border-subtle:   rgba(237, 227, 208, 0.6);
  --huk-shadow-sm:       0 2px 8px rgba(13, 43, 62, 0.04);
  --huk-shadow-md:       0 8px 24px rgba(13, 43, 62, 0.06);
  --huk-shadow-lg:       0 16px 48px rgba(13, 43, 62, 0.08);
  --huk-shadow-xl:       0 24px 64px rgba(13, 43, 62, 0.12);
  --huk-shadow-glow:     0 0 40px rgba(200, 83, 31, 0.12);

  /* ── Status ── */
  --huk-success:         #2D7A48;
  --huk-success-bg:      #E5F5EC;
  --huk-error:           #B83030;
  --huk-error-bg:        #FAEBEB;
  --huk-warning-bg:      #FFF4EC;

  /* ── Spacing & Radius ── */
  --huk-radius-xs:       8px;
  --huk-radius-sm:       12px;
  --huk-radius-md:       16px;
  --huk-radius-lg:       24px;
  --huk-radius-xl:       32px;
  --huk-radius-pill:     100px;

  /* ── Typography ── */
  --huk-font-body:       'Nunito', system-ui, -apple-system, sans-serif;
  --huk-font-heading:    'Nunito', system-ui, sans-serif;
  --huk-font-mono:       'JetBrains Mono', 'Fira Code', monospace;

  /* ── Transitions ── */
  --huk-ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --huk-ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --huk-duration-fast:   0.2s;
  --huk-duration-normal: 0.35s;
  --huk-duration-slow:   0.5s;

  /* ── Z-Index ── */
  --huk-z-sticky:        100;
  --huk-z-header:        1000;
  --huk-z-modal:         2000;
  --huk-z-toast:         3000;

  /* ── Bottom Nav ── */
  --huk-bottom-nav-h:    64px;
}


/* ── DARK MODE ── */
html[data-theme="dark"] {
  --huk-bg:              #0F1419;
  --huk-bg-subtle:       #151C24;
  --huk-surface:         #1C2630;
  --huk-surface-hover:   #243242;
  --huk-surface-glass:   rgba(28, 38, 48, 0.78);

  --huk-sea:             #4A9CC8;
  --huk-sea-light:       #6BB8DE;
  --huk-terra:           #F5A070;
  --huk-terra-light:     #FFBC94;
  --huk-terra-glow:      rgba(245, 160, 112, 0.18);

  --huk-text:            #E8E0D4;
  --huk-text-secondary:  #BFB8AC;
  --huk-text-muted:      #A09888;
  --huk-text-hint:       #6A6258;
  --huk-text-on-sea:     #0F1419;
  --huk-text-on-sea-dim: rgba(15, 20, 25, 0.7);

  --huk-border:          rgba(255, 255, 255, 0.08);
  --huk-border-subtle:   rgba(255, 255, 255, 0.04);
  --huk-shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.15);
  --huk-shadow-md:       0 8px 24px rgba(0, 0, 0, 0.2);
  --huk-shadow-lg:       0 16px 48px rgba(0, 0, 0, 0.25);
  --huk-shadow-xl:       0 24px 64px rgba(0, 0, 0, 0.35);
  --huk-shadow-glow:     0 0 40px rgba(245, 160, 112, 0.1);

  --huk-success:         #4ADE80;
  --huk-success-bg:      rgba(74, 222, 128, 0.1);
  --huk-error:           #F87171;
  --huk-error-bg:        rgba(248, 113, 113, 0.1);
  --huk-warning-bg:      rgba(245, 160, 112, 0.08);
}


/* ── Smooth color transition ── */
*,
*::before,
*::after {
  transition-property: background-color, color, border-color, box-shadow, fill, stroke;
  transition-duration: 0.4s;
  transition-timing-function: ease;
}
/* Exclude elements that need their own transitions */
a, button, input, textarea, select, .huk-btn, .huk-sec, .huk-link,
.huk-hero-slide, .huk-hero-dynamic-image-wrapper {
  transition: all var(--huk-duration-fast) ease;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  3) GLOBAL BASE — TIPOGRAFI & BODY                      │
   └─────────────────────────────────────────────────────────┘ */

body {
  background-color: var(--huk-bg) !important;
  color: var(--huk-text) !important;
  font-family: var(--huk-font-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.elementor-heading-title {
  font-family: var(--huk-font-heading) !important;
  color: var(--huk-text) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  4) GLASSMORPHISM HEADER                                │
   └─────────────────────────────────────────────────────────┘ */

#masthead,
.site-header,
.kadence-sticky-header,
header.site-header {
  background: var(--huk-surface-glass) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid var(--huk-border) !important;
  box-shadow: var(--huk-shadow-sm) !important;
}

/* Logo dark modunda da okunur */
.site-title a,
.site-branding .site-title,
.site-title {
  color: var(--huk-sea) !important;
  font-family: var(--huk-font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

/* Nav linkler */
.main-navigation a,
.primary-menu a,
.kadence-navigation a,
#site-navigation a {
  color: var(--huk-text-muted) !important;
  font-family: var(--huk-font-body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  border-radius: var(--huk-radius-xs) !important;
  padding: 6px 12px !important;
  transition: all var(--huk-duration-fast) ease !important;
}

.main-navigation a:hover,
.primary-menu a:hover,
.kadence-navigation a:hover,
#site-navigation a:hover {
  color: var(--huk-terra) !important;
  background: var(--huk-terra-glow) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  5) APP-LIKE KARTLAR                                    │
   └─────────────────────────────────────────────────────────┘ */

/* Genel kart stili — tüm .huk-sec, .huk-sb-card, .huk-toc */
.huk-sec,
.huk-sb-card,
.huk-toc,
.huk-link {
  background: var(--huk-surface) !important;
  border: 1px solid var(--huk-border) !important;
  border-radius: var(--huk-radius-lg) !important;
  box-shadow: var(--huk-shadow-sm) !important;
  transition: transform var(--huk-duration-normal) var(--huk-ease-out),
              box-shadow var(--huk-duration-normal) var(--huk-ease-out) !important;
}

.huk-sec:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--huk-shadow-lg) !important;
}

.huk-link:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--huk-shadow-md) !important;
  border-color: var(--huk-terra) !important;
}

/* Kart içi metin renkleri */
.huk-sec-head h2 {
  color: var(--huk-text) !important;
  font-family: var(--huk-font-heading) !important;
  font-weight: 800 !important;
}

.huk-sec-body p {
  color: var(--huk-text-muted) !important;
}

/* TOC */
.huk-toc-title {
  color: var(--huk-text-hint) !important;
}
.huk-toc a {
  color: var(--huk-text-muted) !important;
}
.huk-toc a:hover {
  color: var(--huk-terra) !important;
}
.huk-toc .num {
  color: var(--huk-terra) !important;
  background: var(--huk-terra-glow) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  6) PİLL BUTONLAR                                       │
   └─────────────────────────────────────────────────────────┘ */

.huk-btn {
  border-radius: var(--huk-radius-pill) !important;
  font-family: var(--huk-font-body) !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  letter-spacing: -0.2px !important;
  transition: all var(--huk-duration-fast) var(--huk-ease-spring) !important;
}

.huk-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: var(--huk-shadow-md) !important;
}

.huk-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.huk-btn.terra {
  background: var(--huk-terra) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(200, 83, 31, 0.35) !important;
}
.huk-btn.terra:hover {
  background: var(--huk-terra-light) !important;
  box-shadow: 0 6px 20px rgba(200, 83, 31, 0.4) !important;
}

.huk-btn.white {
  background: var(--huk-surface) !important;
  color: var(--huk-terra) !important;
}

.huk-btn.outline {
  background: transparent !important;
  border: 2px solid var(--huk-border) !important;
  color: var(--huk-text) !important;
}
.huk-btn.outline:hover {
  border-color: var(--huk-terra) !important;
  color: var(--huk-terra) !important;
  background: var(--huk-terra-glow) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  7) HERO SECTION — ELEMENTOR WIDGET OVERRIDE            │
   │  Hero, elementor-element-4b54999 widget'ında inline     │
   │  style ile tanımlı. .huk-hero class'ı yok.              │
   └─────────────────────────────────────────────────────────┘ */

/* ── LIGHT MOD: açık krem/sıcak background ── */
:root .elementor-element-4b54999 > .elementor-widget-container > div,
html[data-theme="light"] .elementor-element-4b54999 > div {
  background: linear-gradient(135deg, #FDFAF5 0%, #EDE3D0 100%) !important;
}

:root .elementor-element-4b54999 h1,
html[data-theme="light"] .elementor-element-4b54999 h1 {
  color: #0D2B3E !important;
}

:root .elementor-element-4b54999 h1 em,
html[data-theme="light"] .elementor-element-4b54999 h1 em {
  color: #C8531F !important;
}

:root .elementor-element-4b54999 p,
html[data-theme="light"] .elementor-element-4b54999 p {
  color: rgba(13, 43, 62, 0.6) !important;
}

/* Arama kutusu — light modda beyaz arka plan ile belirgin */
:root .elementor-element-4b54999 [style*="background:#FDFAF5"],
html[data-theme="light"] .elementor-element-4b54999 [style*="background:#FDFAF5"] {
  background: #ffffff !important;
  box-shadow: 0 8px 32px rgba(13, 43, 62, 0.14) !important;
}

/* ── DARK MOD: derin koyu background ── */
html[data-theme="dark"] .elementor-element-4b54999 > div {
  background: linear-gradient(135deg, #051218 0%, #0B1E2E 100%) !important;
}

html[data-theme="dark"] .elementor-element-4b54999 h1 {
  color: #F7F0E3 !important;
}

html[data-theme="dark"] .elementor-element-4b54999 h1 em {
  color: #F5A070 !important;
}

html[data-theme="dark"] .elementor-element-4b54999 p {
  color: rgba(247, 240, 227, 0.55) !important;
}

/* Arama kutusu — dark modda koyu surface */
html[data-theme="dark"] .elementor-element-4b54999 [style*="background:#FDFAF5"] {
  background: #1C2630 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
}

/* Arama kutusu input placeholder rengi dark modda */
html[data-theme="dark"] .elementor-element-4b54999 input {
  color: #E8E0D4 !important;
}
html[data-theme="dark"] .elementor-element-4b54999 select {
  color: #BFB8AC !important;
}

/* .huk-hero class kullanan diğer sayfalara yedek */
.huk-hero {
  background: linear-gradient(135deg, #FDFAF5 0%, #EDE3D0 100%) !important;
}
html[data-theme="dark"] .huk-hero {
  background: linear-gradient(135deg, #051218 0%, #0B1E2E 100%) !important;
}

/* Stat kartları */
.huk-qstat {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--huk-radius-sm) !important;
  backdrop-filter: blur(8px) !important;
}

.huk-qstat-val {
  color: var(--huk-text-on-sea) !important;
  font-family: var(--huk-font-heading) !important;
  font-weight: 800 !important;
}
.huk-qstat-lbl {
  color: var(--huk-text-on-sea-dim) !important;
}

/* Hero kart */
.huk-hero-card {
  background: var(--huk-surface) !important;
  border-radius: var(--huk-radius-lg) !important;
  border-color: var(--huk-border) !important;
  box-shadow: var(--huk-shadow-lg) !important;
}

.huk-hero-card-name {
  color: var(--huk-text) !important;
}
.huk-hero-card-city {
  color: var(--huk-text-hint) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  8) SCROLL REVEAL ANİMASYONLARI                         │
   └─────────────────────────────────────────────────────────┘ */

@keyframes hukSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hukSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hukScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hukFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered via JS → .huk-reveal class */
.huk-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--huk-ease-out),
              transform 0.7s var(--huk-ease-out) !important;
}

.huk-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.huk-reveal.delay-1 { transition-delay: 0.1s !important; }
.huk-reveal.delay-2 { transition-delay: 0.2s !important; }
.huk-reveal.delay-3 { transition-delay: 0.3s !important; }
.huk-reveal.delay-4 { transition-delay: 0.4s !important; }


/* ┌─────────────────────────────────────────────────────────┐
   │  9) BOTTOM NAVİGATİON (MOBİL)                          │
   └─────────────────────────────────────────────────────────┘ */

.huk-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--huk-bottom-nav-h);
  background: var(--huk-surface-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--huk-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: var(--huk-z-header);
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.huk-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.huk-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--huk-radius-sm);
  transition: all var(--huk-duration-fast) ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  min-width: 56px;
}

.huk-bottom-nav-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--huk-text-muted);
  transition: color var(--huk-duration-fast) ease,
              transform var(--huk-duration-fast) var(--huk-ease-spring);
}

.huk-bottom-nav-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--huk-text-hint);
  letter-spacing: 0.2px;
  transition: color var(--huk-duration-fast) ease;
}

/* Active state */
.huk-bottom-nav-item.active .huk-bottom-nav-icon {
  color: var(--huk-terra);
  transform: scale(1.15);
}
.huk-bottom-nav-item.active .huk-bottom-nav-label {
  color: var(--huk-terra);
}
.huk-bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--huk-terra);
  border-radius: 0 0 3px 3px;
}

/* Hover (touch) */
.huk-bottom-nav-item:active {
  background: var(--huk-terra-glow);
}
.huk-bottom-nav-item:active .huk-bottom-nav-icon {
  transform: scale(0.9);
}

@media (max-width: 768px) {
  .huk-bottom-nav {
    display: block;
  }
  /* Body'ye padding ekle ki içerik gizlenmesin */
  body {
    padding-bottom: calc(var(--huk-bottom-nav-h) + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* Footer'ın altında padding */
  .site-footer {
    margin-bottom: var(--huk-bottom-nav-h) !important;
  }
}


/* ┌─────────────────────────────────────────────────────────┐
   │  10) DARK / LIGHT MODE TOGGLE BUTON                     │
   └─────────────────────────────────────────────────────────┘ */

.huk-theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--huk-border);
  background: var(--huk-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--huk-shadow-md);
  cursor: pointer;
  z-index: var(--huk-z-toast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all var(--huk-duration-fast) var(--huk-ease-spring);
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.huk-theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--huk-shadow-lg);
  border-color: var(--huk-terra);
}

.huk-theme-toggle:active {
  transform: scale(0.92);
}

/* Emoji icon rotate on toggle */
.huk-theme-toggle-icon {
  display: inline-block;
  transition: transform 0.5s var(--huk-ease-spring);
}

html[data-theme="dark"] .huk-theme-toggle-icon {
  transform: rotate(360deg);
}

/* Mobilde: Bottom nav'ın üzerinde */
@media (max-width: 768px) {
  .huk-theme-toggle {
    bottom: calc(var(--huk-bottom-nav-h) + 16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}


/* ┌─────────────────────────────────────────────────────────┐
   │  11) MİCRO-INTERACTIONS & HOVER EFEKTLER                │
   └─────────────────────────────────────────────────────────┘ */

/* Link kartları */
.huk-link-arrow {
  color: var(--huk-terra) !important;
  transition: transform var(--huk-duration-fast) ease !important;
}
.huk-link:hover .huk-link-arrow {
  transform: translateX(4px) !important;
}

/* Pill tags hover */
.huk-pill {
  transition: transform var(--huk-duration-fast) var(--huk-ease-spring),
              box-shadow var(--huk-duration-fast) ease !important;
}
.huk-pill:hover {
  transform: translateY(-1px) !important;
  box-shadow: var(--huk-shadow-sm) !important;
}

/* Sidebar links */
.huk-sb-uni:hover .huk-sb-icon {
  transform: scale(1.08);
  box-shadow: var(--huk-shadow-sm);
}
.huk-sb-icon {
  transition: transform var(--huk-duration-fast) var(--huk-ease-spring),
              box-shadow var(--huk-duration-fast) ease !important;
  border-radius: var(--huk-radius-sm) !important;
}

/* CTA kartları */
.huk-cta-dark,
.huk-cta-terra {
  border-radius: var(--huk-radius-lg) !important;
  transition: transform var(--huk-duration-normal) var(--huk-ease-out),
              box-shadow var(--huk-duration-normal) var(--huk-ease-out) !important;
}
.huk-cta-dark:hover,
.huk-cta-terra:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--huk-shadow-xl) !important;
}

/* CTA başlıklar */
.huk-cta-dark h3,
.huk-cta-terra h3 {
  font-family: var(--huk-font-heading) !important;
  font-weight: 800 !important;
}

/* Sidebar CTA */
.huk-sb-cta {
  border-radius: var(--huk-radius-lg) !important;
}
.huk-sb-cta h4 {
  font-family: var(--huk-font-heading) !important;
  font-weight: 800 !important;
}
.huk-sb-cta a {
  border-radius: var(--huk-radius-pill) !important;
  font-family: var(--huk-font-body) !important;
  font-weight: 700 !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  12) TABLO DÜZENLEMELERİ — DARK MODE UYUMLU            │
   └─────────────────────────────────────────────────────────┘ */

.huk-table,
.tablepress {
  border-color: var(--huk-border) !important;
  border-radius: var(--huk-radius-md) !important;
}

.huk-table thead,
.tablepress thead th {
  background: var(--huk-sea) !important;
  color: var(--huk-text-on-sea-dim) !important;
}

.huk-table tbody td,
.tablepress tbody td {
  color: var(--huk-text-muted) !important;
  border-color: var(--huk-border) !important;
}
.huk-table tbody td:first-child,
.tablepress tbody td:first-child {
  color: var(--huk-text) !important;
}

.huk-table tbody tr:hover td,
.tablepress tbody tr:hover td {
  background: var(--huk-surface-hover) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  13) İPUCU / UYARI KUTULARI — DARK UYUM                │
   └─────────────────────────────────────────────────────────┘ */

.huk-tip {
  background: var(--huk-warning-bg) !important;
  border-radius: var(--huk-radius-sm) !important;
  border-color: rgba(200, 83, 31, 0.2) !important;
  color: var(--huk-text-muted) !important;
}
.huk-tip b {
  color: var(--huk-terra) !important;
}

/* Artılar / Eksiler */
.huk-pros {
  background: var(--huk-success-bg) !important;
  border-radius: var(--huk-radius-sm) !important;
}
.huk-cons {
  background: var(--huk-error-bg) !important;
  border-radius: var(--huk-radius-sm) !important;
}
.huk-pros-label { color: var(--huk-success) !important; }
.huk-cons-label { color: var(--huk-error) !important; }
.huk-pros li::before { color: var(--huk-success) !important; }
.huk-cons li::before { color: var(--huk-error) !important; }


/* ┌─────────────────────────────────────────────────────────┐
   │  14) REKLAM ALANI — DARK UYUM                           │
   └─────────────────────────────────────────────────────────┘ */

.huk-ad,
.huk-sb-ad {
  background: var(--huk-bg-subtle) !important;
  border-color: var(--huk-border) !important;
  border-radius: var(--huk-radius-md) !important;
  color: var(--huk-text-hint) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  15) SİDEBAR — DARK UYUM                                │
   └─────────────────────────────────────────────────────────┘ */

.huk-sb-title {
  color: var(--huk-text-hint) !important;
}
.huk-sb-fact {
  border-color: var(--huk-border) !important;
}
.huk-sb-fact .k {
  color: var(--huk-text-hint) !important;
}
.huk-sb-fact .v {
  color: var(--huk-text) !important;
}
.huk-sb-fact .v.green {
  color: var(--huk-success) !important;
}
.huk-sb-uni {
  border-color: var(--huk-border) !important;
}
.huk-sb-uni-name {
  color: var(--huk-text) !important;
}
.huk-sb-uni-city {
  color: var(--huk-text-hint) !important;
}
.huk-sb-qlink {
  border-color: var(--huk-border) !important;
}
.huk-sb-qlink-name {
  color: var(--huk-text) !important;
}
.huk-sb-qlink-desc {
  color: var(--huk-text-hint) !important;
}

/* Link kartları dark uyum */
.huk-link h4 {
  color: var(--huk-text) !important;
}
.huk-link span {
  color: var(--huk-text-hint) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  16) ELEMENTORDİ DARK MODE (Ana Sayfa Elementor)         │
   └─────────────────────────────────────────────────────────┘ */

html[data-theme="dark"] .elementor-widget-text-editor,
html[data-theme="dark"] .elementor-widget-heading .elementor-heading-title {
  color: var(--huk-text) !important;
}

html[data-theme="dark"] .elementor-section[style*="background-color:#F7F0E3"],
html[data-theme="dark"] .elementor-section[style*="background-color: #F7F0E3"],
html[data-theme="dark"] .e-con[style*="background-color:#F7F0E3"],
html[data-theme="dark"] .e-con[style*="background-color: #F7F0E3"] {
  background-color: var(--huk-bg) !important;
}

html[data-theme="dark"] .elementor-section[style*="background-color:#FDFAF5"],
html[data-theme="dark"] .elementor-section[style*="background-color: #FDFAF5"],
html[data-theme="dark"] .e-con[style*="background-color:#FDFAF5"],
html[data-theme="dark"] .e-con[style*="background-color: #FDFAF5"] {
  background-color: var(--huk-surface) !important;
}

/* Footer */
html[data-theme="dark"] .site-footer {
  background: var(--huk-bg-subtle) !important;
  border-top: 1px solid var(--huk-border) !important;
}

html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .site-footer p {
  color: var(--huk-text-muted) !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  17) SCROLLBAR STİLLEME                                 │
   └─────────────────────────────────────────────────────────┘ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--huk-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--huk-border);
  border-radius: var(--huk-radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--huk-text-hint);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--huk-border) var(--huk-bg);
}


/* ┌─────────────────────────────────────────────────────────┐
   │  18) SELECTİON RENGİ                                    │
   └─────────────────────────────────────────────────────────┘ */

::selection {
  background: var(--huk-terra);
  color: white;
}
::-moz-selection {
  background: var(--huk-terra);
  color: white;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  19) SAYFA GEÇİŞ ANİMASYONU                            │
   └─────────────────────────────────────────────────────────┘ */

.huk-page-transition {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--huk-bg);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.huk-page-transition.active {
  opacity: 1;
  pointer-events: all;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  20) FOCUS STYLES (Accessibility)                       │
   └─────────────────────────────────────────────────────────┘ */

:focus-visible {
  outline: 2px solid var(--huk-terra) !important;
  outline-offset: 2px !important;
  border-radius: var(--huk-radius-xs) !important;
}

/* Remove default outline for mouse clicks */
:focus:not(:focus-visible) {
  outline: none !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  21) DARK MODE — AGRESIF ELEMENTOR OVERRIDE             │
   │  (Inline style'ları yetersiz kalınca CSS ile zorla)      │
   └─────────────────────────────────────────────────────────┘ */

/* Tüm sayfa arka planı */
html[data-theme="dark"] body {
  background-color: #0F1419 !important;
}

/* Elementor section'lar — tüm varyantlar */
html[data-theme="dark"] .elementor-section,
html[data-theme="dark"] .elementor-section.elementor-section-boxed,
html[data-theme="dark"] .elementor-top-section,
html[data-theme="dark"] .e-con,
html[data-theme="dark"] .e-con-inner,
html[data-theme="dark"] .e-container,
html[data-theme="dark"] .e-flex,
html[data-theme="dark"] .e-grid,
html[data-theme="dark"] .elementor-widget-wrap,
html[data-theme="dark"] .elementor-column-wrap {
  background-color: transparent !important;
}

/* Elementor generated CSS'i ezip geçmek için —
   post-7.css gibi dinamik dosyalardan gelen #FDFAF5/#F7F0E3 arka planları */
html[data-theme="dark"] div[class*="elementor-element-"] {
  background-color: transparent !important;
  background-image: none !important;
}

/* Korunması gereken özel renkli bloklar — saydam değil */
html[data-theme="dark"] .huk-cta-dark,
html[data-theme="dark"] [class*="elementor-element-"][style*="#0D2B3E"],
html[data-theme="dark"] [class*="elementor-element-"][style*="#C8531F"],
html[data-theme="dark"] [class*="elementor-element-"][style*="#115E34"],
html[data-theme="dark"] [class*="elementor-element-"][style*="#7B1113"],
html[data-theme="dark"] [class*="elementor-element-"][style*="#004D40"],
html[data-theme="dark"] [class*="elementor-element-"][style*="#8B4513"] {
  background-color: revert !important;
  background-image: revert !important;
}

/* huk-rehber özel bileşenleri */
html[data-theme="dark"] .huk-rehber-track {
  background-color: transparent !important;
}
html[data-theme="dark"] .huk-rehber-card {
  background-color: var(--huk-surface) !important;
  border-color: var(--huk-border) !important;
}


/* Açık krem arka planlı bölümler — zorla karart */
html[data-theme="dark"] .elementor-section[style*="#F7F0E3"],
html[data-theme="dark"] .elementor-section[style*="#f7f0e3"],
html[data-theme="dark"] .elementor-section[style*="247, 240, 227"],
html[data-theme="dark"] .e-con[style*="#F7F0E3"],
html[data-theme="dark"] .e-con[style*="#f7f0e3"],
html[data-theme="dark"] .e-con[style*="247, 240, 227"],
html[data-theme="dark"] [class*="elementor"][style*="#F7F0E3"],
html[data-theme="dark"] [class*="elementor"][style*="#f7f0e3"] {
  background-color: #0F1419 !important;
  background: #0F1419 !important;
}

/* Beyaz / FDFAF5 yüzeyler */
html[data-theme="dark"] .elementor-section[style*="#FDFAF5"],
html[data-theme="dark"] .elementor-section[style*="#fdfaf5"],
html[data-theme="dark"] .elementor-section[style*="253, 250, 245"],
html[data-theme="dark"] .e-con[style*="#FDFAF5"],
html[data-theme="dark"] .e-con[style*="#fdfaf5"],
html[data-theme="dark"] .e-con[style*="253, 250, 245"],
html[data-theme="dark"] [class*="elementor"][style*="#FDFAF5"],
html[data-theme="dark"] [class*="elementor"][style*="#fdfaf5"] {
  background-color: #1C2630 !important;
  background: #1C2630 !important;
}

/* White arka planlar */
html[data-theme="dark"] .elementor-section[style*="background-color:#fff"],
html[data-theme="dark"] .elementor-section[style*="background-color: #fff"],
html[data-theme="dark"] .elementor-section[style*="background-color:white"],
html[data-theme="dark"] .elementor-section[style*="background-color: white"],
html[data-theme="dark"] .elementor-section[style*="background-color:#ffffff"],
html[data-theme="dark"] .elementor-section[style*="background-color: #ffffff"],
html[data-theme="dark"] .e-con[style*="background-color:#fff"],
html[data-theme="dark"] .e-con[style*="background-color: #fff"],
html[data-theme="dark"] .e-con[style*="background-color:#ffffff"],
html[data-theme="dark"] .e-con[style*="background-color: #ffffff"],
html[data-theme="dark"] .e-con[style*="background-color:white"],
html[data-theme="dark"] .e-con[style*="background-color: white"] {
  background-color: #1C2630 !important;
  background: #1C2630 !important;
}

/* Elementor inner-section ve column arka planları */
html[data-theme="dark"] .elementor-column > .elementor-widget-wrap {
  background-color: transparent !important;
}

/* Tüm text widget'ları */
html[data-theme="dark"] .elementor-widget-text-editor *,
html[data-theme="dark"] .elementor-widget-heading * {
  color: inherit !important;
}

/* Genel metin rengi */
html[data-theme="dark"] .elementor-widget-text-editor p,
html[data-theme="dark"] .elementor-widget-text-editor li,
html[data-theme="dark"] .elementor-widget-text-editor span  {
  color: #A09888 !important;
}

html[data-theme="dark"] .elementor-widget-heading .elementor-heading-title {
  color: #E8E0D4 !important;
}

/* Üniversite kartları */
html[data-theme="dark"] [style*="background:#F7F0E3"],
html[data-theme="dark"] [style*="background: #F7F0E3"],
html[data-theme="dark"] [style*="background:#FDFAF5"],
html[data-theme="dark"] [style*="background: #FDFAF5"] {
  background: #1C2630 !important;
  background-color: #1C2630 !important;
}

/* FFF4EC (uyarı/turuncu subtle) */
html[data-theme="dark"] [style*="background:#FFF4EC"],
html[data-theme="dark"] [style*="background: #FFF4EC"],
html[data-theme="dark"] [style*="background:#fff4ec"],
html[data-theme="dark"] [style*="background-color:#FFF4EC"] {
  background: rgba(245,160,112,0.08) !important;
  background-color: rgba(245,160,112,0.08) !important;
}

/* Site geneli arka plan */
html[data-theme="dark"] .site,
html[data-theme="dark"] .site-content,
html[data-theme="dark"] #content,
html[data-theme="dark"] .content-area,
html[data-theme="dark"] #main,
html[data-theme="dark"] .kadence-blocks-row-layout-inner-wrap {
  background-color: #0F1419 !important;
}

/* Entry alanı */
html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .entry-content-wrap {
  background-color: #0F1419 !important;
}

/* Sidebar ve widget alanları */
html[data-theme="dark"] .widget,
html[data-theme="dark"] aside {
  background-color: #1C2630 !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  22) ÇİFT BUTON DÜZELTMESİ                             │
   │  Eski interactive.js'den kalan toggle'ı gizle           │
   └─────────────────────────────────────────────────────────┘ */

/* Eski toggle butonunu gizle — sadece bizim .huk-theme-toggle kalacak */
.theme-toggle-btn,
#theme-toggle-btn,
[class*="theme-toggle"]:not(.huk-theme-toggle):not(.huk-theme-toggle-icon) {
  display: none !important;
}


/* ┌─────────────────────────────────────────────────────────┐
   │  23) YKS GERİ SAYIM BADGE                               │
   └─────────────────────────────────────────────────────────┘ */

.huk-yks-countdown {
  display: inline-flex;
  align-items: center;
  font-family: 'Nunito', monospace;
  font-size: clamp(11px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--huk-terra, #C8531F);
  background: rgba(200, 83, 31, 0.10);
  border: 1px solid rgba(200, 83, 31, 0.25);
  border-radius: 100px;
  padding: 4px 14px 4px 12px;
  margin-left: 0;
  margin-top: 10px;
  vertical-align: middle;
  white-space: nowrap;
  animation: hukBadgePop 0.4s var(--huk-ease-out, cubic-bezier(0.16,1,0.3,1)) both;
  transition: color 0.3s ease, background 0.3s ease;
}

html[data-theme="dark"] .huk-yks-countdown {
  color: #F4946A;
  background: rgba(244, 148, 106, 0.12);
  border-color: rgba(244, 148, 106, 0.30);
}

@keyframes hukBadgePop {
  from { opacity: 0; transform: scale(0.85) translateY(4px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 768px) {
  .huk-yks-countdown {
    display: block;
    font-size: clamp(11px, 2.8vw, 14px);
    padding: 3px 10px;
    width: fit-content;
  }
}


/* ┌─────────────────────────────────────────────────────────┐
   │  24) BÖLÜM ÖNERİ SİSTEMİ — Form + Tablo                │
   └─────────────────────────────────────────────────────────┘ */

/* ── Form Section ── */
.huk-oneri-form-section {
  background: var(--huk-surface);
  padding: 40px 56px;
  border-bottom: 1px solid var(--huk-border);
}
.huk-oneri-form-inner {
  max-width: 680px;
  margin: 0 auto;
}
.huk-oneri-form-title {
  font-family: var(--huk-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--huk-text);
  margin: 0 0 6px;
}
.huk-oneri-form-desc {
  font-family: var(--huk-font-body);
  font-size: 14px;
  color: var(--huk-text-muted);
  margin: 0 0 20px;
}
.huk-oneri-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.huk-oneri-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 160px;
}
.huk-oneri-field label {
  font-family: var(--huk-font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--huk-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.huk-oneri-field input,
.huk-oneri-field select {
  padding: 10px 14px;
  border: 1px solid var(--huk-border);
  border-radius: var(--huk-radius-xs);
  font-family: var(--huk-font-body);
  font-size: 14px;
  color: var(--huk-text);
  background: var(--huk-bg);
  outline: none;
  transition: border-color 0.2s;
}
.huk-oneri-field input:focus,
.huk-oneri-field select:focus {
  border-color: var(--huk-terra);
}
.huk-oneri-btn {
  padding: 10px 28px;
  background: var(--huk-terra);
  color: #fff;
  border: none;
  border-radius: var(--huk-radius-xs);
  font-family: var(--huk-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.huk-oneri-btn:hover {
  background: var(--huk-terra-light);
}

/* ── Sonuç Section — Turuncu ── */
.huk-oneri-results {
  display: none;
  background: linear-gradient(135deg, #E8744A 0%, #C8531F 100%);
  padding: 40px 56px;
}
html[data-theme="dark"] .huk-oneri-results {
  background: linear-gradient(135deg, #A0421A 0%, #7A3012 100%);
}
.huk-oneri-results.active {
  display: block;
  animation: hukFadeIn 0.4s ease-out;
}
@keyframes hukFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.huk-oneri-results-inner {
  max-width: 900px;
  margin: 0 auto;
}
.huk-oneri-results-title {
  font-family: var(--huk-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.huk-oneri-results-sub {
  font-family: var(--huk-font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 20px;
}

/* ── Tablo ── */
.huk-oneri-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--huk-radius-sm);
  overflow: hidden;
  font-family: var(--huk-font-body);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.huk-oneri-table thead th {
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  text-align: left;
}
.huk-oneri-table tbody tr {
  background: rgba(255,255,255,0.95);
  transition: background 0.15s;
}
html[data-theme="dark"] .huk-oneri-table tbody tr {
  background: rgba(28, 38, 48, 0.95);
}
.huk-oneri-table tbody tr:hover {
  background: rgba(255,255,255,1);
}
html[data-theme="dark"] .huk-oneri-table tbody tr:hover {
  background: rgba(36, 50, 66, 1);
}
.huk-oneri-table tbody tr:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Universite renk kodlari — sol kenar cizgisi */
.huk-oneri-table tbody tr.unv-color-0 { border-left: 4px solid #E8744A; }
.huk-oneri-table tbody tr.unv-color-1 { border-left: 4px solid #4A9CC8; }
.huk-oneri-table tbody tr.unv-color-2 { border-left: 4px solid #6B8E23; }
.huk-oneri-table tbody tr.unv-color-3 { border-left: 4px solid #8B5CF6; }
.huk-oneri-table tbody tr.unv-color-4 { border-left: 4px solid #E85D75; }

/* Universite grup ayirici */
.huk-oneri-table tbody tr.unv-group-first { border-top: 2px solid rgba(0,0,0,0.1); }
.huk-oneri-table tbody tr.unv-group-first:first-child { border-top: none; }
html[data-theme="dark"] .huk-oneri-table tbody tr.unv-group-first { border-top-color: rgba(255,255,255,0.1); }

/* Universite badge */
.huk-unv-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}
a.huk-unv-badge:hover {
  filter: brightness(1.15);
  transform: scale(1.03);
  color: #fff;
  text-decoration: none;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.huk-unv-sub {
  color: var(--huk-text-muted);
  font-size: 14px;
  padding-left: 6px;
}
.huk-oneri-table tbody td {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--huk-text);
}
.huk-oneri-table tbody td:first-child {
  font-weight: 600;
}
.huk-oneri-table tbody td a {
  color: var(--huk-terra);
  text-decoration: none;
  font-weight: 600;
}
.huk-oneri-table tbody td a:hover {
  text-decoration: underline;
}
.huk-oneri-empty {
  text-align: center;
  padding: 32px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.huk-oneri-loading {
  text-align: center;
  padding: 40px 32px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.huk-oneri-spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: rgba(255,255,255,0.8);
  border-radius: 50%;
  animation: hukSpin 0.7s linear infinite;
}
@keyframes hukSpin { to { transform: rotate(360deg); } }
.huk-burs-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(200,83,31,0.12);
  color: #C8531F;
  margin-left: 6px;
  white-space: nowrap;
}
html[data-theme="dark"] .huk-burs-tag {
  background: rgba(232,116,74,0.15);
  color: #E8744A;
}
.huk-oneri-all-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 36px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.huk-oneri-all-btn:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.huk-oneri-results-inner {
  text-align: center;
}
.huk-oneri-table {
  text-align: left;
}

/* ── Kart container: desktop'ta gizli, mobilde göster ── */
.huk-oneri-cards {
  display: none;
}

/* ── Kart base stilleri (her zaman hazır) ── */
.huk-oneri-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--huk-radius-sm, 12px);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-left: 4px solid var(--huk-terra, #C8531F);
  position: relative;
  text-align: left;
}
.huk-oneri-cards {
  text-align: left;
}
html[data-theme="dark"] .huk-oneri-card {
  background: rgba(28, 38, 48, 0.95);
}
.huk-oneri-card-bolum {
  font-size: 15px;
  font-weight: 700;
  color: var(--huk-text, #0F1E14);
  margin: 0 0 8px;
  line-height: 1.3;
}
.huk-oneri-card-bolum a {
  color: var(--huk-terra, #C8531F);
  text-decoration: none;
}
.huk-oneri-card-bolum a:hover {
  text-decoration: underline;
}
.huk-oneri-card-unv {
  margin-bottom: 10px;
}
.huk-oneri-card-unv .huk-unv-badge {
  font-size: 11px;
  padding: 3px 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}
.huk-oneri-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--huk-text-muted, #7A6E60);
}
.huk-oneri-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.huk-oneri-card-meta strong {
  color: var(--huk-text, #0F1E14);
  font-weight: 700;
}
html[data-theme="dark"] .huk-oneri-card-meta strong {
  color: var(--huk-text, #E8E0D4);
}
.huk-oneri-card .huk-burs-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  font-size: 10px;
  padding: 2px 6px;
}

/* ── Üniversite renk kodları — sol kenar (kartlar için) ── */
.huk-oneri-card.unv-color-0 { border-left-color: #E8744A; }
.huk-oneri-card.unv-color-1 { border-left-color: #4A9CC8; }
.huk-oneri-card.unv-color-2 { border-left-color: #6B8E23; }
.huk-oneri-card.unv-color-3 { border-left-color: #8B5CF6; }
.huk-oneri-card.unv-color-4 { border-left-color: #E85D75; }

@media (max-width: 768px) {
  /* ── Form Section ── */
  .huk-oneri-form-section,
  .huk-oneri-results {
    padding: 24px 16px;
  }
  .huk-oneri-form {
    flex-direction: column;
  }
  .huk-oneri-field {
    min-width: 100%;
  }
  .huk-oneri-results-title {
    font-size: 20px;
  }
  .huk-oneri-results-sub {
    font-size: 13px;
  }

  /* ── Mobilde: Bölüm kartları/tablosu tamamen gizle (SEO metni yeterli) ── */
  #huk-oneri-results {
    display: none !important;
  }

  /* ── "Tüm bölümleri gör" buton mobil ── */
  .huk-oneri-all-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
    box-sizing: border-box;
  }
}


/* ┌─────────────────────────────────────────────────────────┐
   │  25) KKTC AKADEMİK DANIŞMAN CHATBOT — FLOATING WIDGET  │
   └─────────────────────────────────────────────────────────┘ */

/* ── FAB (Floating Action Button) ── */
.huk-chatbot-fab {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 99998;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: none;
  border-radius: var(--huk-radius-pill, 100px);
  background: linear-gradient(135deg, var(--huk-sea, #0D2B3E) 0%, #1A4A68 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(13,43,62,0.35), 0 2px 8px rgba(0,0,0,0.15);
  font-family: var(--huk-font-heading, 'Nunito', sans-serif);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), opacity 0.25s, box-shadow 0.3s;
  animation: hukFabEntry 0.5s cubic-bezier(.34,1.56,.64,1) 1s both;
}
.huk-chatbot-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 40px rgba(13,43,62,0.45), 0 4px 12px rgba(0,0,0,0.2);
}
.huk-chatbot-fab:active {
  transform: scale(0.96);
}
.huk-fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
}
.huk-fab-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.huk-fab-hidden {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}
@keyframes hukFabEntry {
  from { opacity: 0; transform: translateY(30px) scale(0.6); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
html[data-theme="dark"] .huk-chatbot-fab {
  background: linear-gradient(135deg, #1A4A68 0%, #246B8E 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
}

/* ── Overlay (chat penceresi) ── */
.huk-chatbot-overlay {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 99999;
  width: 400px;
  max-height: 600px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
}
.huk-chatbot-overlay.huk-chatbot-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Inner card ── */
.huk-chatbot-inner {
  background: var(--huk-surface, #FDFAF5);
  border-radius: var(--huk-radius-lg, 20px);
  box-shadow: 0 20px 60px rgba(13,43,62,0.18), 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--huk-border, #EDE3D0);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 600px;
}
html[data-theme="dark"] .huk-chatbot-inner {
  background: var(--huk-surface, #1C2630);
  border-color: var(--huk-border, rgba(255,255,255,0.08));
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.3);
}

/* ── Header ── */
.huk-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--huk-sea, #0D2B3E) 0%, #1A4A68 100%);
  color: #fff;
}
.huk-chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.huk-chatbot-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.huk-chatbot-avatar svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
}
.huk-chatbot-title {
  font-family: var(--huk-font-heading, 'Nunito', sans-serif) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 !important;
  line-height: 1.3;
}
.huk-chatbot-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 2px 0 0 !important;
}
/* ── Close button ── */
.huk-chatbot-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.huk-chatbot-close:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}
.huk-chatbot-close:active {
  transform: scale(0.9);
}

/* ── Messages ── */
.huk-chatbot-messages {
  flex: 1;
  padding: 20px 24px;
  max-height: 380px;
  min-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.huk-chat-msg {
  display: flex;
}
.huk-chat-bot {
  justify-content: flex-start;
}
.huk-chat-user {
  justify-content: flex-end;
}
.huk-chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  font-family: var(--huk-font-body, 'Nunito', sans-serif);
  color: var(--huk-text, #0F1E14);
  word-wrap: break-word;
}
.huk-chat-bot .huk-chat-bubble {
  background: var(--huk-bg-subtle, #F2E9D8);
  border-bottom-left-radius: 4px;
}
html[data-theme="dark"] .huk-chat-bot .huk-chat-bubble {
  background: rgba(255,255,255,0.06);
  color: var(--huk-text, #E8E0D4);
}
.huk-chat-user .huk-chat-bubble {
  background: linear-gradient(135deg, var(--huk-sea, #0D2B3E) 0%, #1A4A68 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.huk-chat-bubble ul, .huk-chat-bubble ol {
  margin: 8px 0;
  padding-left: 20px;
}
.huk-chat-bubble li {
  margin-bottom: 4px;
}
.huk-chat-bubble a {
  color: var(--huk-terra, #C8531F);
  text-decoration: underline;
}
.huk-chat-user .huk-chat-bubble a {
  color: #FFD4B8;
}

/* ── Typing indicator ── */
.huk-chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
}
.huk-typing-dot {
  width: 8px;
  height: 8px;
  background: var(--huk-text-hint, #B8AFA2);
  border-radius: 50%;
  animation: hukTypingBounce 1.4s ease-in-out infinite;
}
.huk-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.huk-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes hukTypingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* ── Suggestions ── */
.huk-chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 16px;
}
.huk-chat-suggestion {
  padding: 8px 14px;
  border: 1.5px solid var(--huk-border, #EDE3D0);
  border-radius: 20px;
  background: transparent;
  color: var(--huk-text-secondary, #5A5248);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--huk-font-body, 'Nunito', sans-serif);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.huk-chat-suggestion:hover {
  background: var(--huk-terra-glow, rgba(200,83,31,0.15));
  border-color: var(--huk-terra, #C8531F);
  color: var(--huk-terra, #C8531F);
}
html[data-theme="dark"] .huk-chat-suggestion {
  border-color: rgba(255,255,255,0.12);
  color: var(--huk-text-secondary, #BFB8AC);
}
html[data-theme="dark"] .huk-chat-suggestion:hover {
  background: rgba(245,160,112,0.12);
  border-color: var(--huk-terra, #F5A070);
  color: var(--huk-terra, #F5A070);
}

/* ── Input ── */
.huk-chatbot-input-wrap {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--huk-border, #EDE3D0);
  background: var(--huk-surface, #FDFAF5);
}
html[data-theme="dark"] .huk-chatbot-input-wrap {
  border-top-color: var(--huk-border, rgba(255,255,255,0.08));
  background: var(--huk-surface, #1C2630);
}
.huk-chatbot-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--huk-border, #EDE3D0);
  border-radius: var(--huk-radius-pill, 100px);
  font-size: 14px;
  font-family: var(--huk-font-body, 'Nunito', sans-serif);
  color: var(--huk-text, #0F1E14);
  background: var(--huk-bg, #F7F0E3);
  outline: none;
  transition: border-color 0.2s;
}
.huk-chatbot-input:focus {
  border-color: var(--huk-terra, #C8531F);
}
html[data-theme="dark"] .huk-chatbot-input {
  background: var(--huk-bg, #0F1419);
  color: var(--huk-text, #E8E0D4);
  border-color: var(--huk-border, rgba(255,255,255,0.08));
}
.huk-chatbot-send {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--huk-terra, #C8531F);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.huk-chatbot-send:hover {
  background: var(--huk-terra-light, #E8744A);
  transform: scale(1.05);
}
.huk-chatbot-send:active {
  transform: scale(0.95);
}

/* ── Disclaimer ── */
.huk-chatbot-disclaimer {
  text-align: center;
  padding: 10px 24px 16px;
  font-size: 11px;
  color: var(--huk-text-hint, #B8AFA2);
  margin: 0;
}
.huk-chatbot-disclaimer a {
  color: var(--huk-terra, #C8531F);
}

/* ── Chatbot Mobil ── */
@media (max-width: 768px) {
  .huk-chatbot-fab {
    bottom: 80px;
    right: 14px;
    padding: 12px 16px;
    font-size: 13px;
  }
  .huk-fab-text {
    display: none;
  }
  .huk-chatbot-fab {
    padding: 14px;
    border-radius: 50%;
  }
  .huk-fab-icon {
    width: 26px;
    height: 26px;
  }
  .huk-fab-icon svg {
    width: 26px;
    height: 26px;
  }
  .huk-chatbot-overlay {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }
  .huk-chatbot-overlay.huk-chatbot-open {
    max-height: 100dvh;
  }
  .huk-chatbot-inner {
    border-radius: 0;
    max-height: 100dvh;
    height: 100dvh;
  }
  .huk-chatbot-header {
    padding: 16px 18px;
  }
  .huk-chatbot-avatar {
    width: 40px;
    height: 40px;
  }
  .huk-chatbot-avatar svg {
    width: 24px;
    height: 24px;
  }
  .huk-chatbot-title {
    font-size: 15px !important;
  }
  .huk-chatbot-messages {
    padding: 16px 14px;
    max-height: none;
    flex: 1;
  }
  .huk-chat-bubble {
    max-width: 92%;
    font-size: 13px;
    padding: 10px 14px;
  }
  .huk-chatbot-suggestions {
    padding: 0 14px 12px;
    gap: 6px;
  }
  .huk-chat-suggestion {
    font-size: 12px;
    padding: 6px 12px;
  }
  .huk-chatbot-input-wrap {
    padding: 12px 14px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .huk-chatbot-input {
    font-size: 16px;
    padding: 10px 14px;
  }
}

/* ═══════════════════════════════════════════════════════════
   26) HOMEPAGE SEO SECTION
   ═══════════════════════════════════════════════════════════ */
.huk-seo-section {
  max-width: 1200px;
  margin: 48px auto 32px;
  padding: 32px 24px;
  color: #6B7280;
  font-size: 14px;
  line-height: 1.9;
}
.huk-seo-section h2 {
  font-size: 22px;
  color: #1A4A68;
  margin-bottom: 14px;
  font-weight: 700;
}
.huk-seo-section h3 {
  font-size: 17px;
  color: #2D5F7C;
  margin: 24px 0 10px;
  font-weight: 600;
}
.huk-seo-section p {
  margin-bottom: 12px;
}
html[data-theme="dark"] .huk-seo-section {
  color: #9CA3AF;
}
html[data-theme="dark"] .huk-seo-section h2 {
  color: #7FBCD2;
}
html[data-theme="dark"] .huk-seo-section h3 {
  color: #5FA8C4;
}
@media (max-width: 768px) {
  .huk-seo-section {
    padding: 24px 16px;
    margin: 32px auto 24px;
  }
  .huk-seo-section h2 { font-size: 18px; }
  .huk-seo-section h3 { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   27) BLOG POST HERO BANNER & SINGLE POST STYLING
   ═══════════════════════════════════════════════════════════ */
.huk-post-hero {
  border-radius: 16px;
  padding: 48px 32px;
  margin: -20px 0 28px;
  position: relative;
  overflow: hidden;
}
.huk-post-hero-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.huk-post-hero-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  opacity: 0.9;
}
.huk-post-hero-icon svg {
  width: 100%;
  height: 100%;
}
.huk-post-hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.huk-post-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
h1.huk-post-title-enhanced {
  font-size: 32px !important;
  line-height: 1.3 !important;
  color: #1A2B3C;
  margin-bottom: 24px !important;
}
html[data-theme="dark"] h1.huk-post-title-enhanced {
  color: #E8E0D6;
}

/* Single post content styling */
.huk-post-content {
  font-size: 16px;
  line-height: 1.85;
  color: #374151;
  max-width: 780px;
}
html[data-theme="dark"] .huk-post-content {
  color: #D1D5DB;
}
.huk-post-content h2 {
  font-size: 24px;
  color: #1A4A68;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #EDE3D0;
  display: flex;
  align-items: center;
  gap: 12px;
}
html[data-theme="dark"] .huk-post-content h2 {
  color: #7FBCD2;
  border-color: #2D3E4A;
}
.huk-h2-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1A4A68, #2980B9);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
html[data-theme="dark"] .huk-h2-marker {
  background: linear-gradient(135deg, #2D5F7C, #3B82C4);
}
.huk-post-content h3 {
  font-size: 19px;
  color: #2D5F7C;
  margin: 28px 0 12px;
  font-weight: 700;
}
html[data-theme="dark"] .huk-post-content h3 {
  color: #5FA8C4;
}
.huk-post-content p {
  margin-bottom: 16px;
}
.huk-post-content ul, .huk-post-content ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}
.huk-post-content li {
  margin-bottom: 8px;
  position: relative;
}
.huk-post-content ul li::marker {
  color: #C8531F;
}
.huk-post-content strong {
  color: #1A2B3C;
  font-weight: 700;
}
html[data-theme="dark"] .huk-post-content strong {
  color: #F5A070;
}
.huk-post-content em {
  color: #6B7280;
  font-style: italic;
}

/* Table wrapper */
.huk-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  border: 1px solid #EDE3D0;
}
html[data-theme="dark"] .huk-table-wrap {
  border-color: #2D3E4A;
}
.huk-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.huk-post-content table th {
  background: linear-gradient(135deg, #1A4A68, #2980B9);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.huk-post-content table td {
  padding: 10px 16px;
  border-bottom: 1px solid #F3F4F6;
  color: #374151;
}
html[data-theme="dark"] .huk-post-content table td {
  border-color: #2D3E4A;
  color: #D1D5DB;
}
.huk-post-content table tr:nth-child(even) td {
  background: rgba(26,74,104,0.03);
}
html[data-theme="dark"] .huk-post-content table tr:nth-child(even) td {
  background: rgba(127,188,210,0.05);
}

/* Post tags */
.huk-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 36px 0 16px;
  padding-top: 20px;
  border-top: 1px solid #EDE3D0;
}
html[data-theme="dark"] .huk-post-tags {
  border-color: #2D3E4A;
}
.huk-post-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  margin-right: 4px;
}
.huk-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.huk-tag-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   28) BLOG LISTING PAGE (GRID / NEWS LAYOUT)
   ═══════════════════════════════════════════════════════════ */
.huk-blog-loading {
  text-align: center;
  padding: 60px 20px;
  color: #9CA3AF;
  font-size: 16px;
}
.huk-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  padding: 8px 0;
}
.huk-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.huk-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  text-decoration: none;
}
html[data-theme="dark"] .huk-blog-card {
  background: #1A2B3C;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
html[data-theme="dark"] .huk-blog-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.huk-blog-card-hero {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.huk-blog-card-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.huk-blog-card-icon {
  width: 56px;
  height: 56px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.huk-blog-card-icon svg {
  width: 100%;
  height: 100%;
}
.huk-blog-card-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}
.huk-blog-card-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.huk-blog-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #1A2B3C;
  margin: 0 0 10px;
}
html[data-theme="dark"] .huk-blog-card-title {
  color: #E8E0D6;
}
.huk-blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0 0 14px;
  flex: 1;
}
html[data-theme="dark"] .huk-blog-card-excerpt {
  color: #9CA3AF;
}
.huk-blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
}
html[data-theme="dark"] .huk-blog-card-footer {
  border-color: #2D3E4A;
}
.huk-blog-card-date {
  font-size: 12px;
  color: #9CA3AF;
  font-weight: 500;
  white-space: nowrap;
}
.huk-blog-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.huk-blog-card-tags .huk-tag-pill {
  font-size: 11px;
  padding: 3px 10px;
}

/* Mobile blog */
@media (max-width: 768px) {
  .huk-post-hero {
    padding: 32px 20px;
    margin: -10px -16px 20px;
    border-radius: 0 0 16px 16px;
  }
  .huk-post-hero-icon {
    width: 56px;
    height: 56px;
  }
  h1.huk-post-title-enhanced {
    font-size: 24px !important;
  }
  .huk-post-content h2 { font-size: 20px; }
  .huk-post-content h3 { font-size: 17px; }
  .huk-h2-marker {
    width: 30px;
    height: 30px;
    font-size: 11px;
    border-radius: 8px;
  }
  .huk-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .huk-blog-card-hero {
    height: 150px;
  }
  .huk-blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .huk-blog-card-tags {
    justify-content: flex-start;
  }
}

/* ┌─────────────────────────────────────────────────────────┐ */
/* │  29) GOOGLE ADS SLOT ALANLARI                           │ */
/* └─────────────────────────────────────────────────────────┘ */
.huk-ad-slot {
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--huk-bg-subtle, #f8f5f0);
  border: 1px dashed var(--huk-border, #e0d8cc);
  transition: background 0.3s;
}
.huk-ad-slot-inner {
  padding: 24px 20px;
  text-align: center;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.huk-ad-slot-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--huk-text-muted, #9a9188);
  opacity: 0.6;
}
.huk-ad-slot-content {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Üst slot — hero sonrası, tam genişlik */
#huk-ad-slot-top {
  margin-top: 20px;
  margin-bottom: 32px;
}
/* Orta slot — paragraflar arası */
#huk-ad-slot-mid {
  margin: 36px 0;
}
/* Alt slot — içerik sonu */
#huk-ad-slot-bottom {
  margin-top: 36px;
  margin-bottom: 20px;
}
/* Listing sayfası slotu */
.huk-ad-slot-listing {
  margin-top: 32px;
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark mode */
html[data-theme="dark"] .huk-ad-slot {
  background: var(--huk-surface, #1a1a2e);
  border-color: var(--huk-border, #2a2a3e);
}

/* Responsive — mobilde daha küçük */
@media (max-width: 768px) {
  .huk-ad-slot-inner {
    padding: 16px 12px;
    min-height: 80px;
  }
  .huk-ad-slot-content {
    min-height: 60px;
  }
}

/* ┌─────────────────────────────────────────────────────────┐ */
/* │  30) KKTC ÜNİVERSİTE HARİTASI                          │ */
/* └─────────────────────────────────────────────────────────┘ */
.huk-map-section {
  padding: 48px 0 56px;
  background: var(--huk-bg-subtle, #f4f0eb);
  border-top: 1px solid var(--huk-border, #e0d8cc);
  border-bottom: 1px solid var(--huk-border, #e0d8cc);
}
.huk-map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.huk-map-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.huk-map-badge {
  display: inline-block;
  background: linear-gradient(135deg, #E8744A, #e05530);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.huk-map-header-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--huk-text, #2C1810);
  margin: 0 0 4px;
}
.huk-map-header-text p {
  font-size: 15px;
  color: var(--huk-text-muted, #8a8078);
  margin: 0;
}

/* ── City pills ── */
.huk-map-city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.huk-map-pill {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--huk-border, #d5cec4);
  background: var(--huk-surface, #fff);
  color: var(--huk-text-secondary, #5a5048);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.huk-map-pill:hover {
  border-color: #E8744A;
  color: #E8744A;
}
.huk-map-pill.active {
  background: #E8744A;
  border-color: #E8744A;
  color: #fff;
}

/* ── Map body (grid) ── */
.huk-map-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid var(--huk-border, #d5cec4);
}
.huk-leaflet-map {
  min-height: 480px;
  background: #e8e0d4;
  z-index: 1;
}

/* ── Sidebar ── */
.huk-map-sidebar {
  background: var(--huk-surface, #fff);
  overflow-y: auto;
  max-height: 480px;
  border-left: 1px solid var(--huk-border, #e0d8cc);
}
.huk-map-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none !important;
  color: var(--huk-text, #2C1810) !important;
  border-bottom: 1px solid var(--huk-border, #f0ebe5);
  transition: background 0.2s;
}
.huk-map-card:hover {
  background: var(--huk-bg-subtle, #f8f5f0);
}
.huk-map-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.huk-map-card-info {
  flex: 1;
  min-width: 0;
}
.huk-map-card-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.huk-map-card-info span {
  font-size: 12px;
  color: var(--huk-text-muted, #8a8078);
}
.huk-map-card-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--huk-text-muted, #bab2a8);
  transition: color 0.2s, transform 0.2s;
}
.huk-map-card:hover .huk-map-card-arrow {
  color: #E8744A;
  transform: translateX(2px);
}

/* ── Category toggle buttons ── */
.huk-map-cat-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.huk-map-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 2px solid var(--huk-border, #e0d8cc);
  background: var(--huk-surface, #fff);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--huk-text-muted, #8a8078);
  transition: all 0.2s;
  opacity: 0.5;
}
.huk-map-cat-btn.active {
  opacity: 1;
  border-color: var(--huk-terra, #E8744A);
  background: rgba(232,116,74,0.08);
  color: var(--huk-text, #2C1810);
}
.huk-map-cat-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.huk-map-cat-btn .cat-icon { font-size: 15px; }
.huk-map-cat-btn .cat-count {
  background: var(--huk-bg-subtle, #f0ebe5);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}
.huk-map-cat-btn.active .cat-count {
  background: var(--huk-terra, #E8744A);
  color: #fff;
}

/* ── Sidebar groups ── */
.huk-map-sidebar-group {
  margin-bottom: 4px;
}
.huk-map-sidebar-group-title {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--huk-text-muted, #8a8078);
  background: var(--huk-bg-subtle, #f8f5f0);
  border-bottom: 1px solid var(--huk-border, #e0d8cc);
  position: sticky;
  top: 0;
  z-index: 2;
}
.huk-map-sidebar-group-title span {
  font-weight: 400;
  color: var(--huk-text-muted, #bab2a8);
}
.huk-map-sidebar-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--huk-text-muted, #bab2a8);
  font-size: 14px;
}

/* ── Custom markers ── */
.huk-map-marker {
  background: none !important;
  border: none !important;
}
.huk-map-marker-inner {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  border: 2px solid #fff;
}
.huk-map-marker-inner span {
  transform: rotate(45deg);
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ── POI markers (non-university) ── */
.huk-map-marker-poi-inner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  border: 2px solid #fff;
  transition: transform 0.2s;
}
.huk-map-marker-poi-inner span {
  font-size: 16px;
  line-height: 1;
}
.huk-map-marker-poi:hover .huk-map-marker-poi-inner {
  transform: scale(1.15);
}

/* ── Popup ── */
.huk-map-popup-wrap .leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 0;
}
.huk-map-popup-wrap .leaflet-popup-content {
  margin: 0;
  min-width: 180px;
}
.huk-map-popup-wrap .leaflet-popup-tip {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.huk-map-popup {
  padding: 14px 16px;
}
.huk-map-popup strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 2px;
}
.huk-map-popup-city {
  display: block;
  font-size: 12px;
  color: #8a8078;
  margin-bottom: 10px;
}
.huk-map-popup-desc {
  display: block;
  font-size: 12px;
  color: #6b6360;
  margin-bottom: 8px;
  line-height: 1.4;
}
.huk-map-popup-btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: #E8744A;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.huk-map-popup-btn:hover {
  background: #d4612e;
}

/* ── Dark mode ── */
html[data-theme="dark"] .huk-map-section {
  background: var(--huk-bg, #111827);
}
html[data-theme="dark"] .huk-map-sidebar {
  background: var(--huk-surface, #1a1a2e);
}
html[data-theme="dark"] .huk-map-popup strong { color: #e8e0d4; }
html[data-theme="dark"] .huk-map-popup-wrap .leaflet-popup-content-wrapper { background: #1a1a2e; }
html[data-theme="dark"] .huk-map-popup-wrap .leaflet-popup-tip { background: #1a1a2e; }
html[data-theme="dark"] .huk-map-popup-desc { color: #8a8078; }
html[data-theme="dark"] .huk-map-cat-btn { background: #1a1a2e; border-color: #2a2a3e; color: #8a8078; }
html[data-theme="dark"] .huk-map-cat-btn.active { background: rgba(232,116,74,0.12); border-color: #E8744A; color: #e8e0d4; }
html[data-theme="dark"] .huk-map-cat-btn .cat-count { background: #2a2a3e; color: #8a8078; }
html[data-theme="dark"] .huk-map-sidebar-group-title { background: #1a1a2e; border-color: #2a2a3e; }
html[data-theme="dark"] .huk-map-body {
  border-color: var(--huk-border, #2a2a3e);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .huk-map-body {
    grid-template-columns: 1fr;
  }
  .huk-map-sidebar {
    max-height: 240px;
    border-left: none;
    border-top: 1px solid var(--huk-border, #e0d8cc);
  }
  .huk-leaflet-map {
    min-height: 350px;
  }
  .huk-map-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .huk-map-cat-toggles {
    padding: 0 16px 12px;
  }
  .huk-map-cat-btn .cat-label {
    display: none;
  }
}
@media (max-width: 600px) {
  .huk-map-section {
    padding: 32px 0 40px;
  }
  .huk-map-header-text h2 {
    font-size: 22px;
  }
  .huk-leaflet-map {
    min-height: 280px;
  }
}

/* ┌─────────────────────────────────────────────────────────┐ */
/* │  31) SITE FOOTER                                        │ */
/* └─────────────────────────────────────────────────────────┘ */
.huk-footer {
  background: #1B2A3D !important;
  color: #c8c0b4;
  border-top: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}
.huk-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}
.huk-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* ── Sütun: Hakkımızda ── */
.huk-footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #9a9490 !important;
  margin: 12px 0 20px;
}
.huk-footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: -0.5px;
}
.huk-footer-logo:hover {
  color: #E8744A !important;
}

/* ── Sosyal medya ikonları ── */
.huk-footer-social {
  display: flex;
  gap: 12px;
}
.huk-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  color: #c8c0b4 !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
.huk-footer-social a:hover {
  background: #E8744A;
  color: #fff !important;
  transform: translateY(-2px);
}
.huk-footer-social svg {
  width: 18px;
  height: 18px;
}

/* ── Sütun başlıkları ── */
.huk-footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}
.huk-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #E8744A;
  border-radius: 2px;
}

/* ── Link listeleri ── */
.huk-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.huk-footer-col ul li {
  margin-bottom: 10px;
}
.huk-footer-col ul li a,
.huk-footer-col ul li span {
  color: #9a9490 !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.huk-footer-col ul li a:hover {
  color: #fff !important;
  padding-left: 4px;
}

/* ── İletişim ikonları ── */
.huk-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.huk-footer-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #E8744A;
}

/* ── Hakkımızda butonu ── */
.huk-footer-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: rgba(232,116,74,0.15);
  border: 1px solid rgba(232,116,74,0.3);
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s;
}
.huk-footer-btn:hover {
  background: #E8744A;
  border-color: #E8744A;
}

/* ── Alt bar ── */
.huk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
}
.huk-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6b6560;
}
.huk-footer-bottom-links {
  display: flex;
  gap: 20px;
}
.huk-footer-bottom-links a {
  color: #6b6560 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.huk-footer-bottom-links a:hover {
  color: #c8c0b4 !important;
}

/* ── Dark mode ── */
html[data-theme="dark"] .huk-footer {
  background: #0d1117 !important;
}
html[data-theme="dark"] .huk-footer-bottom {
  background: rgba(0,0,0,0.3);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .huk-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .huk-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .huk-footer-main {
    padding: 40px 20px 28px;
  }
  .huk-footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .huk-footer {
    margin-bottom: var(--huk-bottom-nav-h, 60px) !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   ÜNİVERSİTE & BÖLÜM DETAY SAYFALARI — CSS
   ══════════════════════════════════════════════════════════════ */

/* ── Page Wrapper ── */
.kb-detail-page-wrapper {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px 60px !important;
  font-family: 'Nunito', sans-serif;
}

/* ── Hero / Header Section ── */
.kb-modern-header {
  background: linear-gradient(135deg, var(--huk-sea) 0%, #163B55 60%, var(--huk-sea-light) 100%) !important;
  padding: 48px 40px !important;
  border-radius: 0 0 32px 32px !important;
  margin: 0 -20px 32px !important;
  position: relative;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(13, 43, 62, 0.18) !important;
}
.kb-modern-header::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 83, 31, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.kb-modern-header .container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header Flex Layout */
.kb-header-flex-wrapper {
  display: flex !important;
  gap: 40px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
.kb-header-left-col {
  flex: 1 !important;
  min-width: 280px !important;
}
.kb-header-right-col {
  flex: 0 0 420px !important;
  max-width: 100% !important;
}

/* Breadcrumbs */
.kb-breadcrumbs {
  margin-bottom: 16px !important;
}
.kb-breadcrumbs a {
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 500;
  transition: color 0.2s;
}
.kb-breadcrumbs a:hover {
  color: var(--huk-terra-light) !important;
}
.kb-breadcrumbs span {
  color: rgba(255,255,255,0.3) !important;
  margin: 0 6px !important;
}

/* Title */
.kb-modern-header .entry-title {
  color: #fff !important;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.5px;
}

/* Subtitle */
.kb-subtitle {
  color: rgba(255,255,255,0.78) !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  font-weight: 400;
}

/* Meta Badges */
.kb-meta-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-size: 0.88rem !important;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.kb-meta-badge:hover {
  background: rgba(255,255,255,0.15) !important;
}

/* Hero Image Card */
.kb-hero-card {
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3) !important;
  line-height: 0 !important;
  position: relative;
  border: 2px solid rgba(255,255,255,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.kb-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4) !important;
}
.kb-hero-card img,
.kb-hero-img-v2 {
  width: 100% !important;
  height: 300px !important;
  object-fit: cover !important;
  display: block !important;
}
.kb-hero-shine {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%) !important;
  pointer-events: none;
}


/* ── Reklam Slotları ── */
.kb-ad-slot {
  background: var(--huk-surface);
  border: 2px dashed var(--huk-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  margin: 28px 0;
  color: var(--huk-text-hint);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: border-color 0.3s;
}
.kb-ad-slot:hover {
  border-color: var(--huk-terra-light);
}
.kb-ad-slot:empty::after {
  content: 'REKLAM ALANI / ADVERTISEMENT';
}


/* ── Entry Content — AI Generated veya Manuel İçerik ── */
.entry-content {
  margin-bottom: 40px !important;
  padding: 0 !important;
}
.kb-detail-page-wrapper .entry-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--huk-text);
}
.kb-detail-page-wrapper .entry-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--huk-sea);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--huk-terra);
  display: inline-block;
}
.kb-detail-page-wrapper .entry-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--huk-sea-light);
  margin: 28px 0 12px;
}
.kb-detail-page-wrapper .entry-content p {
  margin-bottom: 18px;
  color: var(--huk-text-secondary);
}
.kb-detail-page-wrapper .entry-content ul,
.kb-detail-page-wrapper .entry-content ol {
  margin: 16px 0;
  padding-left: 28px;
}
.kb-detail-page-wrapper .entry-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--huk-text-secondary);
}
.kb-detail-page-wrapper .entry-content strong {
  color: var(--huk-text);
  font-weight: 700;
}
.kb-detail-page-wrapper .entry-content a {
  color: var(--huk-terra);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.kb-detail-page-wrapper .entry-content a:hover {
  color: var(--huk-terra-light);
}

/* İçerik tabloları (sayfanın kendi HTML'inde olanlar) */
.kb-detail-page-wrapper .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--huk-shadow-sm);
}
.kb-detail-page-wrapper .entry-content table th {
  background: var(--huk-sea);
  color: #fff;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
}
.kb-detail-page-wrapper .entry-content table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--huk-border);
  font-size: 0.95rem;
  color: var(--huk-text-secondary);
}
.kb-detail-page-wrapper .entry-content table tr:nth-child(even) {
  background: var(--huk-bg-subtle);
}
.kb-detail-page-wrapper .entry-content table tr:last-child td {
  border-bottom: none;
}
.kb-detail-page-wrapper .entry-content table tr:hover td {
  background: rgba(200, 83, 31, 0.05);
}

/* İçerikteki blockquote */
.kb-detail-page-wrapper .entry-content blockquote {
  background: linear-gradient(135deg, rgba(200,83,31,0.06) 0%, rgba(200,83,31,0.02) 100%);
  border-left: 4px solid var(--huk-terra);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--huk-text-secondary);
}

/* İçerikteki img */
.kb-detail-page-wrapper .entry-content img {
  border-radius: 16px;
  box-shadow: var(--huk-shadow-md);
  margin: 20px 0;
  max-width: 100%;
  height: auto;
}


/* ══════════════════════════════════════════════════════════════
   ÜNİVERSİTE KÜNYE KARTLARI
   ══════════════════════════════════════════════════════════════ */

.kb-kunye-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  margin: 24px 0 36px !important;
}

.kb-kunye-card {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  background: var(--huk-surface) !important;
  border: 1px solid var(--huk-border) !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
  transition: all 0.25s ease !important;
  box-shadow: var(--huk-shadow-sm) !important;
  position: relative;
  overflow: hidden;
}
.kb-kunye-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--huk-terra);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.kb-kunye-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--huk-shadow-md) !important;
  border-color: var(--huk-terra-light) !important;
}
.kb-kunye-card:hover::before {
  opacity: 1;
}

.kb-kunye-card > .dashicons {
  font-size: 28px !important;
  width: 28px !important;
  height: 28px !important;
  color: var(--huk-terra) !important;
  flex-shrink: 0;
  background: var(--huk-terra-glow);
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px !important;
}

.kb-kunye-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0;
}
.kb-kunye-info label {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--huk-text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kb-kunye-info span {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--huk-text) !important;
  word-break: break-word;
}

/* Künye Section Title */
.kb-detail-page-wrapper > h2 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--huk-sea) !important;
  margin: 36px 0 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.kb-detail-page-wrapper > h2 .dashicons {
  color: var(--huk-terra) !important;
  font-size: 28px;
  width: 28px;
  height: 28px;
}


/* ══════════════════════════════════════════════════════════════
   BÖLÜM SAYFASI — DATA BOX (Bölüm Bilgileri + YÖK Atlas)
   ══════════════════════════════════════════════════════════════ */

.kb-data-box {
  background: var(--huk-surface) !important;
  border: 1px solid var(--huk-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: var(--huk-shadow-sm) !important;
  transition: all 0.3s ease !important;
}
.kb-data-box:hover {
  box-shadow: var(--huk-shadow-md) !important;
  transform: translateY(-2px);
}

.kb-data-title {
  background: linear-gradient(135deg, var(--huk-sea) 0%, var(--huk-sea-light) 100%) !important;
  color: #fff !important;
  padding: 18px 24px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  letter-spacing: -0.2px;
}
.kb-data-title .dashicons {
  font-size: 22px;
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.kb-data-table {
  width: 100% !important;
  border-collapse: collapse !important;
}
.kb-data-table tr {
  transition: background 0.2s;
}
.kb-data-table tr:hover {
  background: rgba(200, 83, 31, 0.04) !important;
}
.kb-data-table td {
  padding: 14px 24px !important;
  border-bottom: 1px solid var(--huk-border) !important;
  font-size: 0.95rem !important;
  vertical-align: middle !important;
}
.kb-data-table tr:last-child td {
  border-bottom: none !important;
}
.kb-data-table td:first-child {
  font-weight: 600 !important;
  color: var(--huk-terra) !important;
  width: 45% !important;
  font-size: 0.9rem !important;
}
.kb-data-table td:last-child {
  color: var(--huk-text) !important;
  font-weight: 500 !important;
}
.kb-data-table td b,
.kb-data-table td strong {
  color: var(--huk-sea) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
}


/* ── Geri Dön Butonu ── */
.kb-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 32px !important;
  border-radius: 14px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
}
.kb-btn-outline {
  background: transparent !important;
  color: var(--huk-sea) !important;
  border: 2px solid var(--huk-sea) !important;
}
.kb-btn-outline:hover {
  background: var(--huk-sea) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--huk-shadow-md);
}
.kb-btn-outline .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBİL UYUMLULUK
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .kb-modern-header {
    padding: 32px 20px !important;
    border-radius: 0 0 24px 24px !important;
    margin: 0 -20px 24px !important;
  }
  .kb-header-flex-wrapper {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .kb-header-left-col {
    text-align: center !important;
    min-width: unset !important;
  }
  .kb-header-right-col {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
  .kb-hero-card img,
  .kb-hero-img-v2 {
    height: 220px !important;
  }
  .kb-modern-header .entry-title {
    font-size: 1.6rem !important;
  }
  .kb-header-meta {
    justify-content: center;
  }

  .kb-kunye-container {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .kb-kunye-card {
    padding: 16px 18px !important;
  }

  .kb-data-table td {
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
  }
  .kb-data-table td:first-child {
    width: 40% !important;
  }

  .kb-ad-slot {
    margin: 20px 0;
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .kb-detail-page-wrapper {
    padding: 0 12px 40px !important;
  }
  .kb-modern-header {
    padding: 24px 16px !important;
    margin: 0 -12px 20px !important;
  }
  .kb-modern-header .entry-title {
    font-size: 1.35rem !important;
  }
  .kb-kunye-card {
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }
  .kb-data-box {
    border-radius: 14px !important;
  }
  .kb-data-title {
    padding: 14px 18px !important;
    font-size: 1rem !important;
  }
}


/* ── Dark Mode Desteği ── */
html[data-theme="dark"] .kb-modern-header {
  background: linear-gradient(135deg, #0a1520 0%, #152535 60%, #1d3a50 100%) !important;
}
html[data-theme="dark"] .kb-kunye-card {
  background: var(--huk-surface) !important;
  border-color: var(--huk-border) !important;
}
html[data-theme="dark"] .kb-data-box {
  background: var(--huk-surface) !important;
  border-color: var(--huk-border) !important;
}
html[data-theme="dark"] .kb-data-title {
  background: linear-gradient(135deg, #0a1520 0%, #1a3550 100%) !important;
}
html[data-theme="dark"] .kb-ad-slot {
  background: var(--huk-surface);
  border-color: var(--huk-border);
}

/* ═══════════════════════════════════════════════════════
   Bölüm Kartları — Üniversite Detay Sayfası
   ═══════════════════════════════════════════════════════ */
.kb-bolumler-section {
  margin-top: 50px;
  margin-bottom: 40px;
}
.kb-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--huk-sea, #1a5276);
  margin-bottom: 30px;
}
.kb-bolum-count {
  font-size: 0.9rem;
  font-weight: 400;
  color: #888;
}
.kb-fakulte-group {
  margin-bottom: 35px;
}
.kb-fakulte-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--huk-terra, #c0392b);
  padding: 10px 18px;
  background: linear-gradient(135deg, #fef9f5 0%, #fdf2eb 100%);
  border-left: 4px solid var(--huk-terra, #c0392b);
  border-radius: 0 8px 8px 0;
  margin-bottom: 15px;
}
.kb-bolum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.kb-bolum-card {
  display: block;
  background: #fff;
  border: 1px solid var(--huk-border, #e8e8e8);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.kb-bolum-card:hover {
  border-color: var(--huk-sea, #1a5276);
  box-shadow: 0 4px 15px rgba(26,82,118,0.12);
  transform: translateY(-2px);
}
.kb-bolum-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.kb-bolum-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.35;
  flex: 1;
}
.kb-bolum-burs {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.kb-bolum-burs.burslu {
  background: #d4edda;
  color: #155724;
}
.kb-bolum-burs.indirimli {
  background: #fff3cd;
  color: #856404;
}
.kb-bolum-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.kb-bolum-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #666;
  background: #f5f6f8;
  padding: 3px 10px;
  border-radius: 6px;
}
.kb-bolum-tag .dashicons {
  font-size: 13px;
  width: 13px;
  height: 13px;
  color: #999;
}
.kb-bolum-card-stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.kb-bolum-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kb-bolum-stat .stat-label {
  font-size: 0.7rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kb-bolum-stat .stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--huk-sea, #1a5276);
}

/* Responsive */
@media (max-width: 768px) {
  .kb-bolum-grid {
    grid-template-columns: 1fr;
  }
  .kb-section-title {
    font-size: 1.3rem;
  }
}

/* Dark Mode */
html[data-theme="dark"] .kb-bolum-card {
  background: var(--huk-surface, #1e1e2e);
  border-color: var(--huk-border, #333);
}
html[data-theme="dark"] .kb-bolum-card:hover {
  border-color: #4a90d9;
  box-shadow: 0 4px 15px rgba(74,144,217,0.15);
}
html[data-theme="dark"] .kb-bolum-name {
  color: #e0e0e0;
}
html[data-theme="dark"] .kb-fakulte-title {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a1e 100%);
  color: #e8a090;
  border-color: #c0392b;
}
html[data-theme="dark"] .kb-bolum-tag {
  background: rgba(255,255,255,0.08);
  color: #aaa;
}
html[data-theme="dark"] .kb-bolum-card-stats {
  border-color: #333;
}
