/* ══════════════════════════════════════════════════════
   FATSA GAZETESİ — Gradient Pill Header + Layout v3
══════════════════════════════════════════════════════ */

:root {
  --sb-w: 0px;
  --hbar-h: 60px;
  --rsb-w: 300px;
}

/* ─── Sol sidebar tamamen gizle ─── */
.left-sidebar { display: none !important; }

/* ─── Eski header/site-header gizle ─── */
.site-header { display: none !important; }

/* ─── App root ─── */
.app-root { display: block !important; padding-top: 0; }

/* ─── Sayfa gövdesi — navbar + breaking bar altından başlasın ─── */
#pageBody {
  padding-top: calc(34px + var(--hbar-h));
}
body.no-breaking #pageBody {
  padding-top: var(--hbar-h);
}

/* ─── App content: tam genişlik, 2 sütun ─── */
.app-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  padding-top: var(--hbar-h) !important;
  min-width: 0;
}

/* ─── Ana içerik — flex:1, merkezi ─── */
.main-content {
  flex: 1;
  min-width: 0;
  padding: 18px 20px 48px 24px;
  box-sizing: border-box;
}

/* ─── Sağ sidebar ─── */
.right-sidebar {
  width: var(--rsb-w);
  flex-shrink: 0;
  padding: 18px 20px 40px 0;
  position: static;
  top: auto;
  height: auto;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
  box-sizing: border-box;
}
.right-sidebar::-webkit-scrollbar { width: 4px; }
.right-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* ─── desktop-only: sıfır fazlalık padding ─── */
.desktop-only { width: 100%; min-width: 0; }

/* ─── page-inner-wrap (haber detay): tam genişlik ─── */
.page-inner-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.page-main  { flex: 1; min-width: 0; }
.page-sidebar { width: var(--rsb-w); flex-shrink: 0; }

/* ─── Footer ─── */
.site-footer { margin-left: 0 !important; }


/* ════════════════════════════════════════════════
   GRADIENT PILL HEADER — Tam Genişlik
════════════════════════════════════════════════ */
.gm-bar {
  position: fixed !important;
  top: 34px; left: 0; right: 0;
  height: var(--hbar-h);
  background: rgba(255,255,255,.995);
  /* blur kaldırıldı: neredeyse opak zeminde görünmez ama kaydırmada sürekli yeniden çizim yaptırıyordu */
  border-bottom: 1px solid rgba(0,0,0,.07);
  z-index: 500;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
}

.breaking-bar {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 501;
}
body.no-breaking .breaking-bar { display: none; }

body.no-breaking .gm-bar { top: 0; }
body.no-breaking .right-sidebar { top: auto; height: auto; }
body.no-breaking .mobile-cat-bar { top: var(--hbar-h); }

/* ─── Logo — sol ─── */
.gm-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  width: fit-content;
}
.gm-logo-box {
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h);
  font-size: 22px; color: #fff;
  box-shadow: 0 4px 14px rgba(225,6,0,.28);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  flex-shrink: 0;
}
.gm-logo:hover .gm-logo-box {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 22px rgba(225,6,0,.4);
}
.gm-logo-text { line-height: 1.2; }
.gm-logo-name { font-size: 15px; font-weight: 800; color: #0d0d0d; }
.gm-logo-name em { color: var(--red); font-style: normal; }
.gm-logo-tag { font-size: 9px; color: #bbb; letter-spacing: .14em; text-transform: uppercase; }

/* ─── Pill nav — navbar'ı tam kaplayan yayılmış düzen ─── */
.gm-pills {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}

/* Her pill eşit genişlik alır — ikon + isim yan yana */
.gm-pill {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  padding: 0 10px;
  transition: color .15s;
}
.gm-pill:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

/* Gradient bg katmanı (artık kullanılmıyor ama bırakıyoruz) */
.gm-pill-bg   { display: none; }
.gm-pill-glow { display: none; }

/* İkon — her zaman görünür */
.gm-pill-icon {
  font-size: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
  line-height: 1;
}
.gm-pill:hover .gm-pill-icon { transform: none; }

/* Label — her zaman görünür */
.gm-pill-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transform: none;
  transition: color .2s;
  line-height: 1;
}
.gm-pill:hover .gm-pill-label {
  color: var(--text);
  font-weight: 950;
}

/* Aktif pill — sadece altında ince çizgi */
.gm-pill.active {
  background: transparent;
  box-shadow: none;
  border-bottom: 2px solid var(--red);
  border-radius: 0;
}
.gm-pill.active .gm-pill-label {
  color: var(--red);
  font-weight: 950;
}
.gm-pill.active .gm-pill-icon { color: var(--red); }

/* ─── Sağ: dark mode toggle + hamburger ─── */
.gm-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--red-soft); transform: rotate(20deg); }

