/* =========================================================
MAVİ TONLARDA KURUMSAL TEMA
========================================================= */

:root {
/* Ana kurumsal palet (mavi + açık mavi) */
--primary: #1e88e5;
--primary-2: #42a5f5;
--secondary: #4a5568;
--accent: #00bcd4;
--accent-2: #0097a7;

/* Navigasyon / header */
--nav: #1565c0;
--nav-hover: #1976d2;
--sbar: #0d47a1;
--dark: #0d47a1;
--mega-color1:#667eea; 
--mega-color2:#764ba2;
--mega-h4:#667eea;
/* Zeminler */
--bg: #f2f6fb;
--surface: #ffffff;
--surface-2: #eaf1f8;

/* Metinler */
--text: #0e1726;
--heading: #081527;
--muted: #42526b;
--muted-2: #7a8aa0;

/* Border / gölge */
--border: #d7e3f4;
--border-soft: #cfe0f3;
--shadow-soft: 0 4px 14px rgba(13,71,161,0.08);
--shadow-hover: 0 10px 28px rgba(13,71,161,0.18);

/* Özel alanlar */
--section-title: var(--primary);
--link: var(--primary);
--link-hover: var(--accent);
--focus-ring: #ffbf47;

--stats-bg: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
--event-badge-bg: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
--announce-border: var(--accent);

--slider-placeholder-bg: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
--news-placeholder-bg: linear-gradient(135deg, var(--accent) 0%, var(--primary-2) 100%);
 --mobile-menu-top: 0; /* social + header + nav toplamı */
}
/* =========================================================
   THEME-2 (Mercan + Mor tonları - revize)
   ========================================================= */

body.theme-2 {
  /* Ana renkler */
  --primary:   #ff4b81;   /* canlı mercan pembe */
  --primary-2: #ff7aa2;   /* daha açık mercan */
  --accent:    #b28dff;   /* canlı mor */
  --accent-2:  #5a189a;   /* koyu mor */

  /* Menü / navbar */
  --nav:       #b0194a;   /* koyu mercan-bordo */
  --nav-hover: #d21b5a;
  --sbar:      #880e4f;
  --dark:      #3b0620;

  /* Mega menü çizgileri / başlık tonu */
--mega-color1: var(--primary);
--mega-color2: #d6b3ff;

  --mega-h4:    #b0194a;    /* başlıklar için koyu mercan */

  /* Yüzeyler */
  --bg:        #fff6fa;   /* sayfa arka planı */
  --surface:   #ffffff;   /* kart / kutu arka planı */
  --surface-2: #ffe8f1;   /* alternatifi, hafif pembe */

  /* Metin renkleri */
  --text:      #2b1020;   /* temel metin – koyu mürdüm */
  --heading:   #1a0610;   /* başlıklar */
  --muted:     #7a4b62;   /* ikincil metin */
  --muted-2:   #b6859b;

  /* Kenarlık & gölgeler */
  --border:       #f7c5d7;
  --border-soft:  #fde1ec;
  --shadow-soft:  0 4px 14px rgba(176, 25, 74, 0.08);
  --shadow-hover: 0 10px 28px rgba(176, 25, 74, 0.18);

  /* Link / başlık ilişkileri */
  --section-title: var(--primary);
  --link:         var(--primary);
  --link-hover:   var(--accent);

  /* Özel bileşen arka planları */
  --stats-bg:            linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --event-badge-bg:      linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  --announce-border:     var(--accent);

  --slider-placeholder-bg: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --news-placeholder-bg:   linear-gradient(135deg, var(--accent) 0%, var(--primary-2) 100%);
}

body.theme-3 {
--primary:   #06b6d4;
--primary-2: #22d3ee;
--accent:    #10b981;
--accent-2:  #059669;

--nav:       #0891b2;
--nav-hover: #0e7490;
--sbar:      #155e75;
--dark:      #164e63;
--mega-color1:#40E0D0; 
--mega-color2:#1E90FF;
--mega-h4:    #1E90FF;

--bg:        #f0fdfa;
--surface:   #ffffff;
--surface-2: #ccfbf1;

--text:      #134e4a;
--heading:   #064e3b;
--muted:     #6b7280;
--muted-2:   #9ca3af;

--border:      #99f6e4;
--border-soft: #ccfbf1;
--shadow-soft: 0 4px 14px rgba(6,182,212,0.08);
--shadow-hover:0 10px 28px rgba(6,182,212,0.18);

--section-title: var(--primary);
--link: var(--primary);
--link-hover: var(--accent);

--stats-bg: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
--event-badge-bg: linear-gradient(135deg, var(--accent) 0%, var(--primary-2) 100%);
--announce-border: var(--accent-2);

--slider-placeholder-bg: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
--news-placeholder-bg: linear-gradient(135deg, var(--accent) 0%, var(--primary-2) 100%);
}
/* =========================================================
   RESET / BASE
   ========================================================= */

body { box-sizing: border-box; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  width: 100%;
  overflow-x: hidden;
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.2);
}

/* Hover parity for keyboard users */
.social-links a:focus-visible {
  transform: scale(1.2);
  background-color: rgba(255,255,255,0.2);
}

.nav-list > li > a:focus-visible,
.nav-list > li > button:focus-visible {
  background: rgba(102, 126, 234, 0.1);
}

.mega-links a:focus-visible,
.mega-links button.mega-action:focus-visible {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  padding-left: 1.2rem;
}

.mega-links a:focus-visible::before,
.mega-links button.mega-action:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.mega-links a:focus-visible::after {
  width: 100%;
}

.mega-single:focus-visible {
  background: var(--bg-hover);
  color: var(--primary);
  padding-left: 26px;
  box-shadow: var(--shadow-sm);
}

.mega-single:focus-visible::before {
  height: 80%;
  width: 5px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.slider-btn:focus-visible {
  background-color: rgba(255,255,255,0.5);
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.slider-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.6);
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.dot:focus-visible {
  background-color: rgba(255,255,255,0.8);
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.scroll-down--dots:focus-visible {
  background: rgba(0,0,0,.5);
  transform: translateX(-50%) translateY(-2px);
  opacity: 1;
}

.link-card:focus-visible {
  outline: 3px solid rgba(19, 86, 171, 0.95);
  outline-offset: 4px;
}

.sidebar .sidenav a:focus-visible,
.sidebar .sidenav .dropdown-btn:focus-visible {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary, #1e5ba8);
  transform: translateX(1px);
}

.breadcrumb-content a:focus-visible {
  text-decoration: underline;
}

.article-body a:focus-visible {
  color: #764ba2;
}

.article-body a:focus-visible::after {
  width: 100%;
}

.related-news-item:focus-visible {
  background-color: rgba(13, 110, 253, 0.06);
  transform: translateY(-1px);
  text-decoration: none;
}

.related-news-more-btn:focus-visible {
  text-decoration: none;
  background: #0b5ed7;
}

.gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
}

.close-button:focus-visible {
  background: #764ba2;
}

.news-section .news-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  border-color: rgba(13, 110, 253, 0.24);
}

.announcement-item-link:focus-visible .announcement-item {
  box-shadow: var(--shadow-hover);
  transform: translateX(5px);
}

.event-card-link:focus-visible .event-card {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.footer-section ul li a:focus-visible {
  color: white;
}

.theme-switcher button:focus-visible {
  transform: translateY(-2px);
  opacity: 1;
}

.breadcrumb a:focus-visible {
  color: #2874c9;
  text-decoration: underline;
}

.share-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.quick-links-widget li a:focus-visible {
  background: #f8f9fa;
  color: #1e5ba8;
}

.swiper-toggle:focus-visible {
  background: var(--surface-2);
  outline: 3px solid rgba(19, 86, 171, 0.95);
  outline-offset: 4px;
}

/* =========================================================
   TOP SOCIAL BAR
   ========================================================= */

.social-bar {
  background-color: var(--sbar);
  color: white;

  width: 100%;
}

.social-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  transition: transform 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
}

.social-links a:hover {
  transform: scale(1.2);
  background-color: rgba(255,255,255,0.2);
}

.contact-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.appointment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--nav);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.appointment-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
  background: #f7fbff;
}

/* =========================================================
   MAIN HEADER
   ========================================================= */

.main-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: white;
  padding: 0.1rem 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: white;
}

.header-text p {
  font-size: 1rem;
  opacity: 0.95;
  color: rgba(255,255,255,0.95);
}

