.tax-hero {
  padding: 116px 0 0;
}

.tax-hero .container {
  max-width: 1158px;
  padding: 0;
}

.tax-hero h1 {
  font-family: 'Montserrat';
  font-size: 64px;
  font-weight: 700;
  line-height: 74px;
  letter-spacing: -3px;
  text-align: center;
  margin-bottom: 36px;
}

.tax-hero p {
  min-height: 72px;
  max-width: 903px;
  width: 100%;
  color: #697089;
  font-family: 'Inter';
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
  margin: 0 auto 36px;
}

.tax-hero .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
  margin-bottom: 16px;
}

.tax-hero .actions a {
  width: 178px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Inter';
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-decoration: none;
  border-radius: 10px;
}

.tax-hero .actions a.sign-up {
  color: white;
  background: linear-gradient(141.82deg, #FF0000 -52.55%, #FF7700 70.34%);
  transition: all 0.2s ease-in-out;
}

.tax-hero .actions a.sign-up:hover {
  filter: brightness(1.3);
  transition: all 0.2s ease-in-out;
}

.subcategories-nav {
  margin-bottom: 10px;
}

.subcategories-nav .dropdown:hover > .dropdown-menu {
  display: block;
}

.subcategories-nav .dropdown button {
  position: relative;
  width: 279px;
  height: 44px;
  padding: 10px 30px 10px 12px;
  background: transparent;
  border-radius: 10px;
  border: 2px solid #E6E8F0;
  font-family: 'Inter';
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  color: #303651;
}

.subcategories-nav .dropdown button:after {
  display: none;
}

.subcategories-nav .dropdown button svg {
  position: absolute;
  right: 12px;
  top: 13px;
  transition: all 0.2s ease-in-out;
}

.subcategories-nav .dropdown:hover button svg {
  transform: rotate(180deg);
}

.subcategories-nav .dropdown > .dropdown-menu {
  width: 279px;
  border-radius: 10px;
  border: none;
  padding: 8px 0;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.subcategories-nav .dropdown > .dropdown-menu .dropdown-item {
  font-family: 'Inter';
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #303651;
  text-align: left;
  padding: 6px 12px 6px 30px;
  transition: all 0s;
}

.subcategories-nav .dropdown > .dropdown-menu .dropdown-item:hover {
  /* background: linear-gradient(142deg, #F00 0%, #F70 100%); */
  background-color: white;
  color: #ff5100;
}

.subcategories-nav .dropdown > .dropdown-menu .dropdown-item.active {
  color: #52576e;
  background: #F4F6F9 url('../img/term-active.png') 93% center no-repeat;
  background-size: 16px;
  pointer-events: none;
}


@media (min-width: 769px) and (max-width: 990px) {
  .header {
    height: auto !important;
    border-bottom: 0px solid #E5E5E5;
  }

  .tax-hero {
    padding: 100px 0 0;
    margin-top: 0 !important;
  }

  .tax-hero h1 {
    font-size: 54px;
    line-height: 66px;
    max-width: 600px;
    margin: 0 auto 25px;
  }
}


@media (max-width: 768px) {
  .header {
    height: auto !important;
    border-bottom: 0px solid #E5E5E5;
  }

  .tax-hero {
    padding: 100px 0 0;
    margin-top: 0 !important;
  }

  .tax-hero .container {
    padding: 0 15px;
  }

  .tax-hero h1 {
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
  }

  .tax-hero p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 36px;
    max-width: 90%;
    min-height: unset;
  }

  .tax-hero .actions a {
    width: auto;
    height: 48px;
    font-size: 16px;
    line-height: 20px;
    padding: 8px 16px;
  }
}