.gm-hamburger {
  display: none;
  flex-direction: column; gap: 4.5px;
  border: none;
  background: rgba(0,0,0,.05);
  cursor: pointer;
  padding: 9px; border-radius: 10px;
}
.gm-hamburger span {
  display: block; width: 20px; height: 2px;
  background: #333; border-radius: 2px; transition: .25s;
}

/* ─── Logo min-width sabit tut ─── */
.gm-logo { min-width: 140px; }


/* ════════════════════════════════════════════════
   HABER DETAY — Yorum & Paylaşım Stilleri
════════════════════════════════════════════════ */

/* Bölüm başlığı */
.section-title {
  font-family: var(--font-h);
  font-size: 20px;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Paylaşım butonları */
.share-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, background .18s;
  border: 1.5px solid;
}
.share-btn.twitter   { background: #0d0d0d; color: #fff; border-color: #0d0d0d; }
.share-btn.facebook  { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn.whatsapp  { background: #25d366; color: #fff; border-color: #25d366; }
.share-btn.share-copy { background: #fff; color: var(--text); border-color: var(--border); }
.share-btn:hover     { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.18); }

/* Yazar kutusu */
.article-author-box {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Yorum formu sarmalayıcı */
.comments-section {
  margin-top: 36px;
}

.comment-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--sh1);
}
.comment-form-wrap h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

/* 2 sütunlu form grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row { margin-bottom: 12px; }
.form-row label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-family: var(--font-ui);
  background: #fafafa;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px var(--red-soft);
}
.form-row textarea { min-height: 100px; resize: vertical; }

/* Gönder butonu */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: #fff;
  padding: 12px 26px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-ui);
  cursor: pointer;
  box-shadow: var(--sh-red);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  position: relative;
  overflow: hidden;
}
.btn-submit::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--red-glow); }
.btn-submit:hover::after { transform: translateX(100%); }
.btn-submit:active { transform: scale(.98); }

/* Alert */
.alert-ok {
  background: #e8f8ef;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.alert-err {
  background: #fff1f1;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
}

/* Yorum listesi */
.comment-list { display: flex; flex-direction: column; gap: 0; }
.comment-item {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }

.comment-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  border: 2px solid rgba(225,6,0,.12);
}
.comment-body { flex: 1; min-width: 0; }
.comment-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.comment-date { font-size: 11px; color: var(--text-3); margin-left: 8px; }
.comment-text { font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.65; }
.comment-actions { display: flex; gap: 10px; margin-top: 8px; }

.comment-like,
.comment-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-ui);
  padding: 4px 8px;
  border-radius: 999px;
  transition: color .18s, background .18s;
}
.comment-like:hover   { color: var(--red); background: var(--red-soft); }
.comment-reply-btn:hover { color: var(--text); background: var(--bg); }

/* Yorum yok */
.comments-section > p {
  text-align: center;
  color: var(--text-3);
  padding: 28px;
  background: var(--bg);
  border-radius: var(--r-lg);
  font-size: 14px;
}

/* Article byline & header küçük düzeltmeler */
.article-header  { margin-bottom: 20px; }
.article-byline  { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin-bottom:18px; }
.author-mini     { display:flex; align-items:center; gap:10px; }
.author-avatar   { width:38px; height:38px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.author-avatar-ph{ width:38px; height:38px; border-radius:50%; background:var(--red-soft); color:var(--red); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; flex-shrink:0; }
.byline-meta strong { display:block; font-size:14px; font-weight:700; }
.byline-meta span   { font-size:11px; color:var(--text-3); }
.read-bar        { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-3); flex-wrap:wrap; }
.article-hero    { border-radius:var(--r-lg); overflow:hidden; margin-bottom:22px; }
.article-hero img{ width:100%; height:auto; display:block; max-height:480px; object-fit:cover; }
.article-content { font-family:var(--font-s); font-size:16px; line-height:1.82; color:var(--text); }
.article-content p { margin-bottom:1.2em; }
.article-content h2,.article-content h3 { font-family:var(--font-h); margin:1.5em 0 .6em; }
.article-tags    { margin-top:28px; }
.article-tags h4 { font-size:12px; font-weight:800; color:var(--text-3); text-transform:uppercase; letter-spacing:.1em; margin-bottom:10px; }


