@font-face {
  font-family: "Explosives Roboto";
  src: url("../fonts/roboto-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Explosives Roboto";
  src: url("../fonts/roboto-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Explosives Roboto Condensed";
  src: url("../fonts/roboto-condensed.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color: #505050;
  background: #fff;
  font-family: "Explosives Roboto", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
a { color: #2675a4; }
a:hover { color: #194e70; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: -1000px;
  top: 0;
  z-index: 100;
  padding: .75rem 1rem;
  background: #fff;
}
.skip-link:focus { left: 1rem; }

.site-header { background: #236696; color: #e9edf0; }
.brand-row {
  max-width: 920px;
  min-height: 150px;
  margin: 0 auto;
  padding: 48px 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand { display: block; line-height: 0; }
.brand img { display: block; width: 715px; height: auto; }
.mobile-menu-button { display: none; }
.primary-navigation { max-width: 920px; margin: 0 auto; }
.primary-menu,
.submenu { list-style: none; padding: 0; margin: 0; }
.primary-menu { display: flex; justify-content: space-between; align-items: stretch; }
.primary-menu > li { position: relative; }
.primary-menu > li > a,
.primary-menu .menu-item > a {
  display: block;
  padding: 12px 8px 14px;
  color: #e2e7ea;
  font-family: "Explosives Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.menu-item { display: flex; align-items: center; }
.menu-item button {
  border: 0;
  padding: 12px 5px 14px 0;
  background: transparent;
  color: #d9e2e8;
  cursor: pointer;
}
.submenu {
  display: none;
  position: absolute;
  z-index: 20;
  min-width: 220px;
  background: #215b82;
  box-shadow: 0 7px 18px #102e4480;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu { display: block; }
.submenu a {
  display: block;
  padding: 10px 14px;
  color: #eff4f7;
  font-size: 14px;
  text-decoration: none;
}
.submenu a:hover,
.submenu a:focus-visible { background: #164868; }

main { min-height: 660px; }
.home-page,
.content-page { width: min(920px, calc(100% - 32px)); margin: 0 auto; }
.home-page { padding: 50px 0 140px; }
.content-page { padding: 68px 0 140px; }
.page-header h1 {
  margin: 0 0 24px;
  color: #494949;
  font-family: "Explosives Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}
.entry-content { font-size: 14px; line-height: 1.55; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content p { margin: 0 0 16px; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 24px 0 16px;
  color: #4a4a4a;
  font-family: "Explosives Roboto Condensed", "Arial Narrow", sans-serif;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}
.entry-content h2 { font-size: 21px; }
.entry-content h3 { font-size: 18px; }
.entry-content h4 { font-size: 16px; }
.entry-content ul,
.entry-content ol { margin: 0 0 18px; padding-left: 40px; }
.entry-content li { margin-bottom: 2px; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content img { display: inline-block; margin: 5px 0 15px; }
.entry-content img.alignright { float: right; margin: 5px 0 18px 22px; }
.entry-content img.alignleft { float: left; margin: 5px 22px 18px 0; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content th,
.entry-content td { border: 1px solid #d6d6d6; padding: 8px; text-align: left; }

.home-carousel { position: relative; margin: 0 0 16px; }
.carousel-slide img { display: block; width: 100%; }
.carousel-controls {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 4px;
}
.carousel-controls button {
  border: 0;
  width: 30px;
  height: 30px;
  background: #194e70db;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.carousel-controls button:hover,
.carousel-controls button:focus-visible { background: #123b56; }

.video-grid { display: grid; gap: 36px; }
.video-grid section h2 { margin-top: 0; }
.video-thumbnail { display: block; position: relative; max-width: 640px; aspect-ratio: 16 / 9; background: #e8eef2; }
.video-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #ffffffe6; color: #19486a; font-size: 25px; box-shadow: 0 2px 12px #0006; }
.video-thumbnail:hover .video-play, .video-thumbnail:focus-visible .video-play { background: #fff; }
.video-card p { max-width: 640px; }

.site-footer {
  padding: 40px 16px 32px;
  background: #19486a;
  color: #aec0cf;
  text-align: center;
  font-size: 13px;
}
.site-footer p { margin: 0 0 14px; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: #c8d9e5; }
.site-footer a:hover { color: #fff; }

@media (max-width: 850px) {
  .brand-row { padding: 35px 16px; min-height: 120px; }
  .primary-navigation { padding: 0 12px; }
  .primary-menu > li > a,
  .primary-menu .menu-item > a { font-size: 13px; padding: 12px 5px; }
}

@media (max-width: 680px) {
  .brand-row { justify-content: space-between; min-height: 90px; padding: 20px 16px; gap: 12px; }
  .brand img { width: min(100%, 520px); }
  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    border: 1px solid #d8e2e9;
    border-radius: 3px;
    padding: 7px 9px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .primary-navigation { display: none; padding: 0 0 12px; }
  .primary-navigation.is-open { display: block; }
  .primary-menu { display: block; }
  .primary-menu > li > a,
  .primary-menu .menu-item > a { padding: 12px 18px; font-size: 16px; }
  .menu-item button { margin-left: auto; padding: 12px 18px; }
  .submenu { position: static; min-width: 0; box-shadow: none; background: #1d567d; }
  .has-submenu:hover .submenu { display: none; }
  .has-submenu.is-open .submenu,
  .has-submenu:focus-within .submenu { display: block; }
  .submenu a { padding-left: 34px; }
  .home-page { padding: 24px 0 70px; }
  .content-page { padding: 40px 0 70px; }
  .entry-content img.alignright,
  .entry-content img.alignleft { float: none; display: block; margin: 12px 0 18px; }
}
