/*
 * rk-tool-pages.css
 *
 * Общие стили для самостоятельных страниц-инструментов (Хронометраж,
 * Расчёт стоимости) — единообразие с «Паузами» и с остальным сайтом.
 *
 * ИСПРАВЛЕНО (по скриншоту «Пауз»): изначально hero был сделан тёмным
 * (#2a2826) по чтению исходного .pause-hero в rk-pause-tool.css — но
 * скриншот показал, что «Паузы» на самом деле рендерятся со СВЕТЛЫМ
 * hero. Причину полного расхождения между исходным CSS-файлом и тем,
 * что реально выводится в браузере, без живой отладки установить не
 * получилось (в теме нет другого правила, переопределяющего именно
 * .pause-hero — но факт с экрана перевешивает предположение по коду).
 * Вместо повторной догадки — привёл эту страницу к тому же светлому
 * виду, что и остальной сайт (main.css уже держит тёплую кремовую
 * палитру почти везде: --rk-text/--rk-muted/золотой акцент), это
 * и есть фактическое единообразие с тем, что видно на скриншотах.
 */

body .rk-tool-hero {
  padding: 64px 24px 56px !important;
  text-align: center !important;
  color: #1f1a16 !important;
  background:
    radial-gradient(1100px 420px at 50% -10%, rgba(237,188,88,.16), transparent 62%),
    linear-gradient(180deg, #fffdf9 0%, #fff3df 70%, #fffdf9 100%) !important;
}
body .rk-tool-hero__kicker {
  display: inline-block !important;
  margin-bottom: 18px !important;
  color: #b87d2c !important;
  -webkit-text-fill-color: #b87d2c !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .11em !important;
}
body .rk-tool-hero__kicker:before {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  margin-right: 8px !important;
  border-radius: 50% !important;
  background: #cf8a1d !important;
}
body .rk-tool-hero h1 {
  margin: 0 !important;
  font-size: clamp(34px, 4.4vw, 52px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.04em !important;
  font-weight: 650 !important;
  color: #1f1a16 !important;
  -webkit-text-fill-color: #1f1a16 !important;
  text-shadow: none !important;
}
body .rk-tool-hero p {
  max-width: 640px !important;
  margin: 20px auto 0 !important;
  color: #5f574f !important;
  -webkit-text-fill-color: #5f574f !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* SEO-текст и FAQ под инструментом — та же типографика, что и текст
   .rk-pause-tool-seo/.pause-faq (тёмный текст на светлом фоне). */
body .rk-tool-page-seo {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 8px 16px 70px !important;
  font: 15px/1.7 Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  color: #3f3327 !important;
  -webkit-text-fill-color: #3f3327 !important;
}
body .rk-tool-page-seo h2 {
  margin: 56px 0 18px !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
  color: #241a0c !important;
  -webkit-text-fill-color: #241a0c !important;
  text-shadow: none !important;
}
body .rk-tool-page-seo h2:first-child { margin-top: 0 !important; }
body .rk-tool-page-seo h3 {
  margin: 34px 0 12px !important;
  font-size: 18px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  color: #3f3327 !important;
  -webkit-text-fill-color: #3f3327 !important;
  min-height: 0 !important;
  display: block !important;
}
body .rk-tool-page-seo p { margin: 0 0 16px !important; color: #5c5245 !important; -webkit-text-fill-color: #5c5245 !important; }
body .rk-tool-page-seo ol { margin: 0 0 8px !important; padding-left: 22px !important; }
body .rk-tool-page-seo ol li { margin: 0 0 14px !important; color: #5c5245 !important; -webkit-text-fill-color: #5c5245 !important; }
body .rk-tool-page-seo ol li b { color: #241a0c !important; -webkit-text-fill-color: #241a0c !important; }

body .tool-faq { margin: 0 !important; padding: 0 !important; }
body .tool-faq > div { padding: 20px 0 !important; border-bottom: 1px solid #eae1d2 !important; }
body .tool-faq > div:last-child { border-bottom: 0 !important; }
body .tool-faq dt { margin: 0 0 8px !important; font-size: 15px !important; font-weight: 700 !important; color: #241a0c !important; -webkit-text-fill-color: #241a0c !important; }
body .tool-faq dd { margin: 0 !important; color: #5c5245 !important; -webkit-text-fill-color: #5c5245 !important; }

@media (max-width: 600px) {
  body .rk-tool-hero { padding: 48px 18px 42px !important; }
  body .rk-tool-page-seo h2 { font-size: 23px !important; margin-top: 44px !important; }
  body .rk-tool-page-seo h3 { font-size: 16px !important; }
}
