/*
Theme Name: ARTIS Nova
Theme URI: https://artis.co.il/
Author: ARTIS
Description: ARTIS Nova — colorful, ultra-fast portal UX with AJAX search/feed (no builders).
Version: 1.4.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artis-magazine
*/

:root{
  --artis-blue:#105696;
  --artis-blue-deep:#272D72;
  --artis-cyan:#1199D7;
  --artis-red:#EA3847;
  --artis-orange:#F88B3A;
  --artis-ink:#111827;
  --artis-muted:#6B7280;
  --artis-border:#E5E7EB;
  --artis-bg:#FFFFFF;
  --artis-soft:#F8FAFC;
  --artis-radius:18px;
  --artis-shadow:0 8px 26px rgba(17,24,39,.08);
  --artis-max:1120px;
}

*{box-sizing:border-box}
body{
  margin:0; background:var(--artis-bg); color:var(--artis-ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans Hebrew", "Heebo", sans-serif;
  line-height:1.6;
}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto}
.wrap{max-width:var(--artis-max); margin:0 auto; padding:0 18px}
.site-header{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:saturate(180%) blur(10px); border-bottom:1px solid var(--artis-border)}
.header-inner{display:flex; align-items:center; gap:14px; padding:12px 0}
.brand{display:flex; align-items:center; gap:10px; min-width:160px}
.brand .site-title{font-weight:800; letter-spacing:.2px}
.nav{display:flex; align-items:center; gap:14px; flex:1}
.nav a{padding:8px 10px; border-radius:12px}
.nav a:hover{background:var(--artis-soft); text-decoration:none}
.nav .has-mega{position:relative}
.nav .mega{
  position:absolute; left:0; right:auto; top:44px; width:min(920px, 92vw);
  background:#fff; border:1px solid var(--artis-border); border-radius:22px; box-shadow:var(--artis-shadow);
  padding:18px; display:none;
}
.nav .has-mega.is-open .mega{display:block}
.mega-grid{display:grid; grid-template-columns: 1fr 2fr 1fr; gap:16px}
.mega h4{margin:0 0 10px 0; font-size:14px; color:var(--artis-muted)}
.mega a{display:block; padding:8px 10px; border-radius:12px}
.mega a:hover{background:var(--artis-soft); text-decoration:none}
.chip{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border:1px solid var(--artis-border); border-radius:999px; background:#fff; font-size:13px}
.chip .dot{width:10px; height:10px; border-radius:999px; background:var(--artis-cyan)}

.header-actions{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border-radius:14px; border:1px solid var(--artis-border);
  background:#fff; font-weight:700; cursor:pointer; text-decoration:none;
}
.btn-primary{background:var(--artis-blue); color:#fff; border-color:transparent}
.btn-primary:hover{filter:brightness(0.95); text-decoration:none}
.icon-btn{width:40px; height:40px; padding:0; border-radius:14px}

/* Mobile */
.burger{display:none}
.drawer{position:fixed; inset:0; background:rgba(0,0,0,.35); display:none; z-index:70}
.drawer.is-open{display:block}
.drawer-panel{
  position:absolute; top:0; right:0; height:100%; width:min(420px, 92vw);
  background:#fff; padding:18px; overflow:auto
}
.drawer-top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.drawer-nav a{display:block; padding:10px 10px; border-radius:14px}
.drawer-nav a:hover{background:var(--artis-soft); text-decoration:none}

@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-flex}
  .brand{min-width:auto}
}

/* Hero */
.hero{padding:22px 0 12px 0}
.hero-card{
  border:1px solid var(--artis-border); border-radius:28px; padding:18px; background:linear-gradient(135deg, rgba(17,153,215,.10), rgba(248,139,58,.10));
}
.hero h1{margin:0 0 8px 0; font-size:30px; line-height:1.15}
.hero p{margin:0 0 14px 0; color:var(--artis-muted)}
.searchbar{display:flex; gap:10px; flex-wrap:wrap}
.searchbar input{
  flex:1; min-width:220px; padding:12px 14px; border-radius:16px; border:1px solid var(--artis-border);
  font-size:16px
}
.tiles{display:grid; grid-template-columns: repeat(4, 1fr); gap:10px; margin-top:14px}
.tile{
  border:1px solid var(--artis-border); border-radius:18px; background:#fff; padding:12px;
  display:flex; align-items:center; justify-content:space-between; gap:10px
}
.tile small{color:var(--artis-muted)}
.tile:hover{box-shadow:var(--artis-shadow); text-decoration:none}
@media (max-width: 860px){ .tiles{grid-template-columns: repeat(2, 1fr);} }

/* Sections */
.section{padding:18px 0}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:12px}
.section-title{margin:0; font-size:20px}
.section-sub{margin:0; color:var(--artis-muted); font-size:14px}

