/* ─────────────────────────────────────────────────────────────
   Greatly Social Theme v3 — פורטל
   הדר · סליידר · עוגנים · אזורים · פוטר
   כל הצבעים, הפונטים וצורות הכרטיסים מגיעים ממשתני --gs-* (נוצרים בפאנל הניהול)
   ───────────────────────────────────────────────────────────── */

:root {
  --adm-h: 0px;           /* גובה סרגל הניהול (לחישוב גובה הסליידר) */
  --adm-fix: 0px;         /* גובה סרגל הניהול כשהוא קבוע בראש המסך */
  --gst-nav-h: 66px;      /* מתעדכן ב-home.js לפי הגובה האמיתי */
  --gst-ann-h: 0px;       /* פס הודעה עליון */
  --gst-offset: 70px;     /* כל מה שדביק בראש המסך (הדר + עוגנים) */
  --gs-card-bd-hi: color-mix(in srgb, var(--gs-primary) 55%, transparent);
}
body.admin-bar { --adm-h: 32px; --adm-fix: 32px; }
@media (max-width: 782px) { body.admin-bar { --adm-h: 46px; --adm-fix: 46px; } }
@media (max-width: 600px) { body.admin-bar { --adm-fix: 0px; } }

body.gst-card-brutal { --gs-card-bd-hi: var(--gs-card-bd); }
body.gst-card-glass  { --gs-card-sh-hi: 0 24px 48px -24px rgba(var(--gs-primary-rgb), .3); }
body.gst-card-flat   { --gs-card-sh-hi: 0 18px 36px -22px rgba(var(--gs-primary-rgb), .3); }

html { scroll-padding-top: var(--gst-offset); }

/* ── Utilities ── */
.gst-sr, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.gst-skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 3000;
  background: var(--gs-primary); color: var(--gs-on-primary); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.gst-skip:focus { top: calc(var(--adm-fix) + 8px); }

/* פאנלים כהים בדף הנחיתה המקורי נשארים כהים בכל ערכה */
.gst-board, .gst-cal-wrap { --gs-on-rgb: 255,255,255; --gs-strong: #fff; --gs-muted: #8f8cae; }

/* ── Background pattern ── */
.gst-grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, #000, transparent);
          mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, #000, transparent);
}
.gst-pat-none  .gst-grid-bg { display: none; }
.gst-pat-dots  .gst-grid-bg { background-image: radial-gradient(rgba(var(--gs-primary-rgb), .28) 1.5px, transparent 1.8px); background-size: 26px 26px; }
.gst-pat-lines .gst-grid-bg { background-image: repeating-linear-gradient(135deg, rgba(var(--gs-primary-rgb), .09) 0 2px, transparent 2px 20px); }
.gst-tone-light .gst-orb { opacity: .55; }

