.navbar .links .desktop-panel.panel.compare:has(.compare-cars-header){
  display: unset;
}
.menu-list > li.nav-link.compare a{
  color: var(--primary-main);
  width: 100%;
  height: 100%;
}
.compare-cars-header{
  h2, p {
    margin: 0px;
    padding: 0px;
  }
  .d-flex{
    display: flex;
  }
  .align-item{
    align-items:center
  }
  &.block-margin{
    margin-block: 32px 40px;
  }
  .image-wrapper img{
    width: 100%;
    max-width: 433px;
    max-height: 113px;
  }
  .text-wrapper{
    flex: 1;

    .content{
      display: flex;
      flex-direction: column;
      row-gap: 16px;
      max-width: 508px;
    }
    .compare-cars-header__title {
      margin-top: 9px;
      line-height: 32px; 
      color: var(--primary-main);
      
      @media (width >=1024px) {
        font-size: 1.5rem;
      }
    }
    p{
      font-size: 18px;
      line-height: 24px;
      color: var(--secondary-main);
    }
  }
  .redirect-anchor{
    gap:8px;
    margin-top: 82px;
    a{
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
      margin-block: 2px;
      color: var(--primary-main);
      display: inline-flex;
      gap: 8px;
      &:hover {
        &::after{
          transform: scale(1.05) translate(3px, -3px);
        }
      }
    }
    a::after{
      content: "";
      width: 24px;
      height: 24px;
      background: url("/icons/north_east.svg") no-repeat center center / contain;
      display: block;
      position: relative;
      transition: transform 0.3s ease-in-out;
    }
  }
}
