/* Scoped to: politician-party-template-header */
[data-component-slug="politician-party-template-header"].component-wrapper, [data-component-slug="politician-party-template-header"] .component-wrapper {
  position: relative;
  width: 100%;
}

[data-component-slug="politician-party-template-header"].party-nav-link, [data-component-slug="politician-party-template-header"] .party-nav-link {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 100%;
  color: #6b6b6b;
}

[data-component-slug="politician-party-template-header"].party-nav-link.active, [data-component-slug="politician-party-template-header"] .party-nav-link.active {
  color: #000000;
}

[data-component-slug="politician-party-template-header"].party-cta, [data-component-slug="politician-party-template-header"] .party-cta {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
  background: #ac0b0d;
  color: #ffffff;
  padding: 16px 24px;
}

[data-component-slug="politician-party-template-header"].menu-icon, [data-component-slug="politician-party-template-header"] .menu-icon {
  position: relative;
  width: 26px;
  height: 20px;
}

[data-component-slug="politician-party-template-header"].menu-icon span, [data-component-slug="politician-party-template-header"] .menu-icon span {
  position: absolute;
  width: 26px;
  height: 2px;
  background: #000;
  left: 0;
  transition: all 0.35s ease;
}

[data-component-slug="politician-party-template-header"].menu-icon span:nth-child(1), [data-component-slug="politician-party-template-header"] .menu-icon span:nth-child(1) {
  top: 0;
}

[data-component-slug="politician-party-template-header"].menu-icon span:nth-child(2), [data-component-slug="politician-party-template-header"] .menu-icon span:nth-child(2) {
  top: 9px;
}

[data-component-slug="politician-party-template-header"].menu-icon span:nth-child(3), [data-component-slug="politician-party-template-header"] .menu-icon span:nth-child(3) {
  top: 18px;
}

[data-component-slug="politician-party-template-header"].menu-icon.open span:nth-child(1), [data-component-slug="politician-party-template-header"] .menu-icon.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

[data-component-slug="politician-party-template-header"].menu-icon.open span:nth-child(2), [data-component-slug="politician-party-template-header"] .menu-icon.open span:nth-child(2) {
  opacity: 0;
}

[data-component-slug="politician-party-template-header"].menu-icon.open span:nth-child(3), [data-component-slug="politician-party-template-header"] .menu-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

[data-component-slug="politician-party-template-header"].party-mobile-menu, [data-component-slug="politician-party-template-header"] .party-mobile-menu {
  position: fixed;
  inset: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  transition: left 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

[data-component-slug="politician-party-template-header"].party-mobile-menu.open, [data-component-slug="politician-party-template-header"] .party-mobile-menu.open {
  left: 0;
}

[data-component-slug="politician-party-template-header"].party-mobile-top, [data-component-slug="politician-party-template-header"] .party-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

[data-component-slug="politician-party-template-header"].party-mobile-logo, [data-component-slug="politician-party-template-header"] .party-mobile-logo {
  width: 48px;
  height: auto;
}

[data-component-slug="politician-party-template-header"].party-mobile-nav, [data-component-slug="politician-party-template-header"] .party-mobile-nav {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 1024px) {
  [data-component-slug="politician-party-template-header"].party-desktop-nav, [data-component-slug="politician-party-template-header"] .party-desktop-nav {
    display: none;
  }
}