/* ═══════════════════════════════════════════════════════════════════════════
   İZMİR EĞİTİM (izmiregitim.com) — ANA CSS STİL DOSYASI
   Kurumsal Kimlik & Tasarım Uyumlu (Ege Mavisi #304FA9, Begonvil #DA5086, Mürekkep #171B33)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Kurumsal Renk Paleti (PDF & Tasarım) */
  --ege-mavisi: #304FA9;
  --ege-mavisi-hover: #263e87;
  --ege-mavisi-light: #EEF3FF;
  --ege-mavisi-subtle: rgba(48, 79, 169, 0.08);

  --begonvil: #DA5086;
  --begonvil-hover: #c33e72;
  --begonvil-light: #FFF0F5;
  --begonvil-subtle: rgba(218, 80, 134, 0.1);

  --murekkep: #171B33;
  --murekkep-muted: #576077;
  --murekkep-light: #8C96AB;

  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;

  --border-light: #E2E8F0;
  --border-hover: #CBD5E1;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(23, 27, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(48, 79, 169, 0.08);
  --shadow-lg: 0 16px 36px rgba(48, 79, 169, 0.12);
  --shadow-hover: 0 14px 32px rgba(48, 79, 169, 0.14);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & TEMEL STİLLER
   ───────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--murekkep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Yalnız ekran okuyucuya görünen metin (etiketler, form başlıkları). */
.gorsel-gizli {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BUTONLAR & ROZETLER
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--ege-mavisi);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(48, 79, 169, 0.25);
}

.btn-primary:hover {
  background-color: var(--ege-mavisi-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(48, 79, 169, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--murekkep);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-hover);
  color: var(--ege-mavisi);
}

.btn-outline,
.btn-outline-primary {
  background-color: transparent;
  color: var(--ege-mavisi);
  border-color: var(--ege-mavisi);
}

.btn-outline:hover,
.btn-outline-primary:hover {
  background-color: var(--ege-mavisi);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--begonvil);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--begonvil-hover);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
}

.badge-haber {
  background-color: var(--begonvil);
  color: #ffffff;
}

.badge-etkinlik {
  background-color: var(--ege-mavisi);
  color: #ffffff;
}

.badge-kurum {
  background-color: #10B981;
  color: #ffffff;
}

.badge-lise {
  background-color: #10B981;
  color: #ffffff;
}

.badge-universite {
  background-color: #3B82F6;
  color: #ffffff;
}

.badge-dil-kursu {
  background-color: #EC4899;
  color: #ffffff;
}

.badge-ozel-okul {
  background-color: #8B5CF6;
  color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HEADER / NAVBAR
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 16px rgba(23, 27, 51, 0.06);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.25rem;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.header-logo--dark {
  display: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--murekkep);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ege-mavisi);
  background-color: var(--ege-mavisi-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.search-toggle-btn {
  background-color: var(--bg-subtle);
  color: var(--murekkep-muted);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.search-toggle-btn:hover {
  background-color: var(--ege-mavisi-light);
  color: var(--ege-mavisi);
}

.search-toggle-btn svg {
  display: block;
  width: 21px;
  height: 21px;
  flex: none;
}

/* Başlıktaki "Kurumunuzu Ekleyin" CTA'sı kademeli gösterilir: 1240px'lik
   konteynere 7 nav linki + arama + giriş + CTA aynı anda sığmıyor.
   ≤1199: gizli (mobil çekmecede kopyası var) · 1200–1439: yalnız ikon · ≥1440: ikon + metin */
.header-cta-btn {
  display: none;
}

@media (min-width: 1200px) {
  .header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 1.1rem;
  }

  .header-cta-btn span {
    display: none;
  }
}

@media (min-width: 1440px) {
  .header-cta-btn {
    width: auto;
    height: auto;
    padding: 0.55rem 1.1rem;
    gap: 0.4rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .header-cta-btn span {
    display: inline;
  }
}

/* 1025–1199: CTA gizliyken bile 7 nav linki + arama + giriş dar konteynere
   sığmıyor; bu aralıkta nav sıkılaştırılır. Nav kırılımı (1024) değişmez. */
@media (min-width: 1025px) and (max-width: 1199.98px) {
  .header-nav {
    gap: 0.1rem;
  }

  .nav-link {
    padding: 0.5rem 0.45rem;
    font-size: 0.84rem;
  }
}

.header-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background-color: var(--bg-subtle);
  border: none;
  font-size: 1.4rem;
  color: var(--murekkep);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background-color: var(--ege-mavisi-subtle);
  color: var(--ege-mavisi);
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO BÖLÜMÜ (İzmir & Begonvil Tasarımı)
   ───────────────────────────────────────────────────────────────────────────── */
.homepage-hero-zone {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #fdf2f7 100%);
}

.hero-section {
  position: relative;
  padding: 2rem 0 1rem;
  background: transparent;
  overflow: hidden;
}

.hero-banner-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36), rgba(252, 253, 255, 0.28)),
    url('../img/hero-wall-plaster-v1.webp');
  background-blend-mode: normal, luminosity;
  background-position: center, left center;
  background-size: 100% 100%, auto 100%;
  background-repeat: no-repeat, repeat-x;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  min-height: 400px;
}

.hero-content {
  min-width: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
  z-index: 2;
}

.hero-title {
  max-width: 660px;
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--murekkep);
  line-height: 1.1;
  letter-spacing: -0.7px;
  margin-bottom: 0.65rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--murekkep-muted);
  margin-bottom: 1.15rem;
  max-width: 620px;
}

.hero-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.hero-tab-btn {
  padding: 0.48rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--murekkep);
  cursor: pointer;
  transition: var(--transition);
}

.hero-tab-btn:hover {
  background-color: var(--bg-subtle);
  border-color: var(--ege-mavisi);
}

.hero-tab-btn.active {
  background-color: var(--ege-mavisi);
  color: #ffffff;
  border-color: var(--ege-mavisi);
  box-shadow: 0 4px 12px rgba(48, 79, 169, 0.25);
}

.hero-search-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hero-search-box:focus-within {
  border-color: var(--ege-mavisi);
  box-shadow: 0 0 0 4px rgba(48, 79, 169, 0.12);
}

.hero-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.hero-search-input-wrap i {
  color: var(--murekkep-light);
  font-size: 1.25rem;
}

.hero-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: var(--murekkep);
  background: transparent;
}

.hero-search-input::placeholder {
  color: var(--murekkep-light);
}

.hero-category-select {
  border: none;
  border-left: 1px solid var(--border-light);
  outline: none;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--murekkep);
  background: transparent;
  cursor: pointer;
}

.hero-search-submit {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ege-mavisi);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-search-submit:hover {
  background-color: var(--ege-mavisi-hover);
  transform: scale(1.04);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  background: #eef7fb;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ANASAYFA — 30 İLÇEDE EĞİTİM HARİTASI
   ───────────────────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.district-discovery-section {
  padding: 0 0 1rem;
  background: transparent;
}

.district-discovery-card {
  min-height: 168px;
  display: grid;
  grid-template-columns: 250px minmax(440px, 1fr) 250px;
  align-items: stretch;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.district-discovery-intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1rem 1.25rem 1.5rem;
  background: linear-gradient(110deg, #ffffff 0%, #ffffff 78%, rgba(255, 255, 255, 0) 100%);
}

.district-discovery-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  color: var(--ege-mavisi);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.district-discovery-kicker i {
  font-size: 0.95rem;
}

.district-discovery-intro h2 {
  color: var(--murekkep);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.district-discovery-intro p {
  margin-top: 0.3rem;
  color: var(--murekkep-muted);
  font-size: 0.76rem;
}

.district-discovery-form {
  display: flex;
  width: 100%;
  max-width: 200px;
  margin-top: 0.8rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 9px;
  box-shadow: 0 3px 12px rgba(48, 79, 169, 0.07);
}

.district-discovery-form:focus-within {
  border-color: var(--ege-mavisi);
  box-shadow: 0 0 0 3px rgba(48, 79, 169, 0.12);
}

.district-discovery-form select {
  min-width: 0;
  flex: 1;
  padding: 0.58rem 0.6rem;
  color: var(--murekkep);
  background: #ffffff;
  border: 0;
  outline: 0;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.district-discovery-form button {
  width: 36px;
  flex: 0 0 36px;
  color: #ffffff;
  background: var(--ege-mavisi);
  border: 0;
  cursor: pointer;
  transition: var(--transition);
}

.district-discovery-form button:hover {
  background: var(--ege-mavisi-hover);
}

.district-map {
  position: relative;
  min-width: 0;
  min-height: 168px;
  overflow: hidden;
}

.district-map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.district-map-coast {
  fill: url(#district-land-gradient);
  stroke: rgba(48, 79, 169, 0.25);
  stroke-width: 2;
}

.district-map-sea-cut {
  fill: url(#district-sea-gradient);
  stroke: rgba(48, 79, 169, 0.18);
  stroke-width: 1.5;
}

.district-map-boundaries path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2;
}

.district-map-contours path {
  fill: none;
  stroke: rgba(48, 79, 169, 0.09);
  stroke-width: 1.2;
}

.district-map-pin {
  position: absolute;
  z-index: 2;
  left: var(--pin-x);
  top: var(--pin-y);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  color: var(--murekkep);
  background: transparent;
  border: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.district-map-pin-dot {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ege-mavisi);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(48, 79, 169, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.district-map-pin-dot i {
  font-size: 0.82rem;
}

.district-map-pin-label {
  padding: 0.18rem 0.38rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(23, 27, 51, 0.08);
  font-size: 0.67rem;
  font-weight: 750;
  white-space: nowrap;
}

.district-map-pin:hover .district-map-pin-dot,
.district-map-pin:focus-visible .district-map-pin-dot {
  transform: translateY(-2px) scale(1.08);
}

.district-map-pin:focus-visible {
  outline: 3px solid rgba(48, 79, 169, 0.2);
  outline-offset: 4px;
  border-radius: 8px;
}

.district-map-pin.is-active .district-map-pin-dot {
  background: var(--begonvil);
  box-shadow: 0 0 0 7px rgba(209, 50, 115, 0.13), 0 5px 14px rgba(209, 50, 115, 0.25);
}

.district-map-pin.is-active .district-map-pin-label {
  color: var(--begonvil);
}

.district-discovery-summary {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-right: 0.8rem;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(48, 79, 169, 0.1);
}

.district-discovery-summary header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-light);
}

.district-summary-pin {
  color: var(--begonvil);
  font-size: 1.05rem;
}

.district-discovery-summary h3 {
  color: var(--murekkep);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.district-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.district-summary-stats > div {
  min-width: 0;
}

.district-summary-stats dt {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  color: var(--murekkep-light);
  font-size: 0.52rem;
  line-height: 1.15;
}

.district-summary-stats dt i {
  color: var(--ege-mavisi);
  font-size: 0.72rem;
}

.district-summary-stats dd {
  margin-top: 0.2rem;
  color: var(--murekkep);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
}

.district-summary-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  color: var(--ege-mavisi);
  border-top: 1px solid var(--border-light);
  font-size: 0.67rem;
  font-weight: 750;
}

.district-summary-link:hover {
  color: var(--begonvil);
}

@media (max-width: 1199.98px) {
  .district-discovery-card {
    grid-template-columns: 220px minmax(390px, 1fr) 220px;
  }

  .district-map-pin-label {
    font-size: 0.61rem;
  }
}

@media (max-width: 991.98px) {
  .district-discovery-card {
    grid-template-columns: minmax(210px, 0.8fr) minmax(250px, 1fr);
  }

  .district-map {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 190px;
    border-top: 1px solid var(--border-light);
  }

  .district-discovery-summary {
    margin: 0.8rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0 0.75rem;
  }

  .hero-banner-container {
    min-height: 0;
  }

  .district-discovery-section {
    padding-bottom: 0.75rem;
  }

  .district-discovery-intro {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .district-discovery-card {
    display: flex;
    flex-direction: column;
  }

  .district-discovery-intro {
    background: #ffffff;
  }

  .district-discovery-intro h2 {
    font-size: 1.25rem;
  }

  .district-discovery-form {
    max-width: none;
  }

  .district-map {
    order: 2;
    min-height: 220px;
  }

  .district-map-pin-label {
    font-size: 0.58rem;
  }

  .district-discovery-summary {
    order: 3;
    width: auto;
    margin: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .district-map-pin-dot {
    transition: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   KATEGORİ İKON IZGARASI
   ───────────────────────────────────────────────────────────────────────────── */
.category-icons-section {
  padding: 0.5rem 0;
  background: var(--begonvil);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(23, 27, 51, 0.08);
}

.category-icons-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.category-icon-card {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: transparent;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  text-align: center;
  transition: var(--transition);
}

.category-icon-card:last-child {
  border-right-color: transparent;
}

.category-icon-card:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.category-icon-card .icon-wrap {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.category-icon-card:hover .icon-wrap {
  background-color: #ffffff;
  color: var(--ege-mavisi);
}

.category-icon-card .card-label {
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-icon-card:hover .card-label {
  color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BÖLÜM BAŞLIKLARI
   ───────────────────────────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

/* Esnek kutu çocuğu: min-content tabanı uzun başlıkta "Tümünü Gör" bağlantısını
   taşırıyordu; min-width:0 + anywhere kırılımı bunu engeller. */
.section-title-wrap {
  min-width: 0;
}

.section-title-wrap h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--murekkep);
  letter-spacing: -0.3px;
  overflow-wrap: anywhere;
}

.section-title-wrap p {
  font-size: 0.95rem;
  color: var(--murekkep-muted);
  margin-top: 0.25rem;
}

.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ege-mavisi);
  transition: var(--transition);
}

.section-more-link:hover {
  color: var(--ege-mavisi-hover);
  transform: translateX(3px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   GÜNCEL HABERLER KARTLARI (4'lü Grid)
   ───────────────────────────────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.news-thumb-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.news-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Dikey afişler (etkinlik) yatay çerçevede kırpılmaz: uzun kenardan orantılı küçülür,
   kalan kenarlar çerçevenin zemin rengiyle dolar. Şablon etkinlik kartına bu sınıfı ekler. */
.news-thumb-wrap--sigdir img {
  object-fit: contain;
}

.news-card:hover .news-thumb-wrap img {
  transform: scale(1.05);
}

.news-thumb-wrap .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.news-thumb-wrap .news-date-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(23, 27, 51, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
}

.news-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--murekkep-muted);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--murekkep);
  transition: var(--transition);
}

.news-card:hover .news-title {
  color: var(--ege-mavisi);
}

/* ─────────────────────────────────────────────────────────────────────────────
   YAKLAŞAN ETKİNLİKLER KARTLARI (4'lü Grid)
   ───────────────────────────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-thumb-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.event-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* etkinlik afişleri dikey; kırpma yerine sığdırma */
  transition: transform 0.4s ease;
}

.event-card:hover .event-thumb-wrap img {
  transform: scale(1.05);
}

.event-calendar-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  line-height: 1.1;
  z-index: 2;
}

.event-calendar-badge .day {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--murekkep);
  display: block;
}

.event-calendar-badge .month {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--begonvil);
  text-transform: uppercase;
  display: block;
}

.event-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.event-time-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ege-mavisi);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.event-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--murekkep);
}

.event-card:hover .event-title {
  color: var(--ege-mavisi);
}

.event-venue {
  font-size: 0.85rem;
  color: var(--murekkep-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.event-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--begonvil);
}

/* ─────────────────────────────────────────────────────────────────────────────
   DEĞER ÖNERİLERİ & ÖZELLİKLER BARI (5 İkonlu)
   ───────────────────────────────────────────────────────────────────────────── */
.features-bar-section {
  padding: 3rem 0;
}

.features-bar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--ege-mavisi-light);
  color: var(--ege-mavisi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--murekkep);
  line-height: 1.2;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ALT BÖLÜMLER (Kurum Direktörü, Videolar, Blog)
   ───────────────────────────────────────────────────────────────────────────── */