/* ═══════════════════════════════════════════
   ANNOUNCEMENT BAR
═══════════════════════════════════════════ */
.gst-ann { position: relative; z-index: 1001; background: var(--gs-ann-bg); color: var(--gs-ann-ink); font-size: 13.5px; }
.gst-ann.is-hidden { display: none; }
.gst-ann-in { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 9px; padding-inline: 44px; text-align: center; }
.gst-ann-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: inherit; white-space: nowrap; }
.gst-ann-close {
  position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1;
  background: rgba(0,0,0,.14); color: inherit;
}
.gst-ann-close:hover { background: rgba(0,0,0,.26); }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.gst-nav { top: var(--adm-fix); transition: background .3s, box-shadow .3s, border-color .3s; }
.gst-nav-inner { gap: 20px; transition: padding .35s cubic-bezier(.22,1,.36,1); }
.gst-nav .gst-logo-mark { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.gst-nav .gst-logo img { max-height: 44px; width: auto; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.gst-hdr-shrink .gst-nav.is-shrunk { background: rgba(var(--gs-bg-rgb), .96); }
.gst-hdr-shrink .gst-nav.is-shrunk .gst-logo-mark { transform: scale(.88); }
.gst-hdr-shrink .gst-nav.is-shrunk .gst-logo img { transform: scale(.88); }
.gst-nav.is-shrunk { box-shadow: 0 8px 30px -14px rgba(0,0,0,.35); }
.gst-hdr-static .gst-nav { position: relative; }

/* סגנון: צף */
.gst-hdr-float .gst-nav {
  top: calc(var(--adm-fix) + 10px); margin: 12px auto; width: min(1180px, calc(100% - 28px));
  border: 1px solid var(--gs-line); border-radius: 999px;
  box-shadow: 0 14px 40px -20px rgba(0,0,0,.5);
}
.gst-hdr-float .gst-nav-inner { padding-inline: 22px; padding-block: 10px; max-width: none; }
.gst-hdr-float.gst-hdr-static .gst-nav { top: auto; }
/* סגנון: קו */
.gst-hdr-line .gst-nav { background: rgba(var(--gs-bg-rgb), .6); border-bottom: 2px solid var(--gs-primary); }

body.gst-card-brutal .gst-nav { border-bottom: 2.5px solid var(--gs-strong); }
body.gst-card-brutal.gst-hdr-float .gst-nav { border: 2.5px solid var(--gs-strong); box-shadow: 4px 4px 0 var(--gs-strong); border-radius: 18px; }

.gst-nav .gst-logo { flex: none; }
.gst-nav .gst-logo img { display: block; }
.gst-nav-links { flex: 1; justify-content: center; gap: 0; }
.gst-nav .gst-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gst-nav .gst-menu li { position: relative; }
.gst-nav .gst-menu a {
  display: flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: var(--gs-btn-r);
  font-size: 14.5px; font-weight: 500; color: var(--gs-muted-light); transition: color .2s, background .2s;
}
.gst-nav .gst-menu a:hover,
.gst-nav .gst-menu li:focus-within > a,
.gst-nav .gst-menu .current-menu-item > a,
.gst-nav .gst-menu .current-menu-ancestor > a { color: var(--gs-strong); background: rgba(var(--gs-on-rgb), .08); }
.gst-nav .menu-item-has-children > a::after {
  content: ''; width: 6px; height: 6px; margin-top: -3px; border-inline-end: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); transition: transform .25s;
}
.gst-nav .menu-item-has-children:hover > a::after { transform: rotate(225deg); margin-top: 3px; }
.gst-nav .sub-menu {
  position: absolute; inset-inline-start: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px;
  background: var(--gs-bg2); border: 1px solid var(--gs-line); border-radius: calc(var(--gs-radius) * .8);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility 0s .3s;
}
.gst-nav .sub-menu::before { content: ''; position: absolute; inset-inline: 0; top: -12px; height: 12px; } /* גשר לריחוף */
.gst-nav li:hover > .sub-menu, .gst-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.gst-nav .sub-menu a { padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
.gst-nav .sub-menu .sub-menu { inset-inline-start: 100%; top: -9px; }

.gst-nav-cta { flex: none; display: flex; align-items: center; gap: 10px; }
.gst-nav-btn { padding: 10px 22px; font-size: 14px; }
.gst-nav-search {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; border-radius: 50%;
  background: transparent; border: 1px solid var(--gs-line); color: var(--gs-strong); transition: background .2s, border-color .2s;
}
.gst-nav-search:hover, .gst-nav-search[aria-expanded="true"] { background: rgba(var(--gs-primary-rgb), .15); border-color: var(--gs-primary); }
.gst-nav-menu-toggle { color: var(--gs-strong); width: 42px; height: 42px; }

.gst-search { border-top: 1px solid var(--gs-line); padding: 14px 0; }
.gst-search[hidden] { display: none; }
.gst-search form, .gst-search .search-form { display: flex; gap: 10px; }
.gst-search label { flex: 1; display: block; }
.gst-search .search-field {
  width: 100%; padding: 13px 20px; font: inherit; color: var(--gs-strong); background: var(--gs-glass);
  border: 1px solid var(--gs-line); border-radius: var(--gs-btn-r);
}
.gst-search .search-field:focus { outline: 2px solid var(--gs-primary); outline-offset: 1px; }
.gst-search .search-submit {
  padding: 0 26px; font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: var(--gs-btn-r);
  background: var(--gs-primary); color: var(--gs-on-primary);
}

@media (max-width: 960px) {
  .gst-nav-links { display: none; }
  .gst-nav-links.open {
    display: block; position: absolute; top: 100%; inset-inline: 0; max-height: calc(100vh - 90px); overflow-y: auto;
    background: var(--gs-bg); border-bottom: 1px solid var(--gs-line); padding: 12px 20px 22px; gap: 0; z-index: 999;
  }
  .gst-hdr-float .gst-nav-links.open { border-radius: 0 0 24px 24px; border: 1px solid var(--gs-line); top: calc(100% + 8px); border-radius: 24px; }
  .gst-nav .gst-menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .gst-nav .gst-menu a { padding: 12px 10px; font-size: 16px; border-radius: 10px; }
  .gst-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent;
    min-width: 0; padding: 0; padding-inline-start: 16px; transition: none;
  }
  .gst-nav .sub-menu::before { display: none; }
  .gst-nav .menu-item-has-children > a::after { display: none; }
  .gst-nav-btn { display: none; }
  .gst-hdr-float .gst-nav { border-radius: 26px; }
}

/* ═══════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════ */
.gst-hs {
  --hs-shift: 56px;                                  /* מתעדכן ב-JS לפי הגובה והזווית */
  --hs-ease: cubic-bezier(.65, .05, .25, 1);
  --hs-ow: 560px;                                    /* רוחב התוכן בחלון הפתוח, מחושב ב-JS */
  position: relative; z-index: 1; overflow: hidden; background: var(--gs-bg);
  height: calc(var(--hs-vh) * 1vh - var(--gst-nav-h) - var(--gst-ann-h) - var(--adm-h));
  height: calc(var(--hs-vh) * 1svh - var(--gst-nav-h) - var(--gst-ann-h) - var(--adm-h));
  min-height: 460px;
}
.gst-ease-soft   { --hs-ease: cubic-bezier(.22, 1, .36, 1); }
.gst-ease-snappy { --hs-ease: cubic-bezier(.34, 1.28, .64, 1); }

.gst-hs-stage { position: relative; height: 100%; overflow: hidden; padding: var(--hs-pad, 0px); touch-action: pan-y; }
.gst-hs-track {
  display: flex; gap: var(--hs-gap); height: 100%;
  width: calc(100% + var(--hs-shift) * 2); margin-inline: calc(var(--hs-shift) * -1);
}
.gst-hs--cards .gst-hs-track { width: 100%; margin-inline: 0; }

/* חלון */
.gst-hs-panel {
  --ps: 0px; --pe: 0px;
  position: relative; flex: 1 1 0; min-width: 0;
  transition: flex-grow var(--hs-speed) var(--hs-ease);
}
.gst-hs-panel:first-child { --ps: var(--hs-shift); }
.gst-hs-panel:last-child  { --pe: var(--hs-shift); }
.gst-hs-track.is-open .gst-hs-panel.is-active { flex-grow: var(--hs-open); }

/* שכבת החיתוך המוטה — היא זו שיוצרת את הצורה האלכסונית */
.gst-hs-clip {
  position: absolute; inset: 0; overflow: hidden; background: var(--gs-bg2);
  transform: skewX(calc(var(--hs-skew) * -1)); border-radius: var(--hs-r, 0);
  isolation: isolate; contain: paint;
}
/* שכבת התמונה מנוטרלת מהטיה וממורכזת, ברוחב קבוע — ולכן התמונה לא זזה ולא מתכווצת בזמן פתיחה */
.gst-hs-media {
  position: absolute; top: 0; bottom: 0; left: 50%; width: var(--hs-mw, calc(var(--hs-vw, 100vw) + var(--hs-shift) * 2));
  transform: translateX(-50%) skewX(var(--hs-skew));
}
/* פרלקסה: JS כותב רק --mx / --my (ממוצעים חלקים), כאן זו התזוזה היחידה בשכבה הזו */
.gst-hs-par {
  position: absolute; inset: -18px -26px;
  transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--my, 0) * -10px), 0);
}
.gst-hs-par picture { display: contents; }

