/* Premium Travel Egypt 5.0 — the client's reference look (Siri Tours): blue hero
   with the search on its edge, moving rows of experiences, benefit cards, blue
   bands, plus-button FAQ and a white footer. Rows and cards come from v4.css. */
:root {
	--p5-blue: #124799;
	--p5-blue-dark: #0B2E66;
	--p5-orange: #F7931E;
	--p5-orange-2: #E8730C;
	--p5-pale: #F8FAFE;
	--p5-ink: #12356B;
	--p5-muted: #5E6B84;
	--p5-line: #E3E9F3;
}

/* Buttons */
.p5-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; font: 800 15px/1.1 var(--p4-font); text-decoration: none; transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
.p5-btn:active { transform: scale(0.97); }
.p5-btn-main { background: var(--p5-orange); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.p5-btn-line { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.p5-btn-white { background: #fff; color: var(--p5-blue); border-radius: 999px; }
.p5-btn-ghost { background: transparent; color: #fff; border-color: #fff; border-radius: 999px; }
@media (hover: hover) {
	.p5-btn:hover { transform: translateY(-2px); }
	.p5-btn-main:hover { background: #fff; color: var(--p5-blue); }
	.p5-btn-line:hover { background: rgba(255, 255, 255, 0.2); }
	.p5-btn-white:hover { background: var(--p5-orange); color: #fff; }
	.p5-btn-ghost:hover { background: #fff; color: var(--p5-blue); }
}

/* 1. Hero */
.p5-hero { position: relative; isolation: isolate; min-height: 600px; overflow: hidden; color: #fff; background: var(--p5-blue); }
.p5-hero-media { position: absolute; inset: 0; z-index: -3; }
.p5-hero-media .zs-stage-slide { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center right; opacity: 0; transform: scale(1.03); transition: opacity 1.4s ease, transform 8s linear; }
.p5-hero-media .zs-stage-slide.is-active { opacity: 1; transform: scale(1.09); }
.p5-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11, 46, 102, 0.96) 0%, rgba(18, 71, 153, 0.9) 40%, rgba(26, 88, 181, 0.5) 70%, rgba(11, 46, 102, 0.22) 100%), linear-gradient(0deg, rgba(11, 46, 102, 0.6) 0%, transparent 50%); }
.p5-hero-inner { width: min(1280px, calc(100% - 2 * var(--p4-m))); margin: 0 auto; padding: 72px 0 170px; }
.p5-hero-content { width: min(680px, 60%); }
.p5-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.p5-kicker span { width: 9px; height: 9px; border-radius: 50%; background: var(--p5-orange); box-shadow: 0 0 0 5px rgba(247, 147, 30, 0.22); animation: p5-pulse 2s ease-in-out infinite; }
@keyframes p5-pulse { 50% { box-shadow: 0 0 0 9px rgba(247, 147, 30, 0); } }
.p5-hero h1 { margin: 0 0 18px; color: #fff; font: 900 clamp(38px, 5vw, 66px)/1.04 var(--p4-font); letter-spacing: -0.03em; text-wrap: balance; }
.p5-hero h1 span { color: var(--p5-orange); }
.p5-lead { max-width: 620px; margin: 0 0 26px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, 0.94); }
.p5-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.p5-proofs { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; }
.p5-proofs li { display: flex; align-items: center; gap: 8px; }
.p5-proofs span { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--p5-orange); font-size: 12px; }
.p5-seacard { position: absolute; right: 5%; bottom: 140px; width: 250px; height: 110px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 14px; color: #fff; text-decoration: none; box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25); animation: p5-float 6s ease-in-out infinite; }
.p5-seacard img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.p5-seacard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 46, 102, 0.9), rgba(18, 71, 153, 0.05)); }
.p5-seacard span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: 12px; color: rgba(255, 255, 255, 0.88); }
.p5-seacard strong { display: block; font-size: 15px; color: #fff; }
@keyframes p5-float { 50% { transform: translateY(-8px); } }
.p5-search-wrap { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; width: min(960px, calc(100% - 64px)); margin: 0 auto; }
.p5-search-toggle { display: none; }
.p5-search { display: grid; grid-template-columns: 1fr 1.4fr 150px; gap: 8px; padding: 10px; border-top: 3px solid var(--p5-orange); border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(11, 46, 102, 0.28); }
.p5-control { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 52px; padding: 6px 12px; border: 1px solid rgba(18, 71, 153, 0.12); border-radius: 10px; background: var(--p5-pale); color: var(--p5-ink); }
.p5-control > svg { flex: 0 0 26px; width: 26px; height: 26px; padding: 4px; border-radius: 7px; background: rgba(247, 147, 30, 0.12); color: var(--p5-orange-2); }
.p5-field { display: block; min-width: 0; width: 100%; }
.p5-label { display: block; color: var(--p5-blue); font-size: 12px; font-weight: 800; }
.p5-control select, .p5-control input { display: block; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--p5-ink); font: 700 15px/1.3 var(--p4-font); }
.p5-control select { appearance: none; cursor: pointer; padding-right: 18px; }
.p5-control-select::after { content: ""; position: absolute; right: 14px; bottom: 20px; width: 7px; height: 7px; border-right: 2px solid var(--p5-orange-2); border-bottom: 2px solid var(--p5-orange-2); transform: rotate(45deg); pointer-events: none; }
.p5-control input::placeholder { color: #8E98A6; font-weight: 500; }
.p5-control:focus-within { border-color: var(--p5-orange); box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.18); }
.p5-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 0; border-radius: 10px; background: var(--p5-orange); color: #fff; font: 800 15px/1 var(--p4-font); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.p5-submit svg { width: 18px; height: 18px; }
@media (hover: hover) { .p5-submit:hover { background: var(--p5-blue); } }
@media (max-width: 1080px) {
	.p5-hero-content { width: min(680px, 80%); }
	.p5-seacard { display: none; }
}
@media (max-width: 767px) {
	.p5-hero { min-height: 0; }
	.p5-hero::after { background: linear-gradient(180deg, rgba(11, 46, 102, 0.9), rgba(18, 71, 153, 0.86)); }
	.p5-hero-inner { width: calc(100% - 28px); padding: 44px 0 24px; }
	.p5-hero-content { width: 100%; }
	.p5-kicker { font-size: 12px; }
	.p5-hero h1 { font-size: clamp(32px, 9.6vw, 44px); }
	.p5-lead { font-size: 15px; margin-bottom: 20px; }
	.p5-actions { display: grid; grid-template-columns: 1fr; }
	.p5-btn { width: 100%; }
	.p5-proofs { display: grid; gap: 9px; }
	.p5-search-wrap { position: relative; bottom: auto; width: calc(100% - 28px); margin: 0 auto; padding-bottom: 22px; }
	.p5-search-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-left: 4px solid var(--p5-orange); border-radius: 12px; background: #fff; color: var(--p5-blue); text-align: left; cursor: pointer; box-shadow: 0 12px 28px rgba(11, 46, 102, 0.24); font-family: var(--p4-font); }
	.p5-search-toggle > svg:first-child { color: var(--p5-orange-2); }
	.p5-search-toggle span { flex: 1; min-width: 0; }
	.p5-search-toggle strong { display: block; font-size: 15px; }
	.p5-search-toggle small { display: block; color: var(--p5-muted); font-size: 12px; }
	.p5-search-toggle > svg:last-child { transition: transform 0.2s; }
	.p5-search-wrap.is-open .p5-search-toggle > svg:last-child { transform: rotate(180deg); }
	.p5-search { display: none; grid-template-columns: 1fr; margin-top: 8px; }
	.p5-search-wrap.is-open .p5-search { display: grid; }
}

/* 2. Experiences: two rows moving in opposite directions, pause on hover/touch. */
.p5-cats { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); overflow: hidden; }
.p5-cats h2 { margin-bottom: 22px; }
.p5-marquee { --p5-speed: 28s; overflow: hidden; padding: 6px 0; }
.p5-marquee + .p5-marquee { margin-top: 10px; }
.p5-marquee-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; animation: p5-slide var(--p5-speed) linear infinite; }
.p5-marquee.is-reverse .p5-marquee-track { animation-direction: reverse; }
.p5-marquee:hover .p5-marquee-track, .p5-marquee.is-held .p5-marquee-track { animation-play-state: paused; }
@keyframes p5-slide { to { transform: translateX(-33.333%); } }
.p5-marquee a { position: relative; display: block; width: 240px; height: 150px; overflow: hidden; border-radius: 16px; color: #fff; text-decoration: none; background: var(--p5-blue); }
.p5-marquee img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform 0.5s; }
.p5-marquee a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 46, 102, 0.85), rgba(11, 46, 102, 0) 60%); }
.p5-marquee span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-weight: 800; font-size: 16px; line-height: 1.2; }
@media (hover: hover) { .p5-marquee a:hover img { transform: scale(1.08); } }
@media (max-width: 767px) { .p5-marquee { --p5-speed: 20s; } .p5-marquee a { width: 180px; height: 120px; } .p5-marquee span { font-size: 14px; } }

