/*
Theme Name: DEÜ Modüler
Theme URI: https://www.deu.edu.tr
Author: Gurkan
Description: Dokuz Eylül Üniversitesi birimleri için modüler, erişilebilir kurumsal tema. Sol/sağ/çift kenar çubuklu ve tam genişlik sayfa şablonları, footer üstü tam genişlik bileşen alanı, satır/kolon düzenleyici, duyuru-etkinlik ve logo slider kısa kodları içerir. Modüller Görünüm → Tema Modülleri ekranından açılıp kapatılır.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: deu-moduler
*/

:root {
  --deu-navy: #002b49;
  --deu-deep: #001a2d;
  --deu-blue: #0077b8;
  --deu-sky: #ebf3fa;
  --deu-gold: #cba052;
  --deu-text: #1e293b;
  --deu-muted: #64748b;
  --deu-border: #e2e8f0;
  --deu-bg: #f4f7fb;
  --deu-white: #fff;
  --shadow: 0 10px 30px rgba(0, 43, 73, .10)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--deu-bg);
  color: var(--deu-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
  /* Not: footer widget içi görseller için official-footer.css'de
     display: inline-block !important override'ı yapılmaktadır. */
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important
}

.screen-reader-text:focus {
  clip: auto !important;
  height: auto;
  width: auto;
  z-index: 100000;
  background: #fff;
  color: #000;
  padding: 12px;
  left: 10px;
  top: 10px
}

/* WCAG 2.4.7 / 2.4.11: a focus indicator must remain visible on every control. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #003e70 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #fff;
}

:where(button, input, select, textarea):disabled {
  cursor: not-allowed;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin: auto
}

.site-main {
  min-height: 40vh
}

.button,
.deu-element-button,
input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--deu-navy);
  color: #fff;
  padding: .75rem 1.25rem;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s
}

.button:hover,
.deu-element-button:hover,
input[type=submit]:hover {
  background: var(--deu-blue);
  transform: translateY(-1px)
}

.button--outline {
  background: transparent;
  border-color: currentColor
}

.eyebrow {
  display: block;
  color: var(--deu-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem
}

.section-head h2 {
  color: var(--deu-navy);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  margin: .25rem 0 0
}

.section {
  padding: 4.5rem 0
}

.site-header {
  position: relative;
  z-index: 30;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 26, 45, .08)
}

.utility-bar {
  background: var(--deu-deep);
  color: #cbd5e1;
  font-size: .72rem
}

.utility-bar .container,
.utility-actions {
  display: flex;
  align-items: center
}

.utility-bar .container {
  min-height: 34px;
  justify-content: space-between;
  gap: 1rem
}

.utility-actions {
  gap: 1.1rem
}

.utility-bar a:hover {
  color: #fff
}

.emergency {
  color: #fda4af;
  font-weight: 800
}

.header-main {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain
}

.brand-name {
  display: block;
  color: var(--deu-navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15
}

.brand-meta {
  display: block;
  color: #64748b;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  margin-top: .15rem
}

.primary-nav {
  margin-left: auto
}

.menu,
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  gap: .1rem
}

.primary-nav a {
  display: block;
  border-radius: 5px;
  color: var(--deu-navy);
  font-size: .79rem;
  font-weight: 800;
  padding: .7rem .8rem
}

.primary-nav a:hover,
.primary-nav .current-menu-item>a {
  background: var(--deu-sky);
  color: var(--deu-blue)
}

.header-tools {
  display: flex;
  gap: .45rem
}

.icon-button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--deu-border);
  border-radius: 5px;
  background: #fff;
  color: var(--deu-navy);
  cursor: pointer;
  font-size: 1rem
}

.icon-button:hover {
  background: var(--deu-sky)
}

.mobile-toggle {
  display: none
}

.search-panel {
  background: #f8fafc;
  border-top: 1px solid var(--deu-border);
  padding: .85rem 0
}

.search-panel[hidden] {
  display: none
}

.search-panel form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.search-panel .search-form-row {
  display: flex;
  align-items: stretch;
  gap: .5rem;
  width: 100%;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: .65rem .8rem;
}

.error-404-search {
  max-width: 620px;
  margin-top: 1.25rem
}

.error-404-search form {
  display: flex;
  align-items: stretch;
  gap: .5rem
}

.error-404-search input[type=search],
.error-404-search .button {
  box-sizing: border-box;
  min-height: 44px
}

.error-404-search input[type=search] {
  flex: 1;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: .65rem .8rem
}

@media(max-width:520px) {
  .error-404-search form {
    flex-direction: column
  }
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  background: var(--deu-deep);
  color: #fff;
  overflow: hidden
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .75s ease, transform 1s ease;
  pointer-events: none;
  z-index: 1
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2
}

.hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 24, 43, .91) 0%, rgba(0, 35, 60, .68) 48%, rgba(0, 24, 43, .16) 100%)
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 610px;
  align-items: center
}

.hero-copy {
  max-width: 690px
}

.hero .eyebrow {
  color: #bae6fd
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: .7rem 0 1rem
}

.hero h1 span {
  color: #7dd3fc
}

.hero-text {
  max-width: 580px;
  color: #e2e8f0;
  font-size: 1.08rem
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem
}

.hero .button--outline {
  border-color: rgba(255, 255, 255, .6)
}

.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 2.2rem;
  left: max(24px, calc((100vw - 1320px)/2));
  display: flex;
  gap: .55rem
}

/* Düğme 24x24 dokunma alanıdır (WCAG 2.5.8); görünen nokta ::before ile çizilir. */
.hero-dot {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer
}

.hero-dot::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 100%;
  background: rgba(255, 255, 255, .6)
}

.hero-dot.is-active::before {
  width: 25px;
  border-radius: 5px;
  background: #38bdf8
}

.announcements {
  background: linear-gradient(110deg, var(--deu-navy), #0b3d64);
  color: #fff;
  padding: 3rem 0
}

.announcements .section-head h2 {
  color: #fff
}

.announcements .eyebrow {
  color: #7dd3fc
}

.card-grid {
  display: grid;
  gap: 1.25rem
}

.announcement-grid {
  grid-template-columns: repeat(3, 1fr)
}

.card-label {
  display: inline-block;
  border-radius: 4px;
  background: rgba(56, 189, 248, .15);
  color: #bae6fd;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  padding: .25rem .45rem
}

.news-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem
}

.post-card,
.event-card {
  overflow: hidden;
  border: 1px solid var(--deu-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 43, 73, .04);
  transition: .25s
}

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

.post-image {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  background: #dbeafe;
  overflow: hidden
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s
}

.post-card:hover .post-image img {
  transform: scale(1.05)
}

.post-body {
  padding: 1.3rem
}

.post-meta {
  color: var(--deu-blue);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase
}

.post-card h3 {
  color: var(--deu-navy);
  font-size: 1.16rem;
  line-height: 1.35;
  margin: .5rem 0
}

.post-card p {
  color: var(--deu-muted);
  font-size: .9rem;
  margin: 0
}

.news-side {
  display: grid;
  gap: 1rem
}

.news-side .post-card {
  display: grid;
  grid-template-columns: 150px 1fr
}

.news-side .post-image {
  aspect-ratio: auto;
  height: 100%
}

.news-side .post-body {
  padding: 1rem
}

.news-side h3 {
  font-size: .96rem
}

.feature-section {
  background: #fff
}

.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.feature-image {
  min-height: 390px;
  border-radius: 12px;
  background: center/cover no-repeat;
  box-shadow: var(--shadow)
}

.feature-copy h2 {
  color: var(--deu-navy);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.18;
  margin: .45rem 0 1rem
}

.feature-copy p {
  color: var(--deu-muted)
}

.feature-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.4rem
}

.feature-point {
  border: 1px solid var(--deu-border);
  border-radius: 8px;
  padding: 1rem
}

.feature-point strong {
  display: block;
  color: var(--deu-navy);
  font-size: .86rem
}

.feature-point span {
  color: var(--deu-muted);
  font-size: .75rem
}

.event-grid,
.campus-grid {
  grid-template-columns: repeat(4, 1fr)
}

.event-card .post-body {
  padding: 1rem
}

.event-date {
  position: absolute;
  top: .8rem;
  left: .8rem;
  border-radius: 5px;
  background: #fff;
  color: var(--deu-navy);
  padding: .35rem .55rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  font-weight: 800;
  line-height: 1
}

.event-date b {
  display: block;
  font-size: 1rem
}

.event-date small {
  font-size: .58rem
}

.event-card h3 {
  color: var(--deu-navy);
  font-size: .95rem;
  line-height: 1.35;
  margin: 0
}

.event-details {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  border-top: 1px solid #f1f5f9;
  color: var(--deu-muted);
  font-size: .72rem;
  margin-top: 1rem;
  padding-top: .75rem
}

.campus-life {
  background: var(--deu-deep);
  color: #fff
}

.campus-life .section-head {
  justify-content: center;
  text-align: center
}

.campus-life .section-head h2 {
  color: #fff
}

.campus-life .eyebrow {
  color: #7dd3fc
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .8rem
}

.life-item {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  padding: 1.3rem .75rem;
  text-align: center
}

.life-item:hover {
  background: rgba(255, 255, 255, .11)
}

.life-item .life-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 100%;
  background: rgba(56, 189, 248, .16);
  color: #7dd3fc;
  font-size: 1.4rem;
  line-height: 1;
  overflow: visible;
  margin: 0 auto 1.25rem
}

.life-item strong {
  display: block;
  font-size: .76rem
}

.life-item span {
  color: #94a3b8;
  font-size: .67rem
}

.numbers {
  background: #fff
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.number-card {
  border-left: 3px solid var(--deu-blue);
  padding: 1rem 1.2rem
}

.number-value {
  display: block;
  color: var(--deu-navy);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1
}

.number-label {
  color: var(--deu-muted);
  font-size: .78rem;
  font-weight: 700
}

.app-banner {
  border-radius: 12px;
  background: linear-gradient(110deg, var(--deu-navy), #0b3d64);
  color: #fff;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow)
}

.app-banner h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: .4rem 0
}

.app-banner p {
  max-width: 700px;
  color: #cbd5e1
}

.app-icon {
  display: grid;
  place-items: center;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  font-size: 3.5rem;
  color: #7dd3fc
}

.site-footer {
  background: var(--deu-deep);
  color: #94a3b8;
  font-size: .82rem
}

.footer-title {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .8rem
}

.footer-menu li {
  margin: .45rem 0
}

.footer-menu a:hover,
.footer-contact a:hover {
  color: #fff
}

.footer-brand p {
  max-width: 350px
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-size: .72rem
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  background: rgba(0, 26, 45, .6);
  opacity: 0;
  transition: .25s
}

.drawer.is-open {
  visibility: visible;
  opacity: 1
}

.drawer-panel {
  width: min(100%, 390px);
  height: 100%;
  margin-left: auto;
  background: #fff;
  padding: 1.3rem;
  transform: translateX(100%);
  transition: .25s;
  overflow: auto
}

.drawer.is-open .drawer-panel {
  transform: translateX(0)
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--deu-border);
  padding-bottom: 1rem
}