/* ════════════════════════════════════════════════
   MOBILE — 900px altı
════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --hbar-h: 56px; }

  .gm-bar { padding: 0 12px; gap: 8px; }
  .gm-logo { min-width: unset; }
  .gm-logo-tag { display: none; }
  .gm-pills    { display: none; }
  .gm-hamburger { display: flex; }
  .theme-toggle { width: 30px; height: 30px; font-size: 13px; }

  .app-content  { display: block !important; }
  .right-sidebar { display: none; }
  .page-inner-wrap { display: block; }
  .page-sidebar { display: none; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   INSTAGRAM KART STİLLERİ (haberler + kategori)
════════════════════════════════════════════════ */
.ig-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.04);
  transition: transform .28s cubic-bezier(.25,.46,.45,.94), box-shadow .28s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}
.ig-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06);
}
.ig-card-img {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
  background: #f0f2f5;
  flex-shrink: 0;
}
.ig-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.ig-card:hover .ig-card-img img { transform: scale(1.06); }
.ig-card-img-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
}
.ig-cat-chip {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: #fff; background: var(--red);
  z-index: 2;
}
.ig-breaking-dot {
  position: absolute; top: 10px; right: 10px;
  width: 10px; height: 10px;
  background: #ff3d00; border-radius: 50%; border: 2px solid #fff;
  animation: blink-badge 1.2s infinite; z-index: 2;
}
.ig-card-body {
  padding: 13px 14px 12px;
  flex: 1; display: flex; flex-direction: column; gap: 7px;
}
.ig-card-title {
  font-size: 13.5px; font-weight: 700; line-height: 1.4;
  color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .18s;
}
.ig-card:hover .ig-card-title { color: var(--red); }
.ig-card-summary {
  font-size: 12px; color: var(--text-3); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ig-card-footer {
  margin-top: auto; display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  padding-top: 8px; border-top: 1px solid #f3f3f3;
}
.ig-author { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ig-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0; overflow: hidden;
}
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-author-name { font-size: 11.5px; font-weight: 600; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ig-action { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-3); }

/* Header category pills */
.gm-pill {
  border: 1px solid rgba(15,23,42,.055);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(241,245,249,.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3px 9px rgba(15,23,42,.045);
}
.gm-pill:hover, .gm-pill.active {
  border-color: var(--g1);
  background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: 0 0 0 2px var(--g1), 0 8px 18px rgba(15,23,42,.18);
}
[data-theme="dark"] .gm-pill { border-color: rgba(255,255,255,.07); background: linear-gradient(145deg, rgba(35,40,50,.98), rgba(24,28,36,.94)); box-shadow: none; }
[data-theme="dark"] .gm-pill:hover, [data-theme="dark"] .gm-pill.active { border-color: var(--g1); background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 0 0 2px var(--g1), 0 8px 18px rgba(0,0,0,.3); }

/* Glow flip menu navbar */
.gm-menu {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.46));
  box-shadow: 0 12px 34px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.gm-menu::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 50%, rgba(59,130,246,.16), transparent 28%),
    radial-gradient(circle at 52% 50%, rgba(168,85,247,.14), transparent 32%),
    radial-gradient(circle at 86% 50%, rgba(239,68,68,.14), transparent 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.gm-menu:hover::before { opacity: 1; }
.gm-menu-item { position: relative; z-index: 2; }
/* Navbar ile dropdown arasındaki boşlukta mouse'un kaçmasını önleyen görünmez köprü */
.gm-menu-item.has-drop::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: -20px;
  right: -20px;
  height: 18px;
  z-index: 1;
}
.gm-menu-link {
  position: relative;
  display: block;
  border-radius: 16px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  perspective: 600px;
}
.gm-menu-link::before { display: none; }
.gm-flip {
  position: relative;
  display: block;
  min-width: 132px;
  height: 40px;
  border-radius: 14px;
  transform-style: preserve-3d;
}
.gm-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 14px;
  background: transparent;
  backface-visibility: hidden;
  transform-origin: center bottom;
  transition: transform .48s cubic-bezier(.22,1,.36,1), opacity .28s ease, color .2s ease;
}
.gm-back {
  color: var(--text);
  transform: rotateX(90deg);
  transform-origin: center top;
}
.gm-menu-item:hover .gm-face:first-child { opacity: 0; transform: rotateX(-90deg); }
.gm-menu-item:hover .gm-back { opacity: 1; transform: rotateX(0deg); }
.gm-menu-item:hover .gm-face,
.gm-menu-item.active .gm-face { color: var(--text); }
.gm-ico {
  position: relative;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  border-radius: 9px;
  color: var(--g1);
  font-size: 15px;
  line-height: 1;
  background: transparent;
  border: none;
  box-shadow: none;
  text-shadow: none;
  transform: none;
  transition: none;
}
.gm-ico::after { display: none; }
.gm-menu-item:hover .gm-ico,
.gm-menu-item.active .gm-ico {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
.gm-drop {
  position: absolute;
  top: calc(100% + 4px); /* boşluğu azalt */
  left: 50%;
  width: min(560px, calc(100vw - 40px));
  padding: 14px;
  padding-top: 18px; /* üstte extra alan — mouse köprüsü */
  border: 1px solid rgba(15,23,42,.09);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(.97);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.gm-menu-item:hover .gm-drop,
.gm-menu-item:focus-within .gm-drop,
.gm-menu-item.open .gm-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.gm-menu-item.open .gm-menu-link::before { display: none; }
.gm-drop-head {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gm-drop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gm-drop a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(248,250,252,.82));
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.gm-drop a:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--drop-c, var(--g1)) 45%, transparent);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--drop-c, var(--g1)) 18%, transparent);
  background: color-mix(in srgb, var(--drop-c, var(--g1)) 9%, #fff);
}
.gm-drop a span { font-size: 17px; }
.gm-drop a strong { font-size: 12px; line-height: 1.2; }
.gm-drop a small { display:block; color: var(--text-3); font-size: 10px; line-height: 1.25; }
.gm-drop-fatsa { width: 320px; }
.gm-drop-fatsa a { align-items: flex-start; margin-bottom: 8px; }
.gm-drop-fatsa a:last-child { margin-bottom: 0; }
.gm-search-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.gm-search-toggle:hover { background: var(--red-soft); transform: translateY(-1px); }
.gm-search {
  position: absolute;
  right: 98px;
  top: 50%;
  width: min(360px, calc(100vw - 170px));
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid rgba(225,6,0,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(10px) scale(.97);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.gm-search.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) scale(1);
}
.gm-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 7px 10px;
  color: var(--text);
  font: 700 12px var(--font-ui);
}
.gm-search-close {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  cursor: pointer;
}
[data-theme="dark"] .gm-menu { border-color: rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(28,32,40,.88), rgba(17,20,27,.58)); box-shadow: 0 16px 38px rgba(0,0,0,.32); }
[data-theme="dark"] .gm-drop,
[data-theme="dark"] .gm-search { border-color: rgba(255,255,255,.08); background: rgba(24,28,36,.96); }
[data-theme="dark"] .gm-drop a { border-color: rgba(255,255,255,.08); background: linear-gradient(145deg, rgba(31,36,46,.95), rgba(21,25,33,.88)); }

