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

:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-alt: #eef2ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #1d4ed8;
  --secondary: #0f766e;
  --border: #e2e8f0;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --table-head-bg: #f8fafc;
  --table-head-text: #1f2937;
  --pill-bg: #e2e8f0;
  --pill-text: #1e293b;
  --logo-bg: #f8fafc;
  --tooltip-bg: #0f172a;
  --tooltip-text: #ffffff;
  --news-chip-bg: #e0f2fe;
  --news-chip-text: #075985;
  --news-warning-bg: #fef3c7;
  --news-warning-text: #92400e;
  --news-source-bg: #eef2ff;
  --news-source-text: #3730a3;
  --footer-bg: #ffffff;
  --input-bg: #ffffff;
  --input-text: #0f172a;
  --input-placeholder: #94a3b8;
  --chart-text: #0f172a;
  --chart-grid: rgba(148, 163, 184, 0.3);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --card: #111827;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #60a5fa;
  --secondary: #34d399;
  --border: #1f2937;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --table-head-bg: #0f172a;
  --table-head-text: #e2e8f0;
  --pill-bg: #1e293b;
  --pill-text: #e2e8f0;
  --logo-bg: #0f172a;
  --tooltip-bg: #1f2937;
  --tooltip-text: #e2e8f0;
  --news-chip-bg: #0c4a6e;
  --news-chip-text: #e0f2fe;
  --news-warning-bg: #7c2d12;
  --news-warning-text: #fed7aa;
  --news-source-bg: #1e1b4b;
  --news-source-text: #e0e7ff;
  --footer-bg: #0b1120;
  --input-bg: #0f172a;
  --input-text: #e2e8f0;
  --input-placeholder: #64748b;
  --chart-text: #e2e8f0;
  --chart-grid: rgba(148, 163, 184, 0.2);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.hero-carousel {
  background: #0b1022;
  padding: 24px 0 18px;
  border-bottom: 1px solid #111827;
  overflow: hidden;
  position: relative;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.hero-slide {
  min-width: 100%;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.hero-slide-logos {
  width: min(1100px, 92vw);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 22px;
  align-items: center;
  justify-items: center;
}

.hero-slide-link {
  display: inline-grid;
}

.hero-slide-card {
  width: min(1100px, 92vw);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.3), transparent),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.25), transparent),
    #111827;
  border-radius: 26px;
  padding: 32px;
  display: grid;
  gap: 20px;
  align-items: center;
  grid-template-columns: auto 1fr;
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-slide-logo {
  width: min(220px, 100%);
  height: 140px;
  border-radius: 22px;
  background: #0b1022;
  display: grid;
  place-items: center;
  padding: 16px;
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .hero-slide-logo {
  background: #0b1022;
  border-color: rgba(148, 163, 184, 0.2);
}

.hero-slide-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-slide-logo::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 6px 10px;
  border-radius: 9px;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  max-width: 180px;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

[data-theme="dark"] .hero-slide-logo::after {
  background: rgba(30, 41, 59, 0.95);
}

.hero-slide-logo:hover::after {
  opacity: 1;
}

.hero-slide-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.32);
}

.hero-slide h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 6px;
}

.hero-slide p {
  color: rgba(226, 232, 240, 0.85);
  margin-bottom: 16px;
}

.hero-slide a {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.4);
}

.hero-arrow.left {
  left: 16px;
}

.hero-arrow.right {
  right: 16px;
}

.hero-arrow:hover {
  background: rgba(30, 64, 175, 0.9);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  border: none;
  cursor: pointer;
}

.hero-dot.active {
  background: #38bdf8;
}

@media (max-width: 720px) {
  .hero-slide-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-slide-logos {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }

  .hero-slide-logo {
    height: 120px;
  }
}

@media (max-width: 1024px) and (min-width: 721px) {
  .hero-slide-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 6px 12px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.theme-toggle-indicator {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--border);
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease;
}

.theme-toggle-indicator::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--card);
  position: absolute;
  left: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

[data-theme="dark"] .theme-toggle-indicator {
  background: var(--primary);
}

[data-theme="dark"] .theme-toggle-indicator::after {
  transform: translateX(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 46px;
  height: 46px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.entity-link {
  color: inherit;
}

.entity-link:hover {
  color: var(--primary);
}

.hero {
  padding: 64px 0 48px;
}

.services-dashboard {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.dashboard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.dashboard-card .label {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-card .value {
  font-size: 1.4rem;
  font-weight: 600;
}

.dashboard-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
}

.dashboard-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.dashboard-filters select,
.dashboard-filters input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--input-text);
}

.dashboard-filters select:focus,
.dashboard-filters input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.25);
  outline-offset: 2px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.entity-hero {
  padding: 56px 0 40px;
}

