.service_page,
.text_page_wrapper {
  background: #ffffff;
}

.service_page_thanks {
  min-height: calc(100svh - 80px);
  background: #dce4e5;
}

.service_page_thanks .service_page_container {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 80px);
  margin: 0;
  padding: 0;
}

.service_page_thanks .service_page_container_has_image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.service_page_thanks .service_page_container_no_image {
  max-width: 1330px;
  margin: 0 auto;
}

.service_page_thanks .service_page_thanks_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-width: 0;
  padding: 96px 60px 120px;
  background: #dce4e5;
}

.service_page_thanks .service_page_thanks_media {
  position: relative;
  min-width: 0;
  min-height: calc(100svh - 80px);
  overflow: hidden;
}

.service_page_thanks .service_page_thanks_media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service_page_thanks .h5,
.service_page_thanks .h2,
.service_page_thanks .service_page_text {
  margin: 0;
}

.service_page_thanks .h2 {
  max-width: 600px;
}

.service_page_thanks .service_page_text {
  max-width: 600px;
  color: rgba(10, 9, 7, 0.55);
  font-weight: 600;
}

.service_page_thanks .service_page_button {
  margin-top: 16px;
  padding: 20px 40px;
  border-radius: 14px;
  background-color: var(--button-red);
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.35);
}

.service_page_thanks .service_page_button:hover,
.service_page_thanks .service_page_button:focus-visible {
  background-color: var(--button-red-hover);
}

.text_page_wrapper .text_page {
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 120px;
}

.text_page_wrapper .text_page_header {
  gap: 16px;
  max-width: 1100px;
}

.text_page_wrapper .text_page_header > * {
  margin: 0;
}

.text_page_wrapper .text_page_header .h2 {
  max-width: 1080px;
}

.text_page_wrapper .text_page_header .p1 {
  color: rgba(10, 9, 7, 0.55);
  font-weight: 600;
}

.text_page_wrapper .text_page_content,
.text_page_wrapper .text_page_wysiwyg {
  width: 100%;
}

.text_page_wrapper .text_page_wysiwyg {
  max-width: 1040px;
  color: rgba(10, 9, 7, 0.72);
}

.text_page_wrapper .text_page_wysiwyg h2,
.text_page_wrapper .text_page_wysiwyg h3 {
  margin-right: 0;
  margin-left: 0;
  font-family: "Roboto Flex", Arial, sans-serif;
  font-optical-sizing: auto;
  font-stretch: 35%;
  font-weight: 500;
  font-variation-settings: "GRAD" 0, "XOPQ" 80, "XTRA" 421, "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 550, "YTUC" 760, "wdth" 35, "opsz" 70;
  color: #0a0907;
}

.text_page_wrapper .text_page_wysiwyg h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 0;
  border-top: 0;
  font-size: 48px;
  line-height: 0.9;
}

.text_page_wrapper .text_page_wysiwyg h2:first-child {
  margin-top: 0;
}

.text_page_wrapper .text_page_wysiwyg h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 0.95;
}

.text_page_wrapper .text_page_wysiwyg p,
.text_page_wrapper .text_page_wysiwyg li {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  font-weight: 440;
}

.text_page_wrapper .text_page_wysiwyg p {
  max-width: 1040px;
  margin: 0;
}

.text_page_wrapper .text_page_wysiwyg p + p {
  margin-top: 12px;
}

.text_page_wrapper .text_page_wysiwyg ul,
.text_page_wrapper .text_page_wysiwyg ol {
  margin: 12px 0 0;
  padding-left: 24px;
}

.text_page_wrapper .text_page_wysiwyg li + li {
  margin-top: 8px;
}

.text_page_wrapper .text_page_wysiwyg a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 901px) {
  .text_page_wrapper .text_page {
    padding-right: 60px;
    padding-left: 60px;
  }
}

@media (max-width: 900px) {
  .service_page_thanks,
  .service_page_thanks .service_page_container {
    min-height: calc(100svh - 80px);
  }

  .text_page_wrapper .text_page {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .service_page_thanks .service_page_container_has_image {
    display: flex;
    flex-direction: column;
  }

  .service_page_thanks .service_page_thanks_content {
    gap: 20px;
    min-height: calc(100svh - 80px);
    padding: 64px 20px 80px;
  }

  .service_page_thanks .service_page_thanks_media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .service_page_thanks .service_page_button {
    width: 100%;
    margin-top: 12px;
    padding: 18px 28px;
    border-radius: 14px;
  }

  .text_page_wrapper .text_page {
    gap: 40px;
  }

  .text_page_wrapper .text_page_wysiwyg h2 {
    margin-top: 32px;
    font-size: 34px;
  }

  .text_page_wrapper .text_page_wysiwyg h3 {
    margin-top: 24px;
    font-size: 26px;
  }

  .text_page_wrapper .text_page_wysiwyg p,
  .text_page_wrapper .text_page_wysiwyg li {
    font-size: 16px;
    line-height: 1.5;
  }
}
