/* ==========================================================
   Gençlik Çalışmaları Derneği - Public site styles
   Marka: Poppins (başlık) + Inter (metin), logo renkleri
   ========================================================== */

/* ---- Fonts ---- */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/poppins-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/poppins-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---- Design tokens ---- */
/* ---------------------------------------------------------------
   esc.org.tr renk paleti

   Renkler tahmin edilmedi, logodan piksel piksel okundu:
   Avrupa-Birligi-ESC-Programi-esc.org.tr-logo-2025.png

   --esc-blue     #0C4DA2  AB bayragi mavisi, "AVRUPA" yazisi
   --esc-magenta  #A61F7D  "DAYANISMA" moru
   --esc-cyan     #00A0E3  "PROGRAMI" mavisi, dernek logosu
   --esc-yellow   #FFED00  dernek logosu, cok az kullanilir
   --esc-red      #E31E24  dernek logosu, sadece hata durumlari
   --esc-gray     #727270  dernek logosu, ikincil metin

   ERISILEBILIRLIK UYARISI
   --esc-cyan beyaz zeminde 2.8:1 kontrast verir. Metin rengi olarak
   KULLANILMAZ, sadece ikon ve dolgu olarak kullanilir.
   --esc-blue beyaz zeminde 7.4:1 verir, WCAG AAA.
   --------------------------------------------------------------- */
:root {
  --esc-blue:       #0C4DA2;
  --esc-blue-dark:  #083A7C;
  --esc-magenta:    #A61F7D;
  --esc-cyan:       #00A0E3;
  --esc-yellow:     #FFED00;
  --esc-red:        #E31E24;
  --esc-gray:       #727270;

  /* Eski youth.org.tr degisken adlari, kod tabaninin geri kalani bunlari
     kullaniyor. ESC renklerine baglandilar, tek tek elden gecirmek yerine. */
  --brand-blue:       var(--esc-cyan);
  --brand-blue-dark:  var(--esc-blue);
  --brand-yellow:     var(--esc-yellow);
  --brand-red:        var(--esc-red);
  --brand-gray:       var(--esc-gray);

  --ink:          #2B2A29;
  --ink-soft:     #5A6478;
  --bg:           #F4F7FB;
  --surface:      #FFFFFF;
  --border:       #E3E8F0;
  --radius:       12px;
  --maxw:         1140px;
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}
/* Icerik kisa olsa bile footer'i ekranin en altina iter (sticky footer) */
main { flex: 1 0 auto; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
.section { padding: 2.5rem 0; }
.muted { color: var(--ink-soft); }

/* ---- Header ---- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; gap: 1rem;
}
.site-logo img { height: 58px; width: auto; display: block; }
.nav-desktop { display: flex; align-items: center; gap: 1.25rem; }
.nav-desktop a { color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav-desktop a:hover { color: var(--brand-blue); text-decoration: none; }
.lang-switch { display: flex; gap: .25rem; align-items: center; font-size: .85rem; }
.lang-switch a { padding: .15rem .5rem; border-radius: 6px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .3rem; }
.lang-switch a svg { display: block; }
.lang-switch a.active { background: var(--brand-blue); color: #fff; }

/* ---- Top-bar'a tasinan dil switcher: mavi zemine uygun renkler ---- */
.lang-switch-top a { color: rgba(255,255,255,.85); }
.lang-switch-top a:hover { color: #fff; text-decoration: none; }
.lang-switch-top a.active { background: rgba(255,255,255,.2); color: #fff; }
.top-bar-right .lang-switch-top a {
  width: auto; height: auto; border-radius: 6px; padding: .15rem .5rem;
  gap: .3rem; font-size: .85rem;
}

/* ---- Arama ikonu ve pop-up ---- */
.search-toggle {
  background: none; border: 0; color: #fff; font-size: 17px; cursor: pointer;
  padding: .3rem .5rem; display: inline-flex; align-items: center; opacity: .9;
  border-radius: 6px; transition: background .15s, opacity .15s;
}
.search-toggle:hover { background: rgba(255,255,255,.18); opacity: 1; }
.site-search-popup {
  position: fixed; inset: 0; background: rgba(20,20,18,.45); z-index: 500;
  display: none; align-items: flex-start; justify-content: center; padding-top: 14vh;
}
.site-search-popup.open { display: flex; }
.site-search-popup-inner {
  background: #fff; border-radius: 14px; padding: 1.5rem; width: 100%; max-width: 560px;
  margin: 0 1rem; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.site-search-popup-inner form { display: flex; gap: .6rem; }
.site-search-popup-inner input[type="search"] {
  flex: 1; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 10px; font-size: 1rem;
}
.site-search-popup-inner input[type="search"]:focus {
  outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(59,184,232,.15);
}
.site-search-popup-inner button[type="submit"] {
  padding: .75rem 1.2rem; background: var(--brand-blue); color: #fff; border: 0; border-radius: 10px; cursor: pointer;
}
.site-search-popup-close {
  position: absolute; top: -14px; right: -14px; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.search-page-form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto 1.5rem; }
.search-page-form button { padding: .7rem 1.2rem; }
.search-page-form-full { max-width: none; width: 100%; margin: 0 0 1.5rem; }
.search-page-form-full input[type="search"] { flex: 1; }
@media (max-width: 420px) {
  .search-page-form { flex-wrap: wrap; }
  .search-page-form input[type="search"] { flex: 1 1 100%; }
  .search-page-form button { flex: 1 1 100%; }
}

/* ---- Anasayfa: belirgin arama vurgu kutusu ---- */
.search-highlight-box {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #EAF4FB 0%, var(--bg) 100%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem 2.5rem;
}
.search-highlight-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--brand-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0;
}
.search-highlight-text { flex: 1 1 260px; }
.search-highlight-box .search-page-form { margin: 0; flex: 1 1 340px; max-width: 420px; align-items: stretch; }
.search-highlight-box .search-page-form input[type="search"] { padding: 0 1.2rem; font-size: 1rem; height: 52px; box-sizing: border-box; }
.search-highlight-box .search-page-form button { padding: 0 1.4rem; font-size: 1.15rem; height: 52px; box-sizing: border-box; }
@media (max-width: 720px) {
  .search-highlight-box { flex-direction: column; align-items: stretch; text-align: center; padding: 1.5rem 1.25rem; gap: .9rem; }
  .search-highlight-icon { margin: 0 auto; width: 48px; height: 48px; font-size: 22px; }
  .search-highlight-text { flex: 0 0 auto; }
  .search-highlight-box .search-page-form { max-width: 100%; flex: 0 0 auto; }
}
@media (max-width: 420px) {
  /* Vurgu kutusundaki form her zaman yan yana kalsin, alt alta dev buton olusmasin */
  .search-highlight-box .search-page-form { flex-wrap: nowrap; }
  .search-highlight-box .search-page-form input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 0 .9rem; font-size: .95rem; height: 46px; }
  .search-highlight-box .search-page-form button { flex: 0 0 auto; padding: 0 1rem; font-size: 1rem; height: 46px; }
}

/* ---- Kart/satirlarda "Detaylar" butonu ---- */
.card-detail-btn { flex-shrink: 0; }
.card-status-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* ---- Basa don butonu ---- */
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-blue); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, visibility .2s, transform .2s, background .15s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--esc-blue); }
@media (max-width: 640px) {
  .back-to-top { width: 42px; height: 42px; right: 14px; bottom: 14px; font-size: 18px; }
}
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; padding: .25rem; }

