/*
 * Hacettepe Üniversitesi – Yüksek Kontrast Teması
 * Kaynak: style.css
 * WCAG 2.1 AA/AAA uyumlu
 *
 * Renk kararları:
 *   Arka plan   : #000000  (siyah)
 *   Birincil metin : #ffffff  (beyaz)
 *   Bağlantılar  : #ffff00  (sarı  – siyah üzerinde 21:1 oran)
 *   Vurgu/aktif  : #ff6677  (canlı pembe-kırmızı)
 *   İkincil metin: #eeeeee
 *   Kenarlıklar  : #ffffff
 *   Kart arka planı: #111111
 */

/* ─── Genel gövde ─────────────────────────────────────────────────────────── */
body {
  background-color: #000 !important;
  color: #fff !important;
  font-family: "Open Sans", sans-serif;
  font-size: .9em;
}

/* İç sayfa arka planları – görselleri kaldır, düz siyah kullan */
.body_icsayfa,
.ic_arastirma,
.ic_ogretim,
.ic_inovasyon,
.ic_saglik,
.ic_uluslararasi,
.ic_yerleskedeyasam,
.ic_hakkinda,
.ic_ogrenci,
.ic_personel {
  background-color: #000 !important;
  background-image: none !important;
}

/* ─── Bağlantılar ─────────────────────────────────────────────────────────── */
a {
  color: #ffff00 !important;
  text-decoration: underline !important;
  transition: .3s;
}
a:hover, a:active, a:focus {
  color: #fff !important;
  background-color: #ffff00 !important;
  outline: 3px solid #fff;
  text-decoration: underline !important;
}

/* ─── Başlıklar ───────────────────────────────────────────────────────────── */
h1 {
  font-size: 1.6em;
  font-family: "Open Sans", sans-serif;
  color: #fff !important;
  border-bottom: 2px solid #fff;
  margin-bottom: 10px;
  padding: 10px 0;
}
h2 {
  font-size: 1.2em;
  font-family: "Open Sans", sans-serif;
  color: #fff !important;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.3em;
  font-family: "Open Sans", sans-serif;
  color: #fff !important;
  margin-bottom: 10px;
}
.icerik_baslik {
  font-size: 1.6em;
  font-family: "Open Sans", sans-serif;
  color: #fff !important;
  border-bottom: 2px solid #fff;
  margin-bottom: 10px;
  padding: 10px 0;
}

/* ─── İçerik alanı ────────────────────────────────────────────────────────── */
.icerik {
  min-height: 500px;
  font-size: 1.1em;
  background-color: #000 !important;
  color: #fff !important;
  position: relative;
  padding: 10px 0;
}
.icerik img { max-width: 100%; }

.icerik a,
.icerik a:hover {
  color: #ffff00 !important;
  text-decoration: underline !important;
}
.icerik a:hover {
  background-color: #333 !important;
}

.icerik p {
  text-align: start;
  line-height: 1.7;
  max-width: 75ch;
  color: #fff !important;
}

/* ─── Genel ana / ic wrapper ──────────────────────────────────────────────── */
.genel_ana {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 800px;
  height: 100%;
  background: #000 !important;
  z-index: 900 !important;
  position: -webkit-sticky;
  position: sticky;
}
.genel_ic {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 800px;
  background: #111 !important;
  z-index: 900 !important;
  position: relative;
}
.genel_ic2 {
  margin: 0 auto;
  padding: 40px !important;
  min-height: 800px;
  background: #000 !important;
  z-index: 900 !important;
  position: relative;
  color: #fff !important;
}

