@font-face {
  font-family: "Bebas Neue";
  src: url("../assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-primary: #265b8c;
  --blue-accent: #a2c4e4;
  --green-secondary: #0d7938;
  --off-white: #fcfcfc;
  --off-black: #2d2d2d;
  --shadow: 0 20px 45px rgba(38, 91, 140, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--off-black);
  background: var(--off-white);
}

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(252, 252, 252, 0.92);
  border-bottom: 1px solid rgba(38, 91, 140, 0.12);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  width: 116px;
}

.link {
  text-decoration: none;
  font-weight: 600;
  color: var(--blue-primary);
}

.hero {
  padding: 56px 0 30px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bebas Neue", "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--blue-primary);
}

.lead {
  max-width: 62ch;
  line-height: 1.65;
  font-size: 1.05rem;
  margin-top: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  padding-bottom: 70px;
}

.card {
  display: block;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 18%;
}

.card-content {
  padding: 22px;
}

.meta {
  margin: 0 0 6px;
  color: #4d4d4d;
  font-size: 0.92rem;
}

.card h3 {
  color: var(--blue-primary);
  font-size: 1.6rem;
}

.article {
  padding: 48px 0 80px;
}

.article-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.article-meta {
  margin: 8px 0 0;
  color: #4d4d4d;
}

.hero-image {
  margin: 24px 0 30px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.article-content p {
  line-height: 1.75;
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
}

.article-content h2 {
  margin: 2.4rem 0 0.7rem;
  font-size: 2rem;
  color: var(--blue-primary);
}

.quote {
  margin: 1rem 0 1.5rem;
  padding: 18px 20px;
  border-left: 4px solid var(--green-secondary);
  background: rgba(162, 196, 228, 0.2);
  border-radius: 10px;
  font-style: italic;
}

.pull-quote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 6px solid var(--blue-primary);
  background: rgba(38, 91, 140, 0.08);
  border-radius: 12px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 600;
  color: var(--blue-primary);
}

.inline-image {
  margin: 1.6rem auto 2rem;
  max-width: 720px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inline-image img {
  width: 100%;
  height: auto;
  display: block;
}

.bullets {
  margin: 0 0 1.2rem;
  padding-left: 18px;
}

.bullets li {
  margin-bottom: 0.5rem;
}

.bottom-image {
  margin-top: 1.8rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bottom-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.cta {
  margin-top: 2rem;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(38, 91, 140, 0.12), rgba(142, 226, 176, 0.23));
}

@media (max-width: 700px) {
  .topbar-inner {
    min-height: 64px;
  }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: rgba(28, 45, 64, 0.96);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--blue-primary);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner button {
    width: 100%;
  }
}