/* =========================================================
   NAVIGATION
   ========================================================= */


  /* Navbar Container */
    .mega-nav {
      width: 100%;
      background:  var(--nav);
      color: #fff5f7;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 999;
    }

    .nav-wrapper {
      max-width: 1400px;
      margin: 0 auto;
      
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* Logo */
    .logo {
      display: none;
    }

    /* Menu */
.nav-list {
    display: flex;
    flex-wrap: wrap;         /* 🔹 Gerekirse 2. satıra iner */
    justify-content: center; /* 🔹 Satırlar da ortalanır */
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-list > li {
      position: static;
    }

    .nav-list > li > a,
    .nav-list > li > button {
      display: block;
      
      color: #e2e6ec;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      border-radius: 8px;
      transition: all 0.3s ease;
      position: relative;
       white-space: nowrap;     /* 🔹 Başlıklar kırılmaz */
    padding: 0.8rem 1.1rem;  /* 🔹 Görsel dengede durur */
    }

    .nav-list > li > button {
      background: transparent;
      border: none;
      cursor: pointer;
      font: inherit;
    }

    .nav-list > li > a:hover,
    .nav-list > li > button:hover {
      background: rgba(102, 126, 234, 0.1);
     
    }

    /* Dropdown Indicator */
    .has-dropdown > a::after,
    .has-dropdown > button::after {
      content: '';
      display: inline-block;
      width: 6px;
      height: 6px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg);
      margin-left: 0.5rem;
      transition: transform 0.3s ease;
    }

    .has-dropdown:hover > a::after,
    .has-dropdown:hover > button::after,
    .has-dropdown.is-open > a::after,
    .has-dropdown.is-open > button::after,
    .has-dropdown:focus-within:not(.force-closed) > a::after,
    .has-dropdown:focus-within:not(.force-closed) > button::after {
      transform: rotate(225deg);
    }

    /* Mega Menu */
    .mega-menu {
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      background: white;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
      padding: 3rem 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-20px);
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .has-dropdown:hover .mega-menu,
    .has-dropdown.is-open .mega-menu,
    .has-dropdown:focus-within:not(.force-closed) .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .mega-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 3rem;
    }

    .mega-column h4 {
      font-size: 1rem;
      color: var(--mega-h4);
      
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .mega-group {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      margin-bottom: 0.9rem;
    }

    .mega-group-header {
      display: block;
    }

    .mega-title-link {
      text-decoration: none;
    }

    .mega-title-toggle {
      display: none;
      width: 100%;
      background: transparent;
      border: none;
      text-align: left;
      cursor: pointer;
      padding: 0;
      font: inherit;
      color: inherit;
    }

    .mega-title-label {
      min-width: 0;
    }

    .mega-title-icon {
      display: none;
      margin-left: auto;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      opacity: 0.78;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }



    .mega-links {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .mega-links a,
    .mega-links button.mega-action {
      color: #4a5568;
      text-decoration: none;
      font-size: 0.9rem;
      padding: 0.5rem 0.8rem;
      border-radius: 6px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .mega-links button.mega-action {
      background: transparent;
      border: none;
      cursor: pointer;
      font: inherit;
      width: 100%;
      text-align: left;
    }

    .mega-links a::before,
    .mega-links button.mega-action::before {
      content: '';
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.2s ease;
      color: #667eea;
    }

    .mega-links a:hover,
    .mega-links button.mega-action:hover {
      background: rgba(102, 126, 234, 0.08);
      color: #667eea;
      padding-left: 1.2rem;
    }

    .mega-links a:hover::before,
    .mega-links button.mega-action:hover::before {
      opacity: 1;
      transform: translateX(0);
    }

    /* CTA Button */
    .cta-btn {
      padding: 0.8rem 2rem;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border: none;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
      text-decoration: none;
      display: inline-block;
    }

    .cta-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }

    /* Mobile Menu Toggle */
    .mobile-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 0.5rem;
      background: transparent;
      border: none;
    }

    .mobile-toggle span {
      width: 25px;
      height: 3px;
      background: #667eea;
      border-radius: 3px;
      transition: all 0.3s ease;
    }
.mobile-toggle.active span {
  background: #111;   /* siyah */
}
    .mobile-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-toggle.active span:nth-child(2) {
      opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Demo Content */
    .hero {
      max-width: 1400px;
      margin: 5rem auto;
      padding: 0 2rem;
      text-align: center;
      color: white;
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      font-weight: 700;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .hero p {
      font-size: 1.3rem;
      opacity: 0.95;
      line-height: 1.8;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .mega-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
      }
    }



    /* Overlay for mobile */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 998;
    }

    .overlay.active {
      opacity: 1;
      visibility: visible;
    }

/* =========================================================
   IMAGE SLIDER (Responsive + Cover)
   ========================================================= */

.slider-section {
  width: 100%;
  background-color: #000;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  --slider-dots-offset: 2rem;
  --scroll-down-offset: 4.5rem;

  /* ✅ Mobilde kısa, desktopta ideal, çok büyük ekranlarda sınırlı */
 height: min(790px, 42vw);
  max-height: 790px;

  overflow: hidden;
}




.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}
/* Tüm slaytlar tıklanmasın */
.slider-container .slide {
  pointer-events: none;
}

/* Sadece aktif slayt tıklanabilsin */
.slider-container .slide.active {
  pointer-events: auto;
}

.slide {
  position: absolute;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  overflow: hidden;         /* taşanı kırp */
}

.slide.active { opacity: 1; }

.slide > a {
  display: block;
  width: 100%;
  height: 100%;
}

/* ✅ Slider içindeki tüm resimler alanı doldursun (cover) */
.slide img {
  width: 100%;
  height: 100% !important;  /* global img{height:auto;} varsa ezsin */
  object-fit: cover;
  object-position: center;  
  display: block;
}