/* ─── Üst çubuk ───────────────────────────────────────────────────────────── */
.ust {
  background: #000 !important;
  background-image: none !important;
  border-bottom: 2px solid #fff;
  position: fixed;
  top: 0;
  z-index: 1000;
  height: 120px;
  transition: all .5s;
}
.ust a {
  font-size: 11px;
  color: #ffff00 !important;
  text-shadow: none !important;
}
.ust a:hover {
  color: #fff !important;
  text-decoration: underline;
  background-color: #333 !important;
}
.ust-scrolled {
  background: #000 !important;
  height: 70px;
  box-shadow: 0 0 0 2px #fff;
}
.ust-scrolled a { color: #ffff00 !important; }
.ust-scrolled a:hover { color: #fff !important; }
.ust_beyaz { background: #000 !important; }

/* ─── Logo ────────────────────────────────────────────────────────────────── */
.logo {
  position: relative;
  /* Beyaz logo SVG — siyah arka plan üzerinde görünür */
  background: url("../images/hu_logo_beyaz_y.svg") left center no-repeat;
  background-size: 300px 55px;
}
.logo_en {
  position: relative;
  background: url("../images/hu_logo_beyaz_en.svg") left center no-repeat;
  background-size: 300px 55px;
}
/* Scroll sonrası da beyaz logo kalsın */
.logo-scrolled {
  background-size: auto 45px;
  background-image: url("../images/hu_logo_beyaz_y.svg") !important;
}
.logo_link { position: absolute; top: 0; width: 300px; margin-left: -300px; z-index: 100; }
.logo_link img { width: 100%; height: 100%; display: block; }
.logo_link-scrolled { margin-left: 0; }

/* ─── Menü ────────────────────────────────────────────────────────────────── */
.menu {
  color: #fff !important;
  float: left;
  height: 100px;
  width: 100%;
  padding-left: 200px;
  transition: all .5s;
  z-index: 20000;
}
.menu-scrolled { height: 70px; padding: 15px 0 0 0; z-index: 20000; }
.menu-scrolled a { color: #ffff00 !important; }

.menu_ust {
  height: 35px;
  font-size: 1.1em;
  text-align: right;
  padding: 10px 0 0 0;
  color: #fff !important;
  transition: all .5s;
}
.menu_ust a {
  color: #ffff00 !important;
  padding: 0 2px;
  background: #333 !important;
  border: 1px solid #fff;
}
.menu_ust-scrolled { display: none; height: 1px !important; }

.menu_genel { height: 65px; }
.aktif_menu { border-bottom: 3px solid #ffff00; }

/* Ana nav */
.main-nav,
.main-nav * { margin: 0; padding: 0; list-style: none; }
.main-nav > ul > li { position: relative; white-space: nowrap; float: left; }
.main-nav a {
  display: block;
  position: relative;
  color: #ffff00 !important;
  padding: 18px 0 0 0;
  transition: .3s;
  margin: 0 0 0 15px;
  font-size: 1.1em;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
  color: #fff !important;
  background-color: #333 !important;
  text-decoration: underline !important;
}

/* Açılır menü */
.main-nav .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 20px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #111 !important;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #fff;
  transition: ease all .3s;
  border-top: 3px solid #ffff00;
}
.main-nav .drop-down:hover > ul { opacity: 1; top: 100%; visibility: visible; }
.main-nav .drop-down li { min-width: 180px; position: relative; }
.main-nav .drop-down ul a {
  padding: 5px 15px;
  font-size: 12px;
  color: #ffff00 !important;
}
.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
  color: #000 !important;
  background: #ffff00 !important;
}
.main-nav .drop-down > a:after {
  padding-left: 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "";
}
.main-nav .drop-down .drop-down ul { top: 0; left: calc(100% - 30px); }
.main-nav .drop-down .drop-down:hover > ul { opacity: 1; top: 0; left: 100%; }
.main-nav .drop-down .drop-down > a { padding-right: 35px; }
.main-nav .drop-down .drop-down > a:after { content: ""; position: absolute; right: 15px; }

/* ─── Mobil menü ──────────────────────────────────────────────────────────── */
.mobil_menu_logo {
  background: url("../images/hu_logo_beyaz.svg") 20px center no-repeat;
  background-size: auto 35px;
  width: 100%;
  height: 45px;
  display: none;
}
.mobil_menu_alt { display: none; }
.mobil_menu_alt a { font-size: .8em; color: #ffff00 !important; }

.mobile-nav {
  position: fixed;
  top: 0; bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -312px;
  width: 312px;
  padding-top: 18px;
  background: #000 !important;
  transition: .4s;
  box-shadow: 0 0 5px #fff;
  border-left: 3px solid #ffff00;
}
.mobile-nav * { margin: 0; padding: 0; list-style: none; }
.mobile-nav a {
  display: block;
  position: relative;
  color: #ffff00 !important;
  padding: 5px 20px;
  font-weight: 500;
  border-bottom: 1px solid #444;
}
.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #000 !important;
  background-color: #ffff00 !important;
  text-decoration: none;
}
.mobile-nav .drop-down > a:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "";
  padding-left: 10px;
  position: absolute;
  right: 15px;
}
.mobile-nav .active.drop-down > a:after { content: ""; }
.mobile-nav .drop-down > a { padding-right: 35px; }
.mobile-nav .drop-down ul { display: none; overflow: hidden; }
.mobile-nav .drop-down li { padding-left: 20px; }

.mobile-nav-toggle {
  position: fixed;
  right: 20px; top: 25px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all .4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}
.mobile-nav-toggle i { margin: 0; color: #ffff00 !important; }
.mobile-nav-toggle-scrolled i { color: #ffff00 !important; }

.mobile-nav-overly {
  width: 100%; height: 100%;
  z-index: 9997;
  top: 0; left: 0;
  position: fixed;
  background: rgba(0, 0, 0, .85);
  overflow: hidden;
  display: none;
}
.mobile-nav-active { overflow: hidden; }
.mobile-nav-active .mobile-nav { left: 0; }
.mobile-nav-active .mobile-nav-toggle i { color: #ffff00 !important; }

/* Cool-link alt çizgisi */
.cool-link { display: inline-block; color: #ffff00 !important; text-decoration: none; }
.cool-link::after { content: ""; display: block; width: 0; height: 2px; background: #ffff00; opacity: 1; transition: width .3s; }
.cool-link:hover::after { width: 100%; }

@media (max-width: 991px) {
  .logo { background-size: 160px !important; }
  .menu { padding-left: 160px !important; }
  .menu_ust { display: none; }
  .mobil_menu_logo { display: block; }
  .mobil_menu_alt { display: block; }
}

/* ─── Slider / Resimler ───────────────────────────────────────────────────── */
.resimler,
.resimler2,
.resimler3 {
  background-color: #111 !important;
}
.resim_ic {
  width: 100%; height: 250px;
  transition: all .5s;
  position: relative;
  background: #111 !important;
}
.resim_ic_ana {
  width: 100%; height: 100vh;
  background: #111 !important;
  transition: all .5s;
  position: relative;
  top: 0;
  z-index: 2 !important;
}

.klasor_baslik {
  position: absolute;
  bottom: 120px;
  width: 100%;
  text-align: center;
  color: #ffff00 !important;
  font-size: 3em;
  font-weight: 900;
  text-shadow: 0 0 4px #000;
}
.klasor_baslik2 {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffff00 !important;
  font-size: 3em;
  font-weight: 900;
  background: #000;
  border: 2px solid #fff;
  padding: 10px 20px;
  border-radius: 8px;
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 768px) {
  .klasor_baslik2 { font-size: 2em; }
}

/* ─── Swiper ──────────────────────────────────────────────────────────────── */
.swiper-container { width: 100%; height: 100%; z-index: 2 !important; position: relative !important; }
.swiper-slide {
  background-color: #111 !important;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 2 !important;
  /* Slayt görseli üzerine karartma katmanı */
  filter: contrast(1.1) brightness(0.6);
}

.slide_txt {
  width: 350px;
  position: absolute;
  bottom: 8%;
  padding: 20px;
  z-index: 100;
  background: #000 !important;
  border: 2px solid #fff;
  height: auto;
}
.slide_baslik { font-size: 1.8em; color: #ffff00 !important; font-weight: 600; text-align: left; }
.slide_baslik a { color: #ffff00 !important; }
.slide_ozet { font-size: 1em; color: #fff !important; margin: 0 0 15px 0; }
.slide_ayrac { width: 50%; height: 4px; background: #ffff00; border-radius: 10px; margin: 8px 0; }
.slide_devam a { font-size: 1em; color: #ffff00 !important; text-decoration: underline !important; }

.swiper-pagination-bullet {
  width: 20px; height: 20px;
  text-align: center; line-height: 20px;
  font-size: 12px;
  color: #000 !important;
  opacity: 1 !important;
  background: #fff !important;
  border: 2px solid #000;
}
.swiper-pagination-bullet-active {
  color: #000 !important;
  background: #ffff00 !important;
}
.swiper-button-next { right: 20px !important; }
.swiper-button-prev { left: 20px !important; }
.swiper-button-next,
.swiper-button-prev {
  color: #ffff00 !important;
  font-weight: 900;
  text-shadow: 0 0 5px #000;
  background: rgba(0,0,0,.7);
  padding: 10px;
}

/* ─── Haberler ────────────────────────────────────────────────────────────── */
.haber_card {
  border: 2px solid #fff;
  border-radius: 0;
  background: #111 !important;
  padding-bottom: 40px;
  position: relative;
}
.haber_resim {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 165px;
  border-radius: 0;
  filter: contrast(1.2) brightness(0.75);
}
.haber_card_ic { padding: 15px; }
.haber_card_baslik { font-weight: 900; font-size: 1.3em; color: #fff !important; }
.haber_ayrac { width: 40%; height: 3px; background: #ffff00; border-radius: 10px; margin: 5px 0; }
.haber_ozet { font-size: .9em; color: #eee !important; }
.haber_ayrinti_but a { font-weight: bold; color: #ffff00 !important; }
.haber_ayrinti_but a:hover { color: #fff !important; background: #333 !important; }

.haber_alt {
  border-top: 1px solid #666;
  position: absolute;
  bottom: 0;
  height: 40px;
  width: 100%;
  padding: 10px;
  font-size: .8em;
  background: #111 !important;
}
.haber_alt i { color: #eee !important; }
.haber_alt span { color: #eee !important; }
.haber_alt .ayrac { color: #eee !important; }

.haber a {
  border: 2px solid #fff;
  padding: 20px;
  text-align: left;
  color: #ffff00 !important;
  display: block;
  font-size: 1.1em;
}
.haber a:hover { background-color: #ffff00 !important; color: #000 !important; }

.haber_ic {
  position: relative;
  background: #111 !important;
  min-height: 100px;
  border: 2px solid #fff;
}
.haber_ic_resim {
  width: 100%; height: 180px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.7) contrast(1.2);
}
.haber_ic_bilgi { padding: 20px; position: relative; }
.haber_ic_baslik { font-weight: normal; color: #fff !important; }

/* ─── Duyurular / Etkinlikler ─────────────────────────────────────────────── */
.duyuru_liste { margin-bottom: 30px; }
.duyuru_liste p { margin-bottom: 10px; }
.duyuru_liste a { text-decoration: underline !important; color: #ffff00 !important; }
.duyuru_liste a:hover { color: #fff !important; background: #333 !important; }

.tarih { display: block; text-align: left; color: #ffff00 !important; font-size: .8em; }

.tum { margin: 20px 0 10px 0; display: block; text-align: center; }
.tum a {
  padding: 10px;
  font-size: .8em;
  text-align: center;
  border: 2px solid #fff;
  color: #ffff00 !important;
}
.tum a:hover { color: #000 !important; background: #ffff00 !important; text-decoration: none; }

.etkinlik { position: relative; background: #111 !important; min-height: 100px; border: 1px solid #444; }
.etkinlik_resim {
  width: 100%; height: 160px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.7);
}
.etkinlik_bilgi { padding: 20px 10px 10px 10px; position: relative; }
.etkinlik_tarih {
  width: 50px; height: 50px;
  background: #000 !important;
  border: 2px solid #fff;
  position: absolute;
  padding: 0;
  top: -35px; left: 10px;
}
.etkinlik_gun { font-size: 1.4em; color: #ffff00 !important; font-weight: bold; display: block; text-align: center; padding: 0; margin: 0 !important; line-height: 1.5em !important; }
.etkinlik_ay { font-size: .8em; line-height: .8em !important; color: #ffff00 !important; display: block; text-align: center; padding: 0; width: 100%; }
.etkinlik_saat { font-size: .7em; color: #ccc !important; text-align: center; padding: 0; }
.etkinlik_baslik { font-weight: bold; color: #fff !important; }
.etkinlik_ozet { font-size: .8em; color: #ddd !important; }
.etkinlik_gun2 { font-size: .8em; color: #fff !important; display: block; text-align: center; padding: 3px 0; }
.etkinlik_gun2 span { color: #ffff00 !important; font-weight: bold; }

/* ─── Portal kartları ─────────────────────────────────────────────────────── */
.portal_card {
  border: 2px solid #fff;
  border-radius: 0;
  background: #111 !important;
  padding-bottom: 40px;
  position: relative;
}
.portal_card_ic { padding: 0; }
.portal_card_baslik {
  font-weight: 700;
  font-size: 1em;
  border-bottom: 2px solid #fff;
  padding: 10px 15px 10px 35px;
  min-height: 64px;
  display: flex;
  align-items: center;
  color: #fff !important;
  background: #000 !important;
}
.portal_card_liste { padding: 15px; font-size: .9em; color: #eee !important; }
.portal_card_liste p { margin: 5px 0 !important; position: relative; padding-left: 20px; }
.portal_card_liste p:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "";
  position: absolute;
  left: 0;
  color: #aaa !important;
}
.portal_card_liste a { text-decoration: underline !important; color: #ffff00 !important; }

/* ─── Kutu bileşeni ───────────────────────────────────────────────────────── */
.kutu {
  border: 2px solid #fff;
  border-radius: 0;
  position: relative;
  background: #111 !important;
}
.kutu_resim {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 220px;
  filter: brightness(0.7);
}
.kutu_ic { padding: 15px; color: #eee !important; font-size: 12px; }
.kutu_baslik { font-weight: bold; text-align: center; color: #fff !important; }
.kutu_baslik a { color: #ffff00 !important; font-size: 20px; font-weight: 900; }

/* ─── Kısayollar ──────────────────────────────────────────────────────────── */
.kisayollar {
  border: 2px solid #fff;
  border-radius: 0;
  padding: 10px;
  display: block;
  background: #111 !important;
}
.kisayol {
  background-repeat: no-repeat;
  background-size: 50px;
  padding-top: 55px;
  background-position: top center;
  text-align: center;
  color: #fff !important;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
footer {
  height: auto !important;
  min-height: calc(100vh - 70px) !important;
  border-top: 2px solid #fff;
  background-color: #000 !important;
  background-image: none !important;
  color: #fff !important;
  padding: 20px 0;
  position: relative;
  z-index: 100;
}
footer a { color: #ffff00 !important; }
footer a:hover { color: #fff !important; background-color: #333 !important; }
footer .active { color: #ffff00 !important; }

.footer_logo {
  background-image: url("../images/hu_logo_beyaz.svg");
  background-size: auto 50px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%; height: 60px;
  margin-top: 10px;
}
/* footer_daha: okunması güç görsel yerine metin */
.footer_daha { display: none; }

.footer_adres {
  line-height: 2em;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  font-size: .8em;
  color: #eee !important;
}
.footer_sosyal { font-size: 1.3em; text-align: center; }
.footer_sosyal a { padding: 0 20px; color: #ffff00 !important; }
.footer_menu { text-align: center; }
.footer_copyright { font-size: .8em; text-align: center; color: #ccc !important; }
.footer_hastane { color: #ffff00 !important; font-size: 1.5em; }

.footer_menu_ust_baslik { font-size: 1.2em; padding: 0 0 5px 0; font-weight: bold !important; color: #fff !important; }
.footer_menu_baslik {
  font-size: 1em;
  line-height: 2em !important;
  color: #fff !important;
}
.footer_menu_baslik:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "";
  padding-left: 10px;
  color: #aaa !important;
  font-size: .8em;
}
.footer_menu_div { margin-bottom: 15px; }
.footer_menu_div ul { margin: 0 !important; padding: 0 0 0 20px; }
.footer_menu_alt { margin: 0; padding: 5px 0 5px 20px; }
.footer_menu_alt li { padding: 0 !important; margin: 3px 0 !important; }

/* ─── İç sayfa menüsü ─────────────────────────────────────────────────────── */
.menu_ic {
  background-color: #111 !important;
  padding: 10px 20px;
  border-left: 5px solid #ffff00;
}
.menu_ic li { background: transparent !important; }
.menu_ic li i { display: none; }

.ic_sayfa_menu { border-radius: 0 !important; }
.ic_sayfa_menu a {
  font-size: 1.2em;
  min-height: 70px;
  text-decoration: none !important;
  color: #ffff00 !important;
}
.ic_sayfa_menu a:hover {
  background-color: #ffff00 !important;
  color: #000 !important;
  text-decoration: none !important;
}
.ic_sayfa_menu2 {
  position: sticky;
  top: 100px;
  border-radius: 0 !important;
}
.ic_sayfa_menu2 a {
  border-radius: 0 !important;
  font-size: .9em;
  text-decoration: none !important;
  color: #ffff00 !important;
}
.ic_sayfa_menu2 a:hover {
  background-color: #ffff00 !important;
  color: #000 !important;
}

@media (max-width: 768px) {
  .ic_sayfa_menu2 { position: static; }
}

/* ─── Alt menü / yan panel ────────────────────────────────────────────────── */
.alt_sayfa_menu .nav-link { padding: 8px 0 !important; border-bottom: 1px solid #555; color: #ffff00 !important; }
.alt_ic_baslik { color: #fff !important; font-size: 1.6em; font-weight: bold; }
.alt_ic_baslik span { font-size: .9em; font-weight: normal; color: #eee !important; }
.icerik_ozet { font-size: 1.2em; padding: 10px 0; font-weight: 400; color: #fff !important; }

.alt_menu { font-size: .8em; }
.alt_menu p { margin: 0 0 5px 0 !important; color: #eee !important; }
.alt_menu_baslik { color: #ffff00 !important; font-weight: bold; }
.alt_menu_link { display: block; font-size: .9em; color: #ffff00 !important; padding: 2px 0; }

/* ─── Site devam (sticky footer bar) ─────────────────────────────────────── */
.site_devam {
  width: 100%;
  height: 30px;
  background-color: #222 !important;
  text-align: center;
  color: #fff !important;
  padding: 5px 0 0 0;
  font-size: .9em;
  letter-spacing: 5px;
  z-index: 100 !important;
  bottom: 0;
  position: sticky;
  border-top: 1px solid #fff;
}
.site_devam a { z-index: 1 !important; color: #ffff00 !important; }

/* Bölüme göre site_devam renkleri – hepsini tek renge (erişilebilir) sabitle */
.ic_arastirma .site_devam,
.ic_arastirma2 .site_devam,
.ic_ogretim .site_devam,
.ic_ogretim2 .site_devam,
.ic_inovasyon .site_devam,
.ic_saglik .site_devam,
.ic_uluslararasi .site_devam,
.ic_yerleskedeyasam .site_devam,
.ic_hakkinda .site_devam {
  background-color: #222 !important;
  color: #fff !important;
}
.ic_arastirma .site_devam a,
.ic_arastirma2 .site_devam a,
.ic_ogretim .site_devam a,
.ic_ogretim2 .site_devam a,
.ic_inovasyon .site_devam a,
.ic_saglik .site_devam a,
.ic_uluslararasi .site_devam a,
.ic_yerleskedeyasam .site_devam a,
.ic_hakkinda .site_devam a {
  color: #ffff00 !important;
}

/* Bölüme göre genel_ic2 bağlantı renkleri */
.ic_arastirma .genel_ic2 a:hover,
.ic_arastirma2 .genel_ic2 a:hover,
.ic_ogretim .genel_ic2 a:hover,
.ic_ogretim2 .genel_ic2 a:hover,
.ic_inovasyon .genel_ic2 a:hover,
.ic_inovasyon .genel_ana a:hover,
.ic_saglik .genel_ic2 a:hover,
.ic_saglik .genel_ana a:hover,
.ic_uluslararasi .genel_ic2 a:hover,
.ic_uluslararasi .genel_ana a:hover,
.ic_yerleskedeyasam .genel_ic2 a:hover,
.ic_yerleskedeyasam .genel_ana a:hover,
.ic_hakkinda .genel_ic2 a:hover,
.ic_hakkinda .genel_ana a:hover {
  color: #ffff00 !important;
  background-color: #333 !important;
}

/* ─── İstatistik / Metrik paneli ──────────────────────────────────────────── */
.metrik_ana {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 10%;
  max-height: 80vh;
  overflow: auto;
  z-index: 12000;
  width: 100%;
  padding: 10px;
  color: #fff !important;
  background-color: #000 !important;
  border: 2px solid #fff;
}
.metrik_ana * { color: #fff !important; text-shadow: none; }
.metrik_ana .stat_border { border-color: #fff; }

.metrik_ana_yeni {
  display: flex;
  justify-content: center;
  overflow: auto;
  z-index: 12000;
  width: 100%;
  padding: 10px;
}
.metrik_ana_yeni * { color: #fff !important; }
.metrik_ana_yeni .stat { border-color: #666 !important; }
.metrik_ana_yeni .stat_sayi { font-size: 2.5em; font-weight: 600; color: #ffff00 !important; }
.metrik_ana_yeni .stat_text { text-align: center; font-size: 13px; padding-top: 5px; color: #eee !important; }

.stat { text-align: center; border-right: 1px solid #555; padding: 20px; }
.stat:last-child { border: 0 !important; }
.stat_icon { display: block; font-size: 2em; text-align: center; color: #ffff00 !important; }
.stat_ayrac { width: 50%; height: 2px; border-radius: 5px; background-color: #555; margin: 5px auto; }
.stat_sayi { display: block; font-size: 3em; font-weight: 900; text-align: center; color: #ffff00 !important; line-height: 1em; }
.stat_text { text-align: center; color: #ccc !important; font-size: 13px; }

/* Bölüme özgü stat renkleri – sarı ile eşitle */
.ic_arastirma .stat_sayi,
.ic_ogretim .stat_sayi,
.ic_ogretim2 .stat_sayi,
.ic_inovasyon .stat_sayi,
.ic_saglik .stat_sayi,
.ic_uluslararasi .stat_sayi,
.ic_yerleskedeyasam .stat_sayi,
.ic_hakkinda .stat_sayi {
  color: #ffff00 !important;
}

@media (max-width: 768px) {
  .metrik_ana { width: 90%; left: 5%; bottom: 5%; display: block; }
  .stat_sayi { font-size: 2em; padding-bottom: 5px; }
  .stat { border-bottom: 1px solid #555; border-right: none !important; }
  .metrik_ana_yeni { flex-wrap: wrap; }
  .metrik_ana_yeni .stat { border: none !important; }
  .metrik_ana_yeni .stat_sayi { font-size: 1.8em; }
  .metrik_ana_yeni .stat_text { font-size: 12px; }
}

/* ─── Ana sayfa bölümleri ─────────────────────────────────────────────────── */
.baslik_ana { font-size: 4em; color: #fff !important; font-weight: 900; margin-bottom: 10px; text-align: center; }
.baslik_ana_kucuk { font-size: 2em; color: #fff !important; font-weight: 900; margin-bottom: 10px; text-align: center; }

.section_haberler {
  height: auto !important;
  background-color: #000 !important;
  padding-bottom: 40px !important;
}

.section_hu {
  width: 100%;
  min-height: 500px;
  display: block;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 55% auto;
  margin-bottom: 50px;
  z-index: 10000;
  position: relative;
  /* Arka plan görselini karart */
  filter: contrast(1.1);
}

.section_div {
  background-color: #000 !important;
  border: 2px solid #fff;
  color: #fff !important;
  padding: 40px;
  width: 60%;
  min-height: 400px;
  font-size: 1em;
}
.sec_baslik { font-size: 3em; font-weight: 900; margin-bottom: 10px; color: #ffff00 !important; }
.sec_alt_baslik { font-size: 1.8em; margin-bottom: 10px; color: #fff !important; }
.sec_bilgi { font-size: 1em; color: #eee !important; }
.sec_bilgi img { max-width: 95%; }

/* Bölüm renkleri – hepsini sarıya çek */
.bg_color_arastirma .sec_baslik,
.bg_color_arastirma .sec_baslik a,
.bg_color_inovasyon .sec_baslik,
.bg_color_inovasyon .sec_baslik a,
.bg_color_egitim .sec_baslik,
.bg_color_egitim .sec_baslik a,
.bg_color_saglik .sec_baslik,
.bg_color_saglik .sec_baslik a,
.bg_color_yerleske .sec_baslik,
.bg_color_yerleske .sec_baslik a,
.bg_color_uluslararasi .sec_baslik,
.bg_color_uluslararasi .sec_baslik a,
.bg_color_hakkinda .sec_baslik,
.bg_color_hakkinda .sec_baslik a {
  color: #ffff00 !important;
}
.bg_color_arastirma .stat2_border,
.bg_color_inovasyon .stat2_border,
.bg_color_egitim .stat2_border,
.bg_color_saglik .stat2_border,
.bg_color_yerleske .stat2_border,
.bg_color_uluslararasi .stat2_border,
.bg_color_hakkinda .stat2_border {
  border-color: #ffff00 !important;
}

.section_footer {
  background-image: none !important;
  background-color: #000 !important;
  border: 2px solid #fff;
  color: #fff !important;
  padding: 50px 0;
}
.section_footer a { color: #ffff00 !important; }
.section_footer a:hover { color: #fff !important; background-color: #333 !important; }

.stat2 { text-align: center; }
.stat2_sayi { font-weight: 900; font-size: 2.3em; color: #ffff00 !important; }
.stat2_yazi { font-size: 1em; color: #eee !important; }
.stat2_border { border-right: 4px solid #ffff00; }

.sec_menuler { margin: 10px 0 0 0; }
.sec_menuler a {
  padding: 0 20px;
  float: left;
  border-right: 1px solid #ffff00;
  color: #ffff00 !important;
  font-size: 1.2em;
}
.sec_menuler a.s_last { border: none !important; }
.sec_menuler a.s_first { padding-left: 0; }
.sec_menuler a:hover { color: #000 !important; background-color: #ffff00 !important; }
.section_detay a { font-weight: bold; color: #ffff00 !important; }
.section_detay a:hover { color: #fff !important; background-color: #333 !important; }
a.devam_link { font-weight: bold; color: #ffff00 !important; }
a.devam_link:hover { color: #fff !important; background-color: #333 !important; }

@media (min-width: 1024px) { .section_hu { min-height: 580px; } }
@media (max-width: 991px) {
  .section_hu { background-size: 75% auto; min-height: 450px; }
  .section_div { padding: 20px; width: 70%; }
  .sec_menuler a { float: none; border: none !important; padding: 5px 0; display: block; font-size: .9em; }
  .sec_menuler .clearfix { margin: 0 !important; }
}
@media (max-width: 767px) {
  .section_hu { background-size: 75% auto; min-height: 50px; background-image: none !important; }
  .section_div { padding: 20px; width: 100%; font-size: .9em; min-height: 350px; }
  .stat2_sayi { font-size: 1.8em; }
  .stat2_yazi { font-size: .9em; }
}

/* ─── Grid / portal ───────────────────────────────────────────────────────── */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 20px;
}
.grid-container > div { background-color: #111 !important; }

.portal_kutu {
  min-height: 300px;
  border: 2px solid #fff;
  padding: 60px 40px;
  position: relative;
  background: #111 !important;
}
.portal_kutu_baslik { font-size: 1.4em; font-weight: 600; color: #fff !important; }
.portal_kutu_ozet { font-size: .9em; color: #ddd !important; padding-top: 20px; }
.portal_kutu_kesfet { position: absolute; bottom: 30px; font-size: .9em; }
.portal_kutu_kesfet a { color: #ffff00 !important; }

.portal_kutu_buyuk {
  grid-row-start: span 2;
  grid-column-start: span 2;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-color: #000 !important;
  filter: brightness(0.7);
}
.portal_kutu_buyuk_text {
  position: absolute;
  bottom: 30px; left: 30px;
  color: #fff;
  padding: 20px;
  z-index: 15;
  background: rgba(0,0,0,.85) !important;
  border: 2px solid #fff;
}
.portal_kutu_buyuk_text_bg {
  background: rgba(0,0,0,.75);
  width: 100%; height: 100%;
  position: absolute;
  bottom: 0; left: 0;
  z-index: 10;
}
.portal_kutu_buyuk_baslik { font-size: 3em; font-weight: 600; color: #ffff00 !important; }
.portal_kutu_buyuk_ozet { font-size: 1em; color: #eee !important; padding-top: 20px; }
.portal_kutu_buyuk_kesfet { padding: 15px 0 0 0; font-size: 1.1em; }
.portal_kutu_buyuk_kesfet a { color: #ffff00 !important; }

.ic_arastirma .portal_kutu_buyuk_kesfet a,
.ic_ogretim .portal_kutu_buyuk_kesfet a,
.ic_ogretim2 .portal_kutu_buyuk_kesfet a,
.ic_inovasyon .portal_kutu_buyuk_kesfet a,
.ic_saglik .portal_kutu_buyuk_kesfet a,
.ic_uluslararasi .portal_kutu_buyuk_kesfet a,
.ic_yerleskedeyasam .portal_kutu_buyuk_kesfet a,
.ic_hakkinda .portal_kutu_buyuk_kesfet a {
  color: #ffff00 !important;
}

.portal_kisayol {
  border: 2px solid #fff;
  text-align: center;
  padding: 30px;
  font-size: 1em;
  font-weight: 300;
  height: 100%;
  min-height: 150px;
  display: flex;
  align-items: center;
  background: #111 !important;
  color: #fff !important;
}
.portal_kisayol span { display: block; font-size: 1.3em; font-weight: 900; color: #ffff00 !important; }
.portal_kisayol a { width: 100%; text-align: center; color: #ffff00 !important; }
.portal_kisayol:hover { background-color: #222 !important; }

.portal_kutu2 {
  min-height: 280px;
  border: 2px solid #fff;
  padding: 60px 40px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  filter: brightness(0.65);
}
.portal_kutu2_baslik {
  font-size: 1.5em;
  font-weight: 600;
  position: absolute;
  bottom: 0; left: 0;
  padding: 30px;
  z-index: 14;
}
.portal_kutu2_baslik a { color: #ffff00 !important; }
.portal_kutu2_baslik a:hover { text-decoration: underline; }

.portal_kutu3 {
  min-height: 280px;
  border: 2px solid #fff;
  position: relative;
  background: #111 !important;
}
.portal_kutu3_resim {
  width: 100%; height: 220px;
  overflow: hidden;
  display: block;
}
.portal_kutu3_resim img {
  width: 100%; height: auto;
  filter: grayscale(100%) brightness(0.7);
  transition: all .5s ease;
}
.portal_kutu3:hover img {
  filter: grayscale(0%) brightness(0.85);
  width: 105%;
}
.portal_kutu3_baslik { font-size: 1.3em; font-weight: 600; padding: 20px 30px; }
.portal_kutu3_baslik a { color: #ffff00 !important; }
.portal_kutu3_baslik a:hover { color: #fff !important; background: #333 !important; }

.ic_arastirma .portal_kutu3_baslik a:hover,
.ic_ogretim .portal_kutu3_baslik a:hover,
.ic_ogretim2 .portal_kutu3_baslik a:hover {
  color: #fff !important;
}

@media (max-width: 768px) {
  .grid-container { display: block; grid-gap: 20px; }
  .grid-container > div { width: 100%; margin-bottom: 20px; }
  .portal_kutu_kesfet { position: static; padding-top: 15px; }
  .portal_kutu_buyuk { padding: 60px 40px; }
  .portal_kutu_buyuk_text { position: relative; padding: 0 !important; z-index: 15 !important; bottom: auto; left: auto; }
  .portal_kutu_buyuk_text_bg { background: rgba(0,0,0,.85); width: 100%; height: 100%; position: absolute; bottom: 0; left: 0; z-index: 10 !important; }
  .portal_kutu_buyuk_baslik { font-size: 1.4em; }
  .portal_kutu_buyuk_ozet { font-size: .9em; padding-top: 20px; }
  .portal_kutu_buyuk_kesfet { padding: 15px 0 0 0; }
  .portal_kutu_buyuk_kesfet a { color: #ffff00 !important; }
}

/* ─── Geri-dön butonu ─────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  display: none;
  background: #ffff00 !important;
  color: #000 !important;
  width: 44px; height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 0;
  right: 30px; bottom: 30px;
  transition: background .5s;
  z-index: 11000;
  border: 2px solid #000;
}
.back-to-top i { padding-top: 12px; color: #000 !important; }

/* ─── Haber tiker ─────────────────────────────────────────────────────────── */
.acme-news-ticker {
  background: #000 !important;
  border: 1px solid #fff;
  position: relative;
  height: 40px;
  margin-top: 45px;
}
@media (min-width: 768px) { .acme-news-ticker { margin-top: 0; } }

.acme-news-ticker-label {
  background: #ffff00 !important;
  color: #000 !important;
  padding: 10px;
  width: 40px; height: 40px;
  position: absolute;
  margin-right: 15px;
  line-height: normal;
  height: 100%;
  text-align: center;
  font-weight: bold;
}
.acme-news-ticker-box {
  height: 100%;
  padding-top: 10px;
  overflow: hidden;
  padding-left: 60px;
  color: #fff !important;
}
.acme-news-ticker-box ul { width: 100%; list-style-type: none !important; padding: 0; margin: 0; }
.acme-news-ticker-box ul li a { text-decoration: underline; color: #ffff00 !important; }

.acme-news-ticker-controls {
  display: flex;
  position: absolute;
  height: 100%;
  right: 0; top: 0;
}
.acme-news-ticker-controls button {
  height: 100%;
  background: #222 !important;
  color: #fff !important;
  padding: 0;
  width: 40px;
  border-color: #555;
  border-style: solid;
  border-width: 0 0 0 1px;
  cursor: pointer;
  display: inline-block;
}
.acme-news-ticker-controls button:hover { background: #ffff00 !important; color: #000 !important; }

/* ─── Utility sınıflar ────────────────────────────────────────────────────── */
.bg-hu1 { background-color: #111 !important; }
.bg-hu2 { background-color: #cc0010 !important; } /* koyu kırmızı – beyaz metin üzerinde yeterli kontrast */
.bg_purple { background-color: #3a1f6e !important; }

/* ─── Accordion ───────────────────────────────────────────────────────────── */
.hu-accrodion button { color: #ffff00 !important; background: #111 !important; border: 1px solid #555; }

/* ─── Genel erişilebilirlik ───────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid #ffff00 !important;
  outline-offset: 2px;
}

/* Ekrana salt okunur (sr-only) elemanları gizle ama erişilebilir tut */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── İç sayfa liste resmi ────────────────────────────────────────────────── */
.ic_liste_resim {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 150px;
  max-height: 100%;
  filter: brightness(0.7) contrast(1.1);
}
.ic_liste_baslik { font-weight: bold; color: #fff !important; }

/* ─── İçerik başlık bandı ─────────────────────────────────────────────────── */
.icerik_baslik2 {
  font-size: 1.6em;
  font-family: "Open Sans", sans-serif;
  width: 100%;
  color: #ffff00 !important;
  background: #000 !important;
  border: 2px solid #fff;
  padding: 10px 0;
  position: absolute;
  top: -54px;
  z-index: 100000;
}

/* ─── Galeri ──────────────────────────────────────────────────────────────── */
.col_galeri { min-height: 160px; }
.col_galeri img { margin-bottom: 3px; display: block; filter: brightness(0.85); }
.col_galeri .gal_baslik { text-align: center; display: block; padding-top: 5px; color: #fff !important; }

.resim_liste {
  background-repeat: no-repeat;
  background-size: cover;
  height: 100px;
  border: 2px solid #fff;
  background-position: center center;
  filter: brightness(0.8);
}
.resim_liste a img { height: 100%; width: 100%; display: block; }

/* ─── Slide efektleri ─────────────────────────────────────────────────────── */
.opa-0 { opacity: 0; }
.opa-100 { opacity: 1; }

/* sw_hu logolar – görseller yeterli kontrasta sahip değilse gizle */
.sw_hu_logo,
.sw_hu_logo_tanitim { filter: brightness(1.5) contrast(1.3); }
.sw_hu_text,
.sw_hu_text_ic { color: #ffff00 !important; text-shadow: 0 0 6px #000; }

@media (max-width: 768px) {
  .resimler3 { height: 450px; }
  .slide_txt { width: 300px; }
  .slide_baslik { font-size: 1.4em; }
  .slide_ozet { font-size: .9em; }
  .sw_hu_logo { background-size: 70%; }
  .sw_hu_text_ic { bottom: 220px; }
}
@media (max-width: 500px) {
  .sw_hu_logo_tanitim { bottom: 55px; }
}
