/* ============================================================
   HaberSite - Ana CSS
   Tasarım: Editöryal / Gazete Stili
   ============================================================ */

:root {
  --primary: #0f1923;
  --accent: #c8102e;
  --accent-dark: #9b0b21;
  --accent-light: #ff1a3d;
  --gold: #c9a227;
  --text: #1a1a2e;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg: #fafaf8;
  --bg-card: #ffffff;
  --bg-dark: #0f1923;
  --border: #e2e0db;
  --border-light: #f0eeea;
  --shadow: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --radius: 4px;
  --radius-md: 8px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Geist', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.breaking-bar {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
}
.breaking-label {
  background: var(--primary);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}
.breaking-label::before { content: '⚡'; font-size: 14px; }
.breaking-ticker-wrap { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; }
.breaking-ticker {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
}
.breaking-ticker:hover { animation-play-state: paused; }
.breaking-ticker a { color: #fff; opacity: .9; transition: opacity var(--transition); }
.breaking-ticker a:hover { opacity: 1; }
.breaking-ticker a::after { content: '•'; margin-left: 48px; opacity: .4; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--bg-card);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  height: 64px;
  gap: 24px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.5px;
  flex-shrink: 0;
  transition: color var(--transition);
}
.site-logo span { color: var(--accent); }
.site-logo:hover { color: var(--accent); }
.site-logo:hover span { color: var(--primary); }

/* Search */
.header-search { flex: 1; max-width: 420px; position: relative; }
.header-search input {
  width: 100%;
  padding: 8px 40px 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: var(--font-ui);
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  transition: all var(--transition);
  outline: none;
}
.header-search input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(200,16,46,.08); }
.header-search button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 16px; transition: color var(--transition);
}
.header-search button:hover { color: var(--accent); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all var(--transition); }

/* Navigation */
.site-nav {
  background: var(--primary);
  overflow: hidden;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 0;
}
.nav-item a {
  display: block; padding: 12px 14px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.8); letter-spacing: .02em;
  transition: all var(--transition); white-space: nowrap;
}
.nav-item a:hover, .nav-item.active a { color: #fff; }
.nav-item.active a { border-bottom: 2px solid var(--accent); }
.nav-item a:hover { background: rgba(255,255,255,.06); }

/* Mobile nav */
.mobile-nav {
  display: none; background: var(--primary); padding: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 10px 16px;
  font-family: var(--font-ui); font-size: 14px; color: rgba(255,255,255,.8);
  border-radius: var(--radius);
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.page-main { padding: 32px 0 64px; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

/* ============================================================
   HERO / FEATURED
   ============================================================ */
.hero-section { margin-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 4px; }

.hero-main {
  grid-row: 1 / 3;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--primary); min-height: 480px;
}
.hero-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease; display: block;
}
.hero-main:hover img { transform: scale(1.03); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,35,.9) 0%, rgba(10,20,35,.3) 55%, transparent 100%);
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px;
}
.hero-content .cat-badge { margin-bottom: 10px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700; color: #fff; line-height: 1.25;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-title a { color: #fff; }
.hero-title a:hover { color: rgba(255,255,255,.85); }
.hero-excerpt { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: rgba(255,255,255,.6); font-family: var(--font-ui); font-size: 12px; }

.hero-secondary {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--primary); cursor: pointer;
}
.hero-secondary img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; transition: transform .5s ease; }
.hero-secondary:hover img { transform: scale(1.04); }
.hero-secondary .hero-overlay { background: linear-gradient(to top, rgba(10,20,35,.85) 0%, transparent 60%); }
.hero-secondary .hero-content { padding: 16px; }
.hero-secondary .hero-title { font-size: clamp(14px, 1.6vw, 18px); }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.section-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--primary); display: flex; align-items: center; gap: 8px;
}
.section-title .accent { color: var(--accent); }
.section-link {
  font-family: var(--font-ui); font-size: 12px; font-weight: 500;
  color: var(--accent); letter-spacing: .05em; text-transform: uppercase;
  transition: opacity var(--transition);
}
.section-link:hover { opacity: .7; }

/* Article Grid */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.articles-grid-3 { grid-template-columns: repeat(3, 1fr); }
.articles-grid-4 { grid-template-columns: repeat(4, 1fr); }

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.article-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-image { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #e8e6e1; flex-shrink: 0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .card-image img { transform: scale(1.05); }
.card-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; background: linear-gradient(135deg, #f0eeea, #e8e6e1); }

.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--transition);
}
.article-card:hover .card-title { color: var(--accent); }
.card-excerpt {
  font-size: 14px; color: var(--text-light); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border-light); }
.card-author { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); }
.card-date { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); margin-left: auto; }
.card-views { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); }

/* Category Badge */
.cat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 2px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: var(--accent);
}

