@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
}

.menu__mode {
  display: none !important;
}

.open {
  order: 1;
}

.open__text span {
  font-size: 22px !important;
}

.menu {
  top: 70px !important;
  padding-top: 30px !important;
}

.google-partner__badge {
  width: 90px;
}

.map__img_item--7 {
  top: 46%;
  right: 49%;
}

.testimonials__button__wrap {
  margin-top: 50px;

  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.testimonials__button__wrap .testimonials__btn {
  margin-top: 0;
}

.testimonials__button__wrap__title {
  text-align: center;
  color: #121111;
  font-size: 2.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 17px;
}

.testimonials__button__wrap-box {
  display: flex;
  gap: 12px;
}

.button__mt30 {
  margin-top: 30px;
}

.featured__item_text p {
  --max-lines: 4;
  --line-height: 1.4;

  max-height: calc(var(--max-lines) * 1em * var(--line-height));
  line-height: var(--line-height);

  overflow: hidden;
  position: relative;
}

.featured__item_text p:has(+ .read__more-btn:not(:checked))::before {
  content: "";
  position: absolute;
  height: calc(1em * var(--line-height));
  width: 100%;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, white);
}

.featured__item_text p:has(+ .read__more-btn:checked) {
  max-height: none;
}

.read__more-btn {
  cursor: pointer;
  text-decoration: underline;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: 700;
  font-size: 1.2em;
  margin: 0;
  padding: 5px 0 0;
}

.read__more-btn:hover {
  text-decoration: none;
}

.read__more-btn:before {
  content: "...Read more";
}

.read__more-btn:checked:before {
  content: "Hide text";
}

.values__wrap--about .values__item--6 {
  grid-area: 2/3/3/4;
}

