/* home-tour.css - בדף הבית בלבד (הבעלים, 2.10): "סיור בדקה", שורת המנויים
   והקישור שמתחת לספירה. כל צבע הוא טוקן מ-style.css, לפי התפקיד: --iris
   פעולה, --ink כותרות. הנגן כהה בטוקן --ink, כמו מסגרת של סרטון. */

/* הכותרת של הנקודה: רק השם, רק בריחוף, במיקוד או בנגיעה (home.js) */
.hs-pop.is-name {
  width: auto;
  padding: 7px 13px;
  white-space: nowrap;
}
.hs-pop.is-name .hs-pop-name { font-size: 15px; line-height: 1.3; }

/* ── "למצוא את התרגול שלי" על הנוף (K6, הבעלים 2.10) ──
   גלולה בתחתית הנוף, על המעבר לנייר, עם הטבעת והציור של דלת התרגול. הפעולה
   ב---iris; בטלפון הכפתור של .hs-copy מתחת לנוף עושה את זה, ולכן כאן יורד. מ-5.10 הוא וגם הכפתור שמתחת לנוף "כפתור התרגול החכם"
   (home.js practiceBtn): עם תרגיל אחרון הוא "להמשיך: <התרגיל>" (כללי .hs-pb-* ב-home.css). */
.hs-find {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 8px 4px 22px;
  border-radius: 999px;
  background: var(--iris);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  width: max-content;
  max-width: min(560px, calc(100% - 48px));   /* שם תרגיל ארוך נחתך (.hs-pb-n) */
  box-shadow: 0 8px 24px rgba(27, 18, 54, .18);
}
.hs-find:hover { background: var(--iris-deep); }
.hs-find:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.hs-find-ring {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-paper);
}
.hs-find-ring svg { width: 28px; height: 28px; }
@media (max-aspect-ratio: 3/4) { .hs-find { display: none; } }

/* ── הסיור ── */
.hs-body > .hs-tour { max-width: 920px; }
.hs-tour {
  display: flex;
  flex-direction: column;
  gap: 16px;
  outline: none;
}
.hs-tour h2,
.hs-sub h2 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.hs-tour-player {
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 10px 32px rgba(27, 18, 54, .12);
}
.hs-tour-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.hs-tour-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.hs-tour-chapters, .hs-tour-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hs-tour-chapters button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn, 8px);
  background: transparent;
  color: var(--iris-deep);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.hs-tour-chapters button:hover { background: var(--iris-soft); border-color: var(--iris); }

/* כפתור הפעולה האחד בכל שורה: --iris; הקישור לצדו משני */
.hs-tour-cta, .hs-sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-btn, 8px);
  background: var(--iris);
  color: var(--on-accent);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.hs-tour-cta:hover, .hs-sub-btn:hover { background: var(--iris-deep); }
.hs-tour-sub, .hs-count-go a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--iris-deep);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hs-tour-chapters button:focus-visible, .hs-tour-cta:focus-visible, .hs-tour-sub:focus-visible,
.hs-sub-btn:focus-visible, .hs-count-go a:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.hs-tour:focus-visible .hs-tour-player { outline: 3px solid var(--aqua); outline-offset: 3px; }

/* כפתור "לראש הדף" אינו מכסה את הפקדים של הסרטון */
.hs-tour-in .tp-fab { visibility: hidden; pointer-events: none; }

/* ── מנויים: שורה וכפתור ── */
.hs-sub { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hs-sub p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--text-calm); }
.hs-count-go { margin: 4px 0 0; }

/* טלפון: הסרטון 9:16, בגובה שנכנס במסך מתחת לכותרת ולסרגל */
@media (max-aspect-ratio: 3/4) {
  .hs-tour-player { width: min(100%, calc((100svh - 220px) * 9 / 16)); margin-inline: auto; }
  .hs-tour-video { aspect-ratio: 9 / 16; }
}
@media (max-width: 620px) {
  .hs-tour h2, .hs-sub h2 { font-size: 21px; }
  .hs-tour-foot, .hs-tour-go { flex-direction: column; align-items: stretch; }
  .hs-tour-chapters { justify-content: center; }
  .hs-tour-chapters button { flex: 1 1 auto; font-size: 14px; padding: 8px 10px; }
  .hs-tour-go { align-items: center; }
  .hs-tour-cta, .hs-sub-btn { width: 100%; }
  .hs-sub { align-items: stretch; }
  .hs-sub p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-tour *, .hs-sub * { transition: none !important; }
}