/* Rows of cards: arrows on every screen, dots under the track, drag with the mouse. */
.p5 .p4-head-actions .p4-arrow { display: inline-flex; }
@media (max-width: 760px) { .p5 .p4-arrow { width: 38px; height: 38px; } .p5 .p4-more { margin-right: 2px; } }
.p5-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.p5-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #C9D3E3; cursor: pointer; transition: width 0.3s, background 0.3s; }
.p5-dots button.is-on { width: 26px; background: var(--p5-orange); }
.p5 .p4-track { cursor: grab; }
.p5 .p4-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

/* 3. Why book with us: centred head, six white cards with an orange icon. */
.p5-why { padding: clamp(56px, 8vw, 100px) 0; background: var(--p5-pale); text-align: center; }
.p5-eyebrow { margin: 0 0 8px; color: var(--p5-orange-2); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.p5 .p5-why h2, .p5 .p5-faq h2 { color: var(--p5-ink); }
.p5-sub { max-width: 640px; margin: 12px auto 36px; color: var(--p5-muted); }
.p5-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; text-align: left; }
.p5-why-grid li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--p5-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(18, 71, 153, 0.06); transition: transform 0.3s, box-shadow 0.3s; }
.p5-why-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 12px; background: rgba(247, 147, 30, 0.12); color: var(--p5-orange-2); }
.p5-why-grid b { color: var(--p5-ink); font-size: 17px; }
.p5-why-grid span:last-child { color: var(--p5-muted); font-size: 15px; }
@media (hover: hover) { .p5-why-grid li:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(18, 71, 153, 0.12); } }
@media (max-width: 900px) { .p5-why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .p5-why-grid { grid-template-columns: 1fr; } .p5-why-grid li { padding: 18px; } }

