/* טופבר */
.gst-topbar { background: var(--gs-bg2); border-bottom: 1px solid var(--gs-line); font-size: 12.5px; color: var(--gs-muted-light); }
.gst-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.gst-topbar-start, .gst-topbar-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gst-topbar .gst-menu { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.gst-topbar a { color: inherit; transition: color .2s; } .gst-topbar a:hover { color: var(--gs-primary); }
.gst-topbar-soc { display: flex; gap: 10px; font-weight: 700; font-size: 11.5px; }
.gst-topbar-date::after { content: ''; display: inline-block; width: 1px; height: 12px; background: var(--gs-line); margin-inline: 14px 0; vertical-align: middle; }
.gst-topbar-date:last-child::after { display: none; }
@media (max-width: 700px) { .gst-topbar-end .gst-menu, .gst-topbar-soc { display: none; } .gst-topbar-in { justify-content: center; } }

/* מבזק */
.gst-ticker { background: rgba(var(--gs-primary-rgb), .08); border-bottom: 1px solid var(--gs-line); overflow: hidden; }
.gst-ticker-in { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.gst-ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--gs-primary); color: var(--gs-on-primary); font-weight: 800; font-size: 12.5px; padding: 5px 14px; border-radius: var(--gs-btn-r); }
.gst-ticker-label i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: gstPulse 1.4s infinite; }
@keyframes gstPulse { 50% { opacity: .25; } }
.gst-ticker-view { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.gst-ticker-track { display: flex; width: max-content; gap: 0; }
.gst-ticker-dup { display: flex; }
.gst-tick-i { display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; padding-inline: 22px; font-size: 14px; color: var(--gs-text); }
.gst-tick-i time { font-family: var(--gs-font-mono, monospace); font-size: 12px; color: var(--gs-primary); font-weight: 700; }
.gst-tick-i:hover { color: var(--gs-primary); }
.gst-ticker--scroll .gst-ticker-track { animation: gstTick 60s linear infinite; }
.gst-ticker--scroll:hover .gst-ticker-track { animation-play-state: paused; }
html[dir="rtl"] .gst-ticker--scroll .gst-ticker-track { animation-name: gstTickR; }
@keyframes gstTick { to { transform: translateX(-50%); } }
@keyframes gstTickR { to { transform: translateX(50%); } }
.gst-ticker--fade .gst-ticker-track { display: block; width: auto; position: relative; height: 42px; }
.gst-ticker--fade .gst-tick-i { position: absolute; inset: 0; align-items: center; opacity: 0; transition: opacity .5s; padding-inline: 0; pointer-events: none; }
.gst-ticker--fade .gst-tick-i.is-on { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .gst-ticker--scroll .gst-ticker-track { animation: none; } .gst-ticker-view { overflow-x: auto; } }

/* מצב כהה/בהיר */
.gst-mode-btn .gst-ic-sun { display: none; }
html[data-gst-mode="alt"] .gst-mode-btn .gst-ic-moon, html[data-gst-mode="alt"] .gst-mode-btn .gst-ic-sun { display: none; }
body.gst-tone-dark .gst-mode-btn .gst-ic-moon { display: none; } body.gst-tone-dark .gst-mode-btn .gst-ic-sun { display: block; }
body.gst-tone-light .gst-mode-btn .gst-ic-moon { display: block; }
html[data-gst-mode="alt"] body.gst-tone-dark .gst-mode-btn .gst-ic-sun { display: none; }
html[data-gst-mode="alt"] body.gst-tone-dark .gst-mode-btn .gst-ic-moon { display: block; }
html[data-gst-mode="alt"] body.gst-tone-light .gst-mode-btn .gst-ic-moon { display: none; }
html[data-gst-mode="alt"] body.gst-tone-light .gst-mode-btn .gst-ic-sun { display: block; }
html[data-gst-mode="alt"] .gst-orb { opacity: .5; }
body { transition: background-color .3s, color .3s; }

/* מגה-תפריט */
@media (min-width: 961px) {
  .gst-nav .gst-menu > .gst-mega { position: static; }
  .gst-nav .gst-menu > .gst-mega > .sub-menu {
    inset-inline: 0; margin-inline: auto; width: min(960px, calc(100vw - 48px)); min-width: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; padding: 22px;
  }
  .gst-nav .gst-menu > .gst-mega > .sub-menu a { white-space: normal; }
}