.platforms__slider .partners__slide img {
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.platforms__slider .partners__slide {
  margin-left: 0px;
}

.news__item .news__item_img img {
  -o-object-fit: contain;
  object-fit: contain;
}

/* Privacy policy new styles */

.terms__page {
}

.terms__page h2 {
  font-size: 3em;
  font-weight: 600;
  margin-top: 3.75rem;
}

.terms__page h3 {
  font-size: 2.5em;
  font-weight: 500;
  margin-top: 2.25rem;
}

.terms__page h4 {
  font-size: 2em;
  font-weight: 600;
  margin-top: 1.5rem;
}

.terms__page li,
.terms__page p {
  font-size: 1.5625em;
  line-height: 1.2;
  color: var(--whiteColor);
  margin-bottom: 0.7692307692em;
  transition: color 750ms ease-in-out;
  margin-top: 1.25rem;
  font-weight: 400;
}

.terms__page p b,
.terms__page p strong,
.terms__page li strong,
.terms__page li strong {
  font-weight: 600;
  color: var(--orangeColor);
}

.terms__page ol,
.terms__page ul {
  padding-left: 20px;
}

.terms__page ul {
  list-style: disc;
}

.terms__page a {
  font-weight: 400;
  color: var(--orangeColor);
  text-decoration: underline;
}

.terms__page > ol li {
  font-weight: 700;
}

.terms__page ol {
  list-style: decimal;
  padding-left: 30px;
}

.terms__page ol li a {
  color: var(--whiteColor);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  transition: 0.3s;
}

.terms__page ol li a:hover {
  color: var(--orangeColor);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  transition: 0.3s;
}

.terms__page .anchor {
  display: block;
  margin-top: -100px;
  margin-bottom: 140px;
}

.wp-block-table {
  margin: 30px 0px;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  border: 1px solid var(--whiteColor);
  padding: 8px;
  text-align: left;
  font-weight: 400;
  font-size: 1.5625em;
  line-height: 1.3;
}

.btn__wrapper {
  display: flex;
  margin: 30px 0px !important;
}

.btn__wrapper .wp-block-button__link {
  display: inline-flex;
  padding: 0.9375em 2.5em;
  color: var(--blackColor);
  background-color: var(--orangeColor);
  border: 0.125em solid var(--orangeColor);
  justify-content: center;
  text-transform: uppercase;
  margin: auto;
  font-size: 1.75em;
  font-weight: 700;
  border-radius: 0px;
  cursor: pointer;
  transition: 750ms ease-in-out;
}

.btn__wrapper .wp-block-button__link:hover {
  color: var(--orangeColor);
  background-color: var(--whiteColorOnly);
}

/* Top Banner + Section */

.pt-0 {
  padding-top: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.custom__top__img {
  top: 0.1em !important;
  left: 50% !important;
  margin-left: 0 !important;
  width: 12em !important;
}

.custom__top__main__img {
  width: 50em !important;
}

.custom__main {
  padding-top: 7.4em !important;
}

.custom__top {
  padding-top: 2em !important;
  padding-bottom: 2em !important;
}

.custom__top__btn {
  margin-top: 3em !important;
}

.custom__heading {
  padding: 0 !important;
}

.custom__heading h1 {
  font-size: 4em !important;
}

.custom__heading-big h1 {
  font-size: 6em !important;
}

.first__section {
  margin-top: 3.25em !important;
}

.section {
  margin-top: 7em;
}

.about__text {
  margin-top: 2.1em !important;
}

.verticals__title {
  transform: none !important;
}

.verticals__item {
  transform: none !important;
  opacity: 1 !important;
}

/* Contacts */

.custom__contacts__item_box {
  display: none;
  width: 100%;
  max-width: 480px;
}

.contacts__item:nth-child(4n + 1) .custom__contacts__item_box {
  display: block !important;
}

.contacts__item:nth-child(4n + 1) .custom__contacts__item_btn {
  display: none !important;
}

.custom__contacts__item_box .contacts__item_btn--second {
  margin-top: 8px;
}

.contacts__item:hover .contacts__item_btn--second .btn {
  border: 2px solid #fff;
  background-color: #db7754;
}

.contacts__item:hover
  .custom__contacts__item_box
  .contacts__item_btn--second
  .btn
  span {
  color: #ffffff;
}

.custom__contacts__item_box .contacts__item_btn--second .btn {
  background-color: transparent;
  border: 2px solid #db7754;
}

.custom__contacts__item_box .contacts__item_btn--second .btn span {
  color: #db7754;
}

.contacts__item_box__title {
  text-align: center !important;
  font-size: 2.2em !important;
  margin-bottom: 14px !important;
  font-weight: 500 !important;
}

.custom__contacts__item_btn:first-child {
  display: none !important;
}

.socials__item {
  height: 3em;
  margin-right: 1em;
}

.line {
  order: 2;
}

/* Header Popup */
.hide {
  display: none !important;
}

.custom__header-menu__button {
  font-size: 1.8em !important;
  font-weight: 400 !important;
}

.header__popup-wrapper {
  box-sizing: border-box;
  display: block;
  max-width: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(12.5px);
  backdrop-filter: blur(12.5px);
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 999;
}

.header__popup {
  width: 380px;
  box-sizing: border-box;
  top: 200px;
  border-radius: 10px;
  right: calc(50% - 190px);
  background-color: #ffffff;
  position: absolute;
}

.header__popup__header {
  display: flex;
  justify-content: end;
}

.header__popup__header-close {
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  margin: 5px 8px 0 0;
}

.header__popup__content {
  padding: 4px 23px 27px;
}

.header__popup__content-title {
  color: #121111;
  text-align: center;
  font-family: Montserrat;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 16px;
}

.header__popup__content__button {
  text-align: center;
  text-decoration: none;
  font-family: Montserrat;
  display: block;
  background: #121111;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  padding: 15px 20px;
  margin-bottom: 4px;
  transition: all linear 0.15s;
}

.header__popup__content__button:hover {
  background: #eb704b;
}

.custom__dropdown {
  order: 3;
  position: relative;
}

.custom__dropdown__button {
  font-family: "Montserrat", sans-serif;

  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 220px;
  height: 47px;
  background-color: #121111;
  padding: 10px 27px;
  color: #fff;
  font-size: 22px !important;
  font-weight: 400;
  border: 1px solid #121111;
  transition: all linear 0.75s;
  min-height: 40px;
}

.custom__dropdown__button:hover {
  background-color: #121111;
}

.custom__dropdown__button-arrow {
  width: auto;
  transform: rotate(180deg);
  transition: all linear 0.15s;
}

.custom__dropdown__menu--show {
  display: flex !important;
}

.custom__dropdown__menu {
  font-family: "Montserrat", sans-serif;

  display: none;
  flex-direction: column;
  gap: 4px;
  width: 220px;
  list-style: none;
  padding: 4px 0 0 0;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin: 0;
}

.custom__dropdown__button--active .custom__dropdown__button-arrow {
  transform: rotate(0deg);
}

.custom__dropdown__menu-item {
  display: block;
  width: 100%;
  max-width: 100%;
}

.custom__dropdown__menu-item__button {
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #1d1c1c;
  background-color: #fff;
  color: #1e1e1e;
  font-size: 1.8em;
  font-weight: 400;
  padding: 5px 2px;
  transition: all linear 0.15s;
}

.custom__dropdown__menu-item__button:hover {
  background-color: #121111;
  color: #ffffff;
}

.featured__item_logo {
  max-width: 200px !important;
  height: 2.5em;
}

.featured__item_logo img {
  height: auto !important;
  max-height: 100% !important;
  max-width: 100% !important;
  width: auto;
}

.footer__cell--1 {
  gap: 20px;
}

@media (max-width: 1500px) {
  .first__section {
    margin-top: 3.25em !important;
  }

  .custom__heading {
    padding: 0 !important;
  }
}

@media (max-width: 1200px) {
  .open__text span {
    font-size: 22px !important;
  }
  .custom__dropdown__button {
    font-size: 22px !important;
  }
  .custom__dropdown__menu-item__button {
    font-size: 18px !important;
  }
  .menu {
    top: 70px !important;
    padding-top: 30px !important;
  }
  .google-partner__badge {
    order: 3;
  }

  .featured__item_logo {
    height: 1.6em !important;
  }

  .featured__item_logo img {
    height: auto !important;
  }

  .header {
    padding: 1em 0 !important;
  }

  .pt-0 {
    padding-top: 0 !important;
  }

  .p-0 {
    padding: 0 !important;
  }

  .custom__header-menu__button {
    font-size: 1.375em !important;
  }

  .custom__main {
    padding-top: 4em !important;
  }

  .custom__top__btn {
    margin-top: 1.2em !important;
  }

  .custom__top__img {
    top: 0 !important;
    width: 7em !important;
  }

  .custom__top__main__img {
    width: 50% !important;
  }

  .custom__top {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
  }

  .about__text {
    margin-top: 1.45em !important;
  }

  .custom__heading {
    padding: 0 !important;
  }

  .custom__heading h1 {
    font-size: 2em !important;
  }

  .custom__heading-big h1 {
    font-size: 4em !important;
  }

  .first__section {
    margin-top: 1.5em !important;
  }

  /*.header .line {*/
  /*    display: none;*/
  /*}*/
  .wp-block-table th,
  .wp-block-table td {
    padding: 5px 8px;
    font-size: 1em;
  }

  .btn__wrapper .wp-block-button__link {
    font-size: 1em;
  }

  .section {
    margin-top: 4.5em;
  }

  .testimonials__button__wrap__title {
    font-size: 1.6em;
  }

  .contacts__item_box__title {
    font-size: 1em !important;
    margin-bottom: 16px !important;
  }

  .contacts__item_btn .btn {
    width: 100%;
  }

  .socials {
    order: 2 !important;
    margin-top: 0 !important;
  }

  .socials__item {
    height: 1.87em;
    margin-right: 0.6em;
  }
}

@media (max-width: 900px) {
  .pt-0 {
    padding-top: 0 !important;
  }

  .p-0 {
    padding: 0 !important;
  }

  .read__more-btn {
    font-size: 0.8em;
  }

  .custom__heading {
    padding: 0 !important;
  }

  .custom__heading h1 {
    font-size: 2em !important;
  }

  .custom__heading-big h1 {
    font-size: 4em !important;
  }
}

@media (max-width: 780px) {
  .pt-0 {
    padding-top: 0 !important;
  }

  .p-0 {
    padding: 0 !important;
  }

  .custom__heading-big h1 {
    font-size: 3.5em !important;
  }

  .testimonials__button__wrap {
    margin-top: 30px;
  }

  .custom__top {
    padding-top: 1.5em !important;
    padding-bottom: 1.5em !important;
  }

  .custom__top__btn {
    margin-top: 1.3em !important;
  }
}

@media (max-width: 650px) {
  .menu {
    top: 40px !important;
    padding-top: 30px !important;
  }
  .custom__dropdown__button {
    width: auto;
    height: auto;
    min-height: auto;
    font-size: 18px;

    padding: 8px 25px;
  }

  .custom__dropdown__button-arrow {
    display: none;
  }

  .testimonials__button__wrap-box {
    width: 100%;
    max-width: 280px;
    flex-direction: column;
    gap: 5px;
  }

  .testimonials__button__wrap-box .btn {
    max-width: 280px;
    width: 100%;
  }

  .testimonials__button__wrap__title {
    font-size: 1.3em;
  }

  .socials__item {
    height: 1.85em !important;
    margin-right: 0.8em !important;
  }

  .contacts__item_box__title {
    margin-bottom: 10px !important;
  }

  .contacts__item_btn--first {
    margin-top: 0 !important;
  }
}
@media (max-width: 500px) {
  .open__text span {
    font-size: 18px !important;
  }
  .custom__dropdown__button {
    font-size: 18px !important;
  }
}
@media (max-width: 480px) {
  .menu {
    top: 0 !important;
    padding-top: 30px !important;
  }
  .featured__item_logo {
    height: 1.875em !important;
  }

  .featured__item_logo img {
    height: auto !important;
  }

  .custom__header-menu__button {
    font-size: 1.125em !important;
  }

  .pt-0 {
    padding-top: 0 !important;
  }

  .p-0 {
    padding: 0 !important;
  }

  .custom__heading {
    padding: 0 !important;
  }

  .about__text {
    margin-top: 1.05em !important;
  }

  .custom__main {
    padding-top: 3.4em !important;
  }

  .section {
    margin-top: 4.6em;
  }

  .first__section {
    margin-top: 2em !important;
  }

  .custom__top {
    padding-top: 1.5em !important;
    padding-bottom: 1.5em !important;
  }

  .custom__top__btn {
    margin-top: 1.3em !important;
  }

  .custom__heading h1 {
    font-size: 1.875em !important;
  }

  .custom__heading-big h1 {
    font-size: 2.7em !important;
  }

  .read__more-btn {
    display: none;
  }

  .featured__item_text p {
    max-height: none;
  }

  .featured__item_text p:before {
    display: none;
  }

  .testimonials__button__wrap__title {
    font-size: 1.15em;
  }
}

@media (max-width: 440px) {
  .header__popup {
    width: 90%;

    right: calc(50% - 45%);
  }

  .custom__dropdown__button {
    font-size: 1.125em;
  }
}
