/* ==========================================================================
   static.css — то немногое, чего нет в теме WordPress.

   Тема рассчитана на Webflow-скрипты (аккордеон FAQ, бургер-меню) и на jQuery.
   Тянуть их ради двух эффектов не стали: аккордеон собран на <details>,
   а всё остальное тема рисует сама.
   ========================================================================== */

/* --- FAQ на <details> вместо Webflow-дропдауна ---------------------------- */

/* Отступы повторяют тему: .dropdown-toggle{padding-left:40px} и
   .drop-list.w--open{padding:40px}. Вопрос и ответ должны стоять по одной
   вертикали, иначе раскрытая панель выглядит съехавшей. */
.sx-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px 24px 40px;
  cursor: pointer;
  list-style: none;
}
.sx-faq-item > summary::-webkit-details-marker { display: none; }
.sx-faq-item > summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--pink, #f51449);
  border-bottom: 2px solid var(--pink, #f51449);
  margin-top: -4px;                 /* оптический центр «галочки» */
  transform: rotate(45deg);
  transition: transform .2s ease, margin-top .2s ease;
}
.sx-faq-item[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.sx-faq-item .faq-quest { margin: 0; text-align: left; }
.sx-faq-item .drop-list { padding: 0 40px 28px; }
.sx-faq-item .drop-list p {
  margin: 0;
  color: #5b6472;
  text-align: left;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .sx-faq-item > summary { padding: 18px 18px 18px 20px; }
  .sx-faq-item .drop-list { padding: 0 20px 20px; }
}

/* --- Маркировка рекламы ---------------------------------------------------
   Виджет Travelpayouts выводит обязательный дисклеймер («Реклама. АО …, ИНН»)
   белой полосой во всю ширину внизу страницы. Убирать его нельзя — это
   требование закона о маркировке, поэтому прячем так же, как на остальных
   сайтах портфеля: угол, мелкий серый текст, полупрозрачно, при наведении
   читается полностью. */

/* Второй селектор — страховка: класс у виджета уже менялся, а маска
   [class*="advertiser-info"] ловит любые его варианты. */
.tp-advertiser-info,
[class*="advertiser-info"] {
  position: fixed;
  bottom: 12px;
  right: 16px;
  z-index: 999;
  max-width: 220px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .85);
  font-size: 10px !important;
  line-height: 1.3;
  color: #999 !important;
  opacity: .35;
  transition: opacity .2s;
}
.tp-advertiser-info:hover,
[class*="advertiser-info"]:hover { opacity: 1; }
.tp-advertiser-info div,
[class*="advertiser-info"] div { font-size: 10px !important; color: #999 !important; }

@media (max-width: 560px) {
  .tp-advertiser-info,
  [class*="advertiser-info"] { max-width: 160px; bottom: 8px; right: 8px; }
}

/* --- Полный список городов ----------------------------------------------- */

.city-list {
  columns: 200px;
  column-gap: 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 15px;
}
.city-list li { break-inside: avoid; padding: 3px 0; }
.city-list a { color: #5b6472; text-decoration: none; }
.city-list a:hover { color: var(--pink, #f51449); }

/* --- Подборки направлений ------------------------------------------------- */

.sx-clusters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  text-align: left;
}
.sx-cluster {
  padding: 22px 24px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 30px -1px #0000000a;
}
.sx-cluster__head h3 { margin: 0; font-size: 18px; font-weight: 600; }
.sx-cluster__head span { display: block; margin-top: 4px; color: #8a94a3; font-size: 14px; }
.sx-cluster__cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sx-cluster__city {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 30px;
  background: #f3f8fd;
  color: #243039;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.sx-cluster__city:hover { background: var(--pink, #f51449); color: #fff; }
.sx-cluster__city b { font-weight: 600; opacity: .5; font-size: 12px; }
.sx-cluster__city:hover b { opacity: .8; }

/* --- Страница «Все города» ------------------------------------------------ */

.sx-lead { max-width: 46rem; margin: 12px auto 0; color: #5b6472; }
.sx-alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 28px;
}
.sx-alphabet a {
  min-width: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f3f8fd;
  color: #243039;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.sx-alphabet a:hover { background: var(--pink, #f51449); color: #fff; }
.sx-letter-block { margin-bottom: 22px; text-align: left; }
.sx-letter {
  margin: 0 0 8px;
  color: var(--pink, #f51449);
  font-size: 17px;
  scroll-margin-top: 90px;
}

/* --- Отзывы --------------------------------------------------------------- */

.sx-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; text-align: left; }
.sx-review {
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 30px -1px #0000000a;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sx-review__top { display: flex; align-items: center; gap: 10px; }
.sx-review__rate {
  padding: 3px 9px;
  border-radius: 20px;
  background: #eafaf0;
  color: #1a9b52;
  font-weight: 700;
  font-size: 14px;
}
.sx-review__name { font-weight: 600; font-size: 15px; }
.sx-review__city { color: #8a94a3; font-size: 13px; margin-left: auto; }
.sx-review__text { margin: 0; color: #5b6472; font-size: 14px; line-height: 1.55; }

/* --- Мелочи, которых нет в теме ------------------------------------------ */

.footer-copy {
  margin-top: 28px;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

/* Виджет поиска: не даём ему распирать страницу на узких экранах */
.search-widget { max-width: 100%; overflow-x: auto; }

/* Страница 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound p { color: #5b6472; margin: 12px 0 24px; }