/* minmax(0, 1fr): 1fr'in min-content tabanı uzun başlıkta kolonu şişirip
   ızgarayı taşırıyordu; minmax bunu keser. Kırılımlar: ≤1199.98 → 2, ≤1024.98 → 1 kolon. */
.bottom-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-card-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.section-card-panel .panel-head {
  margin-bottom: 1.5rem;
}

.section-card-panel .panel-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--murekkep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow-wrap: anywhere;
}

.section-card-panel .panel-subtitle {
  font-size: 0.9rem;
  color: var(--murekkep-muted);
}

/* Kurum Direktörü */
/* Arama kutusu tam satır; ilçe + sınıf seçicileri ve "Ara" düğmesi ikinci satırda
   yan yana durur (dikey yığılma paneli gereksiz uzatıyordu). */
.directory-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.directory-filters > .directory-search-input {
  grid-column: 1 / -1;
}

.directory-filters .directory-select {
  min-width: 0;
}

.directory-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.9rem;
}

.directory-input-wrap {
  position: relative;
}

.directory-input-wrap i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--murekkep-light);
}

.directory-selects-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.directory-select {
  padding: 0.65rem 0.85rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--murekkep);
  outline: none;
}

.directory-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.directory-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.directory-item:hover {
  border-color: var(--ege-mavisi);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Anasayfa dizin paneli: satırın tamamı bağlantı (<a class="directory-item">) */
a.directory-item {
  color: inherit;
  text-decoration: none;
}

.directory-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  color: var(--ege-mavisi);
  font-size: 1.5rem;
  overflow: hidden;
}

.directory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.directory-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--murekkep);
}

.directory-info small {
  font-size: 0.8rem;
  color: var(--murekkep-muted);
}

/* Panel formunda arama ikonu yok; .directory-search-input'un ikon boşluğu geri alınır. */
.directory-filters .directory-search-input {
  padding-left: 1rem;
}

.directory-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.directory-item-info {
  flex: 1;
}

.directory-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--murekkep);
  margin-bottom: 0.2rem;
}

.directory-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--murekkep-muted);
}

/* Videolar Bölümü */
.video-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.video-tab-btn {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
  white-space: nowrap;
}

.video-tab-btn.active {
  background: var(--ege-mavisi);
  color: #ffffff;
  border-color: var(--ege-mavisi);
}

.featured-video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}

.featured-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.featured-video-card .play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ege-mavisi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.featured-video-card:hover .play-btn-overlay {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
  color: var(--begonvil);
}

.featured-video-card .video-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(23, 27, 51, 0.9));
  color: #ffffff;
}

.featured-video-card .video-info-overlay h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

.featured-video-card .video-info-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.sub-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mini-video-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.mini-video-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mini-video-thumb {
  position: relative;
  aspect-ratio: 16/10;
}

.mini-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-video-thumb .mini-play-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.mini-video-info {
  padding: 0.6rem;
}

.mini-video-info h5 {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--murekkep);
}

.mini-video-info p {
  font-size: 0.7rem;
  color: var(--murekkep-muted);
}

/* Blog Bölümü */
.blog-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blog-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.blog-list-item:hover {
  border-color: var(--ege-mavisi);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.blog-list-item img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.blog-list-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--murekkep);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.blog-list-item:hover .blog-list-info h4 {
  color: var(--ege-mavisi);
}

.blog-list-info .date {
  font-size: 0.8rem;
  color: var(--murekkep-muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--murekkep);
  color: #E2E8F0;
  padding-top: 4rem;
  margin-top: auto;
  border-top: 4px solid var(--ege-mavisi);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col p {
  font-size: 0.95rem;
  color: #94A3B8;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-slogan {
  font-style: italic;
  color: #CBD5E1;
  font-size: 0.95rem;
  margin-top: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--begonvil);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--begonvil);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--ege-mavisi);
  transform: translateY(-2px);
}

/* E-Bülten bandı (footer ızgarasının altında, tam genişlik) */
.footer-bulten {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bulten h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.footer-bulten p {
  font-size: 0.95rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.footer-bulten-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.footer-bulten-form input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  height: 46px;
  padding: 0 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
}

.footer-bulten-form input[type="email"]::placeholder {
  color: #8C96AB;
}

.footer-bulten-form input[type="email"]:focus {
  outline: none;
  border-color: var(--ege-mavisi);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bulten-form .btn {
  height: 46px;
}

.footer-bulten-kvkk {
  flex: 1 1 100%;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #94A3B8;
  cursor: pointer;
}

.footer-bulten-kvkk input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748B;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   İÇ SAYFALAR (Kategori, Detay, Arama, İletişim vb.)
   ───────────────────────────────────────────────────────────────────────────── */
.page-header-banner {
  background: linear-gradient(135deg, var(--ege-mavisi-light) 0%, #ffffff 100%);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--murekkep-muted);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--ege-mavisi);
}

.breadcrumb-separator {
  color: var(--border-hover);
}

.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--murekkep);
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.content-main {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.content-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--murekkep);
}

/* Blog gövdesi de sitenin Manrope tipografisini kullanır. */
.content-body.blog-reading {
  font-family: inherit;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.content-body.blog-reading h2,
.content-body.blog-reading h3 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
}

.blog-reader-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
  margin-top: .85rem;
  padding: .5rem .8rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--murekkep);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.blog-reader-toggle .ti {font-size: 1.05rem;color: var(--ege-mavisi)}
.blog-reader-toggle:hover {border-color: var(--ege-mavisi);color: var(--ege-mavisi)}
.blog-reader-toggle:focus-visible {outline: 3px solid var(--ege-mavisi);outline-offset: 3px}

.content-body p {
  margin-bottom: 1.25rem;
}

.content-body ul,
.content-body ol {
  margin-bottom: 1.25rem;
  padding-inline-start: 2rem;
}

.content-body li + li {
  margin-top: 0.45rem;
}

.content-body li > ul,
.content-body li > ol {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.content-body h2,
.content-body h3 {
  color: var(--murekkep);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

/* Yazı gövdesindeki bağlantılar metnin ritmini bozmadan renk ve zincir simgesiyle ayrılır. */
.content-body a {
  color: var(--ege-mavisi);
  font-size: calc(1em - 1px);
  overflow-wrap: anywhere;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.content-body a::after {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.2em;
  background-color: var(--begonvil);
  vertical-align: -0.05em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-body a:hover {
  color: var(--begonvil-hover);
  background-color: var(--begonvil-subtle);
}

.content-body a:focus-visible {
  color: var(--begonvil-hover);
  background-color: var(--begonvil-light);
  outline: 2px solid var(--begonvil);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (forced-colors: active) {
  .content-body a::after {
    background-color: LinkText;
  }
}

@media (max-width: 600px) {
  .content-body ul,
  .content-body ol {
    padding-inline-start: 1.5rem;
  }
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--murekkep);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ege-mavisi-light);
}

/* Sayfalama */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.page-num-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--murekkep);
}

.page-num-btn.active {
  background: var(--ege-mavisi);
  color: #ffffff;
  border-color: var(--ege-mavisi);
}

.page-num-btn:hover:not(.active) {
  background: var(--bg-subtle);
  border-color: var(--ege-mavisi);
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBİL MENÜ VE RESPONSIVE DÜZEN
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-offcanvas {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mobile-offcanvas.active {
  left: 0;
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 27, 51, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1999;
  display: none;
}

.offcanvas-backdrop.active {
  display: block;
}

.offcanvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.offcanvas-logo{display:block;width:auto;max-width:100%;height:38px}
.offcanvas-logo--dark{display:none}

.offcanvas-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--murekkep-muted);
  cursor: pointer;
}

.offcanvas-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.offcanvas-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--murekkep);
}

.offcanvas-links a:hover,
.offcanvas-links a.active {
  background: var(--ege-mavisi-light);
  color: var(--ege-mavisi);
}

/* Atlas koyu temada çekmece de koyu kalmalı; açık zemin/açık yazı çakışmasını önler. */
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .mobile-offcanvas{background:#1b2430;color:#f1f5fb;box-shadow:8px 0 32px #050b18a8}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .offcanvas-head{border-color:#344251}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .offcanvas-logo--light{display:none}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .offcanvas-logo--dark{display:block}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .offcanvas-close-btn{color:#c7d3e5}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .offcanvas-links a{color:#e8effb}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .offcanvas-links a:is(:hover,.active){background:#293b55;color:#8fbaff}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .mobile-offcanvas .directory-search-input{background:#27364c;border-color:#40536e;color:#f1f5fb}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .mobile-offcanvas .directory-search-input::placeholder{color:#a4b2c5}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .mobile-offcanvas .btn-secondary{background:#27364c;border-color:#40536e;color:#f1f5fb}

/* Responsive Kırılma Noktaları
   NOT: max sınırları .98px ile biter — tam sayı sınır (ör. 1024px / min 1025px)
   kesirli piksel genişliklerde (1024.5px) iki sorgunun da eşleşmediği boşluk bırakır. */

/* Ara kırılım: 3 panel 1200px altında dar kalıyor → 2 kolon. */
@media (max-width: 1199.98px) {
  .bottom-sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024.98px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-inner {
    height: 72px;
  }

  .category-icons-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .news-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-sections-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 66px;
    gap: 0.5rem;
  }

  /* İçerik sayfalarında dış ve iç kenar boşlukları mobilde üst üste binmesin. */
  .icerik-detay-baslik > .container {
    padding-inline: 1rem;
  }

  .icerik-detay-container {
    padding-inline: 0;
  }

  .icerik-detay-container > .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .icerik-detay-container .content-main {
    min-width: 0;
    padding: 1.5rem 1rem;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-wrap: anywhere;
  }

  .icerik-detay-container > .content-layout > aside {
    min-width: 0;
    padding-inline: 1rem;
  }

  .header-brand {
    max-width: calc(100% - 190px);
  }

  .header-logo {
    height: 40px;
    max-width: 100%;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-auth-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .hero-banner-container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    padding: 2rem 1.25rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-search-box {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 0.75rem;
  }

  .hero-category-select {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding: 0.5rem 0;
  }

  .hero-search-submit {
    width: 100%;
    border-radius: var(--radius-pill);
    height: 42px;
  }

  .category-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .category-icon-card {
    padding: 1rem 0.5rem;
  }

  .news-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .features-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .header-inner {
    height: 60px;
    gap: 0.35rem;
  }

  .header-brand {
    max-width: calc(100% - 130px);
    min-width: 0;
  }

  .header-logo {
    height: 35px;
    max-width: 100%;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .search-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    border-radius: 50%;
  }

  .header-auth-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .header-auth-btn .auth-btn-text {
    display: none;
  }

  .header-auth-btn i {
    font-size: 1.15rem;
    margin: 0;
  }
}

@media (max-width: 375px) {
  .header-inner {
    height: 56px;
    gap: 0.25rem;
  }

  .header-brand {
    max-width: calc(100% - 116px);
  }

  .header-logo {
    height: 30px;
  }

  .search-toggle-btn,
  .mobile-menu-btn,
  .header-auth-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   DİZİN (1b) — /kurumlar listesi: filtre çubuğu, çipler, kurum kartları
   ───────────────────────────────────────────────────────────────────────────── */
.dizin-baslik-satiri {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Dizin başlığı bir içerik kahramanı değil, filtrelerin kısa bağlam satırıdır. */
.dizin-page-header {
  padding: 1.25rem 0 1.35rem;
  margin-bottom: 0;
}

.dizin-page-header .breadcrumb {
  margin-bottom: 0.5rem;
}

.dizin-page-header .page-title {
  font-size: clamp(1.85rem, 2.6vw, 2.1rem);
  line-height: 1.12;
}

.dizin-sayi {
  font-size: 1rem;
  font-weight: 600;
  color: var(--murekkep-muted);
  white-space: nowrap;
}

.breadcrumb-current {
  color: var(--ege-mavisi);
  font-weight: 600;
}

.dizin-gorunum {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ege-mavisi);
  transition: var(--transition);
}

.dizin-gorunum:hover {
  border-color: var(--ege-mavisi);
  box-shadow: var(--shadow-sm);
}

.dizin-govde {
  padding-bottom: 4rem;
}

/* Filtre çubuğu */
.dizin-filtreler {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  margin: 1rem 0 1.5rem;
}

.dizin-filtreler > .dizin-filtre-satiri {
  grid-column: 1 / -1;
}

.dizin-filtreler > .dizin-daha {
  align-self: center;
}

.dizin-filtreler > .dizin-filtre-eylem {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

.dizin-filtreler > .dizin-daha[open] {
  grid-column: 1 / -1;
}

.dizin-filtreler > .dizin-daha[open] + .dizin-filtre-eylem {
  grid-column: 1 / -1;
  grid-row: auto;
  justify-self: start;
}

.dizin-filtre-eylem .btn {
  padding: 0.62rem 1rem;
  font-size: 0.875rem;
}

.dizin-filtre-satiri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

@media (min-width: 1100px) {
  .dizin-filtreler > .dizin-filtre-satiri {
    grid-template-columns: minmax(300px, 1.65fr) repeat(3, minmax(150px, 1fr));
    align-items: end;
  }

  .dizin-filtreler > .dizin-filtre-satiri > .dizin-alan-genis {
    grid-column: auto;
  }
}

.dizin-alan {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.dizin-alan-genis {
  grid-column: 1 / -1;
}

.dizin-alan-etiket {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--murekkep-muted);
}

.dizin-alan .directory-select,
.dizin-alan .directory-search-input {
  width: 100%;
  max-width: 100%;
}

.dizin-arama {
  padding-left: 1rem;
}

.dizin-daha > summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ege-mavisi);
  list-style: none;
}

.dizin-daha > summary::before {
  content: "+ ";
  font-weight: 800;
}

.dizin-daha[open] > summary {
  margin-bottom: 0.85rem;
}

.dizin-daha[open] > summary::before {
  content: "− ";
}

.dizin-filtre-eylem {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Çipler ve rozetler */
.dizin-cipler {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--murekkep-muted);
  transition: var(--transition);
}

a.cip:hover {
  border-color: var(--ege-mavisi);
  color: var(--ege-mavisi);
}

.cip-kaldir {
  background: var(--ege-mavisi-light);
  border-color: transparent;
  color: var(--ege-mavisi);
}

.cip-temizle {
  background: #ffffff;
}

/* Sınıf etiketi gibi eylemsiz beyaz çip (kurum sayfası). */
.cip-duz {
  background: var(--bg-card);
}

.cip-tur {
  align-self: flex-start;
  background: var(--ege-mavisi-subtle);
  border-color: transparent;
  color: var(--ege-mavisi);
}

.rozet {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--murekkep-muted);
}

.rozet-dogrulandi {
  background: rgba(30, 132, 73, 0.1);
  color: #1e8449;
}

.rozet-kaynak {
  background: var(--begonvil-light);
  color: var(--begonvil);
}

