/* Головна: блок AI-читця, смуга значень карт, "From the blog". Палітра --a-* з front-page.php. */
.hai-sec { padding: 72px 72px; }
.hai-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.hai-eyebrow { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--a-rose-deep, #c876a0); margin-bottom: 14px; }
.hai-head h2 { font-size: 48px; line-height: 1.1; margin-bottom: 14px; }
.hai-head p { font-size: 18px; }
.hai-reader { background: linear-gradient(180deg, var(--a-bg-alt, #f4ecf3) 0%, var(--a-bg, #fbf7f4) 100%); }
.hai-reader .ait-home-embed { padding: 0; }
.hai-reader-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.hai-strip { background: var(--a-bg, #fbf7f4); padding-top: 24px; }
.hai-strip-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 12px; }
.hai-strip-grid li { margin: 0; padding: 0; }
.hai-strip-grid a { display: block; text-align: center; color: var(--a-ink, #1a1033); }
.hai-strip-grid img, .hai-strip-grid .tl-face { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-soft, 0 2px 24px rgba(94,77,191,.08)); transition: transform .25s ease, box-shadow .25s ease; }
.hai-strip-grid a:hover img, .hai-strip-grid a:hover .tl-face { transform: translateY(-4px); box-shadow: var(--shadow-card, 0 8px 40px rgba(94,77,191,.1)); }
.hai-strip-grid span.hai-n { display: block; margin-top: 6px; font-size: 12px; line-height: 1.25; color: var(--a-ink-soft, #4a3f5c); }
.hai-strip-cta { text-align: center; margin-top: 30px; }
.hai-strip .tl-face { aspect-ratio: 2 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px; color: #fff; background: #1a1033; border: 1px solid #e5a6c2; text-align: center; }
.hai-strip .tl-face-num { font-size: 18px; color: #e5a6c2; }
.hai-strip .tl-face-name { font-size: 11px; line-height: 1.2; }
.hai-strip .tl-face-sub { display: none; }
.hai-blog { background: var(--a-bg, #fbf7f4); padding-top: 24px; }
.hai-blog .section-head { margin-bottom: 40px; }
@media (max-width: 1279px) {
  .hai-sec { padding: 64px 48px; }
  .hai-strip-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .hai-sec { padding: 48px 20px; }
  .hai-head h2 { font-size: 32px; }
  .hai-head p { font-size: 16px; }
  .hai-strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hai-reader-links .btn { width: 100%; justify-content: center; }
}

/* Віджет читця на світлому лендингу: перебити глобальні p/h* кольори front-page.php. */
.hai-reader .ait p, .hai-reader .ait li { color: inherit; }
.hai-reader .ait h1, .hai-reader .ait h2, .hai-reader .ait h3, .hai-reader .ait h4 { color: #fff; font-family: var(--font-heading, 'Merriweather', serif); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.hai-reader .ait .ait-step-title { font-size: 1.15rem; }
.hai-reader .ait .ait-bubble--selene h3, .hai-reader .ait .ait-bubble--selene h4 { font-size: 1.1rem; margin: 0 0 .4em; }
.hai-reader .ait .ait-bubble--user, .hai-reader .ait .ait-bubble--user p { color: #2C2C2C; }
.hai-reader .ait .ait-badge, .hai-reader .ait .ait-bubble-body strong { color: var(--ait-gold); }
.hai-reader .ait .ait-bubble--user .ait-bubble-body strong { color: inherit; }
.hai-reader .ait .ait-role, .hai-reader .ait .ait-typing, .hai-reader .ait .ait-qecho { color: var(--ait-soft); }
.hai-reader .ait a { color: var(--ait-gold); text-decoration: underline; }