/* שכבת זום-ריחוף נפרדת (transform בלבד): ככה הזום לא מתערבב עם הפרלקסה, עם מיקום התמונה ועם Ken Burns */
.gst-hs-zoom {
  position: absolute; inset: 0;
  transform: scale(1); transform-origin: 50% 50%;
  transition: transform 1.25s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.gst-hs-img, .gst-hs-fb {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none;
  object-position: var(--fx, 50%) var(--fy, 50%);
  /* מיקום פיזי שנקבע ע"י המנהל: הזזה + הגדלה. ה-"scale" הנפרד שמור ל-Ken Burns */
  transform: translate(var(--ox, 0%), var(--oy, 0%)) scale(var(--z, 1));
  transform-origin: 50% 50%; scale: 1;
  transition: scale 1.3s var(--hs-ease);
  backface-visibility: hidden;
}
.gst-hs-fb { transform: none; }
.is-contain .gst-hs-img { object-fit: contain; }
.gst-hs-bgimg {
  position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover;
  filter: blur(26px) saturate(1.25) brightness(.8); opacity: .9; pointer-events: none;
}

/* פילטרים גלובליים על התמונות */
.gst-flt-vivid .gst-hs-img { filter: saturate(1.35) contrast(1.07); }
.gst-flt-soft  .gst-hs-img { filter: saturate(.9) brightness(1.06) contrast(.96); }
.gst-flt-gray  .gst-hs-img, .gst-flt-gray .gst-hs-bgimg { filter: grayscale(1) contrast(1.12); }
.gst-flt-sepia .gst-hs-img, .gst-flt-sepia .gst-hs-bgimg { filter: sepia(.85) contrast(1.05) saturate(.9); }
.gst-flt-dark  .gst-hs-img { filter: brightness(.72) contrast(1.15) saturate(1.1); }

/* ריחוף: זום + שינוי צבע. כל האנימציות הן transform / opacity בלבד */
.gst-hs-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 45%, var(--gs-accent)));
  mix-blend-mode: color; transition: opacity .9s ease;
}
@media (hover: hover) {
  .gst-hover-both .gst-hs-panel:has(.gst-hs-toggle:hover) .gst-hs-zoom,
  .gst-hover-zoom .gst-hs-panel:has(.gst-hs-toggle:hover) .gst-hs-zoom { transform: scale(var(--hs-hz, 1.08)); }
  .gst-hover-both .gst-hs-panel:has(.gst-hs-toggle:hover) .gst-hs-tint,
  .gst-hover-tint .gst-hs-panel:has(.gst-hs-toggle:hover) .gst-hs-tint { opacity: var(--hs-tint, .38); }
  .gst-hover-both .gst-hs-panel.is-active:has(.gst-hs-toggle:hover) .gst-hs-tint,
  .gst-hover-tint .gst-hs-panel.is-active:has(.gst-hs-toggle:hover) .gst-hs-tint { opacity: calc(var(--hs-tint, .38) * .45); }
}
/* תנועת Ken Burns — דרך transition ארוך, כך שהחזרה לגודל המקורי חלקה */
.gst-hs--kb .gst-hs-panel.is-active .gst-hs-img,
.gst-hs--kb .gst-hs-panel.is-active .gst-hs-fb { scale: 1.08; transition: scale 18s linear; }