/* Kurum kartları */
.kurum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.kurum-kart {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.kurum-kart:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.kurum-kart-gorsel {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
}

.kurum-kart-gorsel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kurum-kart-gorsel img.kurum-kart-logo {
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 70%;
  object-fit: contain;
}

/*
 * Kapaksız/logosuz kart yer tutucusu (Spec 3 §8.3): tür ikonu, kurum sınıfına göre renkli zemin.
 * Zemin artık görsel alanını tam kapladığı için eski `opacity: 0.4` kaldırıldı (renkli zemini
 * soldururdu); ikon beyaza döner. --sinif-renk yoksa (data-sinif basılmamışsa) nötr gri zemin
 * + --ege-mavisi ikon, yani eski görünüme yakın bir geri düşüş kalır.
 */
.kurum-kart-ikon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2.5rem;
  color: var(--ege-mavisi);
  background: var(--sinif-renk, #e8eaf0);
}

.kurum-kart-ikon[data-sinif] i {
  color: #ffffff;
}

/*
 * MEB YER TUTUCUSU — görselsiz resmî okullar (kurumlar.mulkiyet = 'meb').
 * Jenerik `ti ti-school` ikonu yerine beyaz MEB amblemi + kurumun tür adı. Yalnız MEB kurumlarında
 * basılır: özel/vakıf kurumda amblem onları resmî devlet okulu gibi gösterirdi, oralarda tür ikonu kalır.
 *
 * Tasarım bilerek SAKİN (varyant C1, kullanıcı onaylı): amblem ölçülü, tür adı küçük ve harf aralıklı,
 * opaklık düşük. Görsel alan bir kimlik taşıyıcı değil, sakin bir doku; kartın en baskın yazısı
 * kurumun kendi adı (.kurum-kart-ad, 1rem/700) olmalı. Punto büyütmeyin — tür adını hero yapan
 * varyant, jenerik kategoriyi kurum adının önüne geçirdiği için elendi.
 *
 * Amblem varlığı: assets/img/meb-amblem-beyaz.png — resmî amblemin koyu zemin için beyaz varyantı,
 * logo turunda üçüncü taraf bir siteden önbelleğe inmiştir (kaynak:
 * depo/tarama/logo/9258fcbcdc55806494a66bf79ed7ea3c01577518.bin, 300×300 → 256×256).
 * meb.gov.tr/assets/img/Logo.png yalnız koyu, yatay kilidi sunuyor (162×59); renkli zemin üzerinde
 * kullanılamaz ve resmî bir logoyu yeniden renklendirmek doğru olmazdı. İleride resmî beyaz varyantla
 * değiştirilebilir — tek dosya, başka yeri etkilemez.
 */
.meb-yer-tutucu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  text-align: center;
  color: #ffffff;
  background: var(--sinif-renk, var(--ege-mavisi));
}

/* Sığdığı kutuyu doldurur; kurum sayfasında ölçüyü .kurum-kapak-kart verdiği için orada gerekmez. */
.kurum-kart-gorsel .meb-yer-tutucu,
.directory-thumb .meb-yer-tutucu {
  width: 100%;
  height: 100%;
}

/*
 * Amblem `object-fit: cover` ile geren kap kurallarını (.kurum-kart-gorsel img, .directory-thumb img)
 * aşmak için iki sınıflı seçiciyle yazılır.
 */
.meb-yer-tutucu .meb-yer-tutucu-amblem {
  width: 26%;
  max-width: 52px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

/*
 * Kademe (tür) adı veriden gelir; büyük harfe CSS çevirir. Bilinçli tercih: PHP tarafında
 * mb_strtoupper Türkçe'de "Lisesi" → "LISESI" üretirdi, text-transform ise lang="tr" altında
 * doğru "LİSESİ" karşılığını verir.
 */
.meb-yer-tutucu-kademe {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  text-wrap: balance;
  opacity: 0.9;
}

.meb-yer-tutucu-kurum {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  opacity: 0.72;
}

/*
 * Kurum sayfasının kapak kartı 400×266 — kart ızgarasının ~250px'lik kutusundan belirgin biçimde
 * büyük. Oranlar korunarak ölçeklenir (aynı sayfadaki .kurum-kapak-kart--bos ikonu da 2.5rem yerine
 * 72px basıyor); hiyerarşi bozulmaz, çünkü o sayfada en baskın yazı bant başlığındaki kurum adıdır.
 */
.meb-yer-tutucu--genis {
  gap: 10px;
  padding: 16px 20px;
}

.meb-yer-tutucu--genis .meb-yer-tutucu-amblem {
  max-width: 84px;
}

.meb-yer-tutucu--genis .meb-yer-tutucu-kademe {
  font-size: 14px;
}

.meb-yer-tutucu--genis .meb-yer-tutucu-kurum {
  font-size: 11px;
}

/* Anasayfa dizin panelinin 56×56 künyesi: metin sığmaz, yalnız amblem basılır (şablon da öyle çizer). */
.meb-yer-tutucu--mini {
  padding: 8px;
}

.meb-yer-tutucu--mini .meb-yer-tutucu-amblem {
  width: 100%;
  max-width: 36px;
}

/*
 * Sınıf paleti — kurum_siniflari.sira sırasıyla sekiz ayrık ton.
 * İlk ton tema ana rengi (--ege-mavisi #304FA9) ile hizalandı; kalanlar plandaki palet.
 * Aynı palet kurum sayfasındaki kapaksız üst bant kartını (.kurum-kapak-kart--bos) ve
 * MEB yer tutucusunu (.meb-yer-tutucu) da besler.
 */
.kurum-kart-ikon[data-sinif="resmi-okullar"],
.kurum-kapak-kart--bos[data-sinif="resmi-okullar"],
.meb-yer-tutucu[data-sinif="resmi-okullar"] {
  --sinif-renk: #304fa9;
}

.kurum-kart-ikon[data-sinif="resmi-egitim-merkezleri"],
.kurum-kapak-kart--bos[data-sinif="resmi-egitim-merkezleri"],
.meb-yer-tutucu[data-sinif="resmi-egitim-merkezleri"] {
  --sinif-renk: #0c8599;
}

.kurum-kart-ikon[data-sinif="ozel-ogretim-kurumlari"],
.kurum-kapak-kart--bos[data-sinif="ozel-ogretim-kurumlari"],
.meb-yer-tutucu[data-sinif="ozel-ogretim-kurumlari"] {
  --sinif-renk: #2f9e44;
}

.kurum-kart-ikon[data-sinif="yuksekogretim"],
.kurum-kapak-kart--bos[data-sinif="yuksekogretim"],
.meb-yer-tutucu[data-sinif="yuksekogretim"] {
  --sinif-renk: #e8590c;
}

.kurum-kart-ikon[data-sinif="idari-kurumlar"],
.kurum-kapak-kart--bos[data-sinif="idari-kurumlar"],
.meb-yer-tutucu[data-sinif="idari-kurumlar"] {
  --sinif-renk: #9c36b5;
}

.kurum-kart-ikon[data-sinif="diger-kamu-kurumlari"],
.kurum-kapak-kart--bos[data-sinif="diger-kamu-kurumlari"],
.meb-yer-tutucu[data-sinif="diger-kamu-kurumlari"] {
  --sinif-renk: #c92a2a;
}

.kurum-kart-ikon[data-sinif="sivil-toplum"],
.kurum-kapak-kart--bos[data-sinif="sivil-toplum"],
.meb-yer-tutucu[data-sinif="sivil-toplum"] {
  --sinif-renk: #5f3dc4;
}

.kurum-kart-ikon[data-sinif="egitim-hizmet-saglayicilari"],
.kurum-kapak-kart--bos[data-sinif="egitim-hizmet-saglayicilari"],
.meb-yer-tutucu[data-sinif="egitim-hizmet-saglayicilari"] {
  --sinif-renk: #868e96;
}

.kurum-kart-govde {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
}

.kurum-kart-ad {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.kurum-kart-ad a {
  color: var(--murekkep);
}

.kurum-kart:hover .kurum-kart-ad a {
  color: var(--ege-mavisi);
}

.kurum-kart-yer {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--murekkep-muted);
}

/*
 * Kart özeti (Spec 3 §8.2): kisa_aciklama 2 satırda kırpılır, kart yükseklikleri eşit kalsın.
 * Renk teması --murekkep-muted taşır (plandaki --text-2 bu temada tanımlı değil); dikey boşluğu
 * .kurum-kart-govde'nin gap'i verdiği için ayrıca margin yazılmaz (global reset zaten sıfırlar).
 */
.kurum-kart-ozet {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--murekkep-muted);
}

.kurum-kart-kademeler,
.kurum-kart-rozetler {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.kurum-kart-rozetler {
  margin-top: auto;
}

/* Boş sonuç, harita yer tutucusu, sayfalama üç noktası */
.dizin-bos {
  text-align: center;
  padding: 4rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.dizin-bos i {
  font-size: 3.5rem;
  color: var(--murekkep-light);
  display: inline-block;
  margin-bottom: 1rem;
}

.dizin-bos h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--murekkep);
  margin-bottom: 0.5rem;
}

.dizin-bos p {
  color: var(--murekkep-muted);
  margin-bottom: 1.5rem;
}

.dizin-harita-yer {
  min-height: 320px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.page-ara {
  padding: 0 0.25rem;
  color: var(--murekkep-light);
}

@media (max-width: 768px) {
  .dizin-page-header {
    padding: 1rem 0;
  }

  .dizin-page-header .page-title {
    font-size: 1.65rem;
  }

  .dizin-filtreler {
    display: flex;
    flex-direction: column;
    margin-top: 0.75rem;
  }

  .dizin-filtreler > .dizin-filtre-eylem {
    align-self: flex-start;
  }

  .dizin-baslik-satiri {
    align-items: flex-start;
  }

  .kurum-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .dizin-filtre-satiri {
    grid-template-columns: 1fr;
  }

  .kurum-grid {
    grid-template-columns: 1fr;
  }

  .dizin-filtreler {
    padding: 1rem;
  }
}

/* Bilgi notu: harita görünümündeki uyarı ve kurum sayfasındaki "konum yok" kutusu */
.dizin-not {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 0.85rem;
  color: var(--murekkep-muted);
}

/* ==========================================================================
 KURUM DETAY SAYFASI (Spec 2 §6.3)
 ========================================================================== */

/*
 * Üst bant (Seçenek B): solda başlık + özet + hızlı iletişim + güven satırı,
 * sağda kapak kartı. Kart kapak → logo → sınıf renkli tür ikonu sırasını izler.
 */
.kurum-banner {
  padding: 2.25rem 0 2.75rem;
}

.kurum-baslik {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 0.25rem;
}

.kurum-baslik-metin {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.kurum-ust-satir {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
}

/* Özet: kisa_aciklama metni, banttaki başlığın hemen altında. */
.kurum-ozet {
  font-size: 1.06rem;
  color: var(--murekkep-muted);
  line-height: 1.65;
  max-width: 680px;
  margin: 0;
}

.kurum-hizli-bilgi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  margin: 0;
}

.kurum-hizli-bilgi i {
  color: var(--ege-mavisi);
}

.kurum-hizli-bilgi a {
  color: var(--ege-mavisi);
  font-weight: 700;
}

/* Güven satırı: veri kaynağı + doğrulama durumu, teknik rozet yerine soluk tek satır. */
.kurum-guven {
  font-size: 0.8rem;
  color: var(--murekkep-light);
  margin: 0;
}

.kurum-kapak-kart {
  flex-shrink: 0;
  width: 400px;
  height: 266px;
  object-fit: cover;
  border-radius: var(--radius-md);
  outline: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

/* Kapak görseli + atıf satırı tek kutuda: .kurum-baslik satır yönünde flex, ikisi ayrı öğe olsaydı
   atıf görselin yanına düşerdi. CC BY-SA gibi lisanslarda atıf zorunlu; küçük ama okunur. */
.kurum-kapak-figur {
  flex-shrink: 0;
  width: 400px;
  margin: 0;
}
.kurum-kapak-atif {
  margin: .4rem 0 0;
  font-size: .75rem;
  line-height: 1.35;
  color: var(--murekkep-muted);
}
.kurum-kapak-atif a { color: inherit; text-decoration: underline; }
.kurum-kapak-atif a:hover { color: var(--ege-mavisi); }

.kurum-kapak-kart--logo,
.kurum-kapak-kart--bos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kurum-kapak-kart--logo {
  background: #ffffff;
  padding: 1.5rem;
}

.kurum-kapak-kart--logo img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.kurum-kapak-kart--bos {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.16) 100%), var(--sinif-renk, var(--ege-mavisi));
}

.kurum-kapak-kart--bos i {
  font-size: 72px;
  color: rgba(255, 255, 255, 0.9);
}

/* Mobil hızlı eylemler: bant altında yapışkan olmayan şerit, yalnız dar ekranda görünür. */
.kurum-hizli-eylemler {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
}

.kurum-hizli-eylemler .btn { flex: 1; padding: 0.7rem 0.5rem; font-size: 0.9rem; }

.kurum-sayfa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.kurum-ana {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

/* İçerik kartı: bölümler tek beyaz kartta, aralarında ince ayraç çizgisi. */
.kurum-icerik-karti {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.kurum-icerik-karti .kurum-bolum + .kurum-bolum {
  border-top: 1px solid var(--border-light);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.kurum-bolum h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--murekkep);
  margin-bottom: 0.7rem;
}

/* Bölüm başlığı kalıbı: yuvarlak köşeli mavi kutuda ikon + başlık metni. */
.kurum-bolum-baslik {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.kurum-bolum-ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ege-mavisi-light);
  color: var(--ege-mavisi);
  font-size: 1rem;
  flex-shrink: 0;
}

.kurum-cipler {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Sayılarla bölümü (Spec 3 §8.1): stat kutuları + kaynak notu. */
.kurum-statlar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

/* Seçenek B: stat kutusu ikonlu ve sola hizalı; donanım çipleri adlandırılmış gruplara ayrılır. */
.kurum-stat {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  text-align: left;
}

.kurum-stat > i {
  display: block;
  color: var(--murekkep-light);
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.kurum-stat-deger {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ege-mavisi);
  line-height: 1.15;
}

.kurum-stat-deger--metin {
  font-size: 1.15rem;
  line-height: 1.65;
}

.kurum-stat-ad {
  display: block;
  font-size: 0.82rem;
  color: var(--murekkep-muted);
}

.kurum-donanim-grup + .kurum-donanim-grup { margin-top: 0.875rem; }

.kurum-donanim-grup-ad {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--murekkep-light);
  margin: 0 0 0.5rem;
}

.kurum-donanim .cip { background: var(--bg-card); }

.kurum-donanim .cip i { color: var(--ege-mavisi); }

.kurum-bolum-not {
  font-size: 0.8rem;
  color: var(--murekkep-light);
  margin-top: 0.5rem;
}

/* LGS yerleştirme bölümü: dar ekranda tablo KENDİ kabında yatay kayar, sayfa gövdesi kaymaz. */
.kurum-lgs-kaydir {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kurum-lgs-tablo {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 30rem;
}

.kurum-lgs-tablo th,
.kurum-lgs-tablo td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.kurum-lgs-tablo thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--murekkep-light);
  white-space: nowrap;
}

.kurum-lgs-tablo tbody th {
  font-weight: 600;
}

.kurum-lgs-tablo tbody tr:last-child th,
.kurum-lgs-tablo tbody tr:last-child td {
  border-bottom: 0;
}

/* Alan adı (MTAL) program adının altında ikinci satır: uzun ve büyük harfli, gövdeden ayrılsın. */
.kurum-lgs-alan {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--murekkep-muted);
}

.kurum-lgs-puan {
  font-weight: 700;
  color: var(--ege-mavisi);
  white-space: nowrap;
}

.kurum-lgs-netler {
  margin-top: 0.75rem;
}

.kurum-lgs-netler > summary {
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--murekkep-muted);
  padding: 0.35rem 0;
}

.kurum-lgs-netler > summary:hover { color: var(--ege-mavisi); }

.kurum-lgs-netler .kurum-lgs-tablo { min-width: 34rem; }

.kurum-gorsel-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.kurum-gorsel-izgara img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.kurum-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kurum-liste li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.kurum-liste-tarih {
  font-size: 0.8rem;
  color: var(--murekkep-light);
}

/* Benzerler listesi: zebra satırlar (tablo teması gibi) — kenarlık yerine dönüşümlü zemin. */
.kurum-benzerler li {
  padding: 0.45rem 0.625rem;
  border-bottom: 0;
  border-radius: var(--radius-xs);
}

.kurum-benzerler li:nth-child(odd) {
  background: var(--bg-subtle);
}

.kurum-alt-baslik {
  font-weight: 700;
  margin: 0.9rem 0 0.5rem;
}

