/* ============================================================
   mcbu-school — Prestijli Kurumsal Üniversite Teması v2
   Renk paleti: Derin Okyanus #0a2342 + Turkuaz #0e7490
   Konsept: Modern Avrupa Araştırma Üniversitesi
   ============================================================ */

/* ---- Tema Değişkenleri ---- */
:root {
  /* Header toplam yüksekliği (brand bar + nav bar) — breakpoint'lerde güncellenir */
  --header-h: 142px;

  --uni-navy:        #0a2342;
  --uni-navy-mid:    #1a3d6e;
  --uni-navy-light:  #2a5a9a;
  --uni-teal:        #0e7490;
  --uni-teal-light:  #22a8c8;
  --uni-teal-pale:   #e0f5fb;
  --uni-surface:     #ffffff;
  --uni-bg:          #f4f7fb;
  --uni-bg-soft:     #edf2f8;
  --uni-text:        #1e2d3d;
  --uni-text-muted:  #5a6a7e;
  --uni-border:      #d1dce8;
  --uni-shadow-sm:   0 2px 8px rgba(10,35,66,0.08);
  --uni-shadow-md:   0 6px 24px rgba(10,35,66,0.12);
  --uni-shadow-lg:   0 12px 40px rgba(10,35,66,0.18);
}

/* ============================================================
   BODY
   ============================================================ */
body.school-theme {
  background-color: var(--uni-bg);
  font-family:  "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--uni-text);
}

body.school-theme .main.school-main {
  padding-top: var(--header-h, 142px);
}

/* ============================================================
   HEADER — Üç Katmanlı Prestijli Yapı
   ============================================================ */
.school-header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(10,35,66,0.2);
}

/* --- Üst şerit: topbar (sosyal medya + hızlı bağlantılar) --- */
body.school-theme .topbar {
  background: var(--uni-navy);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(14,116,144,0.4);
}

body.school-theme .topbar a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  text-decoration: none;
}

body.school-theme .topbar a:hover {
  color: var(--uni-teal-light);
}

/* --- Orta şerit: logo + kurumsal kimlik --- */
.school-header-brand {
  background: linear-gradient(135deg, #0d2d54 0%, #0a2342 100%);
  padding: 14px 0;
  border-bottom: 1px solid rgba(14,116,144,0.3);
  position: relative;
  overflow: hidden;
}

.school-header-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--uni-teal) 0%, var(--uni-teal-light) 50%, transparent 100%);
}

.school-logo-img {
  height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .school-logo {
    width: 100%;
    /* max-width: 720px; */
    justify-content: space-between;
  }
}

.school-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  align-items: center;
}

.school-name-tr {
  font-size: 1.1rem;
  color: #ffffff;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
}

.school-name-en {
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Alt şerit: navigasyon --- */
.school-header-nav {
  background: #ffffff;
  border-bottom: 3px solid var(--uni-teal);
}

.school-header-nav .navmenu {
  padding: 0;
}

.school-header-nav .navmenu > ul > li > a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--uni-navy) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 13px 15px;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
  position: relative;
}

.school-header-nav .navmenu > ul > li > a:hover,
.school-header-nav .navmenu > ul > li > a.active {
  color: var(--uni-teal) !important;
  border-bottom: 3px solid var(--uni-teal);
  background: rgba(14,116,144,0.04);
}

/* ============================================================
   DROPDOWN MENÜLER
   ============================================================ */
body.school-theme .navmenu .dropdown ul {
  background: #fff;
  border-top: 3px solid var(--uni-teal);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 32px rgba(10,35,66,0.16);
  padding: 6px 0;
}

