/* ════════════════════════════════════════════════════════════════
   Bucak Tanitim Platformu — Resmi Kurum Teması
   ════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0a2756;
  --navy-dark:    #061a40;
  --navy-mid:     #0d3570;
  --blue:         #1464b4;
  --blue-light:   #e8f2fc;
  --gold:         #c9940a;
  --gold-light:   #f9efc7;
  --success:      #28c76f;
  --danger:       #ea5455;
  --danger-dark:  #d03e3f;
  --text:         #2c3e50;
  --text-muted:   #6e7a8a;
  --text-light:   #a0aab5;
  --bg:           #f0f4f9;
  --card:         #ffffff;
  --border:       #d8e4ee;
  --radius:       6px;
  --shadow-xs:    0 2px 6px rgba(10,39,86,.07);
  --shadow-sm:    0 4px 14px rgba(10,39,86,.11);
  --shadow:       0 8px 28px rgba(10,39,86,.14);
  --max-w:        1200px;

  /* compat aliases */
  --primary:      var(--blue);
  --primary-dark: #0e559a;
  --primary-light: var(--blue-light);
  --accent:       var(--gold);
}

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

html, body { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

html { scroll-padding-top: 155px; }

/* ── Site Header Group (Fixed Overlay) ───────────────────────────── */
.site-header-group {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
}

/* ── Top Bar ──────────────────────────────────────────────────────── */
.top-bar {
  background: rgba(2, 8, 24, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
}
.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.85);
  font-weight: 700;
  letter-spacing: .01em;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.top-bar-links { display: flex; align-items: center; gap: .1rem; }
.top-bar-links a {
  color: rgba(255,255,255,.85);
  padding: .18rem .5rem;
  border-radius: 3px;
  transition: color .15s, background .15s;
  font-size: .72rem;
  font-weight: 700;
}
.top-bar-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.top-bar-sep {
  width: 1px; height: 14px;
  background: rgba(255,255,255,.18);
}
.top-bar-social-label {
  font-size: .68rem;
  color: rgba(255,255,255,.65);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.top-bar-social { display: flex; align-items: center; gap: .5rem; }
.tb-soc-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
  color: rgba(255,255,255,.85);
  transition: color .2s, background .2s, box-shadow .2s, filter .2s;
  animation: tb-soc-shimmer 3s ease-in-out infinite;
}
.tb-soc-icon:nth-child(2) { animation-delay: .4s; }
.tb-soc-icon:nth-child(3) { animation-delay: .8s; }
.tb-soc-icon:nth-child(4) { animation-delay: 1.2s; }
@keyframes tb-soc-shimmer {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
  50%       { filter: drop-shadow(0 0 5px rgba(255,255,255,.7)); }
}
.tb-soc-icon:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
  filter: drop-shadow(0 0 7px rgba(255,255,255,.9)) !important;
  animation: none;
}
.tb-soc-icon svg { width: 18px; height: 18px; stroke-width: 2.5; }

/* ── Header ──────────────────────────────────────────────────────── */
header {
  color: #fff;
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 10;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 1rem; }
.logo img { opacity: 1; height: 62px !important; }
.logo h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.5);
}
.logo small {
  display: block;
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  margin-top: .05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.4);
}
.logo-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

.header-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.header-nav a {
  padding: .5rem 1rem;
  border-radius: 4px;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: background .15s, color .15s;
}
.header-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }

.header-tarih-link {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: .82rem !important;
  color: #fff !important;
  letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.75), 0 1px 4px rgba(0,0,0,.6), 0 0px 2px rgba(0,0,0,.5);
  padding: .35rem .8rem !important;
}
.header-tarih-link:hover {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.7), 0 0px 3px rgba(0,0,0,.5);
}

.btn-login {
  background: #6b7280 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.btn-login:hover { background: #4b5563 !important; }

.btn-nav-gonder {
  background: #6b7280 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  padding: .55rem 1.2rem !important;
  font-size: .92rem !important;
  border: none !important;
  transition: background .15s !important;
}
.btn-nav-gonder:hover { background: #4b5563 !important; }

.btn-nav-mesaj {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  color: rgba(255,255,255,.85) !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  padding: .4rem .95rem !important;
  font-size: .8rem !important;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s !important;
}
.btn-nav-mesaj:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.6) !important;
  color: #fff !important;
}

