/* Travel Deal Israel - new design (Option C). Loaded only on redesigned pages. */
/* Option C – Bright & Family: photo slideshow, rounded, playful color */
:root {
  --blue: #1a73e8; --blue-d: #0f3d7a; --sky: #eef6ff; --yellow: #ffc83d; --coral: #ff6f5e; --green: #2fbf8f;
  --ink: #142640; --muted: #5d6c82; --line: #dfe8f3;
  --r: 22px; --shadow: 0 14px 40px rgba(20, 60, 120, .12);
  --font: "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; font-weight: 900; color: var(--blue-d); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; font: 800 1rem var(--font); padding: .9em 1.7em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--blue-d); box-shadow: 0 8px 20px rgba(255, 200, 61, .45); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(26, 115, 232, .35); }
.btn--blue:hover { background: var(--blue-d); }
.btn--line { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .12); margin-left: .6rem; }
.btn--ghost:hover { background: rgba(255, 255, 255, .25); }
@media (max-width: 560px) { .btn--ghost { margin-left: 0; } }
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }
.btn--full { width: 100%; }
.pill { text-decoration: none; font-weight: 800; padding: .55em 1.1em; border-radius: 999px; }
.pill--phone { background: var(--sky); color: var(--blue); }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; padding: .3em .9em; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(4px); }
.tag--yellow { background: var(--yellow); color: var(--blue-d); }
.tag--blue { background: #e3efff; color: var(--blue); }
.tag--coral { background: #ffe6e2; color: #d64533; }
.tag--green { background: #dcf6ec; color: #138a62; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 60, 120, .1); }
.header__in { display: flex; align-items: center; gap: 1.6rem; height: 76px; }
.logo { margin-right: auto; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: .3rem; }
.nav a { text-decoration: none; font-weight: 700; padding: .5em .9em; border-radius: 999px; transition: .15s; }
.nav a:hover { background: var(--sky); color: var(--blue); }
.burger { display: none; background: var(--sky); border: 0; border-radius: 12px; padding: 10px 9px; cursor: pointer; position: relative; z-index: 70; }
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--blue); margin: 4px 0; transition: .2s; }

/* hero slideshow */
.hero { position: relative; height: min(78vh, 680px); min-height: 480px; overflow: hidden; margin: 0 16px; border-radius: 0 0 36px 36px; background: var(--blue-d); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(10, 35, 75, .78) 0%, rgba(10, 35, 75, .35) 55%, rgba(10, 35, 75, .05) 100%), var(--img) center / cover no-repeat; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide__in { color: #fff; padding-bottom: 80px; width: 100%; }
.slide h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); margin: .6rem 0 .8rem; letter-spacing: -.02em; text-shadow: 0 4px 24px rgba(0, 0, 0, .3); }
.slide p { font-size: 1.2rem; max-width: 30rem; margin: 0 0 1.6rem; font-weight: 600; }
.slide .btn { transform: none; }
.slide.is-active .slide__in > * { animation: rise .8s both; }
.slide.is-active .slide__in > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide__in > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide__in > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 110px; z-index: 3; display: flex; align-items: center; gap: 1rem; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.arrow:hover { background: rgba(255, 255, 255, .35); }
.dots { display: flex; gap: .5rem; }
.dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: .3s; padding: 0; }
.dots .is-active { width: 34px; background: var(--yellow); }