@media (max-width: 900px) {
  .gm-menu { display: none; }
  .gm-search { right: 54px; width: calc(100vw - 118px); }
}
@media (max-width: 1180px) {
  .gm-flip { min-width: 112px; }
  .gm-face { padding: 0 11px; }
  .gm-menu-link { font-size: 11px; }
}

/* Premium SVG icon language */
.premium-svg {
  display: block;
  width: 1em;
  height: 1em;
  overflow: visible;
}
.nav-svg { width: 18px; height: 18px; }
.drop-svg { width: 22px; height: 22px; }
.drawer-svg { width: 22px; height: 22px; flex: 0 0 22px; }
.action-svg { width: 20px; height: 20px; }
.story-svg { width: 26px; height: 26px; }
.media-svg {
  width: 72px;
  height: 72px;
  opacity: .9;
  filter: drop-shadow(0 14px 20px color-mix(in srgb, currentColor 24%, transparent));
}
.empty-svg,
.hero-svg {
  width: 100%;
  height: 100%;
}
.btn-svg {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 5px;
}

.gm-ico {
  font-size: 1px;
}
.gm-ico .premium-svg {
  color: inherit;
  filter: drop-shadow(0 5px 8px color-mix(in srgb, currentColor 24%, transparent));
}
.gm-drop a span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--drop-c, var(--g1));
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.95), rgba(255,255,255,.2) 38%, transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(241,245,249,.76));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 20px color-mix(in srgb, var(--drop-c, var(--g1)) 13%, transparent);
}
.theme-toggle .theme-sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
.gm-search-toggle,
.theme-toggle,
.gm-hamburger {
  border: 1px solid rgba(15,23,42,.07);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.95), rgba(255,255,255,.16) 38%, transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,245,249,.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 22px rgba(15,23,42,.08);
  color: #111827;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-nav .premium-svg {
  color: var(--red);
  filter: drop-shadow(0 4px 7px rgba(225,6,0,.18));
}

