/* ============ AltTabZone — açık tema, Inter, kırmızı vurgu ============ */
:root {
  --accent: #e8590c;
  --accent-dark: #c2410c;
  --accent-soft: #fdecd9;
  --ink: #121216;
  --ink-2: #3d3d47;
  --muted: #70707c;
  --bg: #ffffff;
  --soft: #f6f6f9;
  --border: #e8e8ef;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(18, 18, 28, .05), 0 8px 24px rgba(18, 18, 28, .07);
  --radius: 14px;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1220px;
}

/* ---------- Koyu tema (STANDART) ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0e12;
  --card: #15171d;
  --soft: #1b1e26;
  --border: #262a35;
  --ink: #edeff4;
  --ink-2: #c6cbd6;
  --muted: #8b92a1;
  --accent-soft: #2c1a0d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .5);
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] .footer { background: #08090d; border-top: 1px solid var(--border); }
html[data-theme="dark"] .footer-bottom { border-top-color: var(--border); }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Üst bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; gap: 14px 28px;
  min-height: 64px; padding: 10px 0;
  flex-wrap: wrap;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 26px; font-weight: 900; letter-spacing: -.04em;
  white-space: nowrap;
}
.logo-icon { width: 26px; height: 26px; object-fit: contain; vertical-align: middle; }
.logo-orange, .f-logo span { color: var(--accent); }
.f-logo-icon { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; margin-right: 6px; }

.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav a {
  padding: 7px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.active { background: var(--accent); color: #fff; }

.topbar-right { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; background: var(--soft); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.search input {
  width: 170px; border: 0; outline: 0; background: transparent;
  padding: 8px 6px 8px 14px; font-size: 13.5px; color: var(--ink);
}
.search button { border: 0; background: transparent; padding: 8px 12px 8px 4px; font-size: 13px; }
.theme-btn { border: 0; background: transparent; font-size: 17px; padding: 6px 8px; border-radius: 10px; cursor: pointer; }
.theme-btn:hover { background: var(--soft); }
.search-mobile { display: none; font-size: 17px; padding: 6px 8px; border-radius: 10px; }
.search-mobile:hover { background: var(--soft); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle { display: none; }

/* ---------- Son dakika şeridi ---------- */
.ticker { background: var(--accent); color: #fff; overflow: hidden; }
.ticker-track {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap; padding: 8px 0;
  width: max-content;
  animation: tick 45s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-label {
  background: #fff; color: var(--accent);
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 4px;
}
.ticker-track a { font-size: 13.5px; font-weight: 600; }
.ticker-track a:hover { text-decoration: underline; }
.ticker .dot { opacity: .55; font-size: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Hero slideshow ---------- */
.hero-slider {
  position: relative; height: 470px; border-radius: 20px; overflow: hidden;
  margin: 26px 0 8px; box-shadow: var(--shadow);
  touch-action: pan-y; /* dikey kaydırma serbest, yatay swipe JS'e gitsin */
}
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 14, .08) 32%, rgba(8, 8, 14, .66) 66%, rgba(8, 8, 14, .93) 100%);
}
.slide > .chip { top: 18px; left: 20px; z-index: 4; }
.slide-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 28px 150px 34px 32px; color: #fff; display: block;
}
.slide-body h1 { font-size: 31px; font-weight: 900; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 10px; max-width: 820px; }
.slide-body p {
  font-size: 15px; opacity: .85; max-width: 660px; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.slide-meta { font-size: 12.5px; opacity: .75; font-weight: 500; }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(10, 10, 16, .45);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding-bottom: 4px;
  backdrop-filter: blur(4px); transition: background .2s, border-color .2s;
}
.slide-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slide-arrow.prev { left: 16px; }
.slide-arrow.next { right: 16px; }
.slide-counter {
  position: absolute; top: 16px; right: 22px; z-index: 6;
  color: #fff; font-size: 12.5px; font-weight: 700;
  background: rgba(10, 10, 16, .5); padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.slide-dots { position: absolute; bottom: 18px; right: 26px; z-index: 6; display: flex; gap: 7px; }
.slide-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, .35); cursor: pointer; transition: all .25s;
}
.slide-dot.on { background: #fff; width: 24px; border-radius: 5px; }

/* ---------- Yerleşim ---------- */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin: 30px 0 50px; }
.article-layout { grid-template-columns: minmax(0, 1fr) 320px; }

.section-head { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; }
.section-head h2 { font-size: 22px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.section-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), var(--border)); border-radius: 2px; }