.user-menu { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .38rem .75rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  font-family: inherit;
  transition: background .15s;
}
.user-menu-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.user-avatar-sm {
  width: 26px; height: 26px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: var(--navy-dark);
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + .5rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 185px;
  padding: .4rem;
  display: none;
  z-index: 300;
  box-shadow: var(--shadow);
}
.user-dropdown.open { display: block; }
.user-dropdown a, .user-dropdown button {
  display: block; width: 100%; text-align: left;
  padding: .5rem .75rem;
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer; background: none; border: none;
  font-family: inherit;
  transition: background .15s;
}
.user-dropdown a:hover, .user-dropdown button:hover {
  background: var(--blue-light); color: var(--blue);
}

/* ── Header Sub Bar (Sosyal Medya + Filtre) ───────────────────────── */
.header-sub-bar {
  background: rgba(3, 12, 36, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 12px 40px rgba(0,0,0,.50),
    0 3px 10px rgba(0,0,0,.25);
}
.header-sub-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .45rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-social {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.header-social-label {
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: .3rem;
  white-space: nowrap;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 4px;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.1);
  transition: color .15s, border-color .15s, background .15s;
  flex-shrink: 0;
}
.social-icon:hover {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.09);
}
.social-icon svg { width: 14px; height: 14px; }
.header-sub-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-sub-nav::-webkit-scrollbar { display: none; }
.header-sub-nav a {
  flex-shrink: 0;
  font-size: .74rem;
  font-weight: 500;
  color: rgba(255,255,255,.48);
  padding: .28rem .75rem;
  border-radius: 3px;
  transition: color .15s, background .15s;
  border-bottom: 2px solid transparent;
}
.header-sub-nav a:hover { color: rgba(255,255,255,.9); background: rgba(255,255,255,.07); }
.header-sub-nav a.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 600; }

/* ── Hero — Tam Genişlik Görsel (CKA stili: 100vw × 100vh) ─────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  flex-shrink: 0;   /* flex body içinde küçülmesin */
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top,
    rgba(2, 8, 24, 0.72) 0%,
    rgba(2, 8, 24, 0.40) 40%,
    rgba(2, 8, 24, 0.10) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}
.hero-bg {
  /* Absolute ile hero'yu tamamen kapla — img tag için güvenli yöntem */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.70) saturate(0.88) contrast(1.06);
  transform-origin: center center;
  transition: transform 9s ease, opacity 0.6s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-overlay {
  position: absolute;
  inset: 0;
  /* CKA tarzı katmanlı overlay:
     - üstte güçlü karartma (header okunabilirliği)
     - ortada hafif (manzarayı göster)
     - altta metin okunabilirliği için karartma
     - soldan sağa hafif degrade */
  background:
    linear-gradient(
      180deg,
      rgba(3,14,42,.42) 0%,
      rgba(3,14,42,.14) 35%,
      rgba(3,14,42,.48) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0,15,45,.15) 0%,
      transparent 55%
    );
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem 14rem;
}
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: .9rem;
  border: 1px solid rgba(255,255,255,.25);
}
.hero h2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
  margin-bottom: .6rem;
}
.hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* ── Duyuru Bandı ──────────────────────────────────────────────── */
.ann-bar {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  z-index: 10;
  height: 50px;
  background: rgba(13, 18, 36, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,.1);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.55);
  overflow: hidden;
}
.ann-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  background: rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.1);
  color: #fff;
  flex-shrink: 0;
}
.ann-viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
}
/* Kayan şerit */
.ann-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  will-change: transform;
  animation: ann-scroll 30s linear infinite;
}
@keyframes ann-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* Her bir duyuru öğesi */
.ann-item {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  vertical-align: middle;
}
/* Tarih — arka plansız, sadece kalın metin */
.ann-date-badge {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  text-decoration: none;
  flex-shrink: 0;
  vertical-align: middle;
  transition: opacity .15s;
}
.ann-date-badge:hover { opacity: .8; }
.ann-day {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
}
.ann-month {
  font-size: .72rem;
  font-weight: 800;
  color: rgba(255,255,255,.85);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}