.grid{display:grid; gap:12px}
.grid.featured{grid-template-columns: 1.4fr 1fr}
.grid.cards{grid-template-columns: repeat(3, 1fr)}
.grid.cards-4{grid-template-columns: repeat(4, 1fr)}
@media (max-width: 980px){
  .grid.featured{grid-template-columns: 1fr}
  .grid.cards{grid-template-columns: repeat(2, 1fr)}
  .grid.cards-4{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 520px){
  .grid.cards{grid-template-columns: 1fr}
  .grid.cards-4{grid-template-columns: 1fr}
}

.card{
  border:1px solid var(--artis-border); border-radius:22px; background:#fff; overflow:hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover{box-shadow:var(--artis-shadow); transform: translateY(-1px); text-decoration:none}
.card-media{aspect-ratio: 16 / 9; background:var(--artis-soft); overflow:hidden}
.card-media img{width:100%; height:100%; object-fit:cover}
.card-body{padding:14px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:800; padding:6px 10px;
  border-radius:999px; border:1px solid var(--artis-border); background:#fff;
  margin-bottom:10px
}
.badge .dot{width:10px; height:10px; border-radius:999px; background:var(--artis-cyan)}
.card h3{margin:0 0 8px 0; font-size:17px; line-height:1.2}
.card p{margin:0 0 10px 0; color:var(--artis-muted); font-size:14px}
.meta{display:flex; gap:10px; flex-wrap:wrap; color:var(--artis-muted); font-size:12px}

/* Article */
.article{padding:22px 0}
.article-head{max-width:780px; margin:0 auto 14px auto}
.article-head h1{margin:0 0 10px 0; line-height:1.15}
.article-head .lead{color:var(--artis-muted); margin:0 0 12px 0}
.article-grid{display:grid; grid-template-columns: minmax(0,1fr) 300px; gap:18px; align-items:start}
@media (max-width: 980px){ .article-grid{grid-template-columns: 1fr} }
.content{
  max-width:780px; margin:0 auto;
  font-size:18px
}
.content h2{margin-top:30px}
.toc{
  position:sticky; top:86px; border:1px solid var(--artis-border); border-radius:18px; padding:14px; background:#fff
}
.toc h4{margin:0 0 10px 0; font-size:14px; color:var(--artis-muted)}
.toc a{display:block; padding:6px 8px; border-radius:12px; font-size:14px}
.toc a:hover{background:var(--artis-soft); text-decoration:none}

.callout{
  border:1px solid var(--artis-border); border-radius:18px; padding:14px; background:var(--artis-soft); margin:18px 0
}
.callout strong{display:block; margin-bottom:6px}

/* Ads slot */
.ad-slot{
  border:1px dashed rgba(17,24,39,.18); border-radius:18px;
  padding:14px; background:rgba(248,250,252,.8);
  margin:18px 0
}
.ad-slot small{display:block; color:var(--artis-muted); font-weight:800; letter-spacing:.3px}

/* Footer */
.site-footer{border-top:1px solid var(--artis-border); padding:28px 0; margin-top:22px; background:var(--artis-soft)}
.footer-grid{display:grid; grid-template-columns: 2fr 1fr 1fr; gap:16px}
@media (max-width: 980px){ .footer-grid{grid-template-columns: 1fr} }
.footer-grid h4{margin:0 0 10px 0}
.footer-grid a{display:block; padding:6px 0; color:var(--artis-ink)}


/* === Puzzle Pop Magazine layer (distinctive ARTIS look) === */
:root{
  --artis-grad: linear-gradient(135deg, rgba(248,139,58,.28), rgba(17,153,215,.28), rgba(39,45,114,.22));
  --artis-grad-2: linear-gradient(135deg, rgba(234,56,71,.25), rgba(17,153,215,.18));
}
body{
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(17,153,215,.18), transparent 60%),
    radial-gradient(900px 650px at 90% 0%, rgba(248,139,58,.16), transparent 55%),
    radial-gradient(900px 650px at 85% 90%, rgba(234,56,71,.10), transparent 60%),
    var(--artis-bg);
}

.site-header{
  border-bottom: 1px solid rgba(17,24,39,.06);
}
.header-inner{
  padding: 14px 0;
}
.brand .site-title a{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.brand .site-title a::before{
  content:"";
  width:12px;height:12px;border-radius:6px;
  background: var(--artis-grad-2);
  display:inline-block;
  box-shadow: 0 8px 18px rgba(17,24,39,.10);
}
.btn-primary{
  background: var(--artis-grad-2);
}
.btn-primary:hover{ filter:none; opacity:.96; }

.hero-card{
  border-radius: 30px;
  background: var(--artis-grad);
  position:relative;
  overflow:hidden;
}
.hero-card::after{
  content:"";
  position:absolute; inset:-40px -60px auto auto;
  width:260px; height:260px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 60%);
  transform: rotate(12deg);
}
.hero h1{ font-size: 36px; }
@media (max-width:520px){ .hero h1{ font-size: 28px; } }

.mast-strip{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 10px;
}
.mast-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 28px rgba(17,24,39,.08);
  font-weight: 800;
  font-size: 13px;
}
.mast-pill i{
  width:10px; height:10px; border-radius:99px;
  background: var(--artis-cyan);
  display:inline-block;
}

.section-head{
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(17,24,39,.06);
}
.section-title{
  position:relative;
}
.section-title::after{
  content:"";
  display:block;
  width: 110px; height: 6px;
  border-radius: 999px;
  background: var(--artis-grad-2);
  margin-top: 8px;
}

.card{
  border-radius: 24px;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 8px 22px rgba(17,24,39,.06);
}
.card-media{ background: rgba(255,255,255,.5); }
.card-media::after{
  content:"";
  position:absolute; inset:0;
}
.card-body{ position:relative; }
.badge{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(17,24,39,.06);
}

.ribbon{
  position:absolute;
  top:12px; left:12px;
  padding:6px 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.78);
  color:#fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing:.2px;
}

.tiles .tile{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(17,24,39,.06);
}
.tiles .tile:hover{
  transform: translateY(-1px);
}

.ad-slot{
  background: rgba(255,255,255,.7);
  border-style: solid;
  border-width: 1px;
  border-color: rgba(17,24,39,.08);
}

.site-footer{
  background:
    radial-gradient(1000px 700px at 20% 0%, rgba(17,153,215,.10), transparent 60%),
    radial-gradient(900px 700px at 80% 20%, rgba(248,139,58,.08), transparent 60%),
    var(--artis-soft);
}



/* === ARTIS Mosaic overrides (radically different structure) === */
.wrap{max-width:1240px}
.hero{padding:16px 0 10px 0}
.hero-card{padding:20px;border-radius:34px}
.hero-card h1{font-size:40px}
@media (max-width:520px){.hero-card h1{font-size:30px}}

.mag-layout{display:grid; grid-template-columns: 280px minmax(0,1fr); gap:14px; align-items:start; margin-top:12px}
@media (max-width:980px){.mag-layout{grid-template-columns:1fr}}

.rail{
  position:sticky; top:86px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:26px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 28px rgba(17,24,39,.08);
  padding:14px;
}
.rail h3{margin:0 0 10px 0;font-size:14px;color:var(--artis-muted);letter-spacing:.2px}
.rail a{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 10px; border-radius:16px;
  border:1px solid rgba(17,24,39,.06);
  background: rgba(255,255,255,.7);
  margin-bottom:10px;
  font-weight:900;
}
.rail a:hover{transform:translateY(-1px); box-shadow: 0 10px 26px rgba(17,24,39,.10); text-decoration:none}
.rail .kpi{
  display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px
}
.rail .kpi .k{
  padding:10px; border-radius:18px;
  background: linear-gradient(135deg, rgba(17,153,215,.14), rgba(248,139,58,.12));
  border:1px solid rgba(17,24,39,.06);
}
.rail .k small{display:block;color:var(--artis-muted);font-weight:800}
.rail .k strong{font-size:18px}

.cat-scroll{
  display:flex; gap:10px; overflow:auto; padding:10px 2px 14px 2px;
  scroll-snap-type:x mandatory;
}
.cat-scroll a{
  scroll-snap-align:start;
  flex:0 0 auto;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.78);
  border:1px solid rgba(17,24,39,.08);
  font-weight:900;
}
.cat-scroll a:hover{box-shadow:0 10px 24px rgba(17,24,39,.10); text-decoration:none}
.cat-scroll::-webkit-scrollbar{height:8px}
.cat-scroll::-webkit-scrollbar-thumb{background:rgba(17,24,39,.14);border-radius:999px}

.mosaic{
  display:grid; gap:12px;
  grid-template-columns: repeat(12, 1fr);
}
.mosaic .m1{grid-column: span 7}
.mosaic .m2{grid-column: span 5}
.mosaic .m3{grid-column: span 4}
.mosaic .m4{grid-column: span 4}
.mosaic .m5{grid-column: span 4}
@media (max-width:980px){
  .mosaic{grid-template-columns:1fr}
  .mosaic .m1,.mosaic .m2,.mosaic .m3,.mosaic .m4,.mosaic .m5{grid-column:auto}
}

