/* EGYPTIA — site styles. Built from the approved home and tour page designs (design/previews).
   Colours come from Appearance → Customize (navy, gold, sand); everything else is here. */

:root {
	color-scheme: light;
	--navy: #0E2948;
	--navy-2: #153A63;
	--night: #0A1729;
	--gold: #E3A03F;
	--gold-ink: #85560F; /* 5.6:1 on sand: readable small labels */
	--bg: #F6F3EA;
	--paper: #FFFDF8;
	--ink: #161616;
	--muted: #5E5A51;
	--line: #E4DBC8;
	--chip: #EFE7D6;
	--ok: #2E6B45;
	--err: #A63D2F;
	--land: #EDDDB9;
	--land-edge: #B89A62;
	--water: #BFD8E0;
	--nile: #2B6C85;
	--neighbor: #F4EDDD;
	--green: #B9C98E;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--r: 16px;
	--gutter: 16px;
	--shadow: 0 10px 30px rgba(14, 41, 72, .08);
}
@media (min-width: 700px) { :root { --gutter: 24px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap .wrap { padding-inline: 0; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lbl { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); margin: 0 0 10px; }
.eyebrow--light { color: #F6E6C8; }
.eyebrow--gold { color: var(--gold); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
#main:focus { outline: none; }
.prose > :last-child { margin-bottom: 0; }
.prose p { max-width: 68ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.env-banner { background: #3a2a05; color: #ffe7a8; text-align: center; font-size: .82rem; padding: 6px 12px; position: relative; z-index: 30; }
.img-fallback { width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--chip), var(--line)); }
.img-fallback--night { background: radial-gradient(ellipse at 70% 40%, #1c3a63, var(--night)); }
.editor-note { border: 2px dashed var(--line); border-radius: 12px; padding: 14px 16px; margin: 16px var(--gutter); color: var(--muted); font-size: .9rem; background: var(--paper); }
.notice { border-radius: 10px; padding: 12px 14px; font-weight: 600; margin: 0 0 16px; }
.notice--ok { background: #E4F0E7; color: var(--ok); }
.notice--err { background: #F8E4E0; color: var(--err); }
.anchor { position: relative; top: -90px; display: block; }

/* ------------------------------------------------------------------ ornaments (EGYPTIA artwork) */
.band { height: 34px; background: url(../img/band.png) repeat-x center / auto 34px; opacity: .6; margin-block: 8px; }
.band--page { margin: 24px 0; }
.band--footer { margin: 48px 0 0; opacity: .55; }
.glyphs { position: relative; isolation: isolate; }
.glyphs::before { content: ""; position: absolute; inset: 0; background: url(../img/glyphs.png) repeat; background-size: 200px; opacity: .07; z-index: -1; pointer-events: none; }
.cartouche { max-width: 100%; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--gold); border-radius: 999px; padding: 4px 14px 4px 12px; }
.cartouche::after { content: ""; width: 2px; height: 16px; background: var(--gold); border-radius: 2px; margin-left: 4px; }
.wsun { display: block; width: 92px; height: 22px; margin-bottom: 10px; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, border-color .15s; }
.btn:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--gold { background: var(--gold); color: #161616; }
.btn--gold:hover { background: #EDB45C; color: #161616; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.more { all: unset; cursor: pointer; color: var(--gold-ink); font-weight: 600; font-size: .9rem; }
.more:focus-visible { outline: 3px solid var(--gold); border-radius: 4px; }

/* ------------------------------------------------------------------ header */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header--over { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__word { font-family: var(--serif); letter-spacing: .34em; font-size: 1.3rem; font-weight: 600; }
.site-header:not(.site-header--over) .brand__word { color: var(--navy); }
.brand__logo { max-height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav__list a { color: inherit; text-decoration: none; font-weight: 500; font-size: .92rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list .current-menu-item > a { border-bottom-color: var(--gold); }
.nav__cta { border: 1.5px solid currentColor; border-radius: 999px; padding: 7px 14px; color: inherit; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.site-header--over .nav__cta { border-color: rgba(255, 255, 255, .7); }
.nav__cta:hover { background: var(--gold); border-color: var(--gold); color: #161616; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: 0 auto; content: ""; }
.nav-toggle__bar::before { position: absolute; top: -7px; }
.nav-toggle__bar::after { position: absolute; top: 7px; }
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); padding: 8px var(--gutter) 18px; }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
	.nav__cta { margin-top: 14px; text-align: center; border-color: var(--navy) !important; color: var(--navy); }
}

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--night); color: #D8D2C4; padding: 44px 0 24px; font-size: .92rem; }
.site-footer a { color: #F3E4C4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__h { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.brand__word--footer { color: #F6F3EA; font-size: 1.15rem; margin: 0 0 8px; }
.site-footer__lede { color: #B9C3D2; max-width: 32ch; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px; color: #9AA6B8; font-size: .82rem; }
.site-footer__base p { margin: 0 0 6px; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.contact .social a { border-color: var(--line); color: var(--navy); }
.ico { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------------ home: hero + trip finder */
.hero { position: relative; color: #fff; background: #1b2530; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 23, 41, .55), rgba(10, 23, 41, .25) 40%, rgba(10, 23, 41, .78)); }
.hero__inner { position: relative; z-index: 1; padding-top: 128px; padding-bottom: 40px; display: grid; gap: 20px; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); max-width: 20ch; margin: 0; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 52ch; opacity: .95; margin: 0; }
.has-photo-hero .env-banner + .site-header--over { top: auto; }
.finder { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); display: grid; gap: 12px; max-width: 980px; }
.finder__row { display: grid; grid-template-columns: 1fr 1fr 1.1fr auto; gap: 10px; align-items: end; }
@media (max-width: 760px) { .finder__row { grid-template-columns: 1fr 1fr; } .finder__row .f--pax, .finder__go { grid-column: 1 / -1; } }
.f { display: grid; gap: 4px; min-width: 0; }
.f label, .f legend { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0; }
.f input, .f select, .f textarea { width: 100%; min-width: 0; max-width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.f textarea { resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(227, 160, 63, .25); }
.finder__go { border-radius: 10px; white-space: nowrap; }
.finder__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.finder__tags .lbl { margin: 0 4px 0 0; }
.tag { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .84rem; font-weight: 600; cursor: pointer; }
.tag[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #161616; }
.err { color: var(--err); font-size: .88rem; font-weight: 600; margin: 0; }

.results { padding-block: 34px 10px; }
.results__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 16px; }
.results__head h2 { margin: 0; }
.draft { font-size: .72rem; font-weight: 700; background: var(--chip); border-radius: 6px; padding: 3px 8px; color: var(--muted); }
.dest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .dest { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dest { grid-template-columns: 1fr; } }
.dcard { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; }
.dcard img, .dcard .img-fallback { width: 62px; height: 62px; min-height: 0; border-radius: 50%; object-fit: cover; }
.dcard b { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; display: block; line-height: 1.2; }
.score { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; margin-top: 3px; }
.bar { flex: 1; height: 6px; border-radius: 4px; background: var(--chip); overflow: hidden; max-width: 80px; }
.bar i { display: block; height: 100%; background: var(--gold); }
.why { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); margin: 0; }
.plan { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.plan p { margin: 0; }
.segs { display: flex; border-radius: 10px; overflow: hidden; min-height: 46px; }
.seg { display: grid; place-items: center; text-align: center; font-size: .78rem; font-weight: 700; color: #fff; padding: 4px 6px; line-height: 1.2; min-width: 0; }
.seg small { display: block; font-weight: 500; opacity: .9; }
@media (max-width: 600px) { .segs { flex-direction: column; } .seg { flex: none !important; display: flex; justify-content: space-between; padding: 10px 12px; font-size: .86rem; } .seg small { display: inline; } }
.match { margin-top: 16px; display: grid; gap: 8px; }
.mt { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 10px 14px; flex-wrap: wrap; color: inherit; text-decoration: none; }
.mt b { font-family: var(--serif); font-weight: 600; }
.mt .eyebrow { margin: 0; }
a.mt:hover { border-color: var(--gold); color: inherit; }

/* ------------------------------------------------------------------ event with countdown */
.eclipse { margin-top: 48px; background: radial-gradient(ellipse at 75% 40%, #1c3a63 0%, var(--night) 60%); color: #F6F3EA; position: relative; overflow: hidden; }
.eclipse__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding-block: 56px; position: relative; z-index: 1; }
.eclipse h1, .eclipse h2 { color: #fff; margin: 8px 0 10px; }
.eclipse p { max-width: 52ch; opacity: .92; }
.eclipse__note { color: #B9C3D2; margin-top: 12px; font-size: .84rem; }
.eclipse--hero { margin-top: 0; }
.eclipse--hero .eclipse__inner { padding-top: 120px; min-height: min(80vh, 640px); }
.eclipse__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.sun { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: #050b16; box-shadow: 0 0 0 3px rgba(255, 236, 190, .95), 0 0 40px 18px rgba(255, 214, 140, .55), 0 0 120px 60px rgba(227, 160, 63, .25); }
.count { display: flex; gap: 18px; margin: 18px 0; }
.count div { display: grid; }
.count b { font-family: var(--serif); font-size: 2.2rem; font-variant-numeric: tabular-nums; line-height: 1; color: var(--gold); }
.count span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
@media (max-width: 820px) { .eclipse__inner { grid-template-columns: 1fr; } .sun { order: -1; width: min(200px, 55vw); } }

/* ------------------------------------------------------------------ sections, collections, tour cards */
.coll { padding-block: 56px 10px; }
.sec-head { margin-bottom: 18px; }
.sec-head h2 { margin: 6px 0 0; }
.sec-intro { color: var(--muted); margin: 10px 0 0; max-width: 60ch; }
.year { display: grid; grid-template-columns: repeat(12, 1fr); margin: 22px 0 14px; border-top: 2px solid var(--line); position: relative; }
.year span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); padding-top: 8px; text-align: center; }
.year i { position: absolute; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); transform: translateX(-50%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
	.cards { grid-template-columns: 1fr; }
	.cards--swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 12px; padding-bottom: 8px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.cards--swipe::-webkit-scrollbar { display: none; }
	.cards--swipe .tcard { flex: 0 0 84%; scroll-snap-align: start; }
	.year { display: none; }
}
.tcard { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.tcard:has(a):hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tcard__ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tcard__ph img, .tcard__ph .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.season { position: absolute; left: 12px; top: 12px; background: rgba(255, 253, 248, .94); border: 1.5px solid var(--gold); border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tcard__body { padding: 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.tcard__title { font-size: 1.2rem; margin: 0; }
.tcard__title a { color: inherit; text-decoration: none; }
.tcard__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.tcard__meta { font-size: .84rem; color: var(--muted); margin: 0; }
.tcard__promise { color: var(--muted); font-size: .9rem; margin: 0; }
.tcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; font-size: .88rem; }
.tcard__go { color: var(--gold-ink); font-weight: 700; white-space: nowrap; }
.tcard--soon .tcard__ph img { filter: saturate(.85); }
.coll__all { margin: 18px 0 0; font-weight: 700; }
.coll__all a { text-decoration: none; }

.how { padding-block: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; counter-increment: s; }
.step .n { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--gold); border-radius: 50% 50% 8px 8px; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-ink); line-height: 1; }
.step .n::before { content: counter(s); }
.step p { margin: 0; }

.talk-wrap { padding-block: 24px; }
.talk { overflow: hidden; background: var(--navy); color: #F6F3EA; border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.talk h2 { color: #fff; margin: 6px 0 10px; }
.talk p { opacity: .9; max-width: 50ch; margin: 0; }
.talk .actions { justify-content: flex-end; }
@media (max-width: 760px) { .talk { grid-template-columns: 1fr; padding: 22px; } .talk .actions { justify-content: flex-start; } }

.faq { padding-block: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 500; color: var(--gold-ink); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { margin-top: 8px; color: var(--muted); max-width: 70ch; }
.faq details p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ pages */
.page-content > p, .page-content > h2, .page-content > h3, .page-content > ul, .page-content > ol,
.page-content > .wp-block-image, .page-content > .wp-block-columns, .page-content > .wp-block-buttons,
.page-content > .wp-block-quote, .page-content > .wp-block-table, .page-content > .wp-block-details,
.page-content > .wp-block-group, .page-content > .wp-block-media-text, .page-content > .wp-block-gallery,
.page-content > .wp-block-embed, .page-content > .wp-block-separator {
	max-width: calc(760px + var(--gutter) * 2); margin-left: auto; margin-right: auto; padding-inline: var(--gutter);
}
.page-content > .alignwide { max-width: 1180px; }
/* Policies (D-065): English, then Arabic right-to-left. */
.page-content > .policy { max-width: calc(760px + var(--gutter) * 2); margin: 32px auto 0; padding-inline: var(--gutter); }
.policy h2 { font-size: 1.25rem; margin: 1.8em 0 .5em; color: var(--navy); }
.policy ul { padding-inline-start: 1.2em; }
.policy li { margin-bottom: .4em; }
.policy table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.policy th, .policy td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
.policy th { color: var(--navy); }
.policy__version { font-size: .9rem; }
.policy__ar { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--line); font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", Arial, sans-serif; line-height: 1.9; }
.policy__ar td, .policy__ar th { text-align: right; }
@media (max-width: 560px) { .policy table { font-size: .85rem; } .policy th, .policy td { padding: 6px; } }
.page-content > .alignfull { max-width: none; padding-inline: 0; }
.page-content > p:first-child, .page-content > .phero + p { margin-top: 32px; }
.page-content { padding-bottom: 24px; }
.phero { position: relative; padding-block: 48px 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.phero h1 { margin: 0; color: var(--navy); }
.phero__lead { color: var(--muted); font-size: 1.1rem; max-width: 58ch; margin: 12px 0 0; }
.phero .actions { margin-top: 20px; }
.phero--photo { color: #fff; background: #1b2530; border: 0; padding-top: 140px; overflow: hidden; }
.phero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 23, 41, .55), rgba(10, 23, 41, .35) 45%, rgba(10, 23, 41, .75)); }
.phero--photo h1 { color: #fff; }
.phero--photo .phero__lead { color: #EDE7DA; }
.phero--large { min-height: min(70vh, 560px); display: flex; align-items: flex-end; }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__inner { position: relative; z-index: 1; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: 48px; }
.story--flip .story__media { order: -1; }
.story__img, .story__media .img-fallback { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.story .btn { margin-top: 8px; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; gap: 20px; } .story--flip .story__media { order: 0; } }

.contact { padding-block: 48px 8px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.contact__list .ico { color: var(--gold-ink); margin-top: 2px; }
.contact__list .lbl { display: block; margin: 0 0 2px; }
.contact__list a { font-weight: 600; word-break: break-word; }

.enquiry { padding-block: 40px; }
.enquiry__box { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 4vw, 36px); box-shadow: var(--shadow); max-width: 860px; margin: 0 auto; }
.enquiry__form { display: grid; gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
fieldset.f { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.checks .check { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; cursor: pointer; font-size: .9rem; }
.checks .check:has(input:checked) { background: var(--gold); border-color: var(--gold); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.check--privacy { font-size: .9rem; }
.enquiry__form .btn { justify-self: start; }
.enquiry__form .small { margin: -6px 0 0; }
.egy-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.postlist { list-style: none; padding-block: 32px; display: grid; gap: 10px; }

/* ------------------------------------------------------------------ tour page */
.tour { padding-bottom: 40px; }
.crumbs { font-size: .86rem; color: var(--muted); margin: 18px 0 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.thero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: end; margin-bottom: 20px; }
.thero__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); }
.thero__img img, .thero__img .img-fallback { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.thero__badge { position: absolute; right: 14px; bottom: 14px; background: rgba(14, 41, 72, .85); color: #F6F3EA; font-size: .78rem; padding: 6px 10px; border-radius: 999px; }
.thero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 500; letter-spacing: -.01em; }
.promise { font-size: 1.08rem; color: var(--muted); max-width: 52ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chip { background: var(--chip); border-radius: 999px; padding: 6px 12px; font-size: .86rem; font-weight: 500; }
@media (max-width: 900px) { .thero { grid-template-columns: 1fr; } .thero__img { aspect-ratio: 4 / 3; } }
.tpage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 1020px) { .tpage { grid-template-columns: 1fr; } }
.tpage__main > section { margin: 36px 0; }
.tpage__main h2 { font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.sec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sec-row h2 { margin: 0; }
.hl { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.hl li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .86rem; }
.journey { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.journey:has(.mapbox:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.days { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.day { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.day.active { border-color: var(--gold); box-shadow: 0 6px 22px rgba(14, 41, 72, .10); }
.day-btn { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; width: 100%; cursor: pointer; }
.day-btn:focus-visible { outline: 3px solid var(--gold); border-radius: 12px; }
.dno { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--gold-ink); min-width: 1.6em; text-align: center; }
.dno small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dhead { display: grid; }
.dtitle { font-weight: 600; line-height: 1.3; }
.dplace { font-size: .84rem; color: var(--muted); }
.meals { display: flex; gap: 4px; }
.meal { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 700; border: 1.5px solid var(--line); color: var(--muted); }
.meal.on { background: var(--navy); border-color: var(--navy); color: #F6F3EA; }
.dbody { padding: 0 14px 14px 62px; display: grid; gap: 8px; }
.dbody p { margin: 0; max-width: 62ch; }
.dbody .sum { display: none; }
.dmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--muted); }
.dmeta b { color: var(--ink); font-weight: 600; }
.dacts { margin: 0; padding-left: 18px; font-size: .9rem; }
.note { font-size: .86rem; color: var(--gold-ink); font-weight: 600; }
.pager { display: none; }
.js .day:not(.open) .dbody .prose, .js .day:not(.open) .dacts { display: none; }
.js .day:not(.open) .dbody .sum { display: block; }
@media (max-width: 760px) {
	.journey, .journey:has(.mapbox:not([hidden])) { grid-template-columns: 1fr; gap: 10px; }
	.mapbox { order: -1; }
	.mapbox svg { aspect-ratio: 1 / 1; }
	.js .days { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
	.js .days::-webkit-scrollbar { display: none; }
	.js .day { flex: 0 0 86%; scroll-snap-align: center; }
	.dbody { padding: 0 14px 14px; }
	.js .pager { display: flex; justify-content: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
	.pager button { all: unset; width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; }
	.pager button.on { background: var(--gold); width: 22px; border-radius: 6px; }
	.expand-all { display: none !important; }
}
.mapbox { position: sticky; top: 12px; background: var(--water); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mapbox svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.maplegend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .76rem; padding: 8px 12px; background: var(--paper); border-top: 1px solid var(--line); color: var(--muted); }
.maplegend i { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--gold); vertical-align: middle; margin-right: 5px; }
.maplegend i.fl { border-top-style: dashed; }
.maplegend i.nl { border-top-color: var(--nile); }
.mapbtn { position: absolute; left: 10px; top: 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .8rem; cursor: pointer; box-shadow: 0 2px 8px rgba(14, 41, 72, .12); }
.pin { cursor: pointer; opacity: .55; transition: opacity .25s; }
.pin.tour { opacity: .9; }
.pin.on, .pin:hover, .pin:focus-visible { opacity: 1; }
.pin .ring { fill: #fff; stroke: var(--line); stroke-width: 1; }
.pin.on .ring { fill: var(--gold); stroke: none; }
.pin:focus-visible { outline: none; }
.pin:focus-visible .ring, .pin:focus-visible > g > circle:first-child { stroke: var(--gold); stroke-width: 3; }
.mlabel { font: 700 12.5px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
.pin:not(.on) .mlabel { font-weight: 600; fill: var(--muted); }
.ml-country { font: 600 15px var(--sans); letter-spacing: .3em; fill: #A99C80; }
.ml-sea { font: italic 500 19px var(--serif); fill: #4F7F90; }
.ml-sm { font-size: 13px; }
.ml-region { font: 600 13px var(--sans); letter-spacing: .35em; fill: #9A7B45; }
.ml-oasis { font: 500 11px var(--sans); fill: #5F7A3A; }
.ml-compass { font: 700 12px var(--sans); fill: var(--navy); }
.ml-scale { font: 600 12px var(--sans); fill: var(--ink); }
.citycard { position: absolute; left: 10px; right: 10px; bottom: 44px; display: grid; grid-template-columns: 88px 1fr; gap: 12px; background: var(--paper); border-radius: 12px; padding: 10px; box-shadow: 0 10px 30px rgba(14, 41, 72, .22); }
.citycard img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.citycard h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.citycard p { margin: 0 0 6px; font-size: .85rem; color: var(--muted); }
.citycard a { font-weight: 700; font-size: .85rem; text-decoration: none; }
.citycard .close { position: absolute; right: 8px; top: 4px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--muted); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: .95rem; }
.ic { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; margin-top: 2px; }
.ic.y { background: rgba(46, 107, 69, .15); color: var(--ok); }
.ic.n { background: rgba(166, 61, 47, .13); color: var(--err); }
.js .collapsible { max-height: 260px; overflow: hidden; position: relative; }
.js .collapsible.open { max-height: none; }
.js .collapsible:not(.open)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(transparent, var(--bg)); }
.extras { display: grid; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.extra { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }

.book { position: sticky; top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.tpage__side { margin-top: 36px; }
.book h2 { font-size: 1.2rem; margin: 0; }
.price { font-family: var(--serif); font-size: 1.9rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.dates { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.date { display: grid; gap: 2px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.date__when { font-weight: 700; }
.date__status { font-size: .8rem; color: var(--muted); }
.date--open .date__status { color: var(--ok); font-weight: 600; }
.date__prices { font-size: .84rem; }
.date__go { font-weight: 700; font-size: .88rem; text-decoration: none; margin-top: 4px; }
.help { display: flex; gap: 8px; flex-wrap: wrap; }
.help a { flex: 1 1 auto; text-align: center; font-size: .85rem; font-weight: 600; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 10px; color: inherit; text-decoration: none; }
.book .small { margin: 0; }
.mobile-cta { display: none; }
@media (max-width: 1020px) {
	.book { position: static; }
	.tpage__side { margin-top: 0; }
	.mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .25s; }
	.mobile-cta.is-visible { transform: none; }
	.mobile-cta__p { font-family: var(--serif); font-size: 1.2rem; }
	.mobile-cta__p small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--muted); }
	.single-egy_tour .site-footer { padding-bottom: 96px; }
}
.related { padding-top: 24px; }
.tpage--event { padding-bottom: 8px; }
.safety { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 20px; }

/* ------------------------------------------------------------------ core blocks the owner may add */
.wp-block-button__link { border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; padding: 11px 22px; text-decoration: none; }
.wp-block-quote { border-left: 4px solid var(--gold); padding-left: 18px; font-family: var(--serif); font-size: 1.2rem; }
.wp-block-image img { border-radius: var(--r); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.site-header, .site-footer, .mobile-cta, .enquiry, .band, .mapbox { display: none !important; }
}

/* Apply section on tour and event pages: one button per date */
.apply-dates { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 10px; }
.apply-date { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }

/* ------------------------------------------------------------------ phone safety (Part 2.2) */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 46px; line-height: 1.2; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; }
.finder__row > * { min-width: 0; }
.cartouche { border-radius: 14px; }
/* Phones: the map sits in its place and scrolls with the page (it used to stick while the days slid under it). */
@media (max-width: 760px) { .mapbox { position: relative; top: auto; } }
/* Booking: a button at the top of every tour page, the phone bar always on screen, a sheet to pick the date. */
.tbook { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.tbook__price { font-size: .95rem; color: var(--muted); }
.tbook__price b { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.date .date__go { margin-top: 8px; font-size: .9rem; }
@media (max-width: 1020px) { .mobile-cta { transform: none; } }
.sheet { border: 0; padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); width: min(560px, 100%); max-width: 100%; max-height: 88vh; overflow: auto; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.sheet::backdrop { background: rgba(10, 23, 41, .55); }
.sheet .dates { margin: 12px 0; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet__head h2 { margin: 0; font-size: 1.3rem; }
.sheet__x { border: 1.5px solid var(--line); background: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
@media (max-width: 760px) { .sheet { margin: auto 0 0; border-radius: 20px 20px 0 0; width: 100%; } }
/* Account link in the header (Part 2.2 B): "Sign in / Sign up", or the traveller's name once signed in. */
.site-header__inner > .brand { order: 0; margin-right: auto; }
.site-header__inner > .nav { order: 1; }
.site-header__inner > .acct { order: 2; }
.site-header__inner > .nav-toggle { order: 3; }
.acct { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 12px 6px 8px; color: inherit; text-decoration: none; font-weight: 600; font-size: .86rem; white-space: nowrap; max-width: 46vw; }
.acct:hover { background: var(--gold); border-color: var(--gold); color: #161616; }
.site-header--over .acct { border-color: rgba(255, 255, 255, .7); }
.acct__ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #161616; font-size: .72rem; font-weight: 700; flex: none; }
.acct__t { overflow: hidden; text-overflow: ellipsis; }
.acct.is-in .acct__ic { font-size: .78rem; }
@media (max-width: 520px) { .acct__more { display: none; } .acct { font-size: .8rem; padding: 5px 10px 5px 6px; } .brand__word { font-size: 1.05rem; letter-spacing: .26em; } }
/* Signed-in touches on the website */
.welcomebar { background: var(--navy); color: #F6F3EA; }
.welcomebar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; }
.welcomebar b { color: #fff; }
.welcomebar a { color: #161616; background: var(--gold); border-radius: 999px; padding: 7px 14px; font-weight: 700; text-decoration: none; font-size: .88rem; white-space: nowrap; }
.joined { display: grid; gap: 6px; background: #E3F0E6; border: 1.5px solid #9CC5A8; color: #1E4D2F; border-radius: 12px; padding: 12px 14px; }
.joined b { font-size: 1rem; }
.welcomebar + .site-header--over { top: auto; }
.has-photo-hero .welcomebar { position: relative; z-index: 21; }