/* Görsel yüklenmezse placeholder */
.slide-placeholder {
  width: 100%;
  height: 100%;
  background: var(--slider-placeholder-bg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.placeholder-icon {
  font-size: 8rem;
  margin-bottom: 1rem;
}

.slide-placeholder p {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Overlay */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 4rem 2rem 3rem;
}

.slide-content {
  max-width: 1400px;
  margin: 0 auto;
  color: white;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.slide-content p {
  font-size: 1.3rem;
  opacity: 0.95;
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.3);
  color: white;
  border: none;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.slider-btn:hover { background-color: rgba(255,255,255,0.5); }

.slider-btn.prev { left: 2rem; }
.slider-btn.next { right: 2rem; }

.slider-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 12;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
}

.slider-toggle:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: var(--slider-dots-offset);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.dot.active {
  background-color: white;
  width: 40px;
  border-radius: 6px;
}

.dot:hover { background-color: rgba(255,255,255,0.8); }

/* Slider dots üzerinde aşağı ok */
.scroll-down--dots{
  position: absolute;
  left: 50%;
  bottom: var(--scroll-down-offset);
  transform: translateX(-50%);
  z-index: 20;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);

  text-decoration: none;
  color: #fff;
  opacity: .9;
  visibility: visible;
  pointer-events: auto;

  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.scroll-down--dots:hover{
  background: rgba(0,0,0,.5);
  transform: translateX(-50%) translateY(-2px);
  opacity: 1;
}

.scroll-down__icon{
  font-size: 22px;
  line-height: 1;
  animation: bounceDown 1.3s infinite;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

@keyframes bounceDown{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}

/* Mobilde biraz yukarı al */
@media (max-width: 576px){
  .scroll-down--dots{
    bottom: var(--scroll-down-offset);
    width: 32px;
    height: 32px;
  }
  .scroll-down__icon{
    font-size: 20px;
  }
}



/* =========================================================
   QUICK LINKS
   ========================================================= */

.quick-links {
  width: 100%;
  background: #f7f9fc;
  padding: 1.3rem 2rem 1.45rem;
  margin-top: -0.35rem;
  position: relative;
  z-index: 3;
}

.quick-links::before {
  content: none;
}

.quick-links-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

.quick-links h2 {
  text-align: left;
  font-size: clamp(1.05rem, 1vw, 1.18rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--section-title);
  margin-bottom: 0.65rem;
  opacity: 0.94;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.quick-link-item {
  display: flex;
  flex: 1 1 clamp(135px, 10vw, 160px);
  min-width: min(100%, 135px);
  max-width: 168px;
  overflow: visible;
}

@media (min-width: 1280px) {
  .links-grid {
    justify-content: flex-start;
  }

  .quick-link-item {
    flex: 0 1 calc((100% - 4.8rem) / 7);
    max-width: calc((100% - 4.8rem) / 7);
  }
}

.link-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  width: 100%;
  min-height: 6.8rem;
  padding: 0.54rem 0.56rem;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(8, 21, 39, 0.06);
  border: 1px solid rgba(19, 86, 171, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.link-card--disabled {
  opacity: 0.72;
}

.link-card-icon {
  width: 2.1rem;
  min-height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #66768d;
  margin-bottom: 0;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.quick-links-content a.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(13, 110, 253, 0.14);
  box-shadow: 
  0 8px 22px rgba(15, 23, 42, 0.10),
  inset 0 1px 0 rgba(255,255,255,0.6);
  border-radius: 12px;

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  will-change: transform;
  z-index: 0;
}

.quick-links-content a.link-card:hover,
.quick-links-content a.link-card:focus-visible {
  transform: translateY(-5px) !important;
  border-color: rgba(13, 110, 253, 0.38);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  background: #ffffff;
  z-index: 2;
}

.quick-links-content a.link-card .link-card-icon {
  color: #52677f;
}

.quick-links-content a.link-card:hover .link-card-icon,
.quick-links-content a.link-card:focus-visible .link-card-icon {
  color: #0d6efd;
}

.quick-links-content a.link-card:active {
  transform: translateY(-2px);
}

.link-card-title,
.link-card h3 {
  color: var(--section-title);
  font-size: 0.9rem;
  line-height: 1.28;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.link-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-links-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.12rem;
}

.quick-links-toggle {
  appearance: none;
  border: 1px solid rgba(19, 86, 171, 0.1);
  background: transparent;
  color: rgba(19, 86, 171, 0.78);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: none;
}

.quick-links-toggle:hover {
  background: rgba(19, 86, 171, 0.04);
  border-color: rgba(19, 86, 171, 0.16);
}

.quick-links-toggle:focus-visible {
  outline: 3px solid rgba(19, 86, 171, 0.95);
  outline-offset: 4px;
}

.quick-links-toggle[hidden] {
  display: none;
}

/* =========================================================
   STATS SECTION
   ========================================================= */

.stats-section {
  width: 100%;
  background: var(--stats-bg);
  color: white;
  padding: 2.5rem 2rem;
}

.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.95;
}

/* =========================================================
   NEWS SECTION
   ========================================================= */

.news-section {
  width: 100%;
  padding: 0.7rem 1rem 1rem;
  background-color: var(--surface-2);
}

.news-content {
  max-width: 1400px;
  margin: 0 auto;
}

.news-content h2 {
  text-align: center;
    font-size: 2rem;
  font-weight: 700;
  color: var(--section-title);
  margin-bottom: 1.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.news-section .news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(13, 110, 253, 0.12);
}

.news-section .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  border-color: rgba(13, 110, 253, 0.24);
}

.news-section .news-image-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.news-section .news-image-placeholder {
  width: 100%;
  height: 150px;
  background: var(--news-placeholder-bg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.placeholder-icon-small {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.news-section .news-image-placeholder p {
  font-size: 0.9rem;
  font-weight: 600;
}

.news-section .news-body {
  padding: 0.95rem 1rem 1rem;
}

.news-section .news-date {
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.news-section .news-body h3 {
  color: var(--section-title);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.news-section .news-body p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* =========================================================
   ANNOUNCEMENTS & EVENTS
   ========================================================= */

.announcements-events-section {
  width: 100%;
  padding: 2rem 2rem;
  background-color: var(--surface);
}

.announcements-events-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.announcements-column h2,
.events-column h2 {
  
  font-size: 2rem;
  font-weight: 700;
  color: var(--section-title);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--announce-border);
}

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.announcement-item {
  background: var(--surface-2);
  border-left: 5px solid var(--announce-border);
  
  padding: 1rem 1.5rem 1rem;

  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s;
}

.announcement-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(5px);
}

.announcement-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.announcement-body { flex: 1; }

.announcement-date {
  color: var(--muted-2);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.announcement-body h3 {
  color: var(--section-title);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.announcement-body p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Events List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  background: var(--surface-2);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
  display: flex;
  gap: 1.5rem;
  padding: 1rem 1.5rem 1rem;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.event-date-badge {
  background: var(--event-badge-bg);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.event-day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

.event-body { flex: 1; }

.event-body h3 {
  color: var(--section-title);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.event-time,
.event-location {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.event-description {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.main-footer {
  width: 100%;
  background-color: var(--dark);
  color: white;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-section ul { list-style: none; }

.footer-section ul li { margin-bottom: 0.8rem; }

.footer-section ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover { color: white; }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */
/*
@media (max-width: 768px) {
  .social-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .logo-section {
    flex-direction: column;
  }
  
  .header-text h1 {
    font-size: 1.5rem;
  }
  
 
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .announcements-events-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
*/
/* =========================================================
   HELPERS / THEME SWITCH
   ========================================================= */

.icon-white {
  filter: brightness(0) invert(1);
  display: inline;
}

.theme-switcher{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 5000;
}

.theme-switcher button{
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .2s ease, opacity .2s ease;
  opacity: .9;
}

.theme-switcher button:hover{
  transform: translateY(-2px);
  opacity: 1;
}


/***************************************/

 /* Breadcrumb */
    .breadcrumb {
      background-color: #f8f9fa;
      padding: 1rem 0;
      width: 100%;
    }
    
    .breadcrumb-content {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
    }
    
    .breadcrumb a {
      color: #1e5ba8;
      text-decoration: none;
      transition: color 0.3s;
    }
    
    .breadcrumb a:hover {
      color: #2874c9;
      text-decoration: underline;
    }
    
    .breadcrumb span {
      color: #666;
    }
    
    /* Main Content */
    .main-content-wrapper {
      width: 100%;
      background-color: #ffffff;
      padding: 3rem 0;
    }
    
    .content-layout {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: 1fr 350px;
      gap: 3rem;
    }
    
    /* Article Section */
    .article-main {
      background: white;
    }
    
    .article-header {
      margin-bottom: 2rem;
      padding-bottom: 2rem;
      border-bottom: 2px solid #e0e7ff;
    }
    
    .article-category {
      display: inline-block;
      background: #1e5ba8;
      color: white;
      padding: 0.4rem 1rem;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }
    
    .article-header h1 {
      font-size: 2.5rem;
      color: #2c3e50;
      margin-bottom: 1rem;
      line-height: 1.3;
    }
    
    .article-meta {
      display: flex;
      gap: 2rem;
      color: #7f8c8d;
      font-size: 0.9rem;
      align-items: center;
      flex-wrap: wrap;
    }
    
    .article-meta span {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .article-image {
      width: 100%;
      height: auto;
      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 2rem;
      overflow: hidden;
    }
    
    .article-image-placeholder {
      text-align: center;
      color: white;
    }
    
    .article-image-icon {
      font-size: 5rem;
      margin-bottom: 1rem;
    }
    
    .article-image-placeholder p {
      font-size: 1.2rem;
      font-weight: 600;
    }
    
    .article-body {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #333;
    }
    
    .article-body p {
      margin-bottom: 1.5rem;
    }
    
    .article-body h2 {
      font-size: 1.8rem;
      color: #2c3e50;
      margin: 2rem 0 1rem;
      padding-top: 1rem;
    }
    
    .article-body h3 {
      font-size: 1.4rem;
      color: #2c3e50;
      margin: 1.5rem 0 1rem;
    }
    
    .article-body ul, .article-body ol {
      margin: 1.5rem 0;
      padding-left: 2rem;
    }
    
    .article-body li {
      margin-bottom: 0.8rem;
    }
    
    .article-quote {
      background: #f8f9fa;
      border-left: 4px solid #1e5ba8;
      padding: 1.5rem 2rem;
      margin: 2rem 0;
      font-style: italic;
      color: #555;
    }
    
    /* Share Section */
    .share-section {
      margin: 3rem 0;
      padding: 2rem;
      background: #f8f9fa;
      border-radius: 12px;
    }
    
    .share-section h3 {
      font-size: 1.2rem;
      color: #2c3e50;
      margin-bottom: 1rem;
    }
    
    .share-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    
    .share-btn {
      padding: 0.8rem 1.5rem;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      font-size: 0.95rem;
    }
    
    .share-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .share-facebook {
      background: #1877f2;
      color: white;
    }
    
    .share-twitter {
      background: #1da1f2;
      color: white;
    }
    
    .share-linkedin {
      background: #0a66c2;
      color: white;
    }
    
    .share-whatsapp {
      background: #25d366;
      color: white;
    }
    
    /* Sidebar */
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    
    .sidebar-widget {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
    
    .sidebar-widget h3 {
      font-size: 1.3rem;
      color: #2c3e50;
      margin-bottom: 1.5rem;
      padding-bottom: 0.8rem;
      border-bottom: 2px solid #1e5ba8;
    }
    
    .related-news-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    
    .related-news-item {
      display: flex;
      gap: 1rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid #e0e7ff;
      text-decoration: none;
      transition: all 0.3s;
    }
    
    .related-news-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    
    .related-news-item:hover {
      transform: translateX(5px);
    }
    
    .related-news-thumb {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      flex-shrink: 0;
    }
    
    .related-news-info h4 {
      font-size: 0.95rem;
      color: #2c3e50;
      margin-bottom: 0.5rem;
      line-height: 1.4;
    }
    
    .related-news-date {
      font-size: 0.8rem;
      color: #7f8c8d;
    }
    
    .quick-links-widget {
      list-style: none;
    }
    
    .quick-links-widget li {
      margin-bottom: 1rem;
    }
    
    .quick-links-widget li a {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      color: #333;
      text-decoration: none;
      padding: 0.8rem;
      border-radius: 8px;
      transition: all 0.3s;
      font-size: 0.95rem;
    }
    
    .quick-links-widget li a:hover {
      background: #f8f9fa;
      color: #1e5ba8;
      padding-left: 1.5rem;
    }
    
.newsSwiper {
  padding-bottom: 40px;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 280px;           /* 🔥 Kart yüksekliği sabitlendi */
  display: flex;
  flex-direction: column;
}


.news-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.news-image-placeholder {
  width: 100%;
  height: 120px;
  background: #eee;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #888;
}
.news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-body h3 {
  margin: 8px 0 6px;
  font-size: 18px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* BURAYI GÜNCELLE */
.news-body p:last-child {
  /* margin-top: auto;  // BUNU SİL */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body p {
  margin: 0;
  line-height: 1.4;
}

.news-section .news-card {
  background: #ffffff;
  border: 1px solid rgba(13, 110, 253, 0.12);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-section .news-card:hover,
.news-section .news-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  border-color: rgba(13, 110, 253, 0.24);
}

.news-section .news-card > a {
  display: block;
}

.news-section .news-card img,
.news-section .news-image-img,
.news-section .news-image-placeholder {
  width: 100%;
  height: 160px;
}

.news-section .news-card img,
.news-section .news-image-img {
  object-fit: cover;
}

.news-section .news-image-placeholder {
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
  color: #66768d;
}

.news-section .news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1rem 1rem;
}

.news-section .news-date {
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.news-section .news-body h3 {
  margin: 0 0 0.55rem;
  color: var(--section-title);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-section .news-body h3 a {
  color: inherit;
  text-decoration: none;
}

.news-section .news-body p:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-section .news-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* =========================================================
   HOME LOWER SECTIONS REFRESH
   ========================================================= */

.announcements-events-section {
  padding: 3.5rem 0 4.5rem;
  background: #f4f9ff;
  border-top: 1px solid rgba(13, 110, 253, 0.08);
  border-bottom: 1px solid rgba(13, 110, 253, 0.08);
}

.announcements-events-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.announcements-column h2,
.events-column h2 {
  position: relative;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: 700;
  color: #1b4da8;
  margin-bottom: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: none;
}

.announcements-column h2::after,
.events-column h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 160px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d6efd 0%, #14c8d8 100%);
}

.announcements-column,
.events-column {
  min-width: 0;
}

.announcements-list,
.events-list {
  gap: 1.125rem;
  margin: 0;
}

.announcements-column,
.events-column,
.announcement-item-link,
.event-card-link {
  min-width: 0;
  display: block;
  text-decoration: none;
}

.announcement-item {
  background: #ffffff;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-left: 4px solid rgba(13, 110, 253, 0.65);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  width: 100%;
  min-height: auto;
  min-width: 0;
  overflow: hidden;
  padding: 1rem 1.25rem;
  gap: 0.75rem;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, border-left-color 0.25s ease;
}

.announcement-item:hover,
.announcement-item-link:focus-visible .announcement-item {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.11);
  border-color: rgba(13, 110, 253, 0.22);
  border-left-color: rgba(13, 110, 253, 0.9);
}

.announcement-body {
  flex: 0 1 auto;
  min-width: 0;
}

.announcement-date {
  color: #6f7f95;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.announcement-body h3 {
  color: var(--section-title);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

.announcement-body p {
  color: #66768d;
  line-height: 1.55;
  font-size: 0.88rem;
  margin: 0;
}

.event-card {
  background: #ffffff;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  width: 100%;
  min-height: auto;
  min-width: 0;
  overflow: hidden;
  padding: 1rem 1.25rem;
  gap: 0.85rem;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.event-card:hover,
.event-card-link:focus-visible .event-card {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.11);
  border-color: rgba(13, 110, 253, 0.22);
}

.event-date-badge {
  background: linear-gradient(180deg, #2f9cff 0%, #1684e8 100%);
  color: #ffffff;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.24);
}

.event-day {
  font-size: 1.5rem;
}

.event-month {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-body {
  flex: 1;
  min-width: 0;
}

.event-body h3 {
  color: var(--section-title);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.3rem;
}

.event-meta,
.event-time,
.event-location,
.event-description {
  color: #66768d;
  line-height: 1.55;
  margin: 0;
  font-size: 0.88rem;
}

.stats-section {
  position: relative;
  overflow: hidden;
  background: #12376f;
  color: #ffffff;
  padding: 1.5rem 2rem 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.stats-section::before {
  content: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.875rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: center;
  line-height: 1.35;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.stat-item h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item {
  font-size: 0.86rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.84);
  opacity: 1;
}

.main-footer {
  background:
    linear-gradient(180deg, #0a285d 0%, #081f48 100%);
  color: #ffffff;
  padding: 3.5rem 2rem 1.6rem;
}

.footer-content {
  gap: 2.4rem;
  align-items: start;
}

.footer-section h3 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li i {
  width: 1rem;
  margin-top: 0.2rem;
  color: rgba(77, 184, 255, 0.9);
  flex-shrink: 0;
  text-align: center;
}

.footer-section ul li span {
  min-width: 0;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus-visible {
  color: #4db8ff;
}

.footer-bottom {
  margin-top: 2.15rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .announcements-events-section {
    padding: 2.5rem 0 3rem;
  }

  .announcements-events-wrapper {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 2rem;
  }

  .announcement-item,
  .event-card {
    padding: 0.95rem 1rem;
  }

  .event-date-badge {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
  }

  .stats-section {
    padding: 1.25rem 1rem 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .stat-item {
    padding: 0.95rem 0.75rem;
  }

  .main-footer {
    padding: 2.8rem 1rem 1.4rem;
  }

  .footer-content {
    gap: 1.8rem;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   UI SLIDER CONTROLS
   ========================================================= */

.ui-slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ui-slider-btn {
  --ui-slider-btn-transform: none;
  --ui-slider-btn-hover-transform: translateY(-1px) scale(1.04);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
  transform: var(--ui-slider-btn-transform);
}

.ui-slider-btn--prev,
.ui-slider-btn--next {
  flex: 0 0 auto;
}

.ui-slider-btn:hover:not(:disabled),
.ui-slider-btn:focus-visible:not(:disabled) {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.22);
  transform: var(--ui-slider-btn-hover-transform);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.ui-slider-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

.ui-slider-btn:disabled,
.swiper-button-disabled.ui-slider-btn {
  opacity: 0.42;
  cursor: not-allowed;
  transform: var(--ui-slider-btn-transform);
  box-shadow: none;
}

.ui-slider-counter {
  min-width: 44px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
}

.newsSwiper .ui-slider-btn {
  --ui-slider-btn-transform: translateY(-50%);
  --ui-slider-btn-hover-transform: translateY(calc(-50% - 1px)) scale(1.04);
  width: 42px;
  height: 42px;
  margin-top: 0;
  top: 50%;
  z-index: 3;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.newsSwiper .ui-slider-btn:hover:not(:disabled),
.newsSwiper .ui-slider-btn:focus-visible:not(:disabled) {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(37, 99, 235, 0.22);
}

.newsSwiper .ui-slider-btn--prev {
  left: 10px;
}

.newsSwiper .ui-slider-btn--next {
  right: 10px;
}

.newsSwiper .swiper-button-prev::after,
.newsSwiper .swiper-button-next::after {
  font-size: 1rem;
  font-weight: 800;
}

.swiper-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}

.swiper-toggle:hover {
  background: var(--surface-2);
}

@media (max-width: 768px) {
  .newsSwiper--compact-pagination {
    --compact-pagination-visible-bullets: 7;
    --compact-pagination-bullet-size: 0.38rem;
    --compact-pagination-active-size: 0.62rem;
    --compact-pagination-gap: 0.26rem;
  }

  .newsSwiper--compact-pagination .swiper-pagination.swiper-pagination--compact-mobile {
    position: relative;
    inset: auto;
    left: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--compact-pagination-gap);
    width: min(
      100%,
      calc(
        (var(--compact-pagination-visible-bullets) * var(--compact-pagination-bullet-size)) +
        (2 * (var(--compact-pagination-active-size) - var(--compact-pagination-bullet-size))) +
        ((var(--compact-pagination-visible-bullets) - 1) * var(--compact-pagination-gap)) +
        0.5rem
      )
    );
    margin: 0.9rem auto 0;
    padding: 0.1rem 0.25rem 0.2rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .newsSwiper--compact-pagination .swiper-pagination.swiper-pagination--compact-mobile::-webkit-scrollbar {
    display: none;
  }

  .newsSwiper--compact-pagination .swiper-pagination.swiper-pagination--compact-mobile .swiper-pagination-bullet {
    flex: 0 0 auto;
    width: var(--compact-pagination-bullet-size);
    height: var(--compact-pagination-bullet-size);
    margin: 0 !important;
    opacity: 0.26;
    background: #1d4ed8;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
  }

  .newsSwiper--compact-pagination .swiper-pagination.swiper-pagination--compact-mobile .swiper-pagination-bullet-active {
    width: var(--compact-pagination-active-size);
    height: var(--compact-pagination-active-size);
    opacity: 1;
    background: #0f172a;
    transform: scale(1.06);
  }
}

@media (max-width: 768px) {

  .nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Hamburger butonu */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1101; /* menünün üstünde */
  }

  .mobile-toggle span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .mobile-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .mobile-toggle span:nth-child(2) {
    transform: translateY(0);
  }

  .mobile-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  body.nav-open .mobile-toggle {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1102;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(8, 21, 39, 0.24);
  }

  body.nav-open .mobile-toggle.active span {
    background: #fff;
  }

  /* 🔹 MENÜ PANELİ – Tüm ekranı kaplasın */
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;              /* ekran yüksekliği kadar */
    margin: 0;
    padding: 4.5rem 1.5rem 2rem;
    list-style: none;
    background: var(--surface);
    display: block;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;           /* menü uzunsa sadece menü scroll */
    z-index: 1100;
  }

  .nav-list.active {
    transform: translateX(0);
  }

  .nav-list > li {
    display: block;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-list > li > a {
    display: block;
    padding: 1rem 0;
    border-radius: 0;
    color: var(--text);
    white-space: nowrap;
  }

  .has-dropdown > a::after {
    position: absolute;
    right: 0;
  }

  /* Mega menü accordion */
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: var(--surface-2);
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .has-dropdown.active .mega-menu {
    max-height: 1000px;
    padding: 0.5rem 0 1rem;
  }

  .mega-container {
    max-width: none;
    margin: 0;
    padding-left: 0.5rem;
    display: block;
  }

  .mega-column {
    margin-bottom: 0.75rem;
  }

  .mega-column h4,
  .mega-title-toggle {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }

  .mega-links a {
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  .announcements-events-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Menü açıkken sayfa kaymasın */
body.nav-open {
  position: fixed;
  width: 100%;
}

  /* Başlık ve tekli öğeler için geliştirilmiş stiller */
    .mega-title,
    .mega-single {
      position: relative;
      display: block;
      padding: 12px 16px;
      padding-left: 22px;
      font-weight: 600;
      font-size: 1.05rem;
      color: var(--primary);
      margin-bottom: 8px;
      border-radius: 8px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      letter-spacing: -0.01em;
    }

    .mega-title-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: auto;
      min-width: 48px;
      cursor: pointer;
      margin-bottom: 0;
      padding: 12px 14px;
      padding-left: 14px;
      flex: 0 0 auto;
    }

    .mega-title-toggle .mega-title-icon {
      display: inline-flex;
    }

    .mega-title-link {
      display: block;
      flex: 1 1 auto;
      margin-bottom: 0;
    }

    .mega-group-header {
      display: flex;
      align-items: stretch;
      gap: 8px;
    }

    /* Animasyonlu gradient çizgi */
    .mega-title::before,
    .mega-single::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      height: 60%;
      width: 4px;
    
      background: linear-gradient(135deg, var(--mega-color1) 0%, var(--mega-color2) 100%);
      border-radius: 4px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }

    .mega-single {
      cursor: pointer;
      text-decoration: none;
    }

    .mega-single:hover {
      background: var(--bg-hover);
      color: var(--primary);
      padding-left: 26px;
      box-shadow: var(--shadow-sm);
    }

    .mega-single:hover::before {
      height: 80%;
      width: 5px;
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
    }

    /* Alt linkler için geliştirilmiş stiller */
    .mega-links {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-left: 8px;
    }

    .mega-links[hidden] {
      display: none !important;
    }

    .mega-title-toggle.active .mega-title-icon,
    .mega-title-toggle[aria-expanded="true"] .mega-title-icon {
      transform: rotate(180deg);
      opacity: 1;
    }

    .mega-links a {
      display: block;
     /* padding: 10px 16px;*/
      font-size: 0.92rem;
      color: var(--secondary);
      text-decoration: none;
      border-radius: 6px;
      transition: all 0.25s ease;
      position: relative;
      overflow: hidden;
    }

    .mega-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--mega-color1) 0%, var(--mega-color2) 100%);
      transition: width 0.3s ease;
    }

    .mega-links a:hover {
      background: var(--bg-hover);
      color: var(--primary);
      padding-left: 20px;
      box-shadow: var(--shadow-sm);
    }

    .mega-links a:hover::after {
      width: 100%;
    }
/* ===========================
   RESPONSIVE (TABLET + MOBİL)
   =========================== */

/* Tablet ve küçük laptoplar */
@media (max-width: 992px) {

  .slider-wrapper {
    height: 420px;              /* 600 yerine daha kısa */
    --slider-dots-offset: 1.5rem;
    --scroll-down-offset: 4.1rem;
  }

  .slide-overlay {
    padding: 2.5rem 1.5rem 2rem;
  }

  .slide-content {
    padding-right: 1rem;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .slider-btn {
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }

  .slider-btn.prev { left: 1rem; }
  .slider-btn.next { right: 1rem; }

  .slider-dots {
    bottom: var(--slider-dots-offset);
  }
}

/* Telefonlar */
@media (max-width: 576px) {

  .slider-wrapper {
    height: 260px;              /* 🔥 siyah boşluğu küçültür */
    --slider-dots-offset: 0.8rem;
    --scroll-down-offset: 3.6rem;
  }

  .slide img {
    object-fit: cover;
    /* İstersen üstten ortala:
    object-position: center;
    */
  }

  .slide-overlay {
    padding: 1.5rem 1rem 1.2rem;
  }

  .slide-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .slide-content p {
    font-size: 0.9rem;
    line-height: 1.3;
    display: none;              /* Çok sıkışık geliyorsa alttaki satırı gizle */
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .slider-dots {
    bottom: var(--slider-dots-offset);
    gap: 0.6rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 30px;
  }
}
/* === Sidebar Sidenav Genel === */
/* === Sidebar genel kart görünümü === */
.sidebar-widget {
  background: var(--surface-2, #f7f9fc);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--border-soft, #e0e7ff);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.sidebar-widget h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--heading, #123055);
}

.sidebar-widget .hrcls {
  border: none;
  height: 2px;
  width: 40px;
  background: linear-gradient(
    90deg,
    var(--primary, #1e5ba8),
    var(--primary-2, #2874c9)
  );
  margin: 0 0 0.9rem;
  border-radius: 999px;
}

/* === Sidenav === */
.sidebar .sidenav {
  font-size: 0.94rem;
}

/* Link ve dropdown butonlar */
.sidebar .sidenav a,
.sidebar .sidenav .dropdown-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.38rem 0.65rem 0.38rem 0.9rem;
  margin-bottom: 3px;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: var(--text, #233048);
  text-align: left;
  line-height: 1.4;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
}

.sidebar .sidenav .dropdown-entry {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-bottom: 3px;
  border-radius: 8px;
  overflow: hidden;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
}

.sidebar .sidenav .dropdown-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    var(--primary, #1e5ba8),
    var(--primary-2, #2874c9)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sidebar .sidenav .dropdown-entry:hover::before {
  opacity: 0.6;
}

.sidebar .sidenav .dropdown-entry.active::before {
  opacity: 1;
}

.sidebar .sidenav .dropdown-entry:hover {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary, #1e5ba8);
  transform: translateX(1px);
}

.sidebar .sidenav .dropdown-entry.active {
  background: linear-gradient(
    135deg,
    var(--primary, #1e5ba8),
    var(--primary-2, #2874c9)
  );
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

.sidebar .sidenav .dropdown-entry .dropdown-link,
.sidebar .sidenav .dropdown-entry .dropdown-toggle {
  margin-bottom: 0;
  background: transparent;
  color: inherit;
  transform: none;
  box-shadow: none;
}

.sidebar .sidenav .dropdown-entry .dropdown-link {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 0;
}

.sidebar .sidenav .dropdown-entry .dropdown-toggle {
  flex: 0 0 auto;
  width: auto;
  min-width: 2.25rem;
  justify-content: center;
  padding-left: 0.35rem;
  padding-right: 0.7rem;
  border-radius: 0;
}

.sidebar .sidenav .dropdown-entry .dropdown-link::before,
.sidebar .sidenav .dropdown-entry .dropdown-toggle::before {
  content: none;
}

.sidebar .sidenav .dropdown-entry .dropdown-link:hover,
.sidebar .sidenav .dropdown-entry .dropdown-link.active,
.sidebar .sidenav .dropdown-entry .dropdown-toggle:hover,
.sidebar .sidenav .dropdown-entry .dropdown-toggle.active {
  background: transparent;
  color: inherit;
  box-shadow: none;
}

/* SOL GRADIENT ÇİZGİ — ANA EFEKT */
.sidebar .sidenav a::before,
.sidebar .sidenav .dropdown-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    var(--primary, #1e5ba8),
    var(--primary-2, #2874c9)
  );
  opacity: 0;                 /* pasif */
  transition: opacity 0.2s ease;
}

/* Hover — çizgiyi göster */
.sidebar .sidenav a:hover::before,
.sidebar .sidenav .dropdown-btn:hover::before {
  opacity: 0.6;
}

/* Aktif olan — çizgi tam opak */
.sidebar .sidenav a.active::before,
.sidebar .sidenav .dropdown-btn.active::before {
  opacity: 1;
}

/* Hover efekti */
.sidebar .sidenav a:hover,
.sidebar .sidenav .dropdown-btn:hover {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary, #1e5ba8);
  transform: translateX(1px);
}

/* Aktif gradient buton */
.sidebar .sidenav .dropdown-btn.active,
.sidebar .sidenav a.active {
  background: linear-gradient(
    135deg,
    var(--primary, #1e5ba8),
    var(--primary-2, #2874c9)
  );
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

/* Ok ikonu */
.sidebar .sidenav .dropdown-btn .fa {
  margin-left: auto;
  font-size: 0.8rem;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.sidebar .sidenav .dropdown-entry .dropdown-toggle .fa {
  margin-left: 0;
}

.sidebar .sidenav .dropdown-btn.active .fa {
  transform: rotate(180deg);
}

/* ALT MENÜ (İkinci Seviye) */
.sidebar .sidenav .dropdown-container {
  display: none;
  padding-left: 0.65rem;
  margin: 0.1rem 0 0.2rem 0.3rem;
  border-left: 1px dashed var(--border-soft, #d7e2ff);
}

.sidebar .sidenav .dropdown-container a {
  padding: 0.3rem 0.55rem 0.3rem 0.9rem;
  border-radius: 7px;
}

/* 3. seviye istersen daha içte olabilir */
/*
.sidebar .sidenav .dropdown-container .dropdown-container a {
  padding-left: 1.2rem;
}
*/

/* === METİN BLOĞU GENEL === */
.article-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text, #233048);
}

.article-body p {
  margin: 0 0 0.6rem;
}

.article-body p + p {
  margin-top: 0.2rem;
}

/* Başlıklar */
.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--heading, #102a43);
}

.article-body > h2 {
    border-left: 3px solid var(--primary);
    padding-left: 0.5rem;
}

.article-body h3 {
  font-size: 1.05rem;
}

/* Listeler */
.article-body ul,
.article-body ol {
  margin: 0.4rem 0 0.8rem 1.3rem;
}

.article-body li {
  margin-bottom: 0.2rem;
}


/*-----*/

    /* Stil 1: Alttan Çizgi Animasyonu */
    .article-body a {
      color: #667eea;
      text-decoration: none;
      font-weight: 600;
      position: relative;
      padding-bottom: 2px;
      transition: color 0.3s ease;
    }

    .article-body a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: #764ba2;
      transition: width 0.3s ease;
    }

    .article-body a:hover {
      color: #764ba2;
    }

    .article-body a:hover::after {
      width: 100%;
    }

/* === RESİMLER === */
.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
}

/* Eski HTML'lerde align kullanıldıysa */
.article-body img[align="left"] {
  float: left;
  margin: 0 0.75rem 0.5rem 0;
  max-width: 45%;
}

.article-body img[align="right"] {
  float: right;
  margin: 0 0 0.5rem 0.75rem;
  max-width: 45%;
}

/* Küçük ekranda float'ları kaldır */
@media (max-width: 768px) {
  .article-body img[align="left"],
  .article-body img[align="right"] {
    float: none;
    margin: 0.8rem auto;
    max-width: 100%;
  }
}

/* === TABLOLAR === */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.93rem;
  background: var(--surface, #ffffff);
  border-radius: 12px;
  overflow: hidden;
  display: block;          /* mobilde yatay scroll için */
  overflow-x: auto;
}

/* Eski inline border'ları bastır */
.article-body table,
.article-body table td,
.article-body table th {
  border: none !important;
}

.article-body table thead th {
  background: linear-gradient(
    135deg,
    var(--primary, #1e5ba8),
    var(--primary-2, #2874c9)
  );
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

.article-body table tbody tr:nth-child(even) {
  background: var(--surface-2, #f5f7ff);
}

.article-body table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.article-body table td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--border-soft, #e0e7ff);
  vertical-align: top;
}

/* Caption kullanırsan */
.article-body table caption {
  caption-side: top;
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-align: left;
  color: var(--heading, #102a43);
}

/* Küçük ekranda tablo yazı boyutu ufak */
@media (max-width: 576px) {
  .article-body table {
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .editor-content table {
    display: block;
    width: 100%;
    border: none !important;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .editor-content table caption {
    margin-bottom: 0.75rem;
  }

  .editor-content table thead {
    display: none;
  }

  .editor-content table tbody,
  .editor-content table tr {
    display: block;
    width: 100%;
  }

  .editor-content table tr {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .editor-content table tr:last-child {
    margin-bottom: 0;
  }

  .editor-content table tr[data-table-header-row="true"] {
    display: none;
  }

  .editor-content table td,
  .editor-content table th {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
    border: none !important;
    background: transparent !important;
    text-align: left;
  }

  .editor-content table td + td,
  .editor-content table th[data-label] + td,
  .editor-content table td + th[data-label],
  .editor-content table th[data-label] + th[data-label],
  .editor-content table th + td,
  .editor-content table td + th {
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
  }

  .editor-content table td::before,
  .editor-content table th[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #64748b;
  }

  .editor-content table td[data-label=""]::before,
  .editor-content table th[data-label=""]::before {
    display: none;
    content: none;
  }

  .editor-content table td.is-full-span-cell,
  .editor-content table th.is-full-span-cell {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .editor-content table td.is-image-cell {
    text-align: center;
  }

  .editor-content table td.is-image-cell::before,
  .editor-content table th.is-image-cell::before {
    text-align: center;
  }

  .editor-content table td.is-image-cell img,
  .editor-content table th.is-image-cell img {
    display: block;
    margin: 0.35rem auto 0;
    max-width: min(140px, 100%);
    height: auto;
    border-radius: 10px;
  }
}

/* =========================================
   GENEL YAPI
========================================= */

/* Breadcrumb üst boşlukları */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.breadcrumb-content a {
  text-decoration: none;
  color: var(--primary, #0d6efd);
}

.breadcrumb-content a:hover {
  text-decoration: underline;
}

/* Ana layout: içerik + sidebar */
.main-content-wrapper {
  padding: 1rem 0 2.5rem;
}

.content-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* Yazı alanı */
.article-main {
  flex: 1 1 0;
  background: var(--surface, #ffffff);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* Sidebar */
.sidebar {
  flex: 0 0 320px;
}

/* Küçük ekranlarda alt alta gelsin */
@media (max-width: 991.98px) {
  .content-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex: 0 0 auto;
  }
}

/* =========================================
   HABER DETAY / GÖRSEL
========================================= */

.article-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading, #123);
}

.article-image {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2ff;
}

.article-image-img {
  width: 100%;
  height: auto;

  object-fit: cover;
  display: block;
}

.article-image-placeholder {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  color: #555;
  font-size: 1rem;
}

/* =========================================
   SIDEBAR WIDGET (Son Haberler kutusu)
========================================= */

.sidebar-widget {
  background: #f3f7ff; /* screenshot'taki gibi hafif mavi */
  border-radius: 16px;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.04);
  margin-bottom: 1rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

/* Üstte ince çizgi (ekrandakine benzer) */
.sidebar-widget h3 + .hrcls,
.sidebar-widget hr {
  margin-top: 0.6rem;
  margin-bottom: 0.7rem;
  border: 0;
  border-top: 2px solid var(--primary, #0d6efd);
}

/* Liste alanı */
.related-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Tek haber satırı */
.related-news-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0.3rem;
  border-radius: 10px;
  text-decoration: none;
  background: transparent;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.related-news-item:hover {
  background-color: rgba(13, 110, 253, 0.06);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Sol küçük görsel kutusu */
.related-news-thumb {
  flex: 0 0 70px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: #dde3f0;
}

.related-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sağdaki başlık kısmı */
.related-news-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  color: #123;
}

/* “Tüm Manşetler” butonu */
.related-news-more-btn {
  display: block;
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  text-align: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--primary, #0d6efd);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
}

.related-news-more-btn:hover {
  text-decoration: none;
  background: #0b5ed7;
}

.sidebar-widget--quick-links {
  background: transparent;
  border: none;
  border-radius: 18px;
  padding: 0;
  overflow: visible;
  box-shadow: none;
}

.sidebar-widget--quick-links .quick-links {
  background: transparent;
  margin-top: 0;
  padding: 1.1rem 1.15rem 1rem;
}

.sidebar-widget--quick-links .quick-links-content {
  max-width: none;
}

.sidebar-widget--quick-links .quick-links h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2547;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid #2d67bb;
}

.sidebar-widget--quick-links .links-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
}

.sidebar-widget--quick-links .quick-link-item {
  flex: 1 1 100%;
  min-width: 100%;
  max-width: 100%;
}

.sidebar-widget--quick-links .sidenav [data-quick-link-item][hidden] {
  display: none !important;
}

.sidebar-widget--quick-links .sidenav [data-quick-link-item] {
  gap: 0.55rem;
  padding-left: 0.65rem;
}

.sidebar-widget--quick-links .quick-link-icon {
  width: 1rem;
  min-width: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2d67bb;
  font-size: 0.82rem;
  line-height: 1;
  opacity: 0.9;
}

.sidebar-widget--quick-links .quick-link-icon span {
  line-height: 1;
}

.sidebar-widget--quick-links .quick-link-label {
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar-widget--quick-links .link-card {
  min-height: 0;
  padding: 0.35rem 0;
  border-radius: 0;
  display: block;
  text-align: left;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: color 0.15s ease;
}

.sidebar-widget--quick-links .link-card:hover {
  background: transparent;
  color: #1f5fb7;
  transform: none;
}

.sidebar-widget--quick-links .link-card-icon {
  display: none;
}

.sidebar-widget--quick-links .link-card-title,
.sidebar-widget--quick-links .link-card h3 {
  display: block;
  color: #10213e;
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.42;
  margin: 0;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
}

.sidebar-widget--quick-links .link-card--disabled {
  opacity: 0.58;
}

.sidebar-widget--quick-links .quick-links-actions {
  justify-content: flex-start;
  margin-top: 0.45rem;
}

.sidebar-widget--quick-links .quick-links-toggle {
  padding: 0;
  border: none;
  background: transparent;
  color: #1f5fb7;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: none;
}

.sidebar-widget--quick-links .quick-links-toggle:hover {
  background: transparent;
  color: #17498e;
}

/* =========================================
   ALT GALERİ (article-gallery)
========================================= */
/* === GALERİ – Tuğla (masonry) görünüm === */

/* Başlık kısmı sende zaten çalışıyor, dokunmuyorum */
.gallery-header{
  padding: 18px 0 10px;
  margin: 0 auto 16px;
  max-width: 1200px;
}

.gallery-hr{
  border: none;
  height: 2px;
  margin: 14px auto 20px;
  max-width: 1200px;

  /* Lacivert degrade */
  background: linear-gradient(
    90deg,
    transparent,
    var(--nav),
    var(--nav),
    transparent
  );

  border-radius: 2px;
}


/* 3 sütunlu masonry */
.gallery-grid {
  column-count: 3;          /* masaüstü: 3 sütun */
  column-gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
}

/* Kartın kendisi – genişlik otomatik, yükseklik tamamen resme göre */
.gallery-item {
  position: relative;
  display: inline-block;    /* column layout için */
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;      /* sütunda bölünmesin */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  cursor: pointer;
  background: #000;         /* görüntü yüklenene kadar */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  padding: 0;
  text-align: left;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
}

.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

/* İç sarmalayıcı – artık sabit yükseklik yok */
.gallery-item-inner {
  display: block;
  width: 100%;
}

/* Asıl resim – neyse o, o şekilde göster */
.gallery-img {
  display: block;
  width: 100%;
  height: auto;             /* oran korunur */
  object-fit: cover;        /* çok uzayanları biraz kırpsın istersen */
}

/* Hover overlay (yazı kısmı) */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.55)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.image-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.image-description {
  font-size: 13px;
  opacity: 0.9;
}

/* Responsive sütun sayısı */
@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    column-count: 1;
  }
}


  .image-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .image-description {
    font-size: 13px;
    opacity: 0.9;
  }

  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .lightbox.active {
    display: flex;
  }

  .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 20px 25px;
    text-align: center;
    position: relative;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    margin-bottom: 12px;
  }

  .lightbox-title {
    font-size: 20px;
    color: #333333;
    margin: 0 0 5px 0;
    font-weight: 700;
  }

  .lightbox-description {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
  }

  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #667eea;
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    line-height: 1;
  }

  .close-button:hover {
    background: #764ba2;
  }

  .home-popup {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .home-popup.active {
    display: flex;
  }

  .home-popup__backdrop {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(8, 21, 39, 0.32) 0%, rgba(8, 21, 39, 0.72) 100%);
    backdrop-filter: blur(8px);
  }

  .home-popup__dialog {
    position: relative;
    width: min(100%, 760px);
    max-height: min(88vh, 920px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background:
      radial-gradient(circle at top right, rgba(66, 165, 245, 0.22), transparent 38%),
      linear-gradient(160deg, #ffffff 0%, #f4f8fc 100%);
    box-shadow: 0 28px 80px rgba(8, 21, 39, 0.26);
  }

  .home-popup__header {
    padding: 32px 36px 18px;
    border-bottom: 1px solid var(--border);
  }

  .home-popup__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(30, 136, 229, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .home-popup__title {
    margin: 16px 0 8px;
    color: var(--heading);
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    line-height: 1.12;
  }

  .home-popup__date {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
  }

  .home-popup__body {
    padding: 24px 36px 12px;
    overflow-y: auto;
    color: var(--text);
  }

  .home-popup__body .sayfa-icerik {
    min-height: 120px;
  }

  .home-popup__footer {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    padding: 18px 36px 32px;
    border-top: 1px solid rgba(215, 227, 244, 0.8);
  }

  .home-popup__preference {
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
  }

  .home-popup__checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex: 0 0 auto;
  }

  .home-popup__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 22px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  }

  .home-popup__action:hover,
  .home-popup__action:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    filter: saturate(1.05);
  }

  .home-popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--heading);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(8, 21, 39, 0.14);
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .home-popup__close:hover,
  .home-popup__close:focus-visible {
    transform: scale(1.04);
    background: #ffffff;
  }

  body.home-popup-open {
    overflow: hidden;
  }

  @media (max-width: 1024px) {
    .gallery-grid {
      column-count: 2;
    }
  }

  @media (max-width: 768px) {
    .gallery-grid {
      column-count: 1;
      column-gap: 0;
    }
    .gallery-item-inner {
      height: 220px;
    }

    .home-popup {
      padding: 16px;
    }

    .home-popup__dialog {
      width: 100%;
      max-height: 90vh;
      border-radius: 22px;
    }

    .home-popup__header {
      padding: 24px 22px 16px;
    }

    .home-popup__body {
      padding: 18px 22px 10px;
    }

    .home-popup__footer {
      flex-direction: column;
      align-items: stretch;
      padding: 16px 22px 24px;
    }

    .home-popup__preference {
      margin-right: 0;
    }

    .home-popup__action {
      width: 100%;
      justify-content: center;
    }
  }

/* ====== Yeni Google Translate bar / container iframe'ini kesin gizle ====== */
.skiptranslate,
.skiptranslate *{
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* iframe'i ayrıca net hedefle */
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe[id$=".container"],
iframe[id*="container"]{
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  border: 0 !important;
}

/* Çeviri açıkken (FR/DE/EN) menü sıkışsın */
html.translated-ltr #navbar .nav-link,
html.translated-rtl #navbar .nav-link{
  padding-left: .55rem !important;
  padding-right: .55rem !important;
  font-size: .92rem !important;
  white-space: nowrap !important; /* kelime bölünmesin */
}

/* Üst mini menü de taşmasın */
html.translated-ltr #ustnav .nav-link,
html.translated-rtl #ustnav .nav-link{
  padding-left: .4rem !important;
  padding-right: .4rem !important;
  font-size: .86rem !important;
  white-space: nowrap !important;
}
/* CKEditor content (article-body) image alignment */
.article-body figure.image {
  margin: 0.5rem 0;
}

.article-body figure.image.image-style-align-left {
  float: left !important;
  margin: .3rem 1rem .3rem 0 !important;
}

.article-body figure.image.image-style-align-right {
  float: right !important;
  margin: .3rem 0 .3rem 1rem !important;
}

.article-body figure.image.image-style-align-center {
  float: none !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* resize class sende var */
.article-body figure.image.image_resized {
  max-width: 100%;
}
.article-body figure.image.image_resized img {
  width: 100%;
  height: auto;
  display: block;
}

/* float sonrası içerik taşmasın */
.article-body::after {
  content: "";
  display: block;
  clear: both;
}
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: var(--mobile-menu-top);
    height: calc(100dvh - var(--mobile-menu-top));
    overflow-y: auto;
  }
}

/* =========================================================
   HEADER / NAV REFRESH
   ========================================================= */

:root {
  --nav: #173a84;
  --nav-hover: #1d4fb0;
  --sbar: #0f2f6d;
  --dark: #0b214c;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(8, 21, 39, 0.38);
}

.theme-switcher {
  display: none;
}

.main-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(90deg, #173a84 0%, #1f56bf 58%, #2f7df0 100%);
  box-shadow: 0 14px 34px rgba(8, 21, 39, 0.18);
}

.main-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.main-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 10px
    );
  opacity: 0.55;
  pointer-events: none;
}

.main-header > * {
  position: relative;
  z-index: 1;
}

.header-content {
  padding: 0.7rem 2rem 0.8rem;
  gap: 1.15rem;
  min-height: 108px;
  align-items: center;
}

.logo-section {
  gap: 1rem;
  flex-shrink: 0;
  align-self: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-wrapper {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(8, 21, 39, 0.22);
}

.logo-icon {
  width: 82px;
  height: 82px;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.header-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  min-height: 82px;
}

.header-text h1 {
  font-size: clamp(1.2rem, 1.65vw, 1.8rem);
  line-height: 1.28;
  margin-bottom: 0;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 18px rgba(8, 21, 39, 0.22);
}

.header-text p {
  margin-bottom: 0.38rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.header-mobile-subtitle {
  display: none;
}

.mega-nav {
  background: linear-gradient(90deg, rgba(7, 22, 54, 0.24), rgba(7, 22, 54, 0.14));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(8, 21, 39, 0.14);
}

.nav-wrapper {
  padding: 0.14rem 2rem;
  justify-content: space-between;
}

.nav-list {
  flex: 1;
  gap: 0.35rem;
}

.nav-list > li > a,
.nav-list > li > button {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.74rem 0.95rem;
}

.nav-list > li > a:hover,
.nav-list > li > button:hover,
.nav-list > li > a:focus-visible,
.nav-list > li > button:focus-visible {
  color: #fff;
  opacity: 0.96;
  background: rgba(255, 255, 255, 0.14);
}

.nav-list > li > a[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

.has-dropdown > a::after,
.has-dropdown > button::after {
  opacity: 0.9;
}

.mega-menu {
  top: 100%;
  border-radius: 0 0 20px 20px;
  border-top: 1px solid rgba(23, 58, 132, 0.08);
}

.mega-links a,
.mega-links button.mega-action {
  color: #24364f;
}

.mega-links a:hover,
.mega-links button.mega-action:hover,
.mega-links a:focus-visible,
.mega-links button.mega-action:focus-visible,
.mega-single:hover,
.mega-single:focus-visible {
  color: #173a84;
  background: rgba(23, 58, 132, 0.08);
}

.social-links a:focus-visible,
.appointment-btn:focus-visible,
.logo-link:focus-visible .logo-wrapper {
  box-shadow:
    0 0 0 4px rgba(8, 21, 39, 0.38),
    0 12px 28px rgba(8, 21, 39, 0.22);
}

.social-container {
  padding: 0.36rem 2rem 0.42rem;
  align-items: center;
}

.contact-info {
  align-items: center;
  row-gap: 0.45rem;
}

.contact-info span {
  line-height: 1.35;
}

@media (max-width: 768px) {
  .social-container {
    padding: 0.42rem 0.75rem 0.45rem;
    gap: 0.5rem;
  }

  .contact-info {
    width: 100%;
    margin-left: 0;
    gap: 0.75rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
  }

  .contact-info span {
    min-width: 0;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .contact-info > span:nth-of-type(2) {
    display: none;
  }

  .social-links {
    gap: 0.45rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  .social-links a {
    width: 26px;
    height: 26px;
    font-size: 0.95rem;
  }

  .appointment-btn {
    display: none;
  }

  .main-header {
    background: linear-gradient(90deg, #102c62 0%, #1b4da8 55%, #2d76e6 100%);
    box-shadow: 0 10px 24px rgba(8, 21, 39, 0.2);
  }

  .header-content {
    padding: 0.7rem 0.9rem;
    gap: 0.75rem;
    min-height: 0;
    align-items: center;
  }

  .logo-section {
    flex: 0 0 auto;
    gap: 0;
  }

  .logo-link {
    flex: 0 0 auto;
  }

  .logo-wrapper {
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 18px rgba(8, 21, 39, 0.22);
  }

  .logo-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
  }

  .header-text {
    flex: 1 1 auto;
    min-width: 0;
    align-self: center;
    min-height: 0;
  }

  .header-text h1 {
    font-size: clamp(1rem, 3.7vw, 1.18rem);
    line-height: 1.22;
    font-weight: 700;
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #site-subtitle {
    display: none;
  }

  .header-mobile-subtitle {
    display: block;
    margin: 0.18rem 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
  }

  .mega-nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: 0;
  }

  .nav-wrapper {
    padding: 0;
    height: 0;
    min-height: 0;
    overflow: visible;
    display: block;
  }

  .mobile-toggle {
    flex: 0 0 auto;
    margin-left: 0.15rem;
    align-self: center;
  }

  .nav-list {
    background: linear-gradient(180deg, #173a84 0%, #0b214c 100%);
    padding: 4.5rem 1.25rem 2rem;
    box-shadow: 0 18px 42px rgba(8, 21, 39, 0.32);
  }

  .nav-list > li > a,
  .nav-list > li > button {
    width: 100%;
    color: #f7fbff;
    font-weight: 700;
    white-space: normal;
    text-align: left;
  }

  .nav-list > li {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .nav-list > li > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-list > li > a:hover,
  .nav-list > li > button:hover,
  .nav-list > li > a:focus-visible,
  .nav-list > li > button:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
  }

  .mega-menu {
    margin-top: 0.25rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
    box-shadow:
      0 14px 28px rgba(8, 21, 39, 0.18),
      inset 0 0 0 1px rgba(23, 58, 132, 0.1);
  }

  .mega-container {
    padding: 0.25rem 0.25rem 0.5rem;
  }

  .mega-title,
  .mega-single {
    color: #14366f;
  }

  .mega-links a,
  .mega-links button.mega-action {
    color: #21395a;
  }
}

@media (max-width: 576px) {
  .logo-wrapper {
    padding: 4px 5px;
  }

  .logo-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .header-content {
    padding: 0.65rem 0.75rem;
  }

  .header-text h1 {
    font-size: clamp(0.96rem, 4vw, 1.08rem);
  }
}

/* =========================================================
   TOP SLIDER REFRESH
   ========================================================= */

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  z-index: 100000;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #081527;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(8, 21, 39, 0.22);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#main-content,
.quick-links,
.news-section,
.announcements-events-section,
.stats-section {
  scroll-margin-top: 1rem;
}

.home-main:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 6px;
}

.slider-section {
  width: 100%;
  background: linear-gradient(180deg, #081527 0%, #0f264f 100%);
}

.slider-wrapper {
  width: 100%;
  height: clamp(280px, 40vh, 480px);
  min-height: 280px;
  max-height: 520px;
  --slider-dots-offset: 1.25rem;
  --scroll-down-offset: 4.2rem;
}

.slider-container:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.slide {
  background: #081527;
}

.slide > a {
  color: inherit;
}

.slide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
}

.slide-placeholder {
  background: linear-gradient(135deg, #173a84 0%, #2f7df0 100%);
}

.slide-overlay {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 2.4rem) clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 18% 82%, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.34) 28%, transparent 58%),
    linear-gradient(90deg, rgba(8, 21, 39, 0.4) 0%, rgba(8, 21, 39, 0.2) 34%, rgba(8, 21, 39, 0.08) 62%, rgba(8, 21, 39, 0) 100%),
    linear-gradient(180deg, rgba(8, 21, 39, 0.1) 0%, rgba(8, 21, 39, 0.24) 36%, rgba(8, 21, 39, 0.68) 100%);
}

.slide-content {
  width: min(1400px, 100%);
  padding-right: clamp(3.5rem, 8vw, 8rem);
}

.slide-content h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.55rem;
  display: inline-block;
  max-width: 100%;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45);
}

.slide-content p {
  font-size: clamp(0.92rem, 1.25vw, 1.1rem);
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.slider-btn {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #2563eb;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.slider-btn:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.22);
  color: #2563eb;
  transform: translateY(-50%) translateY(-1px) scale(1.04);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.slider-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

.slider-toggle {
  top: 1rem;
  right: 1rem;
  background: rgba(8, 21, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
}

.slider-dots {
  bottom: var(--slider-dots-offset);
  gap: 0.65rem;
}

.dot {
  width: 11px;
  height: 11px;
  background-color: rgba(255, 255, 255, 0.55);
}

.dot.active {
  width: 32px;
  background-color: #fff;
}

.scroll-down--dots {
  bottom: var(--scroll-down-offset);
}

@media (max-width: 992px) {
  .slider-wrapper {
    height: clamp(250px, 36vh, 400px);
    min-height: 250px;
    --slider-dots-offset: 1rem;
    --scroll-down-offset: 3.7rem;
  }

  .slide-content {
    padding-right: 4.5rem;
  }
}

@media (max-width: 768px) {
  .slide-overlay {
    align-items: flex-end;
    padding:
      1rem
      clamp(1rem, 4vw, 1.5rem)
      clamp(4.25rem, 11vw, 5.5rem)
      clamp(1rem, 4vw, 1.5rem);
    background:
      radial-gradient(circle at 16% 84%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.42) 32%, transparent 60%),
      linear-gradient(90deg, rgba(8, 21, 39, 0.56) 0%, rgba(8, 21, 39, 0.3) 44%, rgba(8, 21, 39, 0) 100%),
      linear-gradient(180deg, rgba(8, 21, 39, 0.08) 0%, rgba(8, 21, 39, 0.18) 34%, rgba(8, 21, 39, 0.74) 100%);
  }

  .slide-content {
    width: 100%;
    max-width: min(92%, 34rem);
    padding-right: 3.75rem;
    padding-left: 0.15rem;
  }

  .slide-content h2 {
    font-size: clamp(16px, 5vw, 28px);
    line-height: 1.3;
    max-width: 90%;
    margin-bottom: 0;
    font-weight: 600;
    display: block;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 576px) {
  .slider-wrapper {
    height: clamp(220px, 34vh, 300px);
    min-height: 220px;
    --slider-dots-offset: 0.9rem;
    --scroll-down-offset: 3.3rem;
  }

  .slide-overlay {
    padding:
      0.95rem
      1rem
      clamp(3.9rem, 14vw, 4.75rem)
      1rem;
    background:
      radial-gradient(circle at 18% 82%, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.34) 28%, transparent 56%),
      linear-gradient(90deg, rgba(8, 21, 39, 0.52) 0%, rgba(8, 21, 39, 0.26) 44%, rgba(8, 21, 39, 0) 100%),
      linear-gradient(180deg, rgba(8, 21, 39, 0.12) 0%, rgba(8, 21, 39, 0.28) 38%, rgba(8, 21, 39, 0.72) 100%);
  }

  .slide-content {
    padding-right: 0;
    max-width: 92%;
    padding-left: 0;
  }

  .slide-content h2 {
    font-size: clamp(16px, 5vw, 24px);
    line-height: 1.3;
    max-width: 90%;
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
  }

  .slide-content p {
    display: block;
    font-size: 0.84rem;
    line-height: 1.35;
    max-width: 28ch;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .slider-toggle {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
  }

  .slider-btn.prev {
    left: 0.75rem;
  }

  .slider-btn.next {
    right: 0.75rem;
  }

  .quick-links {
    padding: 1.05rem 1rem 1.2rem;
    margin-top: -0.2rem;
    background: #f7f9fc;
  }

  .links-grid {
    justify-content: stretch;
    gap: 0.75rem;
  }

  .link-card {
    min-height: 6.2rem;
    padding: 0.5rem 0.5rem;
  }

  .quick-link-item {
    flex-basis: calc(50% - 0.375rem);
    min-width: 0;
    max-width: none;
  }

  .link-card-title,
  .link-card h3 {
    font-size: 0.88rem;
    line-height: 1.24;
  }

  .link-card-icon {
    width: 1.95rem;
    min-height: 1.95rem;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  .slide,
  .slider-btn,
  .slider-toggle,
  .dot,
  .scroll-down--dots,
  .scroll-down__icon {
    animation: none !important;
    transition: none !important;
  }
}

html {
  font-size: calc(16px * var(--accessibility-font-scale, 1));
}

.accessibility-trigger {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2f5db2 0%, #1f4a97 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 46, 95, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.accessibility-trigger::before {
  content: none;
}

.accessibility-trigger i {
  line-height: 1;
}

.accessibility-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 46, 95, 0.28);
  filter: brightness(1.03);
}

.accessibility-trigger:focus-visible {
  outline: 3px solid rgba(255, 191, 71, 0.95);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(8, 21, 39, 0.18), 0 16px 34px rgba(20, 46, 95, 0.28);
}

.accessibility-panel {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 1200;
  width: min(400px, calc(100vw - 32px));
  max-height: min(78vh, 640px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(8, 21, 39, 0.2);
  padding: 1rem;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.accessibility-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.accessibility-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(13, 110, 253, 0.1);
}

.accessibility-panel__heading h2 {
  color: #0d47a1;
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.accessibility-panel__heading p {
  color: #66768d;
  font-size: 0.9rem;
  line-height: 1.45;
}

.accessibility-panel__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 999px;
  background: #f7faff;
  color: #0d47a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.accessibility-panel__close:hover {
  background: #eef5ff;
  border-color: rgba(13, 110, 253, 0.2);
  transform: translateY(-1px);
}

.accessibility-panel__body {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.95rem;
}

.accessibility-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 16px;
  background: #f9fbff;
}

.accessibility-setting--stacked {
  align-items: stretch;
  flex-direction: column;
}

.accessibility-setting__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.accessibility-setting__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(13, 110, 253, 0.1);
  color: #0d47a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.accessibility-setting__meta h3 {
  color: var(--heading);
  font-size: 0.98rem;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.accessibility-setting__meta p {
  color: #66768d;
  font-size: 0.84rem;
  line-height: 1.45;
}

.accessibility-font-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.accessibility-chip {
  min-width: 44px;
  height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(13, 110, 253, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #0d47a1;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.accessibility-chip:hover:not(:disabled) {
  background: #edf5ff;
  border-color: rgba(13, 110, 253, 0.24);
  transform: translateY(-1px);
}

.accessibility-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.accessibility-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: transparent;
  color: #0d47a1;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.accessibility-switch__track {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #c7d8f1;
  border: 1px solid rgba(13, 110, 253, 0.14);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.accessibility-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(8, 21, 39, 0.18);
  transition: transform 0.2s ease;
}

.accessibility-switch[aria-pressed="true"] .accessibility-switch__track {
  background: #0d6efd;
  border-color: rgba(13, 110, 253, 0.4);
}

.accessibility-switch[aria-pressed="true"] .accessibility-switch__thumb {
  transform: translateX(20px);
}

.accessibility-main-link {
  width: 100%;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: #0d47a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.accessibility-main-link:hover {
  background: #eef5ff;
  border-color: rgba(13, 110, 253, 0.22);
  transform: translateY(-1px);
}

.accessibility-panel__note {
  margin-top: 0.95rem;
  color: #5f7088;
  font-size: 0.82rem;
  line-height: 1.5;
}

body.accessibility-readable-font,
body.accessibility-readable-font button,
body.accessibility-readable-font input,
body.accessibility-readable-font select,
body.accessibility-readable-font textarea {
  font-family: Verdana, Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body.accessibility-high-contrast {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --text: #101010;
  --heading: #000000;
  --muted: #1f1f1f;
  --muted-2: #353535;
  --border: #111111;
  --border-soft: #2a2a2a;
  --section-title: #002f87;
  --link: #003bb3;
  --link-hover: #001b52;
  --nav: #001d4d;
  --nav-hover: #003c96;
  --sbar: #00163c;
  --dark: #00163c;
  --focus-ring: #ff8c00;
  background: #ffffff;
  color: #101010;
}

body.accessibility-high-contrast a {
  color: #003bb3;
}

body.accessibility-high-contrast button,
body.accessibility-high-contrast input,
body.accessibility-high-contrast textarea,
body.accessibility-high-contrast select {
  border-color: #111111;
}

body.accessibility-high-contrast .main-header,
body.accessibility-high-contrast .mega-nav,
body.accessibility-high-contrast .social-bar,
body.accessibility-high-contrast .main-footer,
body.accessibility-high-contrast .stats-section {
  background: #00163c !important;
}

body.accessibility-high-contrast .link-card,
body.accessibility-high-contrast .news-card,
body.accessibility-high-contrast .announcement-item,
body.accessibility-high-contrast .event-card,
body.accessibility-high-contrast .stat-item,
body.accessibility-high-contrast .accessibility-setting,
body.accessibility-high-contrast .accessibility-panel {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.45);
}

body.accessibility-high-contrast .accessibility-trigger,
body.accessibility-high-contrast .accessibility-main-link,
body.accessibility-high-contrast .accessibility-chip {
  background: #ffffff;
  color: #001d4d;
}

body.accessibility-reduce-motion *,
body.accessibility-reduce-motion *::before,
body.accessibility-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

@media (max-width: 768px) {
  .accessibility-trigger {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .accessibility-panel {
    right: 16px;
    left: 16px;
    bottom: 78px;
    width: auto;
    max-height: min(72vh, 620px);
    padding: 0.95rem;
  }

  .accessibility-setting {
    flex-direction: column;
    align-items: stretch;
  }

  .accessibility-switch {
    justify-content: space-between;
  }
}

/* =========================================================
   NAVBAR APPOINTMENT CTA
   ========================================================= */

:root {
  --appointment-cta-bg1: #4fa3b8;   /* açık ton */
  --appointment-cta-bg2: #2f7f99;   /* ana ton */
  --appointment-cta-bg3: #256a80;   /* koyu ton */
  --appointment-cta-shadow: rgba(47, 127, 153, 0.35);
}


.nav-appointment {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-appointment--mobile {
  display: none;
}

.nav-appointment--desktop {
  margin-left: auto;
  padding-left: 1rem;
}

.nav-wrapper {
  gap: 0.9rem;
}

.nav-list {
  min-width: 0;
}

.nav-appointment .appointment-btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 40px;
  padding: 8px 16px;

  border-radius: 8px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);

  border: 1px solid rgba(255, 255, 255, 0.35);

  background: linear-gradient(
    135deg,
    var(--appointment-cta-bg1) 0%,
    var(--appointment-cta-bg2) 50%,
    var(--appointment-cta-bg3) 100%
  );

  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;

  /* 💎 depth + inner light */
  box-shadow:
    0 4px 12px var(--appointment-cta-shadow),
    inset 0 1px 0 rgba(255,255,255,0.25);

  transition:
    all 0.25s ease;
}

/* 📅 ikon */
.nav-appointment .appointment-btn::before {
  content: "\1F4C5";
  font-size: 0.96rem;
  line-height: 1;
  margin-right: 0.5rem;
}


.nav-appointment .appointment-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.25) 0%,
    rgba(255,255,255,0.05) 40%,
    transparent 100%
  );

  pointer-events: none;
}


.nav-appointment .appointment-btn:hover,
.nav-appointment .appointment-btn:focus-visible {
  background: linear-gradient(
    135deg,
    #5bb0c7 0%,
    #2f7f99 50%,
    #1f5f73 100%
  );

  color: #ffffff;

  box-shadow:
    0 8px 20px rgba(47, 127, 153, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.nav-appointment .appointment-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.nav-appointment .appointment-btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .nav-wrapper {
    gap: 0.7rem;
  }

  .nav-appointment--desktop {
    padding-left: 0.5rem;
  }

  .nav-appointment .appointment-btn {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.86rem;
  }
}

@media (max-width: 768px) {
  .nav-appointment--desktop {
    display: none;
  }

  .nav-appointment--mobile {
    display: flex;
    margin-left: auto;
  }

  .nav-appointment--mobile .appointment-btn {
    min-height: 44px;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 0.78rem;
    box-shadow: 0 6px 14px rgba(224, 104, 0, 0.22);
  }

  .nav-appointment--mobile .appointment-btn::before {
    margin-right: 0.4rem;
  }
}

@media (max-width: 420px) {
  .nav-appointment--mobile .appointment-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 7px 12px;
    font-size: 0;
  }

  .nav-appointment--mobile .appointment-btn::before {
    margin-right: 0;
    font-size: 1rem;
  }
}

@media (forced-colors: active) {
  .nav-appointment .appointment-btn {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
    forced-color-adjust: auto;
  }

  .nav-appointment .appointment-btn::before {
    color: ButtonText;
  }
}

/* =========================================================
   ANNOUNCEMENTS / EVENTS PAGER
   ========================================================= */

.list-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.announcements-column .list-section-header h2,
.events-column .list-section-header h2 {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.list-pager {
  flex: 0 0 auto;
}

.list-pager .ui-slider-btn {
  width: 42px;
  height: 42px;
}

.list-pager .ui-slider-counter {
  min-width: 44px;
}

.announcement-item-link[hidden],
.event-card-link[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .list-section-header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .list-pager {
    width: 100%;
    justify-content: flex-end;
  }

  .list-pager .ui-slider-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .list-section-header {
    margin-bottom: 1.15rem;
  }

  .list-pager {
    justify-content: space-between;
  }

  .list-pager .ui-slider-counter {
    flex: 1 1 auto;
  }
}
/* Eski Quill tablolarındaki personel görselleri */
td.ql-align-center.is-image-cell > figure.image {
    width: 111px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 8px auto !important;
}

td.ql-align-center.is-image-cell > figure.image > img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 8px;
}

/* CKEditor tablo görselleri: inline yüzde genişliğini koru.
   Eski Quill figure kuralıyla eşleşen görselleri kapsam dışında tut. */
.article-body .editor-content table :is(td, th) figure.image.image_resized:not(td.ql-align-center.is-image-cell > figure.image) {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    float: none !important;
    margin: 8px auto !important;
}

.article-body .editor-content table :is(td, th) figure.image.image_resized:not(td.ql-align-center.is-image-cell > figure.image) img {
    display: block;
    width: 100%;
    float: none;
    margin: 0 auto;
    height: auto;
    max-width: 100%;
}

/* Personel/kadro tabloları: kolonlar her satırdaki hücre sayısına eşit bölünür */
/* Personel/kadro tablolarında kolonları eşit böl */
.personel-kadro figure.table,
.personel-kadro figure.table table {
    width: 100%;
}

.personel-kadro figure.table table {
    table-layout: fixed;
}

.personel-kadro figure.table td,
.personel-kadro figure.table th {
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
}


/* CKEditor görselleri */
.personel-kadro td > figure.image {
    width: 120px !important;
    margin: 8px auto !important;
    float: none !important;
}

/* Eski Quill görsellerinin kapsayıcısı */
.personel-kadro td.ql-align-center.is-image-cell > span {
    display: block;
    width: 120px;
    margin: 8px auto;
}

/* CKEditor + eski Quill: ortak fotoğraf görünümü */
.personel-kadro td > figure.image > img,
.personel-kadro td.ql-align-center.is-image-cell > span > img {
    display: block;
    width: 120px !important;
    height: 160px !important;
    max-width: 100% !important;
    margin: 0 auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
}

/* Personel tablosundaki eski Quill metin/link hizaları */
.personel-kadro td.ql-align-center {
    text-align: center !important;
}

.personel-kadro td.ql-align-center > a,
.personel-kadro td.ql-align-center > p,
.personel-kadro td.ql-align-center > strong {
    display: block;
    text-align: center !important;
}