.card.is-cover .card-media{aspect-ratio: 21/9}
.card.is-cover h3{font-size:24px}
.card.is-cover .card-body{padding:16px}
.card.is-tall .card-media{aspect-ratio: 3/4}

.section-head{background:transparent;border:none;padding:0}
.section-title::after{display:none}

.cover-tag{
  position:absolute; right:12px; top:12px;
  padding:7px 12px; border-radius:999px;
  background: rgba(255,255,255,.85);
  border:1px solid rgba(17,24,39,.08);
  font-weight:1000;
}
.cover-tag .dot{width:10px;height:10px;border-radius:999px;display:inline-block;margin-left:8px;background:var(--artis-red)}

/* === NAV LIST (fix for real WP menus) === */
.nav{gap:10px}
.nav-list{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap:8px;
  flex:1; min-width:0;
}
.nav-list > li{position:relative}
.nav-list > li > a{
  display:inline-flex; align-items:center;
  padding:8px 10px; border-radius:12px;
  font-weight:800;
}
.nav-list > li > a:hover{background:var(--artis-soft); text-decoration:none}
.nav-more{position:relative}
.nav-more .mega{right:0; left:auto}
.nav-more .mega a{display:block}
@media (max-width: 980px){
  .nav-more{display:none}
}

.nav-list{list-style:none;margin:0;padding:0;display:flex;gap:8px;align-items:center}

/* Safety: remove bullets from any wp_nav_menu output */
.site-header ul, .site-header ol{list-style:none;margin:0;padding:0}
.site-header li{margin:0;padding:0}
.nav{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.nav-list{flex:1;min-width:0;flex-wrap:nowrap;overflow:hidden}
.nav-list > li > a{text-decoration:none}

/* === ARTIS NOVA Design System === */
:root{
  --nova-bg0: #0b1020;
  --nova-bg1: #0f1630;
  --nova-card: rgba(255,255,255,.06);
  --nova-card2: rgba(255,255,255,.09);
  --nova-stroke: rgba(255,255,255,.12);
  --nova-text: rgba(255,255,255,.92);
  --nova-muted: rgba(255,255,255,.68);
  --nova-radius: 22px;
  --nova-radius2: 32px;
  --nova-shadow: 0 18px 60px rgba(0,0,0,.45);
  --nova-shadow2: 0 10px 28px rgba(0,0,0,.35);
  --nova-font-head: "Huninn", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --nova-font-body: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

body{
  font-family: var(--nova-font-body);
  background:
    radial-gradient(900px 700px at 12% 0%, rgba(17,153,215,.22), transparent 60%),
    radial-gradient(850px 650px at 85% 10%, rgba(248,139,58,.20), transparent 55%),
    radial-gradient(900px 700px at 85% 90%, rgba(83,86,255,.14), transparent 60%),
    radial-gradient(900px 700px at 15% 90%, rgba(234,56,71,.12), transparent 60%),
    linear-gradient(180deg, var(--nova-bg0), var(--nova-bg1));
  color: var(--nova-text);
}

/* Neutralize old light theme tokens */
.site{background:transparent}
.site-header{background: rgba(11,16,32,.55);backdrop-filter: blur(12px);border-bottom: 1px solid rgba(255,255,255,.08)}
.site-footer{background: rgba(11,16,32,.65);border-top: 1px solid rgba(255,255,255,.08);color: var(--nova-muted)}
.wrap{max-width:1240px}
.brand .site-title a{font-family: var(--nova-font-head); font-weight: 900; letter-spacing:.2px}

.btn{background: rgba(255,255,255,.08);border: 1px solid rgba(255,255,255,.14);color: var(--nova-text)}
.btn:hover{background: rgba(255,255,255,.11)}
.btn-primary{background: linear-gradient(135deg, rgba(17,153,215,.95), rgba(248,139,58,.85));border:0;color:#0b1020;font-weight:1000}

.section-title{font-family: var(--nova-font-head)}
.section-title::after{content:"";display:block;width:120px;height:6px;border-radius:999px;margin-top:10px;
  background: linear-gradient(90deg, rgba(17,153,215,.95), rgba(248,139,58,.85), rgba(234,56,71,.85));}

.hero-nova{border-radius: var(--nova-radius2);background:
  radial-gradient(650px 420px at 15% 20%, rgba(17,153,215,.35), transparent 60%),
  radial-gradient(650px 420px at 85% 20%, rgba(248,139,58,.25), transparent 55%),
  radial-gradient(700px 520px at 55% 95%, rgba(234,56,71,.18), transparent 60%),
  rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--nova-shadow);
  padding: 22px; overflow:hidden; position:relative;}
.hero-nova h1{font-family: var(--nova-font-head); font-size:42px; margin:0 0 8px 0}
.hero-nova p{margin:0 0 14px 0; color: var(--nova-muted); font-weight:700}
@media (max-width:520px){.hero-nova h1{font-size:30px}}

.nova-search{display:flex;gap:10px;align-items:center;padding:10px;border-radius:16px;background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.12)}
.nova-search input{flex:1;background:transparent;border:0;outline:none;color:var(--nova-text);font-size:16px;font-weight:750;padding:10px}

.nova-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.nova-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);font-weight:900;font-size:13px;color:var(--nova-text)}
.nova-chip i{width:10px;height:10px;border-radius:999px;display:inline-block;background: rgba(17,153,215,.95)}
.nova-chip.is-active{background: rgba(255,255,255,.12)}

.nova-grid{display:grid;gap:12px;grid-template-columns: 1.35fr .65fr;align-items:start}
@media (max-width:980px){.nova-grid{grid-template-columns:1fr}}
.nova-rail{position:sticky;top:86px;border-radius: var(--nova-radius);background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);padding:14px;box-shadow: var(--nova-shadow2)}
.nova-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nova-kpi{border-radius:18px;padding:10px;background: rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}
.nova-kpi small{display:block;color:var(--nova-muted);font-weight:800}
.nova-kpi strong{font-family: var(--nova-font-head); font-size:20px}

.nova-feed{display:grid;gap:12px;grid-template-columns: repeat(12,1fr)}
.nova-feed .a{grid-column: span 7}
.nova-feed .b{grid-column: span 5}
.nova-feed .c{grid-column: span 4}
.nova-feed .d{grid-column: span 4}
.nova-feed .e{grid-column: span 4}
@media (max-width:980px){.nova-feed{grid-template-columns:1fr}.nova-feed .a,.nova-feed .b,.nova-feed .c,.nova-feed .d,.nova-feed .e{grid-column:auto}}