/* Mobile nav */
.nav-mobile { display: none; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); }
.nav-mobile a { padding: .85rem 1rem; border-top: 1px solid var(--border); color: var(--ink); font-weight: 500; }
.nav-mobile.open { display: flex; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: .6rem 1.1rem; border-radius: 8px;
  font-weight: 500; font-family: 'Inter', sans-serif; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: #2fa3d0; color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* ---- Cards ---- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.card-pad { padding: 1.25rem; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Ortalanan flex grid: ogeler sayisi sutun sayisinin katı olmadiginda
   son satirin sola yaslanip bosluk birakmasi yerine ortalanmasini saglar.
   4'lu ve 3'lu varyantlari var, kart sayisi ne olursa olsun (4,5,6,7,8...) duzgun gorunur. ---- */
.flex-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.flex-grid-4 > * { flex: 0 1 calc(25% - .75rem); min-width: 200px; }
.flex-grid-3 > * { flex: 0 1 calc(33.333% - .667rem); min-width: 220px; }
@media (max-width: 860px) {
  .flex-grid-4 > *, .flex-grid-3 > * { flex: 0 1 calc(50% - .5rem); }
}
@media (max-width: 560px) {
  .flex-grid-4 > *, .flex-grid-3 > * { flex: 0 1 100%; }
}

/* ---- Badges ---- */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 6px; font-size: .8rem; font-weight: 500; }
.badge-open { background: #E1F5EE; color: #0F6E56; }
.badge-closed { background: #F1EFE8; color: #5F5E5A; }

/* ---- Hero / slider ---- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: stretch; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.hero-media { border-radius: var(--radius); overflow: hidden; background: var(--brand-gray); height: 340px; position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (max-width: 860px) { .hero-media { height: 240px; } }
.hero-body { display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { color: var(--brand-blue); font-weight: 500; font-size: .85rem; margin-bottom: .4rem; }

/* ---- Section title ---- */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }

/* ---- Instagram strip ---- */
.ig-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: .4rem; }
.ig-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; }
@media (max-width: 860px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- List rows ---- */
.row-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.row-item:last-child { border-bottom: 0; }

/* ---- Logo marquee ---- */
.logo-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.25rem 0; background: var(--surface); overflow: hidden; }
.logo-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem 3.5rem; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.logo-track img { height: 54px; width: auto; max-width: 150px; object-fit: contain; opacity: 1; filter: none; transition: transform .15s; }
.logo-track img:hover { transform: scale(1.05); }
@media (max-width: 860px) {
  /* Dar ekranda tek satır, yatay kaydırma */
  .logo-track { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 2rem; padding: 0 1.5rem 1rem; -webkit-overflow-scrolling: touch; }
  .logo-track img { height: 44px; flex-shrink: 0; }
}

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cfceca; margin-top: 3rem; }

/* ---- Alt bant: sosyal medya + hizli link tek serit, ustteki topbar gibi mavi ---- */
.footer-bottom-band { background: var(--esc-blue); color: #fff; }
.footer-bottom-social {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .5rem; padding: 1rem 1.5rem;
}
.footer-bottom-social a {
  color: #fff; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 16px; opacity: .9; transition: background .15s, opacity .15s;
}
.footer-bottom-social a:hover { background: rgba(255,255,255,.18); opacity: 1; text-decoration: none; }
.footer-bottom-social a.fb-quicklink {
  width: auto; height: auto; padding: .3rem .8rem; font-size: .85rem; font-weight: 500;
  background: rgba(255,255,255,.14);
}
.footer-bottom-social a.fb-quicklink:hover { background: rgba(255,255,255,.28); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2); padding: 1rem 1.5rem; font-size: .85rem;
  color: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; max-width: 1140px; margin: 0 auto;
}
.footer-credit a { color: #fff; text-decoration: underline; }
.footer-credit a:hover { opacity: .85; }
@media (max-width: 560px) { .footer-bottom { justify-content: center; text-align: center; } }

/* ---- Content prose ---- */
.prose { margin-left: auto; margin-right: auto; }
.prose img { border-radius: var(--radius); margin: 1rem 0; }
.prose h2, .prose h3 { margin-top: 1.5rem; }
.prose iframe { max-width: 100%; border-radius: var(--radius); }
.prose .video-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 1rem 0; }
.prose .video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ---- Copy button ---- */
.copy-row { display: flex; align-items: center; gap: .5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: .6rem .85rem; }
.copy-row code { font-family: ui-monospace, monospace; font-size: .95rem; flex: 1; word-break: break-all; }
.copy-btn { background: none; border: 0; cursor: pointer; color: var(--brand-blue); font-size: 1.1rem; padding: .2rem; }

/* ---- Hero placeholder (görsel yoksa marka renkli) ---- */
.hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #EAF4FB 0%, var(--bg) 100%);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hp-dot { width: 56px; height: 56px; border-radius: 16px 16px 16px 4px; display: block; }
.hp-yellow { background: var(--brand-yellow); }
.hp-blue { background: var(--brand-blue); }
.hp-red { background: var(--brand-red); }
.hp-gray { background: var(--brand-gray); }
@media (max-width: 560px) { .hp-dot { width: 40px; height: 40px; } }

/* ---- Kart placeholder (haber/blog kartlarinda gorsel yoksa, hero ile ayni stil, kucuk boy) ---- */
.card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #EAF4FB 0%, var(--bg) 100%);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.card-placeholder .hp-dot { width: 28px; height: 28px; border-radius: 8px 8px 8px 3px; }

/* ---- Program kartlarını canlandır ---- */
.program-card { transition: transform .15s, box-shadow .15s, border-color .15s; text-align: center; }
.program-card:hover { transform: translateY(-3px); border-color: var(--brand-blue); box-shadow: 0 8px 24px rgba(59,184,232,.12); }
.card a:hover, .row-item a:hover, .program-card a:hover { text-decoration: none; }
.program-card .prog-icon {
  width: 120px; height: 120px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #E6F1FB; margin-bottom: .5rem;
}

/* ---- Section renk varyasyonları ---- */
.section-tint-blue { background: linear-gradient(180deg, #F0F8FD 0%, var(--bg) 100%); }
.section-head h2 { position: relative; padding-left: .65rem; }
.section-head h2::before {
  content: ''; position: absolute; left: 0; top: .25em; bottom: .25em;
  width: 3px; border-radius: 3px; background: var(--brand-blue);
}

/* ---- Instagram placeholder boşsa gizle daha iyi ---- */
.ig-empty { color: var(--ink-soft); font-size: .9rem; }

/* ---- Card hover for news/blog ---- */
a.card, .card.card-link { transition: transform .15s, box-shadow .15s; }
a.card:hover, .card.card-link:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); text-decoration: none; }