@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  :root { --hbar-h: 58px; }
  #pageBody { padding-top: calc(34px + var(--hbar-h)); }
  body.no-breaking #pageBody { padding-top: var(--hbar-h); }

  .gm-bar {
    height: var(--hbar-h);
    padding: 0 10px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 96px;
    align-items: center;
    gap: 6px;
  }
  .gm-logo {
    grid-row: 1;
    grid-column: 2;
    justify-self: center;
    align-self: center;
    min-width: 0;
    max-width: min(188px, calc(100vw - 170px));
    gap: 8px;
    transform: none;
    z-index: 2;
  }
  .gm-logo-box {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 22px;
    box-shadow: 0 10px 22px rgba(225,6,0,.24);
  }
  .gm-logo-name {
    font-size: clamp(15px, 4.05vw, 18px);
    letter-spacing: -.03em;
    white-space: nowrap;
  }
  .gm-logo-text {
    min-width: 0;
    overflow: hidden;
  }
  .gm-right {
    grid-column: 1 / 4;
    grid-row: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 50px 1fr 42px 42px;
    align-items: center;
    pointer-events: none;
    z-index: 1;
  }
  .gm-right > * { pointer-events: auto; }
  .gm-hamburger {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 16px;
  }
  .gm-hamburger span {
    width: 20px;
    height: 2.5px;
    background: #111827 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.55);
  }
  .gm-search-toggle {
    grid-column: 3;
    width: 40px;
    height: 40px;
    border-radius: 15px;
    font-size: 1px;
  }
  .theme-toggle {
    grid-column: 4;
    width: 40px;
    height: 40px;
    border-radius: 15px;
    font-size: 1px;
  }
  .gm-search {
    right: 12px;
    width: calc(100vw - 24px);
    top: calc(100% + 8px);
    transform: translateY(0) translateX(0) scale(.98);
  }
  .gm-search.open {
    transform: translateY(0) translateX(0) scale(1);
  }
}

@media (max-width: 380px) {
  .gm-bar {
    grid-template-columns: 46px minmax(0, 1fr) 88px;
    padding: 0 9px;
  }
  .gm-logo { max-width: min(158px, calc(100vw - 150px)); gap: 6px; }
  .gm-logo-box { width: 35px; height: 35px; border-radius: 12px; font-size: 20px; }
  .gm-logo-name { font-size: clamp(14px, 4vw, 16px); }
  .gm-search-toggle,
  .theme-toggle,
  .gm-hamburger {
    width: 37px;
    height: 37px;
    border-radius: 14px;
  }
}

[data-theme="dark"] .gm-search-toggle,
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .gm-hamburger {
  border-color: rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.28), rgba(255,255,255,.06) 38%, transparent 62%),
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 22px rgba(0,0,0,.38);
  color: #f8fafc;
}
[data-theme="dark"] .gm-hamburger span {
  background: #f8fafc !important;
  box-shadow: 0 0 10px rgba(255,255,255,.22);
}
[data-theme="dark"] .gm-hamburger:hover span {
  background: var(--red) !important;
}

/* Scroll performance guard: sticky/ic-scroll tuzaklarini ve agir blur maliyetini azaltir. */
html { scroll-behavior: auto; }

@media (min-width: 901px) {
  .right-sidebar {
    position: static !important;
    top: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }
}

.gm-menu,
.gm-drop,
.gm-search {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.gm-menu::before {
  display: none !important;
}
