/* ==========================================================================
   Game Over Generation - Dark Carbon & Crimson Red Stylesheet
   Leggero, zero dipendenze esterne obbligatorie, alta leggibilità.
   ========================================================================== */

:root {
  --bg: #09090d;
  --bg-elevated: #111118;
  --bg-card: #161620;
  --bg-card-hover: #1d1c28;
  --bg-input: #0c0c12;
  --border: rgba(255, 42, 75, 0.20);
  --border-strong: rgba(255, 42, 75, 0.48);
  --text: #f6f6f9;
  --text-muted: #a5a7ba;
  --text-dim: #74778c;
  --accent: #ff2a4b;
  --accent-hover: #ff5570;
  --ember: #ff6b35;
  --gold: #fbbf24;
  --emerald: #10b981;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
  --glow-accent: 0 0 26px rgba(255, 42, 75, 0.22);
  --glow-ember: 0 0 24px rgba(255, 107, 53, 0.18);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(255, 42, 75, 0.09), transparent 60%),
    radial-gradient(800px 450px at 88% 5%, rgba(249, 115, 22, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #ff6b81;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: #ff99a8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(9, 9, 13, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 42, 75, 0.24), rgba(255, 107, 53, 0.20));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--glow-accent);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  text-transform: uppercase;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #ffffff 30%, #ff4764 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Search Box */
.search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 42, 75, 0.16);
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.92rem;
  padding: 6px 4px;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-btn {
  background: linear-gradient(135deg, #ff2a4b, #d91438);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
}

.search-btn:hover {
  filter: brightness(1.1);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 100;
  overflow: hidden;
  display: none;
}

.search-dropdown.open {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.search-item:last-child {
  border-bottom: none;
}

.search-item:hover {
  background: rgba(255, 42, 75, 0.10);
}

.search-item-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 42, 75, 0.15);
  color: #ff7a8f;
  white-space: nowrap;
}

.search-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 42, 75, 0.12);
}

.nav-link.active {
  color: #ff5c75;
}

.nav-admin {
  border: 1px solid rgba(251, 191, 36, 0.40);
  color: #fde68a;
  margin-left: 4px;
}

.nav-admin:hover {
  background: rgba(251, 191, 36, 0.14);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.05rem;
}

/* Main Content */
main.site-main {
  flex: 1;
  padding: 24px 0 56px;
}

/* Hero Slideshow */
.hero-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), var(--glow-accent);
  background: var(--bg-elevated);
  margin-bottom: 26px;
}

.hero-track {
  position: relative;
  min-height: 360px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  min-height: 360px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(9, 9, 13, 0.94) 0%, rgba(9, 9, 13, 0.78) 46%, rgba(9, 9, 13, 0.26) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 44px 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff7a8f;
  background: rgba(255, 42, 75, 0.14);
  border: 1px solid rgba(255, 42, 75, 0.42);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}

.hero-subtitle {
  margin: 0 0 22px;
  color: #e4e4ee;
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff2a4b, #d91438);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 42, 75, 0.30);
}

.btn-primary:hover {
  color: #ffffff;
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 42, 75, 0.14);
  color: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(9, 9, 13, 0.75);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.hero-arrow:hover {
  background: rgba(255, 42, 75, 0.30);
  border-color: var(--accent);
}

.hero-prev { left: 14px; }
.hero-next { right: 14px; }

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--accent);
}

/* Category Pills Bar */
.cat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.18s ease;
}

.cat-pill:hover,
.cat-pill.active {
  color: #fff;
  border-color: var(--pill-accent, var(--accent));
  background: rgba(255, 42, 75, 0.12);
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* Section Headers */
.section-block {
  margin-bottom: 42px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--dot-color, var(--accent));
  box-shadow: 0 0 12px var(--dot-color, var(--accent));
}

.section-more {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ff6b81;
  white-space: nowrap;
}

/* Featured Section */
.featured-box {
  background: linear-gradient(145deg, rgba(255, 42, 75, 0.09), rgba(255, 107, 53, 0.06));
  border: 1px solid rgba(255, 42, 75, 0.42);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 40px;
  box-shadow: var(--glow-accent);
}