body.school-theme .navmenu .dropdown ul li a {
  color: var(--uni-text);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 9px 20px;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

body.school-theme .navmenu .dropdown ul li a:hover {
  background: var(--uni-teal-pale);
  color: var(--uni-teal);
  padding-left: 28px;
}

/* ============================================================
   HIZLI MENÜ (sağ kenar)
   ============================================================ */
.school-quick-menu {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.school-qm-item {
  display: flex;
  align-items: center;
  background: var(--uni-navy);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: max-width 0.3s ease, background 0.2s ease, transform 0.2s ease, border-left 0.2s ease;
  border-radius: 8px 0 0 8px;
  height: 46px;
  max-width: 46px;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: -3px 0px 14px rgba(10,35,66,0.3);
  border-left: 3px solid transparent;
}

.school-qm-item i {
  flex: 0 0 46px;
  font-size: 1.05rem;
  text-align: center;
}

.school-qm-item span {
  padding-right: 16px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.school-qm-item:hover {
  background: var(--uni-teal);
  color: #fff !important;
  max-width: 200px;
  transform: translateX(-5px);
  border-left: 3px solid var(--uni-teal-light);
}

.school-qm-item:hover span {
  opacity: 1;
  transition: opacity 0.2s ease 0.12s;
}

/* ============================================================
   SECTION BAŞLIKLARI
   ============================================================ */
.school-section-title {
  font-family: "Roboto", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--uni-navy);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.school-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 4px;
  background: linear-gradient(90deg, var(--uni-teal), var(--uni-teal-light));
  border-radius: 2px;
}

/* ============================================================
   KART TASARIMLARI — Minimalist, temiz çizgiler
   ============================================================ */
.school-card {
  border: 1px solid var(--uni-border);
  border-top: 4px solid var(--uni-teal);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--uni-shadow-sm);
  /* transition: transform 0.25s ease, box-shadow 0.25s ease; */
  overflow: hidden;
}

.school-card:hover {
  /* transform: translateY(-3px); */
  box-shadow: var(--uni-shadow-md);
}

.school-card-header {
  background: var(--uni-bg-soft);
  color: var(--uni-navy);
  padding: 13px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--uni-border);
}

.school-card-header .accent-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--uni-teal);
  border-radius: 2px;
  margin-right: 4px;
}

/* ============================================================
   FAYDALI LİNKLER — İkon/Görsel Hızlı Erişim Grid'i
   ============================================================ */
.school-quicklinks-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.school-quicklinks-col {
  flex: 1 1 0;
  min-width: 0;
}

.school-quicklink-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px 8px;
  border: 1px solid var(--uni-border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--uni-shadow-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.school-quicklink-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--uni-shadow-md);
  border-color: var(--uni-teal);
}

.school-quicklink-tile-icon {
  font-size: 1.8rem;
  color: var(--uni-teal);
}

.school-quicklink-tile-img {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.school-quicklink-tile-title {
  font-size: 0.82rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--uni-navy);
  line-height: 1.3;
}

.school-badge {
  background: var(--uni-teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.school-badge-navy {
  background: var(--uni-navy);
  color: #fff;
}

/* ============================================================
   DUYURU / HABER LİSTE ELEMANLARI
   ============================================================ */
.school-list-item {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #edf2f8;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, padding-left 0.15s;
}

.school-list-item:hover {
  background: var(--uni-teal-pale);
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.school-list-item:last-child {
  border-bottom: none;
}

.school-list-date {
  min-width: 52px;
  text-align: center;
  background: var(--uni-navy);
  color: #fff;
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  flex-shrink: 0;
  border-bottom: 3px solid var(--uni-teal);
}

.school-list-date .day {
  font-size: 1.3rem;
  display: block;
  font-weight: 800;
  line-height: 1;
}

.school-list-date .month {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
}

.school-list-text {
  font-size: 0.87rem;
  color: var(--uni-text);
  line-height: 1.55;
  font-weight: 500;
}

.school-list-text:hover {
  color: var(--uni-teal);
}

/* ============================================================
   ETKİNLİK KARTLARI
   ============================================================ */
.school-event-card {
  border-left: 4px solid var(--uni-teal);
  background: #fff;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--uni-shadow-sm);
  transition: box-shadow 0.2s, border-left-color 0.2s;
  border-top: 1px solid var(--uni-border);
  border-right: 1px solid var(--uni-border);
  border-bottom: 1px solid var(--uni-border);
}

.school-event-card:hover {
  box-shadow: var(--uni-shadow-md);
  border-left-color: var(--uni-teal-light);
}

/* ============================================================
   AKADEMİK BÖLÜM — Daha havadar tasarım
   ============================================================ */
.school-academic-section {
  background: linear-gradient(175deg, #edf4fb 0%, #f4f7fb 60%, #ffffff 100%);
  border-top: 1px solid var(--uni-border);
  padding: 60px 0;
  position: relative;
}

.school-academic-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--uni-navy) 0%, var(--uni-teal) 50%, var(--uni-teal-light) 100%);
}

/* ============================================================
   İSTATİSTİKLER BÖLÜMÜ — Turkuaz gradyan
   ============================================================ */
.school-stats-section {
  background: linear-gradient(135deg, #062540 0%, #0a2342 55%, #0d3a65 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.school-stats-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(14,116,144,0.12);
  pointer-events: none;
}

.school-stats-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(14,116,144,0.07);
  pointer-events: none;
}

.school-stat-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.school-stat-item:last-child {
  border-right: none;
}

.school-stat-item::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--uni-teal);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.school-stat-number {
  font-family: "Roboto", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  display: block;
}