/* כפתורי הגדלה וסגירה בחלון הפתוח */
.gst-hs-tools {
  position: absolute; z-index: 5; top: 22px; inset-inline-end: calc(var(--pe) + var(--hs-shift) * .5 + 26px);
  display: flex; gap: 8px; opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.gst-hs-panel.is-active .gst-hs-tools { opacity: 1; pointer-events: auto; transform: none; transition-delay: calc(var(--hs-speed) * .45); }
.gst-hs-expand, .gst-hs-close {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  color: #fff; background: rgba(8,11,34,.55); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
  transition: background .25s, transform .4s cubic-bezier(.22,1,.36,1);
}
.gst-hs-expand { cursor: zoom-in; }
.gst-hs-expand:hover, .gst-hs-close:hover { background: var(--gs-primary); color: var(--gs-on-primary); transform: scale(1.1); }
.gst-hs-expand:focus-visible, .gst-hs-close:focus-visible { outline: 3px solid var(--gs-accent); outline-offset: 2px; }
.gst-lb-click .gst-hs-track.is-open .gst-hs-panel.is-active.has-img .gst-hs-toggle { cursor: zoom-in; }

/* קישוטי סליידר */
.gst-hs-stage { --deco-c: var(--gs-accent); }
.gst-deco-hud .gst-hs-stage::before, .gst-deco-hud .gst-hs-stage::after {
  content: ''; position: absolute; z-index: 5; width: 54px; height: 54px; pointer-events: none; opacity: .9;
  border: 2px solid var(--deco-c); top: calc(var(--hs-pad, 0px) + 16px);
}
.gst-deco-hud .gst-hs-stage::before { inset-inline-start: calc(var(--hs-pad, 0px) + 18px); border-width: 2px 0 0 2px; }
.gst-deco-hud .gst-hs-stage::after  { inset-inline-end: calc(var(--hs-pad, 0px) + 18px); border-width: 2px 2px 0 0; }
html[dir="rtl"] .gst-deco-hud .gst-hs-stage::before { border-width: 2px 2px 0 0; }
html[dir="rtl"] .gst-deco-hud .gst-hs-stage::after  { border-width: 2px 0 0 2px; }
.gst-deco-scan .gst-hs-clip::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .55;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.28) 0 1px, transparent 1px 4px);
}
.gst-deco-frame .gst-hs-clip { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.gst-deco-frame .gst-hs-clip::before { content: ''; position: absolute; inset: 14px; z-index: 2; pointer-events: none; border: 1px solid rgba(255,255,255,.4); }
.gst-deco-grain .gst-hs-clip::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* רקעים לחלון בלי תמונה */
.gst-fb--gradient { background: linear-gradient(150deg, color-mix(in srgb, var(--c) 88%, #000) 0%, color-mix(in srgb, var(--c) 28%, #05071c) 78%); }
.gst-fb--mesh {
  background:
    radial-gradient(60% 50% at 18% 14%, color-mix(in srgb, var(--c) 85%, #fff), transparent 70%),
    radial-gradient(55% 45% at 88% 28%, var(--gs-neon), transparent 72%),
    radial-gradient(75% 60% at 50% 105%, var(--gs-coral), transparent 70%),
    color-mix(in srgb, var(--c) 55%, #05071c);
}
.gst-fb--dots {
  background:
    radial-gradient(rgba(255,255,255,.3) 1.6px, transparent 2px) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 50%, #05071c));
}
.gst-fb--stripes {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.13) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, #05071c));
}
.gst-fb--solid { background: var(--c); }

/* שכבות צל — אטימות בלבד (חלק ל-GPU), בלי מעברי רקע */
.gst-hs-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(4, 6, 24, calc(var(--hs-overlay) + .3)) 0%,
    rgba(4, 6, 24, calc(var(--hs-overlay) * .4)) 55%,
    rgba(4, 6, 24, 0) 100%);
}
.gst-hs-dim { position: absolute; inset: 0; background: #04061a; opacity: 0; pointer-events: none; transition: opacity .8s var(--hs-ease); }
.gst-hs-track.is-open .gst-hs-panel:not(.is-active) .gst-hs-dim { opacity: .58; }
@media (hover: hover) {
  .gst-hs-track.is-open .gst-hs-panel:not(.is-active):has(.gst-hs-toggle:hover) .gst-hs-dim { opacity: .3; }
}
.gst-hs-bar { position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: var(--c); z-index: 2; transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.gst-hs-clip::after { /* הילה צבעונית בריחוף (אפקט glow) */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: linear-gradient(to top, color-mix(in srgb, var(--c) 70%, transparent), transparent 62%);
}
@media (hover: hover) {
  .gst-hover-glow .gst-hs-panel:has(.gst-hs-toggle:hover) .gst-hs-clip::after { opacity: .85; }
  .gst-hover-glow .gst-hs-panel:has(.gst-hs-toggle:hover) .gst-hs-bar { transform: scaleY(2.4); }
}

/* אייקון בחלון בלי תמונה — scale במקום font-size, כדי שלא יהיה reflow */
.gst-hs-icon {
  position: absolute; z-index: 1; inset: 0; inset-inline: var(--ps) var(--pe); height: 76%;
  display: grid; place-items: center; pointer-events: none; font-size: clamp(40px, 5vw, 76px);
  transition: transform 1s var(--hs-ease), opacity .8s ease; transform-origin: 50% 50%;
}
.gst-hs-panel.is-active .gst-hs-icon { transform: scale(2.8); opacity: .16; }
.gst-hs-track.is-open .gst-hs-panel:not(.is-active) .gst-hs-icon { transform: scale(.72); }

/* אזור הלחיצה והריחוף עוקב אחרי צורת המקבילית */
.gst-hs-toggle {
  position: absolute; z-index: 4; top: 0; bottom: 0; inset-inline: calc(var(--hs-shift) * -1);
  clip-path: polygon(calc(var(--hs-shift) * 2) 0, 100% 0, calc(100% - var(--hs-shift) * 2) 100%, 0 100%);
  background: transparent; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.gst-hs-track.is-open .gst-hs-panel.is-active .gst-hs-toggle { cursor: pointer; }
.gst-hs-panel:has(.gst-hs-toggle:focus-visible) .gst-hs-clip { box-shadow: inset 0 0 0 3px var(--gs-accent); }
.gst-hs-toggle:focus { outline: none; }
.gst-hs.is-dragging .gst-hs-toggle { cursor: grabbing; }

/* תוכן: שתי שכבות שמתחלפות בדעיכה — לא מחליפים writing-mode באמצע אנימציה */
.gst-hs-closed {
  position: absolute; z-index: 3; top: 0; bottom: 0; inset-inline: var(--ps) var(--pe); pointer-events: none; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 8px 96px;
  transition: opacity .35s ease, transform .7s var(--hs-ease);
}
.gst-hs-panel.is-active .gst-hs-closed { opacity: 0; transform: translateY(-12px); transition-duration: .25s, .5s; }
.gst-hs-num { font-family: var(--gs-font-mono); font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.78); }
.gst-hs-ttl {
  font-family: var(--gs-font-head); font-weight: 700; line-height: 1.1; font-size: clamp(18px, 1.9vw, 28px);
  writing-mode: vertical-rl; transform: rotate(180deg); max-height: 100%; text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.gst-title-horizontal .gst-hs-ttl { writing-mode: horizontal-tb; transform: none; font-size: 15px; text-align: center; }

.gst-hs-open {
  position: absolute; z-index: 3; top: 0; bottom: 0; inset-inline: var(--ps) var(--pe); display: flex; align-items: flex-end; color: #fff;
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s;
}
.gst-hs-panel.is-active .gst-hs-open { opacity: 1; visibility: visible; transition: opacity .1s linear, visibility 0s; pointer-events: none; }
.gst-hs-open-in { width: var(--hs-ow); padding: 0 calc(var(--hs-shift) + 30px) 96px; }
.gst-hs-open-in > * { opacity: 0; transform: translateY(18px); transition: opacity .3s ease, transform .4s ease; }
.gst-hs-panel.is-active .gst-hs-open-in > * {
  opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--hs-speed) * .38);
}
.gst-hs-panel.is-active .gst-hs-open-in > :nth-child(2) { transition-delay: calc(var(--hs-speed) * .38 + 70ms); }
.gst-hs-panel.is-active .gst-hs-open-in > :nth-child(3) { transition-delay: calc(var(--hs-speed) * .38 + 140ms); }
.gst-hs-panel.is-active .gst-hs-open-in > :nth-child(4) { transition-delay: calc(var(--hs-speed) * .38 + 210ms); }

.gst-hs-tag {
  display: inline-block; font-family: var(--gs-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px;
  padding: 5px 13px; border-radius: 999px; background: color-mix(in srgb, var(--c) 60%, transparent); border: 1px solid color-mix(in srgb, var(--c) 80%, #fff);
}
.gst-hs-title { font-family: var(--gs-font-head); font-weight: 700; color: #fff; margin: 0 0 14px; line-height: 1.08; font-size: clamp(30px, 4.2vw, 66px); text-shadow: 0 2px 22px rgba(0,0,0,.4); }
.gst-hs-open-in p { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.7; color: rgba(255,255,255,.88); max-width: 520px; margin: 0 0 20px; }
.gst-hs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gst-hs-btn { font-size: 14px; padding: 12px 24px; }
.gst-hs-btn2 { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.gst-hs-btn2:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }

/* אנימציית כניסה */
.gst-hs--intro .gst-hs-panel { animation: gst-hs-in 1s var(--hs-ease) backwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes gst-hs-in { from { opacity: 0; transform: translateY(7%); } to { opacity: 1; transform: none; } }

/* בקרים */
.gst-hs-ui { position: absolute; z-index: 6; inset-inline-end: calc(var(--hs-pad, 0px) + 26px); bottom: calc(var(--hs-pad, 0px) + 22px); display: flex; align-items: center; gap: 12px; }
.gst-hs-arrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #fff; font-size: 24px; line-height: 1;
  background: rgba(8,11,34,.62); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
  transition: background .25s, transform .35s cubic-bezier(.22,1,.36,1);
}
.gst-hs-arrow:hover { background: var(--gs-primary); color: var(--gs-on-primary); transform: scale(1.08); }
.gst-hs-counter { font-family: var(--gs-font-mono); font-size: 12.5px; color: rgba(255,255,255,.8); min-width: 56px; text-align: center; direction: ltr; padding: 6px 12px; border-radius: 99px; background: rgba(8,11,34,.55); backdrop-filter: blur(8px); }
.gst-hs-counter b { color: #fff; font-size: 15px; }
.gst-hs-dots { display: flex; gap: 7px; align-items: center; margin-inline-end: 6px; }
.gst-hs-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; cursor: pointer; background: rgba(255,255,255,.4); transition: width .45s cubic-bezier(.22,1,.36,1), background .3s; }
.gst-hs-dot:hover { background: rgba(255,255,255,.75); }
.gst-hs-dot.is-on { width: 26px; background: #fff; }

.gst-hs-progress { position: absolute; z-index: 6; inset-inline: var(--hs-pad, 0px); bottom: var(--hs-pad, 0px); height: 3px; background: rgba(255,255,255,.18); overflow: hidden; pointer-events: none; }
.gst-hs-progress i { display: block; height: 100%; background: var(--gs-accent); transform: scaleX(0); transform-origin: 0 50%; }
html[dir="rtl"] .gst-hs-progress i { transform-origin: 100% 50%; }
.gst-hs-progress.is-run i { animation: gst-prog var(--hs-int, 6s) linear forwards; }
.gst-hs-progress.is-paused i { animation-play-state: paused; }
@keyframes gst-prog { to { transform: scaleX(1); } }

.gst-hs-cue {
  position: absolute; z-index: 6; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--gs-font-mono); font-size: 10.5px; letter-spacing: .14em; color: rgba(255,255,255,.78); text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.gst-hs-cue:hover { color: #fff; }
.gst-hs-cue i { width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: gst-cue 1.8s ease-in-out infinite; }
@keyframes gst-cue { 0%,100% { transform: translateY(0) rotate(45deg); opacity: .5; } 50% { transform: translateY(6px) rotate(45deg); opacity: 1; } }

/* סגנון כרטיסים צפים */
.gst-hs--cards .gst-hs-clip { transform: none; }
.gst-hs--cards .gst-hs-media { transform: translateX(-50%); left: 50%; }
.gst-hs--cards .gst-hs-toggle { clip-path: none; inset-inline: 0; border-radius: var(--hs-r); }
.gst-hs--cards .gst-hs-par { inset: -14px; }
.gst-hs--cards .gst-hs-tools { inset-inline-end: 26px; }
.gst-hs--cards .gst-hs-open-in { padding-inline: 34px; }
.gst-hs--cards .gst-hs-closed { padding-inline: 8px; }
.gst-hs--cards .gst-hs-bar { display: none; }
.gst-hs--cards .gst-hs-clip { box-shadow: 0 22px 44px -22px rgba(0,0,0,.55); }
body.gst-card-brutal .gst-hs--cards .gst-hs-clip { box-shadow: 4px 4px 0 var(--gs-strong); outline: 2.5px solid var(--gs-strong); outline-offset: -2.5px; }

/* ═══════════════════════════════════════════
   ANCHOR MENU
═══════════════════════════════════════════ */
.gst-anchors {
  position: sticky; top: calc(var(--adm-fix) + var(--gst-stick-h, var(--gst-nav-h))); z-index: 900;
  background: rgba(var(--gs-bg-rgb), .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gs-line);
}
.gst-anchors ul { display: flex; gap: 6px; padding: 10px 0; margin: 0; list-style: none; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; justify-content: safe center; }
.gst-anchors ul::-webkit-scrollbar { display: none; }
.gst-anchors a { display: block; padding: 8px 18px; border-radius: var(--gs-btn-r); white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--gs-muted-light); transition: color .2s, background .2s; }
.gst-anchors a:hover { color: var(--gs-strong); background: rgba(var(--gs-on-rgb), .07); }
.gst-anchors a.is-active { color: var(--gs-strong); background: rgba(var(--gs-primary-rgb), .26); box-shadow: inset 0 0 0 1px rgba(var(--gs-primary-rgb), .55); }
body.gst-card-brutal .gst-anchors { border-bottom: 2.5px solid var(--gs-strong); }
body.gst-card-brutal .gst-anchors a.is-active { background: var(--gs-primary); color: var(--gs-on-primary); box-shadow: none; }

.gst-anchors--dots { position: fixed; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); z-index: 900; background: none; border: 0; backdrop-filter: none; opacity: 0; pointer-events: none; transition: opacity .3s; }
.gst-anchors--dots.is-visible { opacity: 1; pointer-events: auto; }
.gst-anchors--dots .gst-wrap { padding: 0; max-width: none; }
.gst-anchors--dots ul { flex-direction: column; gap: 12px; padding: 0; overflow: visible; align-items: flex-end; }
.gst-anchors--dots a { position: relative; width: 14px; height: 14px; padding: 0; border-radius: 50%; background: rgba(var(--gs-on-rgb), .3); transition: transform .2s, background .2s; }
.gst-anchors--dots a:hover, .gst-anchors--dots a.is-active { background: var(--gs-accent); box-shadow: none; transform: scale(1.25); }
.gst-anchors--dots a span {
  position: absolute; inset-inline-end: 26px; top: 50%; transform: translateY(-50%) translateX(6px); background: var(--gs-bg2); color: var(--gs-strong);
  font-size: 12px; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--gs-line); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
html[dir="rtl"] .gst-anchors--dots a span { transform: translateY(-50%) translateX(-6px); }
.gst-anchors--dots a:hover span, .gst-anchors--dots a:focus-visible span { opacity: 1; transform: translateY(-50%); }

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.gst-portal { position: relative; }
.gst-sec { position: relative; z-index: 1; padding: 96px 0; }
.gst-sec--bg  { background: transparent; }
.gst-sec--bg2 { background: color-mix(in srgb, var(--gs-bg2) 82%, transparent); }
.gst-sec--accent { background: linear-gradient(135deg, var(--gs-primary), color-mix(in srgb, var(--gs-primary) 40%, var(--gs-accent))); color: var(--gs-on-primary); }
.gst-sec--accent .gst-sec-head h2, .gst-sec--accent .gst-sec-head p, .gst-sec--accent .gst-label { color: inherit; }
.gst-sec--accent .gst-sec-all { color: inherit; border-color: currentColor; }
.gst-sec--banner { padding: 56px 0; }
.gst-sec--custom { padding: 56px 0; }

.gst-sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 44px; }
.gst-sec-head-text { max-width: 680px; }
.gst-sec-head h2 { font-family: var(--gs-font-head); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; color: var(--gs-strong); margin-bottom: 12px; }
.gst-sec-head p { color: var(--gs-muted); font-size: 16.5px; line-height: 1.7; margin: 0; }
.gst-sec-all {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--gs-btn-r); white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--gs-strong); border: 1.5px solid rgba(var(--gs-primary-rgb), .45); transition: background .2s, border-color .2s;
}
.gst-sec-all:hover { background: rgba(var(--gs-primary-rgb), .14); border-color: var(--gs-primary); }
body.gst-card-brutal .gst-sec-all { border: 2.5px solid var(--gs-strong); box-shadow: 3px 3px 0 var(--gs-strong); background: var(--gs-bg); }
body.gst-card-brutal .gst-sec-all:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--gs-strong); }
.gst-sec-code { margin: 28px 0; }
.gst-sec-code iframe, .gst-sec-code img, .gst-sec-code video { max-width: 100%; }

/* יישור כותרת במרכז */
.gst-al-center .gst-sec-head { justify-content: center; text-align: center; }
.gst-al-center .gst-sec-head-text { margin-inline: auto; }

/* סגנונות כותרת */
.gst-head-bar .gst-sec-head h2 { position: relative; padding-inline-start: 20px; }
.gst-head-bar .gst-sec-head h2::before { content: ''; position: absolute; inset-inline-start: 0; top: .14em; bottom: .14em; width: 7px; border-radius: 4px; background: linear-gradient(var(--gs-primary), var(--gs-accent)); }
.gst-head-tag .gst-sec-head .gst-label { display: inline-block; padding: 5px 15px; border-radius: 999px; background: var(--gs-primary); color: var(--gs-on-primary); letter-spacing: .06em; }
.gst-head-tag.gst-card-brutal .gst-sec-head .gst-label { border: 2.5px solid var(--gs-strong); border-radius: 6px; box-shadow: 3px 3px 0 var(--gs-strong); }
.gst-head-underline .gst-sec-head h2 { display: inline-block; padding-bottom: 10px; border-bottom: 4px solid var(--gs-primary); }
.gst-sec--accent .gst-sec-head .gst-label { background: rgba(255,255,255,.2); color: inherit; }

/* כרטיס כללי — כל הרכיבים משתמשים באותם משתנים */
.gst-sw-panel, .gst-art-card, .gst-deal-card, .gst-banner, .gst-stat {
  background: var(--gs-card-bg); border: var(--gs-card-bw) solid var(--gs-card-bd); box-shadow: var(--gs-card-sh); border-radius: var(--gs-radius);
}
.gst-sw-panel, .gst-art-card, .gst-deal-card { transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .45s cubic-bezier(.22,1,.36,1); }
.gst-sw-panel:hover, .gst-art-card:hover, .gst-deal-card:hover { transform: translateY(var(--gs-card-lift)); border-color: var(--gs-card-bd-hi); box-shadow: var(--gs-card-sh-hi); }
body.gst-card-brutal .gst-sw-panel:hover, body.gst-card-brutal .gst-art-card:hover, body.gst-card-brutal .gst-deal-card:hover { transform: translate(-3px, -3px); }

/* ── Banner ── */
.gst-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 44px 48px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--gs-primary), color-mix(in srgb, var(--gs-primary) 35%, var(--gs-coral))); color: var(--gs-on-primary);
}
.gst-banner::after { content: ''; position: absolute; inset-inline-end: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.14); pointer-events: none; }
.gst-banner-text { max-width: 640px; position: relative; z-index: 1; }
.gst-banner .gst-label { color: inherit; opacity: .85; }
.gst-banner h2 { font-family: var(--gs-font-head); font-size: clamp(24px, 3vw, 38px); line-height: 1.2; color: inherit; margin-bottom: 10px; }
.gst-banner p { color: inherit; opacity: .88; font-size: 16.5px; margin: 0; }
.gst-banner-btn { position: relative; z-index: 1; }