.ann-text-link {
  font-size: .82rem;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s;
  vertical-align: middle;
}
.ann-text-link:hover { color: #fff; }
/* Ayırıcı boşluk */
.ann-sep {
  display: inline-block;
  width: 3.5em;
  vertical-align: middle;
}
.ann-all-btn {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 1.3rem;
  background: rgba(255,255,255,.07);
  border-left: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background .15s;
}
.ann-all-btn:hover { background: rgba(255,255,255,.13); }
@media (max-width: 640px) {
  .ann-bar { height: 44px; left: .75rem; right: .75rem; bottom: 0; border-radius: 6px 6px 0 0; border-bottom: none; }
  .ann-icon-box { width: 40px; min-width: 40px; }
  .ann-all-btn span { display: none; }
  .ann-all-btn { padding: 0 .75rem; }
  .ann-text-link { font-size: .74rem; }
  .ann-day { font-size: .88rem; }
  .ann-month { font-size: .64rem; }
}

/* ── Stats Bar ────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.stats-bar-inner {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
}
.hero-stat {
  flex: 1;
  padding: 1.1rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(255,255,255,.07); }
.hero-stat .n {
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  line-height: 1;
  margin-bottom: .2rem;
}
.hero-stat .l {
  font-size: .65rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

/* ── Filter / Nav bar ─────────────────────────────────────────────── */
.filter-section {
  background: var(--card);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(10,39,86,.07);
}
.filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-tab {
  flex-shrink: 0;
  padding: .9rem 1.15rem;
  font-size: .83rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  margin-bottom: -2px;
}
.filter-tab:hover { color: var(--navy); background: var(--blue-light); }
.filter-tab.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }
.search-wrap { margin-left: auto; padding: .6rem 0; flex-shrink: 0; }
.search-wrap input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .42rem 1.1rem;
  font-size: .83rem;
  width: 210px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  font-family: inherit;
  color: var(--text);
}
.search-wrap input:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,39,86,.1);
}

/* ── Main layout ──────────────────────────────────────────────────── */
.main-content { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.5rem; }
.section-title {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Feed layout ──────────────────────────────────────────────────── */
.feed-layout { display: grid; grid-template-columns: 1fr 260px; gap: 1.5rem; align-items: start; }
.feed-col { min-width: 0; }

/* ── İçerik Kartları ─────────────────────────────────────────────── */
.feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.feed-item {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 14px rgba(10,39,86,.10);
  border-bottom: 3px solid transparent;
}
.feed-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(10,39,86,.16);
  border-bottom-color: var(--navy);
}
.feed-item:hover .feed-item-title { color: var(--navy); }