.school-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

/* ============================================================
   STATS — Mevcut section override (istatislikler partial'ı)
   ============================================================ */
body.school-theme .stats.section.accent-background {
  background: linear-gradient(135deg, #062540 0%, #0a2342 55%, #0d3a65 100%) !important;
  padding: 64px 0;
}

body.school-theme .stats.section.accent-background .stats-item {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 28px 20px;
}

body.school-theme .stats.section.accent-background .stats-item:last-child {
  border-right: none;
}

body.school-theme .stats.section.accent-background .stats-item .purecounter {
  color: #ffffff !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
}

body.school-theme .stats.section.accent-background .stats-item p {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 8px;
}

/* ============================================================
   ABOUT BÖLÜMÜ
   ============================================================ */
body.school-theme #about {
  background: #fff;
  border-top: 1px solid var(--uni-border);
  border-bottom: 1px solid var(--uni-border);
}

body.school-theme #about h3 {
  color: var(--uni-navy);
  font-family: "Roboto", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

body.school-theme #about ul li {
  display: flex;
  gap: 14px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

body.school-theme #about ul li .bi {
  color: var(--uni-teal);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

body.school-theme #about ul li h5 {
  color: var(--uni-navy);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

body.school-theme #about ul li p {
  color: var(--uni-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
body.school-theme #footer {
  background: linear-gradient(180deg, #081a30 0%, #050f1e 100%);
  color: rgba(255,255,255,0.75);
  border-top: 4px solid var(--uni-teal);
}

body.school-theme #footer .sitename {
  color: var(--uni-teal-light);
  font-weight: 800;
}

body.school-theme #footer h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(14,116,144,0.4);
}

body.school-theme #footer ul li a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, padding-left 0.2s;
  text-decoration: none;
  font-size: 0.86rem;
}

body.school-theme #footer ul li a:hover {
  color: var(--uni-teal-light);
  padding-left: 5px;
}

body.school-theme #footer .copyright {
  background: rgba(0,0,0,0.4);
  padding: 16px;
  margin-top: 24px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

body.school-theme #footer .copyright a {
  color: var(--uni-teal-light);
}

/* ============================================================
   SOSYAL MEDYA BUTONLARI (footer)
   ============================================================ */
body.school-theme .social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
}

body.school-theme .social-links a:hover {
  background: var(--uni-teal);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--uni-teal);
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
body.school-theme #scroll-top {
  background: var(--uni-teal);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(14,116,144,0.4);
}

body.school-theme #scroll-top:hover {
  background: var(--uni-navy);
}

/* ============================================================
   ROTA MENÜ BUTONU
   ============================================================ */
.school-header-actions {
  margin-left: auto;
}

body.school-theme .rota-btn,
body.school-theme .btn-rota,
body.school-theme .btn-getstarted {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 7px;
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  margin-left: auto;
}

body.school-theme .rota-btn:hover,
body.school-theme .btn-rota:hover,
body.school-theme .btn-getstarted:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

/* ============================================================
   MOBILE NAV TOGGLE
   ============================================================ */
.school-theme .mobile-nav-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--uni-navy);
  font-size: 1.5rem;
  cursor: pointer;
}

.school-theme .mobile-nav-toggle-text {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Menü açıkken (mobile-nav-active) kapatma ikonu koyu lacivert header şeridinin
   üzerine biniyor; yukarıdaki kural ile aynı özgüllükte olduğu için beyaza
   dönmesi gerekirken lacivert kalıp kayboluyordu. */
body.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
}

