@font-face { font-family: "Dosis"; font-weight: 500 700; font-display: swap; src: url(/fonts/dosis.woff2) format("woff2"); }
@font-face { font-family: "News Cycle"; font-weight: 400; font-display: swap; src: url(/fonts/newscycle-400.woff2) format("woff2"); }
@font-face { font-family: "News Cycle"; font-weight: 700; font-display: swap; src: url(/fonts/newscycle-700.woff2) format("woff2"); }

:root {
  --bg: #202c36;
  --band: #2b3844;
  --red: #f04b38;
  --red-btn: #d63a28; /* white text 4.67:1 */
  --blue: #3598fb;
  --text: #e8edf1;
  --muted: #b5c0c9;
  --dark: #212121;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 "News Cycle", system-ui, sans-serif;
}
h1, h2, h3 { font-family: "Dosis", system-ui, sans-serif; font-weight: 700; line-height: 1.15; margin: 0; }
a { color: var(--blue); }

.hero {
  background: var(--band);
  border-bottom: 4px solid var(--red);
  text-align: center;
  padding: 2.5rem 1.25rem 2.75rem;
}
.hero-logo { width: min(300px, 70vw); height: auto; display: block; margin: 0 auto 1.5rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); color: #fff; }
.hero p { max-width: 38rem; margin: 1rem auto 0; color: var(--muted); font-size: 1.125rem; }

main { max-width: 72rem; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
.section-title {
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  margin: 0 0 1.5rem;
}
.section-title:not(:first-child) { margin-top: 3rem; }

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.cards > .card { flex: 0 1 16rem; }

.card {
  background: var(--band);
  border: 1px solid #3a4a58;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.card-head {
  background: var(--dark);
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.card-head img { max-width: 85%; max-height: 4.5rem; width: auto; height: auto; }
.card h3 { margin: 1.1rem 1.25rem 0; font: 700 1.3rem/1.2 "Dosis", system-ui, sans-serif; }
.card h3 a { color: #fff; text-decoration: none; }
.card h3 a:hover, .card h3 a:focus-visible { text-decoration: underline; text-decoration-color: var(--red); }
.card p { margin: 0.5rem 1.25rem 1.25rem; flex: 1; }
.btn {
  display: block;
  margin: 0 1.25rem 1.25rem;
  padding: 0.7rem 1rem;
  border: 2px solid var(--red-btn);
  border-radius: 6px;
  color: #fff;
  background: var(--red-btn);
  font: 700 0.95rem/1.2 "Dosis", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn:hover, .btn:focus-visible { background: transparent; }
.card:nth-child(even) .btn { border-color: var(--blue); background: var(--blue); color: #0d1a26; }
.card:nth-child(even) .btn:hover, .card:nth-child(even) .btn:focus-visible { background: transparent; color: #fff; }

.site-footer {
  background: var(--dark);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
}
.site-footer p { max-width: 46rem; margin: 0 auto 0.9rem; }
.site-footer a { color: #8cc4fd; }
.footer-badges { display: flex; gap: 1.25rem; justify-content: center; align-items: center; flex-wrap: wrap; font-weight: 700; }
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: #fff;
}
.footer-closed { color: #fff; }