.drawer .menu {
  margin-top: 1rem
}

.drawer .menu a {
  display: block;
  border-bottom: 1px solid var(--deu-border);
  color: var(--deu-navy);
  font-weight: 700;
  padding: .8rem 0
}

.entry-header {
  padding: 3rem 0;
  background: #fff;
  border-bottom: 1px solid var(--deu-border)
}

.entry-title {
  color: var(--deu-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0
}

.content-area {
  max-width: 860px;
  padding: 3rem 0;
  margin-top: 2rem
}

.entry-content {
  font-size: 1.02rem
}

.entry-content a {
  color: var(--deu-blue);
  text-decoration: underline
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--deu-navy);
  line-height: 1.25;
  margin-top: 1.5em;
  margin-bottom: .5em
}

.entry-content p { margin-bottom: 1em; }

.deu-block-image img,
.entry-content img {
  border-radius: 8px
}

/* ==========================================================================
   WordPress Görsel Hizalama Sınıfları (Sola Yasla, Ortala, Sağa Yasla, Hizalama Yok)
   Frontend & Content
   ========================================================================== */

/* Container Clearfix: Floated görsellerin alt bloklara taşmasını engelle */
.entry-content::after,
.single-main::after,
.container.content-area::after {
  content: "";
  display: table;
  clear: both;
}

/* 1. SOLA YASLA (Align Left) - Yazılar görselin sağında akar */
.alignleft,
img.alignleft,
figure.alignleft,
.wp-caption.alignleft,
.entry-content .alignleft,
.entry-content img.alignleft,
.entry-content figure.alignleft,
.entry-content .wp-caption.alignleft,
.entry-content img.deu-cmp-align-left,
.entry-content .deu-cmp-align-left {
  display: inline !important;
  float: left !important;
  margin: 0.35rem 1.5rem 1rem 0 !important;
  max-width: 100%;
  height: auto;
}

/* 2. SAĞA YASLA (Align Right) - Yazılar görselin solunda akar */
.alignright,
img.alignright,
figure.alignright,
.wp-caption.alignright,
.entry-content .alignright,
.entry-content img.alignright,
.entry-content figure.alignright,
.entry-content .wp-caption.alignright,
.entry-content img.deu-cmp-align-right,
.entry-content .deu-cmp-align-right {
  display: inline !important;
  float: right !important;
  margin: 0.35rem 0 1rem 1.5rem !important;
  max-width: 100%;
  height: auto;
}

/* 3. ORTALA (Align Center) - Blok olarak ortalanır */
.aligncenter,
img.aligncenter,
figure.aligncenter,
.wp-caption.aligncenter,
.entry-content .aligncenter,
.entry-content img.aligncenter,
.entry-content figure.aligncenter,
.entry-content .wp-caption.aligncenter,
.entry-content img.deu-cmp-align-center,
.entry-content .deu-cmp-align-center {
  display: block !important;
  float: none !important;
  margin: 0.75rem auto 1rem !important;
  clear: both !important;
  max-width: 100%;
  height: auto;
}

/* 4. HİZALAMA YOK (Align None) - Akışta doğal satır içi/blok */
.alignnone,
img.alignnone,
figure.alignnone,
.wp-caption.alignnone,
.entry-content .alignnone,
.entry-content img.alignnone,
.entry-content figure.alignnone,
.entry-content .wp-caption.alignnone {
  display: inline-block !important;
  float: none !important;
  margin: 0 0.75rem 0.75rem 0 !important;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

/* Görseli tek başına barındıran paragraflar */
.entry-content p:has(> img.alignnone:only-child),
.entry-content p:has(> a > img.alignnone:only-child) {
  display: inline-block;
  margin: 0;
  vertical-align: top;
}

.entry-content p:has(> img.aligncenter:only-child),
.entry-content p:has(> a > img.aligncenter:only-child) {
  text-align: center;
}

/* WP Caption kutusu stilleri */
.entry-content .wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.entry-content .wp-caption-text {
  font-size: 0.85rem;
  color: var(--deu-muted, #64748b);
  margin-top: 0.35rem;
  text-align: center;
}

/* Görsel içeren paragrafların veya blokların birbirinin üzerine binmesini engelle (Clearfix) */
.entry-content div:has(> img.alignleft),
.entry-content p:has(> img.alignleft),
.entry-content div:has(> .alignleft),
.entry-content p:has(> .alignleft),
.entry-content div:has(> img.alignright),
.entry-content p:has(> img.alignright),
.entry-content div:has(> .alignright),
.entry-content p:has(> .alignright) {
  clear: both;
  margin-bottom: 1.5rem;
}

.entry-content div:has(> img.alignleft)::after,
.entry-content p:has(> img.alignleft)::after,
.entry-content div:has(> .alignleft)::after,
.entry-content p:has(> .alignleft)::after,
.entry-content div:has(> img.alignright)::after,
.entry-content p:has(> img.alignright)::after,
.entry-content div:has(> .alignright)::after,
.entry-content p:has(> .alignright)::after {
  content: "";
  display: table;
  clear: both;
}

/* Editörde peş peşe Enter basılarak bırakılan içi tamamen boş blokları gizle.
   Yalnızca sınıfı, stili ve kimliği olmayan boş öğeler: eklentilerin (WonderSlider vb.) boyut veren
   boş div'leri her zaman sınıf/stil taşır; onlar gizlenirse slider yüksekliği 0 olur. */
.entry-content div:empty:not([class]):not([style]):not([id]),
.entry-content p:empty:not([class]):not([style]):not([id]) {
  display: none;
}

/* Mobil cihazlarda float'ların metni sıkıştırmasını önle */
@media (max-width: 576px) {
  .entry-content .alignleft,
  .entry-content .alignright,
  .entry-content img.alignleft,
  .entry-content img.alignright,
  .entry-content figure.alignleft,
  .entry-content figure.alignright,
  .entry-content img.deu-cmp-align-left,
  .entry-content img.deu-cmp-align-right {
    float: none !important;
    display: block !important;
    margin: 0.5rem auto 1rem !important;
  }
}

.deu-e-bulten-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: flex-start;
}

.deu-e-bulten-gallery > img,
.deu-e-bulten-gallery > a {
  display: block;
  flex: 0 1 248px;
  max-width: 100%;
  margin: 0 !important;
}

.deu-e-bulten-gallery img {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  margin: 0 !important;
}

@media (max-width: 560px) {
  .deu-e-bulten-gallery > img,
  .deu-e-bulten-gallery > a { flex-basis: 100%; }
}


.pagination {
  display: flex;
  gap: .4rem;
  margin: 2rem 0
}

.pagination .page-numbers {
  border: 1px solid var(--deu-border);
  padding: .45rem .7rem
}

.pagination .current {
  background: var(--deu-navy);
  color: #fff
}

.cookie-actions {
  display: flex;
  gap: .5rem
}

@media(max-width:1100px) {
  .primary-nav {
    display: none
  }

  .mobile-toggle {
    display: grid
  }

  .news-layout {
    grid-template-columns: 1fr
  }

  .news-side {
    grid-template-columns: repeat(2, 1fr)
  }

  .life-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:760px) {
  .container {
    width: min(100% - 32px, 1320px)
  }

  .utility-actions .optional {
    display: none
  }

  .header-main {
    min-height: 72px
  }

  .brand-logo {
    width: 48px;
    height: 48px
  }

  .brand-name {
    font-size: .83rem
  }

  .hero,
  .hero-content {
    min-height: 420px
  }

  .hero h1 {
    font-size: 1.8rem
  }

  .hero-text {
    font-size: .88rem
  }

  .section {
    padding: 3.4rem 0
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .9rem
  }

  .announcement-grid,
  .event-grid,
  .campus-grid,
  .numbers-grid {
    grid-template-columns: 1fr
  }

  .news-side {
    grid-template-columns: 1fr
  }

  .news-side .post-card {
    grid-template-columns: 120px 1fr
  }

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem
  }

  .feature-image {
    min-height: 250px;
    order: -1
  }

  .feature-points {
    grid-template-columns: 1fr
  }

  .life-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .app-banner {
    grid-template-columns: 1fr;
    padding: 2rem
  }

  .app-icon {
    display: none
  }

  .footer-brand {
    grid-column: 1/-1
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column
  }

  .hero-controls {
    left: 16px
  }

  .event-card .post-image {
    max-height: 220px
  }
}

.brand .custom-logo {
  width: auto;
  height: 68px;
  max-width: 280px;
  object-fit: contain
}

@media(max-width:760px) {
  .brand .custom-logo {
    height: 68px
  }
}

/* Header information hierarchy and quick access panel */
.utility-layout {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem
}

.social-links {
  display: flex;
  align-items: center;
  gap: 2px
}

.social-link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: #cbd5e1;
  font-size: .85rem;
  transition: background-color .18s, color .18s, transform .18s
}

.social-link:hover {
  color: #fff;
  transform: translateY(-1px)
}

.social-link--facebook:hover {
  background: #1877f2
}

.social-link--instagram:hover {
  background: #e4405f
}

.social-link--x_twitter:hover {
  background: #000
}

.social-link--youtube:hover {
  background: #ff0000
}

.social-link--linkedin:hover {
  background: #0a66c2
}

.topbar-content-management-link {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  border-left: 1px solid rgba(255, 255, 255, .22);
  color: #dbeafe;
  font-size: .68rem;
  font-weight: 750;
  margin-left: .42rem;
  padding: .34rem 0 .34rem .68rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s, background-color .18s
}

.topbar-content-management-link i {
  color: #fcd34d;
  font-size: .76rem
}

.topbar-content-management-link:hover {
  color: #fff
}

.utility-language {
  color: #e2e8f0;
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap
}

.utility-language b {
  color: #475569;
  margin: 0 .25rem
}

