/* SEG-DER Kurumsal Site — public.css */
:root {
  --primary: #007c49;
  --primary-dark: #005c37;
  --primary-light: #e6f4ec;
  --secondary: #16324f;
  --accent: #f2a007;
  --accent-dark: #d98d05;
  --success: #0d8a4d;
  --text: #1f2937;
  --muted: #64748b;
  --surface: #f5f8f6;
  --background: #ffffff;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(22, 50, 79, .08);
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.container { width: min(1180px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- En üst ince çizgi ---------- */
.topline {
  height: 5px;
  background: var(--secondary);
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { color: var(--primary); font-size: 1.35rem; letter-spacing: .5px; }
.brand-full { color: var(--muted); font-size: .78rem; }
.header-side { display: flex; align-items: center; gap: 1.4rem; }
.header-slogan {
  font-style: italic; color: var(--secondary); font-size: .98rem;
  opacity: .85; white-space: nowrap;
}
.btn-donate {
  background: var(--accent); color: var(--secondary);
  font-weight: 700; padding: .5rem 1.3rem; border-radius: 999px;
  text-decoration: none; font-size: .92rem; white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn-donate:hover { background: var(--accent-dark); color: #fff; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .6rem; cursor: pointer;
}
.menu-toggle span {
  width: 24px; height: 3px; background: var(--secondary); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Nav ---------- */
.main-nav { background: #fff; border-bottom: 2px solid var(--primary); }
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: stretch; gap: .2rem;
}
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .85rem .9rem;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 0; background: none; cursor: pointer; font-family: var(--font);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active { box-shadow: inset 0 -3px 0 var(--primary); }

.has-dropdown { position: relative; }
.dropdown {
  list-style: none; margin: 0; padding: .4rem 0;
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  display: none; z-index: 120;
}
.has-dropdown.open > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }
@media (hover: hover) {
  .has-dropdown:hover > .dropdown { display: block; }
}
.dropdown a {
  display: block; padding: .55rem 1rem;
  color: var(--text); text-decoration: none; font-size: .9rem;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--primary-light); color: var(--primary-dark); }

/* İki sütunlu açılır menü (Kurumsal, Medya Merkezi) — yalnızca masaüstü */
@media (min-width: 901px) {
  .dropdown-iki { min-width: 470px; }
  .has-dropdown.open > .dropdown-iki,
  .has-dropdown:focus-within > .dropdown-iki {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: .25rem;
  }
}
@media (hover: hover) and (min-width: 901px) {
  .has-dropdown:hover > .dropdown-iki {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: .25rem;
  }
}

.nav-cta { margin-left: auto; display: flex; align-items: center; }
.btn-apply {
  display: inline-block;
  background: var(--accent); color: var(--secondary);
  font-weight: 700; text-decoration: none;
  padding: .55rem 1.2rem; border-radius: 999px; margin: .45rem 0;
}
.btn-apply:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Hero slider ---------- */
.slider { position: relative; overflow: hidden; background: var(--secondary); }
.slider-track { display: flex; transition: transform .5s ease; }
.slide {
  position: relative; flex: 0 0 100%;
  aspect-ratio: 16 / 7; max-height: 560px;
}
.slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,50,79,.15) 0%, rgba(22,50,79,.68) 100%);
  display: flex; align-items: flex-end;
}
.slide-caption { padding-bottom: 3.2rem; color: #fff; }
.slide-title {
  margin: 0 0 .4rem; font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.35); color: #fff;
}
.slide-sub { margin: 0 0 1.1rem; font-size: clamp(.95rem, 1.6vw, 1.2rem); opacity: .95; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.85); color: var(--secondary);
  font-size: 1.1rem; cursor: pointer; z-index: 5;
  display: inline-flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: #fff; }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

.slider-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 5;
}
.slider-dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0;
}
.slider-dot.is-active { background: #fff; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; padding: .7rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  font-size: .95rem; transition: background .15s, color .15s;
}
.btn-accent { background: var(--accent); color: var(--secondary); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--primary-light); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---------- Sayaçlar ---------- */
.stats { background: var(--primary); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem; padding: 1.8rem 0; text-align: center;
}
.stat-number { display: block; font-size: 2.2rem; font-weight: 800; }
.stat-label { font-size: .9rem; opacity: .92; }

