.site-header--instagram-goal .header-instagram--goal {
  min-height: 44px;
  gap: 6px;
  padding: 6px 9px;
  border-color: #40607a;
  background: #0b2236;
}

.site-header--instagram-goal .header-instagram--goal:hover,
.site-header--instagram-goal .header-instagram--goal:focus-visible {
  border-color: #85bfff;
  background: #15334d;
}

.header-instagram--goal .instagram-label {
  display: grid;
  gap: 4px;
  text-align: left;
}

.header-instagram--goal .instagram-count {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f3f8ff;
  font-size: 13px;
  font-weight: 800;
}

.header-instagram--goal .instagram-sparks {
  position: relative;
  display: inline-block;
  flex: none;
  width: 14px;
  height: 12px;
}

.header-instagram--goal .instagram-sparks::before,
.header-instagram--goal .instagram-sparks::after {
  content: "";
  position: absolute;
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  opacity: .75;
}

.header-instagram--goal .instagram-sparks::before {
  top: 1px;
  left: 0;
  width: 8px;
  height: 8px;
  background: #ffd574;
}

.header-instagram--goal .instagram-sparks::after {
  right: 0;
  bottom: 1px;
  width: 5px;
  height: 5px;
  background: #9fd0ff;
}

.header-instagram--goal .instagram-goal {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #b8d9f9;
  font-size: 10px;
}

.header-instagram--goal .instagram-heart {
  display: inline-block;
  color: #ff99bf;
  font-size: 13px;
  line-height: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .header-instagram--goal .instagram-sparks::before,
  .header-instagram--goal .instagram-sparks::after {
    animation: home-instagram-sparkle 900ms ease-in-out;
  }

  .header-instagram--goal .instagram-sparks::after {
    animation-delay: 140ms;
  }
}

@keyframes home-instagram-sparkle {
  50% {
    transform: translateY(-2px) scale(1.15);
    opacity: 1;
  }
}

@media (min-width: 781px) {
  .site-header.site-header--instagram-goal {
    column-gap: clamp(10px, 1vw, 18px);
  }

  .site-header--instagram-goal .site-nav {
    column-gap: clamp(12px, 1.4vw, 24px);
  }
}

@media (781px <= width < 1400px) {
  .site-header--instagram-goal .menu-toggle {
    display: flex;
    flex: none;
    flex-direction: column;
    justify-content: center;
    order: 6;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .site-header--instagram-goal .menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
  }

  .site-header--instagram-goal .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    margin: 0;
    padding: 12px 5vw 22px;
    border-bottom: 1px solid #2f4860;
    background: #0b2236;
    white-space: normal;
  }

  .site-header--instagram-goal .site-nav.open {
    display: flex;
  }

  .site-header--instagram-goal .site-nav > a,
  .site-header--instagram-goal .nav-dropdown summary {
    padding: 13px 0;
  }

  .site-header--instagram-goal .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .site-header--instagram-goal .header-instagram--goal {
    margin-inline-start: auto;
  }
}

@media (max-width: 780px) {
  .site-header.site-header--instagram-goal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    grid-template-rows: auto auto auto;
    height: auto;
    padding: 7px 12px 4px;
    gap: 4px 8px;
  }

  .site-header--instagram-goal .brand {
    grid-area: 1 / 1;
    justify-self: start;
    transform: none;
  }

  .site-header--instagram-goal .header-instagram--goal {
    grid-area: 1 / 2;
    margin: 0;
  }

  .site-header--instagram-goal .menu-toggle {
    grid-area: 1 / 3;
    justify-self: end;
  }

  .site-header--instagram-goal .header-phone {
    position: static;
    grid-area: 2 / 1;
    justify-self: start;
  }

  .site-header--instagram-goal .header-cta {
    grid-area: 2 / 2 / 3 / 4;
    justify-self: end;
    margin: 0;
  }

  .site-header--instagram-goal > .language-switch {
    position: static;
    grid-area: 3 / 2 / 4 / 4;
    justify-self: end;
  }

  .site-header--instagram-goal .site-nav {
    top: 100%;
  }
}
