/* Ad: Manrope ince (300) + soyad kalın (800); gövde 400–700 */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/*
 * Öğrenci Portfolyosu — yeni kurumsal tasarım (2026-10-25).
 * obs-info tasarımının (oi- öneki) dışarı dönük portfolyo sayfasına uyarlanmışı.
 * Sayfa OBS kabuğunun içinde değil, kendi HTML belgesidir; yine de bütün ölçüler pikseldir.
 * Yalnız açık tema. Şablonlar: sablonlar/index.php (profil), sablonlar/arama.php (keşif).
 * Bootstrap 4 ızgara/collapse/carousel/modal'ı JavaScript ürettiği için yüklü kalır;
 * bu dosya onun üstüne kurumsal dili giydirir.
 */

.oi {
  --theme-light-page: #f7f7fa;
  --theme-light-page-soft: #fbfbfd;
  --theme-light-surface: #ffffff;
  --theme-light-ink: #171436;
  --theme-light-heading: #211261;
  --theme-light-muted: #666b7e;
  --theme-light-gold-text: #8d5c1f;
  --theme-light-line: rgba(33, 18, 97, .11);
  --theme-light-line-strong: rgba(33, 18, 97, .18);
  --theme-light-shadow-soft: rgba(33, 18, 97, .05);
  --theme-light-hover: #f3f0fa;
  --theme-focus-ring: rgba(91, 63, 208, .35);
  --oi-lacivert: #211261;
  --oi-altin: #e1b77e;
  --oi-altin-zemin: rgba(225, 183, 126, .18);
  --oi-gumus: #b9bcc8;
  --oi-bronz: #c08a5e;
  --oi-yesil: #1f7a4d;
  --oi-yesil-zemin: rgba(31, 122, 77, .1);
  --oi-kirmizi: #a83232;
  --oi-kirmizi-zemin: rgba(168, 50, 50, .08);
  --oi-vurgu: #211261;
  --oi-hero-zemin: linear-gradient(180deg, #fbfbfe 0%, #f1f1f9 100%);
  --oi-halka-cizgi: rgba(33, 18, 97, .07);
  --oi-ic: 1240px;
  --oi-kenar: 28px;
  margin: 0; padding: 0;
  background: var(--theme-light-page); color: var(--theme-light-ink);
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 760px) { .oi { --oi-kenar: 16px; } }

/* ── Bootstrap sıfırlamaları: düşük özgüllükte, yalnız bu sayfanın içinde ── */
:where(.oi) *, :where(.oi) *::before, :where(.oi) *::after { box-sizing: border-box; }
:where(.oi) :where(h1, h2, h3, h4, h5) { font-family: inherit; text-transform: none; margin: 0; }
:where(.oi) a { color: inherit; text-decoration: none; }
:where(.oi) a:hover, :where(.oi) a:focus { text-decoration: none; color: inherit; }
:where(.oi) ul, :where(.oi) ol { margin: 0; padding: 0; list-style: none; }
:where(.oi) p { margin: 0; }
:where(.oi) img { max-width: 100%; }
:where(.oi) svg { flex: none; vertical-align: middle; }
:where(.oi) button { font: inherit; }

/* Ortak genişlik kabuğu */
.oi-kabuk { max-width: var(--oi-ic); margin: 0 auto; padding: 0 var(--oi-kenar); }

/* ───────────────────────── Üst çubuk ───────────────────────── */
.oi-tepe {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--theme-light-line);
}
.oi-tepe-ic { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.oi-marka { display: flex; align-items: center; gap: 14px; min-width: 0; }
.oi-marka img { display: block; width: auto; height: 42px; }
.oi-marka-ayrac { width: 1px; height: 30px; background: var(--theme-light-line-strong); }
.oi-marka-ad { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.oi-marka-ad b { color: var(--theme-light-heading); font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.oi-marka-ad small { color: var(--theme-light-gold-text); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.oi-tepe-sag { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* Üst çubuktaki arama: dar, gölgesiz, alçak */
.oi .aramacubugu.oi-tepe-arama { flex: 0 1 300px; padding: 3px 3px 3px 14px; box-shadow: none; background: var(--theme-light-page); }
.oi .oi-tepe-arama input.form-control.aramaInput { height: 30px; font-size: 13.5px; }
.oi .oi-tepe-arama #aramaYap { width: 32px; height: 32px; box-shadow: none; }
.oi .oi-tepe-arama #aramaYap img { width: 15px; height: 15px; }

/* ───────────────────────── Düğmeler ───────────────────────── */
.oi .oi-dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--theme-light-line-strong); background: var(--theme-light-surface);
  color: var(--oi-vurgu); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.oi .oi-dugme:hover { background: var(--theme-light-hover); border-color: var(--oi-vurgu); color: var(--oi-vurgu); }
.oi .oi-dugme-ana { border-color: var(--oi-lacivert); background: var(--oi-lacivert); color: #fff; box-shadow: 0 4px 12px rgba(33, 18, 97, .2); }
.oi .oi-dugme-ana:hover { border-color: #1b1a4b; background: #1b1a4b; color: var(--oi-altin); }
.oi .oi-dugme-kucuk { min-height: 30px; padding: 0 12px; font-size: 12px; }
.oi a:focus-visible, .oi button:focus-visible, .oi input:focus-visible, .oi select:focus-visible, .oi summary:focus-visible {
  outline: 3px solid var(--theme-focus-ring); outline-offset: 2px;
}

/* ───────────────────────── Karşılama (ortak) ───────────────────────── */
.oi-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 40px 0 36px; background: var(--oi-hero-zemin); border-bottom: 1px solid var(--theme-light-line);
}
.oi-hero::before, .oi-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid var(--oi-halka-cizgi); pointer-events: none;
}
.oi-hero::before { width: 900px; height: 900px; right: -300px; top: -430px; box-shadow: 0 0 0 120px rgba(33, 18, 97, .018); }
.oi-hero::after { width: 560px; height: 560px; right: -120px; top: -250px; border-style: dashed; }
.oi-ust-cizgi {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px;
  color: var(--oi-vurgu); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.oi-ust-cizgi::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.oi-ust-cizgi i { font-style: normal; color: var(--theme-light-muted); opacity: .6; }

/* ───────────────────────── Keşif sayfası karşılaması ───────────────────────── */
.oi-kesif-ic { max-width: 820px; }
.oi .oi-kesif-baslik {
  margin: 0; color: var(--theme-light-ink); font-size: 42px; font-weight: 300; line-height: 1.12; letter-spacing: -.025em;
}
.oi .oi-kesif-baslik em { font-style: normal; font-weight: 800; color: var(--theme-light-heading); }
.oi-kesif-ozet { margin: 14px 0 0; max-width: 620px; color: var(--theme-light-muted); font-size: 15px; line-height: 1.6; }

/* Arama çubuğu */
.oi-arama-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.oi .aramacubugu {
  position: relative; display: flex; align-items: center; gap: 8px; flex: 1 1 420px; min-width: 0; margin: 0;
  padding: 6px 6px 6px 18px; border: 1px solid var(--theme-light-line); border-radius: 999px;
  background: var(--theme-light-surface); box-shadow: 0 10px 28px rgba(33, 18, 97, .08);
}
.oi .aramacubugu::before {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor; color: var(--theme-light-muted);
  -webkit-mask: var(--oi-ara-ikon) center / contain no-repeat; mask: var(--oi-ara-ikon) center / contain no-repeat;
}
.oi { --oi-ara-ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.oi .aramainp { flex: 1 1 auto; min-width: 0; }
.oi .aramainp.yetenek { min-width: 0; }
.oi .aramaInput, .oi input.form-control.aramaInput {
  width: 100%; height: 36px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--theme-light-ink); font-size: 15px; font-weight: 500;
}
.oi .aramaInput:focus { outline: none; box-shadow: none; background: none; }
.oi .aramaInput::placeholder { color: var(--theme-light-muted); font-weight: 400; }
.oi .aramacubugu button[type="button"], .oi #aramaYap {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: var(--oi-lacivert); color: #fff; cursor: pointer;
  box-shadow: 0 6px 14px rgba(33, 18, 97, .25); transition: background .15s ease, transform .15s ease;
}
.oi #aramaYap:hover { background: #1b1a4b; transform: translateY(-1px); }
.oi #aramaYap img { width: 17px; height: 17px; filter: brightness(0) invert(1); }

/* Arama türü seçici (Bootstrap dropdown) */
.oi #aramaSelect { flex: none; }
.oi #dropdownMenuButton {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px;
  border: 1px solid var(--theme-light-line-strong); border-radius: 999px;
  background: var(--theme-light-surface); color: var(--oi-vurgu); font-size: 13px; font-weight: 700; box-shadow: none;
}
.oi #dropdownMenuButton:hover, .oi #dropdownMenuButton:focus { background: var(--theme-light-hover); color: var(--oi-vurgu); }
.oi .dropdown-menu.arama {
  margin-top: 6px; padding: 6px; border: 1px solid var(--theme-light-line); border-radius: 14px;
  background: var(--theme-light-surface); box-shadow: 0 16px 36px rgba(33, 18, 97, .14);
}
.oi .dropdown-menu.arama .dropdown-item {
  padding: 8px 12px; border-radius: 10px; color: var(--theme-light-ink); font-size: 13px; font-weight: 600;
}
.oi .dropdown-menu.arama .dropdown-item:hover, .oi .dropdown-menu.arama .dropdown-item:focus {
  background: var(--theme-light-hover); color: var(--theme-light-heading);
}

/* select2 (yetenek çoklu seçim) kurumsal dile çekilir */
.oi .select2-container { width: 100% !important; }
.oi .select2-container--default .select2-selection--multiple {
  min-height: 36px; padding: 0 2px; border: 0 !important; border-radius: 0; background: none;
}
.oi .select2-container--default .select2-selection--multiple .select2-selection__rendered { padding: 0; }
.oi .select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin: 4px 6px 4px 0; padding: 2px 10px; border: 1px solid var(--theme-light-line-strong); border-radius: 999px;
  background: var(--theme-light-hover); color: var(--theme-light-heading); font-size: 12.5px; font-weight: 700;
}
.oi .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color: var(--oi-vurgu); margin-right: 6px; }
.oi .select2-container--default .select2-search--inline .select2-search__field { margin-top: 7px; font-size: 14px; font-family: inherit; }
.select2-dropdown { border: 1px solid rgba(33, 18, 97, .11) !important; border-radius: 14px !important; overflow: hidden; font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: #211261 !important; }

/* Tanıtım şeridi (carousel) */
.oi .alanSlide { margin-top: 30px; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(33, 18, 97, .12); }
.oi .alanSlide img { display: block; width: 100%; height: auto; }
.oi .alanSlide .carousel-indicators li { width: 24px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 0; }
.oi .alanSlide .carousel-indicators li.active { background: var(--oi-altin); }

/* ───────────────────────── Bölümler ───────────────────────── */
.oi-govde { padding-top: 34px; padding-bottom: 10px; }
.oi-bolum { margin-bottom: 34px; }
.oi-bolum-bas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.oi .oi-bolum-baslik, .oi .baslik {
  position: relative; display: flex; align-items: center; gap: 10px; margin: 0;
  color: var(--theme-light-heading); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em;
}
.oi .oi-bolum-baslik svg, .oi .baslik svg { color: var(--oi-vurgu); opacity: .75; }
.oi-bolum-alt { margin: 4px 0 0; color: var(--theme-light-muted); font-size: 13px; }

/* Kart */
.oi-kart {
  position: relative; overflow: hidden; padding: 22px 26px 24px;
  border: 1px solid var(--theme-light-line); border-radius: 18px; background: var(--theme-light-surface);
  box-shadow: 0 6px 18px var(--theme-light-shadow-soft);
}
.oi-kart::after {
  content: ""; position: absolute; right: -180px; top: -200px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid var(--oi-halka-cizgi); pointer-events: none;
}
.oi-kart > * { position: relative; }
.oi-kart + .oi-kart { margin-top: 16px; }
.oi .oi-kart-baslik {
  display: flex; align-items: center; gap: 9px; margin: 0 0 16px;
  color: var(--theme-light-heading); font-size: 20px; font-weight: 700; letter-spacing: -.02em;
}
.oi .oi-kart-baslik svg { color: var(--oi-vurgu); opacity: .75; }
.oi-kart-ust { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.oi .oi-kart-ust .oi-kart-baslik { margin: 0; }

/* ───────── Boş alan uyarıları: başlığın altı boş kalabilir ───────── */
.oi [data-bos]:empty { display: block; }
.oi [data-bos]:empty::after {
  content: attr(data-bos); display: block; padding: 14px 16px;
  border: 1px dashed var(--theme-light-line-strong); border-radius: 12px; background: var(--theme-light-page-soft);
  color: var(--theme-light-muted); font-size: 13px; line-height: 1.5;
}
.oi [data-bos][data-bos-sade]:empty::after { padding: 8px 0; border: 0; background: none; font-size: 12.5px; }
/* AJAX ile dolan alanlarda uyarı gecikmeli belirir; yükleme sırasında parlamaz */
.oi [data-bos][data-bos-gec]:empty::after { width: 100%; opacity: 0; animation: oi-gecikmeli .2s linear 1.4s forwards; }
/* Dersler listesi hiç sınıf üretmediğinde (JS boşken de kapanış etiketi yazar).
   :has desteklenmeyen tarayıcıda uyarı hiç görünmez; sayfa yine düzgün çalışır.
   Gecikmeli açılış, AJAX yüklenirken uyarının bir an parlamasını önler. */
.oi-dersler-bos { display: none; }
.oi #derslerListesi:not(:has(.baslikyil)) + .oi-dersler-bos {
  display: block; opacity: 0; animation: oi-gecikmeli .2s linear 1.4s forwards;
}
@keyframes oi-gecikmeli { to { opacity: 1; } }
/* Projeler kartı: profil.js veri gelince slideDown ile açar, veri yoksa kapalı kalır */
.oi #projelerAnaDiv { display: none; }

/* ───────────────────────── Kişi kartları (arama sonucu) ───────────────────────── */
.oi .kisi_kutular { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.oi .Kutukisibilgi {
  position: relative; overflow: hidden; padding: 16px;
  border: 1px solid var(--theme-light-line); border-radius: 16px; background: var(--theme-light-surface);
  box-shadow: 0 6px 18px var(--theme-light-shadow-soft);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.oi .Kutukisibilgi:hover { border-color: rgba(225, 183, 126, .7); box-shadow: 0 14px 30px rgba(33, 18, 97, .1); transform: translateY(-2px); }
.oi .Kutukisibilgi .row { margin: 0; align-items: center; }
.oi .Kutukisibilgi [class*="col-"] { padding: 0; }
.oi .Kutukisibilgi .col-4 { padding-right: 14px; }
.oi .profil_foto { position: relative; }
.oi .profil_foto img, .oi img.kisiresim {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px;
  background: var(--theme-light-hover); box-shadow: 0 6px 16px rgba(33, 18, 97, .12);
}
.oi .oduller { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 0; }
.oi .oduller:empty { display: none; }
.oi .kisiadsoyad {
  margin: 2px 0 10px; color: var(--theme-light-heading); font-size: 15.5px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3;
}
.oi .bilgikutu { display: flex; flex-wrap: wrap; gap: 8px; }
.oi .bilgikutu a {
  display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 13px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.oi .bilgikutu .linka { border: 1px solid var(--theme-light-line-strong); background: var(--theme-light-surface); color: var(--oi-vurgu); }
.oi .bilgikutu .linka:hover { background: var(--theme-light-hover); border-color: var(--oi-vurgu); }
.oi .bilgikutu .linkb { border: 1px solid var(--oi-lacivert); background: var(--oi-lacivert); color: #fff; }
.oi .bilgikutu .linkb:hover { background: #1b1a4b; color: var(--oi-altin); }

/* Sayfalama */
.oi .pagination { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 0; padding: 0; }
.oi .pagination .page-item { margin: 0; }
.oi .pagination .page-link {
  display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--theme-light-line); border-radius: 10px; background: var(--theme-light-surface);
  color: var(--oi-vurgu); font-size: 13px; font-weight: 700;
}
.oi .pagination .page-link:hover { background: var(--theme-light-hover); border-color: var(--theme-light-line-strong); }
.oi .pagination .page-item.active .page-link { border-color: var(--oi-lacivert); background: var(--oi-lacivert); color: #fff; }

/* ───────────────────────── Proje kartları ───────────────────────── */
.oi .bilgi_kutu, .oi #sonEklenProjeler > [class*="col-"] { margin-bottom: 16px; }
.oi #sonEklenProjeler { margin: 0 -8px; }
.oi #sonEklenProjeler > [class*="col-"] { padding: 0 8px; }
.oi .bilgi_kutu, .oi #sonEklenProjeler .Ders_Kisi_Bilgi {
  position: relative;
}
/* Projeler: tek kart gövdesi; üst bilgi + açıklama + indirme */
.oi .bilgi_kutu {
  overflow: hidden; border: 1px solid var(--theme-light-line); border-radius: 16px; background: var(--theme-light-surface);
  box-shadow: 0 6px 18px var(--theme-light-shadow-soft);
}
.oi #sonEklenProjeler > [class*="col-"] > .Ders_Kisi_Bilgi {
  border: 1px solid var(--theme-light-line); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--theme-light-surface);
}
.oi #sonEklenProjeler > [class*="col-"] > .Proje_kisa_aciklama {
  border: 1px solid var(--theme-light-line); border-top: 0; border-radius: 0 0 16px 16px; background: var(--theme-light-page-soft);
}
.oi .Ders_Kisi_Bilgi {
  height: auto !important; margin: 0 !important; padding: 16px 18px 14px;
  border-bottom: 1px solid var(--theme-light-line); background: var(--theme-light-surface);
}
.oi .Ders_adi { color: var(--oi-vurgu); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.oi .unvan_adi_soyadi { margin-top: 2px; color: var(--theme-light-gold-text); font-size: 12px; font-weight: 600; }
.oi .Proje_adi { margin-top: 8px; color: var(--theme-light-heading); font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.oi .Proje_kisa_aciklama { padding: 14px 18px 16px; background: var(--theme-light-page-soft); }
.oi .Proje_kisa_aciklama .row { margin: 0; align-items: center; }
.oi .Proje_kisa_aciklama [class*="col-"] { padding: 0; }
.oi .Proje_kisa_aciklama .col-6:last-child { display: flex; justify-content: flex-end; }
.oi .proje_bilgi { color: var(--theme-light-muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.oi a.indir {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--oi-lacivert); background: var(--oi-lacivert); color: #fff;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.oi a.indir::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--oi-indir-ikon) center / contain no-repeat; mask: var(--oi-indir-ikon) center / contain no-repeat;
}
.oi { --oi-indir-ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); }
.oi a.indir:hover { background: #1b1a4b; border-color: #1b1a4b; color: var(--oi-altin); }

/* ───────────────────────── Yetenek etiketleri ───────────────────────── */
.oi .yetenek_kutular, .oi #yetenekler { display: flex; flex-wrap: wrap; gap: 10px; }
.oi .yetenek_kutu {
  display: inline-flex; align-items: stretch; overflow: hidden;
  border: 1px solid var(--theme-light-line-strong); border-radius: 999px; background: var(--theme-light-surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.oi .yetenek_kutu:hover { border-color: rgba(225, 183, 126, .85); box-shadow: 0 8px 20px var(--theme-light-shadow-soft); transform: translateY(-1px); }
.oi .yetenek_kutu > a { display: inline-flex; align-items: stretch; }
.oi .yetenek_alani { display: flex; align-items: center; }
.oi .alani { padding: 7px 14px; color: var(--theme-light-heading); font-size: 13px; font-weight: 700; white-space: nowrap; }
.oi .alani a { color: inherit; }
.oi .yetenek_brans { display: flex; align-items: center; background: var(--theme-light-hover); border-left: 1px solid var(--theme-light-line); }
.oi .yetenek_kutu:hover .yetenek_brans { background: var(--oi-altin-zemin); }
.oi .brans_isim { padding: 7px 13px; color: var(--theme-light-gold-text); font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* ───────────────────────── Profil karşılaması ───────────────────────── */
.oi-profil-ic { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 28px; }
.oi-portre { position: relative; align-self: end; }
.oi-portre img {
  display: block; width: 168px; height: 204px; max-width: none; object-fit: cover; border-radius: 18px;
  background: var(--theme-light-hover); box-shadow: 0 16px 34px rgba(33, 18, 97, .16);
}
.oi-hero-metin { min-width: 0; padding-bottom: 4px; }
.oi .oi-ad {
  position: relative; margin: 0; padding-bottom: 12px; color: var(--theme-light-ink);
  font-size: 38px; font-weight: 300; line-height: 1.15; letter-spacing: -.02em;
}
.oi .oi-ad::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 240px; max-width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--oi-lacivert) 0%, var(--oi-altin) 44%, transparent 100%);
}
.oi .oi-ad em { font-style: normal; font-weight: 800; color: var(--theme-light-heading); letter-spacing: -.01em; }
.oi-kurum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 14px 0 0; font-size: 14px; }
.oi-kurum b { color: var(--theme-light-heading); font-weight: 700; }
.oi-kurum span { padding-left: 12px; border-left: 1px solid var(--theme-light-line-strong); color: var(--theme-light-muted); }

/* Sosyal bağlar */
.oi-sosyal-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.oi-sosyal-satir:empty { display: none; }
.oi .sosyalmedya {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--theme-light-line-strong); background: var(--theme-light-surface); color: var(--oi-vurgu);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.oi .sosyalmedya:hover { background: var(--oi-lacivert); color: #fff; transform: translateY(-1px); }

/* Rozet kartı (sağ üst) */
.oi-rozet-kart {
  position: relative; align-self: center; width: 268px; padding: 14px 16px 12px;
  border: 1px solid var(--theme-light-line); border-radius: 16px;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(33, 18, 97, .08);
}
.oi-rozet-kart::before {
  content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--oi-altin), transparent);
}
.oi-rozet-bas { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--theme-light-line); }
.oi-rozet-ikon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--oi-lacivert); color: var(--oi-altin); }
.oi .oi-rozet-bas h2 { margin: 0; color: var(--theme-light-heading); font-size: 14px; font-weight: 700; }
.oi-rozet-bas small { display: block; color: var(--theme-light-gold-text); font-size: 11px; font-weight: 600; }
.oi .profil_odul { display: flex; align-items: center; justify-content: space-around; gap: 6px; margin: 0; padding-top: 10px; }
.oi-rozet { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 60px; }
.oi .profil_odul_ikon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.oi .altinRozet { background: var(--oi-altin-zemin); color: #a8742b; }
.oi .gumusRozet { background: rgba(185, 188, 200, .22); color: #6d7280; }
.oi .bronzRozet { background: rgba(192, 138, 94, .18); color: #9a5f33; }
.oi .profil_span, .oi .odul { color: var(--theme-light-heading); font-size: 15px; font-weight: 800; line-height: 1; }
.oi-rozet small { color: var(--theme-light-muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ───────────────────────── Profil gövdesi: iki sütun ───────────────────────── */
.oi-duzen { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: start; gap: 20px; }
.oi-yan { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.oi-panel { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Yan sütun listeleri */
.oi .profil_baslik {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--theme-light-line);
  color: var(--theme-light-heading); font-size: 15px; font-weight: 800; letter-spacing: -.01em;
}
.oi .egitim, .oi .Kazanımlar { display: block; }
.oi .egitim + .egitim { margin-top: 10px; }
.oi .egitim {
  position: relative; padding: 12px 14px 12px 16px; border: 1px solid var(--theme-light-line); border-radius: 12px;
  background: var(--theme-light-page-soft);
}
.oi .egitim::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--oi-altin); }
.oi .alt-baslik {
  margin-bottom: 6px; color: var(--oi-vurgu); font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.oi .madde { color: var(--theme-light-ink); font-size: 13px; line-height: 1.55; }
.oi .madde:empty { display: none; }
.oi .egitim .madde:first-of-type { color: var(--theme-light-heading); font-weight: 700; }
.oi .madde i { color: var(--theme-light-muted); font-style: italic; }
.oi .Kazanımlar { margin-top: 2px; }
.oi .oi-kart > .alt-baslik { margin-top: 16px; }
.oi .oi-kart > .alt-baslik:first-of-type { margin-top: 0; }
.oi .Kazanımlar .madde {
  position: relative; padding: 7px 0 7px 18px; border-top: 1px solid var(--theme-light-line);
}
.oi .Kazanımlar .madde::before { content: ""; position: absolute; left: 4px; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--oi-altin); }
.oi .Kazanımlar .alt-baslik { padding-top: 2px; }
.oi #iletisim2 .madde, .oi #iletisim2 a.madde {
  display: flex; align-items: center; gap: 8px; padding: 7px 0; color: var(--theme-light-ink); font-size: 13px; overflow-wrap: anywhere;
}
.oi #iletisim2 a.madde:hover { color: var(--oi-vurgu); text-decoration: underline; }
.oi #iletisim2 svg { color: var(--oi-vurgu); opacity: .8; }

/* Hakkında */
.oi-hakkinda { color: var(--theme-light-ink); font-size: 14.5px; line-height: 1.7; overflow-wrap: anywhere; }
.oi-hakkinda p { margin: 0 0 10px; }
.oi-hakkinda p:last-child { margin-bottom: 0; }

/* ───────────────────────── Dersler ───────────────────────── */
.oi .birimSecici, .oi select.form-control.birimSecici {
  width: 100%; max-width: 100%; height: 40px; padding: 0 36px 0 14px;
  border: 1px solid var(--theme-light-line-strong); border-radius: 12px; background-color: var(--theme-light-surface);
  color: var(--theme-light-heading); font-size: 13.5px; font-weight: 600; box-shadow: none;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211261' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.oi .birimSecici:empty { display: none; }
.oi .oi-kart-ust select.form-control.birimSecici { width: auto; min-width: 240px; max-width: 100%; }
.oi #derslerListesi { margin-top: 4px; }
.oi .baslikyil, .oi h3.baslik.baslikyil {
  margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--theme-light-line);
  color: var(--theme-light-heading); font-size: 16px; font-weight: 800; letter-spacing: -.01em;
}
.oi #derslerListesi > .baslikyil:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.oi #derslerListesi > .row { margin: 0 -8px; }
.oi #derslerListesi > .row > [class*="col-"] { padding: 0 8px; }
.oi .ders_kutu {
  margin-bottom: 16px; padding: 14px 16px 16px; border: 1px solid var(--theme-light-line); border-radius: 14px;
  background: var(--theme-light-page-soft);
}
.oi .ders_kutu > p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.oi .baslikdonem, .oi h3.baslik.baslikdonem {
  margin: 0 0 12px; color: var(--oi-vurgu); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.oi .btn.dersler, .oi a.dersler.derslerBaslik, .oi .btn-primary.dersler {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 14px;
  border: 1px solid var(--theme-light-line-strong); border-radius: 999px; background: var(--theme-light-surface);
  color: var(--theme-light-heading); font-size: 12.5px; font-weight: 600; line-height: 1.35; white-space: normal;
  text-align: left; box-shadow: none; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.oi a.dersler.derslerBaslik:hover, .oi a.dersler.derslerBaslik:focus, .oi a.dersler.derslerBaslik[aria-expanded="true"] {
  background: var(--oi-lacivert); border-color: var(--oi-lacivert); color: #fff;
}
/* Ders ayrıntısı: açılan panel */
.oi #derslerListesi .Kutu { margin: 0 0 16px; background: none !important; }
.oi #derslerListesi .card, .oi #derslerListesi .card-body {
  padding: 0; border: 0; border-radius: 16px; background: none;
}
.oi #derslerListesi .collapse .kutular {
  padding: 18px 20px; border: 1px solid var(--theme-light-line-strong); border-radius: 16px;
  background: linear-gradient(140deg, var(--oi-altin-zemin), transparent 60%), var(--theme-light-surface);
}
.oi #derslerListesi .collapse .kutular:empty { display: none; }
.oi .dersbaslik, .oi h3.baslik.dersbaslik {
  margin: 0 0 14px; color: var(--theme-light-heading); font-size: 17px; font-weight: 800; letter-spacing: -.02em;
}
.oi .icerik_kutu { background: var(--theme-light-surface); }
.oi .ders_baslik {
  display: flex; align-items: center; gap: 7px; margin: 0 0 10px !important; padding-bottom: 8px;
  border-bottom: 1px solid var(--theme-light-line);
  color: var(--oi-vurgu); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.oi .ogrenme_ciktilari { padding: 5px 0; color: var(--theme-light-ink); font-size: 13px; line-height: 1.6; }
.oi .ogrenme_ciktilari + .ogrenme_ciktilari { border-top: 1px dashed var(--theme-light-line); }

/* ───────────────────────── Uyarı / 404 ───────────────────────── */
.oi-uyari {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 40px auto; width: calc(100% - 32px); max-width: 560px;
  padding: 36px 28px; border: 1px solid var(--theme-light-line); border-radius: 20px; background: var(--theme-light-surface);
  box-shadow: 0 10px 26px var(--theme-light-shadow-soft); text-align: center;
}
.oi-uyari-ikon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--oi-kirmizi-zemin); color: var(--oi-kirmizi); }
.oi .oi-uyari h2 { color: var(--theme-light-heading); font-size: 20px; font-weight: 800; }
.oi-uyari p { color: var(--theme-light-muted); font-size: 14px; }

/* ───────────────────────── Alt bilgi ───────────────────────── */
.oi-alt { margin-top: 20px; padding: 24px 0 28px; border-top: 1px solid var(--theme-light-line); background: var(--theme-light-surface); }
.oi-alt-ic { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--theme-light-muted); font-size: 12.5px; }
.oi-alt-ic b { color: var(--theme-light-heading); font-weight: 700; }
.oi-alt-ic a:hover { color: var(--oi-vurgu); text-decoration: underline; }

/* ───────────────────────── Modallar (HTML'i korunur) ───────────────────────── */
#epostaModal .modal-content, #epostaMesaj .modal-content {
  border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(33, 18, 97, .22);
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}
#epostaModal .modal-header, #epostaMesaj .modal-header { padding: 18px 22px; border-bottom: 1px solid rgba(33, 18, 97, .11); background: #fbfbfd; }
#epostaModal .modal-title, #epostaMesaj .modal-title { color: #211261; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
#epostaModal .modal-body, #epostaMesaj .modal-body { padding: 20px 22px; color: #171436; font-size: 14px; }
#epostaModal .modal-body label { margin-bottom: 8px; color: #666b7e; font-size: 12.5px; font-weight: 600; }
#epostaModal textarea {
  min-height: 130px; padding: 12px 14px; border: 1px solid rgba(33, 18, 97, .18); border-radius: 12px;
  font-family: inherit; font-size: 14px; line-height: 1.55; resize: vertical;
}
#epostaModal textarea:focus { outline: 3px solid rgba(91, 63, 208, .35); outline-offset: 1px; border-color: #211261; }
#epostaModal .modal-footer, #epostaMesaj .modal-footer { padding: 14px 22px; border-top: 1px solid rgba(33, 18, 97, .11); background: #fbfbfd; }
#epostaModal .modal-footer .btn, #epostaMesaj .modal-footer .btn {
  min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: #211261 !important;
  font-size: 13px; font-weight: 700; box-shadow: 0 4px 12px rgba(33, 18, 97, .2);
}
#epostaModal .modal-footer .btn:hover, #epostaMesaj .modal-footer .btn:hover { background: #1b1a4b !important; color: #e1b77e !important; }

