:root {
  --police-blue: #002856;
  --menu-blue: #005171;
  --menu-dark: #00394f;
  --green: #07856c;
  --danger: #c2185b;
  --ink: #111;
  --muted: #555;
  --line: #d8d8d8;
  --paper: #fff;
  --page: #f2f3f5;
  color-scheme: light;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  padding: 10px 12px;
  background: #fff;
}

.site-header,
.content-shell,
.site-footer {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 20px 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.page-title a {
  display: inline-block;
  margin-bottom: 12px;
  color: #123;
  font-size: 34px;
  font-weight: 700;
  text-decoration: none;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 39px;
  background: var(--menu-blue);
  border: 1px solid #002f42;
  border-radius: 3px;
}

.menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.menu a:hover,
.menu a.is-active,
.dropdown:hover > a {
  background: var(--menu-dark);
}

.dropdown {
  position: relative;
  display: flex;
}

.dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  background: var(--menu-dark);
  padding: 8px 0;
}

.dropdown:hover .dropdown__panel,
.dropdown:focus-within .dropdown__panel {
  display: block;
}

.dropdown__panel a {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
}

.logo-wrap {
  display: block;
  padding: 20px 28px 12px;
  text-align: center;
}

.logo-wrap img {
  width: min(760px, 100%);
  max-height: 360px;
  object-fit: contain;
}

.urgent-link {
  display: block;
  margin: 0 auto 20px;
  color: var(--danger);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.menu--bottom {
  margin-bottom: 0;
}

.content-shell {
  min-height: 260px;
  padding: 26px 30px 18px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.page-content {
  text-align: justify;
}

.page-content h2 {
  margin: 0 0 20px;
  color: #222;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
}

.page-content p {
  margin: 0 0 18px;
}

.page-content blockquote {
  margin: 24px auto;
  max-width: 720px;
  color: var(--danger);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.resource-link a {
  display: inline-block;
  color: var(--menu-blue);
  font-weight: 700;
}

.resource-link--button a {
  padding: 10px 14px;
  border-radius: 3px;
  background: var(--menu-blue);
  color: #fff;
  text-decoration: none;
}

.content-notice {
  margin: 20px 0;
  padding: 14px 16px;
  border-left: 5px solid var(--menu-blue);
  background: #eef5f7;
  text-align: left;
}

.content-notice--important {
  border-left-color: var(--danger);
  background: #fff4f8;
}

.content-notice--calm {
  border-left-color: var(--green);
  background: #eef8f5;
}

.content-list {
  margin: 0 0 18px;
  padding-left: 26px;
}

.content-accordion {
  margin: 20px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-align: left;
}

.content-accordion summary {
  color: var(--menu-blue);
  font-weight: 700;
  cursor: pointer;
}

.content-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.content-gallery figure {
  margin: 0;
}

.content-gallery img {
  width: 100%;
  height: auto;
}

.content-table-wrap {
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.content-table th,
.content-table td {
  padding: 10px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.content-table th {
  background: #f3f3f3;
}

.content-divider {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

figure {
  margin: 20px auto;
  text-align: center;
}

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

.cover img {
  max-height: 360px;
  object-fit: contain;
}

.breadcrumb {
  margin-top: 28px;
  padding: 12px;
  background: #f3f3f3;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 30px 34px;
  border: 1px solid var(--line);
  border-top: 0;
  color: var(--muted);
  font-size: 12px;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  body {
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
  }

  .site-header,
  .content-shell,
  .site-footer {
    width: 100%;
    border: 0;
  }

  .site-header {
    position: static;
    padding: 0;
  }

  .page-title {
    padding: 16px 18px 10px;
    background: var(--police-blue);
  }

  .page-title a {
    margin: 0;
    color: #fff;
    font-size: 24px;
  }

  .logo-wrap {
    padding: 14px 18px 8px;
  }

  .logo-wrap img {
    max-height: 160px;
  }

  .urgent-link {
    margin: 0;
    padding: 16px;
    background: var(--danger);
    color: #fff;
    font-size: 18px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .menu a {
    min-width: 0;
    min-height: 48px;
    padding: 12px 8px;
    font-size: 13px;
  }

  .menu--top {
    display: none;
  }

  .dropdown {
    display: contents;
  }

  .dropdown__panel {
    display: none;
  }

  .content-shell {
    padding: 24px 18px;
  }

  .page-content {
    text-align: left;
  }

  .page-content h2 {
    font-size: 22px;
    line-height: 1.25;
    text-align: left;
  }

  .page-content blockquote {
    padding: 18px;
    background: #fff4f8;
    border-left: 5px solid var(--danger);
    text-align: left;
  }

  .content-gallery {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
    padding: 20px 18px 32px;
  }

  .social {
    margin-bottom: 16px;
  }
}