.entity-hero-card {
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.entity-hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: var(--logo-bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 18px;
}

.entity-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entity-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.entity-hero-meta .label {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.entity-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.entity-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.detail-card p {
  color: var(--muted);
}

.brand-banner {
  padding: 40px 0 8px;
}

.brand-banner-card {
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.18), transparent),
    #0b1022;
  color: #e2e8f0;
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.2);
}

.brand-banner-card h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.brand-banner-card p {
  color: rgba(226, 232, 240, 0.8);
}

.brand-banner-mark {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  padding: 12px;
}

.brand-banner-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--secondary);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.primary,
.secondary {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.primary {
  background: var(--primary);
  color: #fff;
}

.secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.hero-meta {
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}

.hero-meta .label {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
}

.hero-card {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card h3 {
  margin-bottom: 16px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.snapshot-grid .label {
  font-size: 0.75rem;
  color: var(--muted);
}

.snapshot-grid .value {
  font-weight: 600;
  font-size: 1.1rem;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
}

.search input {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  min-width: 220px;
  background: var(--input-bg);
  color: var(--input-text);
}

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

.entity-list {
  display: grid;
  gap: 12px;
}

.entity-row.header {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.entity-row.header .sort-button {
  font-size: 0.7rem;
}

.entity-row.header .entity-logo {
  opacity: 0;
}

.entity-row {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1.6fr 1fr 0.6fr 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.entity-row.filters {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 20px 16px;
  margin-top: -6px;
}

.sort-button {
  background: transparent;
  border: none;
  font: inherit;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0;
}

.sort-button:hover {
  color: var(--text);
}

.filter-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--input-text);
  font-size: 0.85rem;
}

.filter-date {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.entity-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.entity-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--logo-bg);
  position: relative;
}

.entity-logo-link {
  display: inline-grid;
}

.entity-logos {
  display: flex;
  gap: 8px;
}

.entity-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.entity-logo::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translate(-50%, 100%);
  background: var(--tooltip-bg);
  color: var(--tooltip-text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
  max-width: 240px;
  width: max-content;
  opacity: 0;
}

.entity-logo:hover::after {
  opacity: 1;
}

.entity-row h3 {
  font-size: 1.05rem;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: var(--pill-bg);
  color: var(--pill-text);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.entity-row .meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.chart-card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.table-card {
  background: var(--card);
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.services-table th,
.services-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.services-matrix-table .group-divider {
  border-left: 2px solid var(--border);
}

.services-matrix-table thead .group-divider {
  border-left: 2px solid var(--border);
}

.services-matrix-table tbody td.group-divider {
  border-left: 2px solid var(--border);
}

.services-table th {
  background: var(--table-head-bg);
  color: var(--table-head-text);
  font-weight: 600;
}

.services-table tr:last-child td {
  border-bottom: none;
}

.services-matrix-table th,
.services-matrix-table td {
  text-align: center;
}

.services-matrix-table {
  table-layout: fixed;
  min-width: 1900px;
}

.services-matrix-table th,
.services-matrix-table td {
  width: 150px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.services-matrix-table th:first-child,
.services-matrix-table td:first-child {
  text-align: left;
  width: 120px;
}

.services-matrix-table th:nth-child(2),
.services-matrix-table td:nth-child(2) {
  text-align: left;
  width: 200px;
}

.services-logo .entity-logos {
  justify-content: flex-start;
}

.services-logo .entity-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.services-matrix-table th:nth-child(2),
.services-matrix-table td:nth-child(2) {
  text-align: left;
  min-width: 160px;
}

.services-matrix {
  overflow-x: auto;
}

.services-matrix-table thead th {
  font-size: 0.8rem;
}

.services-matrix-table thead tr:nth-child(2) th {
  font-size: 0.75rem;
  line-height: 1.2;
  padding-top: 10px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.services-matrix-header {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.services-matrix-header img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.checkmark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.treasury-table {
  margin-top: 20px;
}

@media (max-width: 960px) {
  .entity-row {
    grid-template-columns: auto 1fr;
  }
}

.treasury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.treasury-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.treasury-card h3 {
  margin-bottom: 8px;
}

.treasury-card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.treasury-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.treasury-link {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.news-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 16px;
}

.news-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.news-sidebar {
  display: grid;
  gap: 16px;
}

.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.news-scroll {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.news-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-warnings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-warning {
  background: var(--news-warning-bg);
  color: var(--news-warning-text);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-chip {
  background: var(--news-chip-bg);
  color: var(--news-chip-text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-updated {
  color: var(--muted);
  font-size: 0.85rem;
}

.news-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.news-source {
  background: var(--news-source-bg);
  color: var(--news-source-text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.news-item a {
  color: var(--primary);
  font-weight: 600;
}

.news-item .meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.promo-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.promo-card a {
  color: var(--primary);
  font-weight: 600;
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-brand span {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.footer-brand .meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .header-actions {
    width: auto;
  }

  .entity-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .entity-hero-logo {
    margin: 0 auto;
  }

  .brand-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand {
    gap: 10px;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-scroll {
    max-height: none;
  }
}