/* ---- Badge-open biraz daha canlı ---- */
.badge-open { background: #D8F3E7; color: #0F6E56; font-weight: 600; }

/* ---- Aktif menü (public) - lang-switch hariç ---- */
.nav-desktop > a.active { color: var(--brand-blue); font-weight: 600; position: relative; }
.nav-desktop > a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 3px; background: var(--brand-blue); border-radius: 3px;
}
.nav-mobile > a.active { color: var(--brand-blue); font-weight: 600; background: #F0F8FD; }
.nav-dropdown-toggle.active { color: var(--brand-blue); font-weight: 600; position: relative; }
.nav-dropdown-toggle.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 3px; background: var(--brand-blue); border-radius: 3px;
}
.nav-dropdown-menu a.active { color: var(--brand-blue); font-weight: 600; background: #F0F8FD; }
.nav-mobile-child.active { color: var(--brand-blue); font-weight: 600; background: #F0F8FD; }

/* ---- Instagram takip daveti (gerçek foto yok, profile link) ---- */
.ig-follow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.5rem; border-radius: 999px;
  background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF 100%);
  color: #fff; text-decoration: none; font-weight: 500;
  transition: transform .15s, box-shadow .15s;
}
.ig-follow:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(221,42,123,.28); color: #fff; text-decoration: none; }
.ig-follow i { font-size: 22px; }
.ig-follow .ig-handle { font-weight: 600; opacity: .95; }

/* ---- Hero slider ---- */
.hero-slider { position: relative; }
.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: heroFade .5s ease; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink); font-size: 22px; z-index: 3;
  transition: background .15s, box-shadow .15s;
}
.hero-nav:hover { background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: #D8D6CE; cursor: pointer; padding: 0; transition: background .15s, width .15s;
}
.hero-dot.active { background: var(--brand-blue); width: 26px; border-radius: 5px; }
@media (max-width: 640px) {
  .hero-nav { width: 36px; height: 36px; font-size: 18px; }
  .hero-prev { left: 6px; } .hero-next { right: 6px; }
}
@media (max-width: 860px) {
  /* Mobilde gorsel hep ustte ve 240px sabit yukseklikte oldugundan,
     oklari %50 (slayt metnine gore degisken) yerine gorselin ortasina sabitle */
  .hero-nav { top: 120px; transform: none; }
}

/* ---- Satır thumbnail (ilan/blog listelerinde) ---- */
.row-item-thumb { display: flex; align-items: center; gap: .9rem; }
.row-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; display: block; background: #EEF2F6; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--brand-blue); opacity: .5; }
.row-thumb-ph i { font-size: 22px; }
.row-item-body { flex: 1; min-width: 0; }
@media (max-width: 560px) { .row-thumb { width: 44px; height: 44px; } }
@media (max-width: 640px) {
  .row-item.row-item-thumb { flex-wrap: wrap; row-gap: .5rem; }
  .row-item-thumb .card-status-row {
    flex: 1 1 100%;
    justify-content: space-between;
  }
}

