/* Seamless hub marquee: spacing inside each cluster so translateX(-50%) loops cleanly */
.hub-marquee .track {
  gap: 0;
}
.hub-marquee .chip-cluster {
  padding-right: 20px;
}

/* Hold marquee animation until JS fills clusters (avoids jump on first paint) */
.marquee:not([data-marquee-ready]) .marquee-track,
.hub-marquee:not([data-marquee-ready]) .track {
  animation: none;
}

/* Ad landing overrides: lead list + call plaque */

.hero .lead--adv {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 24px;
}

.hero .lead--adv > p {
  margin: 0 0 10px;
}

.hero .lead--adv ul {
  margin: 0 0 4px;
  padding-left: 1.25em;
}

.hero .lead--adv li {
  margin: 4px 0;
}

.hero .lead--adv em {
  font-style: italic;
  color: var(--accent);
}

/* Heading emphasis (*выделение* → em) uses the same accent italic
   as the original hero / CTA headings, including blocks added later. */
h1 em, h2 em, h3 em,
.faq-item summary .q em,
.hub-nav-title-link em,
.outcomes-cta-text h3 em,
.warn-cta-text h3 em,
h1 strong, h2 strong, h3 strong,
.faq-item summary .q strong,
.hub-nav-title-link strong {
  font-style: italic;
  color: var(--accent);
}

.surface-night h1 em,
.surface-night h2 em,
.surface-night h3 em,
.surface-night-soft h1 em,
.surface-night-soft h2 em,
.surface-night-soft h3 em,
.surface-night .q em,
.surface-night-soft .q em,
.surface-night h1 strong,
.surface-night h2 strong,
.surface-night h3 strong,
.surface-night-soft h1 strong,
.surface-night-soft h2 strong,
.surface-night-soft h3 strong {
  color: var(--accent-on-dark);
}

.block :is(p, .card-desc, .desc, .quote, .msg) a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.block h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.15em;
}

.surface-night .block h3 a,
.surface-night-soft .block h3 a {
  text-decoration-color: var(--accent-on-dark);
}

.surface-night .block :is(p, .card-desc, .desc, .quote, .msg) a,
.surface-night-soft .block :is(p, .card-desc, .desc, .quote, .msg) a {
  color: var(--accent-on-dark);
}

.hero .lead-cta {
  display: block;
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff4e5;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.hero .lead-cta:hover {
  background: #ffe8c7;
  color: var(--accent-deep);
}

@media (min-width: 600px) {
  .hero .lead--adv {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .hero .lead-cta {
    font-size: 16px;
  }
}

@media (min-width: 900px) {
  .hero .lead--adv {
    font-size: 18px;
    margin-bottom: 36px;
  }
}

/* Let the 2GIS iframe receive pan and pinch on touch screens. */
.company-b-map-frame,
.company-b-map-frame iframe {
  touch-action: none;
}