.nova-card{border-radius: var(--nova-radius);background: rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);overflow:hidden;position:relative;display:block}
.nova-card:hover{transform: translateY(-2px); box-shadow: var(--nova-shadow)}
.nova-card .topline{position:absolute;inset:0 auto auto 0;height:6px;width:100%;background: linear-gradient(90deg, rgba(17,153,215,.95), rgba(248,139,58,.85), rgba(234,56,71,.85));opacity:.85}
.nova-card .body{padding:16px}
.nova-card h3{margin:6px 0 8px 0;font-family: var(--nova-font-head);font-size:20px}
.nova-card p{margin:0;color: var(--nova-muted); font-weight:700}
.nova-card .meta{margin-top:10px;display:flex;gap:10px;align-items:center;color: var(--nova-muted);font-size:13px;font-weight:800}

.nova-loader{width:44px;height:44px;border-radius:999px;border:3px solid rgba(255,255,255,.18);border-top-color: rgba(17,153,215,.95);
  animation: spin .8s linear infinite; margin: 10px auto}
@keyframes spin{to{transform:rotate(360deg)}}

.nova-modal{position:fixed;inset:0;background: rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;padding:18px;z-index:9999}
.nova-modal.is-open{display:flex}
.nova-modal .panel{width:min(820px,100%);border-radius:26px;background:
  radial-gradient(650px 420px at 15% 20%, rgba(17,153,215,.25), transparent 60%),
  radial-gradient(650px 420px at 85% 20%, rgba(248,139,58,.20), transparent 55%),
  rgba(11,16,32,.92);
  border:1px solid rgba(255,255,255,.12); box-shadow: var(--nova-shadow); overflow:hidden}
.nova-modal .panel .head{padding:14px;border-bottom:1px solid rgba(255,255,255,.10);display:flex;gap:10px;align-items:center}
.nova-modal .panel .head input{flex:1;background: rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px;color: var(--nova-text);font-size:16px;font-weight:800;outline:none}
.nova-modal .panel .results{max-height:60vh;overflow:auto;padding:10px}
.nova-modal .panel .item{display:block;padding:12px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.05);margin-bottom:10px}
.nova-modal .panel .item:hover{background: rgba(255,255,255,.08);text-decoration:none}
.nova-modal .panel .item .t{font-family: var(--nova-font-head);font-weight:900}
.nova-modal .panel .item .s{color: var(--nova-muted);font-weight:700;margin-top:4px}


/* === NOVA LIGHT (v1.1) === */
:root{
  --nova-bg0: #f6f7fb;
  --nova-bg1: #ffffff;
  --nova-text: rgba(15,18,28,.92);
  --nova-muted: rgba(15,18,28,.62);
  --nova-card: rgba(255,255,255,.96);
  --nova-card2: rgba(255,255,255,.98);
  --nova-stroke: rgba(16,24,40,.10);
  --nova-shadow: 0 18px 60px rgba(16,24,40,.12);
  --nova-shadow2: 0 10px 28px rgba(16,24,40,.10);
}

body{
  background:
    radial-gradient(900px 700px at 12% 0%, rgba(17,153,215,.12), transparent 60%),
    radial-gradient(850px 650px at 85% 10%, rgba(248,139,58,.10), transparent 55%),
    radial-gradient(900px 700px at 85% 90%, rgba(83,86,255,.08), transparent 60%),
    radial-gradient(900px 700px at 15% 90%, rgba(234,56,71,.06), transparent 60%),
    linear-gradient(180deg, var(--nova-bg0), var(--nova-bg1));
  color: var(--nova-text);
}

.site-header{
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(16,24,40,.08);
}
.site-footer{
  background: rgba(255,255,255,.75);
  border-top: 1px solid rgba(16,24,40,.08);
  color: var(--nova-muted);
}
.btn{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(16,24,40,.12);
  color: var(--nova-text);
}
.btn:hover{background: rgba(255,255,255,.95)}
.btn-primary{
  color: #0b1020;
}

.hero-nova{
  background:
    radial-gradient(650px 420px at 15% 20%, rgba(17,153,215,.18), transparent 60%),
    radial-gradient(650px 420px at 85% 20%, rgba(248,139,58,.14), transparent 55%),
    radial-gradient(700px 520px at 55% 95%, rgba(234,56,71,.10), transparent 60%),
    rgba(255,255,255,.78);
  border: 1px solid rgba(16,24,40,.10);
}

.nova-search{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(16,24,40,.10);
}
.nova-search input{color: var(--nova-text)}
.nova-rail{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(16,24,40,.10);
}
.nova-kpi{background: rgba(255,255,255,.86); border: 1px solid rgba(16,24,40,.10)}
.nova-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,24,40,.10);
}
.nova-card:hover{box-shadow: var(--nova-shadow)}
.nova-card .topline{opacity:.9}

/* Featured image */
.nova-thumb{
  width:100%;
  aspect-ratio: 16 / 9;
  background: rgba(16,24,40,.06);
  border-bottom: 1px solid rgba(16,24,40,.08);
  overflow:hidden;
}
.nova-thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* Infinite scroll loader */
.infinite-loader{display:flex;justify-content:center;padding:18px}
.infinite-loader .nova-loader{margin:0}

.nova-modal{display:none !important}