/* ── Software: 4 topic panels ── */
.gst-sw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gst-sw-panel { padding: 20px; }
.gst-sw-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gst-sw-icon { width: 40px; height: 40px; border-radius: calc(var(--gs-radius) * .65); display: grid; place-items: center; font-size: 20px; flex: none; background: linear-gradient(135deg, rgba(var(--gs-primary-rgb), .4), rgba(var(--gs-accent-rgb), .25)); }
.gst-sw-head h3 { font-size: 17px; font-weight: 700; color: var(--gs-strong); margin: 0; flex: 1; }
.gst-sw-more { font-size: 12.5px; color: var(--gs-accent); white-space: nowrap; font-weight: 600; }
.gst-sw-more:hover { color: var(--gs-strong); }
.gst-sw-list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; }
.gst-sw-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: calc(var(--gs-radius) * .65); transition: background .2s; }
a.gst-sw-row:hover { background: rgba(var(--gs-on-rgb), .07); }
.gst-sw-thumb { width: 44px; height: 44px; border-radius: calc(var(--gs-radius) * .6); overflow: hidden; flex: none; display: grid; place-items: center; background: rgba(var(--gs-on-rgb), .08); font-size: 20px; }
.gst-sw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gst-sw-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gst-sw-info b { font-size: 14.5px; font-weight: 600; color: var(--gs-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gst-sw-info small { font-size: 11.5px; color: var(--gs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gst-stars { color: var(--gs-amber); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.is-demo { opacity: .78; }

/* ── Articles: carousel + grid ── */
.gst-carousel { position: relative; }
.gst-car-track { display: flex; gap: 20px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(var(--gs-primary-rgb), .5) transparent; }
.gst-car-track:focus-visible { outline: 2px solid var(--gs-accent); outline-offset: 4px; border-radius: 8px; }
.gst-art-card { flex: 0 0 clamp(260px, 29%, 360px); scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; }
.gst-art-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.gst-art-grid .gst-art-card, .gst-archive-grid .gst-art-card { flex: initial; }
.gst-art-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, rgba(var(--gs-primary-rgb), .38), rgba(var(--gs-accent-rgb), .2)); }
.gst-art-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.gst-art-card:hover .gst-art-thumb img { transform: scale(1.05); }
.gst-art-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; }
.gst-art-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gst-art-cat { align-self: flex-start; font-family: var(--gs-font-mono); font-size: 10.5px; letter-spacing: .06em; padding: 3px 10px; border-radius: 6px; color: var(--gs-accent); background: rgba(var(--gs-accent-rgb), .13); }
.gst-art-body h3 { font-size: 17px; line-height: 1.4; font-weight: 700; margin: 0; color: var(--gs-strong); }
.gst-art-body h3 a:hover { color: var(--gs-accent); }
.gst-art-body p { font-size: 13.5px; line-height: 1.65; color: var(--gs-muted); margin: 0; }
.gst-art-meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--gs-muted); }
.gst-car-btn {
  position: absolute; top: calc(50% - 30px); z-index: 3; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 26px; line-height: 1;
  color: var(--gs-strong); background: var(--gs-bg2); border: 1px solid var(--gs-line); box-shadow: 0 8px 24px -10px rgba(0,0,0,.4); transition: background .2s, transform .3s cubic-bezier(.22,1,.36,1);
}
.gst-car-btn:hover { background: var(--gs-primary); color: var(--gs-on-primary); transform: scale(1.08); }
.gst-car-prev { inset-inline-start: -14px; }
.gst-car-next { inset-inline-end: -14px; }

