/* Shared foundations and utilities */
:root {
  --zgr-navy: #122b50;
  --zgr-black: #121212;
  --zgr-gray: #757575;
  --zgr-light-gray: #e8e8e8;
  --zgr-white: #ffffff;
  --zgr-crimson: #dc143c;
  --zgr-blue-accent: #6b9bd1;
  --zgr-navy-faint: rgba(18, 43, 80, 0.3);
  --zgr-white-70: rgba(255, 255, 255, 0.7);
  --zgr-white-50: rgba(255, 255, 255, 0.5);
  --zgr-white-20: rgba(255, 255, 255, 0.2);
  --font-tinos: 'Tinos', Georgia, serif;
  --font-urbanist: 'Urbanist', system-ui, sans-serif;
  --font-baskerville: 'Libre Baskerville', Georgia, serif;
  --font-poppins: 'Poppins', system-ui, sans-serif;
  --zgr-page-pad: 24px;
  --zgr-max-width: 1488px;
  --zgr-section-top: 64px;
  --zgr-gap: 32px;
  --zgr-gap-sm: 24px;
  --zgr-gap-xs: 16px;
  --zgr-radius: 12px;
  --zgr-radius-sm: 6px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-baskerville);
  font-size: 16px;
  line-height: 1.6;
  color: var(--zgr-black);
  background: var(--zgr-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

.zgr-container {
  max-width: var(--zgr-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--zgr-page-pad);
  padding-right: var(--zgr-page-pad);
}

.zgr-section {
  padding-top: var(--zgr-section-top);
  padding-bottom: var(--zgr-section-top);
}

.zgr-section-title {
  font-family: var(--font-tinos);
  font-weight: 700;
  font-size: 28px;
  line-height: 42px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--zgr-black);
}

.zgr-section-title--white {
  color: var(--zgr-white);
}

.zgr-section-title--navy {
  color: var(--zgr-navy);
  font-family: var(--font-urbanist);
  font-size: 24px;
  letter-spacing: 0.48px;
}

.zgr-heading-xl {
  font-family: var(--font-tinos);
  font-size: 40px;
  line-height: 48px;
  color: var(--zgr-black);
}

.zgr-heading-lg {
  font-family: var(--font-tinos);
  font-size: 28px;
  line-height: 35px;
  color: var(--zgr-black);
}

.zgr-heading-md {
  font-family: var(--font-tinos);
  font-size: 24px;
  line-height: 30px;
  color: var(--zgr-black);
}

.zgr-heading-md--white {
  color: var(--zgr-white);
}

.zgr-heading-sm {
  font-family: var(--font-tinos);
  font-size: 20px;
  line-height: 28px;
  color: var(--zgr-black);
}

.zgr-heading-xs {
  font-family: var(--font-tinos);
  font-size: 18px;
  line-height: 25.2px;
  color: var(--zgr-black);
}

.zgr-heading-card {
  font-family: var(--font-baskerville);
  font-size: 14px;
  line-height: 19.6px;
  color: var(--zgr-black);
}

.zgr-label {
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--zgr-navy);
}

.zgr-label--gray {
  color: var(--zgr-gray);
}

.zgr-label--white {
  color: var(--zgr-white-70);
}

.zgr-meta {
  font-family: var(--font-poppins);
  font-size: 12px;
  color: var(--zgr-gray);
}

.zgr-meta--muted-light {
  color: rgba(255, 255, 255, 0.5);
}

.zgr-byline {
  font-family: var(--font-urbanist);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.zgr-tag-pill {
  display: inline-block;
  font-family: var(--font-poppins);
  font-size: 12px;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  color: var(--zgr-blue-accent);
  background: var(--zgr-navy-faint);
  padding: 4px 12px;
}

.zgr-badge {
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--zgr-navy);
}

.zgr-badge:hover {
  text-decoration: underline;
}

.zgr-excerpt {
  font-family: var(--font-baskerville);
  font-size: 16px;
  line-height: 25.6px;
  color: var(--zgr-gray);
}

.zgr-excerpt--white {
  color: var(--zgr-white);
  opacity: 0.7;
  font-size: 15.2px;
  line-height: 24.32px;
}

.zgr-divider-top {
  border-top: 1px solid var(--zgr-light-gray);
}

.zgr-divider-bottom {
  border-bottom: 1px dashed var(--zgr-light-gray);
}

@media (max-width: 720px) {
  :root {
    --zgr-section-top: 40px;
  }
}
