.service-page .service--banner {
  overflow: hidden;
}

.service-content {
  min-width: 0;
}

.service-filter {
  position: sticky;
  top: 100px;
  height: max-content;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 110px);
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}

.service-filter::-webkit-scrollbar {
  display: none;
}

.service-filter__block {
  border-top: 1px solid #e3e3e3;
}

.service-filter__submit button {
  width: 100%;
  display: flex;
  justify-content: center;
}

.service-filter__header {
  padding: var(--rem-750) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.2s;
}

.service-page .tabs-block {
  margin-top: var(--rem-1500);
}

.service-page .tabs-block ul {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e3e3e3;
  gap: var(--rem-1000);
}

.service-page .tabs-block ul li,
.service-page .tabs-block ul a {
  font-size: 14px;
  color: var(--dark-color);
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  padding: var(--rem-750) 2px;
  margin-bottom: -1px;
  border-bottom: 1.5px solid transparent;
  outline: none;
}

.service-page .tabs-block ul li.active {
  color: var(--text-brand);
  border-bottom: 1.5px solid #2c9d62;
}

.service-page .tabs-content {
  /* display: none; */
  margin-top: var(--rem-1500);
}

.service-favorite__empty {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  justify-content: center;
  align-items: center;
  margin: var(--rem-1500) auto;
}

.service-favorite__empty h2 {
  color: var(--dark-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin: 12px 0 0 0;
  text-align: center;
}

.service-favorite__empty p {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: var(--black-color);
  line-height: 20px;
  text-align: center;
}

.service-filter__list .label-checkbox label span {
  color: var(--dark-color);
  font-size: 14px;
  font-weight: 400;
}

.service-filter__list .label-checkbox {
  margin-bottom: var(--rem-500);
}

.service-filter__header .tooltip span:before {
  transform: unset !important;
  right: 0 !important;
  left: auto !important;
  white-space: normal !important;
  min-width: 180px;
  text-align: center;
}

.service-filter__list {
  padding: 8px 0;
  display: none;
}

.service-filter__list.open {
  display: block !important;
}

.service-filter__header svg {
  transition: 0.2s;
}

.service-filter__header.active .tooltip > svg,
.service-filter__header.active > svg {
  transform: rotate(180deg);
}

.service-filter__header svg {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.service-filter__header p {
  color: var(--dark-color);
  font-size: 14px;
  line-height: normal;
  margin: 0;
  font-weight: 500;
}

.service-filter__radio > label {
  display: flex;
  align-items: center;
}

.service-filter__radio > label input {
  margin: 0;
  min-height: 24px;
  max-height: 24px;
  height: 24px;
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  outline: none;
}

.service-filter__radio > label span {
  margin-left: var(--rem-500);
}

.service-filter__radio > label:not(:first-child) {
  margin-top: var(--rem-500);
}

.service-filter__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rem-250);
}

.service-filter__tabs a {
  border-radius: 32px;
  border: 1px solid #e3e3e3;
  background: #fff;
  padding: var(--rem-500) var(--rem-1000);
  color: var(--dark-color);
  font-size: 14px;
  line-height: normal;
}

.service-filter__tabs a.active {
  background: var(--text-brand);
  color: white;
  border: 1px solid var(--text-brand);
}

.service--list-block.program--list-block a h2 {
  font-size: 20px;
  font-weight: 600;
  transition: 0.25s;
  color: var(--dark-color);
}