.utility-language a{color:inherit;text-decoration:none}.utility-language a:hover,.utility-language a:focus-visible{color:#fff;text-decoration:underline}.utility-language a[aria-current="true"]{color:#fff}

.primary-nav .menu>li {
  position: relative
}

.primary-nav .menu>li>a {
  white-space: nowrap
}

.primary-nav .menu>li.menu-item-has-children>a:after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #94a3b8;
  font-size: .6rem;
  margin-left: .4rem
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  width: 245px;
  visibility: hidden;
  list-style: none;
  margin: 0;
  padding: .45rem;
  background: #fff;
  border: 1px solid var(--deu-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-5px);
  transition: .18s
}

.primary-nav .sub-menu a {
  padding: .58rem .7rem;
  font-size: .75rem;
  white-space: normal
}

.primary-nav .menu>li:hover>.sub-menu,
.primary-nav .menu>li:focus-within>.sub-menu {
  visibility: visible;
  opacity: 1;
  transform: none
}

.header-tools {
  align-items: center
}

.quick-access-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #006b9e, #00446b);
  color: #fff;
  padding: .68rem .78rem;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s
}

.quick-access-trigger i {
  color: #fcd34d
}

.quick-access-trigger:hover {
  background: linear-gradient(180deg, #0284c7, #005485);
  transform: translateY(-1px)
}

.quick-access {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  background: rgba(0, 26, 45, .6);
  opacity: 0;
  transition: opacity .25s, visibility .25s
}

.quick-access.is-open {
  visibility: visible;
  opacity: 1
}

.quick-access-panel {
  width: min(100%, 870px);
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #f8fafc;
  box-shadow: -16px 0 45px rgba(0, 26, 45, .2);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1)
}

.quick-access.is-open .quick-access-panel {
  transform: translateX(0)
}

.quick-access-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--deu-border)
}

.quick-access-head h2 {
  color: var(--deu-navy);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
  margin: .25rem 0
}

.quick-access-head p {
  color: var(--deu-muted);
  font-size: .85rem;
  margin: .45rem 0 0
}

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

.quick-category {
  border: 1px solid var(--deu-border);
  border-radius: 10px;
  background: #fff;
  padding: 1rem
}

.quick-category h3 {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--deu-navy);
  font-size: .85rem;
  margin: 0 0 .85rem
}

.quick-category h3>i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #e0f2fe;
  color: #0369a1
}

.quick-category--staff h3>i {
  background: #eef2ff;
  color: #4f46e5
}

.quick-category--services h3>i {
  background: #ecfdf5;
  color: #047857
}

.quick-links {
  display: grid;
  gap: .45rem
}

.quick-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 42px;
  border: 1px solid #e8eef5;
  border-radius: 6px;
  color: #334155;
  padding: .5rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  transition: .18s
}

.quick-link i {
  width: 16px;
  color: var(--deu-blue);
  text-align: center
}

.quick-link:hover {
  border-color: #b6d9ef;
  background: #f0f9ff;
  color: var(--deu-navy);
  transform: translateX(2px)
}

.quick-access-foot {
  margin-top: 1.4rem;
  color: var(--deu-muted);
  font-size: .72rem
}

.quick-access-foot i {
  color: var(--deu-blue)
}

@media(max-width:1250px) {
  .primary-nav a {
    padding: .65rem .55rem;
    font-size: .72rem
  }

  .quick-access-trigger span {
    display: none
  }

  .quick-access-trigger {
    padding: .7rem
  }
}

@media(max-width:1100px) {
  .utility-layout {
    grid-template-columns: auto 1fr auto
  }

  .quick-access-trigger span {
    display: inline
  }

  .primary-nav .sub-menu {
    display: none
  }

  .quick-categories {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:760px) {
  .utility-layout {
    grid-template-columns: auto 1fr
  }

  .utility-actions {
    justify-self: end
  }

  .utility-actions .emergency {
    font-size: .68rem
  }

  .utility-language {
    display: none
  }

  .social-link {
    width: 30px;
    height: 30px
  }

  .topbar-content-management-link {
    justify-content: center;
    width: 30px;
    height: 30px;
    border-left: 0;
    border-radius: 4px;
    margin-left: .18rem;
    padding: 0
  }

  .topbar-content-management-link span {
    display: none
  }

  .quick-access-panel {
    width: 100%;
    padding: 1.2rem
  }

  .quick-categories {
    grid-template-columns: 1fr
  }

  .quick-access-head {
    padding-bottom: 1rem
  }

  .quick-access-foot {
    padding-bottom: 1rem
  }

  .quick-access-trigger span {
    display: none
  }
}

.hero-slide:after {
  z-index: 1
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover
}

.hero-content {
  z-index: 2
}

.hero-copy {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.3rem);
  isolation: isolate
}

.hero-copy:before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: linear-gradient(115deg, rgba(0, 26, 45, .76), rgba(0, 43, 73, .48));
  backdrop-filter: blur(5px);
  box-shadow: 0 14px 40px rgba(0, 15, 30, .18)
}

.hero-navigation {
  position: absolute;
  z-index: 4;
  bottom: 2rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: .85rem;
  width: min(1320px, calc(100% - 48px));
  transform: translateX(-50%)
}

.hero-navigation .hero-controls {
  position: static;
  display: flex;
  gap: 0
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(0, 26, 45, .45);
  color: #fff;
  cursor: pointer;
  transition: .18s
}

.hero-arrow:hover {
  border-color: #7dd3fc;
  background: #0284c7
}

.hero-progress {
  width: clamp(120px, 16vw, 220px);
  height: 3px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, .35)
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #7dd3fc
}

.hero-navigation .hero-dot::before {
  width: 9px;
  height: 9px
}

.hero-navigation .hero-dot.is-active::before {
  width: 24px
}

.hero-copy .hero-text {
  position: relative
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-actions {
  position: relative
}

@media(max-width:760px) {
  .hero-navigation {
    bottom: 1.2rem;
    width: calc(100% - 32px);
    gap: .5rem
  }

  .hero-progress {
    flex: 1;
    min-width: 40px
  }

  .hero-arrow {
    width: 34px;
    height: 34px
  }

  .hero-navigation .hero-controls {
    gap: 0
  }

  .hero-navigation .hero-dot:not(.is-active)::before {
    width: 7px;
    height: 7px
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero-slide,
  .hero-video,
  .hero-progress span {
    transition: none !important;
    animation: none !important
  }
}

.information-hub {
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, #f4f7fb 0%, #fff 100%)
}

.information-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem
}

.information-panel {
  overflow: hidden;
  border: 1px solid var(--deu-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 43, 73, .06)
}

.information-panel--announcements {
  border-top: 4px solid var(--deu-blue)
}

.information-panel--events {
  border-top: 4px solid #0f766e
}

.information-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #edf2f7
}

.information-panel-head>div {
  display: flex;
  align-items: center;
  gap: .75rem
}

.information-panel-head .eyebrow {
  font-size: .62rem
}

.information-panel-head h3 {
  color: var(--deu-navy);
  font-size: 1.15rem;
  line-height: 1.15;
  margin: .12rem 0 0
}

.information-panel-head>a {
  color: var(--deu-blue);
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap
}

.information-panel-head>a:hover {
  color: var(--deu-navy)
}

.information-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e0f2fe;
  color: #0369a1
}

.information-panel--events .information-icon {
  background: #d1fae5;
  color: #047857
}

.information-list {
  padding: .25rem 1.25rem .7rem
}

.information-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: .8rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid #edf2f7
}

.information-item:last-child {
  border-bottom: 0
}

.information-date {
  display: grid;
  place-items: center;
  min-height: 43px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--deu-navy);
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase
}

.information-date--event {
  display: flex;
  flex-direction: column;
  background: #ecfdf5;
  color: #047857;
  line-height: 1
}

.information-date--event b {
  font-size: 1rem
}

.information-item .card-label {
  font-size: .59rem;
  padding: .18rem .35rem
}

.information-item h4 {
  color: var(--deu-navy);
  font-size: .87rem;
  line-height: 1.36;
  margin: .35rem 0 0
}

.information-item h4 a:hover {
  text-decoration: underline
}

.information-item p {
  color: var(--deu-muted);
  font-size: .72rem;
  margin: .25rem 0 0
}

.information-empty {
  color: var(--deu-muted);
  font-size: .85rem;
  padding: .9rem 0
}

.content-area--wide {
  max-width: 1320px
}

.listing-intro {
  max-width: 600px;
  color: var(--deu-muted);
  margin: .7rem 0 0
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.listing-grid > p {
  grid-column: 1 / -1;
  color: var(--deu-muted);
  font-size: .95rem;
  padding: 1.5rem 0;
}

.listing-grid .event-card h2 {
  color: var(--deu-navy);
  font-size: 1.05rem;
  line-height: 1.35;
  margin: .45rem 0 0
}

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

.listing-notice {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.15rem;
  border: 1px solid var(--deu-border);
  border-radius: 10px;
  background: #fff;
  padding: 1.25rem;
  transition: .2s;
  min-width: 0;
  box-sizing: border-box;
}

.listing-notice:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.listing-notice-body,
.listing-notice > div {
  min-width: 0;
  overflow: hidden;
}

.listing-notice-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .35rem;
}

.information-date--mobile {
  display: none;
}

.listing-notice h2 {
  color: var(--deu-navy);
  font-size: 1.1rem;
  line-height: 1.35;
  margin: .35rem 0 .5rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.listing-notice h2 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.listing-notice h2 a:hover {
  color: var(--deu-blue);
}

.listing-notice p {
  color: var(--deu-muted);
  font-size: .84rem;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.listing-notice .card-label {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #075985;
}

.listing-notice .card-label i {
  margin-right: .2rem;
}

.page-numbers {
  display: inline-flex;
  margin: .25rem;
  border: 1px solid var(--deu-border);
  border-radius: 4px;
  padding: .45rem .65rem
}

.page-numbers.current {
  background: var(--deu-navy);
  border-color: var(--deu-navy);
  color: #fff
}

.listing-load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem
}

.listing-load-more__button {
  min-width: 220px;
  border: 1px solid var(--deu-blue);
  border-radius: 7px;
  background: var(--deu-blue);
  color: #fff;
  padding: .75rem 1rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, transform .2s
}

.listing-load-more__button:hover,
.listing-load-more__button:focus-visible {
  background: var(--deu-navy);
  transform: translateY(-1px)
}

.listing-load-more__button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none
}

@media (max-width: 992px) {
  .listing-grid--notices {
    grid-template-columns: 1fr;
  }
}