/* ---------- Haber kartları ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 16.5px; font-weight: 800; line-height: 1.32; letter-spacing: -.02em; }
.card-body h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.card:hover .card-body h3 a { color: var(--accent); }
.card-body p {
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.meta { display: flex; gap: 7px; align-items: center; font-size: 12px; color: var(--muted); margin-top: auto; flex-wrap: wrap; }

.chip {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 7px;
}
.chip-lg { position: static; display: inline-block; margin-bottom: 14px; font-size: 12px; padding: 6px 12px; }

/* ---------- Kenar çubuğu ---------- */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.side-box h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.pop-item { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--soft); }
.pop-item:last-child { border-bottom: 0; }
.pop-n { font-size: 22px; font-weight: 900; color: var(--accent); opacity: .9; min-width: 26px; font-style: italic; }
.pop-t {
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pop-item:hover .pop-t { color: var(--accent); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chips a {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--soft); border: 1px solid var(--border);
  padding: 7px 12px; border-radius: 999px; transition: all .15s;
}
.cat-chips a:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.cat-chips a.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty { font-size: 13px; color: var(--muted); }

/* ---------- Kategori başlığı ---------- */
.cat-head { margin: 30px 0 6px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.cat-head h1 { font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
.cat-head p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* ---------- Arama ---------- */
.search-big { display: flex; gap: 10px; margin-bottom: 24px; }
.search-big input {
  flex: 1; padding: 13px 18px; font-size: 15px;
  border: 1.5px solid var(--border); border-radius: 12px; outline: none; background: var(--soft);
}
.search-big input:focus { border-color: var(--accent); background: var(--card); }
.search-big button {
  padding: 0 26px; border: 0; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
}
.search-big button:hover { background: var(--accent-dark); }

/* ---------- Makale ---------- */
.article { min-width: 0; }
.crumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent); }
.article-title { font-size: 38px; font-weight: 900; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 14px; }
.article-excerpt { font-size: 18px; color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; font-weight: 500; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px; color: var(--muted); font-weight: 500;
  padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.article-hero { margin-bottom: 28px; }
.article-hero img { width: 100%; border-radius: var(--radius); max-height: 520px; object-fit: cover; }

.article-content { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.article-content h2 {
  font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--ink);
  margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--accent);
}
.article-content p { margin-bottom: 18px; }
.article-content strong { color: var(--ink); }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content em { color: var(--ink); }

.share { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.share > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.share-btn {
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--soft); transition: all .15s;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

.related { margin-top: 44px; }

/* ---------- Yorumlar ---------- */
.comments { margin-top: 40px; }
.comment-form {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); padding: 16px; margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.comment-form input[type="text"], .comment-form textarea {
  width: 100%; padding: 11px 14px; font-size: 14px;
  border: 1.5px solid var(--border); border-radius: 10px; outline: none;
  background: var(--soft); color: var(--ink); resize: vertical; font-family: var(--font);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); background: var(--card); }
.cf-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cf-note { font-size: 11.5px; color: var(--muted); max-width: 520px; line-height: 1.5; }
.cf-error {
  background: var(--accent-soft); border: 1px solid #7a4a1f; color: #ffb27a;
  padding: 10px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
}
html[data-theme="light"] .cf-error { background: var(--accent-soft); border-color: #f0c9a6; color: var(--accent-dark); }
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment { display: flex; gap: 13px; }
.c-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center; text-transform: uppercase;
}
.c-body {
  flex: 1; min-width: 0; background: var(--card);
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 15px;
}
.c-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.c-head strong { font-size: 14px; }
.c-head span { font-size: 11.5px; color: var(--muted); }
.c-body p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }

/* ---------- Reklam yuvaları ---------- */
.ad-slot { margin: 20px 0; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: 10px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Statik sayfalar ---------- */
.static-content { max-width: 780px; font-size: 16px; line-height: 1.8; color: var(--ink-2); margin: 10px 0 50px; }
.static-content p { margin-bottom: 16px; }
.static-content h2 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 26px 0 10px; letter-spacing: -.02em; }
.static-content a { color: var(--accent); font-weight: 600; }
.static-content a:hover { text-decoration: underline; }

