:root {
  --gold: #ffd401;
  --pure-white: #fff;
  --black-40: rgba(0, 0, 0, 0.4);
  --black-80: rgba(0, 0, 0, 0.8);
  --button-purple: #423f82;
  --white-20: rgba(239, 237, 237, 0.2);
  --black-15: rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-dark-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 123px;
  height: 34px;
  padding: 0 10px;
  border-radius: 5px;
  background-color: var(--black-40);
  color: var(--pure-white);
  font-family: "museo-sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

.btn-dark-pill:hover,
.btn-dark-pill:focus-visible {
  background-color: var(--black-80);
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 767px) {
  .btn-dark-pill {
    min-width: 62px;
    height: 24px;
    font-size: 9px;
  }
}

/* Header */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-buttons > li {
  position: relative;
}

.header-buttons .sub-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 150px;
  margin: 0;
  padding: 5px 0;
  border-radius: 0 5px 5px 5px;
  background-color: var(--black-80);
  list-style: none;
  transition: opacity 0.1s ease 0.15s, visibility 0s linear 0.25s !important;
}

.header-buttons > li:hover > .sub-menu,
.header-buttons > li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0s !important;
}

.header-buttons > .menu-item-has-children > .btn-dark-pill {
  transition: background-color 0.2s ease 0.15s, color 0.2s ease 0.15s, border-radius 0.2s ease 0.15s !important;
}

.header-buttons > li:hover > .btn-dark-pill,
.header-buttons > li:focus-within > .btn-dark-pill {
  background-color: var(--black-80);
  color: var(--gold);
}

.header-buttons > .menu-item-has-children:hover > .btn-dark-pill,
.header-buttons > .menu-item-has-children:focus-within > .btn-dark-pill {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-radius 0.2s ease !important;
}

.header-buttons .sub-menu a {
  display: block;
  padding: 8px 15px;
  color: var(--pure-white);
  font-family: "museo-sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}

.header-buttons .sub-menu a:hover,
.header-buttons .sub-menu a:focus-visible {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 767px) {
  .header-buttons {
    gap: 5px;
  }

  .header-buttons .sub-menu a {
    font-size: 9px;
  }
}

@media (min-width: 768px) and (max-width: 920px) {
  .header-buttons {
    column-gap: 10px;
  }
}

.banner .navbar {
  position: relative;
}

.header-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 768px) and (max-width: 819px) {
  .header-buttons {
    display: none;
  }
}

.scrolled-logo .mobile-logo {
  display: none;
}

@media (max-width: 767px) {
  .scrolled-logo .main-logo {
    display: none !important;
  }

  .banner .scrolled-logo .mobile-logo {
    display: block;
    width: 31px;
    opacity: 1;
  }
}

@media (max-width: 449px) {
  .banner .scrolled-logo {
    margin-left: 15px;
  }
}

/* Page header content */
.has-header-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 100;
  background-color: var(--black-15);
  pointer-events: none;
}

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

.header-content__heading {
  font-family: "museo-sans", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 56px;
  letter-spacing: 0;
  color: var(--pure-white);
  padding-bottom: 20px;
}

.header-content__text {
  font-family: "museo-sans", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  color: var(--pure-white);
  padding-bottom: 25px;
}

.header-content__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 193px;
  height: 55px;
  border-radius: 10px;
  background-color: var(--button-purple);
  color: var(--pure-white);
  font-family: "museo-sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  opacity: 1;
}

.header-content__button:hover,
.header-content__button:focus {
  background-color: var(--white-20) !important;
  color: var(--pure-white);
  text-decoration: none;
}

@media (max-width: 767px) {
  .header-content__heading br,
  .header-content__text br {
    display: none;
  }

  .header-content__heading {
    font-size: 40px !important;
    line-height: 45px !important;
    max-width: 85%;
  }

  .header-content__text {
    font-size: 16px !important;
    max-width: 85%;
  }
}

/* Sticky header on inner pages */
body:not(.home) .banner.fixed-top {
  position: sticky !important;
  top: 0;
}

body.admin-bar:not(.home) .banner.fixed-top {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar:not(.home) .banner.fixed-top {
    top: 46px;
  }
}

.banner.banner__scrolled {
  background-color: rgba(255, 255, 255, 0.38) !important;
}

body:not(.home):not(.modal-open) .banner:not(.banner__scrolled) .hamburger-inner,
body:not(.home):not(.modal-open) .banner:not(.banner__scrolled) .hamburger-inner::before,
body:not(.home):not(.modal-open) .banner:not(.banner__scrolled) .hamburger-inner::after {
  background-color: var(--purple);
}

.intro-block .wp-block-cover .wp-block-image {
  position: static !important;
  z-index: auto;
}

.gform_footer .gform_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3rem !important;
  line-height: 1;
  text-align: center;
}