/* Görsel alanı */
.feed-item-img-wrap {
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.feed-item-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.feed-item:hover .feed-item-img { transform: scale(1.06); }

/* Görsel üstündeki kategori etiketi */
.feed-item-badge {
  position: absolute;
  bottom: 0; left: 0;
  padding: .3rem .8rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
}
.feed-item-badge--BIOGRAPHY { background: rgba(10,39,86,.82); }
.feed-item-badge--PLACE     { background: rgba(16,100,55,.82); }
.feed-item-badge--HISTORY   { background: rgba(140,95,0,.82);  }
.feed-item-badge--CULTURE   { background: rgba(80,30,140,.82); }
.feed-item-badge--MUSIC     { background: rgba(91,45,142,.85); }

/* Görselsiz kart için renkli üst şerit */
.feed-item-no-img { width: 100%; height: 6px; flex-shrink: 0; }

/* Görselsiz kart için inline badge */
.feed-item-badge-inline {
  display: inline-block;
  align-self: flex-start;
  padding: .22rem .65rem;
  border-radius: 4px;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Kart gövdesi */
.feed-item-body {
  padding: 1.05rem 1.25rem 1.2rem;
  display: flex; flex-direction: column; gap: .45rem;
  flex: 1;
}
.feed-item-title {
  font-size: 1rem;
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.38;
  color: var(--text);
  transition: color .15s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feed-item-content {
  font-size: .82rem;
  line-height: 1.68;
  color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Müzik Kartı ──────────────────────────────────────────────────── */
.music-card { cursor: default; }
.music-card:hover { transform: translateY(-6px); }
.music-card-top {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.music-card-cover {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.music-card:hover .music-card-cover { transform: scale(1.06); }
.music-card-cover--placeholder {
  background: linear-gradient(135deg, #3b1f6b 0%, #5b2d8e 100%);
  display: flex; align-items: center; justify-content: center;
}
.music-card-cover--placeholder svg {
  width: 56px; height: 56px;
  color: rgba(255,255,255,.35);
}
.music-player {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: .8rem;
  padding: .55rem .75rem;
  background: linear-gradient(90deg, #5b2d8e18, #5b2d8e0a);
  border: 1px solid rgba(91,45,142,.22);
  border-radius: 8px;
}
.music-play-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #5b2d8e;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.music-play-btn:hover { background: #7a3fbf; transform: scale(1.08); }
.music-play-btn.playing { background: #7a3fbf; }
.music-play-btn svg { width: 14px; height: 14px; }
.music-player-info { min-width: 0; }
.music-player-label {
  font-size: .75rem; font-weight: 600;
  color: #5b2d8e;
  letter-spacing: .04em;
}

/* ── Sidebar ──────────────────────────────────────────────────────── */
.feed-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 118px; }
.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.widget-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  background: var(--navy);
  padding: .65rem 1rem;
  margin: 0;
  border-left: 3px solid var(--gold);
}
.widget-body { padding: .75rem; }
.widget-cat {
  display: block; width: 100%; text-align: left;
  padding: .55rem .75rem;
  border: none; background: none;
  font-family: inherit; font-size: .87rem;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: .2rem;
  transition: background .12s, color .12s;
  font-weight: 500;
}
.widget-cat:hover { background: var(--blue-light); color: var(--navy); }
.widget-cat.active { background: var(--navy); color: #fff; font-weight: 600; }
.widget-btn {
  display: block; text-align: center;
  padding: .7rem 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: .88rem;
  transition: background .15s;
  border-radius: 0;
}
.widget-btn:hover { background: #b5840a; }

/* ── Sidebar önemli kişiler ───────────────────────────────────────── */
.sidebar-people-list { padding: .4rem 0; }
.sidebar-person {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.sidebar-person:last-child { border-bottom: none; }
.sidebar-person:hover { background: var(--blue-light); }
.sidebar-person-img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #c8d8ea;
}
.sidebar-person-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  flex-shrink: 0;
}
.sidebar-person-info { min-width: 0; }
.sidebar-person-name { font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.sidebar-person-desc { font-size: .77rem; color: var(--text-muted); margin-top: .2rem; line-height: 1.45; }

/* ── Badge ────────────────────────────────────────────────────────── */
.card-badge { display: inline-block; padding: .2rem .65rem; border-radius: 20px; font-size: .7rem; font-weight: 600; letter-spacing: .02em; }
.badge-BIOGRAPHY { background: #e8f2fc; color: var(--navy); }
.badge-PLACE     { background: #e6f9f0; color: #1a7a44; }
.badge-HISTORY   { background: #fef4e2; color: #a07000; }
.badge-CULTURE   { background: #f5eeff; color: #6030a0; }

/* ── Loading / empty ──────────────────────────────────────────────── */
.loading-wrap { padding: 3.5rem; text-align: center; color: var(--text-muted); }
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty { padding: 3.5rem; text-align: center; color: var(--text-muted); }
.empty .big { font-size: 3rem; margin-bottom: .5rem; }
.hidden { display: none !important; }

/* ── Genel Modal Overlay ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(4,10,26,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 998; padding: 1.25rem;
  animation: am-fade-in .2s ease;
}
.modal {
  background: var(--card, #fff);
  border-radius: 14px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(4,10,26,.35);
  position: relative;
  animation: am-slide-up .22s cubic-bezier(.22,.61,.36,1);
}
.btn-close {
  position: absolute; top: .85rem; right: .85rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--text-muted, #64748b);
  padding: .15rem .4rem; border-radius: 6px;
  transition: background .15s, color .15s;
}
.btn-close:hover { background: var(--bg, #f1f5f9); color: var(--text, #0f172a); }

/* ── Auth Modal ───────────────────────────────────────────────────── */
@keyframes am-fade-in  { from { opacity: 0 } to { opacity: 1 } }
@keyframes am-slide-up { from { opacity: 0; transform: translateY(20px) scale(.97) } to { opacity: 1; transform: none } }
@keyframes am-spin     { to { transform: rotate(360deg); } }

.am-overlay {
  position: fixed; inset: 0;
  background: rgba(4,10,26,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 1.25rem;
  animation: am-fade-in .2s ease;
}
.am-card {
  background: #fff;
  border-radius: 18px;
  width: 100%; max-width: 440px;
  box-shadow: 0 32px 80px rgba(4,10,26,.4), 0 4px 16px rgba(4,10,26,.15);
  position: relative;
  animation: am-slide-up .25s cubic-bezier(.22,.61,.36,1);
  overflow: hidden;
}
.am-card::before {
  content: ''; display: block; height: 4px;
  background: linear-gradient(90deg, #0f172a, #1d4ed8, #60a5fa);
}
.am-close {
  position: absolute; top: .85rem; right: .85rem;
  background: rgba(0,0,0,.05); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #64748b; z-index: 10;
  transition: background .15s, color .15s;
}
.am-close:hover { background: #fee2e2; color: #dc2626; }
.am-close svg  { width: 15px; height: 15px; }

.am-header {
  text-align: center;
  padding: 1.75rem 2rem 1rem;
}
.am-logo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .95rem;
  box-shadow: 0 4px 16px rgba(29,78,216,.35);
}
.am-logo-icon svg { width: 24px; height: 24px; color: #fff; }
.am-title {
  font-size: 1.4rem; font-weight: 700;
  color: #0f172a; letter-spacing: -.025em;
  margin-bottom: .3rem;
}
.am-subtitle { font-size: .82rem; color: #64748b; line-height: 1.5; }

.am-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin: 0 2rem .05rem;
}
.am-tab {
  flex: 1; padding: .62rem;
  font-size: .88rem; font-weight: 600; font-family: inherit;
  background: none; border: none; cursor: pointer;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s;
}
.am-tab.active { color: #1d4ed8; border-bottom-color: #1d4ed8; }

.am-body { padding: 1.4rem 2rem 1.75rem; }

.am-alert {
  display: flex; align-items: flex-start; gap: .5rem;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 10px; padding: .65rem .9rem;
  font-size: .82rem; color: #b91c1c; font-weight: 500;
  margin-bottom: 1.1rem;
}
.am-alert svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.am-alert.hidden { display: none; }

.am-field { margin-bottom: .9rem; }
.am-field label {
  display: block;
  font-size: .74rem; font-weight: 600;
  color: #374151; letter-spacing: .02em;
  margin-bottom: .38rem;
}
.am-input-wrap { position: relative; }
.am-input-wrap .am-icon {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  color: #94a3b8; pointer-events: none; flex-shrink: 0; display: flex;
}
.am-input-wrap .am-icon svg { width: 15px; height: 15px; }
.am-input-wrap input {
  width: 100%;
  padding: .7rem 1rem .7rem 2.35rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit; font-size: .88rem;
  color: #0f172a; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.am-input-wrap input::placeholder { color: #cbd5e1; }
.am-input-wrap input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.am-pw-toggle {
  position: absolute; right: .85rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: #94a3b8; display: flex; padding: 0;
  transition: color .15s;
}
.am-pw-toggle:hover { color: #475569; }
.am-pw-toggle svg { width: 15px; height: 15px; }

.am-submit {
  width: 100%; padding: .8rem;
  background: #1d4ed8; color: #fff;
  border: none; border-radius: 10px;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  cursor: pointer; letter-spacing: .01em; margin-top: .4rem;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .15s, box-shadow .15s, transform .1s;
}
.am-submit:hover:not(:disabled) {
  background: #1e40af;
  box-shadow: 0 4px 20px rgba(29,78,216,.35);
  transform: translateY(-1px);
}
.am-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.am-spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%;
  animation: am-spin .7s linear infinite;
}
.am-spinner.hidden { display: none; }

.am-footer-text {
  text-align: center; font-size: .8rem;
  color: #94a3b8; margin-top: .85rem;
}
.am-footer-text a { color: #1d4ed8; font-weight: 600; text-decoration: none; }
.am-footer-text a:hover { text-decoration: underline; }

/* ── Belediye Başkanları ──────────────────────────────────────────── */
.mayors-section {
  background: #07101f;
  padding: 5rem 1.5rem 4.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mayors-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Başlık */
.mayors-header { margin-bottom: 3rem; }
.mayors-eyebrow {
  font-size: .68rem; font-weight: 600;
  color: rgba(255,255,255,.3);
  letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: .75rem;
}
.mayors-title {
  font-size: 2rem; font-weight: 700;
  color: #fff; letter-spacing: -.03em;
  line-height: 1.1;
}

/* Kart — yatay düzen */
.mayors-card {
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: 3rem;
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  min-height: 220px;
  transition: opacity .28s ease;
}
.mayors-card.fading { opacity: 0; }

/* Avatar */
.mayors-avatar {
  width: 176px; height: 176px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mayors-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mayors-avatar svg { width: 52px; height: 52px; opacity: .18; }

/* Bilgi */
.mayors-info-label {
  font-size: .68rem; font-weight: 600;
  color: rgba(255,255,255,.28);
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.mayors-info-name {
  font-size: 1.65rem; font-weight: 700;
  color: #fff; letter-spacing: -.025em;
  line-height: 1.15; margin-bottom: .4rem;
}
.mayors-info-period {
  font-size: .78rem; color: rgba(255,255,255,.38);
  letter-spacing: .05em; margin-bottom: 1.4rem;
}
.mayors-info-bio {
  font-size: .88rem; font-style: italic;
  color: rgba(255,255,255,.48); line-height: 1.8;
  border-left: 2px solid rgba(255,255,255,.1);
  padding-left: 1rem;
  max-width: 460px;
}

/* Navigasyon */
.mayors-nav {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 1.5rem;
}
.mayors-nav-arrows { display: flex; gap: .4rem; }
.mayors-arrow {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .18s, color .18s, background .18s;
}
.mayors-arrow svg { width: 16px; height: 16px; }
.mayors-arrow:hover:not(:disabled) {
  border-color: rgba(255,255,255,.28);
  color: #fff; background: rgba(255,255,255,.06);
}
.mayors-arrow:disabled { opacity: .2; cursor: default; pointer-events: none; }

.mayors-counter {
  font-size: .72rem; color: rgba(255,255,255,.28);
  letter-spacing: .06em; min-width: 36px;
}
.mayors-dots {
  display: flex; gap: 5px; align-items: center; margin-left: auto;
}
.mayors-dot {
  width: 20px; height: 2px; border-radius: 99px;
  background: rgba(255,255,255,.14);
  border: none; cursor: pointer; padding: 0;
  transition: background .2s, width .25s;
}
.mayors-dot.active { background: rgba(255,255,255,.65); width: 30px; }

@media (max-width: 640px) {
  .mayors-card {
    grid-template-columns: 1fr;
    gap: 1.5rem; padding: 1.75rem;
  }
  .mayors-avatar { width: 100px; height: 100px; border-radius: 10px; }
  .mayors-info-name { font-size: 1.3rem; }
  .mayors-info-bio { max-width: 100%; }
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.6);
  margin-top: auto;
  border-top: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.footer-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
  filter: brightness(0.55) saturate(0.75);
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 14, 38, 0.60) 0%,
    rgba(5, 14, 38, 0.78) 100%
  );
  display: none;
}
footer.has-bg-img .footer-bg-img,
footer.has-bg-img .footer-overlay { display: block; }
footer.has-bg-img { border-top-color: rgba(197,163,80,.6); }
footer.has-bg-img .footer-top-section { background: linear-gradient(to bottom, rgba(0,0,0,.22) 0%, rgba(0,0,0,.06) 100%); }
.footer-top-section {
  background: linear-gradient(to bottom, rgba(0,0,0,.34) 0%, rgba(0,0,0,.08) 100%);
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.footer-brand h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.5); max-width: 360px; line-height: 1.7; }
.footer-logos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logos img {
  height: 62px;
  width: auto;
  filter: grayscale(1) brightness(2.2);
  opacity: .75;
  transition: opacity .2s;
}
.footer-logos img:hover { opacity: 1; }
.footer-bottom {
  text-align: center;
  padding: 1.6rem 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  position: relative;
  z-index: 2;
}
.footer-bottom strong { color: rgba(255,255,255,.7); }

/* ── Footer Links ─────────────────────────────────────────────────── */
.footer-links {
  position: relative;
  z-index: 2;
}
.footer-links-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.8rem 1.5rem 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .25rem;
}
.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .18s;
  flex-shrink: 0;
}
.footer-social-icon:hover { background: rgba(255,255,255,.28); }
.footer-social-icon svg { width: 18px; height: 18px; fill: #fff; }
.footer-col-title {
  font-size: 17px;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 1.1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.footer-col ul li a {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
  transition: opacity .15s, padding-left .15s;
  display: inline-flex; align-items: center; gap: .45rem;
}
.footer-col ul li a::before {
  content: '›';
  color: rgba(255,255,255,.6);
  transition: color .15s;
  font-size: 1rem;
  line-height: 1;
}
.footer-col ul li a:hover {
  opacity: .75;
  padding-left: .2rem;
}
.footer-col ul li a:hover::before { color: #fff; }

/* ── Detail page — Hero + Floating Card ───────────────────────────── */

/* Hero: full-bleed arka plan resmi */
.detail-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Resim yoksa gradient */
.detail-hero--no-img {
  min-height: 320px;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-mid) 60%, #0a3d8f 100%);
}

/* Katmanlı karartma efekti */
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(4,12,30,.95) 0%, rgba(4,12,30,.55) 45%, rgba(4,12,30,.2) 100%),
    linear-gradient(to right, rgba(4,12,30,.4) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero içerik: solda alt köşe */
.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* Breadcrumb */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .03em;
}
.detail-breadcrumb a {
  color: rgba(255,255,255,.7);
  transition: color .15s;
}
.detail-breadcrumb a:hover { color: #fff; }
.detail-breadcrumb .sep { opacity: .4; }

/* Kategori badge — hero içinde */
.detail-hero-badge { margin-bottom: .25rem; }

/* Başlık */
.detail-title {
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -.01em;
  word-break: break-word;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}

/* Floating content card */
.detail-card-wrap {
  max-width: 900px;
  margin: -2.5rem auto 0;
  padding: 0 2rem 5rem;
  position: relative;
  z-index: 3;
}

.detail-card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(10,39,86,.04), 0 12px 40px rgba(10,39,86,.12), 0 32px 64px rgba(10,39,86,.08);
  overflow: hidden;
}

/* İçerik bölümü */
.detail-article {
  padding: 2.5rem 3rem 3rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #374151;
  overflow-wrap: break-word;
  word-break: break-word;
}
.detail-article h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
}
.detail-article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin: 1.75rem 0 .5rem;
}
.detail-article p {
  margin-bottom: 1.25rem;
}
.detail-article ul, .detail-article ol {
  padding-left: 1.6rem;
  margin-bottom: 1.25rem;
}
.detail-article li {
  margin-bottom: .5rem;
}
.detail-article blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  padding: .75rem 1.25rem;
  background: var(--gold-light);
  border-radius: 0 8px 8px 0;
  color: #5a4a10;
  font-style: italic;
}
.detail-article a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-article a:hover { color: var(--navy); }
.detail-article img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 4px 16px rgba(10,39,86,.12);
}

/* Boş içerik */
.detail-empty {
  padding: 3rem 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: .93rem;
}

/* Resim yoksa card üste tam yaslanır */
.detail-hero--no-img + .detail-card-wrap {
  margin-top: -1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .detail-hero { min-height: 380px; }
  .detail-hero--no-img { min-height: 240px; }
  .detail-hero-inner { padding: 4rem 1.25rem 2.5rem; }
  .detail-card-wrap { padding: 0 1rem 3rem; margin-top: -1.5rem; }
  .detail-article { padding: 1.75rem 1.5rem 2rem; }
}
@media (max-width: 480px) {
  .detail-title { font-size: 1.55rem; }
  .detail-article { padding: 1.25rem 1.1rem 1.75rem; font-size: .95rem; }
}

/* Eski .detail-body — geriye dönük uyumluluk */
.detail-body { max-width: 860px; margin: 2.5rem auto; padding: 0 1.5rem 3rem; overflow-wrap: break-word; word-break: break-word; overflow-x: hidden; }
.detail-body h2, .detail-body h3 { margin: 1.5rem 0 .5rem; color: var(--navy); }
.detail-body p  { margin-bottom: 1rem; line-height: 1.8; }
.detail-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.detail-body li { margin-bottom: .35rem; }

/* ── Form Group & Shared Modal Form Styles ────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: .9rem;
}
.form-group label {
  font-size: .74rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: .88rem;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #cbd5e1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-group input[readonly] {
  background: #f8fafc;
  cursor: default;
  opacity: .8;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.25rem;
  background: var(--navy, #0a2756);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .15s, box-shadow .15s, transform .1s;
}
.btn-primary:hover:not(:disabled) {
  background: var(--navy-mid, #0d3570);
  box-shadow: 0 4px 16px rgba(10,39,86,.3);
  transform: translateY(-1px);
}
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  border-radius: 8px;
  padding: .65rem .9rem;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: .9rem;
}
.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* ── Submit page ──────────────────────────────────────────────────── */
.submit-page { max-width: 700px; margin: 2.5rem auto; padding: 0 1.5rem; }
.submit-page h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .35rem; color: var(--text); }
.submit-page .subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: .9rem; }
.submit-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--navy);
}
.submit-actions { display: flex; gap: .75rem; margin-top: 1.5rem; }
.btn-submit {
  flex: 1; padding: .7rem;
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius); font-size: .93rem; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .15s, box-shadow .15s;
}
.btn-submit:hover    { background: var(--navy-dark); box-shadow: 0 4px 12px rgba(10,39,86,.3); }
.btn-submit:disabled { opacity: .5; cursor: default; }
.image-input-row { display: flex; align-items: center; gap: .5rem; }
.image-input-or { font-size: .82rem; color: var(--text-muted); flex-shrink: 0; }
.btn-file-pick {
  flex-shrink: 0;
  padding: .55rem 1.1rem;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
  font-family: inherit;
}
.btn-file-pick:hover { background: var(--navy); color: #fff; }
.btn-cancel {
  padding: .7rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer; background: none;
  font-family: inherit; color: var(--text-muted);
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.btn-cancel:hover { border-color: var(--navy); color: var(--navy); }
.submit-banner {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.submit-banner .btn-red {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy-dark);
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

/* ── Skeleton Cards ───────────────────────────────────────────────── */
@keyframes skeleton-pulse {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.skeleton-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, var(--border) 25%, rgba(255,255,255,.06) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.skeleton-body { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.skeleton-line {
  height: .75rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--border) 25%, rgba(255,255,255,.06) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.skeleton-line.short  { width: 55%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.long   { width: 100%; }

/* ── Infinite Scroll Sentinel ─────────────────────────────────────── */
#feed-sentinel { height: 1px; margin-top: 2rem; }
.feed-loading-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}
.feed-end-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.5rem 0;
  color: var(--text-muted);
  font-size: .85rem;
}

/* ── Scroll Reveal ────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
[data-reveal],
[data-reveal="up"]    { transform: translateY(32px); }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94) translateY(16px); }
[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .feed-layout { grid-template-columns: 1fr 200px; }
  .sidebar-widget { flex: 1; min-width: 180px; }
  .feed { grid-template-columns: repeat(2, 1fr); }
  .top-bar { display: none; }
  .header-sub-bar { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-logos { justify-content: flex-start; }
  .footer-links-inner { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .detail-header-inner { grid-template-columns: 1fr; }
  .detail-header-img { width: 100%; height: 220px; order: -1; }
}

@media (max-width: 640px) {
  .hero { height: 52vh; min-height: 320px; }
  .hero h2 { font-size: 1.75rem; }
  .hero-sub { display: none; }
  .stats-bar-inner { flex-wrap: wrap; }
  .hero-stat { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .search-wrap { display: none; }
  .feed { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .feed-sidebar { flex-direction: column; }
  .footer-links-inner { grid-template-columns: 1fr; gap: 1.8rem; padding: 2rem 1.5rem; }
}

@media (max-width: 420px) {
  .feed { grid-template-columns: 1fr; }
  .hero-stat { min-width: 50%; }
}