/* ---------- Boş durumlar ---------- */
.empty-big { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-icon { font-size: 52px; margin-bottom: 14px; }
.empty-big h3 { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 8px; }
.empty-big p { font-size: 14.5px; max-width: 480px; margin: 0 auto; }

/* ---------- Sayfalama ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.pg-btn {
  padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 700;
  background: var(--soft); border: 1px solid var(--border); transition: all .15s;
}
.pg-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.pg-info { font-size: 13px; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 20px; }
.notfound-num { font-size: 90px; font-weight: 900; color: var(--accent); letter-spacing: -.04em; line-height: 1; }
.notfound h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 8px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }
.btn-primary {
  display: inline-block; padding: 12px 26px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; border: 0;
  transition: background .15s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  display: inline-block; padding: 9px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
  border: 1px solid var(--border); color: var(--ink-2); background: var(--card);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Admin ---------- */
.login-wrap { display: flex; justify-content: center; padding: 70px 20px; }
.login-card {
  width: 100%; max-width: 400px; text-align: center;
  border: 1px solid var(--border); border-radius: 18px; padding: 38px 32px;
  box-shadow: var(--shadow);
}
.login-logo { font-size: 44px; margin-bottom: 10px; }
.login-card h1 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.login-card p { color: var(--muted); font-size: 14px; margin: 6px 0 20px; }
.login-card input {
  width: 100%; padding: 13px 16px; font-size: 15px;
  border: 1.5px solid var(--border); border-radius: 12px; outline: none; margin-bottom: 14px;
  background: var(--soft); color: var(--ink);
}
.login-card input:focus { border-color: var(--accent); }
.login-card .btn-primary { width: 100%; }
.login-err {
  background: var(--accent-soft); color: var(--accent-dark);
  border: 1px solid #f0c9a6; border-radius: 10px;
  padding: 10px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px;
}

.admin { margin: 30px 0 50px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-head h1 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 4px;
}
.stat-n { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.stat-l { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat-wide { justify-content: center; font-size: 13.5px; color: var(--ink-2); }
.stat-wide small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; }

.admin-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.btn-big { padding: 13px 28px; font-size: 15px; }
.btn-big:disabled { opacity: .6; cursor: wait; }
.run-status { font-size: 14px; color: var(--muted); font-weight: 600; }
.admin-sub { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }

.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.atable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.atable th {
  text-align: left; padding: 12px 14px; background: var(--soft);
  font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
}
.atable td { padding: 11px 14px; border-top: 1px solid var(--soft); vertical-align: middle; }
.t-title { max-width: 380px; }
.t-title a { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-title a:hover { color: var(--accent); }
.t-date { white-space: nowrap; color: var(--muted); }
.t-empty { text-align: center; color: var(--muted); padding: 30px; }
.btn-del {
  border: 1px solid var(--border); background: var(--card); border-radius: 8px;
  padding: 6px 10px; font-size: 12.5px; font-weight: 600; color: var(--accent);
  transition: all .15s;
}
.btn-del:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: #101016; color: #b9b9c6; margin-top: 60px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding: 46px 20px 36px;
}
.f-logo { font-size: 22px; font-weight: 900; letter-spacing: -.03em; color: #fff; margin-bottom: 12px; }
.f-about p { font-size: 13.5px; line-height: 1.7; max-width: 380px; }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col h4 { color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 6px; letter-spacing: .02em; }
.f-col a { font-size: 13.5px; transition: color .15s; }
.f-col a:hover { color: #ffa057; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; border-top: 1px solid #23232e;
  font-size: 12px; color: #787886;
}
.footer-bottom .disc { max-width: 620px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .topbar-inner { gap: 10px 14px; }
  .logo { font-size: 20px; }
  .logo-icon { font-size: 19px; }
  .nav { gap: 1px; }
  .nav a { padding: 5px 7px; font-size: 12px; }
  .search input { width: 90px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .side-box { flex: 1; min-width: 280px; }
}

@media (max-width: 900px) {
  .hero-slider { height: 380px; }
  .slide-body h1 { font-size: 24px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .burger { display: flex; }
  .nav-toggle:checked ~ .topbar-inner .nav { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 12px 20px 18px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav a { padding: 11px 12px; border-radius: 10px; font-size: 14px; }
  .topbar-right .search { display: none; }
  .search-mobile { display: block; }
  .ticker-label { display: none; }
}

@media (max-width: 700px) {
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .article-title { font-size: 28px; }
  .article-content { font-size: 16px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .topbar-inner { min-height: 58px; padding: 0; }
  .hero-slider { height: 340px; }
  .slide-body { padding: 18px 18px 28px; }
  .slide-body h1 { font-size: 20px; }
  .slide-body p { display: none; }
  .slide-arrow { width: 36px; height: 36px; font-size: 18px; }
  .slide-dots { right: 50%; transform: translateX(50%); bottom: 12px; }
}

@media (min-width: 1001px) {
  .nav-toggle:checked ~ .topbar-inner .nav { display: flex; }
}
