/* Site header (headerTwo.blade.php). Loaded on every page from
   head.blade.php, after custom.css, so equal-specificity rules here win
   without !important. Everything is scoped to .header-two so the archived
   headerOne is unaffected. */

/* ============================ Header Two ============================ */

.header.header-two .container {
  max-width: 1650px !important;
}

.header.header-two .main-header__menu-box {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Torn-paper edge along the bottom of the white bar, overlapping the hero.
   An inline SVG approximation; swap for the designer's exported edge
   graphic if one is available. */
.header.header-two::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 100%;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 12' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H240V5L232 8L224 4L215 10L206 6L198 11L188 5L180 9L170 3L161 8L150 5L142 11L133 6L124 9L114 4L105 10L96 5L86 8L78 3L69 9L60 5L50 11L41 6L32 9L22 4L12 8L0 5Z'/%3E%3C/svg%3E") repeat-x;
  background-size: 240px 12px;
  pointer-events: none;
  z-index: 1;
}

/* Round logo badge: a fixed slot in the flex row, with the white circle
   pulled out of flow so it hangs below the bar into the hero. */
.header.header-two .navbar-logo {
  width: 210px;
  min-width: 210px;
  height: 60px;
}

.header.header-two .navbar-logo__link {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 210px;
  height: 210px;
  margin-top: -80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease, margin-top 0.3s ease;
}

/* undo custom.css's absolutely-positioned oversized logo image; the PNG
   has a lot of empty canvas, so it's scaled past the circle and clipped */
.header.header-two .navbar-logo img {
  position: static;
  transform: none;
  margin: 0;
  width: 130%;
  height: auto;
  max-width: none;
  filter: none;
}

/* Plain nav: drop headerOne's red pill behind the menu */
.header.header-two .navbar__menu-wrapper {
  flex-grow: 1;
  justify-content: flex-end;
  gap: 0;
  background-color: transparent;
  border-radius: 0;
}

.header.header-two .navbar__menu {
  flex-grow: 0;
  margin-inline-start: 0;
  padding-inline-end: 0;
}

.header.header-two .navbar__item > a {
  padding: 24px 14px;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
}

.header.header-two .navbar__item > a:hover {
  color: var(--base-color);
}

.header.header-two .navbar__options {
  margin-inline-start: 40px;
}

.header.header-two .header-two__give {
  padding: 16px 40px;
  border-radius: 30px;
  gap: 12px;
  background-color: var(--base-color);
  color: var(--white);
  font-family: "Lato", sans-serif;
  font-weight: 700;
}

/* Sticky: shrink the badge so it doesn't cover content while scrolling */
.header.header-two.sticky-header .navbar-logo__link {
  width: 130px;
  height: 130px;
  margin-top: -45px;
}

@media only screen and (max-width: 1399px) {
  .header.header-two .navbar__item > a {
    padding-inline: 10px;
    font-size: 16px;
  }

  .header.header-two .navbar__options {
    margin-inline-start: 20px;
  }
}

@media only screen and (max-width: 1199px) {
  .header.header-two .navbar-logo {
    width: 150px;
    min-width: 150px;
  }

  .header.header-two .navbar-logo__link {
    width: 150px;
    height: 150px;
    margin-top: -55px;
  }

  .header.header-two .navbar__menu-wrapper {
    display: none;
  }
}

@media only screen and (max-width: 575px) {
  .header.header-two .navbar-logo {
    width: 100px;
    min-width: 100px;
    height: 50px;
  }

  .header.header-two .navbar-logo__link,
  .header.header-two.sticky-header .navbar-logo__link {
    width: 100px;
    height: 100px;
    margin-top: -35px;
  }
}