/* ---------- Bölümler ---------- */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--surface); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 1.6rem;
}
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-title {
  margin: 0; font-size: 1.55rem; color: var(--secondary);
  border-left: 5px solid var(--primary); padding-left: .7rem;
}
.section-head-center .section-title { border: 0; padding: 0; }
.section-sub { color: var(--muted); max-width: 640px; margin: .4rem 0 0; }
.section-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-more:hover { text-decoration: underline; }
.section-footer-link { text-align: center; margin-top: 1.8rem; }
.empty-note {
  background: var(--surface); border: 1px dashed var(--border);
  padding: 1.2rem 1.4rem; border-radius: var(--radius); color: var(--muted);
}

/* ---------- Haber + Duyuru ---------- */
.news-ann-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 2.2rem;
  align-items: start;
}
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.news-card-lg { grid-column: 1 / -1; }
.news-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.news-card-link:hover .news-title { color: var(--primary); }
.news-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.news-thumb-empty { background: linear-gradient(135deg, var(--primary-light), var(--surface)); }
.news-card-lg .news-thumb { aspect-ratio: 21/9; }
.news-body { padding: .9rem 1.1rem 1.1rem; }
.news-date { color: var(--muted); font-size: .8rem; }
.news-title { margin: .25rem 0 .4rem; font-size: 1.05rem; color: var(--secondary); transition: color .15s; }
.news-card-lg .news-title { font-size: 1.3rem; }
.news-excerpt { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.news-more { font-size: .85rem; font-weight: 600; color: var(--primary); }

.ann-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.ann-item a {
  display: flex; gap: .8rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: .7rem .9rem; text-decoration: none; color: inherit; box-shadow: var(--shadow);
}
.ann-item a:hover .ann-title { color: var(--primary); }
.ann-date {
  flex: 0 0 52px; text-align: center; background: var(--primary);
  color: #fff; border-radius: 8px; padding: .35rem 0;
}
.ann-day { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.1; }
.ann-month { display: block; font-size: .72rem; text-transform: uppercase; }
.ann-badge {
  display: inline-block; background: var(--accent); color: var(--secondary);
  font-size: .68rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px;
  margin-bottom: .15rem;
}
.ann-title { display: block; font-weight: 600; font-size: .92rem; color: var(--text); }
.ann-excerpt { display: block; color: var(--muted); font-size: .83rem; margin-top: .15rem; }
.ann-list-page { max-width: 780px; }

/* ---------- Karma akış (Haber + Etkinlik + Duyuru) ---------- */
.feed-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.feed-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(22, 50, 79, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feed-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 50, 79, .13); }
.feed-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.feed-card-link:hover .feed-title { color: var(--primary); }
.feed-media { position: relative; }
.feed-thumb { width: 100%; aspect-ratio: 16/9.5; object-fit: cover; display: block; }
.feed-views {
  position: absolute; top: .7rem; right: .7rem;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255, 255, 255, .92); color: var(--secondary);
  font-size: .72rem; font-weight: 600; padding: .18rem .6rem;
  border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.feed-media-empty {
  aspect-ratio: 16/9.5;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
}
.feed-date-big { text-align: center; color: #fff; }
.feed-day { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1.05; }
.feed-month { display: block; font-size: .8rem; text-transform: uppercase; opacity: .9; }
.feed-badge {
  position: absolute; top: .7rem; left: .7rem;
  font-size: .68rem; font-weight: 700; padding: .18rem .65rem;
  border-radius: 999px; color: #fff; letter-spacing: .3px;
}
.feed-badge-haber { background: var(--primary); }
.feed-badge-etkinlik { background: var(--accent); color: var(--secondary); }
.feed-badge-duyuru { background: var(--secondary); }
.feed-body { padding: .85rem 1.1rem 1.15rem; }
.feed-meta {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted); font-size: .78rem; margin-bottom: .35rem;
}
.feed-meta-item { display: inline-flex; align-items: center; gap: .32rem; }
.feed-meta-item svg { opacity: .7; flex-shrink: 0; }
.feed-title { margin: .25rem 0 .4rem; font-size: 1rem; font-weight: 700; color: var(--secondary); transition: color .15s; }
.feed-excerpt { color: var(--muted); font-size: .86rem; margin: 0; }

