:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6673;
  --line: #d8dde4;
  --paper: #f6f3ed;
  --surface: #ffffff;
  --brand: #b6192b;
  --brand-dark: #821424;
  --navy: #16324f;
  --green: #0f766e;
  --gold: #c7922b;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 237, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

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

.brand-logo {
  display: block;
  height: 52px;
  object-fit: contain;
  width: 104px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.25rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  padding: 8px 10px;
}

.main-nav a:hover {
  background: #ece7dd;
  color: var(--ink);
}

.hero {
  background:
    linear-gradient(90deg, rgba(22, 50, 79, 0.92), rgba(130, 20, 36, 0.82)),
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 40px;
  padding: 64px 0;
}

.hero-copy {
  max-width: 740px;
}

.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  line-height: 1.04;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  max-width: 850px;
}

.hero-copy > p:not(.kicker) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
  max-width: 650px;
}

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

.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  min-height: 46px;
  padding: 0 18px;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
}

.hero-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 24px;
}

.status-dot {
  background: var(--green);
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.panel-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 10px 0 6px;
}

.hero-panel p:last-of-type {
  color: var(--muted);
  margin-top: 0;
}

.hero-panel dl {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-top: 18px;
}

.hero-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.hero-panel dt {
  color: var(--muted);
}

.hero-panel dd {
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 26px;
  max-width: 760px;
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.section-heading p:last-child,
.two-columns > div > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card,
.source-card,
.quick-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-card {
  overflow: hidden;
  padding: 0;
}

.news-image {
  background: linear-gradient(135deg, #fff, #f4efe6);
  display: block;
  aspect-ratio: 16 / 9;
}

.news-image-logo {
  background: linear-gradient(135deg, #fff, #f4efe6);
  padding: 24px;
}

.news-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-image-logo img {
  object-fit: contain;
}

.news-content {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 22px;
}

.news-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 8px;
  margin-bottom: 14px;
}

.team-chip {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 12px;
}

.team-chip img {
  border-radius: 6px;
  height: 26px;
  width: 26px;
}

.tag {
  background: #f1e3dd;
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 800;
  padding: 4px 8px;
}

.news-card h3 {
  font-size: 1.3rem;
  line-height: 1.16;
  margin: 0 0 10px;
}

.news-card p {
  color: var(--muted);
  margin: 0;
}

.news-summary a {
  color: var(--brand-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-link {
  color: var(--brand-dark);
  font-weight: 800;
  margin-top: auto;
  padding-top: 18px;
}

.highlight-band {
  background: #fff;
  border-block: 1px solid var(--line);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.quick-list {
  display: grid;
  gap: 14px;
}

.quick-list article {
  padding: 20px;
}

.quick-list span {
  color: var(--brand);
  font-weight: 800;
}

.quick-list h3 {
  margin: 6px 0;
}

.quick-list p {
  color: var(--muted);
  margin: 0;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.team-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
}

.team-card img {
  border-radius: 8px;
  height: 44px;
  width: 44px;
}

.team-card span {
  font-weight: 800;
}

.source-card {
  padding: 18px;
}

.source-card h3 {
  margin: 0 0 8px;
}

.source-card h3 a {
  color: var(--brand-dark);
}

.source-card p {
  color: var(--muted);
  margin: 0;
}

.source-kind {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
}

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

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
}

.method ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.method li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 14px;
}

.site-footer {
  background: #111820;
  color: rgba(255, 255, 255, 0.78);
  padding: 34px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-grid p {
  margin: 0;
}

.footer-note {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
  margin-top: 7px !important;
  max-width: 580px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
  max-width: 480px;
}

.footer-links a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 8px 11px;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.cookie-banner {
  align-items: center;
  background: rgba(17, 24, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  bottom: 18px;
  box-shadow: var(--shadow);
  color: #fff;
  display: flex;
  gap: 18px;
  left: 50%;
  max-width: min(720px, calc(100% - 32px));
  padding: 16px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 100;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.cookie-banner button {
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: var(--brand-dark);
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 800;
  min-height: 42px;
  padding: 0 16px;
}

@media (max-width: 880px) {
  .header-grid,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-layout,
  .two-columns,
  .method-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feed-grid,
  .teams-grid,
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    position: static;
  }

  .hero-layout {
    padding: 46px 0;
  }

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

  .hero h1 {
    font-size: 2.55rem;
  }

  .feed-grid,
  .teams-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .cookie-banner {
    align-items: stretch;
    bottom: 12px;
    flex-direction: column;
  }
}