/* ───────────────────────── Duyarlı davranış ───────────────────────── */
@media (max-width: 1100px) {
  .oi-duzen { grid-template-columns: minmax(0, 1fr); }
  .oi-yan { position: static; }
  .oi-profil-ic { grid-template-columns: auto minmax(0, 1fr); }
  .oi-rozet-kart { grid-column: 1 / -1; width: 100%; max-width: 420px; }
  .oi .oi-kesif-baslik { font-size: 34px; }
  .oi .oi-ad { font-size: 32px; }
  .oi .oi-bolum-baslik, .oi .baslik { font-size: 21px; }
}
@media (max-width: 760px) {
  .oi-tepe-ic { min-height: 60px; }
  .oi-marka img { height: 34px; }
  .oi-marka-ad small { display: none; }
  .oi .aramacubugu.oi-tepe-arama { display: none; }
  .oi .oi-kart-ust select.form-control.birimSecici { width: 100%; min-width: 0; }
  .oi-hero { padding: 28px 0 26px; }
  .oi .oi-kesif-baslik { font-size: 27px; }
  .oi-kesif-ozet { font-size: 14px; }
  .oi .aramacubugu { flex: 1 1 100%; }
  .oi #aramaSelect, .oi #dropdownMenuButton { width: 100%; justify-content: center; }
  .oi .alanSlide { margin-top: 22px; border-radius: 14px; }
  .oi-profil-ic { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .oi-portre img { width: 104px; height: 126px; border-radius: 14px; }
  .oi .oi-ad { font-size: 26px; }
  .oi-kurum span { padding-left: 0; border-left: 0; }
  .oi-rozet-kart { max-width: none; }
  .oi-govde { padding-top: 24px; }
  .oi-bolum { margin-bottom: 26px; }
  .oi-kart { padding: 18px 16px; border-radius: 16px; }
  .oi .kisi_kutular { grid-template-columns: minmax(0, 1fr); }
  .oi .Proje_kisa_aciklama .col-6 { flex: 0 0 100%; max-width: 100%; }
  .oi .Proje_kisa_aciklama .col-6:last-child { justify-content: flex-start; margin-top: 12px; }
  .oi #derslerListesi > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .oi #derslerListesi .collapse .kutular { padding: 14px; }
  .oi .alani, .oi .brans_isim { padding: 6px 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .oi *, .oi *::before, .oi *::after { transition: none !important; }
}