/* Planner in the Siri blue. */
.p5 .p3-plan { background: var(--p5-blue-dark); }

/* 4. Reviews band */
.p5-reviews { padding: clamp(40px, 6vw, 64px) 0; background: var(--p5-blue); color: #fff; }
.p5-reviews-box { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.p5 .p5-reviews h2 { color: #fff; margin-bottom: 8px; }
.p5-reviews p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, 0.86); }
.p5-reviews .p5-stars { margin-bottom: 10px; color: var(--p5-orange); font-size: 20px; letter-spacing: 3px; }

/* 5. FAQ */
.p5-faq { padding: clamp(56px, 8vw, 100px) 0; text-align: center; }
.p5-faq h2 { margin-bottom: 28px !important; }
.p5-faq-list { max-width: 900px; margin: 0 auto; text-align: left; }
.p5-faq-item { margin-bottom: 10px; border: 1px solid var(--p5-line); border-radius: 12px; background: #fff; transition: box-shadow 0.2s; }
.p5-faq-item[open] { box-shadow: 0 10px 26px rgba(18, 71, 153, 0.08); }
.p5-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: var(--p5-ink); font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.p5-faq-item summary::-webkit-details-marker { display: none; }
.p5-plus { position: relative; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--p5-orange); }
.p5-plus::before, .p5-plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: #fff; }
.p5-plus::after { transform: rotate(90deg); transition: transform 0.25s; }
.p5-faq-item[open] .p5-plus::after { transform: rotate(0); }
.p5-faq-item p { margin: 0; padding: 0 20px 20px; color: var(--p5-muted); }

/* 6. Call band above the footer */
.p5-call { padding: clamp(44px, 6vw, 72px) 0; background: var(--p5-blue-dark); color: #fff; }
.p5-call-box { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.p5 .p5-call h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 10px; max-width: 620px; }
.p5-call p { margin: 0; max-width: 680px; color: rgba(255, 255, 255, 0.88); }
.p5-call-actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
@media (max-width: 760px) { .p5-call-actions { width: 100%; } }

/* Footer — white, four columns, orange bars under the headings (Siri Tours). */
.zs-footer { background: #fff !important; color: var(--p5-ink) !important; padding-top: clamp(48px, 6vw, 72px) !important; border-top: 1px solid var(--p5-line); }
.zs-footer::before { display: none; }
.zs-footer-grid { max-width: 1240px; margin: 0 auto; grid-template-columns: 1.4fr 1fr 1fr 1.1fr !important; }
.zs-footer .zs-brand-mark { height: 60px !important; }
.zs-footer-about { color: var(--p5-ink) !important; font-size: 15px; line-height: 1.7; }
.zs-footer-col h2 { position: relative; margin-bottom: 22px !important; padding-bottom: 10px; color: var(--p5-ink) !important; font: 800 17px/1.3 var(--p4-font) !important; }
.zs-footer-col h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--p5-orange); }
.zs-footer-col li { margin-bottom: 12px; }
.zs-footer-col > ul:not(.zs-contact) li, .zs-footer-col .menu li { position: relative; padding-left: 16px; }
.zs-footer-col > ul:not(.zs-contact) li::before, .zs-footer-col .menu li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: #5AA8E8; }
.zs-footer a { color: var(--p5-ink) !important; }
@media (hover: hover) { .zs-footer a:hover { color: var(--p5-orange-2) !important; } }
.zs-contact li { display: flex; align-items: center; gap: 12px; }
.zs-contact svg { flex: 0 0 34px; width: 34px !important; height: 34px !important; padding: 8px; border: 1px solid var(--p5-line); border-radius: 9px; background: var(--p5-pale); color: var(--p5-orange-2) !important; }
.zs-contact-label { color: var(--p5-muted) !important; }
.zs-socials a { border: 1px solid var(--p5-line) !important; background: var(--p5-pale); color: var(--p5-ink) !important; }
@media (hover: hover) { .zs-socials a:hover { background: var(--p5-blue); color: #fff !important; } }
.zs-footer-bottom { justify-content: center !important; gap: 4px 18px !important; text-align: center; margin: 24px calc(-1 * var(--zs-gutter)) 0 !important; padding: 18px var(--zs-gutter) 22px !important; background: #F3F5F9 !important; border: 0 !important; color: var(--p5-muted); font-size: 14px; }
.zs-footer-bottom p { margin: 0; }
.zs-credit a { color: var(--p5-orange-2) !important; font-weight: 700; }
@media (max-width: 900px) { .zs-footer-grid { grid-template-columns: 1fr 1fr !important; } .zs-footer-brand { grid-column: 1 / -1; border: 0 !important; } }
@media (max-width: 520px) { .zs-footer-grid { grid-template-columns: 1fr !important; } }

@media (prefers-reduced-motion: reduce) {
	.p5-marquee-track, .p5-seacard, .p5-kicker span { animation: none; }
	.p5-hero-media .zs-stage-slide { transition: none; transform: none; }
}

.p5 *, .p5 *::before, .p5 *::after { box-sizing: border-box; }

@media (max-width: 760px) { .p5 .p4-head { flex-wrap: wrap; } .p5 .p4-head > div:first-child { flex: 1 1 100%; } .p5 .p4-head-actions { margin-left: auto; } }

/* 5.1 — lighter blue over the photo, no search bar, checks side by side. */
.p5-hero { min-height: 560px; }
.p5-hero::after { background: linear-gradient(90deg, rgba(11, 46, 102, 0.82) 0%, rgba(18, 71, 153, 0.62) 40%, rgba(26, 88, 181, 0.22) 70%, rgba(11, 46, 102, 0) 100%), linear-gradient(0deg, rgba(11, 46, 102, 0.4) 0%, transparent 45%); }
.p5-hero-inner { padding: 80px 0 96px; }
.p5-hero h1, .p5-lead, .p5-proofs { text-shadow: 0 1px 12px rgba(6, 26, 60, 0.35); }
.p5-seacard { bottom: 64px; }
@media (max-width: 767px) {
	.p5-hero::after { background: linear-gradient(180deg, rgba(11, 46, 102, 0.62), rgba(18, 71, 153, 0.72)); }
	.p5-hero-inner { padding: 40px 0 36px; }
	.p5-proofs { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
	.p5-proofs span { width: 19px; height: 19px; font-size: 12px; }
}

/* Reviews slider */
.p5-reviews { padding: clamp(48px, 7vw, 88px) 0; background: var(--p5-blue); color: #fff; }
.p5-rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.p5 .p5-rev-head h2 { color: #fff; margin-bottom: 6px; }
.p5-rev-head p { margin: 0; color: rgba(255, 255, 255, 0.86); }
.p5-rev-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p5-reviews .p5-stars { margin: 0 0 8px; color: var(--p5-orange); font-size: 20px; letter-spacing: 3px; }
.p5-rev-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.p5-rev { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 22px; border-radius: 16px; background: #fff; color: var(--p5-ink); box-shadow: 0 12px 30px rgba(6, 26, 60, 0.18); }
.p5-rev-top { display: flex; align-items: center; gap: 12px; }
.p5-rev-avatar { display: inline-grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--p5-orange); color: #fff; font-weight: 800; font-size: 18px; }
.p5-rev figcaption { flex: 1; min-width: 0; }
.p5-rev figcaption strong { display: block; font-size: 15px; }
.p5-rev figcaption small { color: var(--p5-muted); font-size: 13px; }
.p5-rev-g { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F1F4F9; color: #4285F4; font-weight: 800; }
.p5-rev-stars { margin: 0; color: #F5A623; letter-spacing: 2px; }
.p5-rev blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #2E3B52; }
.p5-reviews .p5-dots button { background: rgba(255, 255, 255, 0.35); }
.p5-reviews .p5-dots button.is-on { background: var(--p5-orange); }
@media (max-width: 1000px) { .p5-rev-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 760px) { .p5-rev-track { grid-auto-columns: 86%; } .p5-rev-actions { width: 100%; } .p5-rev-actions .p5-btn { flex: 1; } }

/* Trip pages and plugin screens in the same look (overrides the plugin's design tokens). */
:root {
	--pte-primary: #124799 !important;
	--pte-accent: #F7931E !important;
	--pte-heading: #12356B !important;
	--pte-icon: #E8730C !important;
	--pte-sapphire: #1A58B5 !important;
	--pte-gold: #F7931E !important;
	--pte-gold-bright: #F7931E !important;
	--pte-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
	--pte-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}
.pte-single-title, .pte-section-title, .pte-wrap h1, .pte-wrap h2, .pte-wrap h3 { font-family: var(--pte-display) !important; font-weight: 800 !important; letter-spacing: -0.02em; }

/* Phone menu: four languages as a 2 × 2 grid (nothing runs off the screen), with the RO and PL flags. */
@media (max-width: 1023px) {
	.zs-header .zs-nav .is-menu-open .wp-block-navigation__container > li.zs-nav-lang { grid-column: span 3 !important; min-width: 0; }
	.zs-header .zs-nav .is-menu-open .zs-nav-lang .wp-block-navigation-item__content { min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; }
	.zs-header .zs-nav .is-menu-open .zs-nav-lang-ro .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='20' height='60' fill='%23002B7F'/%3E%3Crect x='20' width='20' height='60' fill='%23FCD116'/%3E%3Crect x='40' width='20' height='60' fill='%23CE1126'/%3E%3C/svg%3E"); }
	.zs-header .zs-nav .is-menu-open .zs-nav-lang-pl .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='60' height='30' fill='%23fff'/%3E%3Crect y='30' width='60' height='30' fill='%23DC143C'/%3E%3C/svg%3E"); }
}
@media (max-width: 1023px) { .zs-header .zs-nav .is-menu-open .wp-block-navigation__container { column-gap: 10px !important; } .zs-header .zs-nav .is-menu-open .wp-block-navigation__container > li.zs-nav-lang { margin-top: 10px !important; } }
@media (max-width: 1023px) { .zs-header .zs-nav .is-menu-open .zs-nav-lang .wp-block-navigation-item__content { box-sizing: border-box; } }

/* Phone menu: the desktop dropdown hover (light ground) must not apply on the dark menu. */
.zs-header .zs-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.zs-header .zs-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus,
.zs-header .zs-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:active { background: rgba(255, 255, 255, 0.08) !important; color: #F7931E !important; }

/* Reviews: each card as tall as its own text; stars as icons. */
.p5-rev-track { align-items: start; }
.p5-rev-stars, .p5-reviews .p5-stars { display: flex; gap: 2px; }
.p5-rev-stars svg { color: #F5A623; }
.p5-reviews .p5-stars svg { color: var(--p5-orange); width: 20px; height: 20px; }

/* Reviews: even, compact cards; long texts fold to five lines with "Read more". */
.p5-rev-track { align-items: stretch; }
.p5-rev blockquote { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.p5-rev.is-open blockquote { display: block; -webkit-line-clamp: unset; }
.p5-rev-more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--p5-blue); font: 700 14px/1.4 var(--p4-font); cursor: pointer; }
@media (hover: hover) { .p5-rev-more:hover { color: var(--p5-orange-2); text-decoration: underline; } }

/* Anything marked hidden stays hidden, whatever its button styling (e.g. "Pay now" when there is no online payment). */
[hidden] { display: none !important; }


/* ---- Trip category boxes (categories page, Elementor "Trip category boxes") ---- */
.p5-boxes { padding: clamp(44px, 7vw, 96px) 0 clamp(48px, 7vw, 104px); background: linear-gradient(180deg, #FFF6EA 0%, #FFFFFF 62%); }
.p5-boxes-head { max-width: 660px; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.p5-boxes-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--p5-orange); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.p5-boxes-kicker span { width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.p5-boxes h2 { margin: 0 0 12px; color: var(--p5-ink); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.p5-boxes-head > p:last-child { margin: 0; color: var(--p5-muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; }
.p5-boxes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.p5-box { min-width: 0; margin: 0; }
.p5-box a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4.2; padding: 18px; overflow: hidden; border-radius: 24px; background: var(--p5-blue); color: #fff; text-decoration: none; box-shadow: 0 22px 44px -26px rgba(18, 53, 107, 0.6); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.p5-box a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 30, 68, 0.94) 0%, rgba(9, 30, 68, 0.42) 42%, rgba(9, 30, 68, 0) 68%); }
.p5-box img { position: absolute; inset: 0; z-index: -2; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transform-origin: 60% 40%; animation: p5-box-drift 16s ease-in-out infinite alternate; }
.p5-box:nth-child(4n+2) img { animation-delay: -4s; }
.p5-box:nth-child(4n+3) img { animation-delay: -8s; }
.p5-box:nth-child(4n+4) img { animation-delay: -12s; }
.p5-box-text { margin: 0 2px 14px; color: rgba(255, 255, 255, 0.92); font-size: 15px; line-height: 1.5; }
.p5-box-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--p5-orange); color: #fff; font-size: 17px; font-weight: 800; line-height: 1.2; box-shadow: 0 10px 22px -12px rgba(247, 147, 30, 0.9); }
.p5-box-btn i { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.24); font-style: normal; font-size: 18px; transition: transform 0.3s ease; }
.p5-box a:focus-visible { outline: 3px solid var(--p5-orange); outline-offset: 4px; }
.p5-boxes-help { margin: clamp(28px, 4vw, 48px) 0 0; color: var(--p5-muted); font-size: 16px; text-align: center; }
.p5-boxes-help a { color: var(--p5-blue); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@keyframes p5-box-drift { from { transform: scale(1.03); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
@media (hover: hover) {
	.p5-box a:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -26px rgba(18, 53, 107, 0.7); }
	.p5-box a:hover .p5-box-btn i { transform: translateX(4px); }
}
@media (min-width: 1024px) { .p5-box:nth-child(even) { margin-top: 44px; } }
@media (max-width: 1023px) { .p5-boxes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.p5-boxes-head { text-align: left; }
	.p5-box a { aspect-ratio: 3 / 4.1; padding: 10px; border-radius: 18px; }
	.p5-box-text { display: none; }
	.p5-box-btn { justify-content: center; min-height: 46px; padding: 6px 10px; font-size: 14px; text-align: center; }
	.p5-box-btn i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .p5-box img { animation: none; } .p5-box a { transition: none; } }

.p5-boxes.is-bare { padding-top: clamp(16px, 3vw, 32px); background: transparent; }
