@import url('https://fonts.googleapis.com/css2?family=Bungee+Inline&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --color-background: #ffffff;
  --color-theme: #1f3c88;
  --color-theme-light: #e6ecff;
  --color-text: #1b2330;
  --color-muted: #56607a;
  --font-headline: 'Bungee Inline', 'Source Sans 3', sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

a {
  color: var(--color-theme);
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover:not(.cta-button),
a:focus:not(.cta-button) {
  color: #12245c;
}

.site-frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home .site-frame {
  min-height: 100vh;
}

.home .site-content {
  flex: 1;
}

.main-content {
  width: 100%;
  margin: 0;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem) clamp(3.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.content-body {
  width: min(100%, 50vw);
  max-width: 1240px;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.main-content h1,
.main-content h2,
.main-content h3 {
  font-family: var(--font-headline);
  letter-spacing: 0.04em;
  margin-top: 0;
  color: var(--color-theme);
}

.main-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
}

.headline {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  overflow: hidden;
}

.headline span {
  display: inline-block;
  white-space: nowrap;
  color: #142a64;
  padding-right: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 0;
  mix-blend-mode: multiply;
}

.headline .headline-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.4;
  filter: saturate(0.9) brightness(1.1);
  pointer-events: none;
  z-index: 1;
}

.main-content h1:first-child {
  width: 100%;
  max-width: none;
}

.main-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-top: 3rem;
}

.main-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-top: 2.25rem;
}


.main-content h3 + p {
  margin-top: 0.75rem;
  margin-bottom: 1.35rem;
  padding-left: clamp(0.5rem, 3vw, 2rem);
  color: var(--color-muted);
  line-height: 1.7;
}

.main-content h3 + p strong {
  color: var(--color-text);
  font-weight: 600;
}
.section-meta {
  margin-bottom: 2rem;
  color: var(--color-muted);
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.65rem;
  background: var(--color-theme);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  box-shadow: 0 6px 18px rgba(31, 60, 136, 0.18);
  overflow: hidden;
}

.cta-button span {
  position: relative;
  z-index: 3;
}

.cta-button .headline-film {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.45;
  filter: saturate(0.9) brightness(1.15);
  pointer-events: none;
  z-index: 1;
}

.cta-button:hover,
.cta-button:focus {
  background: #12245c;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(18, 36, 92, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1100px) {
  .content-body {
    width: min(100%, 60vw);
  }
}

@media (max-width: 700px) {
  .content-body {
    width: 100%;
    margin-top: clamp(1.5rem, 6vw, 2rem);
  }

  .headline span {
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
  }

  .main-content > .headline:first-of-type span {
    white-space: normal;
    word-break: break-word;
    hyphens: manual;
  }

}