@media(max-width:760px) {

  .content-area {
    padding: 1.75rem 0;
    margin-top: 1rem;
  }

  .information-hub-grid,
  .listing-grid,
  .listing-grid--notices {
    grid-template-columns: 1fr;
  }

  .information-panel-head {
    align-items: flex-start;
    padding: 1rem;
  }

  .information-list {
    padding: 0 1rem .5rem;
  }

  .information-panel-head>a {
    font-size: .68rem;
  }

  .listing-notice {
    padding: 1.15rem 1rem;
  }
}

@media (max-width: 640px) {
  .listing-grid--notices {
    gap: 0.85rem;
  }

  .listing-notice {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem;
    gap: 0.55rem;
  }

  /* Desktop 58px date column hidden on mobile */
  .listing-notice > .information-date:not(.information-date--mobile) {
    display: none;
  }

  /* Mobile date badge displayed inside meta row with card-label */
  .information-date--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0.22rem 0.55rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    text-transform: uppercase;
  }

  .listing-notice-body,
  .listing-notice > div {
    width: 100%;
    min-width: 0;
  }

  .listing-notice-meta {
    margin-bottom: 0.35rem;
  }

  .listing-notice h2 {
    font-size: 1.02rem;
    line-height: 1.35;
    margin: 0 0 0.45rem;
  }

  .listing-notice p {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .listing-load-more {
    margin-top: 1.5rem;
  }

  .listing-load-more__button {
    width: 100%;
    max-width: 100%;
    padding: .8rem 1rem;
    font-size: .88rem;
  }
}

.primary-nav a {
  font-size: .9rem;
  font-weight: 500
}

/* Genel slider ayarlarından gelen ölçüler. */
.hero {
  min-height: var(--deu-hero-height, 610px)
}

.hero--custom-width {
  width: min(var(--deu-hero-width, 1320px), calc(100% - 48px));
  margin: 0 auto
}

.hero-content {
  min-height: var(--deu-hero-height, 610px)
}

.hero-slide {
  transition: opacity var(--deu-hero-transition, 750ms) ease, transform var(--deu-hero-transition, 750ms) ease
}

.hero.hero--video-fade .hero-slide {
  transition-duration: 1s;
  transition-timing-function: ease-in-out
}

@media(max-width:768px) {

  .hero {
    touch-action: pan-y;
  }

  .hero,
  .hero-content {
    min-height: clamp(320px, 46vh, 390px) !important;
  }

  .hero-content {
    padding-top: 1.5rem;
    padding-bottom: 2.85rem;
    align-items: center;
  }

  .hero-copy {
    padding: 0.75rem 0.95rem !important;
    max-width: min(100%, 420px) !important;
    border-radius: 10px;
  }

  .hero-copy:before {
    border-radius: 10px;
    backdrop-filter: blur(4px);
  }

  .hero .eyebrow {
    font-size: 0.7rem !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 0.15rem !important;
    line-height: 1.2 !important;
    display: inline-block;
  }

  .hero h1,
  .hero-content--title-small h1,
  .hero-content--title-medium h1,
  .hero-content--title-large h1,
  .hero-content--title-xlarge h1 {
    font-size: clamp(1.05rem, 3.8vw, 1.35rem) !important;
    line-height: 1.2 !important;
    margin: 0.2rem 0 0.35rem !important;
  }

  .hero-text {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0 !important;
    max-width: 100%;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hero-actions {
    margin-top: 0.55rem !important;
    gap: 0.45rem !important;
  }

  .hero-actions .button {
    padding: 0.32rem 0.75rem !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
  }

  .hero-navigation {
    bottom: 0.75rem;
    width: calc(100% - 24px);
    gap: 0.45rem;
  }

  .hero-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .hero-navigation .hero-dot:not(.is-active)::before {
    width: 6px;
    height: 6px;
  }

  .hero-navigation .hero-dot.is-active::before {
    width: 18px;
  }

  .hero-progress {
    height: 2px;
  }

  .hero--custom-width {
    width: calc(100% - 24px);
  }
}

@media(max-width:480px) {

  .hero,
  .hero-content {
    min-height: clamp(280px, 40vh, 330px) !important;
  }

  .hero-content {
    padding-top: 1rem;
    padding-bottom: 2.35rem;
  }

  .hero-copy {
    padding: 0.55rem 0.75rem !important;
    max-width: 100% !important;
  }

  .hero-copy:before {
    border-radius: 8px;
  }

  .hero .eyebrow {
    font-size: 0.65rem !important;
    margin-bottom: 0.1rem !important;
  }

  .hero h1,
  .hero-content--title-small h1,
  .hero-content--title-medium h1,
  .hero-content--title-large h1,
  .hero-content--title-xlarge h1 {
    font-size: clamp(0.92rem, 3.5vw, 1.12rem) !important;
    margin: 0.15rem 0 0.25rem !important;
    line-height: 1.18 !important;
  }

  .hero-text {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
  }

  .hero-actions {
    margin-top: 0.45rem !important;
    gap: 0.35rem !important;
  }

  .hero-actions .button {
    padding: 0.26rem 0.6rem !important;
    font-size: 0.72rem !important;
    border-radius: 5px !important;
  }

  .hero-navigation {
    bottom: 0.5rem;
    gap: 0.35rem;
  }

  .hero-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
  }
}

/* Haber bölümündeki dış bağlantı düğmesi açık zeminde görünür kalır. */
.news-section .button--outline {
  border-color: var(--deu-navy);
  color: var(--deu-navy)
}

.news-section .button--outline:hover {
  border-color: var(--deu-blue);
  color: #fff
}

.hero-video--embed {
  border: 0
}

/* Duyuru ve etkinlik etiketleri, açık zeminde daha belirgin görünür. */
.information-item .card-label {
  border: 1px solid #7dd3fc;
  background: #e0f2fe;
  color: #075985;
  font-weight: 800
}

.information-panel--events .information-item .card-label {
  border-color: #6ee7b7;
  background: #d1fae5;
  color: #047857
}

/* Slider görselleri için merkezden kenarlara koyulaşan vinyet katmanı. */
.hero-slide:after {
  background: radial-gradient(ellipse at center, rgba(0, 26, 45, .04) 0%, rgba(0, 26, 45, .18) 46%, rgba(0, 26, 45, .58) 76%, rgba(0, 18, 32, .86) 100%)
}

.hero-slide:after {
  background-color: var(--deu-slide-background, transparent)
}

/* Görseli olmayan slaytlar, dış kaynak görsel yerine açık gri yer tutucuyu gösterir. */
.hero-slide--placeholder:after {
  background: transparent;
}

.hero-slide--placeholder .hero-copy {
  color: #52606d;
  text-shadow: none;
}

.hero-slide--placeholder .hero-copy .eyebrow {
  background: #d9e2ec;
  color: #52606d;
}

.hero-slide--placeholder .hero-copy h1,
.hero-slide--placeholder .hero-copy h1 span,
.hero-slide--placeholder .hero-copy .hero-text {
  color: #52606d;
}

/* Ana menüde etkinleştirilen mega menüler. */
/* Mega menü: alt öğeler Özelleştir → Mega Menü'deki kolon sayısına (--deu-mega-columns) soldan sağa dizilir. */
.primary-nav .menu>li.deu-mega-menu>.sub-menu {
  --deu-mega-cols: var(--deu-mega-columns, 4);
  left: 50%;
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(var(--deu-mega-cols), minmax(0, 1fr));
  align-content: start;
  gap: .3rem 1rem;
  width: min(calc(var(--deu-mega-cols) * 200px + 2rem), calc(100vw - 48px));
  padding: 1rem;
  transform: translate(-50%, -5px)
}

