.masthead {
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.masthead.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
}
.masthead.is-visible {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media (min-width: 1000px) {
  .masthead .main-nav ul > li:hover > .sub-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-height: calc(100vh - 250px);
  }
  .masthead .main-nav ul > li:hover > .sub-menu > li {
    flex: 0 0 auto;
    position: relative;
    background-color: var(--blue);
  }
  .masthead .main-nav ul > li:hover > .sub-menu > li:hover {
    background-color: var(--dark-blue);
  }
  .masthead .main-nav ul > li:hover > .sub-menu > li.menu-item-has-children > a {
    position: relative;
    padding-right: 2em;
  }
  .masthead .main-nav ul > li:hover > .sub-menu > li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 0.8em;
    top: 50%;
    width: 0.4em;
    height: 0.4em;
    margin-top: -0.25em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }
  .masthead .main-nav li:hover > .sub-menu:not(.sub-menu .sub-menu) {
    overflow-y: auto;
    overflow-x: clip;
    overscroll-behavior: contain;
  }
  .masthead .main-nav .sub-menu li:hover > .sub-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1000;
  }
}

footer p {
  color: var(--grey);
}
footer .locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  footer .locations {
    grid-template-columns: 1fr;
  }
}
footer .locations iframe {
  height: 400px;
  width: 100%;
}
footer .locations__item {
  flex: 0 0 50%;
  background-color: #1C2C41;
}
footer .locations__map {
  position: relative;
  overflow: hidden;
}
footer .locations__map:hover .locations__map--image {
  transform: translate(0, -150%);
}
footer .locations__map--image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}
footer .locations__map--btn {
  padding: 10px 5px;
  position: absolute;
  color: #fff;
  top: 20px;
  right: 20px;
  text-transform: uppercase;
  z-index: 99;
  font-family: oswald, sans-serif;
  font-size: 16px;
  border-radius: 5px;
  background-color: var(--red);
  transition: all 1s ease;
}
footer .locations__map--btn:hover {
  transform: scale(1.1);
}
footer .locations__title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 500;
  margin: 0;
}
footer .locations__inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  font-size: 20px;
  color: white;
}
footer .locations__inner a {
  color: #fff;
}
footer .locations__inner a:hover {
  text-decoration: underline;
  color: var(--red);
  cursor: pointer;
}
footer .locations__address {
  color: #BBBBBB;
}
footer .copyright-menu-wrapper {
  margin: 20px 0;
}
footer .copyright-menu-wrapper .copyright-menu {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
footer .copyright-menu-wrapper .copyright-menu li {
  list-style: none;
  position: relative;
}
footer .copyright-menu-wrapper .copyright-menu li::before {
  content: "";
  height: 100%;
  width: 1px;
  position: absolute;
  top: 0;
  right: -10px;
  background-color: #fff;
  display: block;
}
footer .copyright-menu-wrapper .copyright-menu li:last-child::before {
  display: none;
}
footer .copyright-menu-wrapper .copyright-menu li a {
  color: #fff;
}
footer .copyright-menu-wrapper .copyright-menu li a:hover {
  color: var(--red);
}
footer .social-media {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
footer .social-media__item {
  display: flex;
}
footer .social-media__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #285085;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
footer .social-media__item a:hover, footer .social-media__item a:focus-visible {
  opacity: 0.75;
}
footer .social-media__item svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.widgets .item.open .content {
  display: block;
}
.widgets .content {
  display: none;
}
.widgets.widget-ask-ai .ask-ai__icons {
  display: grid;
  grid-template-columns: repeat(7, minmax(50px, 1fr));
}
.widgets.widget-ask-ai .content {
  margin: 25px 0;
}