.kurum-kaynaklar ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--murekkep-muted);
}

.kurum-kaynaklar li {
  padding: 0.2rem 0;
  overflow-wrap: anywhere;
}

/* CTA şeridi: içerik kartının dışında, mavi zeminli tek satır (Seçenek B). */
.kurum-cta {
  background: var(--ege-mavisi-light);
  border: 0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.kurum-cta-dugmeler {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
}

.kurum-cta-ikincil {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ege-mavisi);
  padding: 0.75rem 0.5rem;
}

/* Yan karttaki Ara düğmesi: telefon listeden çıkıp tam genişlikte birincil eylem oldu. */
.kurum-tel-dugme { width: 100%; margin-bottom: 1rem; }

.kurum-iletisim {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.92rem;
}

.kurum-iletisim li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.kurum-iletisim i {
  color: var(--ege-mavisi);
  margin-top: 0.15rem;
}

.kurum-sosyal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-size: 1.2rem;
}

.kurum-harita {
  height: 280px;
  min-height: 0;
  margin-bottom: 0.75rem;
}

.kurum-yol-tarifi {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}

/* Tanıtım gövdesi: HTMLPurifier'dan geçmiş kurum açıklaması */
.icerik-metin {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--murekkep);
}

.icerik-metin p,
.icerik-metin ul,
.icerik-metin ol {
  margin-bottom: 1rem;
}

.icerik-metin ul,
.icerik-metin ol {
  padding-left: 1.25rem;
}

.icerik-metin h2,
.icerik-metin h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.5rem 0 0.75rem;
}

.icerik-metin img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .kurum-sayfa {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .kurum-hizli-eylemler { display: flex; margin-top: -2.5rem; }

  /* Bant başlığı tek sütuna düşer; kapak kartı sabit 400px yerine tam genişlik (yatay taşma önlenir). */
  .kurum-baslik { flex-direction: column; gap: 1.25rem; }

  .kurum-kapak-kart { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .kurum-kapak-figur { width: 100%; }

  /* .meb-yer-tutucu bilerek listede yok: amblem + iki satır metin 200px'e sıkışmak yerine kapak
     kartının gerçek 3/2 oranını korusun (dar ekranda ~260px). Eksik değil, kasıtlı. */
  .kurum-kapak-kart--logo,
  .kurum-kapak-kart--bos { height: 200px; }

  .kurum-icerik-karti { padding: 1.375rem 1.25rem; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BİRLEŞİK ARAMA (/arama): form, takma ad önerisi, sekme çıpaları, kurum satırı
   ───────────────────────────────────────────────────────────────────────────── */
.arama-govde {
  padding-bottom: 4rem;
}

.arama-ozet {
  margin-top: 0.5rem;
  color: var(--murekkep-muted);
}

.arama-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.arama-form-alan {
  flex: 1 1 260px;
}

.arama-form-kategori {
  flex: 0 1 220px;
}

.arama-form-kategori .directory-select {
  width: 100%;
}

.arama-oneri {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  background: var(--ege-mavisi-light);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--murekkep);
}

.arama-oneri i {
  color: var(--ege-mavisi);
}

.arama-oneri a {
  font-weight: 700;
  color: var(--ege-mavisi);
  text-decoration: underline;
}

.arama-sekmeler {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.arama-sekme {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--murekkep-muted);
  border-bottom: 2px solid transparent;
}

.arama-sekme:hover,
.arama-sekme:focus {
  color: var(--ege-mavisi);
  border-bottom-color: var(--ege-mavisi);
}

.arama-sekme-sayi {
  padding: 0.05rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  font-size: 0.75rem;
  color: var(--murekkep-muted);
}

.arama-bolum {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}

.arama-bolum-baslik {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--murekkep);
  margin-bottom: 1rem;
}

.arama-bolum-sayi {
  font-weight: 600;
  color: var(--murekkep-muted);
}

.arama-bos {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--murekkep-muted);
}

.arama-bos a {
  color: var(--ege-mavisi);
  font-weight: 600;
}

/* Kurum kartının görselsiz satır sürümü (aynı .kurum-kart tabanı) */
.arama-kurum-liste {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.kurum-kart-satir .kurum-kart-govde {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.85rem 1.1rem;
}

.kurum-kart-satir .kurum-kart-ad {
  flex: 1 1 240px;
}

.kurum-kart-satir .kurum-kart-rozetler {
  margin-top: 0;
}

.news-ozet {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--murekkep-muted);
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .kurum-kart-satir .kurum-kart-govde {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ANASAYFA — KURUM REHBERİ VE ÜÇLÜ EDİTORYAL VİTRİN
   ───────────────────────────────────────────────────────────────────────────── */
.homepage-directory-section {
  padding: 0 0 1.25rem;
  background: var(--bg-page);
}

.homepage-directory-shell {
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.homepage-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0 0.15rem;
}

.homepage-directory-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.homepage-directory-heading-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ege-mavisi), #4969c5);
  border-radius: 9px;
  font-size: 1.15rem;
}

.homepage-directory-heading h2 {
  color: var(--murekkep);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.homepage-directory-heading p {
  margin-top: 0.12rem;
  color: var(--murekkep-muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.homepage-directory-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.45rem 0.7rem;
  color: var(--ege-mavisi);
  background: var(--ege-mavisi-light);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 750;
}

.homepage-directory-all:hover {
  color: #ffffff;
  background: var(--ege-mavisi);
}

.homepage-institution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

/* Süreli kurum vitrini: sağ sütunda üç standart kartın yüksekliğini kaplar. */
.homepage-institution-grid--with-featured {
  grid-template-rows: repeat(3, minmax(78px, 1fr));
}

.homepage-featured-institution {
  position: relative;
  grid-column: 3;
  grid-row: 1 / span 3;
  min-width: 0;
  min-height: 246px;
  display: block;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  border-radius: 10px;
  background: #244a94;
  box-shadow: 0 8px 24px rgba(36, 74, 148, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.homepage-featured-institution:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 74, 148, 0.24);
}

.homepage-featured-institution:focus-visible {
  outline: 3px solid rgba(192, 56, 114, 0.42);
  outline-offset: 3px;
}

.homepage-featured-institution-cover,
.homepage-featured-institution-shade,
.homepage-featured-institution-topline,
.homepage-featured-institution-content {
  position: absolute;
  inset: 0;
}

.homepage-featured-institution-cover {
  z-index: -3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #173f81, #3974b6);
}

.homepage-featured-institution-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.homepage-featured-institution:hover .homepage-featured-institution-cover > img {
  transform: scale(1.035);
}

.homepage-featured-institution-cover--fallback {
  background-image: linear-gradient(135deg, rgba(18, 59, 123, 0.92), rgba(48, 79, 169, 0.7)), url('../img/hero-bg.jpg');
  background-position: center;
  background-size: cover;
}

.homepage-featured-institution-cover > i {
  font-size: 6rem;
  opacity: 0.5;
}

.homepage-featured-institution-shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(10, 30, 65, 0.14) 0%, rgba(10, 30, 65, 0.38) 43%, rgba(10, 27, 59, 0.94) 100%);
}

.homepage-featured-institution-topline {
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem;
  pointer-events: none;
}

.homepage-featured-institution-label,
.homepage-featured-institution-sponsored,
.homepage-featured-institution-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  width: max-content;
  max-width: 100%;
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(18, 43, 86, 0.68);
  backdrop-filter: blur(8px);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.2;
}

.homepage-featured-institution-sponsored {
  color: #fff7fb;
  border-color: rgba(255, 222, 239, 0.56);
  background: rgba(175, 43, 104, 0.78);
}

.homepage-featured-institution-content {
  z-index: 1;
  top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.46rem;
  padding: 0.75rem;
}

.homepage-featured-institution-identity {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.homepage-featured-institution-logo {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #244a94;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(8, 28, 62, 0.2);
}

.homepage-featured-institution-logo img {
  width: 100%;
  height: 100%;
  padding: 0.28rem;
  object-fit: contain;
}

.homepage-featured-institution-logo i {
  font-size: 1.45rem;
}

.homepage-featured-institution-verified {
  padding: 0.23rem 0.38rem;
  color: #eaf5ff;
  font-size: 0.6rem;
}

.homepage-featured-institution-verified i {
  color: #7fc6ff;
  font-size: 0.86rem;
}

.homepage-featured-institution-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.homepage-featured-institution-copy strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.homepage-featured-institution-copy small {
  color: rgba(240, 247, 255, 0.86);
  font-size: 0.7rem;
  line-height: 1.3;
}

.homepage-featured-institution-description {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(247, 250, 255, 0.9);
  font-size: 0.72rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.homepage-featured-institution-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding: 0.4rem 0.58rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.68rem;
  font-weight: 800;
}

.homepage-institution-card {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem;
  background: var(--bg-page);
  border: 1px solid transparent;
  border-radius: 8px;
  transition: var(--transition);
}

.homepage-institution-card:hover {
  border-color: rgba(48, 79, 169, 0.45);
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(48, 79, 169, 0.08);
}

.homepage-institution-card:focus-visible {
  outline: 3px solid rgba(48, 79, 169, 0.2);
  outline-offset: 2px;
}

.homepage-institution-thumb {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-subtle);
  border-radius: 8px;
}

.homepage-institution-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage-institution-thumb > img.homepage-institution-logo {
  padding: 0.55rem;
  object-fit: contain;
  background: #ffffff;
}

.homepage-institution-thumb .meb-yer-tutucu,
.homepage-institution-icon {
  width: 100%;
  height: 100%;
}

.homepage-institution-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--ege-mavisi);
  font-size: 1.5rem;
}

.homepage-institution-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.homepage-institution-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--murekkep);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.homepage-institution-info small {
  overflow: hidden;
  color: var(--murekkep-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.homepage-institution-arrow {
  color: var(--murekkep-light);
  font-size: 1rem;
  transition: var(--transition);
}

.homepage-institution-card:hover .homepage-institution-info strong,
.homepage-institution-card:hover .homepage-institution-arrow {
  color: var(--ege-mavisi);
}

.homepage-institution-card:hover .homepage-institution-arrow {
  transform: translateX(2px);
}

.homepage-empty-state {
  padding: 2rem;
  color: var(--murekkep-muted);
  text-align: center;
  background: var(--bg-subtle);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-sm);
}

.homepage-editorial-section {
  padding: 3rem 0 3.5rem;
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.homepage-editorial-grid {
  gap: 0;
  margin-bottom: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-editorial-column {
  min-width: 0;
  padding: 0 2rem;
}

.homepage-editorial-column:first-child {
  padding-left: 0;
  padding-right: 2.5rem;
}

.homepage-editorial-column:last-child {
  padding-right: 0;
  padding-left: 2.5rem;
}

.homepage-editorial-column + .homepage-editorial-column {
  border-left: 1px solid var(--border-light);
}

.editorial-column-head {
  min-height: 49px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.editorial-column-head h2 {
  position: relative;
  padding-bottom: 0.72rem;
  color: var(--murekkep);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.editorial-column-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, var(--ege-mavisi) 0 72%, var(--begonvil) 72% 100%);
}

.editorial-column-head > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding-top: 0.2rem;
  color: var(--murekkep-muted);
  font-size: 0.73rem;
  font-weight: 650;
}

.editorial-column-head > a:hover {
  color: var(--ege-mavisi);
}

.editorial-list {
  display: flex;
  flex-direction: column;
}

.editorial-item {
  min-width: 0;
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border-light);
}

.editorial-item:last-child {
  border-bottom: 0;
}

.editorial-thumb {
  width: 98px;
  height: 76px;
  flex: 0 0 98px;
  overflow: hidden;
  background: var(--bg-subtle);
  border-radius: 7px;
}

.editorial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.editorial-item:hover .editorial-thumb img {
  transform: scale(1.05);
}

.editorial-item-body {
  min-width: 0;
}

.editorial-item-body time {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--murekkep-light);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
}

.editorial-item-body h3 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--murekkep);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.editorial-item-body h3 a:hover {
  color: var(--ege-mavisi);
}

.editorial-event-item {
  align-items: flex-start;
}

.editorial-date-block {
  width: 54px;
  min-height: 62px;
  flex: 0 0 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.2rem;
  color: var(--ege-mavisi);
  background: var(--ege-mavisi-light);
  border-left: 3px solid var(--begonvil);
  border-radius: 4px 8px 8px 4px;
  line-height: 1;
}

.editorial-date-block strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.editorial-date-block span {
  max-width: 46px;
  margin-top: 0.35rem;
  overflow: hidden;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.editorial-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin-top: 0.45rem;
  color: var(--murekkep-muted);
  font-size: 0.67rem;
  line-height: 1.35;
}

.editorial-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
}

.editorial-event-meta i {
  color: var(--begonvil);
}

/* Blog kartı meta satırı: yazar adı (bağlantı) + okunma sayısı. Etkinlik meta ritmini paylaşır. */
.editorial-blog-meta a {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}

.editorial-blog-meta a:hover {
  color: var(--ege-mavisi);
}

/* Süren etkinlik: rozet bitiş gününü gösterir, altına "son gün"; meta satırında "devam ediyor". */
.editorial-date-block small {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  opacity: 0.85;
}

.editorial-devam,
.devam-ediyor {
  color: var(--begonvil);
  font-weight: 700;
}

.event-calendar-badge .note {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--begonvil);
  margin-top: 0.15rem;
}

.editorial-empty {
  padding: 2rem 0;
  color: var(--murekkep-muted);
  font-size: 0.85rem;
}

