:root {
  --eko-navy: #0d2545;
  --eko-orange: #e07820;
  --eko-line: #dde3ed;
  --eko-text: #1e2a3a;
  --eko-muted: #6b7a92;
  --eko-white: #fff;
}

.eko-header, .eko-header * { box-sizing: border-box; }
.eko-header { display: block; padding: 0; }
.eko-header .eko-nav { position: static; height: auto; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.eko-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: 72px; background: rgba(13,37,69,.98); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); font-family: "Source Sans 3", Inter, system-ui, sans-serif; }
.eko-header-inner { width: min(1180px, calc(100% - 48px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.eko-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #fff; text-decoration: none; }
.eko-brand-mark { position: relative; width: 48px; height: 38px; overflow: hidden; flex: 0 0 auto; }
.eko-brand-mark img { position: absolute; left: -1px; top: 0; width: 132px; max-width: none; height: auto; filter: brightness(0) invert(1); }
.eko-brand-text { font-family: "Lora", Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; letter-spacing: .06em; white-space: nowrap; }
.eko-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; }
.eko-nav-group { position: relative; }
.eko-nav-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.eko-nav-link, .eko-nav-trigger { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 11px; border-radius: 8px; color: rgba(255,255,255,.78); background: transparent; border: 0; font: 600 14px/1 "Source Sans 3", Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.eko-nav-link:hover, .eko-nav-trigger:hover, .eko-nav-group:hover .eko-nav-trigger { color: #fff; background: rgba(255,255,255,.08); }
.eko-nav-arrow { color: var(--eko-orange); font-size: 11px; }
.eko-menu { position: absolute; top: calc(100% + 5px); left: 0; min-width: 166px; padding: 4px; border: 1px solid rgba(13,37,69,.12); border-top: 2px solid var(--eko-orange); border-radius: 8px; background: #fff; box-shadow: 0 14px 28px rgba(13,37,69,.13); opacity: 0; visibility: hidden; transform: translateY(-2px); transition: opacity .12s, transform .12s, visibility .12s; }
.eko-nav-group:hover .eko-menu, .eko-nav-group:focus-within .eko-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.eko-menu a { display: block; padding: 7px 10px; border-radius: 6px; color: #3a4558; text-decoration: none; font-size: 12.5px; font-weight: 600; white-space: nowrap; line-height: 1.2; }
.eko-menu a:hover { color: var(--eko-navy); background: #f0f4fa; }
.eko-lang-switch { margin-left: 34px; display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.07); }
.eko-lang-item { min-width: 34px; height: 28px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.68); font: 650 12px/1 "Source Sans 3", Inter, system-ui, sans-serif; letter-spacing: .04em; cursor: pointer; }
.eko-lang-item:hover { color: #fff; background: rgba(255,255,255,.10); }
.eko-lang-item.active { color: #0d2545; background: #fff; }
.eko-mobile-toggle { display: none; }
.eko-mobile-panel { display: none; }

/* Ortak masaüstü menü: logo solda, başlıklar ortada, dil seçimi sağda. */
.eko-header-inner {
  display: grid;
  grid-template-columns: minmax(190px,1fr) auto minmax(190px,1fr);
  gap: 24px;
}
.eko-brand { justify-self: start; }
.eko-nav { justify-self: center; flex: none; gap: 2px; }
.eko-lang-switch { justify-self: end; margin-left: 0; }
.eko-nav-link, .eko-nav-trigger {
  position: relative;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
}
.eko-nav-link::after, .eko-nav-trigger::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--eko-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.eko-nav-link.active, .eko-nav-trigger.active { color: #fff; }
.eko-nav-link.active::after, .eko-nav-trigger.active::after { transform: scaleX(1); }
.eko-nav-arrow {
  width: 8px;
  height: 8px;
  overflow: hidden;
  color: transparent;
  border-right: 1.7px solid rgba(255,255,255,.72);
  border-bottom: 1.7px solid rgba(255,255,255,.72);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.eko-nav-group:hover .eko-nav-arrow,
.eko-nav-group:focus-within .eko-nav-arrow {
  transform: rotate(225deg) translate(-1px,-1px);
}
.eko-menu {
  top: calc(100% + 8px);
  min-width: 248px;
  padding: 8px;
  border: 1px solid var(--eko-line);
  border-top: 1px solid var(--eko-line);
  border-radius: 13px;
  box-shadow: 0 24px 52px rgba(5,18,36,.24);
  transform: translateY(7px);
}
.eko-menu::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--eko-orange);
}
.eko-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.25;
}
.eko-menu a.active { color: #b85b0f; background: #fff4e9; }
@media (max-width: 1080px) {
  .eko-header-inner {
    width: min(1180px, calc(100% - 32px));
    grid-template-columns: minmax(160px,1fr) auto minmax(110px,1fr);
    gap: 12px;
  }
  .eko-brand-text { display: none; }
  .eko-nav-link, .eko-nav-trigger { padding-inline: 9px; font-size: 13.5px; }
  .eko-nav-link::after, .eko-nav-trigger::after { left: 9px; right: 9px; }
}
body.eko-blank { background: #f4f6f9; padding-top: 72px; }
body.eko-offset { padding-top: 72px; }
.eko-blank-main { min-height: calc(100vh - 72px); display: grid; place-items: center; color: #8a96a8; font: 600 14px/1.5 "Source Sans 3", Inter, system-ui, sans-serif; }
.eko-blank-box { width: min(560px, calc(100% - 48px)); min-height: 220px; border: 1px dashed #cbd5e1; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.72); }
@media (max-width: 760px) {
  body.eko-blank, body.eko-offset { padding-top: 66px; }
  .eko-header { height: 66px; }
  .eko-header-inner { width: calc(100% - 28px); display: flex; gap: 14px; }
  .eko-brand-mark { width: 54px; height: 42px; }
  .eko-brand-mark img { width: 146px; }
  .eko-brand-text { font-size: 17px; }
  .eko-nav { display: none; }
  .eko-lang-switch { display: none; }
  .eko-mobile-toggle {
    display: inline-flex;
    width: 42px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    cursor: pointer;
  }
  .eko-mobile-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .18s, opacity .18s;
  }
  .eko-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .eko-mobile-toggle.open span:nth-child(2) { opacity: 0; }
  .eko-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .eko-mobile-panel {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    top: 72px;
    z-index: 1001;
    padding: 10px;
    border: 1px solid rgba(13,37,69,.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 46px rgba(13,37,69,.24);
  }
  .eko-mobile-panel.open { display: block; }
  /* Akordeon ana başlık — BÜYÜK HARF */
  .eko-msec {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 13px; cursor: pointer; user-select: none;
    border-radius: 8px;
    color: #0d2545;
    font: 700 13px/1.2 "Source Sans 3", system-ui, sans-serif;
    letter-spacing: .06em; text-transform: uppercase;
  }
  .eko-msec:hover { background: #f0f4fa; }
  .eko-msec-arrow { font-size: 12px; color: #68788d; transition: transform .2s; }
  .eko-msec.open .eko-msec-arrow { transform: rotate(180deg); }
  /* Alt başlıklar — normal yazım, girintili; başlangıçta kapalı */
  .eko-msec-items { display: none; padding: 2px 0 6px; }
  .eko-msec-items.open { display: block; }
  .eko-msec-items a {
    display: block;
    padding: 10px 13px 10px 26px;
    border-radius: 8px;
    color: #3a4558; text-decoration: none;
    font: 500 14px/1.2 "Source Sans 3", system-ui, sans-serif;
  }
  .eko-msec-items a:hover { background: #f0f4fa; color: #0d2545; }
  /* Alt başlığı olmayan tek link (Videolar, Etkinlikler, Akademi, Enstitü) — BÜYÜK HARF */
  .eko-msingle {
    display: block;
    padding: 12px 13px; border-radius: 8px;
    color: #0d2545; text-decoration: none;
    font: 700 13px/1.2 "Source Sans 3", system-ui, sans-serif;
    letter-spacing: .06em; text-transform: uppercase;
  }
  .eko-msingle:hover { background: #f0f4fa; }
  .eko-mobile-lang {
    display: inline-flex;
    width: max-content;
    gap: 5px;
    margin: 8px 0 2px 4px;
    padding: 3px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #f4f8fc;
  }
  .eko-mobile-lang .eko-lang-item { color: #526983; }
  .eko-mobile-lang .eko-lang-item.active { color: #fff; background: #0d2545; }
}


/* Ekopolitik publication pages: selected light blue Lora banner */
.page-header.eko-publication-hero,
.sim-page-header.eko-publication-hero {
  margin-top: 72px !important;
  min-height: 110px !important;
  padding: 18px 0 !important;
  background: linear-gradient(120deg, #dcecff 0%, #c9def4 38%, #b7d3ed 68%, #d8eaff 100%) !important;
  background-size: 220% 220% !important;
  border-top: 1px solid rgba(13,37,69,.08) !important;
  border-bottom: 1px solid #b9d2ee !important;
  box-shadow: 0 10px 24px rgba(13,37,69,.07) !important;
  overflow: hidden;
  position: relative;
  animation: ekoPublicationHeroFlow 14s ease-in-out infinite;
}
.page-header.eko-publication-hero::after,
.sim-page-header.eko-publication-hero::after {
  content: none;
}
@keyframes ekoPublicationHeroFlow {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-header.eko-publication-hero,
  .sim-page-header.eko-publication-hero { animation: none; }
}
.page-header.eko-publication-hero .page-header-inner {
  position: relative;
  z-index: 1;
  min-height: 74px;
  align-items: center !important;
}
.page-header.eko-publication-hero .breadcrumb,
.page-header.eko-publication-hero .breadcrumb a,
.page-header.eko-publication-hero .breadcrumb strong,
.page-header.eko-publication-hero .breadcrumb .sep {
  color: #526983 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.page-header.eko-publication-hero h1 {
  margin: 0 !important;
  color: #0d2545 !important;
  font-family: "Lora", Georgia, serif !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
.page-header.eko-publication-hero .ph-sub,
.page-header.eko-publication-hero .page-header-sub {
  margin-top: 5px !important;
  color: #35516d !important;
  font-family: "Source Sans 3", system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}
.page-header.eko-publication-hero .ph-actions,
.page-header.eko-publication-hero .view-toggle,
.page-header.eko-publication-hero .ph-col-toggle {
  position: relative;
  z-index: 1;
}
.page-header.eko-publication-hero .btn-ph,
.page-header.eko-publication-hero .info-btn,
.page-header.eko-publication-hero .ph-grafik-btn,
.page-header.eko-publication-hero .ph-actions > button,
.page-header.eko-publication-hero .ph-actions > a {
  background: rgba(255,255,255,.34) !important;
  border-color: rgba(13,37,69,.18) !important;
  color: #0d2545 !important;
  font-weight: 500 !important;
}
.page-header.eko-publication-hero .btn-ph:hover,
.page-header.eko-publication-hero .info-btn:hover,
.page-header.eko-publication-hero .ph-grafik-btn:hover,
.page-header.eko-publication-hero .ph-actions > button:hover,
.page-header.eko-publication-hero .ph-actions > a:hover {
  background: rgba(255,255,255,.58) !important;
}
.page-header.eko-publication-hero .view-toggle,
.page-header.eko-publication-hero .ph-col-toggle {
  background: rgba(255,255,255,.32) !important;
  border-color: rgba(13,37,69,.16) !important;
}
.page-header.eko-publication-hero .vb,
.page-header.eko-publication-hero .ph-col-btn,
.page-header.eko-publication-hero .ph-col-label,
.page-header.eko-publication-hero .col-toggle-label {
  color: #35516d !important;
  font-weight: 500 !important;
}
.page-header.eko-publication-hero .vb.on,
.page-header.eko-publication-hero .vb:hover,
.page-header.eko-publication-hero .ph-col-btn.active,
.page-header.eko-publication-hero .ph-col-btn:hover {
  background: rgba(13,37,69,.10) !important;
  color: #0d2545 !important;
}
.page-header.eko-publication-hero .ph-action-divider {
  background: rgba(13,37,69,.16) !important;
}
.eko-footer-shell {
  background: #0d2545;
  color: rgba(255,255,255,.66);
  font-family: "Source Sans 3", system-ui, sans-serif;
}
.eko-footer-shell .ft-main { max-width: 1180px; margin: 0 auto; padding: 38px 40px 22px; }
.eko-footer-shell .ft-grid { display: grid; grid-template-columns: minmax(260px,1.25fr) repeat(3,minmax(140px,1fr)); gap: 38px; }
.eko-footer-shell .ft-logo { font-family: "Lora", Georgia, serif; font-size: 24px; line-height: 1.1; color: #fff; font-weight: 400; }
.eko-footer-shell .ft-tagline { margin-top: 9px; max-width: 310px; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.45; }
.eko-footer-shell .ft-col-title { margin-bottom: 10px; color: #e07820; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eko-footer-shell .ft-col a { display: block; margin: 0 0 7px; color: rgba(255,255,255,.62); text-decoration: none; font-size: 14px; line-height: 1.25; }
.eko-footer-shell .ft-col a:hover { color: #fff; }
.eko-footer-shell .ft-divider { border: 0; border-top: 1px solid rgba(255,255,255,.10); margin: 28px 0 14px; }
.eko-footer-shell .ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.42); font-size: 12px; }
.eko-footer-shell .ft-bottom a { color: rgba(255,255,255,.48); text-decoration: none; }
.eko-footer-shell .ft-bottom a:hover { color: #fff; }
.eko-footer-shell .ft-bottom-links { display: flex; gap: 12px; }
.eko-footer-shell .ft-mobile-bar { display: none; }
@media (max-width: 900px) {
  .eko-footer-shell .ft-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .page-header.eko-publication-hero { display: none !important; }
  .mob-page-title {
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, #dcecff 0%, #c9def4 52%, #b7d3ed 100%) !important;
    border-bottom: 1px solid #b9d2ee !important;
    margin-top: 66px !important;
    padding: 14px 18px !important;
    min-height: 58px !important;
    box-shadow: 0 8px 20px rgba(13,37,69,.06) !important;
  }
  .mob-page-title h1 {
    color: #0d2545 !important;
    font-family: "Lora", Georgia, serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }
  .eko-footer-shell .ft-main { padding: 12px 16px calc(12px + env(safe-area-inset-bottom,0px)); }
  .eko-footer-shell .ft-grid,
  .eko-footer-shell .ft-divider,
  .eko-footer-shell .ft-bottom { display: none !important; }
  .eko-footer-shell .ft-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: #e6edf5;
    font-size: 11.5px;
    line-height: 1.25;
    text-align: center;
  }
}
