:root {
  --blue: #2388cd;
  --blue-dark: #1178bb;
  --text: #333333;
  --muted: #8b8b8b;
  --line: #e5e5e5;
  --panel: #ffffff;
  --page: #f1f3f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  border-top: 4px solid var(--blue-dark);
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

a {
  color: #0088cc;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #005f8f;
  text-decoration: underline;
}

.page-shell,
.site-footer {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto 0;
}

.page-shell {
  background: var(--panel);
  border: 1px solid #d6d6d6;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-header {
  padding: 24px 20px 0;
}

.brand {
  display: inline-block;
  margin: 0 0 26px 18px;
}

.brand img {
  display: block;
  width: 315px;
  max-width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 8px 0 12px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 4px;
  color: #0088cc;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #f2f7fb;
  text-decoration: none;
}

.main-nav a.active {
  background: var(--blue);
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 3px;
  background: #f5f5f5;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb strong {
  color: #9a9a9a;
  font-weight: 400;
}

.content-panel {
  padding: 10px 20px 28px;
}

.page-banner {
  display: block;
  width: 100%;
  height: 180px;
  margin-bottom: 18px;
  object-fit: cover;
}

.copy-section h1 {
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.copy-section p {
  margin: 0 0 12px;
  font-size: 16px;
}

.copy-section p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid #dcdcdc;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.site-footer p {
  margin: 0 0 10px;
}

@media (max-width: 720px) {
  .page-shell,
  .site-footer {
    width: min(100% - 20px, 980px);
    margin-top: 10px;
  }

  .site-header {
    padding: 18px 14px 0;
  }

  .brand {
    margin-left: 0;
    margin-bottom: 18px;
  }

  .main-nav {
    align-items: stretch;
  }

  .main-nav a {
    flex: 1 1 180px;
    justify-content: center;
  }

  .content-panel {
    padding: 10px 14px 22px;
  }

  .page-banner {
    height: auto;
    aspect-ratio: 1024 / 180;
  }

  .copy-section h1 {
    font-size: 22px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 15px;
  }

  .main-nav a {
    flex-basis: 100%;
  }

  .breadcrumb {
    padding: 8px 12px;
  }

  .copy-section h1 {
    font-size: 20px;
  }

  .copy-section p {
    font-size: 15px;
  }
}
