:root {
  /* KLU lacivert palet — logo govde tonu taban */
  --klu-primary:      #00437C;  /* lacivert ana */
  --klu-primary-dark: #002B5C;  /* lacivert koyu */
  --klu-primary-deep: #00132E;  /* lacivert en koyu */
  --klu-ink:          #0f172a;
  --klu-bg:           #f1f5f9;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--klu-bg);
  color: var(--klu-ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  background: linear-gradient(90deg, var(--klu-primary-deep), var(--klu-primary));
  color: #fff;
  padding: 10px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(20, 96, 110, 0.18);
}
.topbar .brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
}
.topbar .brand-logo {
  height: 40px; width: auto;
  filter: brightness(0) invert(1);   /* mavi mühür → topbar üzerinde beyaz */
}
.topbar .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.topbar .brand-line1 { font-size: 12px; opacity: 0.9; letter-spacing: 0.3px; }
.topbar .brand-line2 { font-size: 14px; font-weight: 700; }
.navlinks { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.navlinks a { color: rgba(255,255,255,.92); text-decoration: none; padding: 4px 8px; border-radius: 6px; }
.navlinks a:hover { background: rgba(255,255,255,.14); color: #fff; }
.navlinks .user { color: rgba(255,255,255,.8); font-size: 12px; margin-left: 10px; }
.navlinks .login-link {
  border: 1px solid rgba(255,255,255,.45); padding: 5px 14px; border-radius: 999px;
  font-weight: 600;
}
.navlinks .login-link:hover { background: #fff; color: var(--klu-primary-deep); }
.btn-link {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4);
  padding: 4px 10px; border-radius: 999px; cursor: pointer; font-size: 12px;
}
.btn-link:hover { background: rgba(255,255,255,.12); }
form.inline { display: inline; margin: 0; }

.main { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.flash-wrap { padding: 10px 18px 0; }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 8px; font-size: 13px; }
.flash.ok  { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.flash.err { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

/* Login card */
.login-card {
  max-width: 380px; margin: 60px auto;
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.login-card h1 { margin: 0 0 6px; font-size: 22px; }
.login-card .sub { color: #64748b; font-size: 13px; margin-bottom: 16px; }
.login-card label { display: flex; flex-direction: column; font-size: 13px; gap: 6px; margin-bottom: 12px; color: #334155; }
.login-card input {
  padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px;
}
.login-card .pri { width: 100%; }
.mini { color: #64748b; font-size: 11px; margin-top: 12px; }

/* Buttons */
.pri {
  background: var(--klu-primary); color: #fff; border: 0; border-radius: 999px;
  padding: 9px 18px; cursor: pointer; font-weight: 600; font-size: 13px;
}
.pri:hover { background: var(--klu-primary-dark); }
.sec {
  background: #e2e8f0; color: #0f172a; border: 0; border-radius: 999px;
  padding: 7px 14px; cursor: pointer; font-size: 13px;
}
.sec:hover { background: #cbd5e1; }
.danger { background: #dc2626; color: #fff; }
.danger:hover { background: #b91c1c; }

/* === Iki yontemli arama (anlasma/giris formu) === */
.uni-finders {
  display: flex; flex-direction: column; gap: 0;
  margin: 8px 0 14px;
}
.uni-or {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 0; color: #94a3b8; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.uni-or::before, .uni-or::after {
  content: ''; flex: 1;
  height: 1px; background: #e2e8f0;
}
.uni-url-wrap {
  display: flex; gap: 8px; align-items: stretch;
}
.uni-url-wrap input {
  flex: 1; padding: 13px 16px;
  font-size: 14px;
  border: 2px solid #cbd5e1; border-radius: 10px;
  background: #fff; color: #0f172a;
  transition: all 0.15s;
}
.uni-url-wrap input:focus {
  outline: none; border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}
.uni-url-btn {
  padding: 0 18px; border: 0; border-radius: 10px;
  background: #1e3a8a; color: #fff; font-weight: 600; font-size: 13px;
  cursor: pointer; transition: all 0.15s;
  white-space: nowrap;
}
.uni-url-btn:hover:not(:disabled) { background: #1e40af; }
.uni-url-btn:disabled { background: #94a3b8; cursor: not-allowed; }
.uni-url-msg {
  margin-top: 8px; padding: 8px 12px; border-radius: 8px;
  font-size: 12px; line-height: 1.4;
}
.uni-url-msg.info { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }
.uni-url-msg.ok   { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.uni-url-msg.err  { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

/* === Üniversite ad ile arama === */
.uni-search-wrap {
  position: relative;
}
.uni-search-wrap input {
  width: 100%;
  padding: 13px 38px 13px 16px;
  font-size: 14px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  transition: all 0.15s;
  box-sizing: border-box;
}
.uni-search-wrap input:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}
.uni-search-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: #e2e8f0; border: 0; color: #64748b;
  cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.uni-search-clear:hover { background: #fecaca; color: #b91c1c; }

.uni-search-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid #cbd5e1; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  max-height: 380px; overflow-y: auto;
  z-index: 1000;
}
.uni-search-results::-webkit-scrollbar { width: 6px; }
.uni-search-results::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.uni-search-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.1s;
}
.uni-search-row:last-child { border-bottom: 0; }
.uni-search-row:hover { background: #eff6ff; }
.uni-search-icon {
  font-size: 22px; flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; border-radius: 8px;
}
.uni-search-text { flex: 1; min-width: 0; }
.uni-search-name {
  font-size: 13px; font-weight: 600; color: #0f172a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.uni-search-meta {
  font-size: 11px; color: #64748b;
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.uni-search-info {
  padding: 14px; text-align: center; color: #64748b; font-size: 12px;
}
.uni-search-info.err { color: #b91c1c; }

/* Form grid */
.wrap {
  max-width: 1200px; margin: 18px auto; padding: 18px;
  background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.grid-form {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px 16px; background: #f8fafc; padding: 14px; border: 1px solid #e2e8f0;
  border-radius: 10px; margin: 14px 0;
}
.grid-form label { display: flex; flex-direction: column; font-size: 13px; color: #334155; gap: 4px; }
.grid-form input, .grid-form select {
  padding: 8px 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 14px;
}
.form-row { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.status { font-size: 13px; margin-top: 4px; }
.status.muted { color: #64748b; }
.status.ok  { color: #15803d; }
.status.err { color: #b91c1c; }

/* Tablo */
table.striped { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
table.striped th, table.striped td {
  padding: 9px 10px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: middle;
}
table.striped tbody tr:nth-child(even) { background: #f8fafc; }
table.striped tbody tr.selected { background: #fef3c7 !important; }
.col-check { width: 32px; }

/* Liste filtre/aksiyon barı */
.list-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 16px; padding: 10px; background: #f8fafc;
  border: 1px solid #e2e8f0; border-radius: 10px;
}
.list-toolbar .spacer { flex: 1; }
.filter-input {
  padding: 7px 9px; border-radius: 8px; border: 1px solid #cbd5e1;
  font-size: 13px; background: #fff; min-width: 160px;
}
.filter-input[type="search"] { flex: 1 1 220px; }

/* Harita layout */
.layout-split {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 0; flex: 1; min-height: 0;
}
.map-full { width: 100%; height: calc(100vh - 46px); }
.map-med  { width: 100%; height: 420px; border-radius: 10px; border: 1px solid #e2e8f0; }
.sidebar {
  background: #fff; border-left: 1px solid #e2e8f0;
  padding: 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
}
.sidebar h2 { margin: 0 0 4px; font-size: 18px; }
.sidebar .sub { color: #64748b; font-size: 12px; margin-bottom: 4px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group select {
  padding: 9px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 13px; background: #fff;
}
.list { flex: 1; overflow: auto; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; padding: 8px; }
.item {
  font-size: 12px; padding: 10px; border-radius: 8px; background: #fff;
  margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); cursor: pointer;
}
.item:hover { background: #eff6ff; }
.item .title { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.item .uni-badge {
  display: inline-block; background: #dbeafe; color: #1e3a8a;
  border-radius: 999px; padding: 2px 8px; font-size: 10px; margin-top: 6px; font-weight: 600;
}
.badge { display: inline-block; font-size: 10px; border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.badge.mou     { background: #fecaca; color: #b91c1c; }
.badge.erasmus { background: #bfdbfe; color: #1d4ed8; }
.badge.orhun   { background: #dcfce7; color: #15803d; }

/* Aktivite log: işlem tipi badge'leri */
.act { display: inline-block; font-size: 11px; border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.act-login   { background: #e0f2fe; color: #075985; }
.act-logout  { background: #f1f5f9; color: #475569; }
.act-create  { background: #dcfce7; color: #15803d; }
.act-update  { background: #fef3c7; color: #92400e; }
.act-delete  { background: #fee2e2; color: #b91c1c; }
.act-upload  { background: #ede9fe; color: #6d28d9; }
.act-admin   { background: #fce7f3; color: #be185d; }
.act-lookup  { background: #f3f4f6; color: #1f2937; }
.act-other   { background: #e2e8f0; color: #334155; }
/* Aktivite log: sonuç badge'leri */
.res { display: inline-block; font-size: 11px; border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.res-ok    { background: #dcfce7; color: #15803d; }
.res-err   { background: #fee2e2; color: #b91c1c; }
.res-warn  { background: #fef3c7; color: #92400e; }
.res-other { background: #e2e8f0; color: #334155; }

.mo-marker { background: #dc2626; border: 2px solid #fff; border-radius: 50%; }
.er-marker { background: #2563eb; border: 2px solid #fff; border-radius: 50%; }
.or-marker { background: #16a34a; border: 2px solid #fff; border-radius: 50%; }
.klu-marker {
  background: #1e3a8a; color: #fff; font-weight: 700; border: 2px solid #fff;
  border-radius: 4px; padding: 2px 6px; font-size: 11px;
}
.number-icon {
  background: #ef4444; color: #fff; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 11px;
  width: 100%; height: 100%; border: 2px solid #fff;
}

/* Stat kart */
.stat-card {
  background: #eff6ff; border: 1px solid #bfdbfe; padding: 14px;
  border-radius: 10px; text-align: center;
}
.stat-card small { color: #475569; font-weight: 700; font-size: 10px; letter-spacing: .5px; }
.stat-card h2 { margin: 6px 0 0; color: #1e40af; font-size: 26px; }

/* News link */
.news-btn {
  display: inline-block; margin-top: 8px; padding: 5px 11px;
  background: #1e3a8a; color: #fff !important; text-decoration: none;
  border-radius: 6px; font-size: 11px; font-weight: 600;
}
.news-btn:hover { background: #111827; }

/* Popup icindeki tablo */
.popup-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-top: 5px; }
.popup-table th, .popup-table td { padding: 3px; border-bottom: 1px solid #eee; text-align: left; }
.popup-table th { background: #f8fafc; font-weight: 700; }

/* =========================================================
   ÖĞRENCİ HARİTASI — kurumsal beyaz + infografik widget'lar
   KLÜ lacivert #1e3a8a ana renk, beyaz zemin, soft shadows.
   ========================================================= */
:root {
  --klu-navy: #1e3a8a;
  --klu-navy-dark: #172554;
  --klu-blue: #2563eb;
  --klu-blue-lt: #dbeafe;
  --og-bg: #f1f5f9;
  --og-card: #ffffff;
  --og-border: #e2e8f0;
  --og-ink: #0f172a;
  --og-muted: #64748b;
  --og-soft: #f8fafc;
}

.og-page {
  background: var(--og-bg); padding: 16px 20px 24px;
  min-height: calc(100vh - 46px);
  color: var(--og-ink);
}

/* === Üst özet şeridi === */
.og-summary-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 14px; align-items: stretch;
  background: linear-gradient(135deg, var(--klu-navy) 0%, var(--klu-navy-dark) 100%);
  color: #fff; padding: 18px 22px; border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(30, 58, 138, 0.45);
  margin-bottom: 18px;
  position: relative; overflow: hidden;
}
.og-summary-bar::before {
  content: ''; position: absolute; top: -60%; right: -5%;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.og-summary-item {
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 14px;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative; z-index: 1;
}
.og-summary-item:nth-last-of-type(2) { border-right: 0; }
.og-summary-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: #bfdbfe;
}
.og-summary-num {
  font-size: 30px; font-weight: 800; line-height: 1;
  color: #fff; letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.og-summary-sub {
  font-size: 11px; color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.og-summary-spotlight { min-width: 180px; }
.og-spotlight-row { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.og-spotlight-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.og-spotlight-flag .og-flag-lg { height: 36px; width: auto; border-radius: 3px; }
.og-spotlight-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.15; }
.og-spotlight-count { font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.og-spotlight-count b { color: #fff; font-size: 14px; font-weight: 700; }
.og-summary-meta {
  align-self: flex-end; font-size: 10px; color: rgba(255,255,255,0.6);
  letter-spacing: 0.3px; position: relative; z-index: 1;
  padding-bottom: 2px;
}

/* === Ana grid: harita + sağ panel === */
.og-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 400px;
  gap: 16px;
  /* Iki kolon ayni yuksekligi (= harita yuksekligi) alir */
  height: calc(100vh - 200px);
  min-height: 540px;
}
.og-map-col, .og-side {
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.og-map-col { display: flex; flex-direction: column; }
.og-side {
  /* Grid: ilk iki satir (Filtreler + Top-5) icerige gore, son satir (chart)
     kalan tum alani alir. Boylece chart bitisi haritanin bitisine hizalanir. */
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
}
/* Son widget (Tüm Ülkeler chart) icerden flex; head sabit + scroll alani esnek */
.og-side > .og-widget:last-child {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.og-side > .og-widget:last-child > .og-card-head {
  flex: 0 0 auto;
}
.og-side > .og-widget:last-child > .og-chart-wrap {
  flex: 1 1 auto;
  min-height: 0;
}

/* === Kart (widget) taban stili === */
.og-widget, .og-map-card {
  background: var(--og-card); border: 1px solid var(--og-border);
  border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.og-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--og-border);
}
.og-card-head h3 {
  margin: 0; font-size: 13px; font-weight: 700;
  color: var(--klu-navy); text-transform: uppercase; letter-spacing: 0.8px;
}
.og-card-hint { font-size: 10px; color: var(--og-muted); font-weight: 400; }
.og-reset-link {
  background: transparent; border: 0; color: var(--klu-blue);
  font-size: 11px; cursor: pointer; font-weight: 600;
  padding: 3px 6px; border-radius: 4px;
}
.og-reset-link:hover { background: var(--klu-blue-lt); }

/* === Harita kartı === */
.og-map-card {
  padding: 14px; position: relative;
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
}
.og-map-card .og-card-head { flex: 0 0 auto; }
.og-map {
  width: 100%; flex: 1 1 auto; min-height: 0;
  border-radius: 8px; border: 1px solid var(--og-border);
  background: #f8fafc;
}
.og-country-card {
  position: absolute; top: 70px; left: 30px; z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--og-border);
  padding: 12px 16px; border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.25);
  animation: ogFadeIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 240px;
}
.og-country-card.hidden { display: none; }
@keyframes ogFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.og-country-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 30px;
}
.og-country-flag .og-flag { height: 24px; width: auto; border-radius: 3px; }
.og-country-info { flex: 1; }
.og-country-name {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--og-muted); margin-bottom: 2px;
}
.og-country-count {
  font-size: 15px; color: var(--og-ink); font-weight: 400;
}
.og-country-count b {
  font-size: 24px; font-weight: 800; color: var(--klu-navy);
  letter-spacing: -0.3px; font-variant-numeric: tabular-nums;
}
.og-country-close {
  width: 26px; height: 26px; border-radius: 999px; border: 0;
  background: var(--og-soft); color: var(--og-muted);
  font-size: 18px; cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.og-country-close:hover { background: #fecaca; color: #b91c1c; }

/* === Filtreler === */
.og-filters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.og-field { display: flex; flex-direction: column; gap: 4px; }
.og-field label {
  font-size: 10px; color: var(--og-muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; padding-left: 2px;
}
.og-field select {
  appearance: none; -webkit-appearance: none;
  background: var(--og-soft); border: 1px solid var(--og-border);
  color: var(--og-ink); padding: 9px 32px 9px 10px; border-radius: 8px;
  font-size: 12px; cursor: pointer; transition: all 0.15s;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
  width: 100%;
}
.og-field select:hover { border-color: var(--klu-blue); background-color: #fff; }
.og-field select:focus { outline: none; border-color: var(--klu-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

/* === Flag image (PNG flagcdn.com) — emoji yerine kullanilir === */
.og-flag {
  display: inline-block; vertical-align: middle;
  border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  object-fit: cover;
}
.og-flag-sm { height: 14px; width: auto; }
.og-flag-md { height: 18px; width: auto; }
.og-flag-lg { height: 30px; width: auto; }
.og-flag-xl { height: 48px; width: auto; }
.og-flag-placeholder { font-size: 18px; }

/* === Top-5 widget === */
.og-top5 { display: flex; flex-direction: column; gap: 10px; }
.og-top-item {
  display: grid; grid-template-columns: 28px 26px 1fr auto; align-items: center;
  gap: 10px; cursor: pointer; padding: 4px 2px;
  border-radius: 6px; transition: background 0.12s;
}
.og-top-item:hover { background: var(--og-soft); }
.og-top-rank {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--klu-navy);        /* uygulamanin lacivert tonu */
  color: #fff;                        /* beyaz rakam */
  border: 0;
  font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.35);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}
/* 1. sira biraz daha vurgulu */
.og-top-item:nth-child(1) .og-top-rank {
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.45),
              0 0 0 3px rgba(30, 58, 138, 0.18);
  font-size: 13px;
}
.og-top-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 22px;
}
.og-top-flag .og-flag { height: 18px; width: auto; }
.og-top-body { min-width: 0; }
.og-top-name {
  font-size: 13px; font-weight: 600; color: var(--og-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.og-top-bar {
  height: 6px; background: var(--og-border); border-radius: 999px;
  overflow: hidden; margin-top: 4px;
}
.og-top-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--klu-blue), #60a5fa);
  border-radius: 999px; transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.og-top-count {
  font-size: 15px; font-weight: 800; color: var(--klu-navy);
  font-variant-numeric: tabular-nums; letter-spacing: -0.3px;
}

/* === Donut chart (Kayıt Nedeni) === */
.og-donut-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center;
}
.og-donut-chart { position: relative; height: 120px; }
.og-donut-legend {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; color: var(--og-ink);
  max-height: 130px; overflow-y: auto;
}
.og-donut-legend::-webkit-scrollbar { width: 4px; }
.og-donut-legend::-webkit-scrollbar-thumb { background: var(--og-border); border-radius: 2px; }
.og-donut-legend-item { display: flex; align-items: center; gap: 6px; }
.og-donut-legend-swatch { width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0; }
.og-donut-legend-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-donut-legend-count {
  font-weight: 700; color: var(--klu-navy); font-variant-numeric: tabular-nums;
}

/* === Tüm ülkeler bar chart === */
.og-chart-wrap {
  width: 100%; position: relative;
  padding: 4px 0;
  flex: 1 1 auto;       /* parent widget icinde kalan alani al */
  min-height: 0;        /* flex scroll icin gerekli */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
.og-chart-wrap::-webkit-scrollbar { width: 6px; }
.og-chart-wrap::-webkit-scrollbar-track { background: var(--og-soft); border-radius: 3px; }
.og-chart-wrap::-webkit-scrollbar-thumb {
  background: #cbd5e1; border-radius: 3px;
}
.og-chart-wrap::-webkit-scrollbar-thumb:hover { background: var(--klu-blue); }
.og-chart-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 8px 8px 4px;
}

/* Tum Ulkeler — bayrakli bar satirlari */
.og-natbar {
  display: grid;
  grid-template-columns: 22px minmax(0, 1.3fr) minmax(60px, 2fr) auto;
  gap: 8px; align-items: center;
  padding: 4px 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.12s;
}
.og-natbar:hover { background: var(--og-soft); }
.og-natbar-flag {
  display: flex; align-items: center; justify-content: center;
  height: 14px;
}
.og-natbar-flag .og-flag {
  height: 12px; width: auto;
  border-radius: 1.5px;
  box-shadow: 0 0 0 1px rgba(15,23,42,0.08);
}
.og-natbar-name {
  font-size: 11px; color: var(--og-ink); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.og-natbar-bar {
  height: 8px; background: var(--og-soft); border-radius: 4px;
  overflow: hidden;
}
.og-natbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--klu-navy), var(--klu-blue));
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.og-natbar-count {
  font-size: 12px; font-weight: 700; color: var(--klu-navy);
  text-align: right; min-width: 36px;
  font-variant-numeric: tabular-nums;
}

/* === Harita marker (kurumsal renkler) === */
.og-num-icon {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff; font-weight: 700; border: 2.5px solid #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(185, 28, 28, 0.4);
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s;
}
.og-num-icon:hover { transform: scale(1.1); }
.og-klu-icon {
  background: linear-gradient(135deg, var(--klu-navy), var(--klu-navy-dark));
  color: #fff; font-weight: 800; font-size: 10px; letter-spacing: 1px;
  padding: 5px 10px; border-radius: 5px; border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(30, 58, 138, 0.45);
}

/* === Leaflet popup — glass/blur, ortalı === */
.leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  color: var(--og-ink);
  border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(30, 58, 138, 0.1);
  border: 0;
  padding: 0;
}
.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 6px -2px rgba(15, 23, 42, 0.1);
}
.leaflet-popup-content {
  margin: 14px 16px; font-size: 12px;
  max-height: 360px; overflow: hidden;
  width: 280px !important;
}
/* Leaflet popup container'ini marker'a gore ortala */
.leaflet-popup { margin-bottom: 12px; }
.og-rich-popup .leaflet-popup-close-button {
  color: var(--og-muted); font-size: 22px; font-weight: 300;
  padding: 4px 8px !important; right: 4px !important; top: 4px !important;
  background: rgba(255,255,255,0.6); border-radius: 50%;
  width: 24px; height: 24px; line-height: 18px !important;
}
.og-rich-popup .leaflet-popup-close-button:hover {
  background: #fecaca; color: #b91c1c;
}
.leaflet-popup-content b { color: var(--klu-navy); font-size: 14px; }
.leaflet-popup-content .og-popup-hr {
  border: 0; border-top: 1px solid var(--og-border); margin: 8px 0;
}
.og-popup-sec-label {
  font-size: 10px; color: var(--og-muted); text-transform: uppercase;
  letter-spacing: 0.7px; font-weight: 700; margin: 10px 0 6px;
}
.og-popup-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 3px 0; font-size: 11px; color: var(--og-ink);
  border-bottom: 1px dashed var(--og-border);
}
.og-popup-row:last-child { border-bottom: 0; }
.og-popup-row strong { color: var(--klu-blue); font-variant-numeric: tabular-nums; }

/* Bayrakli baslik */
.og-popup-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px; margin-bottom: 2px;
  border-bottom: 2px solid var(--klu-navy);
}
.og-popup-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 32px;
}
.og-popup-flag .og-flag { height: 28px; width: auto; border-radius: 3px; }
.og-popup-title { flex: 1; }
.og-popup-country {
  font-size: 15px; font-weight: 800; color: var(--klu-navy);
  letter-spacing: 0.2px; line-height: 1.1;
}
.og-popup-total {
  font-size: 11px; color: var(--og-muted); margin-top: 2px;
}
.og-popup-total b {
  font-size: 18px; color: var(--klu-blue); font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: -0.3px;
}

/* Bolum dagilim listesi */
.og-popup-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 230px; overflow-y: auto; padding-right: 4px;
}
.og-popup-list::-webkit-scrollbar { width: 5px; }
.og-popup-list::-webkit-scrollbar-track { background: transparent; }
.og-popup-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.og-popup-list::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.og-popup-item {
  padding: 6px 0;
  border-bottom: 1px solid var(--og-border);
}
.og-popup-item:last-child { border-bottom: 0; }
.og-popup-item-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; font-size: 11px; color: var(--og-ink); margin-bottom: 4px;
}
.og-popup-item-head span {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.og-popup-item-head strong {
  color: var(--klu-navy); font-weight: 800; font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.og-popup-bar {
  height: 4px; background: var(--og-soft); border-radius: 2px;
  overflow: hidden;
}
.og-popup-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--klu-blue), #60a5fa);
  border-radius: 2px;
}

/* === Anlaşma popup içi: tür rozetleri + üniversite listesi === */
.an-popup-types {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 6px 0; margin-top: 4px;
}
.an-popup-type {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  letter-spacing: 0.3px;
}
.an-popup-type.mou     { background: #fee2e2; color: #b91c1c; }
.an-popup-type.erasmus { background: #dbeafe; color: #1e40af; }
.an-popup-type.orhun   { background: #dcfce7; color: #15803d; }
.an-popup-type b { font-weight: 800; font-size: 11px; }

.an-popup-item {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 8px; align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--og-border);
  font-size: 11px;
}
.an-popup-item:last-child { border-bottom: 0; }
.an-type-badge {
  display: inline-block;
  font-size: 9px; font-weight: 800;
  padding: 2px 6px; border-radius: 3px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.an-type-badge.mou     { background: #fee2e2; color: #b91c1c; }
.an-type-badge.erasmus { background: #dbeafe; color: #1e40af; }
.an-type-badge.orhun   { background: #dcfce7; color: #15803d; }
.an-popup-uni {
  color: var(--og-ink); font-size: 11px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis;
}
.an-popup-link {
  color: var(--klu-blue); text-decoration: none;
  font-weight: 700; font-size: 14px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; background: var(--og-soft);
  flex-shrink: 0;
}
.an-popup-link:hover { background: var(--klu-blue); color: #fff; }

/* === Responsive === */
@media (max-width: 1100px) {
  .og-grid {
    grid-template-columns: 1fr;
    height: auto; min-height: 0;
  }
  .og-map-col, .og-side { height: auto; }
  .og-map-card { flex: none; }
  .og-map { flex: none; height: 50vh; min-height: 400px; }
  .og-side { display: flex; flex-direction: column; }
  .og-side > .og-widget:last-child { flex: 0 0 auto; overflow: visible; }
  .og-chart-wrap { max-height: 50vh; flex: none; }
  .og-summary-bar { grid-template-columns: repeat(2, 1fr); }
  .og-summary-spotlight { grid-column: 1 / -1; border-right: 0; }
  .og-summary-meta { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 620px) {
  .og-filters { grid-template-columns: 1fr; }
  .og-summary-bar { grid-template-columns: 1fr 1fr; padding: 14px; }
  .og-summary-num { font-size: 24px; }
}

/* ===== PUBLIC HOME (Uluslararasılaşma Bilgi Envanteri) ===== */

.hero {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.18) 0, transparent 45%),
    linear-gradient(135deg, var(--klu-primary-deep) 0%, var(--klu-primary) 70%);
  color: #fff;
  padding: 56px 24px 64px;
}
.hero-inner {
  max-width: 980px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.hero-logo {
  height: 130px; width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0,0,0,0.25));
  /* mavi mühür → hero gradient üzerinde net beyaz, hafif gölge */
}
.hero-title {
  margin: 4px 0 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.3px;
}
.hero-title span { font-weight: 600; opacity: 0.95; }
.hero-sub {
  margin: 0; max-width: 680px; font-size: 15px; line-height: 1.55; opacity: 0.95;
}
.hero-cta {
  display: inline-block; margin-top: 8px;
  background: #fff; color: var(--klu-primary-deep);
  padding: 12px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transition: transform .15s, box-shadow .15s;
}
.hero-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.hero-cta.sm { padding: 8px 18px; font-size: 13px; }

.stats-row {
  max-width: 1180px; margin: -32px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; z-index: 2;
}
.stat-card {
  background: #fff; border-radius: 14px; padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(15,23,42,.07);
  text-align: center; border-top: 3px solid var(--klu-primary);
}
.stat-card.stat-accent { border-top-color: #b91c1c; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--klu-ink); line-height: 1; }
.stat-label { font-size: 12px; color: #475569; margin-top: 6px; font-weight: 600; }
.stat-extra { font-size: 11px; color: #94a3b8; margin-top: 4px; }

.section {
  max-width: 1180px; margin: 48px auto 0; padding: 0 24px 32px;
}
.section-alt { background: #fff; padding-top: 32px; padding-bottom: 48px; margin-top: 64px; }
.section-head {
  text-align: center; margin-bottom: 22px;
}
.section-head h2 {
  margin: 0 0 6px; font-size: 22px; color: var(--klu-primary-deep); font-weight: 800;
}
.section-head p { margin: 0; color: #64748b; font-size: 14px; }

.home-split {
  display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 20px;
}
.home-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-side.wide { flex: 1; }

.home-map-wrap {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(15,23,42,.07);
}
.home-map { width: 100%; height: 460px; }
.home-map-hint {
  padding: 8px 14px; font-size: 12px; color: #64748b;
  border-top: 1px solid #e2e8f0; background: #f8fafc;
}

.card {
  background: #fff; border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(15,23,42,.07);
}
.card h3 {
  margin: 0 0 12px; font-size: 14px; color: var(--klu-primary-deep);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}

.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 70px 1fr 36px; align-items: center; gap: 8px; font-size: 13px; }
.bar-label { font-weight: 600; }
.bar-track { height: 10px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; transition: width .4s ease; }
.bar-num { text-align: right; font-weight: 700; color: #475569; }

.rank-list {
  list-style: none; counter-reset: rk; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow: auto;
}
.rank-list li {
  counter-increment: rk;
  display: grid; grid-template-columns: 1.4fr 1fr 36px;
  align-items: center; gap: 10px; font-size: 13px;
  padding: 6px 4px; border-bottom: 1px solid #f1f5f9;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list li::before {
  content: counter(rk); display: inline-block; width: 18px; text-align: right;
  color: #94a3b8; font-weight: 700; font-size: 11px; margin-right: 4px;
}
.rank-list .rk-c { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rank-list .rk-c { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-list .flag { width: 22px; height: 16px; flex-shrink: 0; border-radius: 2px; }
.rank-list .rk-bar { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.rank-list .rk-bar > span {
  display: block; height: 100%; background: var(--klu-primary); border-radius: 999px;
  transition: width .4s ease;
}
.rank-list .rk-n { text-align: right; font-weight: 700; color: #475569; }
.rank-list .empty { color: #94a3b8; font-style: italic; padding: 14px 0; text-align: center; }

.updated-note {
  text-align: center; color: #94a3b8; font-size: 12px; margin: 20px 0 0;
}

.home-footer {
  margin-top: 56px; padding: 22px 24px;
  background: #0f172a; color: #cbd5e1;
}
.home-footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.home-footer .muted-small { color: #94a3b8; font-size: 11px; margin-top: 2px; }

/* Harita popup */
.hp { font-size: 12px; line-height: 1.4; min-width: 180px; }
.hp-type {
  display: inline-block; color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.hp-uni { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.hp-country { color: #475569; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.hp-country .flag { width: 18px; height: 13px; border-radius: 2px; }
.hp-title { color: #64748b; margin-bottom: 6px; }

@media (max-width: 980px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .home-split { grid-template-columns: 1fr; }
  .home-map { height: 380px; }
}
@media (max-width: 620px) {
  .hero { padding: 36px 18px 48px; }
  .hero-title { font-size: 22px; }
  .hero-logo { height: 72px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .topbar { padding: 8px 14px; }
  .topbar .brand-text { display: none; }
}

/* ============================================
   ANA SAYFA — CINEMATIC HERO (animasyon)
   ============================================ */
.hv2-cinema {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
  background: #0a1f3d;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.hv2-cinema-map {
  position: absolute; inset: 0;
  background: #0a1f3d;
}
.hv2-cinema-map .leaflet-tile-pane {
  filter: brightness(0.85) saturate(0.95);
}
.hv2-cinema-map .leaflet-container { background: #0a1f3d; }
.hv2-cinema-shade {
  position: absolute; inset: 0; z-index: 400;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(0,15,30,0.45) 100%),
    linear-gradient(180deg, rgba(0,15,30,0.25) 0%, transparent 25%, transparent 75%, rgba(0,15,30,0.35) 100%);
}
.hv2-cinema-tag {
  position: absolute; left: 28px; bottom: 28px; z-index: 500;
  pointer-events: none;
}
.hv2-cinema-tag small {
  display: block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #fbbf24; font-weight: 700; margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.hv2-cinema-tag strong {
  font-size: 18px; font-weight: 800; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}

/* Ülke üzerindeki büyük etiket (tour label) — .hv2-cinema içinde */
.tour-label {
  position: absolute; left: 0; top: 0; z-index: 600;
  pointer-events: none; text-align: center;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tour-label.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tour-label .t-num {
  font-size: 84px; font-weight: 900; line-height: 0.95;
  color: #fbbf24;
  text-shadow:
    0 0 1px rgba(0,0,0,1),
    0 0 8px rgba(0,0,0,0.95),
    0 0 22px rgba(0,0,0,0.85),
    0 4px 8px rgba(0,0,0,1);
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
}
.tour-label .t-uyruk {
  font-size: 24px; font-weight: 700; color: #fff;
  margin-top: 8px; letter-spacing: 0.5px;
  text-shadow:
    0 0 1px rgba(0,0,0,1),
    0 0 6px rgba(0,0,0,1),
    0 0 16px rgba(0,0,0,0.85),
    0 2px 4px rgba(0,0,0,1);
}
.tour-label .t-sub {
  font-size: 11px; font-weight: 600; color: #fff;
  margin-top: 2px; letter-spacing: 4px; text-transform: uppercase;
  opacity: 0.9;
  text-shadow: 0 0 6px rgba(0,0,0,1), 0 0 12px rgba(0,0,0,0.8);
}

/* ============================================
   ANA SAYFA — INTRO (cinematic'in altında, başlık + CTA)
   ============================================ */
.hv2-intro {
  background: #fff;
  padding: 56px 24px 48px;
  border-bottom: 1px solid #e2e8f0;
}
.hv2-intro-inner {
  max-width: 920px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hv2-intro-logo {
  height: 86px; width: auto;
}
.hv2-intro-eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--klu-primary); font-weight: 700;
}
.hv2-intro-title {
  margin: 0; font-size: 36px; line-height: 1.1; font-weight: 800;
  letter-spacing: -0.5px; color: var(--klu-primary-deep);
}
.hv2-intro-title span {
  display: block; font-weight: 700; font-size: 26px; color: var(--klu-primary);
}
.hv2-intro-sub {
  margin: 4px 0 12px; max-width: 660px; font-size: 15px; line-height: 1.6;
  color: #475569;
}
.hv2-intro-cta {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 6px;
}

@media (max-width: 760px) {
  .hv2-cinema { height: 58vh; min-height: 380px; }
  .hv2-cinema-tag { left: 16px; bottom: 16px; }
  .tour-label .t-num { font-size: 56px; }
  .tour-label .t-uyruk { font-size: 18px; }
  .hv2-intro { padding: 36px 18px; }
  .hv2-intro-title { font-size: 26px; }
  .hv2-intro-title span { font-size: 20px; }
}

/* ============================================
   ANA SAYFA V2 — şovlu hero + sayaçlar + duo (eski, korundu)
   ============================================ */

.hv2-hero {
  position: relative; overflow: hidden;
  min-height: 560px;
  background: linear-gradient(135deg, #00132E 0%, #00437C 60%, #0a5da4 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}
.hv2-bg-map {
  position: absolute; inset: 0;
  z-index: 0; opacity: 0.55;
  filter: contrast(0.95) saturate(0.55);
  pointer-events: none;
}
.hv2-bg-map .leaflet-container { background: transparent; }

/* KLÜ pulse marker (hero arkaplan haritasında altın nokta) */
.hv2-klu-pulse { pointer-events: none; }
.hv2-klu-pulse .hv2-dot {
  position: absolute; left: 50%; top: 50%;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fbbf24; border: 2px solid #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(251,191,36,0.9), 0 0 4px rgba(255,255,255,0.6);
  z-index: 3;
}
.hv2-klu-pulse .hv2-pulse {
  position: absolute; left: 50%; top: 50%;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(251,191,36,0.45);
  transform: translate(-50%, -50%) scale(0.4);
  animation: hv2-pulse 1.8s ease-out infinite;
  z-index: 2;
}
.hv2-klu-pulse .hv2-pulse-2 { animation-delay: 0.9s; }
@keyframes hv2-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

/* Anlaşma ülkesi → KLÜ uçuş arc'ı */
.hv2-arc {
  filter: drop-shadow(0 0 5px rgba(251,191,36,0.7));
  stroke-linecap: round;
}
.hv2-hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0,19,46,0.7) 80%),
    linear-gradient(180deg, rgba(0,19,46,0.3) 0%, rgba(0,19,46,0.5) 100%);
}
.hv2-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1080px;
}
.hv2-hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 22px;
  padding: 48px 44px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hv2-hero-logo {
  height: 110px; width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 8px 22px rgba(0,0,0,0.35));
  margin-bottom: 4px;
}
.hv2-hero-eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; opacity: 0.85;
}
.hv2-hero-title {
  margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hv2-hero-title span {
  display: block; font-weight: 700; font-size: 28px;
  background: linear-gradient(90deg, #ffffff 0%, #cce8ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hv2-hero-sub {
  margin: 4px 0 12px; max-width: 660px; font-size: 15px; line-height: 1.6;
  opacity: 0.92;
}
.hv2-hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.hv2-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; border-radius: 14px;
  text-decoration: none; transition: all .2s ease;
  min-width: 280px; text-align: left;
}
.hv2-btn-icon { font-size: 26px; line-height: 1; }
.hv2-btn-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.hv2-btn-text strong { font-size: 15px; font-weight: 700; letter-spacing: 0.2px; }
.hv2-btn-text small { font-size: 12px; opacity: 0.85; font-weight: 500; }
.hv2-btn-arr { font-size: 22px; opacity: 0.7; transition: transform .2s; }
.hv2-btn:hover .hv2-btn-arr { transform: translateX(4px); opacity: 1; }
.hv2-btn-primary {
  background: #fff; color: var(--klu-primary-deep);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.hv2-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.32); }
.hv2-btn-ghost {
  background: rgba(255,255,255,0.10); color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.hv2-btn-ghost:hover { background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.6); }

/* === Sayaçlar === */
.hv2-counters {
  background: #fff; padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
}
.hv2-counters-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.hv2-counter { text-align: center; }
.hv2-counter-num {
  font-size: 36px; font-weight: 800; line-height: 1;
  color: var(--klu-primary); letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.hv2-counter-lbl {
  font-size: 11px; color: #475569; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-top: 6px;
}
.hv2-counter-extra {
  font-size: 11px; color: #94a3b8; margin-top: 4px;
}
.hv2-accent .hv2-counter-num { color: #b91c1c; }

/* === Duo kartlar === */
.hv2-duo {
  padding: 22px 24px; background: var(--klu-bg);
}
.hv2-duo-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.hv2-card {
  background: #fff; border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.07);
  text-decoration: none; color: var(--klu-ink);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, box-shadow .2s;
  border-top: 4px solid var(--klu-primary);
}
.hv2-card:hover { transform: translateY(-4px); box-shadow: 0 16px 42px rgba(15,23,42,0.14); }
.hv2-card-ogrenci { border-top-color: #b91c1c; }
.hv2-card-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.hv2-card-eyebrow {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #94a3b8; font-weight: 700;
}
.hv2-card-head h3 {
  margin: 4px 0 0; font-size: 18px; line-height: 1.2; font-weight: 800;
  color: var(--klu-primary-deep);
}
.hv2-card-arr {
  font-size: 22px; color: var(--klu-primary); font-weight: 700;
  transition: transform .2s; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.hv2-card-arr-text {
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--klu-primary);
  padding: 5px 11px; border: 1.5px solid var(--klu-primary);
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.hv2-card:hover .hv2-card-arr { transform: translateX(4px); }
.hv2-card:hover .hv2-card-arr-text { background: var(--klu-primary); color: #fff; }
.hv2-card-ogrenci .hv2-card-arr,
.hv2-card-ogrenci .hv2-card-arr-text { color: #b91c1c; }
.hv2-card-ogrenci .hv2-card-arr-text { border-color: #b91c1c; }
.hv2-card-ogrenci:hover .hv2-card-arr-text { background: #b91c1c; color: #fff; }
.hv2-card-preview {
  height: 180px; border-radius: 10px; overflow: hidden;
  background: #f1f5f9; border: 1px solid #e2e8f0;
}
.hv2-card-preview .leaflet-container { background: transparent; }
.hv2-card-preview-list {
  padding: 10px 12px; height: 180px; overflow: auto;
  display: flex; flex-direction: column; gap: 6px;
}
.hv2-mini-row {
  display: grid; grid-template-columns: 1.2fr 1fr 36px;
  align-items: center; gap: 10px; font-size: 13px;
}
.hv2-mini-c { font-weight: 600; color: #334155; }
.hv2-mini-bar { height: 7px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.hv2-mini-bar > span {
  display: block; height: 100%; background: var(--klu-primary);
  border-radius: 999px; transition: width .5s ease;
}
.hv2-card-ogrenci .hv2-mini-bar > span { background: #b91c1c; }
.hv2-mini-n { text-align: right; font-weight: 700; color: #475569; font-variant-numeric: tabular-nums; }
.hv2-card-foot {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.hv2-pill {
  font-size: 11px; padding: 4px 11px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.3px;
}
.hv2-pill-erasmus { background: #dbeafe; color: #1e40af; }
.hv2-pill-mou     { background: #fee2e2; color: #b91c1c; }
.hv2-pill-orhun   { background: #dcfce7; color: #15803d; }
.hv2-pill-info    { background: #f1f5f9; color: #334155; }

/* === Footer === */
.hv2-footer {
  background: var(--klu-primary-deep); color: #cbd5e1;
  padding: 14px 24px;
}
.hv2-footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.hv2-footer-sub { color: rgba(255,255,255,0.65); font-size: 11px; margin-top: 2px; max-width: 720px; }
.hv2-footer-credit {
  color: rgba(255,255,255,0.55); font-size: 11px; margin-top: 6px;
  padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 720px;
}
.hv2-footer-credit strong { color: #fbbf24; font-weight: 700; }
.hv2-btn-mini {
  background: #fff; color: var(--klu-primary-deep);
  padding: 8px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 13px;
  white-space: nowrap;
}
.hv2-btn-mini:hover { background: #e2e8f0; }

/* === Responsive === */
@media (max-width: 980px) {
  .hv2-hero { padding: 40px 16px; min-height: 480px; }
  .hv2-hero-card { padding: 32px 24px; }
  .hv2-hero-title { font-size: 30px; }
  .hv2-hero-title span { font-size: 22px; }
  .hv2-hero-cta { flex-direction: column; align-items: stretch; }
  .hv2-btn { min-width: 0; }
  .hv2-counters-inner { grid-template-columns: repeat(3, 1fr); }
  .hv2-duo-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hv2-hero-logo { height: 80px; }
  .hv2-hero-title { font-size: 24px; }
  .hv2-hero-title span { font-size: 18px; }
  .hv2-counters-inner { grid-template-columns: repeat(2, 1fr); }
  .hv2-counter-num { font-size: 32px; }
}

/* ============================================
   EMBED widget'ları (ir.klu.edu.tr iframe için)
   ============================================ */

.embed-body {
  margin: 0; padding: 0;
  background: transparent;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--klu-ink);
  display: flex; flex-direction: column; min-height: 0;
}
.embed-deep-link {
  display: block; padding: 8px 14px;
  background: var(--klu-primary); color: #fff;
  text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: 0.3px; text-align: center;
  transition: background .15s;
}
.embed-deep-link:hover { background: var(--klu-primary-dark); }
.embed-card {
  background: #fff; padding: 18px 18px 22px;
  border-bottom: 4px solid var(--klu-primary);
  box-shadow: 0 4px 14px rgba(15,23,42,0.07);
}
.embed-head h2 {
  margin: 0 0 2px; font-size: 18px; font-weight: 800;
  color: var(--klu-primary-deep);
}
.embed-sub { font-size: 11px; color: #64748b; }
.embed-stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px; margin-top: 14px;
}
.embed-stat {
  background: #f8fafc; border-radius: 10px; padding: 12px 8px;
  text-align: center; border-top: 3px solid #cbd5e1;
}
.embed-stat .n { font-size: 24px; font-weight: 800; line-height: 1; color: var(--klu-ink); }
.embed-stat .l { font-size: 10px; font-weight: 600; color: #64748b; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.embed-stat.hi { border-top-color: var(--klu-primary); background: #f0f7ff; }
.embed-stat.hi .n { color: var(--klu-primary-deep); }
.embed-stat.e { border-top-color: #1d4ed8; }
.embed-stat.m { border-top-color: #b91c1c; }
.embed-stat.o { border-top-color: #15803d; }
.embed-stat.k { border-top-color: #ea580c; }

.embed-top { margin-top: 16px; }
.embed-top-title {
  font-size: 11px; color: #64748b; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.embed-top-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.embed-top-list li {
  display: grid; grid-template-columns: 1.3fr 1fr 36px;
  align-items: center; gap: 8px; font-size: 12px;
}
.embed-top-list .t { font-weight: 600; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.embed-top-list .b { height: 6px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.embed-top-list .b > span { display: block; height: 100%; background: var(--klu-primary); border-radius: 999px; }
.embed-top-list .n { text-align: right; font-weight: 700; color: #475569; font-variant-numeric: tabular-nums; }

@media (max-width: 480px) {
  .embed-stats { grid-template-columns: repeat(3, 1fr); }
  .embed-stat .n { font-size: 20px; }
}
