.thumb-wrap {
  position: relative;
  padding-bottom: 56.25%;
  /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
  height: 0;
  overflow: hidden;
}

.thumb-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-width: 0;
  outline-width: 0;
}

.first-screen__btn {
  max-width: max-content;
}

.modal-dialog__container {
  /* border: 8px solid;
  border-color: #A7A7A7; */
  position: relative;
}

.modal-dialog__container::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  border: 8px solid;
  border-color: #A7A7A7;
  z-index: 11;
  position: absolute;
  background-color: transparent;
  pointer-events: none;
  inset: 0;
}

.header__right {
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 768px) {
  .modal-dialog__container::after {
    display: none;
  }
}

@media (min-height: 1200px) {
  .first-screen__outer-container {
    min-height: initial;
  }

}

.new-cust-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  font-family: inherit;
}

.new-cust-info__item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  font-family: inherit;
}

.new-cust-info__big-data {
  font-family: inherit;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: #232323;
  display: flex;
  align-items: center;
  padding: 16px 22px;
  text-align: center;
  background-color: #ffbd00;
}

.new-cust-info__text {
  margin: 0;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: #000000;
  text-align: left;
}

.cust-title-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  font-family: inherit;
}

.cust-title-group__title {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: #232323;
}

.cust-title-group__subtitle {
  margin: 0;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  color: #000000;
}
.cust-title-group__subtitle::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #ffbd00;
  margin-right: 16px;
}

@media (max-width: 768px) {
  .modal-dialog__container--mod::after {
    display: block;
    border-width: 5px;
  }
  .modal-dialog__close-btn-wrapper--mod {
    position: absolute;
    top: 5px;
    right: 5px;
  }
}
@media (max-width: 550px) {
  .cust-title-group__title {
    font-size: 30px;
    max-width: 270px;
  }
  .cust-title-group__subtitle::before {
    width: 30px;
    top: -5px;
    position: relative;
    margin-right: 10px;
  }
  .new-cust-info__big-data {
    font-size: 24px;
    max-width: max-content;
  }
  .new-cust-info__text {
    font-size: 16px;
  }
  .new-cust-info__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }
  .cust-title-group__subtitle {
    align-items: baseline;
  }
  .new-cust-info {
    gap: 24px;
  }
}

.homes__head-content--mod .homes__btn {
  padding-right: 0;
}

.homes__head-content--mod .homes__btn:before {
  display: none;
}
.homes__head-content--mod .homes__btn {
  margin-left: 12px;
}
.homes__head-content--mod .homes__title {
  margin-right: auto;
}

@media (max-width: 920px) {
  .homes__head-content--mod {
    flex-direction: column;
    align-items: flex-start;
  }
  .homes__head-content--mod .homes__btn {
    margin-inline: 0;
    padding: 0 !important;
  }
}

.homes__head-content--mod .homes__btn {
  position: relative;
  padding-left: 10px;
}

.homes__head-content--mod .homes__btn:before {
  content: "";
  display: block;
  width: 1px;
  height: 80%;
  background-color: var(--color-dark);;
  margin-right: 12px;
  position: absolute;
  left: 0;
  top: 10%;
}

@media (max-width: 935px) {
  .homes__head-content--mod .homes__btn:before {
    display: none;
  }
  .homes__head-content--mod .homes__btn {
    padding-left: 0;
    margin-left: 0;
  }
  .homes__head-content--mod {
    flex-direction: column;
    align-items: flex-start;
  }
}

.homes__title--two .title {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 16px;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .homes__title--two .title {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 16px;
    margin-top: 24px;
  }
}

@media (min-width: 1280px) {
  .header-no-main {
    margin-bottom: 100px;
  }
  .header-no-main .header__container {
    display: none;
  }
}