/* 02.11.2026 EEAT головної (docx «EEAT - Субдомен головна»): вступ і примітка до 5 кроків, вступ і програма
   у відгуках, підписи відеовідгуків у сторіз, «Our Commitment to Accurate Information», FAQ над формою.
   Підключається лише на головних (functions.php, gx-eeat-home). */

/* 5 кроків */
.gx-steps-intro {
  max-width: 860px;
  margin: -14px auto 34px;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 160%;
  color: #2c3f50;
}
.gx-steps-intro p { margin: 0; }
.gx-steps-note {
  margin: 0 -3px 34px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 160%;
  color: #5e5f5f;
}
.gx-steps-note__title {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 15px;
  color: #2c3f50;
}
.gx-steps-note p { margin: 0; }
.gx-steps-note p + p { margin-top: 8px; }

/* відгуки */
.gx-clients-intro {
  max-width: 900px;
  margin: -14px 0 40px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 160%;
  color: #5e5f5f;
}
.gx-clients-intro p { margin: 0; }
.gx-clients-intro p + p { margin-top: 10px; }
.slider-client-review .gx-client-program {
  display: inline-block;
  margin: -6px 0 14px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(247, 202, 201, 0.45);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 140%;
  color: #2c3f50;
}

/* підписи відеовідгуків у сторіз: <details> поверх нижнього краю слайда, над зонами «назад/вперед» (z 200)
   і під шапкою сторіз (z 300). Згорнуто — один рядок; розгорнуто — повний текст із прокруткою. */
.stories-slider .gx-review-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  max-height: 58%;
  overflow-y: auto;
  padding: 12px 16px;
  background: rgba(44, 63, 80, 0.88);
  font-family: "Manrope", sans-serif;
  color: #fff;
  -webkit-overflow-scrolling: touch;
}
.stories-slider .gx-review-caption summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}
.stories-slider .gx-review-caption summary::-webkit-details-marker { display: none; }
.gx-review-caption__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.gx-review-caption__more {
  flex: none;
  font-size: 13px;
  line-height: 140%;
  opacity: 0.85;
  white-space: nowrap;
}
.gx-review-caption__more::after { content: " \25BE"; }
.gx-review-caption[open] .gx-review-caption__more::after { content: " \25B4"; }
.gx-review-caption__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 150%;
}
.gx-review-caption__text p { margin: 0; }
.gx-review-caption__text p + p { margin-top: 8px; }

/* Our Commitment to Accurate Information */
.gx-commit { padding: 20px 0 40px; }
.gx-commit__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 48px;
  background: #fff;
  border: 1px solid rgba(217, 167, 180, 0.45);
  border-radius: 32px;
}
.gx-commit__title {
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 140%;
  text-transform: uppercase;
  color: #2c3f50;
}
.gx-commit__text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 160%;
  color: #5e5f5f;
}
.gx-commit__text p { margin: 0; }
.gx-commit__text p + p { margin-top: 12px; }
.gx-commit__updated {
  margin: 20px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: #8a8b8b;
}
.gx-commit__updated strong { color: #2c3f50; }

/* FAQ над формою: той самий акордеон, що на /faq/ (стилі style.css, клік — index.js) */
.gx-home-faq { padding: 20px 0 60px; }
.gx-home-faq__title {
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 140%;
  text-transform: uppercase;
  text-align: center;
  color: #2c3f50;
}
.gx-home-faq__legal {
  margin: 0 0 30px;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: #8a8b8b;
}
.gx-home-faq .accordion-content p + p { margin-top: 12px; }
.gx-home-faq .accordion-content a,
.gx-commit__text a { color: #2c7fb8; text-decoration: underline; }

@media all and (max-width: 1280px) {
  .gx-commit__title, .gx-home-faq__title { font-size: 16px; }
  .gx-steps-intro, .gx-clients-intro, .gx-commit__text { font-size: 15px; }
}
@media all and (max-width: 767px) {
  /* на телефоні низ сторіз перекривають кнопки віджета Binotel — підпис угорі, одразу під шапкою сторіз
     (.stories-slider-user: top 18px + 32px), смужки прогресу й хрестик лишаються видно */
  .stories-slider .gx-review-caption { top: 58px; bottom: auto; max-height: calc(100% - 150px); }
  /* під заголовком відгуків тема тягне слайдер угору (margin-bottom: -40px) — вступ ставимо нижче заголовка */
  .clients__title + .gx-clients-intro { margin-top: 52px; margin-bottom: 52px; }
  .gx-commit__wrap { padding: 28px 18px; border-radius: 20px; }
  .gx-steps-intro { margin-top: -6px; }
}