/* ── Affiliate store ── */
.gst-aff-note { display: flex; gap: 8px; font-size: 12.5px; color: var(--gs-muted); margin: -24px 0 26px; }
.gst-deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.gst-deal-card { display: flex; flex-direction: column; overflow: hidden; }
.gst-deal-thumb { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, rgba(var(--gs-amber-rgb), .28), rgba(var(--gs-coral-rgb), .2)); }
.gst-deal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.gst-deal-card:hover .gst-deal-thumb img { transform: scale(1.05); }
.gst-deal-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: var(--gs-coral); color: var(--gs-on-coral); font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 7px; }
.gst-deal-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.gst-deal-store { font-family: var(--gs-font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--gs-muted); }
.gst-deal-body h3 { font-size: 15.5px; line-height: 1.4; font-weight: 700; margin: 0; color: var(--gs-strong); }
.gst-deal-body h3 a:hover { color: var(--gs-primary); }
.gst-deal-price { display: flex; align-items: baseline; gap: 8px; }
.gst-deal-price b { font-size: 21px; color: var(--gs-strong); }
.gst-deal-price s { font-size: 13px; color: var(--gs-muted); }
.gst-deal-coupon { font-size: 12px; color: var(--gs-muted); }
.gst-deal-coupon code { font-family: var(--gs-font-mono); color: var(--gs-strong); background: rgba(var(--gs-amber-rgb), .22); padding: 2px 8px; border-radius: 5px; }
.gst-deal-btn { margin-top: auto; justify-content: center; font-size: 14px; padding: 11px 18px; }
.gst-deal-btn.is-disabled { opacity: .55; cursor: default; pointer-events: none; }