/* search card */
.search { position: relative; z-index: 5; margin-top: -84px; background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px rgba(15, 61, 122, .2); padding: .8rem; }
.search__tabs { display: inline-flex; background: var(--sky); border-radius: 999px; padding: 4px; margin: .2rem .4rem .6rem; }
.search__tabs button { border: 0; background: transparent; font: 800 .95rem var(--font); color: var(--muted); padding: .55em 1.2em; border-radius: 999px; cursor: pointer; }
.search__tabs .is-active { background: #fff; color: var(--blue); box-shadow: 0 3px 10px rgba(20, 60, 120, .12); }
.search__row { display: none; grid-template-columns: 1.4fr 1fr 1fr .7fr 1.1fr auto; gap: .6rem; align-items: end; padding: 0 .4rem .4rem; }
#packageForm.search__row { grid-template-columns: 1.4fr 1fr .8fr 1.4fr auto; }
.search__row.is-active { display: grid; }
.search__row .btn { height: 54px; }
.f { min-width: 0; display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 800; color: var(--muted); }
.f input, .f select, .f textarea { font: 600 1rem var(--font); color: var(--ink); height: 54px; padding: 0 1rem; border: 2px solid var(--line); border-radius: 14px; background: #f8fbff; width: 100%; }
.f textarea { height: auto; padding: .8rem 1rem; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.badges { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.badges li { display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--blue-d); }
.badges span { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; font-size: 1.3rem; flex: none; }

/* sections */
.sec { padding: 5rem 0; }
.sec--sky { background: var(--sky); border-radius: 40px; margin: 0 16px; }
.head { text-align: center; margin-bottom: 2.6rem; }
.head p { color: var(--muted); margin: 0; font-weight: 600; }
.head--row { text-align: left; }

.pb { --pb-radius: 26px; --pb-font-head: var(--font); }
.pb__title h2 { font-weight: 900; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.perk { background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 1.5rem; transition: .2s; }
.perk:hover { border-color: var(--blue); transform: translateY(-4px); }
.perk__i { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: .9rem; }
.perk__i--blue { background: #e3efff; } .perk__i--yellow { background: #fff3cf; } .perk__i--coral { background: #ffe6e2; } .perk__i--green { background: #dcf6ec; }
.perk h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.perk p { margin: 0; color: var(--muted); font-size: .95rem; }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: transform .3s; }
.mosaic img:hover { transform: scale(1.02); }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }

/* trips */
.trips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.trip { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .2s; }
.trip:hover { transform: translateY(-5px); }
.trip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trip__b { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.trip h3 { font-size: 1.3rem; margin: .6rem 0 .3rem; }
.trip p { color: var(--muted); font-size: .95rem; flex: 1; margin: 0 0 1rem; }

/* destinations + hotels */
.dest-row { display: flex; gap: 1rem; overflow-x: auto; padding: .4rem .2rem 1.2rem; margin-bottom: 1.6rem; scrollbar-width: thin; }
.dest-row > * { flex: none; display: flex; flex-direction: column; align-items: center; gap: .6rem; font: 800 1rem var(--font); color: var(--blue-d); background: none; border: 0; cursor: pointer; text-decoration: none; }
.dest-row img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); transition: .2s; }
.dest-row button:hover img { border-color: var(--yellow); transform: scale(1.05); }
.dest-row__more { width: 110px; height: 110px; border-radius: 50%; background: var(--blue); color: #fff !important; justify-content: center; font-size: 1.6rem !important; line-height: 1; text-align: center; }
.dest-row__more small { font-size: .85rem; }
.hotels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.hotel { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.hotel__img { position: relative; }
.hotel__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hot { position: absolute; top: 12px; left: 12px; background: var(--coral); color: #fff; font-weight: 800; font-size: .8rem; padding: .3em .8em; border-radius: 999px; }
.hotel__b { padding: 1.1rem 1.2rem 1.3rem; }
.hotel h3 { font-size: 1.15rem; margin: 0; }
.hotel small { color: var(--muted); font-weight: 700; }
.hotel p { margin: .4rem 0 .7rem; font-size: .93rem; color: var(--muted); }
.hotel a { color: var(--blue); font-weight: 800; text-decoration: none; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.review { margin: 0; background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; }
.stars { color: var(--yellow); font-size: 1.15rem; letter-spacing: .1em; }
.review blockquote { margin: .6rem 0 1.2rem; font-weight: 700; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--muted); }
.review figcaption b { display: block; color: var(--ink); }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 900; flex: none; }
.av--y { background: var(--yellow); color: var(--blue-d); } .av--c { background: var(--coral); } .av--g { background: var(--green); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; background: linear-gradient(135deg, var(--blue) 0%, #3f8ff5 100%); border-radius: 36px; padding: 3rem; color: #fff; }
.contact h2 { color: #fff; }
.contact__l p { font-size: 1.1rem; font-weight: 600; opacity: .95; }
.contact__big { display: block; font-size: 2rem; font-weight: 900; text-decoration: none; margin-top: 1.4rem; }
.contact__mail { font-weight: 700; text-decoration: none; opacity: .95; }
.contact__img { margin-top: 2rem; border-radius: 22px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border: 5px solid rgba(255, 255, 255, .3); }
.form { background: #fff; color: var(--ink); border-radius: 26px; padding: 2rem; display: grid; gap: 1rem; align-self: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.status { margin: 0; text-align: center; color: #138a62; font-weight: 800; min-height: 1em; }

/* footer */
.footer { background: var(--blue-d); color: #b9cbe6; padding: 3.5rem 0 0; margin-top: 4rem; font-size: .95rem; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer__logo { height: 52px; width: auto; background: #fff; padding: 6px 12px; border-radius: 14px; }
.footer h4 { color: #fff; margin: 0 0 .8rem; }
.footer nav a { display: block; text-decoration: none; margin-bottom: .45rem; font-weight: 600; }
.footer nav a:hover { color: var(--yellow); }
.footer__bot { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: .78rem; }
.credits { opacity: .7; }

/* ---------- inner pages ---------- */
.nav a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.phero { position: relative; margin: 0 16px; border-radius: 0 0 36px 36px; overflow: hidden; color: #fff; padding: 4.5rem 0 4rem;
  background: linear-gradient(90deg, rgba(10, 35, 75, .85) 0%, rgba(10, 35, 75, .45) 60%, rgba(10, 35, 75, .15) 100%), var(--img, linear-gradient(135deg, var(--blue), #3f8ff5)) center / cover no-repeat; }
/* Package page: photos fade one into the next behind the title */
.phero--slides { background: var(--blue-d); }
.phero__bg { position: absolute; inset: 0; }
.phero__s { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; background: var(--img) center / cover no-repeat; }
.phero__s.is-active { opacity: 1; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 35, 75, .85) 0%, rgba(10, 35, 75, .45) 60%, rgba(10, 35, 75, .15) 100%); }
.phero--slides > .wrap { position: relative; z-index: 1; }
.phero--plain { --img: linear-gradient(135deg, var(--blue) 0%, #3f8ff5 100%); padding: 3.5rem 0 3rem; }
.phero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); margin: .5rem 0 .6rem; letter-spacing: -.02em; }
.phero p { font-size: 1.15rem; font-weight: 600; max-width: 38rem; margin: 0; opacity: .95; }
.phero .btn { margin-top: 1.6rem; }
.crumbs { font-size: .85rem; font-weight: 700; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.facts li { background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); padding: .45em 1em; border-radius: 999px; font-weight: 800; font-size: .92rem; }

.subnav { position: sticky; top: 76px; z-index: 30; background: #fff; border-bottom: 2px solid var(--line); }
.subnav .wrap { display: flex; gap: .3rem; overflow-x: auto; padding-top: .5rem; padding-bottom: .5rem; scrollbar-width: none; }
.subnav a { flex: none; text-decoration: none; font-weight: 800; font-size: .92rem; padding: .45em 1em; border-radius: 999px; color: var(--muted); }
.subnav a:hover { background: var(--sky); color: var(--blue); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.prose { max-width: 46rem; }
.prose p, .prose li { color: #34465f; }
.prose h2 { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 2rem; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #dcf6ec; color: #138a62; font-weight: 900; font-size: .8rem; display: grid; place-items: center; }
.note { background: #fff8e1; border: 2px dashed #f2c94c; border-radius: 16px; padding: .9rem 1.1rem; font-weight: 700; color: #6b5300; font-size: .95rem; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.scholar { background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 1.6rem; text-align: center; }
.scholar img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 5px solid var(--yellow); }
.scholar h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.scholar small { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.scholar p { color: var(--muted); font-size: .93rem; text-align: left; margin: .9rem 0 0; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--blue) 0%, #3f8ff5 100%); color: #fff; border-radius: 32px; padding: 2.4rem 2.6rem; }
.cta h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { margin: 0; font-weight: 600; opacity: .95; }
.cta__btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.cta .btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }

.trips--2 { grid-template-columns: repeat(2, 1fr); }
.trips--2 .trip img { aspect-ratio: 16 / 9; }

/* itinerary */
.tour-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.days { list-style: none; margin: 0; padding: 0; position: relative; }
.days::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: var(--line); border-radius: 3px; }
.day { position: relative; padding: 0 0 2rem 78px; }
.day__n { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 18px; background: var(--blue); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; font-weight: 900; font-size: 1.3rem; box-shadow: 0 6px 16px rgba(26, 115, 232, .35); }
.day__n small { display: block; font-size: .6rem; letter-spacing: .08em; font-weight: 800; opacity: .85; margin-bottom: 2px; }
.day--free .day__n { background: var(--yellow); color: var(--blue-d); box-shadow: 0 6px 16px rgba(255, 200, 61, .45); }
.day h3 { font-size: 1.2rem; margin: .2rem 0 .15rem; }
.day__meta { font-size: .85rem; font-weight: 800; color: var(--muted); }
.day ul { margin: .6rem 0 0; padding-left: 1.1rem; color: #34465f; }
.day li { margin-bottom: .35rem; }
.day li::marker { color: var(--blue); }
.stay { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; background: var(--sky); color: var(--blue-d); font-weight: 800; font-size: .85rem; padding: .35em .9em; border-radius: 999px; }
.aside { position: sticky; top: 150px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1.6rem; display: grid; gap: .9rem; }
.aside h3 { margin: 0; font-size: 1.25rem; }
.aside dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .95rem; }
.aside dt { color: var(--muted); font-weight: 700; }
.aside dd { margin: 0; font-weight: 800; }
.route { display: flex; flex-wrap: wrap; gap: .4rem; }
.route span { background: var(--sky); color: var(--blue); font-weight: 800; font-size: .8rem; padding: .3em .8em; border-radius: 999px; }

/* hotels list */
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.chips button { border: 2px solid var(--line); background: #fff; font: 800 .9rem var(--font); color: var(--ink); padding: .5em 1.1em; border-radius: 999px; cursor: pointer; }
.chips button small { color: var(--muted); font-weight: 700; margin-left: .25em; }
.chips button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips button.is-active small { color: #d6e6ff; }
.hlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.hrow { display: flex; align-items: center; gap: 1rem; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: .9rem 1rem; text-decoration: none; transition: .15s; }
.hrow:hover { border-color: var(--blue); transform: translateY(-2px); }
.hrow__ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--sky); display: grid; place-items: center; font-size: 1.3rem; }
.hrow b { display: block; color: var(--blue-d); line-height: 1.25; }
.hrow span { font-size: .85rem; color: var(--muted); font-weight: 700; }
.hrow .st { color: #f0a500; letter-spacing: .05em; }
.is-hidden { display: none !important; }
.searchbar { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: .6rem; align-items: end; background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px rgba(15, 61, 122, .2); padding: 1rem; margin-top: -48px; position: relative; z-index: 5; }
.searchbar .btn { height: 54px; }

/* hotel detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 10px; margin-top: 2rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.gallery img:first-child { grid-row: span 2; }
.stars-lg { color: #f0a500; font-size: 1.1rem; letter-spacing: .1em; }
.book { position: sticky; top: 100px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1.5rem; display: grid; gap: .8rem; }
.book h3 { margin: 0; }
.book .two { gap: .6rem; }
.book small { color: var(--muted); font-weight: 600; text-align: center; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.amen li { background: var(--sky); border-radius: 14px; padding: .7rem .9rem; font-weight: 700; font-size: .93rem; }

/* faq + policies */
.faq { display: grid; gap: .8rem; max-width: 52rem; margin: 0 auto; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 0 1.3rem; transition: border-color .15s; }
.faq details[open] { border-color: var(--blue); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.05rem; color: var(--blue-d); padding: 1.1rem 2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; color: #34465f; }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: .3rem; }
.toc a { text-decoration: none; font-weight: 800; color: var(--muted); padding: .55em 1em; border-radius: 12px; }
.toc a:hover { background: var(--sky); color: var(--blue); }
.doc section { scroll-margin-top: 100px; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 2px solid var(--line); }
.doc section:last-child { border-bottom: 0; }
.doc ul { padding-left: 1.2rem; color: #34465f; }
.doc li { margin-bottom: .45rem; }

.credits-t { width: 100%; border-collapse: collapse; font-size: .93rem; }
.credits-t th, .credits-t td { text-align: left; padding: .75rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.credits-t th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.credits-t img { width: 72px; height: 50px; object-fit: cover; border-radius: 8px; }
.credits-t a { color: var(--blue); font-weight: 700; }
.tablewrap { overflow-x: auto; }
.footer__bot a { color: inherit; }

.mbar { display: none; }
.reveal { opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s, transform .5s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .slide { transition: none; } .slide.is-active .slide__in > * { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 1100px) {
  .search__row, #packageForm.search__row { grid-template-columns: repeat(3, 1fr); }
  .search__row .f:first-child { grid-column: span 3; }
  .search__row .btn { grid-column: 1 / -1; }
  .trips, .hotels, .reviews, .perks { grid-template-columns: 1fr 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .hlist, .cards3 { grid-template-columns: 1fr 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .aside, .book { position: static; }
}
@media (max-width: 900px) {
  .pill--phone { display: none; }
  .burger { display: block; }
  .nav { position: fixed; top: 0; left: 0; right: 0; background: #fff; flex-direction: column; gap: .2rem; padding: 5.5rem 20px 1.5rem; border-radius: 0 0 28px 28px; box-shadow: 0 20px 40px rgba(0, 0, 0, .12); transform: translateY(-105%); transition: transform .35s; z-index: 60; }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.15rem; padding: .8rem 1rem; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .hero { margin: 0; border-radius: 0 0 28px 28px; }
  .slide { background: linear-gradient(0deg, rgba(10, 35, 75, .85) 0%, rgba(10, 35, 75, .3) 70%), var(--img) center / cover no-repeat; align-items: flex-end; }
  .slide__in { padding-bottom: 130px; }
  .hero { height: auto; min-height: 660px; }
  .hero__ctrl { bottom: 100px; justify-content: center; }
  .arrow { display: none; }
  .contact { grid-template-columns: 1fr; padding: 2rem 1.3rem; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .sec--sky { margin: 0; border-radius: 28px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .phero { margin: 0; border-radius: 0 0 28px 28px; padding: 3rem 0 2.8rem; }
  .subnav { top: 76px; }
  .split, .doc { grid-template-columns: 1fr; gap: 2rem; }
  .split--rev > :first-child { order: 0; }
  .toc { position: static; display: flex; flex-wrap: wrap; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .f:first-child, .searchbar .btn { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 130px; }
  .gallery img:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery img:nth-child(n+4) { display: none; }
  .cta { padding: 2rem 1.4rem; }
  .mbar { display: grid; grid-template-columns: 1fr 1.6fr; gap: .6rem; position: fixed; inset: auto 0 0; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .1); z-index: 40; }
  body { padding-bottom: 74px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 3.5rem 0; }
  .search__row, #packageForm.search__row { grid-template-columns: 1fr 1fr; }
  .search__row .f:first-child { grid-column: span 2; }
  .search__tabs { display: flex; }
  .search__tabs button { flex: 1; padding: .55em .5em; }
  .trips, .hotels, .reviews, .perks, .two, .hlist, .cards3, .amen { grid-template-columns: 1fr; }
  .day { padding-left: 66px; }
  .day__n { width: 48px; height: 48px; font-size: 1.1rem; }
  .days::before { left: 23px; }
  .book .two { grid-template-columns: 1fr 1fr; }
  .badges { gap: .8rem; font-size: .9rem; }
  .dest-row img, .dest-row__more { width: 88px; height: 88px; }
  .form { padding: 1.3rem; }
  .contact__big { font-size: 1.6rem; }
}


/* Pesach 2027 banner – shared by all design options.
   Theme it by overriding these variables on .pb or a parent. */
.pb {
  --pb-bg: linear-gradient(100deg, #0d4f9c 0%, #1b6fd1 55%, #2a8ae8 100%);
  --pb-title: #ffb02e;
  --pb-text: #ffffff;
  --pb-accent: #ffb02e;
  --pb-accent-ink: #12305a;
  --pb-curve: #ffd23f;
  --pb-radius: 18px;
  --pb-font-head: inherit;
  --pb-font-script: "Dancing Script", "Brush Script MT", cursive;

  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.25fr;
  min-height: 230px;
  border-radius: var(--pb-radius);
  overflow: hidden;
  background: var(--pb-bg);
  color: var(--pb-text);
  box-shadow: 0 18px 50px rgba(13, 50, 100, .25);
  text-decoration: none;
  isolation: isolate;
}
.pb *, .pb *::before, .pb *::after { box-sizing: border-box; }

/* Left: hotel photo */
.pb__hotel {
  position: relative;
  background: var(--pb-img, #0d4f9c) center 40% / cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 22px;
  min-height: 200px;
}
.pb__hotel { /* photo bulges into the blue, outlined by a yellow curve */
  z-index: 3;
  border-top-right-radius: 70px 50%; border-bottom-right-radius: 70px 50%;
  box-shadow: 7px 0 0 var(--pb-curve);
}
.pb__ribbon {
  position: relative; z-index: 2; align-self: flex-start;
  background: var(--pb-accent); color: var(--pb-accent-ink);
  font: 700 1.05rem/1.2 var(--pb-font-head);
  padding: .55em 1.4em .55em 1em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.pb__where {
  position: relative; z-index: 2; margin: .5rem 0 0 1rem; font-size: .82rem; font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}

/* Middle: title */
.pb__title {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 1.6rem 1rem 1.6rem 2.2rem;
}
.pb__kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); padding: .3em .9em; border-radius: 999px; margin-bottom: .6rem;
}
.pb__title h2 {
  margin: 0; color: var(--pb-title); font: 700 clamp(2.2rem, 4vw, 3.3rem)/1 var(--pb-font-head);
  text-shadow: 0 3px 0 rgba(0, 0, 0, .15); letter-spacing: -.01em;
}
.pb__with { margin: .35rem 0 0; font-size: 1.35rem; line-height: 1.1; }
.pb__with em { font: 700 1.5rem var(--pb-font-script); font-style: normal; color: var(--pb-curve); margin-right: .25em; }
.pb__with strong { font-weight: 800; letter-spacing: -.01em; }
.pb__btn {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: .4em;
  background: var(--pb-accent); color: var(--pb-accent-ink); font-weight: 800; text-decoration: none;
  padding: .7em 1.5em; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  transition: transform .15s;
}
.pb__btn:hover { transform: translateY(-2px); }

/* Right: scholars */
.pb__scholars { position: relative; z-index: 2; padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; justify-content: center; }
.pb__scholars h3 {
  margin: 0 0 .9rem; text-align: center; color: var(--pb-text);
  font: 700 .82rem var(--pb-font-head); letter-spacing: .2em; text-transform: uppercase;
}
.pb__people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.pb__people li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pb__people img {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: center 25%;
  border: 3px solid var(--pb-curve); background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.pb__people span {
  margin-top: .55rem; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85;
}
.pb__people strong { font-size: .92rem; line-height: 1.2; }

@media (max-width: 960px) {
  .pb { grid-template-columns: 1fr 1fr; }
  .pb__hotel { grid-row: span 2; }
  .pb__title { padding-left: 1.4rem; }
  .pb__people img { width: 72px; height: 72px; }
}
@media (max-width: 640px) {
  .pb { grid-template-columns: 1fr; }
  .pb__hotel { grid-row: auto; min-height: 190px; }
  .pb__hotel { border-radius: 0; box-shadow: none; border-bottom: 5px solid var(--pb-curve); }
  .pb__title { padding: 1.6rem 1rem 1rem; }
  .pb__people strong { font-size: .82rem; }
}

/* ---------- live-site additions (search form, rooms, promos) ---------- */
body.tdi { margin: 0; }
.tdi-main { display: block; }
.search__panel { display: none; }
.search__panel.is-active { display: block; }
.search__panel .search__row { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1fr .6fr; gap: .6rem; align-items: end; padding: 0 .4rem .6rem; }
.search__panel .search__row--pkg { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
.tdi-rooms { display: grid; gap: .5rem; padding: 0 .4rem .6rem; }
.tdi-room { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; background: var(--sky); border-radius: 16px; padding: .6rem .8rem; }
.tdi-room__t { font-weight: 900; color: var(--blue-d); align-self: center; min-width: 4.5rem; }
.tdi-room .f { width: 110px; }
.tdi-room .f select { height: 46px; }
.tdi-ages { display: contents; }
.search__go { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 1rem; padding: .2rem .4rem .4rem; }
.search__go .btn { height: 54px; min-width: 200px; }
.search__msg { color: #d64533; font-weight: 800; }
.st { color: #f0a500; letter-spacing: .05em; }
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.promo { display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.promo:hover { transform: translateY(-4px); }
/* Banners are 370x250 (or the same shape, larger), so show them whole */
.promo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 37 / 25; }
/* Photo cards with the text on top (front page) */
.promo--card { position: relative; color: #fff; }
.promo--card img { transition: transform .5s; }
.promo--card:hover img { transform: scale(1.05); }
.promo--card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 60, 0) 30%, rgba(10, 30, 60, .82) 100%); }
.promo__b { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.promo__b h3 { margin: 0; font-size: 1.35rem; line-height: 1.15; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.promo__b .btn { margin-top: .35rem; }
.promo__credit { position: absolute; top: .5rem; right: .6rem; z-index: 1; font-size: .68rem; color: rgba(255, 255, 255, .9); background: rgba(0, 0, 0, .35); padding: .1em .5em; border-radius: 6px; }

/* Last year's program booklet pages: tap one to read it large */
.booklet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.booklet a { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; }
.booklet a:hover, .booklet a:focus-visible { transform: translateY(-4px); }
.booklet img { width: 100%; aspect-ratio: 1200 / 1575; object-fit: cover; display: block; }
.booklet span { display: block; padding: .6rem .8rem; font-weight: 800; font-size: .95rem; color: var(--blue-d); }
.booklet a::after { content: "🔍"; position: absolute; top: .5rem; right: .5rem; background: rgba(255, 255, 255, .92); border-radius: 999px; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; font-size: 1rem; }
.booklet-cta { text-align: center; margin-top: 1.6rem; }
.mosaic a { display: block; overflow: hidden; border-radius: 18px; }
@media (max-width: 760px) { .booklet { grid-template-columns: 1fr 1fr; gap: .7rem; } .booklet span { font-size: .85rem; padding: .45rem .6rem; } }

/* Picture viewer */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 20, 40, .92); display: none; align-items: center; justify-content: center; padding: 3.5rem 3.5rem 1rem; }
.lb.is-open { display: flex; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb__fig img { max-width: min(100%, 1000px); max-height: calc(100vh - 7rem); object-fit: contain; border-radius: 8px; background: #fff; }
.lb__fig figcaption { color: #fff; font-weight: 700; margin-top: .6rem; text-align: center; }
.lb__x, .lb__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; border-radius: 999px; display: grid; place-items: center; }
.lb__x { top: .8rem; right: .8rem; width: 2.8rem; height: 2.8rem; font-size: 2rem; line-height: 1; }
.lb__nav { top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; font-size: 2.2rem; line-height: 1; }
.lb__prev { left: .6rem; }
.lb__next { right: .6rem; }
.lb__x:hover, .lb__nav:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 760px) { .lb { padding: 3.5rem .5rem 1rem; } .lb__nav { top: auto; bottom: .8rem; transform: none; } }
.hotel__img { display: block; }
.review figcaption a { color: var(--blue); font-weight: 800; text-decoration: none; }
.dest-row > a { color: var(--blue-d); }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: .6rem .5rem; text-align: left; vertical-align: top; }
.prose iframe { max-width: 100%; }
.admin-html { font-family: var(--font) !important; }
.admin-html * { font-family: inherit !important; max-width: 100%; }
.admin-html p, .admin-html li, .admin-html span { font-size: 1rem !important; line-height: 1.65 !important; color: #34465f; }
.admin-html h1, .admin-html h2, .admin-html h3, .admin-html h4 { color: var(--blue-d) !important; font-weight: 900 !important; line-height: 1.2 !important; }
.admin-html h1, .admin-html h2 { font-size: 1.6rem !important; margin: 2rem 0 .6rem; }
.admin-html h3, .admin-html h4 { font-size: 1.2rem !important; margin: 1.5rem 0 .4rem; }
.admin-html strong span, .admin-html b span { font-size: inherit !important; }
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.videos iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; }
.contact .g-recaptcha { transform-origin: 0 0; }
@media (max-width: 1100px) {
  .search__panel .search__row { grid-template-columns: 1fr 1fr; }
  .search__panel .search__row .f:first-child, .search__panel .search__row .f:nth-child(2) { grid-column: span 1; }
  .search__panel .search__row--pkg { grid-template-columns: 1fr 1fr; }
  .promos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .search__panel .search__row, .search__panel .search__row--pkg { grid-template-columns: 1fr 1fr; }
  .search__panel .search__row .f:first-child, .search__panel .search__row .f:nth-child(2) { grid-column: 1 / -1; }
  .tdi-room .f { width: calc(50% - .3rem); }
  .tdi-room__t { width: 100%; }
  .search__go { justify-content: stretch; }
  .search__go .btn { width: 100%; }
  .promos, .videos { grid-template-columns: 1fr; }
  .g-recaptcha { transform: scale(.92); transform-origin: 0 0; }
}

/* tour itineraries from the admin text */
.tdi-itin .tdi-dayhead { display: block; background: var(--sky); color: var(--blue-d) !important; font-weight: 900 !important; font-size: 1.15rem !important; padding: .7rem 1rem; border-radius: 14px; margin: 1.8rem 0 .6rem; border-left: 6px solid var(--blue); }
.tdi-itin .tdi-dayhead * { color: inherit !important; font-size: inherit !important; }
.tdi-itin .tdi-stay { display: inline-block; background: #fff3cf; color: #6b5300 !important; font-weight: 800 !important; padding: .3rem .9rem; border-radius: 999px; font-size: .92rem !important; }
.tdi-itin .tdi-stay * { color: inherit !important; font-size: inherit !important; }

/* Six highlight cards, three across (Pesach program page) */
.perks--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .perks--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks--3 { grid-template-columns: 1fr; } }

/* Destination tiles: photo + city name + number of hotels (front page) */
.dest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.dest-grid a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); color: #fff; text-decoration: none; }
.dest-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dest-grid a:hover img { transform: scale(1.07); }
.dest-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 60, 0) 40%, rgba(10, 30, 60, .8) 100%); }
.dest-grid span { position: absolute; left: .8rem; right: .6rem; bottom: .6rem; z-index: 1; display: flex; flex-direction: column; line-height: 1.15; }
.dest-grid b { font-size: 1.05rem; text-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.dest-grid small { font-size: .78rem; opacity: .9; }
@media (max-width: 1100px) { .dest-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .dest-grid { grid-template-columns: 1fr 1fr; gap: .7rem; } }
/* "Plan your next trip": six cards, three across */
.trips--3 { grid-template-columns: repeat(3, 1fr); }
.trip > a img { display: block; }
@media (max-width: 900px) { .trips--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trips--3 { grid-template-columns: 1fr; } }

/* Shorter slideshow, so the search and hotels show sooner when the page opens */
.hero { height: min(60vh, 540px); min-height: 400px; }
.slide h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.slide p { font-size: 1.1rem; margin-bottom: 1.2rem; }
@media (max-width: 900px) { .hero { height: auto; min-height: 520px; } }
/* Keep the slide's button clear of the arrows and dots on the shorter slideshow */
@media (min-width: 901px) { .slide__in { padding-bottom: 175px; } }