.service--list-block.program--list-block a:hover {
  background:
    linear-gradient(
      0deg,
      var(--modifier-hover-light, rgba(54, 113, 82, 0.05)) 0%,
      var(--modifier-hover-light, rgba(54, 113, 82, 0.05)) 100%
    ),
    var(--surface-primary-background, #fff);
}

.service--list-block.program--list-block a:hover h2 {
  color: var(--text-brand) !important;
}

.service--list-block.program--list-block a {
  padding: var(--rem-1000);
  margin-bottom: var(--rem-1000);
  transition: 0.1s;
}

.service--list-block.program--list-block a .service--list-up span {
  border-radius: 32px;
  border: 1px solid #e3e3e3;
  background: #fff;
  padding: var(--rem-250) var(--rem-500);
  font-size: 12px;
  color: var(--dark-color);
  line-height: 16px;
}

.service--list-block.program--list-block a .service--list-up span:not(:first-child) {
  margin-left: var(--rem-500);
}

.service--list-block.program--list-block a .service-img img {
  border-radius: 8px;
}

.service--list-block.program--list-block a .service-img {
  margin-bottom: var(--rem-750);
}

.service--list-block.program--list-block a .service--list-content {
  padding: 0;
}

.service-row {
  margin-top: var(--rem-1500);
  display: flex;
  justify-content: space-between;
}

.service-filter__tabs a {
  cursor: pointer;
}

.service-cards {
  width: calc(100% - (24px + 240px));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: max-content;
}

.service-cards .service--list-block {
  /*width: calc(50% - 8px);*/
  flex: 1;
}

.service-list-share-block {
  position: relative;
  width: calc(50% - 8px);
  display: flex;
  flex-direction: column;
}

.service-list-share-block .drop-down.share-drop-down {
  position: absolute;
  right: 40px;
  top: 8px;
}

.service-page .service-list-share-block {
  min-width: 15rem;
  max-width: 30rem;
}

.service-filter__block .text-field-search {
  background-image: url(../img/service/search.svg);
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 20px 20px;
  padding-left: 40px;
  border-radius: 8px;
  outline: none;
}

.service-filter {
  width: 240px;
}

.service-header {
  margin-top: var(--rem-1500);
}

.service-header h1 {
  color: var(--dark-color);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

.service-header p {
  margin-top: var(--rem-500);
  color: var(--black-color);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

.service-header p a {
  color: var(--text-brand);
  text-decoration: underline;
}

.service-filter__reset {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: var(--dark-color);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: right;
  margin-top: var(--rem-1000);
  padding: var(--rem-500) 0;
}

.service-page .card.happy-banner {
  margin: 0;
}

.service-page .banner-wrap {
  margin-bottom: 24px;
  height: auto;
}

.service-page .banner-wrap .banner-slide img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 12px;
}

.service-favorite__not-found .button {
  border-radius: 8px;
  border: 1px solid #d8f3e0;
  background: #fff;
  font-size: 14px;
  color: #2c9d62;
  padding: var(--rem-500) var(--rem-1000);
  margin-top: 12px;
}

@media (min-width: 955px) and (max-width: 1110px) {
  .service-cards .service--list-block,
  .service-list-share-block {
    width: 100%;
  }
}

@media (max-width: 840px) {
  .service-cards .service--list-block,
  .service-list-share-block {
    width: 100%;
  }
}

.service-filter-mobile {
  display: none;
}

.button.service-filter-mobile__button {
  display: none;
}

#service-filter .service-filter__inner .service-filter__mobile-header {
  display: none;
}

@media (max-width: 658px) {
  .service-filter {
    display: none;
  }

  .button.service-filter-mobile__button {
    display: flex;
    justify-content: center;
    background: var(--text-brand);
    color: white;
    width: 100%;
  }

  .service-page .tabs-content {
    margin-top: 0;
  }

  .service-favorite__empty h2 {
    font-size: 18px;
    line-height: 26px;
    margin: 8px 0 0 0;
  }

  .service-favorite__empty p {
    line-height: 18px;
  }

  #service-filter {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background: rgba(28, 28, 28, 0.7);
    backdrop-filter: blur(4px);
    max-height: 100vh !important;
  }

  #service-filter .service-filter__inner {
    padding: var(--rem-1000);
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    background: white;
    max-height: 100vh;
    overflow: auto;
    scrollbar-width: none;
  }

  #service-filter .service-filter__inner .service-filter__mobile-header {
    display: flex;
    align-items: center;
  }

  #service-filter .service-filter__inner .service-filter__mobile-header span {
    display: block;
    flex: 1;
  }

  #service-filter .service-filter__inner::-webkit-scrollbar {
    display: none;
  }

  #service-filter .service-filter__block .service-filter__list {
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: none;
  }

  #service-filter .service-filter__block .service-filter__list::-webkit-scrollbar {
    display: none;
  }

  .service-cards {
    width: 100%;
  }

  .service-body > main {
    z-index: 21;
  }

  .service-content.service-block.service-page {
    padding: var(--rem-1000);
  }

  .service-filter__submit {
    border-top: 1px solid #e3e3e3;
    background: #fff;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-top: var(--rem-1000);
  }

  .service-filter__submit button,
  .service-filter__submit a {
    width: calc(50% - 8px);
  }

  .service-filter__submit button {
    background: var(--text-brand);
    color: white;
    height: 40px;
    margin: 0;
  }

  .service-filter__reset {
    margin-top: 0;
    border-radius: 8px;
    border: 1px solid #d8f3e0;
    background: #fff;
    color: var(--text-brand);
    height: 40px;
    display: flex;
    justify-content: center;
  }

  .service-filter__reset svg {
    display: none;
  }

  .service-page #favorite {
    margin-top: var(--rem-1500);
  }

  .service-filter__header .tooltip {
    display: flex;
    align-items: center;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .service-cards .service--list-block,
  .service-list-share-block {
    width: 100%;
  }
}

.service-page .service--list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--rem-750);
}

.programFavorite {
  cursor: pointer;
}

.programFavorite.liked .unliked-icon {
  display: none;
}

.programFavorite:not(.liked) .liked-icon {
  display: none;
}

#service-filter .service-filter__inner .service-filter__mobile-header svg {
  height: 24px;
  width: 24px;
}

#service-filter .service-filter__inner .service-filter__mobile-header {
  margin-bottom: var(--rem-750);
}
