:root {
  --bg: #080c10;
  --bg2: #0d1117;
  --bg3: #111820;
  --surface: #141c26;
  --surface2: #1a2332;
  --border: rgba(0, 200, 255, 0.08);
  --border-bright: rgba(0, 200, 255, 0.18);
  --text: #e8f0f8;
  --text-muted: rgba(232, 240, 248, 0.5);
  --text-dim: rgba(232, 240, 248, 0.25);
  --cyan: #00c8ff;
  --cyan-dim: rgba(0, 200, 255, 0.12);
  --cyan-border: rgba(0, 200, 255, 0.3);
  --cyan-glow: rgba(0, 200, 255, 0.08);
  --green: #00e5a0;
  --green-dim: rgba(0, 229, 160, 0.1);
  --mono: 'Space Mono', monospace;
  --sans: 'Outfit', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  z-index: 200;
  opacity: 0.6;
}

/* ── TICKER ───────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 64px;
  z-index: 95;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 20px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  height: 100%;
  z-index: 2;
}

.ticker-label-dot {
  width: 5px;
  height: 5px;
  background: var(--bg);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}

.ticker-wrap:hover .ticker-inner {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0 32px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.ticker-item:hover { color: var(--cyan); }

.ticker-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.4;
  margin-right: 32px;
  flex-shrink: 0;
}

/* ── EXISTING HEADER / FILTERS ────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 16, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  user-select: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-bracket { color: var(--cyan); opacity: 0.7; }
.logo-name { color: var(--text); }

.logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  margin: 0 2px;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50% { opacity: 0.4; box-shadow: 0 0 3px var(--cyan); }
}

.header-tagline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.header-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--green);
  border: 1px solid rgba(0, 229, 160, 0.3);
  padding: 3px 8px;
  background: rgba(0, 229, 160, 0.06);
}

.filters-wrap {
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  position: sticky;
  top: 100px;
  z-index: 90;
}

.filters-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 0;
  align-items: center;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 17px 22px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 6px var(--cyan);
}

.filter-btn:hover { color: var(--text); }
.filter-btn.active { color: var(--cyan); }
.filter-btn.active::after { transform: scaleX(1); }

.filter-count {
  display: inline-block;
  margin-left: 5px;
  font-size: 9px;
  color: var(--cyan);
  vertical-align: middle;
  opacity: 0.7;
}

.main-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.featured-wrap {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 400;
  margin-bottom: 32px;
}

.featured-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.featured-label::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.featured-card:hover .featured-img img { transform: scale(1.03); }
.featured-card:hover .featured-title { color: var(--cyan); }

.featured-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
  border: 1px solid var(--border);
}

.featured-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0,200,255,0.04));
  z-index: 1;
  pointer-events: none;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  display: block;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,200,255,0.015) 10px,
    rgba(0,200,255,0.015) 20px
  );
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder span {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(232,240,248,0.2);
  text-align: center;
  line-height: 1.6;
  max-width: 120px;
  position: relative;
  z-index: 1;
}

.featured-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 400;
  border: 1px solid var(--cyan-border);
  padding: 4px 10px;
  margin-bottom: 20px;
  background: var(--cyan-dim);
}

.featured-title {
  font-family: var(--sans);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  transition: color 0.2s;
  text-wrap: pretty;
}

.featured-subtitle {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.article-meta .author { color: var(--text-muted); }
.meta-dot { opacity: 0.3; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 400;
  margin-top: 24px;
  transition: gap 0.2s;
}

.read-more span {
  font-size: 14px;
  transition: transform 0.2s;
}

.featured-card:hover .read-more { gap: 14px; }
.featured-card:hover .read-more span { transform: translateX(4px); }

.grid-section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.grid-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.article-card {
  background: var(--bg);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.article-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.2s;
}

.article-card:hover { background: var(--bg2); }
.article-card:hover::after { border-color: var(--border-bright); }

.card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(8,12,16,0.5), transparent);
  pointer-events: none;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  display: block;
}

.article-card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 22px 24px 26px; }

.card-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 400;
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.2s;
  text-wrap: pretty;
}

.article-card:hover .card-title { color: var(--cyan); }

.card-subtitle {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 18px;
}

.card-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-meta .author { color: var(--text-muted); }

.article-card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.article-card.wide .card-img { aspect-ratio: auto; }

.empty-state {
  padding: 80px 0;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ── RECOMMENDED ──────────────────────────────────────── */