/* כפתורים בסגנון נאו-ברוטלי */
body.gst-card-brutal .gst-btn { border: 2.5px solid var(--gs-strong); box-shadow: 3px 3px 0 var(--gs-strong); }
body.gst-card-brutal .gst-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--gs-strong); }
body.gst-card-brutal .gst-btn::after { display: none; }
body.gst-card-brutal .gst-hs-btn2 { box-shadow: none; }

/* ── Archive / single ── */
.gst-archive { padding: 72px 0 96px; position: relative; z-index: 1; }
.gst-archive h1, .gst-single h1 { font-family: var(--gs-font-head); font-size: clamp(30px, 4vw, 48px); color: var(--gs-strong); margin-bottom: 14px; line-height: 1.2; }
.gst-archive .gst-archive-desc { color: var(--gs-muted); margin-bottom: 36px; max-width: 640px; }
.gst-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gst-single { padding: 72px 0 96px; position: relative; z-index: 1; }
.gst-single-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.gst-single-meta span { font-family: var(--gs-font-mono); font-size: 12px; padding: 5px 12px; border-radius: 8px; background: var(--gs-glass-hi); color: var(--gs-muted-light); }
.gst-single-thumb img { width: 100%; height: auto; border-radius: var(--gs-radius-lg); margin-bottom: 28px; }
.gst-entry-content { color: rgba(var(--gs-on-rgb), .86); line-height: 1.85; font-size: 17px; }
.gst-entry-content > * + * { margin-top: 1.1em; }
.gst-entry-content a { color: var(--gs-accent); text-decoration: underline; }
.gst-related { margin-top: 72px; }
.gst-related h2 { font-family: var(--gs-font-head); font-size: 26px; color: var(--gs-strong); margin-bottom: 22px; }

/* ═══════════════════════════════════════════
   FOOTER · BACK-TO-TOP · READING BAR
═══════════════════════════════════════════ */
.gst-footer { position: relative; z-index: 1; background: var(--gs-bg2); color: var(--gs-muted); }
.gst-footer-tagline { font-size: 13.5px; color: var(--gs-muted); max-width: 290px; line-height: 1.7; }
.gst-footer-col h4 { color: var(--gs-strong); }
.gst-footer-col a { color: var(--gs-muted); }
.gst-footer-col a:hover { color: var(--gs-strong); }
.gst-footer-col ul { list-style: none; padding: 0; margin: 0; }
.gst-menu--footer { display: flex; flex-direction: column; gap: 10px; }
.gst-footer-col .gst-social { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; padding: 0; }
.gst-footer-col .gst-logo { color: var(--gs-strong); }
.gst-footer-col .gst-logo:hover { color: var(--gs-strong); }
.gst-social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-family: var(--gs-font-mono); font-size: 11.5px; font-weight: 700;
  color: var(--gs-strong) !important; background: var(--gs-glass-hi); border: 1px solid var(--gs-line); transition: background .25s, transform .3s cubic-bezier(.22,1,.36,1), color .25s;
}
.gst-social a:hover { background: var(--gs-primary); color: var(--gs-on-primary) !important; transform: translateY(-3px); }
body.gst-card-brutal .gst-footer { border-top: 2.5px solid var(--gs-strong); }
body.gst-card-brutal .gst-social a { border: 2px solid var(--gs-strong); border-radius: 8px; }