/* === NOVA Light Mode (ARTIS requested) === */
body{
  background:
    radial-gradient(900px 700px at 12% 0%, rgba(17,153,215,.10), transparent 60%),
    radial-gradient(850px 650px at 85% 10%, rgba(248,139,58,.10), transparent 55%),
    radial-gradient(900px 700px at 85% 90%, rgba(83,86,255,.07), transparent 60%),
    radial-gradient(900px 700px at 15% 90%, rgba(234,56,71,.06), transparent 60%),
    linear-gradient(180deg, #f7f8ff, #ffffff);
  color: #121529;
}
.site-header{background: rgba(255,255,255,.72); border-bottom: 1px solid rgba(16,24,40,.08)}
.site-footer{background: rgba(255,255,255,.75); border-top: 1px solid rgba(16,24,40,.08); color: rgba(18,21,41,.75)}
.btn{background: rgba(18,21,41,.04); border: 1px solid rgba(16,24,40,.10); color:#121529}
.btn:hover{background: rgba(18,21,41,.06)}
.btn-primary{color:#0b1020}
.badge{background: rgba(18,21,41,.05); border: 1px solid rgba(16,24,40,.10); color:#121529}
.section-title::after{opacity:.9}
.hero-nova--light{background:
  radial-gradient(650px 420px at 15% 20%, rgba(17,153,215,.16), transparent 60%),
  radial-gradient(650px 420px at 85% 20%, rgba(248,139,58,.12), transparent 55%),
  radial-gradient(700px 520px at 55% 95%, rgba(234,56,71,.08), transparent 60%),
  rgba(255,255,255,.70);
  border: 1px solid rgba(16,24,40,.10);
}
.nova-rail--light{background: rgba(255,255,255,.65); border: 1px solid rgba(16,24,40,.08)}
.nova-kpi{background: rgba(18,21,41,.04); border:1px solid rgba(16,24,40,.10)}
.nova-kpi small{color: rgba(18,21,41,.65)}
.nova-search--simple{background: rgba(255,255,255,.75); border:1px solid rgba(16,24,40,.12)}
.nova-search--simple input{color:#121529}
.nova-chip{background: rgba(255,255,255,.70); border: 1px solid rgba(16,24,40,.10); color:#121529}
.nova-chip:hover{background: rgba(255,255,255,.92)}
.nova-console-title{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--nova-font-head);
  font-weight: 1000;
  font-size: 14px;
  letter-spacing: .2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18,21,41,.06);
  border: 1px solid rgba(16,24,40,.10);
}
.nova-tiles{display:grid; grid-template-columns: repeat(12,1fr); gap:12px}
.nova-tile{grid-column: span 3; padding:16px; border-radius: 20px; text-decoration:none;
  background: rgba(255,255,255,.75); border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 12px 24px rgba(16,24,40,.06);
}
.nova-tile:hover{transform: translateY(-2px); box-shadow: 0 18px 40px rgba(16,24,40,.10)}
.nova-tile .t{font-family: var(--nova-font-head); font-weight:1000; font-size:18px; color:#121529}
.nova-tile .s{margin-top:6px; color: rgba(18,21,41,.70); font-weight:800}
@media (max-width:980px){.nova-tile{grid-column: span 6}}
@media (max-width:520px){.nova-tile{grid-column: span 12}}

.nova-home-sections{display:grid; gap:16px}
.nova-home-block{border-radius: 24px; background: rgba(255,255,255,.65); border:1px solid rgba(16,24,40,.08); padding:14px; box-shadow: 0 16px 40px rgba(16,24,40,.06)}
.nova-home-block__head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding: 4px 4px 10px}
.nova-home-block__head .h{font-family: var(--nova-font-head); font-weight:1000; font-size:18px; color:#121529}
.nova-home-block__head .link{color: rgba(18,21,41,.75); font-weight:900; text-decoration:none}
.nova-home-block__head .link:hover{text-decoration:underline}
.nova-cards{display:grid; grid-template-columns: repeat(12,1fr); gap:12px}
.nova-post-card{grid-column: span 3; border-radius: 20px; overflow:hidden; text-decoration:none;
  background: rgba(255,255,255,.86); border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 12px 24px rgba(16,24,40,.06);
  display:flex; flex-direction:column; min-height: 260px;
}
.nova-post-card:hover{transform: translateY(-2px); box-shadow: 0 18px 40px rgba(16,24,40,.10)}
.nova-post-card .img{height: 130px; background-size: cover; background-position:center;}
.nova-post-card .img--ph{background: linear-gradient(135deg, rgba(17,153,215,.12), rgba(248,139,58,.10));}
.nova-post-card .body{padding:12px}
.nova-post-card h3{margin: 0 0 8px; font-family: var(--nova-font-head); font-weight:1000; font-size: 18px; color:#121529}
.nova-post-card p{margin:0; color: rgba(18,21,41,.72); font-weight:750}
.nova-post-card .meta{margin-top:10px; display:flex; gap:10px; align-items:center; color: rgba(18,21,41,.60); font-size: 13px; font-weight:850}
@media (max-width:980px){.nova-post-card{grid-column: span 6}}
@media (max-width:520px){.nova-post-card{grid-column: span 12}}

.nova-featured{margin: 16px 0 18px}
.nova-featured img{width:100%; height:auto; border-radius: 20px; border:1px solid rgba(16,24,40,.10); box-shadow: 0 16px 40px rgba(16,24,40,.10)}

.nova-legal{padding: 14px 0; border-top: 1px solid rgba(16,24,40,.10); background: rgba(255,255,255,.75)}
.nova-legal__inner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.nova-legal__links{display:flex; gap:10px; align-items:center; color: rgba(18,21,41,.75); font-weight:900}
.nova-legal__links a{color: inherit; text-decoration:none}
.nova-legal__links a:hover{text-decoration:underline}
.nova-legal__links .sep{opacity:.5}
.nova-credit{display:inline-flex; gap:10px; align-items:center; text-decoration:none; color: rgba(18,21,41,.75); font-weight:900}
.nova-credit:hover{text-decoration:underline}
.nova-credit__mark{
  width: 28px; height: 28px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(17,153,215,.95), rgba(248,139,58,.90), rgba(234,56,71,.85));
  box-shadow: 0 10px 26px rgba(17,153,215,.18);
  position: relative;
}
.nova-credit__mark:after{
  content:"";
  position:absolute; inset: 7px;
  border-radius: 8px;
  background: rgba(255,255,255,.75);
  mix-blend-mode: overlay;
  animation: novaPulse 2.8s ease-in-out infinite;
}
@keyframes novaPulse{
  0%,100%{transform: scale(1); opacity:.55}
  50%{transform: scale(1.08); opacity:.9}
}


/* === NOVA Mega Menu (Topics) === */
.nova-nav{display:flex; gap:10px; align-items:center}
.nova-mega-wrap{position:relative}
.nova-mega-btn{display:inline-flex; align-items:center; gap:8px; cursor:pointer}
.nova-mega-btn .caret{width:10px;height:10px;display:inline-block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-2px;opacity:.7}
.nova-mega{
  position:absolute; inset: calc(100% + 10px) auto auto 0;
  width: min(980px, calc(100vw - 28px));
  display:none;
  z-index: 999;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 22px 70px rgba(16,24,40,.16);
  overflow:hidden;
}
.nova-mega.is-open{display:block}
.nova-mega__top{
  padding: 14px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:
    radial-gradient(650px 420px at 15% 20%, rgba(17,153,215,.10), transparent 60%),
    radial-gradient(650px 420px at 85% 20%, rgba(248,139,58,.08), transparent 55%),
    rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(16,24,40,.08);
}
.nova-mega__top strong{font-family: var(--nova-font-head); font-weight:1000}
.nova-mega__grid{display:grid; grid-template-columns: repeat(12,1fr); gap:12px; padding: 14px 16px}
.nova-mega__col{grid-column: span 3; min-width: 0}
@media (max-width:980px){.nova-mega__col{grid-column: span 6}}
@media (max-width:520px){.nova-mega__col{grid-column: span 12}}
.nova-mega__title{
  font-family: var(--nova-font-head);
  font-weight: 1000;
  font-size: 15px;
  color:#121529;
  display:flex; align-items:center; gap:8px;
  margin-bottom:10px;
}
.nova-mega__title i{width:10px;height:10px;border-radius:999px;display:inline-block;background: linear-gradient(135deg, rgba(17,153,215,.95), rgba(248,139,58,.90))}
.nova-mega a{display:block; padding: 9px 10px; border-radius: 14px; text-decoration:none; color:#121529; font-weight:850}
.nova-mega a:hover{background: rgba(18,21,41,.05)}
.nova-mega__cta{padding: 12px 16px; border-top:1px solid rgba(16,24,40,.08); display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between}
.nova-mega__cta .hint{color: rgba(18,21,41,.70); font-weight:850}

/* === Mini Console Widget (always available) === */
.nova-mini-console{
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 9998;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.nova-mini-console__fab{
  display:inline-flex; align-items:center; gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17,153,215,.95), rgba(248,139,58,.88));
  color: #0b1020;
  border: 0;
  box-shadow: 0 18px 44px rgba(16,24,40,.18);
  cursor:pointer;
  font-weight: 1000;
}
.nova-mini-console__fab .dot{width:10px;height:10px;border-radius:999px;background: rgba(255,255,255,.85)}
.nova-mini-console__panel{
  width: min(360px, calc(100vw - 28px));
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 22px 70px rgba(16,24,40,.16);
  overflow:hidden;
  display:none;
}
.nova-mini-console__panel.is-open{display:block}
.nova-mini-console__head{
  padding: 12px 14px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border-bottom: 1px solid rgba(16,24,40,.08);
  background:
    radial-gradient(650px 420px at 15% 20%, rgba(17,153,215,.10), transparent 60%),
    radial-gradient(650px 420px at 85% 20%, rgba(248,139,58,.08), transparent 55%),
    rgba(255,255,255,.94);
}
.nova-mini-console__head strong{font-family: var(--nova-font-head); font-weight:1000; color:#121529}
.nova-mini-console__close{background: rgba(18,21,41,.05); border:1px solid rgba(16,24,40,.10); color:#121529; border-radius: 12px; padding: 8px 10px; cursor:pointer; font-weight:900}
.nova-mini-console__body{padding: 12px 14px}
.nova-mini-console__body .row{display:flex; gap:10px; align-items:center}
.nova-mini-console__body input{
  flex:1;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,24,40,.12);
  background: rgba(255,255,255,.92);
  color:#121529;
  font-weight:800;
  outline:none;
}
.nova-mini-console__links{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px}
.nova-mini-console__links a{display:flex; align-items:center; justify-content:center; padding: 10px 10px; border-radius: 14px; text-decoration:none; font-weight:900; color:#121529;
  background: rgba(18,21,41,.04); border:1px solid rgba(16,24,40,.10)}
.nova-mini-console__links a:hover{background: rgba(18,21,41,.06)}
@media (max-width:520px){
  .nova-mini-console{inset:auto 12px 12px 12px; align-items:stretch}
  .nova-mini-console__panel{width:100%}
  .nova-mini-console__fab{width:100%; justify-content:center}
}

/* Console image */
.nova-console-hero{
  display:flex; gap:14px; align-items:center; flex-wrap:wrap;
}
.nova-console-hero .visual{
  width: 220px;
  max-width: 38vw;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  background:
    radial-gradient(140px 120px at 25% 20%, rgba(17,153,215,.22), transparent 60%),
    radial-gradient(160px 140px at 75% 30%, rgba(248,139,58,.16), transparent 60%),
    radial-gradient(180px 160px at 55% 85%, rgba(83,86,255,.10), transparent 60%),
    rgba(255,255,255,.82);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 18px 40px rgba(16,24,40,.10);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.nova-console-hero .visual svg{width: 80%; height:auto; opacity:.95}

/* === v1.3.1 compact console + image crop fix === */
.hero-nova{padding:16px}
.hero-nova h1{font-size: clamp(28px, 3.2vw, 44px); margin: 10px 0 6px}
.hero-nova p{margin-top:6px}
.nova-console-hero .visual{width: 180px}
.nova-post-card .img{background-position: top center}

/* ===== ARTIS Nova patches 1.3.3 ===== */

/* Mega menu fallback without JS */
.nova-mega{display:none;}
.nova-mega-wrap:hover .nova-mega,
.nova-mega-wrap:focus-within .nova-mega{display:block;}
.nova-mega.is-open{display:block;}

/* Images: prevent "forehead crop" */
.nova-card__media img,
.post-card img,
.entry-card img{object-fit:cover; object-position:center;}
.nova-card__thumb,
.post-card__thumb,
.entry-card__thumb{background-position: top center !important;}

/* Mobile header: turn menu into horizontal tabs if visible */
@media (max-width: 920px){
  .site-nav{overflow:auto; -webkit-overflow-scrolling:touch;}
  .site-nav .menu{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:10px;
    padding: 6px 2px 10px;
  }
  .site-nav .menu > li{flex:0 0 auto;}
}

/* Mini console (accelerator) – futuristic */
.nova-mini-console__fab{
  position:relative;
  overflow:hidden;
}
.nova-mini-console__fab:before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 55%);
  transform: translateX(-35%);
  animation: novaSweep 3.8s ease-in-out infinite;
  pointer-events:none;
}
@keyframes novaSweep{
  0%,100%{transform: translateX(-35%)}
  50%{transform: translateX(35%)}
}

/* Language switcher pill */
.nova-lang{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,24,40,.10);
  font-weight: 900;
}
.nova-lang select{
  border:0; background:transparent; outline:none;
  font-weight:900; color:#121529;
}

/* If both quick paths + shortcuts exist, prefer mini accelerator */
.nova-quickpaths{display:none;}

/* ===== ARTIS Nova patches 1.3.4 ===== */

/* Mega menu: open UNDER the "נושאים" button (not to the side) */
.nova-mega-wrap{position:relative; display:inline-flex; align-items:center;}
.nova-mega{
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  min-width: min(920px, calc(100vw - 32px));
  max-width: 980px;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}
.nova-mega.is-open,
.nova-mega-wrap:hover .nova-mega,
.nova-mega-wrap:focus-within .nova-mega{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Console: tighten vertical space a bit */
.nova-console{padding: 18px 18px;}
.nova-console h1{margin: 0 0 8px;}
.nova-console .sub{margin-top:6px}

/* Console visual custom image */
.nova-console__visual-img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 22px;
}

/* ===== ARTIS Nova patches 1.3.5 ===== */

/* Header mobile: prevent overlap, use burger drawer */
.nova-burger{display:none; width:44px; height:44px; border-radius:14px; border:1px solid rgba(16,24,40,.10); background:rgba(255,255,255,.82); align-items:center; justify-content:center; cursor:pointer}
.nova-burger span{width:18px;height:2px;background:rgba(18,21,41,.75);display:block;position:relative}
.nova-burger span:before,.nova-burger span:after{content:"";position:absolute;left:0;width:18px;height:2px;background:rgba(18,21,41,.75)}
.nova-burger span:before{top:-6px}
.nova-burger span:after{top:6px}

@media (max-width: 920px){
  .site-header{position:sticky; top:0; z-index:9998; background:rgba(255,255,255,.92); backdrop-filter: blur(10px);}
  .site-header .wrap{align-items:center;}
  .site-nav .menu{display:none !important;}
  .nova-mega-wrap{display:none !important;}
  .nova-burger{display:inline-flex;}
  .nova-lang{padding:6px 8px;}
  .nova-lang span{display:none;}
  .nova-lang select{max-width:120px; font-size:14px;}
}

/* Drawer */
.nova-drawer{display:none; position:fixed; inset:0; z-index:10000;}
.nova-drawer.is-open{display:block;}
.nova-drawer__backdrop{position:absolute; inset:0; background:rgba(16,24,40,.35)}
.nova-drawer__panel{
  position:absolute; top:0; bottom:0; right:0;
  width:min(360px, calc(100vw - 36px));
  background: rgba(255,255,255,.97);
  border-left:1px solid rgba(16,24,40,.10);
  box-shadow:-18px 0 70px rgba(16,24,40,.18);
  padding: 14px;
  overflow:auto;
}
.nova-drawer__head{display:flex; align-items:center; justify-content:space-between; gap:10px}
.nova-drawer__head strong{font-family:var(--nova-font-head); font-weight:1000; font-size:18px}
.nova-drawer__close{background: rgba(18,21,41,.05); border:1px solid rgba(16,24,40,.10); color:#121529; border-radius: 12px; padding: 10px 12px; cursor:pointer; font-weight:900}
.nova-drawer__section{margin-top:14px; padding-top:14px; border-top:1px solid rgba(16,24,40,.08)}
.nova-drawer__t{font-family:var(--nova-font-head); font-weight:1000; margin-bottom:10px}
.nova-drawer__grid{display:grid; grid-template-columns: 1fr; gap:10px}
.nova-drawer__grid a{padding: 11px 12px; border-radius: 14px; text-decoration:none; font-weight:900; color:#121529; background: rgba(18,21,41,.04); border:1px solid rgba(16,24,40,.10)}
.nova-drawer__grid a:hover{background: rgba(18,21,41,.06)}

/* Magazine "Worth reading now" */
.nova-mag{margin-top:18px;}
.nova-mag__head{display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom:10px}
.nova-mag__head h2{margin:0; font-size:22px; font-weight:1000}
.nova-mag__head p{margin:0; color:rgba(18,21,41,.65); font-weight:800}
.nova-mag__rail{
  display:flex; gap:12px;
  overflow:auto; -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding-bottom: 6px;
}
.nova-mag__card{
  flex:0 0 auto;
  width: min(320px, 82vw);
  scroll-snap-align:start;
  border-radius: 22px;
  border:1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 60px rgba(16,24,40,.08);
  overflow:hidden;
  text-decoration:none;
  color:#121529;
}
.nova-mag__media{aspect-ratio: 16/9; background: rgba(18,21,41,.06);}
.nova-mag__media img{width:100%; height:100%; object-fit:cover; object-position:center; display:block;}
.nova-mag__body{padding:12px 12px 14px}
.nova-mag__title{font-weight:1000; font-size:16px; line-height:1.2; margin:0 0 6px}
.nova-mag__meta{display:flex; align-items:center; justify-content:space-between; gap:10px; font-weight:850; color:rgba(18,21,41,.58); font-size:12px}
.nova-mag__cats{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:12px;
}
.nova-mag__chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(16,24,40,.10);
  text-decoration:none; color:#121529; font-weight:900;
}
.nova-mag__chip:hover{background: rgba(18,21,41,.04);}

/* ===== ARTIS Nova patches 1.3.6 ===== */

/* Console shortcuts: same style as colored chips */
.nova-console .nova-shortcuts{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.nova-console .nova-shortcut{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.86);
  text-decoration:none;
  font-weight: 1000;
  color:#121529;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
}
.nova-console .nova-shortcut:hover{transform: translateY(-1px); box-shadow: 0 14px 30px rgba(16,24,40,.09);}
.nova-console .nova-shortcut[data-accent="blue"]{border-color: rgba(59,130,246,.25); background: rgba(59,130,246,.08);}
.nova-console .nova-shortcut[data-accent="orange"]{border-color: rgba(249,115,22,.25); background: rgba(249,115,22,.08);}
.nova-console .nova-shortcut[data-accent="green"]{border-color: rgba(34,197,94,.25); background: rgba(34,197,94,.08);}
.nova-console .nova-shortcut[data-accent="purple"]{border-color: rgba(168,85,247,.25); background: rgba(168,85,247,.08);}
.nova-console .nova-shortcut[data-accent="pink"]{border-color: rgba(236,72,153,.22); background: rgba(236,72,153,.08);}
.nova-console .nova-shortcut[data-accent="teal"]{border-color: rgba(20,184,166,.25); background: rgba(20,184,166,.08);}

/* Article TOC: make links clickable even if a layer overlaps */
.nova-toc, .entry-toc, .toc, .table-of-contents{position:relative; z-index:3;}
.nova-toc a, .entry-toc a, .toc a, .table-of-contents a{pointer-events:auto; cursor:pointer;}
.nova-toc *{pointer-events:auto;}
/* if any overlay exists on article, keep it behind */
.entry-content, .single .site-main{position:relative; z-index:1;}

/* Magazine rail: smooth auto scroll; stop on user interaction */
.nova-mag__rail{scroll-behavior:smooth;}
.nova-mag__rail.is-paused{scroll-behavior:auto;}

/* ARTIS Nova 1.3.7 build marker */

/* ARTIS Nova 1.3.8 build marker */

/* ===== ARTIS Nova patches 1.3.8 (nova-domfix) ===== */
.nova-console a, .nova-console button { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
.nova-console .is-accent { border-radius: 999px !important; border:1px solid rgba(16,24,40,.10) !important; box-shadow: 0 10px 24px rgba(16,24,40,.06) !important; font-weight:1000 !important; padding: 10px 12px !important; }
.nova-console .is-accent:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(16,24,40,.09) !important; }
.nova-console .is-accent.accent-blue{border-color: rgba(59,130,246,.25) !important; background: rgba(59,130,246,.08) !important;}
.nova-console .is-accent.accent-orange{border-color: rgba(249,115,22,.25) !important; background: rgba(249,115,22,.08) !important;}
.nova-console .is-accent.accent-green{border-color: rgba(34,197,94,.25) !important; background: rgba(34,197,94,.08) !important;}
.nova-console .is-accent.accent-purple{border-color: rgba(168,85,247,.25) !important; background: rgba(168,85,247,.08) !important;}
.nova-console .is-accent.accent-teal{border-color: rgba(20,184,166,.25) !important; background: rgba(20,184,166,.08) !important;}
.nova-console .is-accent.accent-pink{border-color: rgba(236,72,153,.22) !important; background: rgba(236,72,153,.08) !important;}

/* ARTIS Nova 1.3.9 build marker */

/* ARTIS Nova 1.4.0 build marker */

/* ARTIS Nova 1.4.2 build marker */


/* === v1.4.2 fixes === */
.nova-feed--cards{
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
}
@media (max-width: 720px){
  .nova-feed--cards{ grid-template-columns:1fr; }
}

.nova-mag__rail{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.nova-mag__card{ scroll-snap-align:start; }

.entry-sidebar{ position:relative; z-index:20; }
.nova-toc{ position:relative; z-index:25; }
.nova-toc a{ position:relative; z-index:26; pointer-events:auto; }

/* remove dev version badge if exists */
.nova-version-badge{ display:none !important; }



@media (max-width: 720px){
  .site-header .nova-topbar{
    flex-wrap:wrap;
    gap:10px;
    padding:10px 14px;
  }
  .site-header .nova-brand{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .site-header .nova-nav{
    width:100%;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }
  .site-header .nova-nav ul{
    flex-wrap:nowrap;
    white-space:nowrap;
  }
}



/* Read more button inside cards (not a link to avoid nested anchors) */
.nova-readmore{pointer-events:none;display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:9px 12px;border-radius:12px;font-weight:800;font-size:13px;line-height:1;background:rgba(17,153,215,.10);border:1px solid rgba(17,153,215,.18);color:#0a172a}
.nova-card:hover .nova-readmore{background:rgba(17,153,215,.14);border-color:rgba(17,153,215,.24)}

/* Mini chips row under the console search */
.nova-quick-grid--chips{display:flex;flex-wrap:wrap;gap:10px}
.nova-chip--mini{padding:10px 12px;border-radius:14px}
.nova-chip--mini span{font-size:13px}


/* Ensure any build/version badge never shows on production */
.nova-version-badge,.nova-build-badge,.nova-debug-badge,[data-nova-build-badge]{display:none!important}

/* Archive/category listing grid (no empty gaps) */
.nova-cards-grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));align-items:stretch}
.nova-cards-grid > a,.nova-cards-grid > .nova-card{width:100%}
@media (max-width:520px){.nova-cards-grid{grid-template-columns:1fr;gap:16px}}



/* --- Masonry cards for archives (reduce vertical holes) --- */
@media (min-width: 900px){
  .nova-cards-grid{
    display:block;
    column-count:3;
    column-gap:22px;
  }
  .nova-cards-grid .nova-card{
    display:inline-block;
    width:100%;
    break-inside:avoid;
    margin:0 0 22px;
  }
}
@media (min-width: 900px) and (max-width: 1200px){
  .nova-cards-grid{column-count:2;}
}

/* --- Read more button --- */
.nova-readmore{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  font-weight:800;
  color:var(--nova-text, #0f172a);
  box-shadow:0 8px 20px rgba(2,6,23,.06);
}
.nova-readmore:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(2,6,23,.10);
}
.nova-card__footer{display:flex; justify-content:flex-start; padding:0 18px 18px;}

/* --- Mobile header: burger right, logo center --- */
@media (max-width: 900px){
  .nova-header__inner{
    display:grid;
    grid-template-columns: 54px 1fr 54px;
    align-items:center;
    gap:10px;
  }
  .nova-nav-toggle{
    justify-self:end;
    width:46px; height:46px;
    border-radius:14px;
  }
  .nova-header__brand{
    justify-self:center;
    margin:0 !important;
  }
  .nova-header__brand img{
    height:44px !important;
    width:auto !important;
  }
  .nova-header__left,
  .nova-header__right{display:none !important;}
}

/* --- Mobile post padding --- */
@media (max-width: 900px){
  .nova-article{padding-left:14px; padding-right:14px;}
  .nova-article__content{padding-left:2px; padding-right:2px;}
}

/* --- Auto marquee for "הכי שווה לקרוא עכשיו" --- */
.nova-mag__rail{
  overflow:hidden;
}
.nova-mag__track{
  display:flex;
  align-items:stretch;
  gap:18px;
  width:max-content;
  will-change:transform;
  animation: novaMarquee var(--nova-marquee-duration, 55s) linear infinite;
  transform:translateX(0);
}
.nova-mag__rail:hover .nova-mag__track{ animation-play-state: paused; }
@keyframes novaMarquee{
  to{ transform: translateX(var(--nova-marquee-distance, -600px)); }
}

/* --- Hide build badge (if injected by snippets/plugins) --- */
.nova-build-badge, .artis-nova-badge, #artis-nova-badge, [data-build-badge]{
  display:none !important;
}

/* ===== ARTIS Nova 1.4.6 fixes ===== */

/* Console: remove clutter, add banner, keep only shortcuts under search */
.nova-console-hero{display:grid;grid-template-columns:1fr 340px;gap:18px;align-items:stretch;padding:22px;border-radius:22px;background:linear-gradient(120deg,rgba(210,236,255,.45),rgba(255,232,214,.45));box-shadow:0 18px 60px rgba(15,20,30,.08)}
.nova-console-main{min-width:0}
.nova-console-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.6);font-size:.85rem}
.nova-console-title{margin:10px 0 6px;font-size:2.25rem;line-height:1.1}
.nova-console-sub{margin:0 0 14px;color:rgba(0,0,0,.65)}
.nova-console-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.nova-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.7);text-decoration:none;font-weight:600}
.nova-console-start{margin-top:14px}
.nova-console-start__title{font-weight:800;margin:0 0 10px}
.nova-console-start__grid{display:flex;flex-wrap:wrap;gap:10px}
.nova-start-chip{display:inline-flex;align-items:center;padding:10px 12px;border-radius:14px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.55);text-decoration:none;font-weight:700}

/* Banner (replaces icon/adsense in console) */
.nova-console-banner{border-radius:18px;overflow:hidden;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.6);min-height:240px;display:flex;align-items:stretch}
.nova-console-banner img{width:100%;height:100%;object-fit:cover;display:block}
.nova-console-banner__ph{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:18px;text-align:center}
.nova-console-banner__ph span{font-size:2rem;font-weight:900}
.nova-console-banner__ph em{opacity:.7;font-style:normal;margin-top:6px}

/* Rails: ensure horizontal scroll exists so auto-scroll can work */
.nova-now__rail,.nova-mag__rail{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}

/* Mobile: readable padding for post content */
@media (max-width: 720px){
  .entry-content{padding-inline:16px}
  .nova-console-hero{grid-template-columns:1fr;}
  .nova-console-banner{min-height:160px}
}

/* Mobile header: hamburger right, logo centered (keep minimal) */
@media (max-width: 900px){
  .site-header .header-actions{display:none !important;}
  .site-header .header-inner{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;}
  .site-header .menu-toggle{grid-column:3;justify-self:end;min-width:44px;min-height:44px}
  .site-header .site-branding{grid-column:2;justify-self:center;}
}