/* List Card (horizontal) */
.article-list-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: transform var(--transition);
}
.article-list-item:last-child { border-bottom: none; }
.article-list-item:hover { transform: translateX(3px); }
.list-rank {
  font-family: var(--font-display); font-size: 28px; font-weight: 900;
  color: var(--border); line-height: 1; flex-shrink: 0; width: 28px; text-align: center; margin-top: 2px;
}
.list-image { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; background: #e8e6e1; }
.list-content { flex: 1; min-width: 0; }
.list-title {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--transition);
}
.article-list-item:hover .list-title { color: var(--accent); }
.list-meta { font-family: var(--font-ui); font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }
.widget { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.widget-header {
  padding: 14px 18px; background: var(--primary);
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 8px;
}
.widget-body { padding: 16px 18px; }

/* ============================================================
   ARTICLE DETAIL PAGE
   ============================================================ */
.article-hero { margin-bottom: 32px; position: relative; border-radius: var(--radius); overflow: hidden; }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.article-hero figcaption { padding: 8px 16px; background: var(--bg-dark); color: rgba(255,255,255,.6); font-family: var(--font-ui); font-size: 12px; }

.article-header { margin-bottom: 28px; }
.article-cat { margin-bottom: 14px; }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800; line-height: 1.18;
  color: var(--primary); margin-bottom: 16px;
  letter-spacing: -.5px;
}
.article-excerpt {
  font-size: 18px; font-weight: 300; color: var(--text-light);
  line-height: 1.6; border-left: 4px solid var(--accent);
  padding-left: 20px; margin-bottom: 20px; font-style: italic;
}
.article-meta-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-family: var(--font-ui); font-size: 13px; color: var(--text-muted);
}
.meta-author { font-weight: 600; color: var(--text); }
.meta-divider { width: 4px; height: 4px; background: var(--border); border-radius: 50%; }

/* Article content */
.article-body {
  font-size: 17px; line-height: 1.8; color: var(--text);
  font-family: var(--font-body); margin-bottom: 36px;
}
.article-body h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin: 32px 0 16px; color: var(--primary); }
.article-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin: 24px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }
.article-body a { color: var(--accent); border-bottom: 1px solid rgba(200,16,46,.3); transition: border-color var(--transition); }
.article-body a:hover { border-color: var(--accent); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--accent); padding: 16px 20px; margin: 28px 0;
  background: rgba(200,16,46,.04); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; font-size: 18px; color: var(--text-light);
}
.article-body img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-body th, .article-body td { padding: 10px 14px; border: 1px solid var(--border); font-size: 15px; }
.article-body th { background: var(--primary); color: #fff; font-family: var(--font-ui); font-size: 13px; }

/* Share buttons */
.share-bar {
  display: flex; align-items: center; gap: 12px; margin: 28px 0;
  padding: 16px; background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.share-label { font-family: var(--font-ui); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 4px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: #fff;
  transition: opacity var(--transition); cursor: pointer;
}
.share-btn:hover { opacity: .85; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy { background: var(--text-muted); }

/* Source */
.article-source { padding: 12px 16px; background: var(--bg); border-radius: var(--radius); border-left: 3px solid var(--gold); font-family: var(--font-ui); font-size: 13px; color: var(--text-muted); }
.article-source a { color: var(--accent); }

/* Related articles */
.related-section { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--primary); }

/* ============================================================
   CATEGORY & SEARCH PAGES
   ============================================================ */
.page-hero {
  background: var(--primary); color: #fff; padding: 40px 0 36px;
  margin-bottom: 32px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(200,16,46,.15);
}
.page-hero-content { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.page-hero-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 52px); font-weight: 800; line-height: 1.1; }
.page-hero-desc { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 8px; }
.page-hero-count { font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,.5); margin-top: 8px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 40px 0; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1.5px solid var(--border);
  font-family: var(--font-ui); font-size: 14px; color: var(--text);
  transition: all var(--transition); cursor: pointer; background: var(--bg-card);
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ============================================================
   CATEGORY SECTIONS ON HOME
   ============================================================ */
.cat-section { margin-bottom: 40px; }
.cat-section-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px; }
.cat-mini-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; background: var(--primary); cursor: pointer; }
.cat-mini-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-mini-card:hover img { transform: scale(1.06); }
.cat-mini-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,35,.85) 0%, transparent 55%); }
.cat-mini-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; }
.cat-mini-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-main-card .cat-mini-title { font-size: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary); color: rgba(255,255,255,.75);
  padding: 48px 0 0; margin-top: 64px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1400px; margin: 0 auto; padding: 0 24px 40px; }
.footer-brand .logo { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-brand .logo span { color: var(--accent); }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 15px; transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); color: #fff; }
.footer-col h4 { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px; max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-ui); font-size: 12px; color: rgba(255,255,255,.35);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.badge-breaking { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 2px; font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }

.badge-featured { background: var(--gold); color: #fff; padding: 2px 8px; border-radius: 2px; font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.divider { height: 1px; background: var(--border-light); margin: 32px 0; }
.text-accent { color: var(--accent); }
.font-display { font-family: var(--font-display); }
.font-ui { font-family: var(--font-ui); }

/* Date format */
.timeago { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); }

/* No image placeholder */
.no-image { background: linear-gradient(135deg, #e8e6e1 0%, #d4d0c8 100%); display: flex; align-items: center; justify-content: center; font-size: 36px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-main { min-height: 360px; grid-row: auto; }
  .hero-secondary { min-height: 220px; }
  .articles-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .articles-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-section-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-search { display: none; }
  .hamburger { display: flex; }
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid-3, .articles-grid-4 { grid-template-columns: 1fr; }
  .cat-section-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .article-title { font-size: 26px; }
  .article-excerpt { font-size: 16px; }
  .share-bar { flex-wrap: wrap; }
  .share-btn span { display: none; }
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton { background: linear-gradient(90deg, #f0eeea 25%, #e8e6e1 50%, #f0eeea 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: var(--radius); }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 42px; height: 42px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: all var(--transition); z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--accent); }
