/**
 * Document chrome for Cloud Function–rendered news pages.
 * News listing/article CSS is copied beside this file at export time.
 */

:root {
  --color-primary: #0E3A8A;
  --color-accent-a: #6C63FF;
  --color-accent-b: #FFD35C;
  --color-dark: #0E0E10;
  --color-light: #F5F5F5;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Merriweather', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: #eef2f6;
  color: #0e0e10;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  body {
    padding-top: 70px;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

img,
video {
  display: block;
}

a {
  color: #072f7a;
  text-decoration: none;
}

a:hover {
  color: #f95709;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.button,
.button--primary,
.navigation__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f95709;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 0.4rem;
  padding: 0.45rem 0.9rem;
}

.button--sm {
  font-size: 0.85rem;
}