/* ---- Program kart logosu (görsel varsa) ---- */
.prog-logo { width: 120px; height: 120px; border-radius: 16px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); margin-bottom: .5rem; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.prog-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* ---- Footer logoları (siyah alanın altında) ---- */
.footer-logos { background: #fff; padding: 2.5rem 0; }
.footer-logo-track { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; max-width: 1100px; margin: 0 auto; }
.footer-logo-track img {
  width: 132px; height: 64px; object-fit: contain;
  background: transparent; border-radius: 10px; padding: 8px 14px;
  filter: grayscale(20%); opacity: .82;
  transition: transform .2s ease, opacity .2s ease, filter .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.footer-logo-track img:hover {
  transform: translateY(-3px); opacity: 1; filter: grayscale(0%);
  background-color: var(--bg); box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
@media (max-width: 640px) {
  .footer-logo-track img { width: calc(33.333% - .6rem); height: 52px; padding: 6px 10px; }
}
@media (max-width: 400px) {
  .footer-logo-track img { width: calc(50% - .45rem); }
}

/* ---- Ust hat (top bar) ---- */
.top-bar { background: var(--esc-blue); color: #fff; font-size: .85rem; }
.top-bar a:hover { text-decoration: none; }

/* ---- Admin bar (yalnizca giris yapmis yoneticiler gorur) ---- */
/* Yonetici cubugu sayfa kaydirilirken de tepede kalir, boylece panele
   donmek icin basa cikmak gerekmez. Site basligi da onun altina yapisir. */
.admin-bar {
  background: #1D2939; color: #E4E7EC; font-size: .8rem;
  position: sticky; top: 0; z-index: 110;
}
.admin-bar ~ .site-header { top: var(--abar-h, 34px); }
.admin-bar-inner {
  display: flex; align-items: center; gap: .9rem;
  padding: .3rem 1.5rem; min-height: 34px;
  white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.admin-bar-inner::-webkit-scrollbar { display: none; }
.admin-bar-link { flex: none; }
.admin-bar-user { flex: none; margin-left: auto; padding-left: .6rem; }
.admin-bar-link { color: #E4E7EC; display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; border-radius: 6px; }
.admin-bar-link:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.admin-bar-user { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; color: #98A2B3; }
@media (max-width: 640px) {
  .admin-bar-inner { padding: .3rem .75rem; gap: .5rem; }
  .admin-bar-user { display: none; }
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem 1.5rem; min-height: 36px; }
.top-bar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.top-bar-left a { color: #fff; opacity: .95; display: inline-flex; align-items: center; gap: .3rem; }
.top-bar-left a:hover { opacity: 1; text-decoration: none; }
.top-bar-right { display: flex; align-items: center; gap: .5rem; }
.top-social-icons { display: inline-flex; align-items: center; gap: .35rem; }
.top-bar-right a { color: #fff; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font-size: 15px; opacity: .9; transition: background .15s, opacity .15s; }
.top-bar-right a:hover { background: rgba(255,255,255,.18); opacity: 1; }
.top-bar-right a.top-social-btn { width: auto; height: auto; gap: .3rem; padding: .25rem .7rem; background: rgba(255,255,255,.14); font-size: .78rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.top-bar-right a.top-social-btn:hover { background: rgba(255,255,255,.28); }
.top-bar-right a.top-social-btn i { font-size: 15px; }
@media (max-width: 640px) {
  .top-bar-inner { padding: .4rem .75rem; gap: .35rem; flex-direction: column; align-items: center; }
  /* E-posta mobilde ortalanmis sekilde gorunur */
  .top-bar-left { justify-content: center; gap: .75rem; font-size: .8rem; }
  .top-bar-right { gap: .3rem; flex-wrap: wrap; justify-content: center; width: 100%; }
  .top-bar-right a { width: 26px; height: 26px; font-size: 14px; }
  .top-bar-right a.top-social-btn { padding: .22rem .55rem; font-size: .72rem; }
  .top-bar-right .lang-switch-top a { width: auto; }
}

/* ---- İçerik blokları (sayfa blokları) ---- */
.block-hero { padding-top: 3rem; padding-bottom: 2rem; }
.block-hero h1 { margin-bottom: 1rem; }
.block-hero-sub { font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* Timeline (zaman çizelgesi) */
.timeline-list { position: relative; padding-left: 1.5rem; border-left: 2px solid var(--border); margin-top: 1rem; }
.timeline-item { position: relative; padding: 0 0 1.5rem 1.25rem; }
.timeline-item::before { content: ""; position: absolute; left: -1.65rem; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-blue); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--brand-blue); }
.timeline-year { display: block; font-family: Poppins, sans-serif; font-weight: 600; color: var(--brand-blue); font-size: 1.1rem; }
.timeline-text { display: block; color: var(--ink-soft); margin-top: .15rem; }

/* Harita yerleştirme */
.map-embed { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100% !important; height: 380px !important; border: 0; display: block; }

/* ---- SSS akordiyon ---- */
.faq-list { margin-top: 1rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: 11px; margin-bottom: .6rem;
  background: var(--surface); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.faq-item:hover { border-color: var(--esc-magenta); }
/* Acilan soru ESC moruna doner, hangisinin acik oldugu bir bakista belli olur */
.faq-item[open] {
  border-color: var(--esc-magenta);
  box-shadow: inset 3px 0 0 var(--esc-magenta);
}
.faq-item[open] .faq-q { color: var(--esc-magenta); }
.faq-q { font-weight: 500; cursor: pointer; padding: 1rem 1.15rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--esc-cyan); flex-shrink: 0; transition: transform .2s, color .2s; line-height: 1; }
.faq-item[open] .faq-q::after { color: var(--esc-magenta); }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--brand-blue); }
.faq-a { padding: 0 1.15rem 1.15rem; color: var(--ink-soft); line-height: 1.6; }

/* ---- Detay sayfası öne çıkan görsel ---- */
.detail-cover { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; max-height: 420px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.detail-cover img { max-width: 100%; max-height: 420px; width: auto; height: auto; object-fit: contain; display: block; margin: 0 auto; }

/* ---- Kategori süzme (public) ---- */
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.cat-chip { display: inline-block; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink-soft); font-size: .9rem; transition: all .15s; }
.cat-chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); text-decoration: none; }
.cat-chip.active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.card-cats { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .4rem; }
.card-cat { font-size: .72rem; background: #EEF5FC; color: var(--esc-blue); padding: .1rem .5rem; border-radius: 4px; font-weight: 500; }

/* ---- Üst menü açılır (dropdown) ---- */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: .2rem; }
.nav-dropdown-toggle i { font-size: 14px; transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-toggle i { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: .55rem .75rem; border-radius: 7px; color: var(--ink); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: #EEF5FC; color: var(--brand-blue); text-decoration: none; }
/* köprü: toggle ile menü arası boşlukta hover kopmasın */
.nav-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
/* Mobil alt menü girinti */
.nav-mobile-child { padding-left: 2rem !important; font-size: .95rem; opacity: .85; }

/* ---- Beyannameler listesi (public) ---- */
.beyanname-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; max-width: 820px; }
.beyanname-row { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.beyanname-row:hover { border-color: var(--brand-blue); box-shadow: 0 6px 18px rgba(0,0,0,.07); transform: translateY(-1px); text-decoration: none; }
.beyanname-thumb { width: 46px; height: 46px; border-radius: 10px; background: #FCEBEB; color: var(--esc-red); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.beyanname-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.beyanname-title { font-family: Poppins, sans-serif; font-weight: 600; color: var(--ink); font-size: 1rem; }
.beyanname-file { font-size: .82rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.beyanname-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .9rem; border-radius: 8px; background: #EEF5FC; color: var(--brand-blue); font-size: .88rem; font-weight: 500; flex-shrink: 0; white-space: nowrap; }
.beyanname-row:hover .beyanname-btn { background: var(--brand-blue); color: #fff; }
@media (max-width: 560px) {
  .beyanname-file { display: none; }
  .beyanname-btn span { display: none; }
  .beyanname-btn { padding: .5rem .6rem; }
}

/* ---- İçerik etiketleri (hashtag'ler, SEO) ---- */
.content-tags { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--ink-soft); line-height: 1.9; }
.content-tags strong { color: var(--ink); margin-right: .4rem; }

/* ---- İletişim formu satırı (ad + e-posta yan yana) ---- */
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; gap: 0; } }

/* ---- Iletisim formu: marka renkli, mavi vurgulu kutu ---- */
.contact-form-card {
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--brand-blue);
  border-radius: 14px; padding: 1.75rem; margin-top: 1rem;
  box-shadow: 0 8px 24px rgba(59,184,232,.08);
}
.cf-field { margin-bottom: 1.1rem; }
.cf-field label { display: flex; align-items: center; gap: .4rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); font-size: .92rem; }
.cf-field label i { color: var(--brand-blue); font-size: 1.05rem; }
.cf-input {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: .95rem; background: var(--bg);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.cf-input:hover { border-color: #C9C7BF; }
.cf-input:focus { outline: none; border-color: var(--brand-blue); background: #fff; box-shadow: 0 0 0 3px rgba(59,184,232,.15); }
textarea.cf-input { resize: vertical; min-height: 120px; }
.cf-submit { padding: .75rem 2.2rem; font-weight: 600; }

/* ---- Mobil menu: kaydirilabilir panel + akordiyon alt menuler ---- */
/* .site-header sticky oldugu icin acik menu tepeye yapisik kaliyor ve uzun
   menulerde alt kisma ulasilamiyordu. Panelin kendisini kaydirilabilir yapiyoruz. */
.nav-mobile.open {
  display: flex;
  max-height: calc(100vh - 88px);
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.nav-mobile-group { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.nav-mobile-parent {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%; padding: .85rem 1rem; background: none; border: 0;
  font-family: inherit; font-size: 1rem; font-weight: 500; color: var(--ink);
  text-align: left; cursor: pointer;
}
.nav-mobile-parent i { color: var(--ink-soft); font-size: 1.1rem; transition: transform .15s ease; }
.nav-mobile-parent.active { color: var(--brand-blue); font-weight: 600; }
.nav-mobile-group.open > .nav-mobile-parent i { transform: rotate(180deg); }
.nav-mobile-sub { display: none; flex-direction: column; }
.nav-mobile-group.open > .nav-mobile-sub { display: flex; }

/* ---------------------------------------------------------------
   Belge listesi (/dokumanlar/)
   Panelden yonetilir: Yonetim Paneli > Icerik > Belgeler
   --------------------------------------------------------------- */
.esc-belge-listesi { list-style: none; margin: 1.25rem 0; padding: 0; }
.esc-belge-listesi li { margin-bottom: .5rem; }
.esc-belge-listesi li a {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--border); border-radius: 11px;
  background: var(--surface); color: var(--ink);
  text-decoration: none; font-weight: 500;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.esc-belge-listesi li a:hover {
  border-color: var(--esc-blue); color: var(--esc-blue);
  box-shadow: 0 4px 14px rgba(12, 77, 162, .1);
  transform: translateY(-1px);
  text-decoration: none;
}
.esc-belge-listesi li a i { font-size: 22px; color: var(--esc-cyan); flex: none; }
.esc-belge-listesi li a span { flex: 1; min-width: 0; }
.esc-belge-listesi li a em {
  flex: none; font-style: normal; font-size: .8rem;
  color: var(--ink-soft); white-space: nowrap;
}
.esc-belge-not {
  display: block; font-size: .85rem; color: var(--ink-soft);
  margin: .2rem 0 0 3.1rem;
}

/* Icerikten gelen uyari kutulari ([alert] kisa kodunun karsiligi) */
.esc-uyari {
  border-left: 4px solid var(--esc-magenta);
  background: var(--bg);
  padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.1rem 0;
}
.esc-uyari > *:last-child { margin-bottom: 0; }

/* Icerikten gelen butonlar ([button] kisa kodunun karsiligi) */
.esc-buton { margin: 1.2rem 0; }
.esc-buton a {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--esc-blue); color: #fff;
  padding: .75rem 1.5rem; border-radius: 11px;
  font-weight: 600; text-decoration: none;
}
.esc-buton a:hover { background: var(--esc-blue-dark); color: #fff; text-decoration: none; }

/* Site haritasi sayfasi */
.esc-sitemap { list-style: none; margin: 1.25rem 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: .15rem; }
@media (min-width: 680px)  { .esc-sitemap { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px)  { .esc-sitemap { grid-template-columns: 1fr 1fr 1fr; } }
.esc-sitemap li a {
  display: block; padding: .6rem .7rem; border-radius: 9px;
  color: var(--ink); text-decoration: none; font-size: .95rem;
}
.esc-sitemap li a:hover { background: var(--bg); color: var(--esc-blue); text-decoration: none; }

/* ---------------------------------------------------------------
   Arama motoru
   Hem ust menudeki popup hem de /ara/ sayfasi bu siniflari kullanir.
   --------------------------------------------------------------- */
.es-wrap { max-width: 720px; }
.es-page { padding-top: 2rem; }
.es-page-title { font-size: clamp(1.3rem, 4.5vw, 1.9rem); margin: 0 0 1.25rem; color: var(--esc-blue); }

.es-field {
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: 999px; padding: 0 1rem; height: 54px;
  box-shadow: 0 1px 2px rgba(12,77,162,.06), 0 8px 24px rgba(12,77,162,.07);
  transition: border-color .15s;
}
.es-field:focus-within { border-color: var(--esc-blue); }
.es-field i { font-size: 21px; color: var(--esc-gray); flex: none; }
.es-field input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none;
}
.es-field input::-webkit-search-cancel-button { display: none; }
@media (min-width: 760px) { .es-field { height: 60px; padding: 0 1.25rem; } }

.es-hint { font-size: .85rem; color: var(--ink-soft); margin: .85rem .25rem 0; }

.es-results {
  margin-top: .9rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(12,77,162,.06), 0 8px 24px rgba(12,77,162,.07);
}
.es-meta {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .6rem 1rem; font-size: .78rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}
.es-row {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .9rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--ink); text-decoration: none;
}
.es-row:last-child { border-bottom: 0; }
.es-row:hover { background: var(--bg); text-decoration: none; }
.es-row > i { font-size: 20px; color: var(--esc-cyan); flex: none; margin-top: 2px; }
.es-body { flex: 1; min-width: 0; display: block; }
.es-title { display: block; font-size: .97rem; font-weight: 600; color: var(--esc-blue); line-height: 1.35; }
.es-snip { display: block; font-size: .85rem; color: var(--ink-soft); line-height: 1.5; margin-top: .15rem; }
.es-tag {
  flex: none; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--esc-gray); border: 1px solid var(--border);
  border-radius: 5px; padding: .05rem .4rem; margin-top: .2rem; display: none;
}
@media (min-width: 520px) { .es-tag { display: block; } }
.es-more .es-title { color: var(--ink-soft); }

.es-results mark {
  background: #FFF3B0; color: inherit;
  padding: 0 .12em; border-radius: 3px; font-weight: 600;
}

.es-none { padding: 1.6rem 1rem; text-align: center; }
.es-none p { margin: 0 0 .6rem; }
.es-none-sub { font-size: .88rem; color: var(--ink-soft); }
.es-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--esc-blue); color: #fff;
  padding: .65rem 1.3rem; border-radius: 11px;
  font-weight: 600; font-size: .92rem; text-decoration: none; margin-top: .4rem;
}
.es-btn:hover { background: var(--esc-blue-dark); color: #fff; text-decoration: none; }

/* Ust menudeki popup icinde sonuc kutusu */
.site-search-popup .es-results { margin-top: .75rem; max-height: 60vh; overflow-y: auto; }

/* ===============================================================
   ANASAYFA
   =============================================================== */

/* ---- Blok 1: arama ve kisayollar ---- */
.home-hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 2rem 0 1.9rem; }
@media (min-width: 760px) { .home-hero { padding: 3.1rem 0 2.6rem; } }

.home-hero-title {
  font-size: clamp(1.32rem, 5.2vw, 2rem); line-height: 1.25; letter-spacing: -.02em;
  text-align: center; margin: 0 0 .45rem; color: var(--ink); text-wrap: balance;
}
.home-hero-sub {
  text-align: center; color: var(--ink-soft); font-size: .92rem;
  margin: 0 0 1.2rem; text-wrap: balance;
}
.home-search { margin: 0 auto; }
.home-note {
  text-align: center; font-size: .85rem; color: var(--ink-soft);
  margin: .85rem auto 0; max-width: 560px; line-height: 1.6;
}
.home-chips { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: .8rem; }
.home-chips button {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: .38rem .85rem; font: inherit; font-size: .82rem; color: var(--ink-soft);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.home-chips button:hover { border-color: var(--esc-blue); color: var(--esc-blue); }

/* Iki buyuk kisayol: sitenin en cok aranan iki sayfasi */
.home-shortcuts {
  display: grid; grid-template-columns: 1fr; gap: .7rem;
  max-width: 760px; margin: 1.6rem auto 0;
}
@media (min-width: 620px) {
  .home-shortcuts.sc-count-2 { grid-template-columns: 1fr 1fr; }
  .home-shortcuts.sc-count-3 { grid-template-columns: 1fr 1fr; }
}
/* Uc dugme genis ekranda yan yana, dar ekranda alt alta */
@media (min-width: 960px) {
  .home-shortcuts.sc-count-3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
}
.home-shortcut {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.25rem; border-radius: 13px;
  color: #fff; font-weight: 600; font-size: .98rem;
  text-decoration: none; line-height: 1.3;
  box-shadow: 0 6px 18px rgba(12,77,162,.16);
  transition: transform .12s, box-shadow .15s, filter .15s;
}
.home-shortcut:hover { color: #fff; text-decoration: none; transform: translateY(-2px); filter: brightness(1.06); }
.home-shortcut i { font-size: 20px; flex: none; opacity: .85; }
.home-shortcut.sc-1 { background: linear-gradient(135deg, #0C4DA2 0%, #1565C6 100%); }
.home-shortcut.sc-2 { background: linear-gradient(135deg, #A61F7D 0%, #C42D96 100%); }
.home-shortcut.sc-3 { background: linear-gradient(135deg, #0F7B6C 0%, #14A08C 100%); }

/* ---- Ortak bolum basligi ---- */
.home-h2 {
  font-size: clamp(1.15rem, 4.4vw, 1.6rem); color: var(--esc-blue);
  margin: 0 0 .35rem; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance;
}
.home-h2-sub { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1.25rem; }
.home-h2 + .home-grid, .home-h2 + .home-cards, .home-h2 + .cond-grid { margin-top: 1.1rem; }
.section-alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home-intro { max-width: none; }

/* ---- Basvuru sartlari kartlari ---- */
.cond-grid { display: grid; grid-template-columns: 1fr; gap: .85rem; }
@media (min-width: 620px) { .cond-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cond-grid { grid-template-columns: repeat(4, 1fr); } }
.cond-card {
  position: relative; display: block; background: var(--surface);
  border: 1px solid var(--border); border-radius: 15px;
  padding: 1.5rem 1.15rem 1.15rem; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(12,77,162,.05);
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
a.cond-card:hover {
  border-color: var(--esc-blue); text-decoration: none;
  box-shadow: 0 10px 26px rgba(12,77,162,.11); transform: translateY(-2px);
}
.cond-no {
  position: absolute; top: -13px; left: 1.15rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--esc-magenta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.cond-card > i { font-size: 29px; color: var(--esc-cyan); display: block; margin-bottom: .55rem; }
.cond-card h3 { margin: 0 0 .4rem; font-size: 1.02rem; color: var(--esc-blue); line-height: 1.3; }
.cond-card p { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
.cond-link {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .75rem; font-size: .84rem; font-weight: 600; color: var(--esc-magenta);
}

/* ---- Belge kartlari (opsiyonel blok) ---- */
.home-cards { display: grid; grid-template-columns: 1fr; gap: .85rem; }
@media (min-width: 620px) { .home-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .home-cards { grid-template-columns: repeat(4, 1fr); } }
.home-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.1rem; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(12,77,162,.05);
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
a.home-card:hover {
  border-color: var(--esc-blue); text-decoration: none;
  box-shadow: 0 8px 22px rgba(12,77,162,.1); transform: translateY(-2px);
}
.home-card i { font-size: 27px; color: var(--esc-cyan); display: block; margin-bottom: .5rem; }
.home-card h3 { margin: 0 0 .35rem; font-size: 1rem; color: var(--esc-blue); }
.home-card p { margin: 0; font-size: .87rem; color: var(--ink-soft); line-height: 1.55; }

/* ---- Butonlar ---- */
.home-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--esc-blue); color: #fff; padding: .8rem 1.5rem;
  border-radius: 12px; font-weight: 600; font-size: .93rem; text-decoration: none;
}
.home-cta:hover { background: var(--esc-blue-dark); color: #fff; text-decoration: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--border); color: var(--esc-blue);
  padding: .7rem 1.2rem; border-radius: 11px;
  font-weight: 600; font-size: .9rem; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--esc-blue); text-decoration: none; }

/* ---- "Bir sorun mu var" ---- */
.home-contact {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--esc-magenta); border-radius: 15px; padding: 1.4rem;
  box-shadow: 0 1px 2px rgba(12,77,162,.05);
}
.home-contact > i { font-size: 32px; color: var(--esc-magenta); flex: none; margin-top: .1rem; display: none; }
@media (min-width: 620px) { .home-contact > i { display: block; } }
.home-contact h3 { margin: 0 0 .5rem; color: var(--esc-magenta); font-size: 1.12rem; }
.home-contact p { margin: 0 0 .9rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.65; }
.home-contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0 !important; }

/* ---- Blok: tum basliklar ---- */
.home-grid { display: grid; grid-template-columns: 1fr; gap: .1rem; }
@media (min-width: 680px) { .home-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .home-grid { grid-template-columns: 1fr 1fr 1fr; } }
.home-grid-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem .7rem; border-radius: 11px; min-height: 54px;
  color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.4;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 680px) { .home-grid-item { border-bottom: 0; } }
.home-grid-item {
  transition: background .13s, color .13s, box-shadow .13s;
}
.home-grid-item:hover {
  background: var(--surface); color: var(--esc-magenta);
  text-decoration: none;
  box-shadow: inset 3px 0 0 var(--esc-magenta);
}
.home-grid-item i { font-size: 23px; color: var(--esc-cyan); flex: none; transition: color .13s; }
.home-grid-item:hover i { color: var(--esc-magenta); }

/* ===============================================================
   FOOTER
   Tek mavi alan. Her sey ayni container genisliginde, ortalanmis.
   Beyaz logo bandi kaldirildi: mavinin icinde daha butunluklu duruyor.
   =============================================================== */
.site-footer {
  background: var(--esc-blue); color: #C9D9F2;
  margin-top: auto; padding: 2.6rem 0 1.8rem;
}
.site-footer a { color: #DCE6F5; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Uc sutun */
.footer-cols {
  display: grid; grid-template-columns: 1fr; gap: 1.8rem;
  padding-bottom: 2.2rem; text-align: center;
}
@media (min-width: 700px) {
  /* Kac sutun varsa esit dagilir, dort sutun da olabilir */
  .footer-cols {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    text-align: left; gap: 2rem;
  }
}
.footer-col h4 {
  color: #fff; font-size: .95rem; margin: 0 0 .9rem; font-weight: 600;
  letter-spacing: .01em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { font-size: .93rem; opacity: .9; }
.footer-col a:hover { opacity: 1; }

/* Logo seridi.
   Logo dosyalarinin zemini beyaz oldugu icin mavinin uzerinde beyaz kutu
   gibi duruyorlardi. "brightness(0) invert(1)" denemesi ise tum dikdortgeni
   beyaza boyadi, daha kotu oldu. Cozum: seridi mavinin disina, sayfanin
   kendi acik zeminine almak. Beyaz degil, sitenin her yerinde kullanilan
   acik gri mavi. Logolar kendi renklerinde kaliyor. */
.footer-logo-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.4rem 2.6rem;
}
.footer-logos > * { display: inline-flex; align-items: center; justify-content: center; }
.footer-logos img {
  max-height: 38px; max-width: 150px; width: auto; height: auto;
  object-fit: contain; mix-blend-mode: multiply;
}
@media (min-width: 760px) { .footer-logos img { max-height: 44px; max-width: 175px; } }

/* Sosyal ikonlar */
.footer-social {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
  padding: 1.35rem 0 1.1rem; border-top: 1px solid rgba(255,255,255,.16);
}
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); font-size: 1.02rem;
  transition: background .15s;
}
.footer-social a:hover { background: rgba(255,255,255,.26); }

/* Yasal not ve telif */
.footer-legal {
  text-align: center; font-size: .86rem; line-height: 1.75;
  max-width: 760px; margin: 0 auto;
}
.footer-legal p { margin: 0 0 .35rem; }
.footer-legal p:last-child { margin-bottom: 0; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-credit { opacity: .7; font-size: .78rem; margin-top: .7rem !important; }

/* ---- Admin bar ---- */
.admin-bar .abar-lbl { display: none; }
@media (min-width: 620px) { .admin-bar .abar-lbl { display: inline; } }

/* ---- Icerikteki bayraklar (esc_flags) ---- */
.esc-flag {
  display: inline-block; height: .78em; width: auto;
  vertical-align: baseline; position: relative; top: .02em;
  margin: 0 .3em 0 0; border-radius: 2px; flex: none;
}

/* Icerikten gelmis olabilecek emoji gorselleri asla buyumesin */
.prose img.emoji,
.page-content img[src*="/emoji/"],
.page-content img[src*="s.w.org"] {
  height: 1.1em !important; width: auto !important;
  display: inline !important; vertical-align: -.15em;
  margin: 0 .1em; border-radius: 0 !important; box-shadow: none !important;
}

/* ---- Ust bar: mesaj gonder ---- */
.top-bar-msg {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.16); border-radius: 999px;
  padding: .18rem .7rem; margin-left: .6rem; font-weight: 600;
}
.top-bar-msg:hover { background: rgba(255,255,255,.28); }
@media (max-width: 560px) { .top-bar-msg span { display: none; } }

/* ---- Iletisim sayfasi ---- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.55fr 1fr; gap: 2.25rem; align-items: start; }
  /* Yan sutun formun ilk satiriyla ayni hizada bassin, basligin yaninda
     bosta durmasin. */
  .contact-side { padding-top: .35rem; }
}
.contact-form-side .home-h2 { margin-bottom: .35rem; }
.contact-form-side .home-h2-sub { margin-bottom: 1.25rem; }
.contact-side { display: grid; gap: 1rem; align-content: start; }
.contact-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.15rem;
}
.contact-box h3 {
  display: flex; align-items: center; gap: .5rem;
  margin: 0 0 .5rem; font-size: 1rem; color: var(--esc-blue);
}
.contact-box h3 i { font-size: 20px; color: var(--esc-cyan); flex: none; }
.contact-box.accent { border-left: 3px solid var(--esc-magenta); }
.contact-box.accent h3 i { color: var(--esc-magenta); }
.contact-box-body ul { margin: 0; padding-left: 1.1rem; }
.contact-box-body li { font-size: .89rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: .45rem; }
.contact-box-body li:last-child { margin-bottom: 0; }
.contact-box p { margin: 0 0 .4rem; font-size: .92rem; }
.contact-box p:last-child { margin-bottom: 0; }
.contact-box-note { color: var(--ink-soft); font-size: .87rem !important; line-height: 1.6; }

.contact-alert {
  display: flex; gap: .85rem; align-items: flex-start;
  border-radius: 13px; padding: 1.1rem 1.25rem; margin-bottom: 1.5rem;
}
.contact-alert i { font-size: 26px; flex: none; margin-top: .05rem; }
.contact-alert p { margin: .2rem 0 0; font-size: .92rem; }
.contact-alert.ok  { background: #E7F7F0; border: 1px solid #A9E0C9; color: #12684A; }
.contact-alert.err { background: #FCEBEB; border: 1px solid #F0B9B7; color: #A3241F; }

/* Form kutusunun kendisi */
.contact-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 15px; padding: 1.35rem;
  box-shadow: 0 1px 2px rgba(12,77,162,.05);
}
.cf-row { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 620px) { .cf-row { grid-template-columns: 1fr 1fr; } }
.cf-field { margin-bottom: .9rem; }
.cf-field label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .35rem;
}
.cf-field label i { color: var(--esc-cyan); font-size: 15px; }
.cf-input {
  width: 100%; padding: .72rem .9rem; font: inherit; font-size: .95rem;
  border: 1.5px solid var(--border); border-radius: 11px;
  background: var(--bg); color: var(--ink); outline: none;
  transition: border-color .15s, background .15s;
}
.cf-input:focus { border-color: var(--esc-blue); background: var(--surface); }
textarea.cf-input { resize: vertical; min-height: 130px; }
.cf-submit {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--esc-blue); color: #fff; border: 0;
  padding: .8rem 1.7rem; border-radius: 12px;
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.cf-submit:hover { background: var(--esc-blue-dark); }

/* Her sayfanin altindaki soru kutusu */
.site-ask { padding-top: 0; }

/* ---- "Bu sayfayla ilgili aramalar" ----
   Onceki halinde zemin rengi verilmisti ve sayfada kocaman beyaz bir blok
   olusturuyordu. Artik metin akistan tamamen cikariliyor: yer kaplamaz,
   hicbir sey cizilmez, ama sayfa kaynaginda durur ve botlar okur. */
.seo-terms {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Iletisim sayfasi basindaki arama.
   Arama ile formun arasi ayrilmali, yoksa iki bolum birbirine giriyor. */
.contact-search { padding: 1.75rem 0 0; }
.contact-search-note {
  text-align: center; color: var(--ink-soft);
  font-size: .92rem; margin: 0 0 .9rem;
}
.contact-wrap { padding-top: 2.5rem; }
.cf-phone-row { display: flex; gap: .5rem; }
.cf-phone-row .cf-phone-cc { flex: 0 0 46%; }
.cf-phone-row .cf-phone-number { flex: 1; min-width: 0; }

/* ---- Video kartlari ----
   Oynatici gomulmuyor, kapak gorseli gosterilip YouTube'da aciliyor.
   Sayfa hizi icin bilincli tercih: gomulu oynatici her video icin
   yuzlerce kilobayt script yukletiyor. */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 560px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card {
  display: block; color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.video-card:hover {
  border-color: var(--esc-magenta); text-decoration: none; color: var(--esc-magenta);
  box-shadow: 0 10px 26px rgba(12,77,162,.12); transform: translateY(-2px);
}
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.4rem; text-shadow: 0 2px 12px rgba(0,0,0,.45);
  background: linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.28));
  transition: background .15s;
}
.video-card:hover .video-play { background: rgba(166,31,125,.32); }
.video-title {
  display: block; padding: .9rem 1rem; font-size: .95rem;
  font-weight: 500; line-height: 1.45;
}

/* ---- Sayfa basligi bandi ----
   Videolar gibi liste sayfalarinda kullanilir. Sinif kullaniliyordu ama
   stili hic yazilmamisti, bu yuzden baslik ile icerik ic ice giriyordu. */
.pagehead {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0 1.5rem;
}
@media (min-width: 760px) { .pagehead { padding: 2.25rem 0 2rem; } }
.pagehead .crumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--ink-soft); margin-bottom: .6rem;
}
.pagehead .crumb i { font-size: .8rem; opacity: .6; }
.pagehead h1 {
  display: flex; align-items: flex-start; gap: .7rem;
  margin: 0; line-height: 1.28; letter-spacing: -.02em;
  font-size: clamp(1.28rem, 4.9vw, 1.95rem); text-wrap: balance;
}
.pagehead h1 .hi { flex: none; font-size: 1.55rem; color: var(--esc-cyan); margin-top: .12rem; }

/* ---- Ikon yer tutucu ----
   Ikon fontunun CSS'i gec yukleniyor (sayfa cizimini beklemesin diye).
   Bu kural site.css icinde ve erken geldigi icin ikonlarin yeri bastan
   ayrilir, font gelince metin kaymaz. */
.ti {
  display: inline-block;
  width: 1em; height: 1em;
  line-height: 1;
  vertical-align: -.125em;
}

/* Yonetici cubugunda bekleyen guncelleme uyarisi */
.admin-bar-link.abar-alert {
  background: #F5A524; color: #3A2A05; font-weight: 600;
  border-radius: 999px; padding: .2rem .65rem;
}
.admin-bar-link.abar-alert:hover { background: #FFBE3D; color: #3A2A05; }
.admin-bar .abar-count {
  background: rgba(0,0,0,.18); border-radius: 999px;
  padding: 0 .38rem; font-size: .72rem; margin-left: .15rem;
}
@media (min-width: 620px) { .admin-bar .abar-count { display: none; } }

/* ===============================================================
   HESAPLAMA ARACLARI (yas kontrolu, kalan sure)
   =============================================================== */
.tool-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 15px; padding: 1.4rem;
  box-shadow: 0 1px 2px rgba(12,77,162,.05);
}
.tool-card .home-h2 { margin-bottom: .3rem; }
.tool-card .home-h2-sub { margin-bottom: 1.1rem; }

.tool-field { display: flex; flex-direction: column; gap: .35rem; max-width: 300px; }
.tool-field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.tool-field input,
.tool-row input {
  padding: .7rem .85rem; font: inherit; font-size: .95rem;
  border: 1.5px solid var(--border); border-radius: 11px;
  background: var(--bg); color: var(--ink); outline: none;
  transition: border-color .15s, background .15s;
}
.tool-field input:focus,
.tool-row input:focus { border-color: var(--esc-blue); background: var(--surface); }

/* Uyari kutusu: yanlis veri girilmesini onlemek icin */
.tool-warn {
  display: flex; gap: .75rem; align-items: flex-start;
  background: #FFF8E8; border: 1px solid #F0C97A;
  border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1.1rem;
  font-size: .89rem; line-height: 1.6; color: #6B4E12;
}
.tool-warn i { font-size: 20px; flex: none; margin-top: .1rem; }

/* Proje satirlari */
.tool-rows { display: grid; gap: .6rem; margin-bottom: .9rem; }
.tool-row {
  display: grid; grid-template-columns: 1fr 1fr auto auto;
  gap: .6rem; align-items: end;
}
@media (max-width: 620px) {
  .tool-row { grid-template-columns: 1fr 1fr auto; }
  .tool-row .tool-row-days { grid-column: 1 / 3; }
}
.tool-row label { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.tool-row-days { font-size: .85rem; color: var(--ink-soft); padding-bottom: .75rem; white-space: nowrap; }
.tool-row-days.bad { color: #C4342E; }
.tool-row-del {
  background: none; border: 1.5px solid var(--border); border-radius: 10px;
  width: 42px; height: 42px; font-size: 1.2rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.tool-row-del:hover { border-color: #E31E24; color: #E31E24; }
.tool-add { margin-bottom: 1rem; }

/* Sonuc kutusu */
.tool-result {
  border-radius: 13px; padding: 1.1rem 1.25rem; margin-top: 1.1rem;
  border: 1px solid; border-left-width: 4px;
}
.tool-result-title { font-weight: 700; font-size: 1.02rem; margin-bottom: .5rem; }
.tool-result-body { font-size: .93rem; line-height: 1.65; }
.tool-result-body p { margin: 0 0 .6rem; }
.tool-result-body p:last-child { margin-bottom: 0; }
.tool-result.yes  { background: #E9F7F0; border-color: #66C39A; color: #14603F; }
.tool-result.soon { background: #FFF8E8; border-color: #F0C97A; color: #6B4E12; }
.tool-result.no   { background: #FCEDEC; border-color: #EFA9A5; color: #90241F; }
.tool-result.warn { background: #F1F4F9; border-color: #C2CDDD; color: #43506A; }
.tool-note {
  border-top: 1px dashed currentColor; padding-top: .6rem; margin-top: .7rem !important;
  opacity: .92; font-size: .88rem;
}

.tool-privacy {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--ink-soft); margin: 1rem 0 0;
}
.tool-disclaimer {
  font-size: .82rem; color: var(--ink-soft); line-height: 1.65;
  margin: .9rem 0 0; max-width: 720px;
}

/* ---- Ilgili sayfa baglantilari ----
   Arac sayfalarinin altinda, ziyaretciyi konuyla ilgili yazilara yonlendirir.
   Icerikten geldigi icin panelden duzenlenebilir. */
.rel-links { margin: 1.6rem 0 0; }
.rel-links h3 {
  font-size: .95rem; color: var(--esc-blue);
  margin: 0 0 .7rem; font-weight: 600;
}
.rel-links ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: .5rem;
}
@media (min-width: 620px) { .rel-links ul { grid-template-columns: 1fr 1fr; } }
.rel-links li { margin: 0; }
.rel-links a {
  display: flex; align-items: center; gap: .55rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 11px; padding: .7rem .85rem;
  color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.4;
  transition: border-color .13s, color .13s;
}
.rel-links a:hover { border-color: var(--esc-magenta); color: var(--esc-magenta); text-decoration: none; }
.rel-links a i { font-size: 19px; color: var(--esc-cyan); flex: none; }
.rel-links a:hover i { color: var(--esc-magenta); }

/* Sayfa alti guncelleme tarihi */
.page-updated {
  display: flex; align-items: center; gap: .4rem;
  margin: 2rem 0 0; padding-top: .9rem;
  border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--ink-soft);
}
.page-updated i { font-size: 16px; }

/* ===============================================================
   ANASAYFA: SON VIDEOLAR
   Metin satiri olarak gosteriliyor, kapak gorseli yok. Bu sayfada
   hic dis gorsel bulunmamasi hiz acisindan bilincli bir tercih.
   =============================================================== */
.home-videos { display: grid; gap: .55rem; margin-top: 1.1rem; }

.home-video-row {
  display: flex; align-items: center; gap: .9rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: .95rem 1.1rem;
  color: var(--ink); text-decoration: none;
  transition: border-color .13s, transform .13s;
}
.home-video-row:hover {
  border-color: var(--esc-magenta); text-decoration: none;
  transform: translateX(2px);
}

.home-video-row .hv-play {
  flex: none; font-size: 20px; color: var(--esc-red);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(227, 30, 36, .10);
  display: flex; align-items: center; justify-content: center;
}
.home-video-row:hover .hv-play { background: rgba(227, 30, 36, .18); }

.home-video-row .hv-title {
  flex: 1; font-size: .98rem; line-height: 1.45; font-weight: 500;
}
.home-video-row .hv-go { flex: none; font-size: 17px; color: var(--ink-soft); }
.home-video-row:hover .hv-go { color: var(--esc-magenta); }

.home-videos-more { margin-top: 1rem; text-align: center; }
.home-videos-more a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .94rem; font-weight: 600; color: var(--esc-blue);
  text-decoration: none;
}
.home-videos-more a:hover { color: var(--esc-magenta); text-decoration: none; }

@media (max-width: 560px) {
  .home-video-row { padding: .85rem .9rem; gap: .7rem; }
  .home-video-row .hv-title { font-size: .92rem; }
}