.recommended-section {
  border-top: 1px solid var(--border);
  padding: 52px 40px 64px;
  background: var(--bg2);
}

.recommended-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.recommended-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.recommended-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
}

.recommended-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.rec-card {
  background: var(--bg);
  text-decoration: none;
  display: block;
  position: relative;
  transition: background 0.2s;
  overflow: hidden;
}

.rec-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.2s;
}

.rec-card:hover { background: var(--bg3); }
.rec-card:hover::after { border-color: var(--border-bright); }

.rec-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.rec-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.rec-card:hover .rec-card-img img { transform: scale(1.05); }

.rec-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rec-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,200,255,0.015) 10px,
    rgba(0,200,255,0.015) 20px
  );
}

.rec-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rec-card-body { padding: 16px 18px 20px; }

.rec-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 2px 7px;
  margin-bottom: 10px;
  border: 1px solid;
}

.rec-badge.badge-rec {
  color: var(--text-dim);
  border-color: rgba(232, 240, 248, 0.1);
  background: rgba(232, 240, 248, 0.04);
}

.rec-badge.badge-sponsored {
  color: #f0a500;
  border-color: rgba(240, 165, 0, 0.3);
  background: rgba(240, 165, 0, 0.06);
}

.rec-card-title {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.2s;
  text-wrap: pretty;
}

.rec-card:hover .rec-card-title { color: var(--cyan); }

.rec-card-source {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rec-card-source .source-name { color: var(--text-muted); }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: #060a0e;
  color: #ddd;
  padding: 80px 5% 40px;
  border-top: 1px solid var(--border);
  font-family: var(--sans);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0,200,255,0.06);
}

.footer-brand .footer-logo {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.footer-brand-desc {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(232,240,248,0.4);
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 22px;
  font-weight: 400;
}

.footer-link {
  display: block;
  color: rgba(232,240,248,0.5);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.93rem;
  transition: color 0.2s;
}

.footer-link:hover { color: #fff; }

.footer-disclaimer {
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.2);
  margin-top: 22px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 15px;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s;
}

.footer-legal a:hover { color: #fff; }

/* ── PAGINATION ───────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 48px 40px 16px;
}

.pagination-btn,
.pagination-page {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 9px 16px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.pagination-btn { padding: 9px 22px; }

.pagination-btn:hover,
.pagination-page:hover {
  color: var(--text);
  border-color: var(--cyan-border);
}

.pagination-page.active {
  color: var(--cyan);
  border-color: var(--cyan-border);
  background: var(--cyan-dim);
  pointer-events: none;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .header-inner, .main-content { padding-left: 20px; padding-right: 20px; }
  .featured-card { grid-template-columns: 1fr; gap: 28px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.wide { grid-column: span 1; display: block; }
  .article-card.wide .card-img { aspect-ratio: 3/2; }
  .filters-inner { overflow-x: auto; padding-left: 20px; padding-right: 20px; }
  .header-tagline { font-size: 0.3rem; }
  .recommended-grid { grid-template-columns: repeat(2, 1fr); }
  .recommended-section { padding-left: 20px; padding-right: 20px; }
  .ticker-label { padding: 0 12px 0 14px; font-size: 8px; }
}

@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 50px 40px; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 45px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal a { margin-left: 0; margin-right: 18px; }
  .recommended-grid { grid-template-columns: 1fr; }
  .pagination {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 36px 16px 8px;
    gap: 4px;
  }
  .pagination::-webkit-scrollbar { display: none; }
  .pagination-btn,
  .pagination-page { padding: 6px 10px; font-size: 10px; }
}

/* ── CATEGORY PAGES ──────────────────────────────── */
.cat-page { max-width: 1320px; margin: 0 auto; padding: 0 40px 80px; }
.category-header { padding: 48px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.cat-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cyan); font-weight: 400; margin-bottom: 16px;
}
.cat-badge::before { content: ''; display: block; width: 20px; height: 1px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.category-title {
  font-family: var(--sans); font-size: 42px; line-height: 1.12; font-weight: 600;
  color: var(--text); margin-bottom: 16px; text-wrap: pretty;
}
.category-desc {
  font-size: 15px; line-height: 1.75; color: var(--text-muted);
  font-weight: 300; max-width: 680px;
}
.cat-count {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-dim); margin-top: 20px;
}
@media (max-width: 900px) {
  .cat-page { padding-left: 20px; padding-right: 20px; }
  .category-title { font-size: 30px; }
  .category-header { padding: 32px 0; }
}

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-dim); margin-bottom: 40px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--text-dim); }