@media (max-width: 1199.98px) {
  .homepage-editorial-column:nth-child(3) {
    grid-column: 1 / -1;
    padding: 2rem 0 0;
    border-top: 1px solid var(--border-light);
    border-left: 0;
  }

  .homepage-editorial-column:nth-child(3) .editorial-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

@media (max-width: 1024.98px) {
  .category-icons-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-icons-grid::-webkit-scrollbar {
    display: none;
  }

  .category-icon-card {
    min-width: 145px;
    flex: 0 0 145px;
    padding: 0.45rem 0.6rem;
    scroll-snap-align: start;
  }

  .homepage-editorial-column,
  .homepage-editorial-column:first-child,
  .homepage-editorial-column:last-child {
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    border-left: 0;
  }

  .homepage-editorial-column:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .homepage-editorial-column:nth-child(3) .editorial-list {
    display: flex;
  }
}

/* Fotogercekci Alacati penceresi: raster mimari kabuk + canli HTML icerik gozleri. */
.hero-showcase--real-window {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border-left: 1px solid rgba(218, 225, 235, 0.9);
}

.hero-real-window-shell {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: url('../img/hero-window-alacati-frame-v3.webp') center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 2.4%, #000000 8.6%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 2.4%, #000000 8.6%);
  pointer-events: none;
  user-select: none;
}

.hero-real-window-panes {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-showcase--real-window .hero-real-window-card {
  position: absolute;
  top: 17.06%;
  height: 66.4%;
  min-width: 0;
  overflow: hidden;
  background: #123555;
  border: 0;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(9, 34, 58, 0.42);
  transition: filter 420ms ease, box-shadow 420ms ease;
}

.hero-showcase--real-window .hero-real-window-card[data-window-slot='left-one'] {
  left: 14.42%;
  width: 6.14%;
}

.hero-showcase--real-window .hero-real-window-card[data-window-slot='left-two'] {
  left: 23.51%;
  width: 6.08%;
}

.hero-showcase--real-window .hero-real-window-card[data-window-slot='center'] {
  left: 32.37%;
  width: 37.36%;
  box-shadow:
    inset 0 0 0 2px rgba(167, 207, 255, 0.95),
    0 0 0 2px rgba(41, 113, 221, 0.74),
    0 0 15px rgba(28, 99, 208, 0.52);
}

.hero-showcase--real-window .hero-real-window-card[data-window-slot='right-one'] {
  left: 72.5%;
  width: 6.26%;
}

.hero-showcase--real-window .hero-real-window-card[data-window-slot='right-two'] {
  left: 81.53%;
  width: 6.02%;
}

.hero-showcase--real-window .hero-showcase-link {
  overflow: hidden;
}

.hero-showcase--real-window .hero-showcase-image {
  transform: scale(1.055);
  filter: saturate(0.74) brightness(0.66);
  transition: transform 900ms cubic-bezier(0.2, 0.76, 0.2, 1), filter 480ms ease;
}

.hero-showcase--real-window .hero-real-window-card.is-active .hero-showcase-image {
  transform: scale(1);
  filter: saturate(1) brightness(0.94);
}

.hero-showcase--real-window .hero-showcase-shade {
  background: linear-gradient(180deg, rgba(4, 18, 34, 0.03) 23%, rgba(4, 18, 36, 0.88) 100%);
}

.hero-real-window-label {
  position: absolute;
  right: 0.1rem;
  bottom: 0.6rem;
  left: 0.1rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.27rem;
  color: #ffffff;
  font-size: 0.53rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.85);
  transition: opacity 200ms ease, transform 260ms ease;
}

.hero-real-window-label i {
  font-size: 1.05rem;
}

.hero-real-window-card.is-active .hero-real-window-label {
  opacity: 0;
  transform: translateY(7px);
}

.hero-real-window-copy {
  position: absolute;
  right: 0.8rem;
  bottom: 0.72rem;
  left: 0.8rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.26rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 280ms ease 100ms, transform 440ms cubic-bezier(0.2, 0.76, 0.2, 1) 80ms;
}

.hero-real-window-card.is-active .hero-real-window-copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-real-window-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(0.92rem, 1.17vw, 1.16rem);
  font-weight: 820;
  line-height: 1.13;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.64);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-real-window-copy small {
  overflow: hidden;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.61rem;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-real-window-controls {
  position: absolute;
  right: 16.8%;
  bottom: 4.5%;
  left: 43.3%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: 20px;
}

.hero-real-window-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.hero-real-window-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  padding: 0;
  background: rgba(206, 229, 255, 0.72);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(3, 30, 64, 0.4);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.hero-real-window-dot:hover,
.hero-real-window-dot.is-active {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(98, 166, 255, 0.52), 0 1px 4px rgba(3, 30, 64, 0.5);
  transform: scale(1.35);
}

.hero-real-window-dot:focus-visible,
.hero-real-window-pause:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.hero-real-window-pause {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  background: rgba(4, 46, 94, 0.42);
  border: 1px solid rgba(215, 236, 255, 0.44);
  border-radius: 50%;
  font-size: 0.74rem;
}

.hero-real-window-pause:hover,
.hero-real-window-pause[aria-pressed='true'] {
  background: rgba(4, 46, 94, 0.76);
}

@media (max-width: 900px) {
  .hero-showcase--real-window.hero-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }

  .hero-real-window-copy strong {
    font-size: clamp(1rem, 2.7vw, 1.32rem);
  }

  .hero-real-window-copy small,
  .hero-showcase--real-window .hero-panel-cta {
    font-size: 0.67rem;
  }
}

@media (max-width: 600px) {
  .hero-showcase--real-window.hero-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }

  .hero-real-window-label {
    bottom: 0.48rem;
  }

  .hero-real-window-label span {
    display: none;
  }

  .hero-real-window-label i {
    font-size: 0.9rem;
  }

  .hero-real-window-copy {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    gap: 0.18rem;
  }

  .hero-real-window-copy strong {
    font-size: clamp(0.88rem, 3.75vw, 1.05rem);
  }

  .hero-real-window-copy small {
    display: none;
  }

  .hero-showcase--real-window .hero-panel-kicker {
    font-size: 0.48rem;
  }

  .hero-showcase--real-window .hero-panel-cta {
    font-size: 0.53rem;
  }

  .hero-real-window-controls {
    right: 14%;
    bottom: 3.8%;
    left: 41%;
    gap: 0.34rem;
  }

  .hero-real-window-dots {
    gap: 0.34rem;
  }

  .hero-real-window-dot {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
  }

  .hero-real-window-pause {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    font-size: 0.62rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO — EGE PENCERESİ / CANLI MOZAİK İÇERİK VİTRİNİ
   İki görünüm aynı HTML veri sözleşmesini ve JS denetleyicisini kullanır.
   ───────────────────────────────────────────────────────────────────────────── */
.hero-showcase {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  color: #ffffff;
  background-color: #103d72;
}

.hero-showcase-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #123d6b;
}

.hero-showcase-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #ffffff;
}

.hero-showcase-link:hover {
  color: #ffffff;
}

.hero-showcase-link:focus-visible {
  z-index: 5;
  outline: 3px solid #ffffff;
  outline-offset: -4px;
}

.hero-showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.hero-showcase-image.is-logo {
  padding: 13%;
  object-fit: contain;
  background: #f8faff;
}

.hero-showcase-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 48, 0.05) 18%, rgba(7, 24, 48, 0.86) 100%);
  transition: background 450ms ease;
}

.hero-photo-corner {
  position: absolute;
  z-index: 4;
  max-width: calc(50% - 1.4rem);
  overflow: hidden;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.8);
}

.hero-photo-corner--kicker {
  top: 1rem;
  left: 1.15rem;
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-photo-corner--album {
  top: 1rem;
  right: 1.15rem;
  overflow: hidden;
  font-size: 0.58rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-photo-bottom-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0.48rem;
  background: rgba(255, 255, 255, 0.82);
}

.hero-photo-bottom-bar .hero-photo-corner--title,
.hero-photo-bottom-bar .hero-photo-corner--cta {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
  max-width: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-shadow: none;
}

.hero-photo-bottom-bar .hero-photo-corner--title {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-photo-bottom-bar .hero-photo-corner--cta {
  flex: 0 0 auto;
}

.hero-photo-corner--title {
  bottom: 0;
  left: 0;
  right: 7rem;
  display: -webkit-box;
  max-width: none;
  padding: 0.32rem 0.48rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 0.32rem;
  color: var(--begonvil);
  font-size: clamp(0.9rem, 1.2vw, 1.16rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-shadow: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-photo-corner--cta {
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.32rem 0.48rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 0.32rem 0 0 0;
  color: var(--ege-mavisi);
  font-size: 0.6rem;
  font-weight: 700;
  text-shadow: none;
  white-space: nowrap;
}

.hero-showcase-item.is-active .hero-showcase-image {
  transform: scale(1);
}

.hero-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 750;
}

.hero-showcase-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.hero-showcase-tabs {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.15rem;
}

.hero-showcase-tab,
.hero-showcase-pause {
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero-showcase-tab {
  position: relative;
  min-width: 0;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.28rem 0.18rem 0.42rem;
  font-size: 0.61rem;
  font-weight: 780;
  white-space: nowrap;
  transition: color 220ms ease, background-color 220ms ease;
}

.hero-showcase-tab::after {
  content: '';
  position: absolute;
  right: 12%;
  bottom: 1px;
  left: 12%;
  height: 2px;
  background: rgba(255, 255, 255, 0.23);
  border-radius: 999px;
  transform: scaleX(0.35);
  transition: transform 400ms ease, background-color 220ms ease;
}

.hero-showcase-tab:hover,
.hero-showcase-tab.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-showcase-tab.is-active::after {
  background: #ffffff;
  transform: scaleX(1);
}

.hero-showcase-tab:focus-visible,
.hero-showcase-pause:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 1px;
}

.hero-showcase-pause {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.78rem;
}

.hero-showcase-pause:hover,
.hero-showcase-pause[aria-pressed='true'] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

/* Ege penceresi: fotoğraf çeperi + mavi ahşap çerçeve + açılan beş kanat. */
.hero-showcase--ege {
  padding: 15px 12px 9px;
  background:
    radial-gradient(circle at 94% 8%, rgba(209, 50, 115, 0.08), transparent 24%),
    linear-gradient(145deg, #fbfaf6 0%, #eef7fb 100%);
}

.hero-showcase--ege::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(119, 181, 254, 0.08));
}

.hero-window-frame {
  position: relative;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 6px;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.32) 0 2%, transparent 2% 95%, rgba(37, 103, 169, 0.18) 95%),
    linear-gradient(145deg, #acd5ff 0%, #77b5fe 44%, #4d94dd 100%);
  border: 2px solid #347bbd;
  border-radius: 13px 13px 7px 7px;
  box-shadow:
    0 14px 28px rgba(37, 91, 145, 0.24),
    inset 0 0 0 3px rgba(225, 242, 255, 0.5),
    inset 0 0 0 6px rgba(54, 125, 190, 0.27);
}

.hero-window-frame::before {
  content: '';
  position: absolute;
  inset: 6px 6px 45px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(240, 249, 255, 0.88);
  border-radius: 5px 5px 2px 2px;
  box-shadow: 0 0 0 3px rgba(47, 116, 179, 0.55);
}

.hero-window-botanical {
  position: absolute;
  top: -13px;
  left: -11px;
  z-index: 5;
  width: calc(100% + 22px);
  height: calc(100% + 21px);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 3px 2px rgba(3, 44, 27, 0.2));
}

.hero-vine-stem {
  fill: none;
  stroke: #337444;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-vine-stem--fine {
  stroke: #2c6d3f;
  stroke-width: 2.6;
}

.hero-vine-stem--twig {
  stroke: #4b7547;
  stroke-width: 1.5;
}

.hero-vine-leaf {
  fill: #4b9252;
  stroke: #245f35;
  stroke-width: 1;
}

.hero-vine-leaf-line {
  fill: none;
  stroke: rgba(207, 232, 170, 0.78);
  stroke-width: 0.75;
  stroke-linecap: round;
}

.hero-flower {
  --hero-bract: #df377d;
  --hero-bract-light: #f15c98;
  --hero-bract-deep: #c32469;
  --hero-bract-edge: #9f1d55;
}

.hero-flower--rose {
  --hero-bract: #ec5792;
  --hero-bract-light: #ff83af;
  --hero-bract-deep: #d63278;
  --hero-bract-edge: #ad255f;
}

.hero-flower--deep {
  --hero-bract: #c41f69;
  --hero-bract-light: #e74c8b;
  --hero-bract-deep: #9f1553;
  --hero-bract-edge: #7b1040;
}

.hero-flower-bract {
  fill: var(--hero-bract);
  stroke: var(--hero-bract-edge);
  stroke-width: 0.7;
  stroke-linejoin: round;
}

.hero-flower-bract--light {
  fill: var(--hero-bract-light);
}

.hero-flower-bract--deep {
  fill: var(--hero-bract-deep);
}

.hero-flower-bract-vein {
  fill: none;
  stroke: rgba(255, 211, 229, 0.48);
  stroke-width: 0.65;
  stroke-linecap: round;
}

.hero-flower-core circle {
  fill: #fff6d9;
  stroke: #d5aa43;
  stroke-width: 0.45;
}

.hero-flower-core .hero-flower-core-dot {
  fill: #d69a1a;
  stroke: none;
}