.gst-totop {
  position: fixed; z-index: 950; inset-inline-start: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; border: 0;
  background: var(--gs-primary); color: var(--gs-on-primary); box-shadow: 0 14px 30px -10px rgba(var(--gs-primary-rgb), .65);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.22,1,.36,1);
}
.gst-totop.is-in { opacity: 1; transform: none; pointer-events: auto; }
.gst-totop:hover { transform: translateY(-3px); }
body.gst-card-brutal .gst-totop { border: 2.5px solid var(--gs-strong); box-shadow: 3px 3px 0 var(--gs-strong); border-radius: 12px; }
.gst-readbar { position: fixed; z-index: 1200; top: var(--adm-fix); inset-inline: 0; height: 3px; pointer-events: none; }
.gst-readbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gs-primary), var(--gs-accent)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
html[dir="rtl"] .gst-readbar i { transform-origin: 100% 50%; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .gst-sec { padding: 72px 0; }
  .gst-art-card { flex-basis: clamp(250px, 46%, 340px); }
  .gst-art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gst-anchors--dots { display: none; }
  .gst-banner { padding: 32px 26px; }
}

@media (max-width: 760px) {
  /* במובייל: חלונות אחד מתחת לשני, ללא אלכסון */
  .gst-hs { --hs-skew: 0deg !important; --hs-shift: 0px !important; min-height: 540px; }
  .gst-hs-track { flex-direction: column; width: 100%; margin-inline: 0; }
  .gst-hs-clip { transform: none; }
  .gst-hs-media { transform: translateX(-50%); width: 100%; }
  .gst-hs-toggle { inset-inline: 0; clip-path: none; }
  .gst-hs-tools { inset-inline-end: 16px; top: 14px; }
  .gst-hs-expand, .gst-hs-close { width: 38px; height: 38px; }
  .gst-hs-closed { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 0 22px; }
  .gst-hs-ttl { writing-mode: horizontal-tb; transform: none; font-size: 20px; }
  .gst-hs-icon { inset: 50% auto auto auto; inset-inline: auto 20px; width: auto; height: auto; display: block; line-height: 1; transform: translateY(-50%); font-size: 30px; }
  .gst-hs-panel.is-active .gst-hs-icon { transform: translateY(-50%) scale(2.6); }
  .gst-hs-track.is-open .gst-hs-panel:not(.is-active) .gst-hs-icon { transform: translateY(-50%) scale(.8); }
  .gst-hs-open { align-items: flex-end; }
  .gst-hs-open-in { width: 100%; padding: 0 22px 58px; }
  .gst-hs-title { font-size: clamp(26px, 8vw, 38px); margin-bottom: 8px; }
  .gst-hs-ui { bottom: 10px; inset-inline-end: 14px; }
  .gst-hs-arrow { width: 38px; height: 38px; }
  .gst-hs-cue, .gst-hs-counter { display: none; }
  .gst-sec-head { margin-bottom: 30px; }
  .gst-car-btn { display: none; }
  .gst-art-card { flex-basis: 78%; }
  .gst-ann-in { padding-inline: 40px 36px; font-size: 12.5px; flex-wrap: wrap; gap: 4px 10px; }
  .gst-totop { inset-inline-start: 14px; bottom: 14px; }
}

@media (max-width: 600px) {
  .gst-sec { padding: 56px 0; }
  .gst-deal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gst-deal-body { padding: 12px; }
  .gst-deal-btn { font-size: 13px; padding: 10px 12px; }
  .gst-art-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .gst-hs-panel, .gst-hs-img, .gst-hs-fb, .gst-hs-zoom, .gst-hs-tint, .gst-hs-tools, .gst-hs-expand, .gst-hs-close, .gst-hs-icon, .gst-hs-dim, .gst-hs-closed, .gst-hs-open, .gst-hs-open-in > *, .gst-hs-clip::after, .gst-hs-bar { transition: none !important; animation: none !important; }
  .gst-hs--kb .gst-hs-panel.is-active .gst-hs-img { scale: 1; }
  .gst-hs-par { transform: none; }
  .gst-hs-cue i { animation: none; }
  .gst-hs-progress { display: none; }
  .gst-car-track { scroll-behavior: auto; }
  .gst-sw-panel, .gst-art-card, .gst-deal-card { transition: none; }
}

/* ═══════════════════════════════════════════
   LIGHTBOX — תצוגת תמונה מלאה
═══════════════════════════════════════════ */
.gst-lb-open { overflow: hidden; }
.gst-lb { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 4vh 4vw; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.gst-lb.is-on { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.gst-lb-bg { position: absolute; inset: 0; background: rgba(4,6,20,.92); backdrop-filter: blur(10px); }
.gst-lb-fig { position: relative; margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: scale(.94) translateY(10px); opacity: 0; transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .4s ease; }
.gst-lb.is-on .gst-lb-fig { transform: none; opacity: 1; }
.gst-lb-img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); background: #0b0d22; display: block; }
.gst-lb-cap { color: rgba(255,255,255,.88); font-size: 15px; text-align: center; max-width: 80vw; min-height: 1em; }
.gst-lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); transition: background .25s, transform .35s cubic-bezier(.22,1,.36,1); font-size: 26px; line-height: 1; }
.gst-lb-btn:hover { background: var(--gs-primary); color: var(--gs-on-primary); transform: scale(1.08); }
.gst-lb-btn:focus-visible { outline: 3px solid var(--gs-accent); outline-offset: 2px; }
.gst-lb-close { top: 20px; right: 20px; }
.gst-lb-prev, .gst-lb-next { top: 50%; margin-top: -24px; }
.gst-lb-prev { left: 20px; } .gst-lb-next { right: 20px; }
.gst-lb.is-rtl .gst-lb-prev { left: auto; right: 20px; } .gst-lb.is-rtl .gst-lb-next { right: auto; left: 20px; }
.gst-lb-count { position: absolute; top: 30px; left: 28px; z-index: 2; color: rgba(255,255,255,.7); font-family: var(--gs-font-mono); font-size: 13px; direction: ltr; }
@media (max-width: 760px) { .gst-lb-prev, .gst-lb-next { top: auto; bottom: 22px; margin: 0; } .gst-lb-img { max-height: 70vh; } }
@media (prefers-reduced-motion: reduce) { .gst-lb, .gst-lb-fig { transition: none !important; } }