.featured-box .section-head {
  border-bottom-color: rgba(255, 42, 75, 0.26);
}

.featured-star {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

/* Article Grid & Cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.articles-grid.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card-thumb-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0d14;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-thumb {
  transform: scale(1.04);
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.badge-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(9, 9, 13, 0.88);
  color: var(--badge-color, var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.badge-featured {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.94);
  color: #140c02;
}

.badge-video {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 42, 75, 0.92);
  color: #fff;
}

/* Rating Badge (1-10) */
.rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-weight: 800;
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 0.86rem;
  background: rgba(9, 9, 13, 0.92);
  border: 1.5px solid var(--accent);
  color: #ff7a8f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.rating-badge.rate-high {
  border-color: var(--gold);
  color: #fde68a;
}

.rating-badge.rate-good {
  border-color: var(--accent);
  color: #ff7a8f;
}

.rating-badge.rate-mid {
  border-color: var(--ember);
  color: #fdba74;
}

.rating-badge.rate-low {
  border-color: var(--danger);
  color: #fca5a5;
}

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 700;
}

.card-title a {
  color: var(--text);
}

.card-title a:hover {
  color: #ff5c75;
}

.card-excerpt {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.89rem;
  line-height: 1.5;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Single Article Page */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-shell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero-cover {
  position: relative;
  aspect-ratio: 16 / 7;
  max-height: 440px;
  width: 100%;
  background: #0d0d14;
  overflow: hidden;
}

.article-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-inner {
  padding: 32px 38px 36px;
}

.article-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.article-meta-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rating-box-large {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 42, 75, 0.10);
  border: 1px solid var(--border-strong);
}

.rating-score {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ff5c75;
  line-height: 1;
}

.rating-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-title {
  margin: 0 0 22px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.article-content {
  font-size: 1.04rem;
  line-height: 1.75;
  color: #e4e4ee;
}

.article-content p {
  margin: 0 0 1.15em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #fff;
  margin: 1.5em 0 0.6em;
  line-height: 1.3;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.article-content a {
  color: #ff6b81;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content img {
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 18px auto;
  max-height: 520px;
}

.article-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 42, 75, 0.08);
  border-radius: 0 10px 10px 0;
  color: var(--text);
}

/* Video Embed 16:9 */
.video-box {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Share Bar */
.share-bar {
  margin-top: 32px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.share-title {
  margin: 0 0 12px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.share-btn:hover {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(255, 42, 75, 0.16);
  border-color: var(--accent);
}

.share-wa:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.18); }
.share-fb:hover { border-color: #1877f2; background: rgba(24, 119, 242, 0.18); }
.share-x:hover  { border-color: #e2e8f0; background: rgba(226, 232, 240, 0.16); }
.share-tg:hover { border-color: #229ed9; background: rgba(34, 158, 217, 0.18); }
.share-li:hover { border-color: #0a66c2; background: rgba(10, 102, 194, 0.18); }

.share-copy.copied {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.22);
  color: #a7f3d0;
}

/* Category Header & Pagination */
.page-banner {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.page-banner h1 {
  margin: 0 0 6px;
  font-size: 1.75rem;
}

.page-banner p {
  margin: 0;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-link {
  padding: 8px 14px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.page-link.active,
.page-link:hover {
  background: rgba(255, 42, 75, 0.16);
  border-color: var(--accent);
  color: #fff;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.panel-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 42, 75, 0.16);
}

.alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 0.92rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
}

.alert-error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 7, 10, 0.97);
  padding: 28px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 32px 28px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    display: flex;
  }
  .search-wrap {
    order: 3;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .articles-grid,
  .articles-grid.featured-grid {
    grid-template-columns: 1fr;
  }
  .hero-track,
  .hero-slide.is-active {
    min-height: 290px;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(9, 9, 13, 0.55) 0%, rgba(9, 9, 13, 0.92) 70%);
  }
  .article-inner {
    padding: 22px 18px 26px;
  }
}