/* ── BACK LINK ───────────────────────────────────── */
.back-wrap { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.back-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); text-decoration: none; transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

/* ── RELATED ARTICLES ─────────────────────────────── */
.related-section { margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 400; margin-bottom: 24px;
}
.related-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--cyan); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.related-card {
  background: var(--bg); text-decoration: none; display: block;
  position: relative; transition: background 0.2s;
}
.related-card:hover { background: var(--bg2); }
.related-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.related-card:hover .related-card-img img { transform: scale(1.03); }
.related-card-body { padding: 16px 20px 20px; }
.related-card-cat {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 400; margin-bottom: 8px;
}
.related-card-title {
  font-family: var(--sans); font-size: 15px; line-height: 1.22; font-weight: 600;
  color: var(--text); margin-bottom: 10px; transition: color 0.2s; text-wrap: pretty;
}
.related-card:hover .related-card-title { color: var(--cyan); }
.related-card-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-dim);
}
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }

/* ── ARTICLE PAGES ────────────────────────────────── */
a { color: var(--cyan); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--cyan); text-shadow: 0 0 6px rgba(0, 200, 255, 0.6); }
.article-page { max-width: 780px; margin: 0 auto; padding: 48px 40px 100px; }
.article-hero { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 48px; position: relative; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-page-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 400; border: 1px solid var(--cyan-border);
  padding: 4px 10px; margin-bottom: 24px; background: var(--cyan-dim);
}
.article-page-title {
  font-family: var(--sans); font-size: 44px; line-height: 1.1; font-weight: 600;
  color: var(--text); margin-bottom: 20px; text-wrap: pretty;
}
.article-page-lead {
  font-size: 18px; line-height: 1.7; color: var(--text-muted); font-weight: 300;
  margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.article-page-lead a { color: var(--cyan); border-bottom: 1px solid var(--cyan-border); }
.article-page-lead a:hover { border-bottom-color: var(--cyan); }
.article-page-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--text-dim); margin-bottom: 48px;
}
.article-page-meta .author { color: var(--text-muted); }
.article-content { font-size: 16px; line-height: 1.85; color: rgba(232, 240, 248, 0.8); font-weight: 300; }
.article-content h2 {
  font-family: var(--sans); font-size: 26px; font-weight: 600; color: var(--text);
  margin: 40px 0 16px; line-height: 1.25;
}
.article-content h3 {
  font-family: var(--sans); font-size: 20px; font-weight: 600; color: var(--text);
  margin: 30px 0 12px;
}
.article-content p { margin-bottom: 20px; }
.article-content ul { margin: 28px 0; padding-left: 20px; }
.article-content li { margin-bottom: 14px; }
.article-content strong { color: var(--text); font-weight: 500; }
.article-content a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid var(--cyan-border); transition: border-color 0.2s; }
.article-content a:hover { border-color: var(--cyan); text-shadow: none; }
.highlight-box {
  background: var(--cyan-dim); border-left: 3px solid var(--cyan-border);
  padding: 20px 24px; margin: 32px 0; border-radius: 0 4px 4px 0;
}
.info-box { background: var(--surface); border: 1px solid var(--border); padding: 20px 24px; margin: 28px 0; border-radius: 6px; }
.info-box p { margin: 0; }
.warning-box { background: rgba(255, 140, 66, 0.08); border: 1px solid rgba(255, 140, 66, 0.25); padding: 20px 24px; margin: 28px 0; border-radius: 6px; }
@media (max-width: 900px) {
  .article-page { padding: 32px 20px 80px; }
  .article-page-title { font-size: 32px; }
}