/* top-icon-bar, header'dan daha yüksek z-index'e sahip (bkz. TOP ICON BAR bölümü);
   menü açıkken tam ekran kaplayan panelin ve kapatma ikonunun üzerine biniyordu. */
body.mobile-nav-active .top-icon-bar {
  display: none;
}

/* ============================================================
   SECTION AYRAÇ
   ============================================================ */
.school-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--uni-border) 20%, var(--uni-teal) 50%, var(--uni-border) 80%, transparent 100%);
  border: none;
  margin: 40px 0;
}

/* ============================================================
   ANA SAYFA BÖLÜMÜ
   ============================================================ */
.school-home-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

/* ============================================================
   DUYURU KART KUTUCUKLARI (mini-box override)
   ============================================================ */
body.school-theme .mini-box {
  background: #fff;
  border: 1px solid var(--uni-border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Hover'da kartın üstünden kayarak beliren renkli şerit */
body.school-theme .mini-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--uni-teal), var(--uni-teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

body.school-theme .mini-box:hover {
  border-color: var(--uni-teal);
  box-shadow: 0 10px 24px rgba(14,116,144,0.16);
  transform: translateY(-3px);
}

body.school-theme .mini-box:hover::before {
  transform: scaleX(1);
}

/* Gün/ay rozeti (etkinlik kartlarındaki tarih rozetiyle aynı dil) */
body.school-theme .mini-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--uni-bg-soft);
  color: var(--uni-teal);
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

body.school-theme .mini-box:hover .mini-date-badge {
  background: var(--uni-teal);
  color: #fff;
}

body.school-theme .mini-date-day {
  font-size: 1.05rem;
  font-weight: 800;
}

body.school-theme .mini-date-month {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

body.school-theme .mini-new-pill {
  background: linear-gradient(135deg, var(--uni-teal), var(--uni-teal-light));
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(14,116,144,0.35);
  white-space: nowrap;
}

body.school-theme .mini-box h6 {
  color: var(--uni-navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

body.school-theme .mini-box p {
  color: var(--uni-text-muted);
  font-size: 0.72rem;
  margin: 0;
}

body.school-theme .mini-box-link {
  text-decoration: none;
  color: inherit;
}

/* Nav tab override */
body.school-theme .nav-tabs .nav-link.soft-tab {
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--uni-text-muted) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  transition: color 0.2s, border-color 0.2s;
}

body.school-theme .nav-tabs .nav-link.soft-tab:hover {
  color: var(--uni-teal) !important;
  border-bottom-color: var(--uni-teal);
}

body.school-theme .nav-tabs .nav-link.soft-tab.active {
  color: var(--uni-teal) !important;
  border-bottom: 3px solid var(--uni-teal);
  background: transparent;
}

/* ============================================================
   SLIDER — Overlay güçlendirildi
   ============================================================ */
body.school-theme .swiper-slide .slide-overlay {
  background: linear-gradient(to top, rgba(10,35,66,0.8) 0%, transparent 65%);
}

body.school-theme .slide-hero-caption {
  background: linear-gradient(to top, rgba(10,35,66,0.7), transparent);
}

body.school-theme .slide-hero-thumbs button.slide-thumb.active {
  border-color: var(--uni-teal);
}

/* ============================================================
   AKREDİTASYON LOGO
   ============================================================ */
.school-akreditasyon-logo {
  height: 54px;
  width: auto;
  /* opacity: 0.92;
  filter: brightness(0) invert(1); */
  margin-left: 8px;
}

/* ============================================================
   GLOBAL LİNK RENKLERİ
   ============================================================ */
body.school-theme a {
  color: var(--uni-teal);
}

body.school-theme a:hover {
  color: var(--uni-navy);
}

/* top-icon-bar daha yüksek specificity ile override */
body.school-theme .top-icon-bar a,
body.school-theme .top-icon-bar a:visited {
  color: #ffffff !important;
}

body.school-theme .top-icon-bar a:hover {
  color: rgba(255,255,255,0.5) !important;
}

/* Breadcrumb */
body.school-theme .breadcrumb-item.active {
  color: var(--uni-teal);
}

body.school-theme .breadcrumb-item + .breadcrumb-item::before {
  color: var(--uni-text-muted);
}

/* ============================================================
   TOP ICON BAR (üst bilgi şeridi)
   ============================================================ */
.top-icon-bar {
  background: var(--uni-navy);
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(14,116,144,0.3);
  z-index: 10000;
}

.top-icon-bar a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.75rem;
}

.top-icon-bar .top-icon-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   DUYURU / HABER WRAPPER
   ============================================================ */
.school-duyuru-haber-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--uni-shadow-sm);
  border: 1px solid var(--uni-border);
  overflow: hidden;
  margin-bottom: 32px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  body.school-theme .main.school-main {
    padding-top: var(--header-h);
  }

  /* Mobil menü koyu lacivert bir panel üzerinde açılıyor; üst seviye linkler
     var(--uni-navy) rengiyle panelin arka planıyla aynı renk olup kayboluyordu. */
  .school-header-nav .navmenu > ul > li > a {
    color: #fff !important;
  }

  .school-header-nav .navmenu > ul > li > a:hover,
  .school-header-nav .navmenu > ul > li > a.active {
    color: var(--uni-teal-light) !important;
  }
}