.primary-nav .menu>li.deu-mega-menu:hover>.sub-menu,
.primary-nav .menu>li.deu-mega-menu:focus-within>.sub-menu {
  transform: translateX(-50%)
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li {
  min-width: 0
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li>a {
  border-bottom: 1px solid #edf2f7;
  color: var(--deu-navy);
  font-size: .78rem;
  padding: .62rem .35rem
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li>a:hover {
  background: #f0f9ff;
  color: var(--deu-blue)
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu .sub-menu {
  position: static;
  display: block;
  width: auto;
  visibility: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  padding: .15rem 0 .45rem;
  transform: none
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu .sub-menu a {
  color: var(--deu-muted);
  font-size: .71rem;
  font-weight: 600;
  padding: .32rem .35rem
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu .sub-menu a:hover {
  color: var(--deu-blue)
}

@media(max-width:1250px) {
  .primary-nav .menu>li.deu-mega-menu>.sub-menu {
    --deu-mega-cols: min(var(--deu-mega-columns, 4), 4);
    width: min(calc(var(--deu-mega-cols) * 180px + 2rem), calc(100vw - 48px))
  }
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li {
  position: relative
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li.menu-item-has-children>a:after {
  float: right;
  content: "›";
  color: #94a3b8;
  font-size: 1rem
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li>.sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 3;
  display: block;
  width: 220px;
  visibility: hidden;
  border: 1px solid var(--deu-border);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  padding: .35rem;
  transform: translateX(-6px);
  transition: .18s
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li:hover>.sub-menu,
.primary-nav .menu>li.deu-mega-menu>.sub-menu>li:focus-within>.sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(0)
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li>.sub-menu a {
  color: var(--deu-muted);
  font-size: .71rem;
  font-weight: 600;
  padding: .42rem .5rem
}

.primary-nav .menu>li.deu-mega-menu>.sub-menu>li>.sub-menu a:hover {
  background: #f0f9ff;
  color: var(--deu-blue)
}


/* Top bar bağlantıları ve hover ile açılan hızlı erişim menüsü. */
.utility-layout {
  grid-template-columns: auto 1fr !important
}

.utility-actions {
  justify-self: end
}

.quick-academic {
  border-top: 1px solid var(--deu-border);
  margin-top: 1.5rem;
  padding-top: 1.5rem
}

.quick-academic-tabs {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--deu-border);
  margin-top: 1rem;
  padding-bottom: .5rem
}

.quick-academic-tab {
  flex: 0 0 auto;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #64748b;
  padding: .48rem .62rem;
  font-size: .7rem;
  font-weight: 800;
  cursor: pointer
}

.quick-academic-tab:hover {
  background: #f0f9ff;
  color: var(--deu-blue)
}

.quick-academic-tab.is-active {
  background: var(--deu-navy);
  color: #fff
}

.quick-academic-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .85rem
}

.quick-academic-links a {
  display: flex;
  align-items: flex-start;
  gap: .38rem;
  border: 1px solid #e8eef5;
  border-radius: 6px;
  color: #334155;
  padding: .52rem .55rem;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  transition: .18s
}

.quick-academic-links a i {
  color: var(--deu-blue);
  font-size: .62rem;
  margin-top: .18rem
}

.quick-academic-links a:hover {
  border-color: #b6d9ef;
  background: #f0f9ff;
  color: var(--deu-navy);
  transform: translateX(2px)
}

@media(max-width:760px) {

  .quick-academic-links {
    grid-template-columns: 1fr
  }
}

.utility-actions {
  position: relative;
  gap: .35rem;
}

.topbar-quick-menu {
  position: relative
}

.topbar-pill-link,
.topbar-debis-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 4px;
  padding: .24rem .5rem;
  font-size: .69rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}

.topbar-pill-link i,
.topbar-debis-link i {
  font-size: .75rem;
  transition: transform .18s;
}

.topbar-pill-link:hover i,
.topbar-debis-link:hover i {
  transform: scale(1.1);
}

/* Kehribar / Amber - DEBİS */
.topbar-link--amber,
.topbar-debis-link {
  border: 1px solid rgba(251, 191, 36, .5);
  background: rgba(120, 53, 15, .26);
  color: #fef3c7;
}

.topbar-link--amber i,
.topbar-debis-link i {
  color: #fcd34d;
}

.topbar-link--amber:hover,
.topbar-link--amber:focus-visible,
.topbar-debis-link:hover,
.topbar-debis-link:focus-visible {
  border-color: #fbbf24;
  background: rgba(180, 83, 9, .42);
  color: #fff;
}

.topbar-link--amber:focus-visible,
.topbar-debis-link:focus-visible {
  outline: 2px solid #fcd34d;
  outline-offset: 2px;
}

/* Zümrüt Yeşili / Emerald - Öğrenci */
.topbar-link--emerald {
  border: 1px solid rgba(52, 211, 153, .45);
  background: rgba(6, 78, 59, .32);
  color: #d1fae5;
}

.topbar-link--emerald i {
  color: #6ee7b7;
}

.topbar-link--emerald:hover,
.topbar-link--emerald:focus-visible {
  border-color: #34d399;
  background: rgba(5, 150, 105, .45);
  color: #fff;
}

.topbar-link--emerald:focus-visible {
  outline: 2px solid #34d399;
  outline-offset: 2px;
}

/* Gökyüzü Mavisi / Sky - Aday Öğrenci */
.topbar-link--sky {
  border: 1px solid rgba(56, 189, 248, .45);
  background: rgba(12, 74, 110, .32);
  color: #e0f2fe;
}

.topbar-link--sky i {
  color: #7dd3fc;
}

.topbar-link--sky:hover,
.topbar-link--sky:focus-visible {
  border-color: #38bdf8;
  background: rgba(2, 132, 199, .45);
  color: #fff;
}

.topbar-link--sky:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* Lacivert / Indigo */
.topbar-link--indigo {
  border: 1px solid rgba(129, 140, 248, .45);
  background: rgba(55, 48, 163, .32);
  color: #e0e7ff;
}

.topbar-link--indigo i {
  color: #a5b4fc;
}

.topbar-link--indigo:hover,
.topbar-link--indigo:focus-visible {
  border-color: #818cf8;
  background: rgba(79, 70, 229, .45);
  color: #fff;
}

.topbar-link--indigo:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

/* Mor / Violet */
.topbar-link--violet {
  border: 1px solid rgba(167, 139, 250, .45);
  background: rgba(76, 29, 149, .32);
  color: #ede9fe;
}

.topbar-link--violet i {
  color: #c4b5fd;
}

.topbar-link--violet:hover,
.topbar-link--violet:focus-visible {
  border-color: #a78bfa;
  background: rgba(124, 58, 237, .45);
  color: #fff;
}

.topbar-link--violet:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

/* Turkuaz / Teal */
.topbar-link--teal {
  border: 1px solid rgba(45, 212, 191, .45);
  background: rgba(17, 94, 89, .32);
  color: #ccfbf1;
}

.topbar-link--teal i {
  color: #5eead4;
}

.topbar-link--teal:hover,
.topbar-link--teal:focus-visible {
  border-color: #2dd4bf;
  background: rgba(13, 148, 136, .45);
  color: #fff;
}

.topbar-link--teal:focus-visible {
  outline: 2px solid #2dd4bf;
  outline-offset: 2px;
}

/* Pembe / Rose */
.topbar-link--rose {
  border: 1px solid rgba(244, 114, 182, .45);
  background: rgba(157, 23, 77, .32);
  color: #fce7f3;
}

.topbar-link--rose i {
  color: #f9a8d4;
}

.topbar-link--rose:hover,
.topbar-link--rose:focus-visible {
  border-color: #f472b6;
  background: rgba(219, 39, 119, .45);
  color: #fff;
}

.topbar-link--rose:focus-visible {
  outline: 2px solid #f472b6;
  outline-offset: 2px;
}

/* Gri / Slate */
.topbar-link--slate {
  border: 1px solid rgba(203, 213, 225, .4);
  background: rgba(51, 65, 85, .32);
  color: #f1f5f9;
}

.topbar-link--slate i {
  color: #cbd5e1;
}

.topbar-link--slate:hover,
.topbar-link--slate:focus-visible {
  border-color: #94a3b8;
  background: rgba(71, 85, 105, .45);
  color: #fff;
}

.topbar-link--slate:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
}

@media(max-width:640px) {
  .topbar-pill-link span,
  .topbar-debis-link span {
    display: none;
  }
  .topbar-pill-link,
  .topbar-debis-link {
    padding: .34rem .45rem;
  }
}

.topbar-quick-trigger {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  border-radius: 4px;
  background: linear-gradient(180deg, #006b9e, #00446b);
  color: #e0f2fe;
  padding: .34rem .5rem;
  font-size: .69rem;
  font-weight: 800;
  white-space: nowrap;
  transition: .18s
}

.topbar-quick-trigger>.fa-bolt {
  color: #fcd34d
}

.topbar-quick-trigger>.fa-chevron-down {
  font-size: .56rem;
  transition: transform .18s
}

.topbar-quick-menu:hover .topbar-quick-trigger,
.topbar-quick-menu:focus-within .topbar-quick-trigger {
  background: linear-gradient(180deg, #0284c7, #005485);
  color: #fff
}

.topbar-quick-menu:hover .topbar-quick-trigger>.fa-chevron-down,
.topbar-quick-menu:focus-within .topbar-quick-trigger>.fa-chevron-down {
  transform: rotate(180deg)
}

.topbar-quick-panel {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 110;
  width: 390px;
  visibility: hidden;
  border: 1px solid #dbe7f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 26, 45, .22);
  opacity: 0;
  padding: 13px;
  transform: translateY(-5px);
  transition: .18s
}

.topbar-quick-menu:hover .topbar-quick-panel,
.topbar-quick-menu:focus-within .topbar-quick-panel {
  visibility: visible;
  opacity: 1;
  transform: none
}

.topbar-quick-title {
  display: block;
  color: #64748b;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 9px
}

.topbar-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px
}

.topbar-quick-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid #e6edf3;
  border-radius: 6px;
  color: #334155;
  padding: 7px 8px;
  font-size: .72rem;
  font-weight: 700;
  transition: .18s
}

.topbar-quick-grid a i {
  width: 16px;
  color: #0284c7;
  text-align: center
}

.topbar-quick-grid a:hover {
  border-color: #b6d9ef;
  background: #f0f9ff;
  color: #002b49;
  transform: translateX(2px)
}

.numbers-source {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--deu-blue);
  font-size: .76rem;
  font-weight: 800
}

.numbers-source:hover {
  color: var(--deu-navy)
}

.numbers-row+.numbers-row {
  border-top: 1px solid var(--deu-border);
  margin-top: 2.25rem;
  padding-top: 2.25rem
}

.numbers-row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem
}

.numbers-row-head h3 {
  color: var(--deu-navy);
  font-size: 1.15rem;
  line-height: 1.2;
  margin: .2rem 0 0
}

.numbers-grid--units,
.numbers-grid--students {
  grid-template-columns: repeat(6, minmax(0, 1fr))
}

.numbers-grid--students .number-card {
  border-left-color: var(--deu-gold)
}

.numbers-grid--units .number-label {
  font-size: .73rem;
  line-height: 1.35;
  display: block;
  margin-top: .32rem
}

@media(max-width:1100px) {

  .utility-actions {
    gap: .55rem
  }

  .numbers-grid--units,
  .numbers-grid--students {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(max-width:760px) {

  .topbar-quick-panel {
    position: fixed;
    top: 34px;
    right: 12px;
    width: min(390px, calc(100vw - 24px))
  }

  .topbar-quick-grid {
    grid-template-columns: 1fr 1fr
  }

  .utility-actions .emergency {
    display: none
  }

  .numbers-source {
    font-size: .7rem
  }

  .numbers-row-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem
  }

  .numbers-grid--units,
  .numbers-grid--students {
    grid-template-columns: 1fr 1fr
  }

  .numbers-row+.numbers-row {
    margin-top: 1.75rem;
    padding-top: 1.75rem
  }
}

/* Logo Hover Efekti (#0077b8) */
.brand-logo,
.brand .custom-logo {
  transition: filter 0.3s ease, -webkit-filter 0.3s ease;
}

.brand:hover .brand-logo,
.brand:hover .custom-logo,
.brand:focus-visible .brand-logo,
.brand:focus-visible .custom-logo {
  -webkit-filter: drop-shadow(0 0 3px rgba(0, 119, 184, 0.45));
  filter: drop-shadow(0 0 3px rgba(0, 119, 184, 0.45));
}

/* Slider Layout Modifiers */
.hero-content--left {
  justify-content: flex-start;
  text-align: left;
}

.hero-content--center {
  justify-content: center;
  text-align: center;
}

.hero-content--right {
  justify-content: flex-end;
  text-align: right;
}

.hero-content--center .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content--right .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (min-width: 769px) {
  .hero-content--narrow .hero-copy {
    max-width: 500px !important;
  }

  .hero-content--standard .hero-copy {
    max-width: 690px !important;
  }

  .hero-content--wide .hero-copy {
    max-width: 900px !important;
  }

  .hero-content--full .hero-copy {
    max-width: 100% !important;
  }

  /* Slider Title Size Modifiers */
  .hero-content--title-small h1 {
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
  }

  .hero-content--title-medium h1 {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
  }

  .hero-content--title-large h1 {
    font-size: clamp(2.25rem, 5vw, 4rem) !important;
  }

  .hero-content--title-xlarge h1 {
    font-size: clamp(2.8rem, 6vw, 5rem) !important;
  }
}

/* İstatistikler (Numbers) Yenilenmiş Renkli ve Modern UI */
.numbers-grid--units,
.numbers-grid--students {
  gap: 1.5rem !important;
}

.number-card {
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
  padding: 1.5rem 1rem !important;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 43, 73, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.number-card .number-value {
  font-size: 2.4rem !important;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--deu-navy, #002b49), var(--deu-blue, #0284c7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.numbers-grid--students .number-card .number-value {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.number-card .number-label {
  font-size: 0.8rem !important;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0 !important;
}

/* Duyuru/Etkinlik Toggle */
.information-item--hidden {
  display: none;
}

.information-list.is-expanded .information-item--hidden {
  display: grid;
}

.info-toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--deu-blue);
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .18s;
}

.info-toggle-btn:hover {
  color: var(--deu-navy);
}

.info-toggle-btn i {
  font-size: .6rem;
  transition: transform .25s;
}

.info-toggle-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.information-list {
  max-height: 500px;
  overflow-y: auto;
  transition: max-height .35s ease;
}

.information-list.is-expanded {
  max-height: 1200px;
}

/* Duyuru ve etkinlik liste sayfalarındaki kategori filtreleri. */
.content-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.25rem;
}

.content-category-filter a {
  border: 1px solid var(--deu-border);
  border-radius: 999px;
  background: #fff;
  color: var(--deu-navy);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  padding: .58rem .85rem;
  transition: .18s ease;
  white-space: nowrap;
}

.content-category-filter a:hover,
.content-category-filter a.is-active {
  border-color: var(--deu-blue);
  background: var(--deu-blue);
  color: #fff;
}

@media (max-width: 760px) {
  .content-category-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: .25rem 0 .5rem;
    margin-top: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .content-category-filter::-webkit-scrollbar {
    display: none;
  }
  .content-category-filter a {
    flex-shrink: 0;
  }
}

/* Önemli duyuruların başlığında dikkat ikonu görünür. */
.deu-announcement-title {
  color: inherit;
}

.entry-header .deu-announcement-title,
.entry-title .deu-announcement-title,
body.single .entry-title .deu-announcement-title,
body.single-deu_announcement .entry-header .entry-title,
body.single-deu_announcement .entry-header .deu-announcement-title {
  color: #ffffff !important;
}

/* Duyuru detay sayfasında önceki/sonraki duyuru navigasyonunu gizle */
body.single-deu_announcement .post-navigation,
body.single-deu_announcement .navigation.post-navigation,
body.single-deu_announcement .nav-links,
body.single-deu_announcement .nav-previous,
body.single-deu_announcement .nav-next {
  display: none !important;
}

/* Etkinlik detay sayfasında önceki/sonraki navigasyonu gizle */
body.single-deu_event .post-navigation,
body.single-deu_event .navigation.post-navigation,
body.single-deu_event .nav-links,
body.single-deu_event .nav-previous,
body.single-deu_event .nav-next {
  display: none !important;
}

.deu-announcement-title--important .fa-bolt {
  color: #f59e0b;
  font-size: .9em;
  margin-left: .3em;
  vertical-align: .03em;
}

/* Güncel duyuru ve etkinlik listelerinde başlık önce, kategori daha küçük altta yer alır. */
.information-item h4 {
  margin: 0 0 .38rem;
}

.information-item .card-label {
  font-size: .54rem;
  padding: .14rem .3rem;
}

/* Etkinlik listelemesindeki tarih rozeti. */
.listing-grid .event-card .event-date {
  top: 1rem;
  left: 1rem;
  min-width: 66px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 18px rgba(0, 43, 73, .2);
  padding: .38rem .45rem .34rem;
}

.listing-grid .event-card .event-date::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #047857, #2dd4bf);
}

.listing-grid .event-card .event-date b {
  color: #002b49;
  font-size: 1.35rem;
  line-height: 1.05;
}

.listing-grid .event-card .event-date small {
  display: block;
  color: #047857;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.listing-grid .event-card .event-date em {
  display: block;
  border-top: 1px solid #d1fae5;
  color: #64748b;
  font-size: .56rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.3;
  margin-top: .22rem;
  padding-top: .16rem;
}

/* Ana sayfadaki etkinlik tarih kutusu içeriği alanı dengeli doldurur. */
.information-date--event {
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .34rem .28rem;
}

.information-date--event b {
  line-height: 1;
  margin-bottom: .12rem;
}


/* Topbar hızlı erişimdeki DEBİS bağlantısı. */
.topbar-quick-grid a.topbar-debis {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  color: #78350f;
}

.topbar-quick-grid a.topbar-debis i {
  color: #b45309;
}

.topbar-quick-grid a.topbar-debis:hover {
  border-color: #d97706;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #5b2a06;
}

/* DEÜ Portal ve Hızlı Erişim bağlantıları için yönetim panelinden seçilen renkler. */
.topbar-quick-grid a[class*="topbar-color-"],
.quick-link[class*="quick-color-"] {
  border-color: var(--deu-portal-border);
  background: linear-gradient(135deg, var(--deu-portal-from), var(--deu-portal-to));
  color: var(--deu-portal-text);
}

.topbar-quick-grid a[class*="topbar-color-"] i,
.quick-link[class*="quick-color-"] i {
  color: var(--deu-portal-icon);
}

.topbar-quick-grid a[class*="topbar-color-"]:hover,
.quick-link[class*="quick-color-"]:hover {
  border-color: var(--deu-portal-hover-border);
  background: linear-gradient(135deg, var(--deu-portal-hover-from), var(--deu-portal-hover-to));
  color: var(--deu-portal-hover-text);
}

.topbar-quick-grid a.topbar-color-amber,
.quick-link.quick-color-amber {
  --deu-portal-border: #f59e0b; --deu-portal-from: #fef3c7; --deu-portal-to: #fbbf24; --deu-portal-text: #78350f; --deu-portal-icon: #b45309; --deu-portal-hover-border: #d97706; --deu-portal-hover-from: #fde68a; --deu-portal-hover-to: #f59e0b; --deu-portal-hover-text: #5b2a06;
}

.topbar-quick-grid a.topbar-color-sky,
.quick-link.quick-color-sky {
  --deu-portal-border: #38bdf8; --deu-portal-from: #e0f2fe; --deu-portal-to: #7dd3fc; --deu-portal-text: #0c4a6e; --deu-portal-icon: #0369a1; --deu-portal-hover-border: #0284c7; --deu-portal-hover-from: #bae6fd; --deu-portal-hover-to: #38bdf8; --deu-portal-hover-text: #082f49;
}

.topbar-quick-grid a.topbar-color-violet,
.quick-link.quick-color-violet {
  --deu-portal-border: #a78bfa; --deu-portal-from: #ede9fe; --deu-portal-to: #c4b5fd; --deu-portal-text: #4c1d95; --deu-portal-icon: #6d28d9; --deu-portal-hover-border: #7c3aed; --deu-portal-hover-from: #ddd6fe; --deu-portal-hover-to: #a78bfa; --deu-portal-hover-text: #3b0764;
}

.topbar-quick-grid a.topbar-color-emerald,
.quick-link.quick-color-emerald {
  --deu-portal-border: #34d399; --deu-portal-from: #d1fae5; --deu-portal-to: #6ee7b7; --deu-portal-text: #065f46; --deu-portal-icon: #047857; --deu-portal-hover-border: #059669; --deu-portal-hover-from: #a7f3d0; --deu-portal-hover-to: #34d399; --deu-portal-hover-text: #022c22;
}

.topbar-quick-grid a.topbar-color-rose,
.quick-link.quick-color-rose {
  --deu-portal-border: #f472b6; --deu-portal-from: #fce7f3; --deu-portal-to: #f9a8d4; --deu-portal-text: #9d174d; --deu-portal-icon: #be185d; --deu-portal-hover-border: #db2777; --deu-portal-hover-from: #fbcfe8; --deu-portal-hover-to: #f472b6; --deu-portal-hover-text: #500724;
}

.topbar-quick-grid a.topbar-color-indigo,
.quick-link.quick-color-indigo {
  --deu-portal-border: #818cf8; --deu-portal-from: #e0e7ff; --deu-portal-to: #a5b4fc; --deu-portal-text: #3730a3; --deu-portal-icon: #4f46e5; --deu-portal-hover-border: #6366f1; --deu-portal-hover-from: #c7d2fe; --deu-portal-hover-to: #818cf8; --deu-portal-hover-text: #1e1b4b;
}

.topbar-quick-grid a.topbar-color-teal,
.quick-link.quick-color-teal {
  --deu-portal-border: #22d3ee; --deu-portal-from: #cffafe; --deu-portal-to: #67e8f9; --deu-portal-text: #155e75; --deu-portal-icon: #0e7490; --deu-portal-hover-border: #06b6d4; --deu-portal-hover-from: #a5f3fc; --deu-portal-hover-to: #22d3ee; --deu-portal-hover-text: #083344;
}

.topbar-quick-grid a.topbar-color-slate,
.quick-link.quick-color-slate {
  --deu-portal-border: #cbd5e1; --deu-portal-from: #f8fafc; --deu-portal-to: #e2e8f0; --deu-portal-text: #475569; --deu-portal-icon: #64748b; --deu-portal-hover-border: #94a3b8; --deu-portal-hover-from: #f1f5f9; --deu-portal-hover-to: #cbd5e1; --deu-portal-hover-text: #334155;
}

/* Hızlı Erişim: yalnızca ikon ve metni renklendiren seçenekler (buton görünümü olmadan). */
.quick-link[class*="quick-text-color-"],
.quick-link[class*="quick-text-color-"] i,
.quick-link[class*="quick-text-color-"]:hover {
  color: var(--deu-quick-text);
}

.quick-link[class*="quick-text-color-"] i {
  color: var(--deu-quick-icon);
}

.quick-link.quick-text-color-amber { --deu-quick-text: #b45309; --deu-quick-icon: #d97706; }
.quick-link.quick-text-color-sky { --deu-quick-text: #0369a1; --deu-quick-icon: #0284c7; }
.quick-link.quick-text-color-violet { --deu-quick-text: #6d28d9; --deu-quick-icon: #7c3aed; }
.quick-link.quick-text-color-emerald { --deu-quick-text: #047857; --deu-quick-icon: #059669; }
.quick-link.quick-text-color-rose { --deu-quick-text: #be185d; --deu-quick-icon: #db2777; }
.quick-link.quick-text-color-indigo { --deu-quick-text: #4338ca; --deu-quick-icon: #4f46e5; }
.quick-link.quick-text-color-teal { --deu-quick-text: #0e7490; --deu-quick-icon: #0891b2; }
.quick-link.quick-text-color-slate { --deu-quick-text: #475569; --deu-quick-icon: #64748b; }

/* Ana başlıktaki Hızlı Erişim için sade, tek renkli düğme. */
.header-tools .quick-access-trigger {
  border: 1px solid #0083cb;
  border-radius: 999px;
  background: #0083cb;
  box-shadow: 0 5px 14px rgba(0, 131, 203, .22);
  color: #fff;
  padding: .64rem .92rem;
}

.header-tools .quick-access-trigger i {
  color: currentColor;
}

.header-tools .quick-access-trigger:hover {
  border-color: #006da9;
  background: #006da9;
  box-shadow: 0 8px 18px rgba(0, 109, 169, .28);
  transform: translateY(-1px);
}

.header-tools .quick-access-trigger:focus-visible {
  outline: 3px solid rgba(125, 211, 252, .72);
  outline-offset: 3px;
}

/* Üst çubuk ve Hızlı Erişim ikon ayrımı. */
.topbar-quick-trigger>.fa-bolt {
  color: #fff;
}

.header-tools .quick-access-trigger {
  border-radius: 5px;
}

.header-tools .quick-access-trigger>.fa-bolt {
  color: #fcd34d;
}

/* Hızlı Erişim yazısı ana menü öğeleriyle aynı tipografiyi kullanır. */
.header-tools .quick-access-trigger {
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1;
  height: 39px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 760px) {
  .header-tools .quick-access-trigger {
    min-height: 39px;
  }
}

.content-area {
  max-width: 1200px;
}

/* Sayfa ve yazı başlıkları için daha kompakt, modern kapak alanı. */
body.single .entry-header,
body.page .entry-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, rgba(0, 43, 73, .97), rgba(0, 78, 121, .94));
  box-shadow: 0 8px 22px rgba(0, 43, 73, .16);
}

body.single .entry-header::before,
body.page .entry-header::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

body.single .entry-title,
body.page .entry-title {
  max-width: 950px;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -.028em;
}

body.single .entry-title .deu-announcement-title,
body.page .entry-title .deu-announcement-title {
  color: #ffffff !important;
}

body.single .entry-header .eyebrow,
body.page .entry-header .eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  letter-spacing: .08em;
  padding: .32rem .6rem;
}

body.page .entry-header .listing-intro,
body.page-template-template-announcements .entry-header .listing-intro,
body.page-template-template-events .entry-header .listing-intro {
  color: rgba(255, 255, 255, .88);
}

@media (max-width: 760px) {

  body.single .entry-header,
  body.page .entry-header {
    padding: 2rem 0;
  }

  body.single .entry-title,
  body.page .entry-title {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }
}

.news-image-placeholder,
.news-source-unavailable {
  display: none;
  place-items: center;
  min-height: 100%;
  background: #edf0f2;
  color: #7a828a;
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
}

.news-image-placeholder {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1rem;
}

.news-image-placeholder.is-visible {
  display: grid;
}

.news-source-unavailable {
  display: grid;
  min-height: 260px;
  border: 1px solid var(--deu-border);
  border-radius: 10px;
  padding: 1.5rem;
}

.front-page-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid var(--deu-border, #e5e7eb);
  transition: opacity 0.3s;
}

.front-page-pagination a,
.front-page-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.35rem;
  border-radius: 0.3rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.front-page-pagination a:hover {
  background: var(--deu-primary, #005485);
  color: #fff;
}

.front-page-pagination span.current {
  background: var(--deu-primary, #005485);
  color: #fff;
}

.information-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.information-panel .information-list {
  flex-grow: 1;
}
.information-panel .front-page-pagination {
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  min-height: calc(1.65rem + 1.5rem + 1px);
}

body.deu-a11y-dark-mode .front-page-pagination,
html.dark .front-page-pagination {
  border-top-color: #243b53;
}

body.deu-a11y-dark-mode .front-page-pagination a,
body.deu-a11y-dark-mode .front-page-pagination span,
html.dark .front-page-pagination a,
html.dark .front-page-pagination span {
  background: #1e293b;
  color: #cbd5e1;
}

body.deu-a11y-dark-mode .front-page-pagination a:hover,
body.deu-a11y-dark-mode .front-page-pagination span.current,
html.dark .front-page-pagination a:hover,
html.dark .front-page-pagination span.current {
  background: var(--deu-primary, #005485);
  color: #fff;
}

body.deu-a11y-dark-mode .listing-notice,
html.dark .listing-notice {
  background: #172033 !important;
  border-color: #334e68 !important;
}

body.deu-a11y-dark-mode .listing-notice h2,
body.deu-a11y-dark-mode .listing-notice h2 a,
html.dark .listing-notice h2,
html.dark .listing-notice h2 a {
  color: #f8fafc !important;
}

body.deu-a11y-dark-mode .listing-notice h2 a:hover,
html.dark .listing-notice h2 a:hover {
  color: #38bdf8 !important;
}

body.deu-a11y-dark-mode .listing-notice p,
html.dark .listing-notice p {
  color: #94a3b8 !important;
}

body.deu-a11y-dark-mode .listing-notice .information-date,
html.dark .listing-notice .information-date {
  background: #1e293b !important;
  color: #38bdf8 !important;
}

body.deu-a11y-dark-mode .content-category-filter a,
html.dark .content-category-filter a {
  background: #1e293b !important;
  border-color: #334e68 !important;
  color: #e2e8f0 !important;
}

body.deu-a11y-dark-mode .content-category-filter a.is-active,
body.deu-a11y-dark-mode .content-category-filter a:hover,
html.dark .content-category-filter a.is-active,
html.dark .content-category-filter a:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #fff !important;
}

/* Footer metni içindeki bağlantılar yalnızca renkle ayırt edilmez. */
.deu-footer-widget p a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline-color: Highlight !important;
  }
}

/* Koyu modda renkli kartlar */
body.deu-a11y-dark-mode .quick-link.quick-color-amber,
html.dark .quick-link.quick-color-amber {
  --deu-portal-border: rgba(245, 158, 11, .45) !important;
  --deu-portal-from: rgba(120, 53, 15, .32) !important;
  --deu-portal-to: rgba(180, 83, 9, .22) !important;
  --deu-portal-text: #fef3c7 !important;
  --deu-portal-icon: #fbbf24 !important;
  --deu-portal-hover-border: #f59e0b !important;
  --deu-portal-hover-from: rgba(180, 83, 9, .45) !important;
  --deu-portal-hover-to: rgba(217, 119, 6, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

body.deu-a11y-dark-mode .quick-link.quick-color-sky,
html.dark .quick-link.quick-color-sky {
  --deu-portal-border: rgba(56, 189, 248, .45) !important;
  --deu-portal-from: rgba(12, 74, 110, .32) !important;
  --deu-portal-to: rgba(3, 105, 161, .22) !important;
  --deu-portal-text: #e0f2fe !important;
  --deu-portal-icon: #38bdf8 !important;
  --deu-portal-hover-border: #38bdf8 !important;
  --deu-portal-hover-from: rgba(3, 105, 161, .45) !important;
  --deu-portal-hover-to: rgba(2, 132, 199, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

body.deu-a11y-dark-mode .quick-link.quick-color-violet,
html.dark .quick-link.quick-color-violet {
  --deu-portal-border: rgba(167, 139, 250, .45) !important;
  --deu-portal-from: rgba(76, 29, 149, .32) !important;
  --deu-portal-to: rgba(109, 40, 217, .22) !important;
  --deu-portal-text: #ede9fe !important;
  --deu-portal-icon: #a78bfa !important;
  --deu-portal-hover-border: #a78bfa !important;
  --deu-portal-hover-from: rgba(109, 40, 217, .45) !important;
  --deu-portal-hover-to: rgba(124, 58, 237, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

body.deu-a11y-dark-mode .quick-link.quick-color-emerald,
html.dark .quick-link.quick-color-emerald {
  --deu-portal-border: rgba(52, 211, 153, .45) !important;
  --deu-portal-from: rgba(6, 95, 70, .32) !important;
  --deu-portal-to: rgba(4, 120, 87, .22) !important;
  --deu-portal-text: #d1fae5 !important;
  --deu-portal-icon: #34d399 !important;
  --deu-portal-hover-border: #34d399 !important;
  --deu-portal-hover-from: rgba(4, 120, 87, .45) !important;
  --deu-portal-hover-to: rgba(5, 150, 105, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

body.deu-a11y-dark-mode .quick-link.quick-color-rose,
html.dark .quick-link.quick-color-rose {
  --deu-portal-border: rgba(244, 114, 182, .45) !important;
  --deu-portal-from: rgba(157, 23, 77, .32) !important;
  --deu-portal-to: rgba(190, 24, 93, .22) !important;
  --deu-portal-text: #fce7f3 !important;
  --deu-portal-icon: #f472b6 !important;
  --deu-portal-hover-border: #f472b6 !important;
  --deu-portal-hover-from: rgba(190, 24, 93, .45) !important;
  --deu-portal-hover-to: rgba(219, 39, 119, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

body.deu-a11y-dark-mode .quick-link.quick-color-indigo,
html.dark .quick-link.quick-color-indigo {
  --deu-portal-border: rgba(129, 140, 248, .45) !important;
  --deu-portal-from: rgba(55, 48, 163, .32) !important;
  --deu-portal-to: rgba(79, 70, 229, .22) !important;
  --deu-portal-text: #e0e7ff !important;
  --deu-portal-icon: #818cf8 !important;
  --deu-portal-hover-border: #818cf8 !important;
  --deu-portal-hover-from: rgba(79, 70, 229, .45) !important;
  --deu-portal-hover-to: rgba(99, 102, 241, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

body.deu-a11y-dark-mode .quick-link.quick-color-teal,
html.dark .quick-link.quick-color-teal {
  --deu-portal-border: rgba(34, 211, 238, .45) !important;
  --deu-portal-from: rgba(22, 78, 99, .32) !important;
  --deu-portal-to: rgba(14, 116, 144, .22) !important;
  --deu-portal-text: #cffafe !important;
  --deu-portal-icon: #22d3ee !important;
  --deu-portal-hover-border: #22d3ee !important;
  --deu-portal-hover-from: rgba(14, 116, 144, .45) !important;
  --deu-portal-hover-to: rgba(8, 145, 178, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

body.deu-a11y-dark-mode .quick-link.quick-color-slate,
html.dark .quick-link.quick-color-slate {
  --deu-portal-border: rgba(148, 163, 184, .45) !important;
  --deu-portal-from: rgba(51, 65, 85, .32) !important;
  --deu-portal-to: rgba(71, 85, 105, .22) !important;
  --deu-portal-text: #f1f5f9 !important;
  --deu-portal-icon: #94a3b8 !important;
  --deu-portal-hover-border: #94a3b8 !important;
  --deu-portal-hover-from: rgba(71, 85, 105, .45) !important;
  --deu-portal-hover-to: rgba(100, 116, 139, .35) !important;
  --deu-portal-hover-text: #ffffff !important;
}

/* Koyu modda yalnızca ikon ve metin renkleri */
body.deu-a11y-dark-mode .quick-link[class*="quick-text-color-"],
body.deu-a11y-dark-mode .quick-link[class*="quick-text-color-"]:hover,
html.dark .quick-link[class*="quick-text-color-"],
html.dark .quick-link[class*="quick-text-color-"]:hover {
  color: var(--deu-quick-text) !important;
}

body.deu-a11y-dark-mode .quick-link[class*="quick-text-color-"] i,
html.dark .quick-link[class*="quick-text-color-"] i {
  color: var(--deu-quick-text) !important;
}

body.deu-a11y-dark-mode .quick-link.quick-text-color-amber,
html.dark .quick-link.quick-text-color-amber { --deu-quick-text: #fbbf24; --deu-quick-icon: #fbbf24; }

body.deu-a11y-dark-mode .quick-link.quick-text-color-sky,
html.dark .quick-link.quick-text-color-sky { --deu-quick-text: #7dd3fc; --deu-quick-icon: #7dd3fc; }

body.deu-a11y-dark-mode .quick-link.quick-text-color-violet,
html.dark .quick-link.quick-text-color-violet { --deu-quick-text: #c4b5fd; --deu-quick-icon: #c4b5fd; }

body.deu-a11y-dark-mode .quick-link.quick-text-color-emerald,
html.dark .quick-link.quick-text-color-emerald { --deu-quick-text: #6ee7b7; --deu-quick-icon: #6ee7b7; }

body.deu-a11y-dark-mode .quick-link.quick-text-color-rose,
html.dark .quick-link.quick-text-color-rose { --deu-quick-text: #f9a8d4; --deu-quick-icon: #f9a8d4; }

body.deu-a11y-dark-mode .quick-link.quick-text-color-indigo,
html.dark .quick-link.quick-text-color-indigo { --deu-quick-text: #a5b4fc; --deu-quick-icon: #a5b4fc; }

body.deu-a11y-dark-mode .quick-link.quick-text-color-teal,
html.dark .quick-link.quick-text-color-teal { --deu-quick-text: #67e8f9; --deu-quick-icon: #67e8f9; }

body.deu-a11y-dark-mode .quick-link.quick-text-color-slate,
html.dark .quick-link.quick-text-color-slate { --deu-quick-text: #cbd5e1; --deu-quick-icon: #cbd5e1; }

/* Öğrenci ve Aday Öğrenci kartlarındaki koyu mod sade bağlantı kurallarını ezmek için. */
body.deu-a11y-dark-mode .student-category .quick-link.quick-link[class*="quick-text-color-"],
body.deu-a11y-dark-mode .student-category .quick-link.quick-link[class*="quick-text-color-"]:hover,
body.deu-a11y-dark-mode .student-category .quick-link.quick-link[class*="quick-text-color-"] i,
body.deu-a11y-dark-mode .student-category .quick-link.quick-link[class*="quick-text-color-"]:hover i,
html.dark .student-category .quick-link.quick-link[class*="quick-text-color-"],
html.dark .student-category .quick-link.quick-link[class*="quick-text-color-"]:hover,
html.dark .student-category .quick-link.quick-link[class*="quick-text-color-"] i,
html.dark .student-category .quick-link.quick-link[class*="quick-text-color-"]:hover i {
  color: var(--deu-quick-text) !important;
}

/* ====================================================
   DEÜ Kurumsal Canlı Arama ve İndeksli Sonuçlar
   ==================================================== */
.site-search-form {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.search-form-row {
  display: flex;
  align-items: stretch;
  gap: .5rem;
  width: 100%;
}

.search-form-row input[type=search] {
  flex: 1;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: .7rem .95rem;
  font-size: .95rem;
  color: var(--deu-navy);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-form-row input[type=search]:focus {
  outline: none;
  border-color: var(--deu-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 145, .14);
}

.search-live-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 40px -6px rgba(0, 26, 45, 0.2), 0 8px 16px -2px rgba(0, 26, 45, 0.08);
  z-index: 1000;
  overflow: hidden;
  animation: deuSearchFadeDown .18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes deuSearchFadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-live-inner {
  display: flex;
  flex-direction: column;
  max-height: min(480px, 72vh);
}

/* Kategori Sekmeleri / Filtreleme Çipleri */
.search-live-tabs {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem .85rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.search-live-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .7rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #ffffff;
  color: #475569;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}

.search-live-tab:hover {
  border-color: #cbd5e1;
  color: var(--deu-navy);
  background: #f1f5f9;
}

.search-live-tab.is-active {
  background: var(--deu-navy);
  color: #ffffff;
  border-color: var(--deu-navy);
}

.search-live-tab .search-live-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  font-size: .68rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #334155;
}

.search-live-tab.is-active .search-live-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Sonuç Listesi */
.search-live-list {
  overflow-y: auto;
  padding: .45rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.search-live-list::-webkit-scrollbar {
  width: 6px;
}

.search-live-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.search-live-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--deu-navy);
  transition: background .12s ease, transform .12s ease;
  position: relative;
}

.search-live-item:hover,
.search-live-item.is-selected {
  background: #f0f7ff;
  color: var(--deu-blue);
}

.search-live-item.is-selected {
  outline: 2px solid rgba(0, 86, 145, 0.35);
  outline-offset: -2px;
}

.search-live-item-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: .95rem;
  overflow: hidden;
}

.search-live-item-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.search-live-item-content {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.search-live-item-title {
  font-size: .88rem;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-live-item:hover .search-live-item-title,
.search-live-item.is-selected .search-live-item-title {
  color: var(--deu-blue);
}

.search-live-item-group {
  font-size: .72rem;
  color: #64748b;
  margin-top: .15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Rozetler (Badges) */
.search-live-item-badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-badge-sky {
  background: #e0f2fe;
  color: #0369a1;
}

.search-badge-slate {
  background: #f1f5f9;
  color: #475569;
}

.search-badge-violet {
  background: #ede9fe;
  color: #6d28d9;
}

.search-badge-emerald {
  background: #dcfce7;
  color: #047857;
}

.search-badge-amber {
  background: #fef3c7;
  color: #b45309;
}

.search-badge-teal {
  background: #ccfbf1;
  color: #0f766e;
}

/* İkon Renk Kutuları */
.search-color-sky {
  background: #e0f2fe;
  color: #0284c7;
}

.search-color-slate {
  background: #f1f5f9;
  color: #475569;
}

.search-color-violet {
  background: #ede9fe;
  color: #7c3aed;
}

.search-color-emerald {
  background: #dcfce7;
  color: #059669;
}

.search-color-amber {
  background: #fef3c7;
  color: #d97706;
}

.search-color-teal {
  background: #ccfbf1;
  color: #0f766e;
}

.search-live-external-icon,
.search-live-chevron {
  font-size: .75rem;
  color: #94a3b8;
  flex-shrink: 0;
  transition: color .15s ease, transform .15s ease;
}

.search-live-item:hover .search-live-external-icon,
.search-live-item:hover .search-live-chevron {
  color: var(--deu-blue);
  transform: translateX(2px);
}

.search-live-overflow {
  text-align: center;
  font-size: .78rem;
  color: #64748b;
  padding: .5rem 0 .25rem;
  font-style: italic;
}

/* Eşleşen Metin Vurgusu */
mark.search-match {
  background: #fef08a;
  color: #854d0e;
  border-radius: 3px;
  font-weight: 800;
}

/* Boş Durum */
.search-live-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 1rem;
  text-align: center;
}

.search-live-empty-icon {
  font-size: 2rem;
  color: #94a3b8;
  margin-bottom: .6rem;
}

.search-live-empty-text {
  font-size: .9rem;
  color: #334155;
  margin-bottom: .3rem;
}

.search-live-empty-hint {
  font-size: .78rem;
  color: #64748b;
}

/* Alt Çubuk (Footer) */
.search-live-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem .95rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  gap: .5rem;
}

.search-live-tip {
  font-size: .74rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.search-live-all-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--deu-blue);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .5rem;
  border-radius: 4px;
  transition: background .15s ease;
}

.search-live-all-btn:hover {
  background: #e0f2fe;
  color: var(--deu-navy);
}

@media (max-width: 768px) {
  /* Mobilde yazarken arama sonuçlarında kategori etiketini gizle */
  .search-live-dropdown .search-live-item-badge {
    display: none !important;
  }
  .search-live-item-content {
    min-width: 0;
    flex: 1 1 auto;
  }
  .search-live-item-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    word-break: break-word;
  }
  .search-live-item-group {
    display: none;
  }
  .search-live-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .search-live-all-btn {
    justify-content: center;
  }
}

/* ====================================================
   İlgili Birim ve Hızlı Erişim Kartları (Search Results)
   ==================================================== */
.search-matching-units-section {
  margin-bottom: 2.5rem;
}

.search-matching-units-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deu-navy);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.search-matching-units-title .badge-count {
  font-size: .8rem;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  border-radius: 9999px;
  padding: 2px 9px;
}

.search-unit-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.05rem 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 26, 45, 0.04);
  transition: transform .18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .18s cubic-bezier(0.16, 1, 0.3, 1), border-color .18s ease;
  position: relative;
}

.search-unit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 26, 45, 0.08);
  border-color: #cbd5e1;
}

.search-unit-card .search-live-item-icon {
  margin-top: .15rem;
}

.search-unit-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.search-unit-card-title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--deu-navy);
  line-height: 1.35;
  margin-bottom: .45rem;
  word-break: break-word;
}

.search-unit-card:hover .search-unit-card-title {
  color: var(--deu-blue);
}

.search-unit-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.search-unit-card-group {
  font-size: .75rem;
  color: #64748b;
  font-weight: 500;
}

.search-unit-card-action {
  margin-top: .25rem;
  font-size: .85rem;
  color: #94a3b8;
  flex-shrink: 0;
  transition: color .15s ease, transform .15s ease;
}

.search-unit-card:hover .search-unit-card-action {
  color: var(--deu-blue);
  transform: translateX(2px);
}

