:root {
  --navy: #061b32;
  --navy2: #082744;
  --red: #ee1b35;
  --white: #fff;
  --ink: #07182e;
  --line: #d9dde5;
  --max: 95vw;
  --topbar-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 10px);
}

body {
  max-width: 100%;
  margin: 0;
  padding-top: var(--topbar-height);
  overflow-x: clip;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

/* Shared header */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  height: 86px;
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .22);
}

.navwrap {
  display: grid;
  grid-template-columns: 260px 170px 1fr 190px;
  align-items: center;
  gap: 28px;
  width: var(--max);
  max-width: 1640px;
  height: 100%;
  margin: 0 auto;
}

.logo {
  position: relative;
  width: max-content;
  color: var(--white);
  font-size: 28px;
  font-weight: 1000;
  line-height: .84;
  letter-spacing: 1.8px;
  text-align: left;
  text-transform: uppercase;
}

.logo .topline {
  display: block;
  margin-bottom: 2px;
}

.logo .forrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 28px;
}

.logo span {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.logo em {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo::before,
.logo::after {
  position: absolute;
  left: 0;
  width: 56px;
  height: 3px;
  content: "";
  background: var(--red);
}

.logo::before {
  top: -11px;
}

.logo::after {
  bottom: -11px;
  left: 92px;
}

.campaign-slogan {
  align-self: center;
  justify-self: start;
  color: var(--red);
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 36px;
  color: var(--white);
  transition: color .2s ease;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

nav a:hover,
nav a.active {
  color: var(--white);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

.contactBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 54px;
  margin: 0 auto;
  color: var(--white);
  font-weight: 1000;
  text-transform: uppercase;
  background: var(--red);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(238, 27, 53, .25);
}

/* News navigation dropdown */
.navDropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.navDropdown > a {
  gap: 5px;
}

.navDropdown::after {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1099;
  width: min(360px, 82vw);
  height: 14px;
  content: "";
  transform: translateX(-50%);
}

.navCaret {
  color: var(--red);
  font-size: 11px;
  transition: transform .2s ease;
}

.newsDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 1100;
  display: none;
  width: min(360px, 82vw);
  padding: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(6, 27, 50, .14);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
  transform: translateX(-50%);
}

.navDropdown:hover .newsDropdownMenu,
.navDropdown:focus-within .newsDropdownMenu {
  display: grid;
}

.navDropdown:hover .navCaret,
.navDropdown:focus-within .navCaret,
.navDropdown.open .navCaret {
  transform: rotate(180deg);
}

nav .newsDropdownMenu a {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 11px 12px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  background: transparent;
  border: 0;
  border-radius: 7px;
}

nav .newsDropdownMenu a::after {
  display: none;
}

nav .newsDropdownMenu a:hover,
nav .newsDropdownMenu a:focus {
  color: var(--navy);
  background: #eef3f8;
}

nav .newsDropdownMenu .allNewsDropdownLink {
  margin-top: 4px;
  color: var(--red);
  font-weight: 1000;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  border-radius: 0 0 7px 7px;
}

/* Shared footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  padding: 0 50px;
  color: var(--white);
  font-size: 14px;
  background: #05234a;
}

.footer-left {
  text-align: left;
}

.footer-center {
  color: var(--red);
  font-size: 26px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
}

.footer-right {
  text-align: right;
}

@media (max-width: 1180px) {
  .navwrap {
    grid-template-columns: 230px 150px 1fr 170px;
  }
}

@media (max-width: 760px) {
  :root {
    --max: 92vw;
  }

  body {
    font-size: 15px;
  }

  .topbar {
    height: auto;
  }

  .navwrap {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 92vw;
    height: auto;
    padding: 14px 0 16px;
  }

  .logo {
    justify-self: center;
    font-size: 23px;
    line-height: .88;
    text-align: center;
  }

  .logo .forrow {
    justify-content: center;
    padding-left: 0;
  }

  .logo::before {
    left: 50%;
    transform: translateX(-85%);
  }

  .logo::after {
    left: 50%;
    transform: translateX(-10%);
  }

  .campaign-slogan {
    justify-self: center;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-align: center;
    white-space: normal;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    line-height: 1;
  }

  nav a {
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 9px 8px;
    font-size: 11px;
    line-height: 1.1;
    text-align: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
  }

  nav a::after {
    display: none;
  }

  nav a.active {
    border-color: var(--red);
  }

  .navDropdown {
    display: contents;
  }

  .navDropdown::after {
    display: none;
  }

  .navDropdown > a {
    grid-column: auto;
  }

  .newsDropdownMenu {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    padding: 6px;
    transform: none;
    box-shadow: none;
  }

  .navDropdown:hover .newsDropdownMenu,
  .navDropdown:focus-within .newsDropdownMenu {
    display: none;
  }

  .navDropdown.open .newsDropdownMenu {
    display: grid;
  }

  nav .newsDropdownMenu a {
    min-height: 38px;
    padding: 10px 12px;
    font-size: 12px;
    text-align: left;
    background: #f7f9fc;
    border: 1px solid #e0e6ee;
  }

  .contactBtn {
    width: 100%;
    max-width: none;
    height: 44px;
    font-size: 13px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    min-height: auto;
    padding: 22px 18px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-center {
    order: 2;
    font-size: 21px;
    letter-spacing: 1.8px;
  }

  .footer-left {
    order: 1;
  }

  .footer-right {
    order: 3;
  }
}

@media (max-width: 420px) {
  nav {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 21px;
  }

  .logo span {
    font-size: 16px;
  }

  .logo em {
    font-size: 22px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) and (max-height: 560px) {
  :root {
    --max: 96vw;
  }

  .topbar {
    min-height: 66px;
    height: auto;
  }

  .navwrap {
    grid-template-areas: "logo nav contact";
    grid-template-columns: 135px minmax(0, 1fr) 132px;
    gap: 10px;
    width: 96vw;
    min-height: 66px;
    height: auto;
    padding: 8px 0;
  }

  .logo {
    grid-area: logo;
    justify-self: start;
    margin: 0;
    font-size: 16px;
    line-height: .9;
    letter-spacing: 1px;
  }

  .logo span {
    font-size: 13px;
  }

  .logo em {
    font-size: 16px;
  }

  .logo .forrow {
    gap: 4px;
    padding-left: 16px;
  }

  .logo::before,
  .logo::after {
    width: 38px;
    height: 2px;
  }

  .logo::before {
    top: -7px;
    left: 0;
    transform: none;
  }

  .logo::after {
    bottom: -7px;
    left: 58px;
    transform: none;
  }

  .campaign-slogan {
    display: none;
  }

  nav {
    grid-area: nav;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    font-size: 10px;
    line-height: 1;
  }

  nav a {
    width: auto;
    min-height: 30px;
    height: 30px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  nav a::after {
    display: block;
    bottom: -5px;
  }

  .contactBtn {
    grid-area: contact;
    justify-self: end;
    width: 132px;
    max-width: 132px;
    height: 40px;
    margin: 0;
    padding: 0 8px;
    font-size: 11px;
  }
}

@media (min-width: 761px) and (max-width: 930px) and (max-height: 560px) {
  .navwrap {
    grid-template-areas: "nav contact";
    grid-template-columns: minmax(0, 1fr) 116px;
  }

  .logo {
    display: none;
  }

  nav {
    justify-content: flex-start;
    gap: 7px;
    font-size: 9.5px;
  }

  nav a {
    padding: 0 3px;
    font-size: 9.5px;
  }

  .contactBtn {
    width: 116px;
    max-width: 116px;
    font-size: 10px;
  }
}