@media (max-width: 991px) {
  body.school-theme .main.school-main {
    padding-top: var(--header-h);
  }

  /* md–lg: logo biraz küçülsün */
  .school-akreditasyon-logo {
    height: 40px;
  }

  .school-header-nav .navmenu > ul > li > a {
    font-size: 0.9rem;
    padding: 12px 16px;
    border-bottom: none;
  }

  .school-quick-menu {
    display: none;
  }

  .school-home-row {
    grid-template-columns: 1fr;
  }

  /* Faydalı Linkler: tablet altında sarmalayıp 3 satıra bölünmek yerine
     yatayda kaydırılabilen tek satır (dokunmatik kaydırma) olsun. */
  .school-quicklinks-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .school-quicklinks-row::-webkit-scrollbar {
    display: none;
  }

  .school-quicklinks-col {
    flex: 0 0 auto;
    width: 100px;
    min-width: 0;
    scroll-snap-align: start;
  }
}

/* md altında (768px) site title + akreditasyon logosu artık gizlenmiyor;
   3 öğe tek satıra sığmadığında title alt satıra kompakt biçimde kayıyor. */
@media (max-width: 767px) {
  .school-logo {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
  }

  .school-logo-text {
    order: 3;
    flex: 1 0 100%;
    text-align: center;
  }

  .school-name-tr {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }

  .school-akreditasyon-logo {
    height: 30px;
    margin-left: 0;
  }

  /* Haberler: mobilde tek sütun yerine 2 sütun göster (md'de zaten 2 sütundu) */
  #haberler .portfolio-item {
    flex: 0 0 auto;
    width: 50%;
    max-width: 50%;
  }
}

@media (max-width: 575px) {
  body.school-theme .main.school-main {
    padding-top: var(--header-h);
  }

  .school-header-brand {
    padding: 10px 0;
  }

  .school-logo-img {
    height: 38px;
  }

  .school-akreditasyon-logo {
    height: 26px;
  }

  .school-name-tr {
    font-size: 0.62rem;
  }

  /* Faydalı Linkler: küçük telefonlarda daha küçük karo/ikon/yazı, yine tek satır kayan */
  .school-quicklinks-row {
    gap: 8px;
  }

  .school-quicklinks-col {
    width: 84px;
  }

  .school-quicklink-tile {
    padding: 14px 6px;
    gap: 6px;
  }

  .school-quicklink-tile-icon {
    font-size: 1.4rem;
  }

  .school-quicklink-tile-img {
    height: 34px;
  }

  .school-quicklink-tile-title {
    font-size: 0.72rem;
  }
}

/* ============================================================
   APP BUTTONS (footer)
   ============================================================ */
body.school-theme .app-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  min-width: 130px;
}

body.school-theme .app-btn:hover {
  background: var(--uni-teal);
  border-color: var(--uni-teal);
  color: #fff;
}

body.school-theme .app-btn .app-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

body.school-theme .app-btn .app-text small {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

body.school-theme .app-btn .app-text strong {
  font-size: 0.82rem;
  color: #fff;
}

body.school-theme .app-btn .huawei-icon {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