/* ---------- Onların Hikâyesi (referans kartları) ---------- */
.stories { background: var(--surface); }
.title-accent { color: var(--primary); }
.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.story-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); height: 100%;
}
.story-card-link {
  display: flex; flex-direction: column; height: 100%;
  padding: 1.6rem 1.5rem 1.4rem; text-decoration: none; color: inherit;
}
.story-card-link:hover .story-name { color: var(--primary); }
.story-quote {
  font-size: 3rem; line-height: 1; color: var(--primary);
  font-family: Georgia, serif; margin-bottom: .4rem;
}
.story-text {
  font-style: italic; color: #444; font-size: .98rem; line-height: 1.65;
  margin: 0 0 1.3rem; flex: 1;
}
.story-person { display: flex; align-items: center; gap: .85rem; }
.story-avatar {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
  flex: 0 0 56px;
}
.story-avatar-initials {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.15rem; text-transform: uppercase;
}
.story-color-1 { background: #2b7a8c; }
.story-color-2 { background: #7a9a2b; }
.story-color-3 { background: #b06a9a; }
.story-who { display: flex; flex-direction: column; line-height: 1.35; }
.story-name { color: var(--secondary); font-size: 1rem; transition: color .15s; }
.story-info { color: var(--muted); font-size: .82rem; }

/* ---------- Kartlar ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .82rem; }
.card-title { margin: 0; font-size: 1.08rem; color: var(--secondary); }
.card-text { margin: 0; color: var(--muted); font-size: .9rem; }
.card-facts { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .85rem; }
.card-link { margin-top: auto; font-weight: 600; font-size: .88rem; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: .15rem .6rem; border-radius: 999px; background: var(--surface); color: var(--muted);
}
.tag-primary { background: var(--primary-light); color: var(--primary-dark); }
.tag-success { background: #dcf5e7; color: var(--success); }
.tag-muted { background: var(--surface); color: var(--muted); }

/* ---------- Galeri ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: .8rem;
}
.gallery-item {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-item:nth-child(6n+1), .gallery-item:nth-child(6n+5) { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; background: rgba(10, 20, 30, .92);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92%; max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); border: 0; color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 4px;
  transition: background .2s ease;
}
.lightbox-nav:hover, .lightbox-nav:focus-visible { background: rgba(255, 255, 255, .3); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

/* ---------- Mezunlar ---------- */
.graduate-card { text-align: center; }
.graduate-photo {
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover; margin: 1.4rem auto 0;
  border: 4px solid var(--primary-light);
}
.graduate-photo-empty { background: linear-gradient(135deg, var(--primary-light), var(--surface)); }
.graduate-info { margin: 0; color: var(--primary-dark); font-weight: 600; font-size: .9rem; }

/* ---------- CTA ---------- */
.cta { padding: 2.6rem 0; }
.cta-burs { background: var(--secondary); color: #fff; }
.cta-bagis { background: var(--primary); color: #fff; }
.cta-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.6rem; flex-wrap: wrap;
}
.cta-title { margin: 0 0 .3rem; font-size: 1.5rem; color: #fff; }
.cta-text { margin: 0; opacity: .92; }

/* ---------- İç sayfalar ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 2.2rem 0;
}
.page-title { margin: 0 0 .5rem; font-size: 1.8rem; color: #fff; }
.breadcrumb { font-size: .85rem; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,.65); }
.page-content { padding: 2.4rem 0 3.2rem; }

.placeholder-box {
  text-align: center; max-width: 520px; margin: 2rem auto;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 2.6rem 2rem;
}
.placeholder-icon { color: var(--primary); }
.placeholder-box h2 { color: var(--secondary); margin: .6rem 0 .4rem; }
.placeholder-box p { color: var(--muted); margin: .3rem 0; }

.detail-article { max-width: 800px; }
.detail-cover { width: 100%; border-radius: var(--radius); margin-bottom: 1.2rem; }
.detail-photo { max-width: 320px; display: block; }
.detail-meta { color: var(--muted); font-size: .9rem; }
.detail-lead { font-size: 1.12rem; color: var(--secondary); font-weight: 500; }
.detail-content { color: var(--text); }
.detail-facts {
  list-style: none; padding: 0; margin: 0 0 1.2rem;
  background: var(--surface); border-radius: var(--radius); padding: 1rem 1.2rem;
}
.detail-facts li { padding: .2rem 0; }

/* ---------- Mesajlar ---------- */
.site-messages { margin-top: 1rem; }
.site-message {
  padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: .5rem;
  background: var(--primary-light); color: var(--primary-dark); font-weight: 500;
}
.site-message-error { background: #fde8e8; color: #b91c1c; }
.site-message-success { background: #dcf5e7; color: var(--success); }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary); color: #c9d8e8; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem; padding: 3rem 0 2rem;
}
.footer-heading {
  color: #fff; font-size: 1rem; margin: 0 0 .9rem;
  border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: .3rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .45rem; font-size: .9rem; }
.footer-col a { color: #c9d8e8; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-about p { font-size: .9rem; margin: 0; }
.footer-social { display: flex; gap: .5rem; margin-top: .8rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; text-decoration: none;
}
.footer-social a:hover { background: var(--accent); color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: .9rem 0; font-size: .82rem; color: #93a8bf;
}
.footer-admin { color: #93a8bf; text-decoration: none; font-size: .82rem; }
.footer-admin:hover { color: #fff; }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer-legal a { color: #93a8bf; text-decoration: none; font-size: .82rem; }
.footer-legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .news-ann-grid { grid-template-columns: 1fr; }
  .feed-grid, .story-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .header-slogan { display: none; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .header-side { gap: .6rem; }
  .btn-donate { padding: .4rem .9rem; font-size: .82rem; }
  .main-nav {
    display: none; border-top: 1px solid var(--border);
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: .5rem 0; }
  .nav-link { width: 100%; text-align: left; padding: .8rem 0; font-size: 1rem; }
  .nav-link.active { box-shadow: none; border-left: 4px solid var(--primary); padding-left: .6rem; }
  .has-dropdown .dropdown {
    position: static; display: none; border: 0; box-shadow: none;
    padding-left: 1rem; min-width: 0;
  }
  .has-dropdown.open > .dropdown { display: block; }
  .has-dropdown:focus-within > .dropdown { display: none; }
  .has-dropdown.open:focus-within > .dropdown { display: block; }
  .nav-cta { margin: .6rem 0; }
  .btn-apply { display: block; text-align: center; margin: 0; }
  .slide { aspect-ratio: 16/13; }
  .slide-caption { padding-bottom: 2.2rem; }
  .slide-title { font-size: 1.4rem; }
  .slide-sub { font-size: .92rem; }
  .slide-title, .slide-sub { padding-right: 2.6rem; padding-left: 2.6rem; }
  .slider-btn {
    width: 34px; height: 34px; font-size: .9rem;
    background: rgba(255,255,255,.55);
  }
  .slider-prev { left: .5rem; }
  .slider-next { right: .5rem; }
  .news-grid { grid-template-columns: 1fr; }
  .feed-grid, .story-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; padding: 2rem 0 1.4rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: .3rem; }
}

/* ---------- İç sayfa CMS: kurul üyeleri ---------- */
.board-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.2rem;
}
.board-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 2px 10px rgba(22, 50, 79, .07);
  padding: 1.5rem 1.2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
}
.board-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
}
.board-avatar-initials {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; font-size: 1.5rem; font-weight: 700;
}
.board-name { color: var(--secondary); font-size: 1.02rem; }
.board-role { color: var(--muted); font-size: .88rem; }
.board-bio {
  color: var(--muted); font-size: .85rem; line-height: 1.55;
  margin: .3rem 0 0; text-align: left;
}

/* ---------- İç sayfa CMS: belge listeleri ---------- */
.doc-group { margin-bottom: 2rem; }
.doc-group-title {
  color: var(--secondary); font-size: 1.25rem; margin: 0 0 .9rem;
  padding-left: .8rem; border-left: 4px solid var(--primary);
}
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.doc-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22, 50, 79, .05);
  transition: box-shadow .15s ease;
}
.doc-item:hover { box-shadow: 0 6px 16px rgba(22, 50, 79, .12); }
.doc-link {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem; text-decoration: none; color: inherit;
}
.doc-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--primary);
}
.doc-body { flex: 1; min-width: 0; }
.doc-title { display: block; color: var(--secondary); font-size: .98rem; }
.doc-link:hover .doc-title { color: var(--primary); }
.doc-desc { display: block; color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.doc-meta { flex-shrink: 0; color: var(--muted); font-size: .78rem; white-space: nowrap; }

/* ---------- İç sayfa CMS: iletişim ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem;
  align-items: stretch;
}
.contact-cards { display: grid; gap: 1rem; align-content: start; }
.contact-card {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22, 50, 79, .05); padding: 1.1rem 1.2rem;
}
.contact-card p { margin: 0; color: var(--text); font-size: .95rem; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card-title {
  margin: 0 0 .3rem; font-size: 1rem; color: var(--secondary);
}
.contact-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--primary);
}
.contact-map {
  min-height: 320px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(22, 50, 79, .05);
}
.contact-map iframe { display: block; min-height: 320px; }

/* ---------- İç sayfa CMS: bağış ---------- */
.donate-box {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 2px 10px rgba(22, 50, 79, .07);
  border-left: 5px solid var(--accent);
  padding: 1.4rem 1.6rem; margin-top: 1.2rem;
}
.donate-box-title { margin: 0 0 .7rem; font-size: 1.15rem; color: var(--secondary); }
.donate-account { margin: 0; }
.donate-account-row {
  display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline;
  padding: .55rem 0; border-bottom: 1px dashed var(--border);
}
.donate-account-row:last-child { border-bottom: 0; }
.donate-account-row dt {
  flex: 0 0 9rem; font-weight: 700; color: var(--muted); font-size: .92rem;
}
.donate-account-row dd { margin: 0; flex: 1; min-width: 12rem; }
.donate-iban { font-weight: 700; letter-spacing: .03em; margin-right: .6rem; }
.btn-copy {
  border: 1px solid var(--border); background: #fff; color: var(--secondary);
  border-radius: 999px; padding: .25rem .9rem; font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-copy:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-copy-ok, .btn-copy-ok:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.donate-note {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 2px 10px rgba(22, 50, 79, .07);
  border-left: 5px solid var(--secondary);
  padding: 1.4rem 1.6rem; margin-top: 1.2rem;
}
.donate-note p { margin: 0; color: var(--muted); }
.donate-note a { color: var(--secondary); font-weight: 600; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .doc-meta { display: none; }
}

/* ---------- Online başvuru formları ---------- */
.apply-intro { color: var(--muted); max-width: 60ch; }
.apply-form { max-width: 820px; }
.apply-section {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 1.2rem 1.4rem 1.4rem; margin: 0 0 1.4rem; background: #fff;
  box-shadow: var(--shadow);
}
.apply-section legend {
  font-size: 1.05rem; font-weight: 700; color: var(--secondary);
  padding: 0 .5rem;
}
.form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem;
}
.form-field label {
  display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem;
  color: var(--secondary);
}
.req-star { color: #dc2626; }
.form-input,
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="number"],
.apply-form input[type="date"],
.apply-form input[type="file"],
.apply-form select,
.apply-form textarea {
  width: 100%; padding: .6rem .8rem; font-size: .95rem; font-family: inherit;
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
  color: var(--text);
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
  outline: 2px solid var(--primary); border-color: var(--primary);
}
.form-hint { display: block; color: var(--muted); font-size: .8rem; margin-top: .25rem; }
.form-error { color: #dc2626; font-size: .85rem; margin: .3rem 0 0; }
.form-errors-top {
  border: 1px solid #fecaca; background: #fef2f2; border-radius: 10px;
  padding: .8rem 1.2rem; margin-bottom: 1.2rem; max-width: 820px;
}
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}
.kvkk-box {
  border: 1px solid var(--border); border-left: 5px solid var(--primary);
  border-radius: 10px; background: var(--primary-light);
  padding: .9rem 1.2rem; margin-bottom: 1.4rem; max-width: 820px;
}
.kvkk-label { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; font-size: .92rem; }
.kvkk-label input { margin-top: .25rem; width: auto; }
.btn-apply {
  display: inline-block; background: var(--accent); color: var(--secondary);
  font-weight: 700; font-size: 1rem; border: 0; border-radius: 10px;
  padding: .8rem 2.2rem; cursor: pointer;
}
.apply-success {
  border: 1px solid var(--border); border-radius: 14px; background: #fff;
  box-shadow: var(--shadow); text-align: center;
  padding: 3rem 1.5rem; max-width: 640px; margin: 1rem auto;
}
.apply-success-icon { color: var(--success); display: inline-block; margin-bottom: .8rem; }
.apply-success h2 { color: var(--secondary); margin: 0 0 .6rem; }
.apply-success p { color: var(--muted); max-width: 48ch; margin: 0 auto 1.4rem; }
.btn-primary-link {
  display: inline-block; background: var(--primary); color: #fff;
  padding: .7rem 1.8rem; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.btn-primary-link:hover { background: var(--primary-dark); }

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

/* ---------- Burs başvurusu: kriter kartı ve uzun form ---------- */
.criteria-card {
  background: var(--primary-light); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.3rem 1.6rem; margin-bottom: 1.4rem;
  max-width: 820px;
}
.criteria-title { margin: 0 0 .5rem; font-size: 1.15rem; color: var(--secondary); }
.criteria-card p { margin: 0 0 .8rem; color: var(--text); }
.criteria-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 1.5rem;
}
.criteria-list li { position: relative; padding-left: 1.5rem; color: var(--text); }
.criteria-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--primary);
  font-weight: 700;
}
.legend-note { font-size: .8rem; font-weight: 400; color: var(--muted); }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.kvkk-title { font-weight: 700; color: var(--secondary); margin: 0 0 .5rem; }
.kvkk-box p { font-size: .88rem; color: var(--text); margin: 0 0 .7rem; }
.kvkk-box .kvkk-label { margin-top: .4rem; }

@media (max-width: 900px) {
  .criteria-list { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr; }
}

/* Haber detayı: video + alt galeri */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.detail-subheading {
  margin: 32px 0 16px;
  font-size: 1.35rem;
}
