/* Homepage, improved (Derech Tzadikim). Approved mockup 20.11.2026. Navy #24356f, sky #1d6fb8, yellow #f7b928. */
.l2 .qs{margin:18px auto 0;max-width:1220px;background:#fff;border:1px solid #dfe5ee;border-radius:10px;box-shadow:0 6px 18px rgba(36,53,111,.08);padding:14px 18px;display:flex;align-items:flex-end;gap:12px;box-sizing:border-box}
.l2 .qs > b{font-size:18px;color:#24356f;white-space:nowrap;align-self:center}
.l2 .qs .f{flex:1;display:flex;flex-direction:column;gap:4px}
.l2 .qs .f span{font-size:13px;color:#555}
.l2 .qs .f input{height:44px;border:1px solid #cfd7e3;border-radius:6px;padding:0 12px;font:inherit;font-size:15px;color:#24356f;background:#fafbfd;box-sizing:border-box;width:100%}
.l2 .qs .seg{display:flex;border:1px solid #cfd7e3;border-radius:6px;overflow:hidden;align-self:flex-end}
.l2 .qs .seg label{padding:0 14px;height:42px;display:flex;align-items:center;font-size:14.5px;color:#1d6fb8;cursor:pointer}
.l2 .qs .seg input{display:none}
.l2 .qs .seg label.on{background:#1d6fb8;color:#fff;font-weight:700}
.l2 .qs button{height:44px;padding:0 26px;border:0;border-radius:6px;background:#f7b928;color:#24356f;font-weight:700;font-size:16px;font-family:inherit;cursor:pointer}
.l2 .trust{max-width:1220px;margin:10px auto 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px 34px;font-size:14.5px;color:#24356f}
.l2 .trust i{font-style:normal;color:#2e8b3e;font-weight:700;margin-inline-end:6px}
.l2 .trust a{color:inherit}

/* the card: one link, image, title, dates, description, price ($ and ₪), button */
.l2 .zsec{max-width:1220px;margin:0 auto;position:relative}
.l2 .zgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;list-style:none;margin:0;padding:0}
.l2 .zgrid > li{height:auto!important;width:auto!important;float:none!important;margin:0!important;padding:0!important;overflow:visible!important;list-style:none;background:none!important}
.l2 .zgrid > li:before,.l2 .zgrid > li:after{display:none!important}
.l2 .zc{--ac:#24356f;--bt:#f7b928;--btx:#24356f;--tint:#f3f6fb;display:flex;flex-direction:column;background:#fff;border:1px solid #e1e6ef;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(36,53,111,.07);transition:transform .15s,box-shadow .15s;color:#333;text-decoration:none;height:100%}
.l2 .zc:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(36,53,111,.16)}
.l2 .zc .im{position:relative;display:block;aspect-ratio:16/10;background:#dfe5ee center/cover no-repeat}
.l2 .zc .bdg{position:absolute;top:10px;right:10px;background:#e2432a;color:#fff;font-size:13px;font-weight:700;padding:4px 10px;border-radius:4px}
.l2 .zc .bdg.so{background:#555}
.l2 .zc .off{position:absolute;bottom:10px;left:10px;background:#e2432a;color:#fff;font-weight:700;font-size:14px;padding:4px 10px;border-radius:4px}
.l2 .zc .bd{display:flex;flex-direction:column;gap:8px;padding:14px 16px 0;flex:1}
.l2 .zc h3{margin:0;font-size:21px;line-height:1.3;color:var(--ac);font-weight:700}
.l2 .zc .dt{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--dtx,#1d6fb8);background:var(--band,#e8f2fb);margin:0 -16px;padding:8px 16px;line-height:1.35}
.l2 .zc .dt small{display:block;font-weight:400;color:#555;font-size:13px}
.l2 .zc .dt svg{width:16px;height:16px;flex:none}
.l2 .zc .ds{font-size:14px;line-height:1.5;color:#555;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.l2 .zc .bg{margin-top:10px;display:flex;justify-content:center;background:var(--tint);border-radius:8px;padding:6px 4px}
.l2 .zc .pr{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding:12px 16px 0;margin-top:12px;border-top:1px solid #edf0f5}
.l2 .zc .pr s{font-size:14px;font-weight:700;color:#999;margin-inline-start:6px}
.l2 .zc .pr .lbl{font-size:12.5px;color:#777;line-height:1.2}
.l2 .zc .pr .usd{font-size:30px;font-weight:700;color:var(--ac);line-height:1}
.l2 .zc .pr .ils{font-size:14px;color:#555;background:var(--tint);border-radius:14px;padding:3px 10px;white-space:nowrap}
.l2 .zc .cta{display:flex;align-items:center;justify-content:center;gap:10px;margin:12px 16px 16px;height:48px;border-radius:8px;background:var(--bt);color:var(--btx);font-weight:700;font-size:16.5px;box-shadow:0 3px 0 rgba(0,0,0,.12);transition:filter .15s}
.l2 .zc:hover .cta{filter:brightness(.93)}
.l2 .zc .cta svg{width:18px;height:18px}
.l2 .zc.so{opacity:.6}.l2 .zc.so .cta{background:#e6e9ef;color:#555;box-shadow:none}
/* baggage icons */
.l2 .bgi{display:inline-flex;gap:10px;align-items:flex-start;direction:rtl}
.l2 .bgi .it{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:36px;cursor:help}
.l2 .bgi svg{width:20px;height:20px}
.l2 .bgi small{font-size:10.5px;line-height:1.1;white-space:nowrap}
.l2 .bgi .y{color:#2e8b3e}.l2 .bgi .n{color:#a9b0bd}.l2 .bgi .n svg{opacity:.75}
/* 2 our specials: no band, orange button */
.l2 .sp{padding:24px 0 10px;margin-top:0}
.l2 .sp h2{color:#24356f;font-size:28px;margin:0 0 6px;display:flex;align-items:center;gap:10px}
.l2 .sp h2 i{font-style:normal;color:#f7b928}
.l2 .sp .sub,.l2 .pk .sub,.l2 .tr .sub{font-size:15.5px;color:#555;margin:0 0 20px}
.l2 .sp .zgrid{grid-template-columns:repeat(3,1fr)}
.l2 .sp .zc{--band:#fff1dc;--dtx:#24356f;--bt:#f28c28;--btx:#24356f}
/* 4 packages: same card, sky colours */
.l2 .pk{background:#eef5fc;padding:34px 0 38px;margin:10px 0 0}
.l2 .pk .zc{--ac:#1d6fb8;--bt:#1d6fb8;--btx:#fff;--tint:#e8f2fb;--band:#1d6fb8;--dtx:#fff;border-color:#cfe0f2}
.l2 .pk .zc .dt small{color:#d6e7f7}
.l2 .pk h2,.l2 .tr h2{font-size:28px;color:#24356f;margin:0 0 6px;font-weight:700}
.l2 .pk .cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.l2 .pk .col h4{display:flex;align-items:center;gap:8px;font-size:19px;color:#1d6fb8;margin:0 0 12px}
.l2 .pk .col h4 span{font-size:13px;font-weight:400;color:#555;background:#fff;border:1px solid #cfe0f2;border-radius:12px;padding:2px 9px}
.l2 .pk .col .zgrid{grid-template-columns:1fr 1fr}
.l2 .pk .all{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;height:44px;border:2px solid #1d6fb8;border-radius:8px;color:#1d6fb8;font-weight:700;font-size:15.5px;background:#fff;text-decoration:none}
.l2 .pk .all svg{width:18px;height:18px}
/* 5 travelling abroad */
.l2 .tr{padding:36px 0 60px}
.l2 .tr .zgrid{grid-template-columns:repeat(3,1fr)}
.l2 .tr .zc{--ac:#24356f;--bt:#24356f;--btx:#fff;--tint:#fff7e0}
.l2 .tr .zc .ic{position:absolute;bottom:-22px;right:16px;width:46px;height:46px;border-radius:50%;background:#f7b928;color:#24356f;display:grid;place-items:center;box-shadow:0 3px 8px rgba(0,0,0,.18)}
.l2 .tr .zc .ic svg{width:24px;height:24px}
.l2 .tr .zc .bd{padding-top:28px}
/* 6 service tiles */
.l2 .tl{background:#f3f6fb;padding:40px 0 46px}
.l2 .tl ul{max-width:1220px;margin:0 auto;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.l2 .tl li{list-style:none;margin:0;padding:0;float:none;width:auto;height:auto}
.l2 .tl a{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e1e6ef;border-radius:12px;padding:18px 20px;text-decoration:none;color:#24356f;box-shadow:0 2px 8px rgba(36,53,111,.06);transition:transform .15s,box-shadow .15s}
.l2 .tl a:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(36,53,111,.14)}
.l2 .tl .ti{width:54px;height:54px;border-radius:50%;background:#24356f;color:#f7b928;display:grid;place-items:center;font-size:24px;flex:none}
.l2 .tl b{font-size:19px;flex:1}
.l2 .tl svg{width:20px;height:20px;color:#1d6fb8}
.l2 + .footer-menu,.footer-menu{height:auto!important;min-height:0!important}

/* tablets and phones */
@media (max-width:1240px){ .l2 .zsec,.l2 .qs,.l2 .trust,.l2 .tl ul{margin-left:16px;margin-right:16px} }
@media (max-width:1000px){
	.l2 .zgrid{grid-template-columns:repeat(2,1fr)}
	.l2 .sp .zgrid,.l2 .tr .zgrid{grid-template-columns:repeat(2,1fr)}
	.l2 .pk .cols{grid-template-columns:1fr}
	.l2 .tl ul{grid-template-columns:repeat(2,1fr)}
	.l2 .qs{flex-wrap:wrap}.l2 .qs > b{width:100%}
}
@media (max-width:640px){
	.l2 .zgrid,.l2 .sp .zgrid,.l2 .tr .zgrid,.l2 .pk .col .zgrid{grid-template-columns:1fr}
	.l2 .tl ul{grid-template-columns:1fr}
	.l2 .qs .f{flex:1 1 40%}.l2 .qs button{width:100%}
	.l2 .sp h2,.l2 .pk h2,.l2 .tr h2{font-size:23px}
}

/* the header logo: 134px tall at the top of the page on the live site; 84px on the improved pages */
.site-header:not(.scroll) div.logo img{height:84px!important;width:auto!important}

/* test hosts only: the red "אתר בדיקה" strip sat on top of the live header and hid its top row; the header starts below it */
body:has(#stg-strip) .site-header{top:27px!important}
body:has(#stg-strip) .site-header + *{margin-top:27px}

/* Netivim: between 1000 and 1300 the desktop menu ran into the logo */
@media (min-width:1001px) and (max-width:1300px){
	body:has([data-brand="nt"]) .site-header .menu-strip ul.sf-js-enabled{margin-right:126px!important}
	body:has([data-brand="nt"]) .site-header .menu-strip ul.sf-js-enabled > li > a{font-size:16px!important;padding-left:11px!important}
}
/* Netivim 1121-1300 (iPad landscape): the logo column is 300px wide there, so the menu wrapped; a narrow logo column and a wider menu column */
@media (min-width:1121px) and (max-width:1300px){
	body:has([data-brand="nt"]) .site-header .menu-strip ul.sf-js-enabled{margin-right:0!important}
	body:has([data-brand="nt"]) .site-header div.logo{width:140px!important}
	body:has([data-brand="nt"]) .site-header .page-wrapper > .left.float-left{width:calc(100% - 150px)!important}
}
/* the quick search (23.11): empty date fields say "בחרו תאריך" (iPad showed them blank), no field runs under the button, two rows below 1100px */
.l2 .qs .f{position:relative;min-width:0}
.l2 .qs .f input{min-width:0;-webkit-appearance:none;appearance:none;line-height:42px;text-align:right}
.l2 .qs .f:not(.v) input{color:transparent}
.l2 .qs .f:not(.v) input:focus{color:inherit}
.l2 .qs .f .ph{position:absolute;right:14px;bottom:0;height:44px;line-height:44px;font-style:normal;font-size:15px;color:#8a94a6;pointer-events:none}
.l2 .qs .f.v .ph,.l2 .qs .f:focus-within .ph{display:none}
.l2 .qs button{flex:none}
/* two rows: what (title, midweek/weekend, direction), then when (dates) and the button */
.l2 .qs{flex-wrap:wrap;align-items:flex-end;row-gap:14px}
.l2 .qs > b{align-self:center;margin-inline-end:6px}
.l2 .qs .br{flex-basis:100%;height:0}
.l2 .qs .seg{align-self:center}
.l2 .qs .seg.dir{margin-inline-start:auto}
.l2 .qs .seg.kind label{flex-direction:column;justify-content:center;gap:0;line-height:1.15;height:50px;padding:0 20px;font-size:16px;font-weight:700}
.l2 .qs .seg.kind label small{font-size:12px;font-weight:400;opacity:.85}
.l2 .qs .f{flex:1 1 200px}
.l2 .qs button{min-width:170px}
@media (max-width:700px){
	.l2 .qs > b{width:100%}
	.l2 .qs .seg{width:100%}.l2 .qs .seg label{flex:1;justify-content:center}
	.l2 .qs .seg.dir{margin:0}
	.l2 .qs .f{flex:1 1 40%}.l2 .qs button{width:100%}
}

/* Derech: a compact live header on the improved pages (less grey under the menu; the content starts below it) */
body:has([data-brand="zt"]) .site-header:not(.scroll){min-height:0!important}
body:has([data-brand="zt"]) .site-header:not(.scroll) > .page-wrapper{padding-bottom:6px!important}
body:has([data-brand="zt"]) .site-header:not(.scroll) .menu-strip{padding-top:6px!important;height:auto!important}
body:has([data-brand="zt"]) .site-header:not(.scroll) .menu-strip ul{height:auto!important}

/* the quick search on ONE row (23.11, iPad): the title is the label above midweek/weekend, like the date labels; wraps to two rows only below 900px */
.l2 .qs{flex-wrap:nowrap;align-items:flex-end;padding:12px 16px}
.l2 .qs .g{display:flex;flex-direction:column;gap:4px;flex:none}
.l2 .qs .g > b{font-size:13px;font-weight:700;color:#24356f;line-height:1.3}
.l2 .qs .seg,.l2 .qs .seg.dir{align-self:flex-end;margin:0;flex:none}
.l2 .qs .seg.kind label{height:44px;padding:0 14px;font-size:15px}
.l2 .qs .seg.kind label small{font-size:11px}
.l2 .qs .seg label{height:44px;padding:0 12px;white-space:nowrap}
.l2 .qs .f{flex:1 1 120px}
.l2 .qs button{min-width:0;padding:0 18px;white-space:nowrap}
@media (max-width:900px){
	.l2 .qs{flex-wrap:wrap;row-gap:12px}
	.l2 .qs .g{order:1}.l2 .qs .seg.dir{order:2;margin-inline-start:auto}
	.l2 .qs::before{content:"";order:3;flex-basis:100%;height:0}
	.l2 .qs .f{order:4;flex:1 1 30%}.l2 .qs button{order:5}
}
@media (max-width:700px){
	.l2 .qs .g,.l2 .qs .seg{width:100%}
	.l2 .qs .f{flex:1 1 40%}.l2 .qs button{width:100%}
}

/* specials: no subtitle any more (23.11), so the cards keep a gap under the heading */
.l2 .sp h2 + .zgrid{margin-top:16px}
