html[lang="he"] body,
html[lang="he"] body * {
  font-family: "Assistant", Heebo, Arial, sans-serif !important;
}

html[lang="he"] body :is(h1, h2, h3, h4, .brand-title, .faq-title, .seo-links-title-v267) {
  font-family: "Noto Serif Hebrew", "Frank Ruhl Libre", serif !important;
  font-weight: 400 !important;
}

html[lang="he"][dir="rtl"] .seo-hero h1 {
  font-family: "Noto Serif Hebrew", "Frank Ruhl Libre", serif !important;
  font-weight: 400 !important;
}

html[lang="ru"] body,
html[lang="ru"] body * {
  font-family: "Onest", Manrope, "Segoe UI", Arial, sans-serif !important;
}

html[lang="ru"] body :is(h1, h2, h3, h4, .brand-title, .faq-title, .seo-links-title-v267) {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
}

@media (max-width: 640px) {
  html[lang="he"] body h1 {
    font-size: 37px !important;
    line-height: 1.12 !important;
  }

  html[lang="ru"] body h1 {
    font-size: 35px !important;
    line-height: 1.12 !important;
  }
}

/* V306 compact SEO layout + approved font standard — HE + RU */
.seo-hero {
  padding: 30px 0 20px !important;
}

.seo-hero-box {
  gap: 28px !important;
}

.seo-kicker {
  margin-bottom: 10px !important;
}

.seo-hero h1 {
  margin-bottom: 12px !important;
}

.seo-hero p {
  margin: 0 !important;
}

.seo-photo {
  min-height: 330px !important;
}

.seo-content {
  padding: 18px 0 42px !important;
}

.seo-grid,
.faq-grid {
  gap: 14px !important;
}

.seo-panel {
  padding: 22px !important;
  border-radius: 24px !important;
}

.seo-panel h2 {
  margin-bottom: 10px !important;
}

.service-audience-v171 {
  margin-top: 18px !important;
  padding: 22px !important;
  border-radius: 24px !important;
}

.service-audience-v171 p {
  margin-bottom: 14px !important;
}

.audience-cards-v171 {
  gap: 8px !important;
}

.audience-cards-v171 span {
  min-height: 48px !important;
  padding: 10px !important;
  border-radius: 15px !important;
}

.seo-journey-v267 {
  margin: 18px 0 !important;
  padding: 22px !important;
  border-radius: 24px !important;
}

.seo-journey-v267 h2 {
  margin-bottom: 14px !important;
}

.seo-journey-steps-v267 {
  gap: 12px !important;
}

.seo-journey-step-v267 {
  gap: 6px !important;
  padding: 16px !important;
}

.faq-section {
  margin-top: 18px !important;
}

.faq-title {
  margin-bottom: 12px !important;
}

.faq-item {
  padding: 17px !important;
  border-radius: 20px !important;
}

.faq-item h3 {
  margin-bottom: 7px !important;
}

.seo-links-title-v267 {
  margin: 20px 0 10px !important;
}

.seo-links {
  margin-top: 0 !important;
  gap: 8px !important;
}

.seo-links[data-nosnippet] {
  padding: 12px !important;
  border-radius: 18px !important;
}

footer {
  padding: 22px 0 !important;
}

@media (max-width: 900px) {
  .seo-hero {
    padding: 20px 0 12px !important;
  }

  .seo-hero-box {
    gap: 16px !important;
  }

  .seo-photo {
    min-height: 220px !important;
  }

  .seo-content {
    padding: 12px 0 32px !important;
  }

  .seo-grid,
  .faq-grid {
    gap: 10px !important;
  }

  .seo-panel,
  .service-audience-v171,
  .seo-journey-v267 {
    padding: 17px !important;
    border-radius: 20px !important;
  }

  .service-audience-v171,
  .faq-section {
    margin-top: 14px !important;
  }

  .audience-cards-v171 {
    gap: 7px !important;
  }

  .audience-cards-v171 span {
    min-height: 42px !important;
    padding: 8px !important;
  }

  .seo-journey-v267 {
    margin: 14px 0 !important;
  }

  .seo-journey-steps-v267 {
    gap: 9px !important;
  }

  .seo-journey-step-v267 {
    padding: 14px !important;
  }

  .faq-item {
    padding: 15px !important;
  }

  .seo-links-title-v267 {
    margin-top: 16px !important;
  }

  footer {
    padding: 18px 0 !important;
  }
}
