/* Поисковые страницы /alanya/: поверх landing.css — текст статьи, таблицы, навигация. */
.crumbs { margin: 0 0 14px; font-size: 14px; color: #8e9cab; }
.crumbs a { color: #7fd6ff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.article { text-align: left; }
.article h1 { font-size: clamp(28px, 6vw, 40px); }
.article .lead { margin: 16px 0 22px; }
.updated { color: #8e9cab; font-size: 14px; margin: 0 0 18px; }

.block h3 { margin: 22px 0 8px; font-size: 18px; color: #f7fbff; }
.block ul, .block ol { margin: 0 0 12px; padding-left: 20px; color: #c3ced8; }
.block li { margin-bottom: 8px; }

.table-wrap { overflow-x: auto; margin: 0 0 12px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; color: #c3ced8; }
th, td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; vertical-align: top; }
th { color: #f7fbff; font-weight: 700; white-space: nowrap; }
td:first-child { color: #f7fbff; font-weight: 600; min-width: 6.5em; }  /* перенос разрешён: длинная первая колонка не растягивает таблицу (07.10.2026) */

.cta-box {
  margin-top: 18px; padding: 18px;
  border-radius: 16px; background: rgba(34,158,217,.1);
  border: 1px solid rgba(34,158,217,.3);
}
.cta-box p { margin: 0; }

.faq details { border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px 0; }
.faq summary { cursor: pointer; color: #f7fbff; font-weight: 650; }
.faq details p { margin: 10px 0 0; }

/* Каталог /alanya/ (07.10.2026): первый экран слева с цифрами дня, ровная сетка карточек, пример ответа бота. */
.hero.catalog { text-align: left; }
.hero.catalog .mark { width: 52px; height: 52px; margin: 0 0 14px; border-radius: 16px; }
.hero.catalog .mark svg { width: 30px; height: 30px; }
.hero.catalog .lead { margin: 14px 0 18px; }

/* Главная elidgen.ru (08.10.2026): только первый блок каталога — по центру экрана */
.page.home { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.home-links { margin: 14px 0 0; text-align: center; }
.home-links a { color: #7fd6ff; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }  /* значок и подпись в одну строку */
.hero.catalog .brand .mark { width: 40px; height: 40px; margin: 0; flex: none; border-radius: 12px; }
.hero.catalog .brand .mark svg { width: 24px; height: 24px; }
.brand .eyebrow { margin: 0; font-size: 15px; }
.home .ask-chips { margin-bottom: 18px; }
.ask-chips.collapsed .extra { display: none; }  /* остальные вопросы — по «Ещё вопросы» */
.ask-chips .chip.more-asks { font: inherit; font-size: 14px; padding: 8px 9px; white-space: nowrap;  /* на телефоне 360+ встаёт справа от 4-го вопроса */ cursor: pointer; color: #7fd6ff; background: transparent; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.stat {
  display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px;
  border-radius: 14px; text-decoration: none;
  background: rgba(34,158,217,.1); border: 1px solid rgba(34,158,217,.3);
}
.stat b { font-size: clamp(22px, 6vw, 30px); line-height: 1.1; color: #f7fbff; }
.stat small { color: #8e9cab; font-size: 13px; line-height: 1.3; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 420px) {  /* «обновлено», «малооблачно» целиком в узкой плитке телефона (08.10.2026) */
  .stats { gap: 6px; }
  .stat { padding: 10px 6px 10px 8px; }
  .stat small { font-size: 12px; }
}
.stat small:first-child { color: #c3ced8; }

.block .cards, .block .tiles, .block .pluses { padding-left: 0; list-style: none; }
.cards { display: grid; gap: 10px; margin: 0; grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }  /* нечётное число — без дыры в сетке */
}
.block .cards li, .block .tiles li { margin: 0; }
.card {
  display: flex; flex-direction: column; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.card:hover { border-color: rgba(127,214,255,.5); }
.card .main { flex: 1; display: block; padding: 12px 16px; text-decoration: none; }
.card b { display: block; margin-bottom: 2px; color: #f7fbff; }
.card span { color: #c3ced8; font-size: 14px; line-height: 1.4; }
.block .card .more {
  padding: 9px 16px 11px; border-top: 1px solid rgba(255,255,255,.07);
  font-size: 14px; font-weight: 650; text-decoration: none;
}

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles.months { grid-template-columns: repeat(3, 1fr); } }
.block .label { margin: 0 0 8px; color: #8e9cab; font-size: 14px; }
.hero .asks { margin: 10px 0 0; color: #c3ced8; font-size: 14px; line-height: 1.5; }
/* Примеры вопросов — кнопки в бота (07.10.2026); в боте те же вопросы приходят клавиатурой */
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.ask-chips .chip {
  display: inline-block; padding: 8px 12px; border-radius: 14px; text-decoration: none; text-align: left;
  font-size: 14px; line-height: 1.35; color: #f7fbff;
  background: rgba(34,158,217,.14); border: 1px solid rgba(34,158,217,.45);
}
.ask-chips .chip:hover { background: rgba(34,158,217,.26); }
.mid-cta {
  padding: 18px; border-radius: 16px;
  background: rgba(34,158,217,.1); border: 1px solid rgba(34,158,217,.3);
}
.mid-cta p { margin: 0 0 12px; }
/* Реклама (13.10.2026, ads.py): после текста страницы, спокойнее кнопок бота — не отвлекает от них */
.ad-slot[hidden] { display: none; }
.ad-slot { padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(127,127,127,.4); }
.ad-slot .ad-label { margin: 0 0 4px; font-size: 12px; opacity: .6; text-transform: uppercase; letter-spacing: .04em; }
.ad-slot .ad-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.block .lead-tile {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
  margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(135deg, rgba(34,158,217,.28), rgba(34,158,217,.12)); border: 1px solid rgba(34,158,217,.5);
}
.lead-tile b { font-size: 18px; color: #f7fbff; }
.lead-tile span { font-size: 14px; color: #c3ced8; }
.block .tiles a {
  display: block; padding: 12px 8px; border-radius: 12px; text-align: center; text-decoration: none;
  font-weight: 650; color: #f7fbff; background: rgba(34,158,217,.12); border: 1px solid rgba(34,158,217,.35);
}
.block .tiles a:hover { background: rgba(34,158,217,.22); }

.chat { display: grid; gap: 10px; margin: 0 0 16px; }
.bubble { max-width: 92%; margin: 0; padding: 12px 14px; border-radius: 16px; color: #e8eef3; }
.bubble.me { justify-self: end; background: #2b5278; border-bottom-right-radius: 4px; }
.bubble.bot { justify-self: start; background: rgba(255,255,255,.06); border-bottom-left-radius: 4px; }
.bubble p { margin: 0 0 8px; color: #e8eef3; }
.bubble p:last-child { margin: 0; }
.bubble ul { margin: 0 0 8px; padding-left: 18px; color: #e8eef3; }
.bubble li { margin-bottom: 4px; }
.pluses { margin: 0; }
.block .pluses li { margin-bottom: 8px; }

/* Каталог: навигация по разделам и свёрнутый хвост длинного раздела (07.10.2026) */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }  /* сверху отступ: без него прилипала к первому блоку */
.toc a {
  padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; text-decoration: none;
  color: #f7fbff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.toc a:hover { border-color: rgba(127,214,255,.5); }
.more-cards { margin-top: 10px; }
.more-cards summary {
  cursor: pointer; padding: 12px 16px; border-radius: 14px; font-weight: 650; color: #7fd6ff;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); list-style: none;
}
.more-cards summary::-webkit-details-marker { display: none; }
.more-cards[open] summary { margin-bottom: 10px; }

/* Таблицы на телефоне (07.10.2026): на 40 страницах таблица была шире экрана 360 px и прятала столбцы за прокруткой */
@media (max-width: 480px) {
  .block { padding-left: 18px; padding-right: 18px; }  /* шире таблицам и тексту на телефоне */
  table { font-size: 13px; }
  th, td { padding: 8px 3px; }
  th { font-size: 13px; }
  th, td:first-child { white-space: normal; -webkit-hyphens: auto; hyphens: auto; }
  td:first-child { min-width: 0; }
  td:not(:first-child) { overflow-wrap: anywhere; }
}
