/*!
 * Ambassador Journeys — journey detail page.
 * Handle: qq_theme-journeys-single   (loaded only on a single qqj_journey)
 *
 * Layout only. Every component this page shows — .tier-box, .day, .timeline,
 * .inc-grid, .notes, .price, .btn — is already styled in journeys.css and is
 * reused verbatim, so a detail page cannot drift from the modal it replaces.
 * The two exceptions are the hero (journeys.css scopes .hero-img under .modal)
 * and the two things a modal never needed: a sticky aside and a sticky bar.
 *
 * Scoped under .qqj-page, like the rest of the section.
 */

/* ============ HERO ============ */
.qqj-page .jp-hero {position:relative;min-height:clamp(320px,52vh,520px);display:flex;align-items:flex-end;background:linear-gradient(135deg,var(--qqj-navy2),var(--qqj-navy));overflow:hidden}
.qqj-page .jp-hero-img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.qqj-page .jp-hero::after {content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,20,38,.88),rgba(7,20,38,.30) 55%,rgba(7,20,38,.42))}
.qqj-page .jp-hero-cap {position:relative;z-index:2;width:100%;color:#fff;padding:44px 0 40px}
.qqj-page .jp-hero-cap h1 {font-family:'Playfair Display',serif;font-size:clamp(1.8rem,4vw,3rem);font-weight:600;line-height:1.15;margin:.2em 0 0;color:#fff}
.qqj-page .jp-hero-meta {font-size:.8rem;color:var(--qqj-gold2);letter-spacing:.08em;text-transform:uppercase;font-weight:600}

.qqj-page .jp-crumbs {display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.74rem;margin-bottom:18px;color:rgba(255,255,255,.72)}
.qqj-page .jp-crumbs a {color:rgba(255,255,255,.82);border-bottom:1px solid transparent}
.qqj-page .jp-crumbs a:hover {color:var(--qqj-gold2);border-color:var(--qqj-gold2)}
.qqj-page .jp-crumbs i {font-style:normal;color:var(--qqj-gold)}
.qqj-page .jp-crumbs span {color:#fff;font-weight:600}

.qqj-page .jp-hero-tags {display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}
.qqj-page .jp-hero-tags .badge {position:static}
.qqj-page .jp-rating {display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.8rem;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:6px 14px;backdrop-filter:blur(4px)}
.qqj-page .jp-rating:hover {background:rgba(198,161,91,.28);border-color:var(--qqj-gold)}
.qqj-page .jp-rating b {color:var(--qqj-gold2);font-size:.95rem}
.qqj-page .jp-rating span {color:rgba(255,255,255,.78);font-size:.74rem}

/* ============ LAYOUT ============ */
.qqj-page .jp-layout {display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:start;padding-top:44px;padding-bottom:72px}
.qqj-page .jp-main {min-width:0}

.qqj-page .jp-sec {margin-bottom:44px}
.qqj-page .jp-sec > h2 {font-family:'Playfair Display',serif;font-size:clamp(1.25rem,2.4vw,1.7rem);color:var(--qqj-navy);font-weight:600;margin-bottom:18px}
.qqj-page .jp-sec > h2::after {content:"";display:block;width:52px;height:2px;background:var(--qqj-gold);margin-top:10px}

/* Quick facts */
.qqj-page .jp-facts {list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:0 0 36px;padding:0}
.qqj-page .jp-facts li {display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid var(--qqj-line);border-radius:12px;padding:13px 16px}
.qqj-page .jp-facts li span {font-size:1.05rem;line-height:1.2}
.qqj-page .jp-facts li b {font-size:.82rem;font-weight:600;color:var(--qqj-navy);line-height:1.45}

/* Highlights */
.qqj-page .jp-hl {list-style:none;display:grid;gap:10px;padding:0;margin:0}
.qqj-page .jp-hl li {position:relative;padding-left:26px;font-size:.92rem;color:var(--qqj-ink2)}
.qqj-page .jp-hl li::before {content:"✦";position:absolute;left:0;top:1px;color:var(--qqj-gold)}

/* Tier chooser — .tier-box/.tier-opt come from journeys.css; these are the
   three declarations a <button> needs that the modal's <div> did not. */
.qqj-page .jp .tier-opt {display:block;width:100%;text-align:left;background:#fff;font:inherit}
.qqj-page .jp .tier-opt .t-price,
.qqj-page .jp .tier-opt .t-hotels,
.qqj-page .jp .tier-opt .t-star {display:block}
.qqj-page .jp .tier-opt.tier-note {cursor:default;background:var(--qqj-mist)}
.qqj-page .jp .tier-opt.tier-note .t-hotels {margin-top:8px}

/* In-page nav */
.qqj-page .jp-nav {position:sticky;top:var(--qqj-header-h,0px);z-index:600;display:flex;gap:4px;overflow-x:auto;background:var(--qqj-ivory);border-bottom:1.5px solid var(--qqj-line);margin-bottom:32px;padding-top:6px}
.qqj-page .jp-nav a {padding:10px 18px;font-size:.85rem;font-weight:600;color:var(--qqj-ink2);border-bottom:2.5px solid transparent;white-space:nowrap}
.qqj-page .jp-nav a:hover {color:var(--qqj-navy);border-color:var(--qqj-gold)}

/* Itinerary */
.qqj-page .jp-legend {font-size:.74rem;color:var(--qqj-ink2);margin-bottom:20px}
.qqj-page .jp-days .day h3 {font-family:'Playfair Display',serif;font-size:1.08rem;color:var(--qqj-navy);margin:2px 0 6px;font-weight:600}
.qqj-page .jp-tl {margin-top:10px}
.qqj-page .jp-tl summary {cursor:pointer;list-style:none}
.qqj-page .jp-tl summary::-webkit-details-marker {display:none}
.qqj-page .jp-tl summary::after {content:" ▼";font-size:.7rem}
.qqj-page .jp-tl[open] summary::after {content:" ▲"}
/* .timeline is display:none until .open in journeys.css; inside <details> the
   element already only exists when the disclosure is open, so it ships open. */
.qqj-page .jp-tl .timeline {margin-top:12px}

/* Inclusions / trust reuse .inc-grid, but their headings are h3 here because
   the section already owns the h2. */
.qqj-page .jp .inc-col h3 {font-size:.95rem;color:var(--qqj-navy);margin-bottom:12px;display:flex;align-items:center;gap:8px;font-weight:600}
.qqj-page .jp .notes h3 {font-size:.85rem;color:var(--qqj-navy);margin-bottom:8px;font-weight:600}

.qqj-page .jp-back {margin-top:36px;font-size:.86rem}
.qqj-page .jp-back a {color:var(--qqj-navy);font-weight:600;border-bottom:1px solid var(--qqj-gold)}

/* ============ BOOKING ASIDE ============ */
.qqj-page .jp-aside {position:sticky;top:calc(var(--qqj-header-h,0px) + 24px)}
.qqj-page .jp-book {background:#fff;border:1px solid var(--qqj-line);border-radius:var(--qqj-r);box-shadow:var(--qqj-shadow);padding:24px 22px}
.qqj-page .jp-book .price {margin-bottom:18px}
.qqj-page .jp-book .price b {font-size:1.9rem;display:block;line-height:1.1}
.qqj-page .jp-book .qqj-approx {display:block;color:var(--qqj-gold3);font-size:.72rem;margin-top:2px}
.qqj-page .jp-book .jp-cta {width:100%;margin-bottom:10px}
.qqj-page .jp-assure {list-style:none;padding:16px 0 0;margin:8px 0 0;border-top:1px solid var(--qqj-line)}
.qqj-page .jp-assure li {position:relative;padding-left:22px;font-size:.76rem;color:var(--qqj-ink2);margin-bottom:7px}
.qqj-page .jp-assure li::before {content:"✓";position:absolute;left:2px;color:var(--qqj-ok);font-weight:700}

/* ============ STICKY BAR (mobile) ============ */
.qqj-page .jp-bar {position:fixed;left:0;right:0;bottom:0;z-index:850;background:#fff;border-top:1px solid var(--qqj-line);box-shadow:0 -8px 24px rgba(12,36,64,.12);padding:10px 0}
.qqj-page .jp-bar[hidden] {display:none}
.qqj-page .jp-bar .wrap {display:flex;align-items:center;justify-content:space-between;gap:14px}
.qqj-page .jp-bar .price b {font-size:1.25rem}
.qqj-page .jp-bar .btn {padding:11px 22px;font-size:.86rem}

/* ============ RESPONSIVE ============ */
@media (max-width:1024px) {
	.qqj-page .jp-layout {grid-template-columns:1fr;gap:32px}
	.qqj-page .jp-aside {position:static;order:-1}
	.qqj-page .jp-book {padding:20px}
}
@media (max-width:720px) {
	.qqj-page .jp-hero-cap {padding:32px 0 28px}
	.qqj-page .jp-layout {padding-top:28px;padding-bottom:96px}
	.qqj-page .jp .tier-box {grid-template-columns:1fr}
	.qqj-page .jp .inc-grid {grid-template-columns:1fr}
	.qqj-page .jp-bar .price small {display:none}
}