.hero-window-accordion {
  position: relative;
  z-index: 1;
  min-height: 0;
  flex: 1;
  display: flex;
  gap: 4px;
  overflow: hidden;
  background: #356fa8;
  border: 3px solid #397fbd;
  border-radius: 2px 2px 1px 1px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.hero-showcase--ege .hero-showcase-item {
  flex: 0.58 1 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  transition: flex 760ms cubic-bezier(0.22, 0.78, 0.22, 1), filter 420ms ease;
}

.hero-showcase--ege .hero-showcase-item.is-active {
  flex: 5 1 0;
}

.hero-showcase--ege .hero-showcase-item:not(.is-active) .hero-showcase-image {
  filter: saturate(0.76) brightness(0.72);
}

.hero-showcase--ege .hero-showcase-item:not(.is-active) .hero-showcase-shade {
  background: linear-gradient(180deg, rgba(3, 31, 58, 0.2), rgba(3, 31, 58, 0.8));
}

.hero-panel-compact {
  position: absolute;
  right: 0;
  bottom: 0.65rem;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem 0.1rem;
  color: #ffffff;
  font-size: 0.53rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  transition: opacity 220ms ease, transform 320ms ease;
}

.hero-panel-compact i {
  font-size: 1rem;
}

.hero-showcase--ege .is-active .hero-panel-compact {
  opacity: 0;
  transform: translateY(8px);
}

.hero-panel-copy {
  position: absolute;
  right: 0.85rem;
  bottom: 0.8rem;
  left: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 280ms ease 170ms, transform 480ms cubic-bezier(0.2, 0.75, 0.2, 1) 140ms;
}

.hero-panel-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(0.9rem, 1.25vw, 1.22rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-panel-copy small {
  overflow: hidden;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.63rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-showcase--ege .is-active .hero-panel-copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-showcase--ege .hero-showcase-controls {
  position: relative;
  z-index: 6;
  align-items: flex-end;
  margin: 0 -2px -1px;
  padding: 9px 3px 1px;
  background: linear-gradient(180deg, rgba(52, 123, 189, 0), rgba(52, 123, 189, 0.24));
}

.hero-showcase--ege .hero-showcase-tabs {
  align-items: end;
  gap: 0.24rem;
  overflow: visible;
}

.hero-showcase--ege .hero-showcase-tab {
  min-height: 31px;
  padding: 0.34rem 0.12rem 0.42rem;
  color: #256ca8;
  background: linear-gradient(180deg, #fffdf8 0%, #dceef7 100%);
  border: 1px solid rgba(52, 122, 185, 0.68);
  border-radius: 6px 6px 9px 9px;
  clip-path: polygon(6% 0, 94% 0, 87% 100%, 13% 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.9), 0 3px 6px rgba(35, 94, 151, 0.2);
  font-size: 0.63rem;
  font-weight: 820;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.hero-showcase--ege .hero-showcase-tab::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 23px;
  height: 13px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 23%, #ef4c91 0 2.6px, transparent 2.9px),
    radial-gradient(ellipse at 27% 75%, #58a766 0 4px, transparent 4.4px),
    radial-gradient(ellipse at 73% 75%, #2f7f49 0 4px, transparent 4.4px);
  filter: drop-shadow(0 1px 0 rgba(2, 56, 32, 0.26));
}

.hero-showcase--ege .hero-showcase-tab::after {
  right: 24%;
  bottom: 4px;
  left: 24%;
  background: rgba(52, 122, 185, 0.3);
}

.hero-showcase--ege .hero-showcase-tab:hover,
.hero-showcase--ege .hero-showcase-tab.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #ee5b99 0%, #bd286c 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 5px 9px rgba(88, 8, 51, 0.28);
  transform: translateY(-2px);
}

.hero-showcase--ege .hero-showcase-tab.is-active::after {
  background: rgba(255, 255, 255, 0.9);
}

.hero-showcase--ege .hero-showcase-tab:focus-visible {
  outline-color: #ffeb73;
  outline-offset: 2px;
}

.hero-showcase--ege .hero-showcase-pause {
  margin-bottom: 2px;
  color: #ffffff;
  background: rgba(48, 116, 181, 0.56);
  border: 1px solid rgba(235, 248, 255, 0.76);
}

/* Canlı mozaik: aktif kutu dört hücre kaplar, diğer dört içerik çevresine akar. */
.hero-showcase--mosaic {
  padding: 10px 11px 43px;
  background:
    radial-gradient(circle at 88% 5%, rgba(209, 50, 115, 0.2), transparent 29%),
    linear-gradient(145deg, #092f5a 0%, #155d9f 54%, #092c55 100%);
}

.hero-mosaic {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 6px;
}

.hero-mosaic-tile {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(4, 22, 45, 0.18);
}

.hero-mosaic-tile.is-active {
  grid-column: span 2;
  grid-row: span 2;
}

.hero-mosaic-tile:not(.is-active) .hero-showcase-image {
  filter: saturate(0.82) brightness(0.83);
}

.hero-mosaic-copy {
  position: absolute;
  right: 0.55rem;
  bottom: 0.5rem;
  left: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
}

.hero-mosaic-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.22;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-mosaic-copy small,
.hero-mosaic-copy .hero-panel-cta {
  display: none;
}

.hero-mosaic-tile.is-active .hero-mosaic-copy {
  right: 0.85rem;
  bottom: 0.75rem;
  left: 0.85rem;
  gap: 0.3rem;
}

.hero-mosaic-tile.is-active .hero-mosaic-copy strong {
  font-size: clamp(0.92rem, 1.2vw, 1.18rem);
  line-height: 1.16;
}

.hero-mosaic-tile.is-active .hero-mosaic-copy small,
.hero-mosaic-tile.is-active .hero-mosaic-copy .hero-panel-cta {
  display: inline-flex;
}

.hero-mosaic-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.61rem;
  font-weight: 600;
}

.hero-mosaic-controls {
  position: absolute;
  right: 11px;
  bottom: 7px;
  left: 11px;
}

@media (max-width: 900px) {
  .hero-banner-container {
    grid-template-columns: 1fr;
  }

  .hero-showcase.hero-visual {
    display: block;
    height: 350px;
    min-height: 350px;
  }

  .hero-showcase--ege {
    padding: 15px 12px 9px;
  }

  .hero-window-accordion {
    position: relative;
    display: block;
  }

  .hero-showcase--ege .hero-showcase-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(4%) scale(0.985);
    transition: opacity 420ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .hero-showcase--ege .hero-showcase-item.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
  }

  .hero-showcase--ege .hero-panel-compact {
    display: none;
  }

  .hero-panel-copy {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .hero-panel-copy strong {
    font-size: 1.2rem;
  }

  .hero-showcase-tab {
    font-size: 0.6rem;
  }
}

@media (max-width: 600px) {
  .hero-section .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-tab-btn {
    flex: 0 0 auto;
  }

  .hero-showcase.hero-visual {
    height: 340px;
    min-height: 340px;
  }

  .hero-window-frame {
    padding: 6px 6px 4px;
  }

  .hero-showcase--ege {
    padding: 13px 9px 7px;
  }

  .hero-window-botanical {
    top: -11px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 18px);
  }

  .hero-window-frame::before {
    inset: 4px 4px 51px;
  }

  .hero-window-accordion {
    border-width: 2px;
  }

  .hero-showcase-tab {
    min-height: 37px;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.22rem 0.05rem 0.38rem;
    font-size: 0.52rem;
  }

  .hero-showcase-tab i {
    font-size: 0.8rem;
  }

  .hero-showcase--ege .hero-showcase-controls {
    gap: 0.18rem;
    padding-top: 10px;
  }

  .hero-showcase--ege .hero-showcase-tabs {
    gap: 0.08rem;
  }

  .hero-showcase--ege .hero-showcase-tab {
    min-height: 38px;
    padding: 0.28rem 0.02rem 0.4rem;
    font-size: 0.57rem;
  }

  .hero-showcase--ege .hero-showcase-tab::before {
    top: -7px;
    transform: translateX(-50%) scale(0.86);
  }

  .hero-showcase-pause {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .hero-showcase--mosaic {
    height: 330px;
    min-height: 330px;
    padding: 9px 9px 48px;
  }

  .hero-mosaic {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero-mosaic::-webkit-scrollbar {
    display: none;
  }

  .hero-mosaic-tile,
  .hero-mosaic-tile.is-active {
    min-width: 82%;
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .hero-mosaic-copy,
  .hero-mosaic-tile.is-active .hero-mosaic-copy {
    right: 0.85rem;
    bottom: 0.75rem;
    left: 0.85rem;
    gap: 0.3rem;
  }

  .hero-mosaic-copy strong,
  .hero-mosaic-tile.is-active .hero-mosaic-copy strong {
    font-size: 1.02rem;
  }

  .hero-mosaic-copy small,
  .hero-mosaic-copy .hero-panel-cta {
    display: inline-flex;
  }

  .hero-mosaic-controls {
    right: 9px;
    bottom: 5px;
    left: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase *,
  .hero-showcase *::before,
  .hero-showcase *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Fotoğraf albümü: hero vitrini bağlantılarının ulaştığı gerçek albüm sayfası. */
.photo-album-description {
  max-width: 760px;
  margin-top: 0.65rem;
  color: var(--murekkep-muted);
  font-size: 0.95rem;
}

.photo-gallery-page {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.photo-album-grid,
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.photo-album-card,
.photo-gallery-item {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.photo-album-card {
  display: flex;
  flex-direction: column;
  color: var(--murekkep);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.photo-album-card:hover {
  color: var(--murekkep);
  border-color: var(--ege-mavisi);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.photo-album-cover {
  position: relative;
  display: flex;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ege-mavisi);
  background: var(--ege-mavisi-light);
  font-size: 2.5rem;
}

.photo-album-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.photo-album-card:hover .photo-album-cover > img {
  transform: scale(1.045);
}

.photo-album-count {
  position: absolute;
  right: 0.7rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  color: #ffffff;
  background: rgba(8, 32, 59, 0.72);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(7px);
  font-size: 0.7rem;
  font-weight: 750;
}

.photo-album-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.15rem;
}

.photo-album-body strong {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.photo-album-body small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--murekkep-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.photo-album-body > span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  color: var(--ege-mavisi);
  font-size: 0.78rem;
  font-weight: 750;
}

.photo-gallery-item {
  margin: 0;
}

.photo-gallery-item > a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-subtle);
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.photo-gallery-item:hover img {
  transform: scale(1.04);
}

.photo-gallery-zoom {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(8, 32, 59, 0.7);
  border-radius: 50%;
  backdrop-filter: blur(6px);
}

.photo-gallery-item figcaption {
  padding: 0.8rem 0.95rem;
  color: var(--begonvil);
  font-size: 0.76rem;
  font-weight: 650;
}

.photo-gallery-empty {
  padding: 4rem 1rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.photo-gallery-empty > i {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--murekkep-light);
  font-size: 3.5rem;
}

.photo-gallery-empty h2 {
  margin-bottom: 0.45rem;
  color: var(--murekkep);
  font-size: 1.35rem;
}

.photo-gallery-empty p {
  margin-bottom: 1rem;
  color: var(--murekkep-muted);
}

@media (max-width: 900px) {
  .photo-album-grid,
  .photo-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .photo-gallery-page {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
  }

  .photo-album-grid,
  .photo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .homepage-directory-section {
    padding: 0 0 1rem;
  }

  .homepage-editorial-section {
    padding: 0.75rem 0 1rem;
  }

  .homepage-institution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .homepage-section-header {
    align-items: center;
    gap: 0.6rem;
  }

  .homepage-directory-heading p {
    display: none;
  }

  .homepage-institution-grid {
    grid-template-columns: 1fr;
  }

  .homepage-featured-institution {
    min-height: 260px;
  }

  .homepage-featured-institution-content,
  .homepage-featured-institution-topline {
    padding: 0.65rem;
  }

  .homepage-institution-card {
    min-height: 74px;
    grid-template-columns: 52px minmax(0, 1fr) 16px;
  }

  .homepage-institution-thumb {
    width: 52px;
    height: 52px;
  }

  .editorial-column-head {
    gap: 0.6rem;
  }

  .editorial-column-head h2 {
    font-size: 1.05rem;
  }

  .editorial-column-head > a {
    font-size: 0.68rem;
  }

  .editorial-thumb {
    width: 86px;
    height: 70px;
    flex-basis: 86px;
  }
}

.sayfa-anasayfa .features-bar-section {
  padding: 0.5rem 0;
  background: var(--begonvil);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(23, 27, 51, 0.08);
}

.sayfa-anasayfa .features-bar {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sayfa-anasayfa .feature-item {
  min-width: 0;
  min-height: 48px;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.4rem 0.65rem;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.sayfa-anasayfa .feature-item:last-child {
  border-right-color: transparent;
}

.sayfa-anasayfa .feature-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  font-size: 1.1rem;
}

.sayfa-anasayfa .feature-text h4 {
  color: #ffffff;
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1024.98px) {
  .sayfa-anasayfa .features-bar {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sayfa-anasayfa .features-bar::-webkit-scrollbar {
    display: none;
  }

  .sayfa-anasayfa .feature-item {
    min-width: 190px;
    flex: 0 0 190px;
    scroll-snap-align: start;
  }
}

/* Alacati penceresi son katman: onceki Ege akordeonunun responsive kurallarini ezer. */
.hero-showcase--real-window {
  padding: 0;
  background: transparent;
  border-left: 0;
}

.hero-showcase--real-window .hero-real-window-card,
.hero-showcase--real-window .hero-real-window-card.is-active {
  position: absolute;
  inset: auto;
  z-index: 2;
  top: 15.47%;
  left: 12.99%;
  width: 75.64%;
  height: 70.27%;
  opacity: 0;
  pointer-events: none;
  transform: none;
  border: 0;
  border-radius: 2px;
  transition: opacity 720ms ease;
}

.hero-showcase--real-window .hero-real-window-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
}

.hero-showcase--real-window .hero-real-window-card[data-window-slot='single'] {
  left: 12.99%;
  width: 75.64%;
}

.hero-showcase--real-window .hero-showcase-image,
.hero-showcase--real-window .hero-real-window-card.is-active .hero-showcase-image {
  transform: none;
  filter: saturate(1) brightness(0.96);
  transition: none;
}

.hero-showcase--real-window .hero-real-window-card[data-content-type='fotograf'] .hero-showcase-image {
  filter: saturate(1) brightness(1);
}

.hero-showcase--real-window .hero-showcase-shade {
  background: linear-gradient(180deg, rgba(3, 17, 34, 0.02) 30%, rgba(3, 18, 39, 0.88) 100%);
}

.hero-showcase--real-window .hero-real-window-label {
  display: none;
}

.hero-showcase--real-window .hero-real-window-copy {
  right: 1.2rem;
  bottom: 1.15rem;
  left: 1.2rem;
  transform: none;
  transition: opacity 420ms ease 150ms;
}

.hero-showcase--real-window .hero-real-window-copy strong {
  max-width: 90%;
  font-size: clamp(1.22rem, 1.65vw, 1.55rem);
  line-height: 1.12;
}

.hero-showcase--mosaic .hero-mosaic-tile:not(.is-active) .hero-photo-corner {
  display: none;
}

.hero-showcase--mosaic .hero-mosaic-tile:not(.is-active) .hero-photo-bottom-bar {
  display: none;
}

.hero-showcase--mosaic .hero-mosaic-tile:not(.is-active) .hero-photo-corner--kicker {
  top: 0.55rem;
  left: 0.55rem;
  display: block;
  max-width: calc(100% - 1.1rem);
  font-size: 0.48rem;
}

.hero-showcase--real-window .hero-real-window-controls {
  right: 9.6%;
  bottom: calc(1.8% + 6px);
  left: 10.6%;
  gap: 0.38rem;
  min-height: 34px;
}

.hero-showcase--real-window .hero-real-window-dots {
  min-width: 0;
  flex: 1;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 92px));
  justify-content: center;
  gap: 0.28rem;
  margin: 0 auto;
}

.hero-showcase--real-window .hero-real-window-dot {
  width: auto;
  height: 32px;
  min-width: 0;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0 calc(0.4rem - 2px);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(3, 43, 88, 0.22);
  border: 1px solid rgba(207, 233, 255, 0.2);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: none;
  transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hero-showcase--real-window .hero-real-window-dot i {
  flex: 0 0 auto;
  font-size: 0.88rem;
}

.hero-showcase--real-window .hero-real-window-dot span {
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: 780;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-showcase--real-window .hero-real-window-dot:hover,
.hero-showcase--real-window .hero-real-window-dot.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 -3px 0 #f05b9c, inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 8px rgba(3, 29, 62, 0.2);
  transform: translateY(-1px);
}

.hero-showcase--real-window .hero-real-window-pause {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.hero-real-window-pause i {
  display: none;
}

.hero-real-window-pause::before {
  content: '\2161';
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.hero-real-window-pause[aria-pressed='true']::before {
  content: '\25B6';
  font-size: 0.64rem;
}

@media (max-width: 900px) {
  .hero-banner-container {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-content,
  .hero-search-box,
  .hero-search-input-wrap,
  .hero-showcase--real-window.hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  .hero-title,
  .hero-subtitle {
    overflow-wrap: break-word;
  }

  .hero-showcase--real-window.hero-visual {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }
}

@media (max-width: 600px) {
  .hero-photo-corner {
    max-width: calc(54% - 0.75rem);
  }

  .hero-photo-corner--kicker,
  .hero-photo-corner--album {
    top: 0.65rem;
  }

  .hero-photo-corner--kicker {
    left: 0.7rem;
    font-size: 0.46rem;
  }

  .hero-photo-corner--album {
    right: 0.7rem;
    font-size: 0.48rem;
  }

  .hero-photo-corner--title {
    bottom: 0;
    left: 0;
    right: 5.8rem;
    font-size: clamp(0.8rem, 3.45vw, 0.96rem);
  }

  .hero-photo-corner--cta {
    right: 0;
    bottom: 0;
    font-size: 0.49rem;
  }

  .hero-showcase--real-window .hero-real-window-copy {
    right: 0.7rem;
    bottom: 0.65rem;
    left: 0.7rem;
  }

  .hero-showcase--real-window .hero-real-window-copy strong {
    max-width: 100%;
    font-size: clamp(0.98rem, 4.4vw, 1.12rem);
  }

  .hero-showcase--real-window .hero-real-window-controls {
    right: 9.4%;
    bottom: calc(1.5% + 6px);
    left: 10.4%;
    gap: 0.2rem;
    min-height: 22px;
  }

  .hero-showcase--real-window .hero-real-window-dots {
    max-width: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.12rem;
    margin: 0;
  }

  .hero-showcase--real-window .hero-real-window-dot {
    height: 21px;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 4px;
  }

  .hero-showcase--real-window .hero-real-window-dot i {
    font-size: 0.62rem;
  }

  .hero-showcase--real-window .hero-real-window-dot span {
    max-width: 100%;
    font-size: 0.45rem;
  }

  .hero-showcase--real-window .hero-real-window-pause {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
  }

  .hero-showcase--real-window .hero-real-window-pause::before {
    font-size: 0.58rem;
  }
}

@media (min-width: 901px) {
  .hero-banner-container {
    height: 400px;
    min-height: 400px;
  }

  .hero-showcase--real-window.hero-visual {
    height: 400px;
    min-height: 400px;
  }
}

/* Base grid kuralları daha yukarıda tanımlandığı için responsive yerleşim
   kaskadın sonunda tutulur: tablet/mobilde kart ilk sıraya ve tam genişliğe geçer. */
@media (max-width: 980px) {
  .homepage-institution-grid--with-featured {
    grid-template-rows: none;
  }

  .homepage-featured-institution {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 270px;
  }
}

@media (max-width: 576px) {
  .homepage-featured-institution {
    min-height: 260px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ANASAYFA — BEGONVİL NABZI DİNAMİK İSTATİSTİK ŞERİDİ
   ───────────────────────────────────────────────────────────────────────────── */
.homepage-pulse-section {
  padding: 0 0 1rem;
  background: transparent;
}

.homepage-pulse {
  position: relative;
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  min-height: 124px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 5% 118%, rgba(117, 22, 67, 0.58), transparent 38%),
    radial-gradient(circle at 92% -35%, rgba(255, 255, 255, 0.24), transparent 44%),
    linear-gradient(112deg, #bd2d68, #dc4b82 54%, #ed77a4);
  box-shadow: 0 16px 36px rgba(141, 31, 79, 0.17);
  color: #ffffff;
  isolation: isolate;
}

.homepage-pulse::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(rgba(255, 255, 255, 0.58) 0.75px, transparent 0.75px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 12%, #000 100%);
  pointer-events: none;
}

.homepage-pulse-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 18px 4px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.29);
}

.homepage-pulse-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.homepage-pulse-kicker i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
}

.homepage-pulse-kicker i::after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  animation: homepage-pulse-ring 1.8s ease-out infinite;
}

@keyframes homepage-pulse-ring {
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

.homepage-pulse-copy h2 {
  display: flex;
  align-items: baseline;
  gap: 0.16em;
  margin: 0.46rem 0 0.4rem;
  color: #ffffff;
  font-family: 'Kalam', 'Segoe Print', cursive;
  font-size: clamp(1.62rem, 2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.homepage-pulse-heading-main,
.homepage-pulse-heading-script {
  display: inline-block;
}

.homepage-pulse-heading-script {
  position: relative;
  width: max-content;
  padding-right: 0.08em;
  text-shadow: 0 1px 0 rgba(109, 20, 62, 0.18);
  transform: rotate(-0.8deg);
  transform-origin: left center;
}

.homepage-pulse-heading-script::after {
  content: '';
  position: absolute;
  right: -0.08em;
  bottom: -0.09em;
  left: 0.08em;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.7) 18%, rgba(255, 255, 255, 0.28));
  transform: rotate(-1.2deg);
}

.homepage-pulse-copy p {
  max-width: 245px;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.7rem;
  line-height: 1.42;
}

.homepage-pulse-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  padding-left: 12px;
}

.homepage-pulse-stat {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.105);
  color: #ffffff;
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.homepage-pulse-stat:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-4px);
}

.homepage-pulse-stat:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.homepage-pulse-stat > small {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
}

.homepage-pulse-stat strong {
  margin: 0.27rem 0 0.1rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 1.82vw, 1.65rem);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.homepage-pulse-stat-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.3;
}

.homepage-pulse-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.42rem;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.2;
}

.homepage-pulse-stat-link i {
  font-size: 0.66rem;
}

.homepage-pulse-heartbeat {
  position: absolute;
  right: -28px;
  bottom: 3px;
  width: 92px;
  opacity: 0.21;
}

.homepage-pulse-heartbeat path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
}

@media (max-width: 1024.98px) {
  .homepage-pulse {
    grid-template-columns: 225px minmax(0, 1fr);
  }

  .homepage-pulse-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-pulse-stat {
    min-height: 112px;
  }
}

@media (max-width: 760px) {
  .homepage-pulse {
    display: block;
    padding: 16px;
    border-radius: 20px;
  }

  .homepage-pulse-copy {
    padding: 8px 6px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .homepage-pulse-copy h2 {
    font-size: 1.75rem;
  }

  .homepage-pulse-copy p {
    max-width: 420px;
  }

  .homepage-pulse-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 0 0;
  }

  .homepage-pulse-stat {
    min-height: 116px;
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .homepage-pulse-section .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .homepage-pulse {
    padding: 13px;
  }

  .homepage-pulse-stat {
    min-height: 110px;
    padding: 12px;
  }

  .homepage-pulse-stat strong {
    font-size: 1.5rem;
  }

  .homepage-pulse-stat-title {
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-pulse-kicker i::after {
    animation: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ÜST MENÜ — İZMİR ROTASI
   ───────────────────────────────────────────────────────────────────────────── */
.site-route-bar {
  height: 31px;
  background: linear-gradient(100deg, var(--ege-mavisi-hover), var(--ege-mavisi) 56%, #496bc2);
  color: #ffffff;
}

.site-route-bar-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-route-live {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-route-live > i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--begonvil);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15), 0 0 12px rgba(255, 164, 201, 0.55);
}

.site-route-live strong {
  color: #ffffff;
  font-weight: 850;
}

.site-route-bar-inner > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-route-bar-inner > a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #f4a2c1;
  text-underline-offset: 2px;
}

.site-route-bar-inner > a i {
  font-size: 0.7rem;
}

.site-header--route .header-inner {
  height: 73px;
}

@media (min-width: 1025px) {
  .site-header--route .header-nav {
    position: relative;
    align-self: stretch;
    gap: 0.1rem;
  }

  .site-header--route .header-nav::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: 3%;
    bottom: 10px;
    left: 3%;
    height: 1px;
    background: #dbe2f2;
  }

  .site-header--route .nav-link {
    position: relative;
    z-index: 1;
    align-self: stretch;
    justify-content: center;
    padding: 0.72rem 0.68rem 1.25rem;
    border-radius: 10px 10px 0 0;
    background: transparent;
    font-size: 0.84rem;
  }

  .site-header--route .nav-link::before {
    content: '';
    position: absolute;
    z-index: 2;
    right: 15px;
    bottom: 9px;
    left: 15px;
    height: 3px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--ege-mavisi), var(--begonvil));
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header--route .nav-link::after {
    content: '';
    position: absolute;
    z-index: 3;
    bottom: 7px;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #cbd5e1;
    transform: translateX(-50%);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .site-header--route .nav-link:hover,
  .site-header--route .nav-link.active {
    color: var(--ege-mavisi);
    background: transparent;
  }

  .site-header--route .nav-link:hover::before,
  .site-header--route .nav-link.active::before {
    opacity: 1;
    transform: scaleX(1);
  }

  .site-header--route .nav-link:hover::after,
  .site-header--route .nav-link.active::after {
    background: var(--begonvil);
    box-shadow: 0 0 0 3px rgba(218, 80, 134, 0.16);
  }
}

@media (max-width: 1024.98px) {
  .site-route-bar {
    display: none;
  }

  .site-header--route .header-inner {
    height: 72px;
  }
}

@media (max-width: 768px) {
  .site-header--route .header-inner {
    height: 66px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   KURSLAR HUB (/kurslar) — açık zeminde tür kartları, program panelleri, sayı şeridi.
   Anasayfa hero şeridinin category-icon-card bileşeni (beyaz yazı, şeffaf zemin)
   burada KULLANILMAZ: açık zeminde kartları görünmez yapıyordu.
   ───────────────────────────────────────────────────────────────────────────── */
.kurs-baslik-konum {
  color: var(--ege-mavisi);
  font-weight: 600;
}

.kurs-baslik-aciklama {
  max-width: 680px;
  margin-top: 0.5rem;
  color: var(--murekkep-muted);
  font-size: 1.05rem;
}

.kurs-sayilar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.kurs-sayilar li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.kurs-sayilar strong {
  color: var(--ege-mavisi);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.kurs-sayilar span {
  color: var(--murekkep-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.kurs-sayfa {
  padding-bottom: 4rem;
}

.kurs-bolum + .kurs-bolum {
  margin-top: 3rem;
}

.kurs-bolum-baslik {
  margin-bottom: 1.25rem;
}

.kurs-bolum-baslik h2 {
  color: var(--murekkep);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.kurs-bolum-baslik p {
  max-width: 680px;
  margin-top: 0.3rem;
  color: var(--murekkep-muted);
}

.kurs-tur-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 1rem;
}

.kurs-tur-kart {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--murekkep);
  text-decoration: none;
  transition: var(--transition);
}

.kurs-tur-kart:hover,
.kurs-tur-kart:focus-visible {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  color: var(--murekkep);
}

.kurs-tur-kart-ikon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--ege-mavisi-light);
  border-radius: var(--radius-sm);
  color: var(--ege-mavisi);
  font-size: 1.5rem;
  transition: var(--transition);
}

.kurs-tur-kart:hover .kurs-tur-kart-ikon,
.kurs-tur-kart:focus-visible .kurs-tur-kart-ikon {
  background: var(--ege-mavisi);
  color: #ffffff;
}

.kurs-tur-kart-metin {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.kurs-tur-kart-ad {
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.kurs-tur-kart-sayi {
  color: var(--murekkep-muted);
  font-size: 0.85rem;
}

.kurs-tur-kart-ok {
  color: var(--murekkep-light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.kurs-tur-kart:hover .kurs-tur-kart-ok,
.kurs-tur-kart:focus-visible .kurs-tur-kart-ok {
  color: var(--begonvil);
  transform: translateX(3px);
}

.kurs-program-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  align-items: start;
  gap: 1rem;
}

.kurs-program-grup {
  min-width: 0;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.kurs-program-grup-baslik {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: var(--murekkep);
  font-size: 1.05rem;
  font-weight: 800;
}

.kurs-program-grup-ikon {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--begonvil-light);
  border-radius: var(--radius-xs);
  color: var(--begonvil);
  font-size: 1.15rem;
}

.kurs-program-cipler {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kurs-program-cip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.45rem 0.4rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--murekkep);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.kurs-program-cip:hover,
.kurs-program-cip:focus-visible {
  background: var(--ege-mavisi-light);
  border-color: var(--ege-mavisi);
  color: var(--ege-mavisi);
}

.kurs-program-cip-sayi {
  min-width: 1.6rem;
  padding: 0.1rem 0.45rem;
  background: #ffffff;
  border-radius: var(--radius-pill);
  color: var(--murekkep-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.kurs-bos {
  margin-top: 2.5rem;
  padding: 4rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.kurs-bos i {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--murekkep-light);
  font-size: 3.5rem;
}

.kurs-bos h2 {
  margin-bottom: 0.5rem;
  color: var(--murekkep);
  font-size: 1.4rem;
  font-weight: 700;
}

.kurs-bos p {
  color: var(--murekkep-muted);
}

@media (max-width: 768px) {
  .kurs-sayilar li {
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.6rem 0.8rem;
  }

  .kurs-sayilar strong {
    font-size: 1.15rem;
  }

  .kurs-bolum + .kurs-bolum {
    margin-top: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kurs-tur-kart,
  .kurs-tur-kart-ikon,
  .kurs-tur-kart-ok,
  .kurs-program-cip {
    transition: none;
  }

  .kurs-tur-kart:hover,
  .kurs-tur-kart:focus-visible,
  .kurs-tur-kart:hover .kurs-tur-kart-ok {
    transform: none;
  }
}

/* Meslek Fabrikası: katalog ile merkezde listelenen başvurular ayrı okunur. */
.mf-bolum .kurs-bolum-baslik {display:flex;align-items:end;justify-content:space-between;gap:14px}
.mf-kaynak {display:inline-flex;align-items:center;gap:5px;color:var(--ege-mavisi);font-size:.78rem;font-weight:750;white-space:nowrap;text-decoration:none}
.mf-kaynak:hover {text-decoration:underline}
.mf-secenekler {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.mf-pano {min-width:0;border:1px solid var(--border-light);border-radius:14px;background:var(--bg-card,#fff);overflow:hidden}
.mf-pano>summary {display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:78px;padding:12px 15px;cursor:pointer;list-style:none;color:var(--murekkep)}
.mf-pano>summary::-webkit-details-marker,.mf-alt-pano>summary::-webkit-details-marker {display:none}
.mf-pano>summary>span:nth-child(2),.mf-alt-pano>summary>span {min-width:0}
.mf-pano strong,.mf-pano small,.mf-alt-pano strong,.mf-alt-pano small {display:block}
.mf-pano>summary strong {font-size:.94rem;line-height:1.25}
.mf-pano small {margin-top:3px;color:var(--murekkep-muted);font-size:.72rem}
.mf-pano-ikon {display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:var(--ege-mavisi-light);color:var(--ege-mavisi);font-size:22px}
.mf-pano>summary>i,.mf-alt-pano>summary>i {color:var(--ege-mavisi);transition:transform .2s ease}
.mf-pano[open]>summary>i,.mf-alt-pano[open]>summary>i {transform:rotate(180deg)}
.mf-pano[open]>summary {border-bottom:1px solid var(--border-light)}
.mf-pano-icerik {max-height:540px;overflow:auto;padding:5px 13px 12px}
.mf-alt-pano {border-bottom:1px solid var(--border-light)}
.mf-alt-pano:last-child {border-bottom:0}
.mf-alt-pano>summary {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:57px;padding:9px 3px;cursor:pointer;list-style:none;color:var(--murekkep)}
.mf-alt-pano>summary strong {font-size:.78rem;line-height:1.3}
.mf-alt-pano>summary small {font-size:.68rem}
.mf-kurs-listesi {margin:0 0 9px;padding:0;list-style:none}
.mf-kurs-listesi li {display:flex;align-items:start;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:8px;color:var(--murekkep);font-size:.74rem;line-height:1.4}
.mf-kurs-listesi li:nth-child(odd) {background:var(--bg-subtle)}
.mf-kurs-listesi li span {min-width:0;overflow-wrap:anywhere}
.mf-kurs-listesi a {flex:0 0 auto;color:var(--ege-mavisi);font-size:.7rem;font-weight:750;text-decoration:none;white-space:nowrap}
.mf-kurs-listesi a:hover {text-decoration:underline}
.mf-bos {padding:12px;color:var(--murekkep-muted);font-size:.8rem}
.mf-kontrol {margin:13px 0 0;color:var(--murekkep-muted);font-size:.72rem}
@media (max-width:760px) {
  .mf-secenekler {grid-template-columns:1fr}
  .mf-bolum .kurs-bolum-baslik {align-items:start}
  .mf-kaynak {margin-top:5px}
  .mf-pano-icerik {max-height:440px}
  .mf-kurs-listesi li {display:block}
  .mf-kurs-listesi a {display:inline-block;margin-top:5px}
}
@media (prefers-reduced-motion:reduce) {
  .mf-pano>summary>i,.mf-alt-pano>summary>i {transition:none}
}

/* ─────────────────────────────────────────────────────────────────────────────
   İÇERİK PAYLAŞIM DÜĞMELERİ (icerik_detay.php .paylas)
   Instagram ve "bağlantıyı kopyala" JS ile çalışır (main.js); bildirim role="status".
   Bildirim display:none ile gizlenmez: ekran okuyucu gizli canlı bölgeyi duyurmayabilir.
   ───────────────────────────────────────────────────────────────────────────── */
.paylas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.paylas-etiket {
  font-size: 0.8rem;
  font-weight: 600;
}

.paylas-btn {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.paylas-btn svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.paylas-btn:hover,
.paylas-btn:focus-visible {
  color: #ffffff;
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.paylas-btn--whatsapp { background: #25D366; }
.paylas-btn--x { background: #000000; }
.paylas-btn--facebook { background: #1877F2; }
.paylas-btn--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.paylas-btn--kopyala {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--murekkep);
}

.paylas-btn--kopyala:hover,
.paylas-btn--kopyala:focus-visible {
  background: var(--ege-mavisi-light);
  border-color: var(--ege-mavisi);
  color: var(--ege-mavisi);
  filter: none;
}

.paylas-bildirim {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 5;
  max-width: min(320px, 90vw);
  padding: 0.5rem 0.75rem;
  background: var(--murekkep);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.paylas-bildirim.gorunur {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .paylas-bildirim {
    right: auto;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paylas-btn,
  .paylas-bildirim {
    transition: none;
  }

  .paylas-btn:hover,
  .paylas-btn:focus-visible {
    transform: none;
  }
}

/* ==========================================================================
   Ana sayfa · "Kademene Göre Ara" bandı
   İlçe eğitim haritası bandının yerini aldı (anasayfa.php). Sol panel başlık +
   kademe seçici, sağ ızgara her kademe için yayımdaki kurum sayısını taşır.
   Renkler --sinif-renk paletiyle aynı aileden; her hücre kendi rengini
   --kademe-renk / --kademe-zemin ile satır içinden alır.
   ========================================================================== */

.okul-ara-section {
  padding: 0 0 1rem;
  background: transparent;
}

.okul-ara-card {
  display: grid;
  grid-template-columns: minmax(250px, 300px) 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.okul-ara-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.375rem;
  background: linear-gradient(165deg, var(--ege-mavisi-light), var(--bg-card) 78%);
  border-right: 1px solid var(--border-light);
}

.okul-ara-panel h2 {
  font-size: 1.4375rem;
  font-weight: 800;
  color: var(--ege-mavisi);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.375rem;
}

.okul-ara-ozet {
  font-size: 0.84375rem;
  color: var(--murekkep-muted);
  line-height: 1.5;
  margin: 0;
}

.okul-ara-ozet strong {
  color: var(--murekkep);
  font-weight: 800;
}

.okul-ara-ozet a {
  color: var(--ege-mavisi);
  font-weight: 700;
}

.okul-ara-ozet a:hover {
  text-decoration: underline;
}

.okul-ara-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.okul-ara-form select {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--murekkep);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
}

.okul-ara-form button {
  display: grid;
  place-items: center;
  width: 2.625rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ege-mavisi);
  color: #ffffff;
  font-size: 1.0625rem;
  cursor: pointer;
  transition: var(--transition);
}

.okul-ara-form button:hover {
  background: var(--ege-mavisi-hover);
}

/* Izgara: satırlar eşit bölünür, böylece panel daha uzunsa hücre çizgileri boşta kalmaz. */
.okul-ara-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

/* Üst çizgi ilk satırda kaldırılır: kademe sayısı 4'ün katı olmasa da doğru çalışır. */
.okul-ara-cell {
  position: relative;
  display: block;
  padding: 0.9375rem 1rem;
  border-right: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  transition: var(--transition);
}

.okul-ara-cell:nth-child(4n) {
  border-right: 0;
}

.okul-ara-cell:nth-child(-n+4) {
  border-top: 0;
}

.okul-ara-cell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--kademe-renk);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.okul-ara-cell:hover {
  background: var(--kademe-zemin);
}

.okul-ara-cell:hover::after {
  transform: scaleX(1);
}

.okul-ara-cell-ad {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.okul-ara-cell-ad i {
  flex: none;
  color: var(--kademe-renk);
  font-size: 1.0625rem;
}

.okul-ara-cell-ad span {
  min-width: 0;
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--murekkep);
  overflow-wrap: anywhere;
}

.okul-ara-cell-sayi {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-top: 0.4375rem;
}

.okul-ara-cell-sayi b {
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--kademe-renk);
  line-height: 1;
  letter-spacing: -0.02em;
}

.okul-ara-cell-sayi em {
  font-size: 0.6875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--murekkep-light);
}

@media (max-width: 900px) {
  .okul-ara-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .okul-ara-panel {
    border-right: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .okul-ara-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .okul-ara-cell:nth-child(4n) {
    border-right: 1px solid var(--border-light);
  }

  .okul-ara-cell:nth-child(2n) {
    border-right: 0;
  }

  .okul-ara-cell:nth-child(-n+4) {
    border-top: 1px solid var(--border-light);
  }

  .okul-ara-cell:nth-child(-n+2) {
    border-top: 0;
  }
}

@media (max-width: 576px) {
  .okul-ara-section {
    padding-bottom: 0.75rem;
  }

  .okul-ara-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .okul-ara-cell {
    border-right: 0;
    border-top: 1px solid var(--border-light);
  }

  .okul-ara-cell:first-child {
    border-top: 0;
  }
}

/* ==========================================================================
   Anasayfa: İlçelere Göre Eğitim Kurumları
   30 ilçe sayfasına taranabilir bağlantı kümesi; Kademene Göre Ara bandının jetonlarını kullanır.
   ========================================================================== */

.ilce-baglantilari-section {
  padding: 1.5rem 0;
}

.ilce-baglantilari-kart {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.375rem;
}

.ilce-baglantilari-ust h2 {
  font-size: 1.4375rem;
  font-weight: 800;
  color: var(--ege-mavisi);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.375rem;
}

.ilce-baglantilari-ust p {
  font-size: 0.84375rem;
  color: var(--murekkep-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.ilce-baglantilari-ust a {
  color: var(--ege-mavisi);
  font-weight: 700;
}

.ilce-baglantilari-ust a:hover {
  text-decoration: underline;
}

.ilce-baglantilari-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.ilce-baglanti {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--murekkep);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.ilce-baglanti span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ilce-baglanti b {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--murekkep-muted);
  font-variant-numeric: tabular-nums;
}

.ilce-baglanti:hover {
  border-color: var(--ege-mavisi);
  background: var(--ege-mavisi-light);
  color: var(--ege-mavisi);
}

.ilce-baglanti:hover b {
  color: var(--ege-mavisi);
}

@media (max-width: 992px) {
  .ilce-baglantilari-liste {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .ilce-baglantilari-liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   ANASAYFA HERO — İZMİR'İN EĞİTİM GÜNDEMİ (Manşet)
   Tasarım: docs/superpowers/specs/2026-09-15-anasayfa-gundem-hero-design.md
   Hiza kuralı: iki sütun her zaman aynı çizgide biter. Grid satırı en uzun sütuna göre açılır; kısa kalan
   sütunda esneyen tek parça manşet görselidir (görsel mutlak konumlu, kendi oranıyla yükseklik dayatmaz).
   Sağda kurum/blog yoksa ajanda kutusu esner.
   ========================================================================== */

.gundem-kart {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.375rem;
}

.gundem-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.125rem;
  flex-wrap: wrap;
  margin-bottom: 1.125rem;
}

.gundem-kimlik {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-width: 0;
}

.gundem-kimlik h1 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--murekkep);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.gundem-tarih {
  color: var(--murekkep-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.gundem-canli {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #2f9e44;
  font-size: 0.8125rem;
  font-weight: 700;
}

.gundem-canli::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e44;
  box-shadow: 0 0 0 4px rgba(47, 158, 68, 0.15);
}

.gundem-canli:hover {
  text-decoration: underline;
}

.gundem-ara {
  flex: 0 1 460px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.375rem 0.375rem 0.375rem 1.125rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gundem-ara:focus-within {
  border-color: var(--ege-mavisi);
  box-shadow: 0 0 0 3px var(--ege-mavisi-subtle);
}

.gundem-ara > i {
  color: var(--murekkep-light);
  font-size: 1.1875rem;
}

.gundem-ara input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--murekkep);
  background: transparent;
  padding: 0.5rem 0;
}

.gundem-ara button {
  border: 0;
  background: var(--ege-mavisi);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.gundem-ara button:hover {
  background: var(--ege-mavisi-hover);
}

.gundem-izgara {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.25rem;
  align-items: stretch;
}

.gundem-sol,
.gundem-sag {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}

.gundem-etiket {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
}

.gundem-etiket--haber { background: var(--ege-mavisi); }
.gundem-etiket--blog { background: var(--begonvil); }
.gundem-etiket--kurum { background: #0b7285; }
.gundem-etiket--sponsor { background: var(--murekkep-muted); }

.gundem-carousel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
  min-height: 0;
}

.gundem-manset-sahne {
  position: relative;
  flex: 1 1 auto;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}

.gundem-manset {
  position: absolute;
  inset: 0;
  display: flex;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(1.25rem);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.gundem-manset.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.gundem-manset img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gundem-manset:hover img {
  transform: scale(1.03);
}

.gundem-oynat-durdur {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(23, 27, 51, 0.68);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.gundem-oynat-durdur:hover,
.gundem-oynat-durdur:focus-visible {
  background: var(--begonvil);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.gundem-golge {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 40, 0) 35%, rgba(10, 18, 40, 0.82) 100%);
}

.gundem-manset-metin {
  position: relative;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.375rem 1.5rem;
  color: #ffffff;
}

.gundem-manset-metin strong {
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.gundem-manset-metin small {
  font-size: 0.84375rem;
  font-weight: 600;
  opacity: 0.88;
}

.gundem-haberler {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.625rem;
}

.gundem-haber,
.gundem-kurum,
.gundem-blog {
  display: grid;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.gundem-haber {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4375rem;
  min-width: 0;
  padding: 0.3125rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gundem-haber:hover {
  background: var(--bg-subtle);
}

.gundem-haber.is-active {
  border-color: var(--begonvil);
  background: var(--begonvil-light);
  box-shadow: 0 0 0 2px var(--begonvil-subtle);
}

.gundem-haber:focus-visible {
  outline: 2px solid var(--ege-mavisi);
  outline-offset: 2px;
}

.gundem-kucuk-kapak {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--murekkep-light);
  font-size: 1.5rem;
}

.gundem-kucuk-kapak img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gundem-haber .gundem-kucuk-kapak {
  width: 100%;
  height: 58px;
  border-radius: 8px;
}

.gundem-haber strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--murekkep);
  font-weight: 700;
}

.gundem-thumb-tur {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.625rem;
  color: var(--begonvil-hover);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gundem-haber:hover strong {
  color: var(--ege-mavisi);
}

.gundem-ajanda {
  flex: 1 1 auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem 0.375rem;
}

.gundem-ajanda-bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  margin-bottom: 0.375rem;
}

.gundem-ajanda-bas h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--murekkep);
}

.gundem-ajanda-bas h2 i {
  color: #e8590c;
}

.gundem-ajanda-bas a {
  color: var(--ege-mavisi);
  font-weight: 700;
  font-size: 0.84375rem;
  white-space: nowrap;
}

.gundem-ajanda-bas a:hover {
  text-decoration: underline;
}

.gundem-etkinlik {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border-light);
  text-decoration: none;
}

.gundem-etkinlik:first-of-type {
  border-top: 0;
}

.gundem-etkinlik > span:last-child {
  min-width: 0;
}

.gundem-etkinlik strong,
.gundem-etkinlik small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gundem-etkinlik strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--murekkep);
}

.gundem-etkinlik small {
  margin-top: 0.1875rem;
  font-size: 0.78125rem;
  color: var(--murekkep-muted);
}

.gundem-etkinlik:hover strong {
  color: #c4480a;
}

.gundem-gun {
  flex: 0 0 auto;
  width: 50px;
  padding: 0.375rem 0 0.3125rem;
  border-radius: 12px;
  background: #fff3ec;
  color: #c4480a;
  text-align: center;
  line-height: 1;
}

.gundem-gun b {
  display: block;
  font-size: 1.1875rem;
  font-weight: 800;
}

.gundem-gun em {
  display: block;
  margin-top: 0.1875rem;
  font-style: normal;
  font-size: 0.65625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gundem-gun--bugun {
  background: #e8590c;
  color: #ffffff;
}

.gundem-bos {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.84375rem;
  color: var(--murekkep-muted);
}

.gundem-kurum,
.gundem-blog {
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 0.625rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.gundem-kurum { background: #e7f5f7; }
.gundem-blog { background: var(--begonvil-light); }

.gundem-kurum:hover,
.gundem-blog:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.gundem-kurum .gundem-kucuk-kapak,
.gundem-blog .gundem-kucuk-kapak {
  width: 96px;
  height: 76px;
  border-radius: 12px;
}

.gundem-kurum strong,
.gundem-blog strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.375rem 0 0.25rem;
  font-size: 0.90625rem;
  line-height: 1.3;
  color: var(--murekkep);
  font-weight: 800;
}

.gundem-kurum small,
.gundem-blog small {
  display: block;
  font-size: 0.78125rem;
  color: var(--murekkep-muted);
  font-weight: 600;
}

@media (max-width: 960px) {
  .gundem-izgara {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Tek sütunda eşitlenecek komşu yok: manşet sabit orana döner. */
  .gundem-manset-sahne {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .gundem-kart {
    padding: 0.875rem;
  }

  .gundem-ara {
    flex-basis: 100%;
  }

  .gundem-haberler {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gundem-manset-sahne {
    aspect-ratio: 4 / 3.2;
  }

  .gundem-haber .gundem-kucuk-kapak {
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gundem-manset {
    transform: none;
    transition: none;
  }
}

/* Atlas üst menüsü: arama ve tema tek bir yerde, sayfa gövdesinde yinelenmez. */
:is(.atlas-home-page,.atlas-inner-page) .header-inner {gap:12px}
:is(.atlas-home-page,.atlas-inner-page) .header-actions {gap:8px}
:is(.atlas-home-page,.atlas-inner-page) .header-quick-search {
  display:flex;
  align-items:center;
  gap:7px;
  width:clamp(180px,18vw,260px);
  height:42px;
  padding:4px 5px 4px 12px;
  border:1px solid var(--atlas-line);
  border-radius:999px;
  background:var(--atlas-soft);
  color:var(--atlas-ink,var(--murekkep));
}
:is(.atlas-home-page,.atlas-inner-page) .header-quick-search>svg,
:is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle svg,
:is(.atlas-home-page,.atlas-inner-page) .header-auth-btn svg,
:is(.atlas-home-page,.atlas-inner-page) .mobile-menu-btn svg {
  display:block;
  flex:none;
  width:19px;
  height:19px;
}
:is(.atlas-home-page,.atlas-inner-page) .header-quick-search input {
  flex:1;
  width:100%;
  min-width:0;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  color:inherit;
  font:500 12px Manrope,Arial,sans-serif;
}
:is(.atlas-home-page,.atlas-inner-page) .header-quick-search input::placeholder {color:var(--atlas-muted,var(--murekkep-muted));opacity:1}
:is(.atlas-home-page,.atlas-inner-page) .header-quick-search:focus-within {outline:2px solid #da5086;outline-offset:2px}
:is(.atlas-home-page,.atlas-inner-page) .header-quick-search button {
  display:grid;
  place-items:center;
  flex:none;
  width:32px;
  height:32px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#304fa9;
  color:#fff;
  font-size:17px;
  cursor:pointer;
}
:is(.atlas-home-page,.atlas-inner-page) .header-compact-search {display:none}
:is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle {
  display:grid;
  place-items:center;
  flex:none;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid var(--atlas-line);
  border-radius:50%;
  background:var(--atlas-soft);
  color:var(--atlas-ink,var(--murekkep));
  cursor:pointer;
}
:is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle:hover {border-color:#304fa9}
:is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle:focus-visible {outline:3px solid #da5086;outline-offset:2px}
:is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle .header-theme-sun {display:none}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle .header-theme-moon {display:none}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle .header-theme-sun {display:block}
html[data-atlas-theme=dark] :is(.atlas-home-page,.atlas-inner-page) .header-quick-search button {background:#4765c7}
:is(.atlas-home-page,.atlas-inner-page) .header-auth-btn svg {width:17px;height:17px}
@media(max-width:1399.98px) and (min-width:1121px){
  :is(.atlas-home-page,.atlas-inner-page) .header-brand {max-width:220px}
  :is(.atlas-home-page,.atlas-inner-page) .header-nav {gap:0}
  :is(.atlas-home-page,.atlas-inner-page) .nav-link {padding-inline:.5rem;font-size:.84rem}
  :is(.atlas-home-page,.atlas-inner-page) .header-quick-search {width:180px}
  :is(.atlas-home-page,.atlas-inner-page) .header-auth-btn {padding-inline:.7rem;font-size:.78rem}
}
@media(max-width:1120px){
  :is(.atlas-home-page,.atlas-inner-page) .header-nav {display:none}
  :is(.atlas-home-page,.atlas-inner-page) .mobile-menu-btn {display:inline-flex}
}
@media(max-width:760px){
  :is(.atlas-home-page,.atlas-inner-page) .header-quick-search {display:none}
  :is(.atlas-home-page,.atlas-inner-page) .header-compact-search {display:flex}
}
@media(max-width:576px){
  :is(.atlas-home-page,.atlas-inner-page) .header-brand {max-width:calc(100% - 178px)}
  :is(.atlas-home-page,.atlas-inner-page) .header-actions {gap:5px}
  :is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle {width:36px;height:36px}
  :is(.atlas-home-page,.atlas-inner-page) .header-auth-btn svg,
  :is(.atlas-home-page,.atlas-inner-page) .mobile-menu-btn svg {width:18px;height:18px}
}
@media(max-width:375px){
  :is(.atlas-home-page,.atlas-inner-page) .header-brand {max-width:calc(100% - 164px)}
  :is(.atlas-home-page,.atlas-inner-page) .header-actions {gap:4px}
  :is(.atlas-home-page,.atlas-inner-page) .header-theme-toggle {width:34px;height:34px}
}
