/* Pelagos excursion 15011 (Pangasinan sea tour): section nav, hero, cards,
   program timeline, FAQ accordion, sticky mobile CTA. Loaded ONLY on post
   15011 (see pg-excursion-nav-15011.php).
   v1.3.0: visual language aligned with the Manila hotel pages (Celeste
   template): Manrope + Playfair Display, navy #043b77, blue #28a7dc,
   orange #f7941d; title lifted to the photo band's bottom edge. */

html { scroll-behavior: smooth; }
body.postid-15011 h2 { scroll-margin-top: 84px; }
body.postid-15011 .ql-wrap { scroll-margin-top: 84px; }

/* ---------- Celeste type: Manrope body, Playfair headings ---------- */
body.postid-15011 .elementor-15011 {
	font-family: Manrope, Arial, Helvetica, sans-serif;
	color: #33475a;
}
body.postid-15011 .elementor-element-391c9196 h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-size: clamp(32px, 5.5vw, 48px);
	line-height: 1.15;
	color: #16424F;
	hyphens: none;
	overflow-wrap: normal;
}
body.postid-15011 .elementor-15011 h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
	font-size: clamp(30px, 4.4vw, 46px);
	line-height: 1.1;
	color: #043b77;
	hyphens: none;
	overflow-wrap: normal;
}
/* Celeste section-head accent: short orange dash above each H2. */
body.postid-15011 .elementor-15011 h2::before {
	content: "";
	display: block;
	width: 24px;
	height: 3px;
	background: #f7941d;
	margin-bottom: 12px;
}

/* ---------- title hard against the photo band (Celeste gap fix) ----------
   Template 16230's Content section carries margin-top:80px (tablet,
   inherited on mobile) / 20px (desktop). Kill it on this page only. */
body.postid-15011 .elementor-16230 .elementor-element.elementor-element-3c95ca9c {
	margin-top: 0 !important;
	padding-top: 6px !important;
}
body.postid-15011 .elementor-element-407ce624 > .elementor-widget-wrap { padding-top: 0 !important; }

/* ---------- breadcrumbs on the TOP banner photo (header template section
   2a1d858c, featured image as background). JS moves the widget into that
   section and hides the now-empty breadcrumb section. Bottom placement:
   the section's top edge slides under the header (margin-top:-264px), so
   only the bottom is a safe anchor. Crumb styling follows the Celeste
   spec (white, bold last item, gold hover, centered on desktop). ---------- */
body.postid-15011 .elementor-element-2a1d858c { position: relative; }
body.postid-15011 .elementor-element-2a1d858c::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(180deg, transparent, rgba(2, 20, 50, .55));
	pointer-events: none;
	z-index: 1;
}
body.postid-15011 .elementor-element-2a1d858c .elementor-element-6e39d02 {
	position: absolute;
	bottom: 14px;
	left: 16px;
	right: 16px;
	z-index: 2;
	margin: 0 !important;
}
body.postid-15011 .elementor-element-2a1d858c .elementor-element-6e39d02 > .elementor-widget-container { padding: 0 !important; }
body.postid-15011 .elementor-element-2a1d858c .ekit-breadcrumb {
	margin: 0;
	font-family: Manrope, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #fff;
}
body.postid-15011 .elementor-element-2a1d858c .ekit-breadcrumb > li:not(.brd_sep) {
	color: #fff !important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}
body.postid-15011 .elementor-element-2a1d858c .ekit-breadcrumb > li > a {
	color: #fff !important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}
body.postid-15011 .elementor-element-2a1d858c .ekit-breadcrumb > li:hover > a { color: #ffd34f !important; }
body.postid-15011 .elementor-element-2a1d858c .ekit-breadcrumb > li.brd_sep {
	color: rgba(255, 255, 255, .8) !important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}
body.postid-15011 .elementor-element-2a1d858c .ekit-breadcrumb > li:last-child { font-weight: 700; }
@media (min-width: 1025px) {
	body.postid-15011 .elementor-element-2a1d858c .ekit-breadcrumb { justify-content: center !important; }
}

/* ---------- sticky section nav (JS-injected, first child of the content section) ---------- */
.pg-secnav {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid #e1edf4;
	box-shadow: 0 4px 14px rgba(4, 59, 119, .07);
}
.pg-secnav-in {
	display: flex;
	gap: 8px;
	align-items: center;
	width: max-content;
	max-width: 100%;
	margin: 0 auto;
	padding: 10px 16px;
	overflow-x: auto;
	scrollbar-width: none;
}
.pg-secnav-in::-webkit-scrollbar { display: none; }
.pg-secnav a {
	flex: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 15px;
	font-family: Manrope, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #043b77 !important;
	text-decoration: none !important;
	background: #fff;
	border: 1.5px solid #043b77;
	border-radius: 999px;
}
.pg-secnav a:hover { background: #f2f8fc; }
.pg-secnav a.is-active { background: #043b77; color: #fff !important; }
.pg-secnav a:focus-visible { outline: 2px solid #f7941d; outline-offset: 2px; }

/* ---------- hero photo: the featured-image widget is hidden on ALL
   breakpoints by the kit; show it on this page only, cropped to a
   landscape hero. Source is 474px wide, so cap the width on desktop. ---------- */
body.postid-15011 .elementor-element-44e50fc2.elementor-hidden-desktop,
body.postid-15011 .elementor-element-44e50fc2.elementor-hidden-tablet,
body.postid-15011 .elementor-element-44e50fc2.elementor-hidden-mobile {
	display: block !important;
}
body.postid-15011 .elementor-element-44e50fc2 {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}
body.postid-15011 .elementor-element-44e50fc2 img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	object-position: center 38%;
	border-radius: 20px;
	box-shadow: 0 14px 40px rgba(4, 59, 119, .14);
}

/* ---------- "Коротко о туре" facts card (Celeste card style) ---------- */
body.postid-15011 .elementor-element-b62e6dc .elementor-widget-container {
	background: #fff;
	border: 1px solid #e1edf4;
	border-radius: 18px;
	padding: 6px 18px;
	box-shadow: 0 10px 30px rgba(5, 65, 117, .06);
}
body.postid-15011 .elementor-element-b62e6dc p {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	padding: 11px 0;
	border-bottom: 1px solid #e1edf4;
}
body.postid-15011 .elementor-element-b62e6dc p:last-child { border-bottom: 0; }
body.postid-15011 .elementor-element-b62e6dc p strong { color: #043b77; }

/* ---------- price card (the fx switcher pills sit above it, injected after the H2) ---------- */
body.postid-15011 .elementor-element-3d76929 .elementor-widget-container {
	background: #fff;
	border: 1px solid #e1edf4;
	border-top: 4px solid #f7941d;
	border-radius: 18px;
	padding: 18px 20px;
	box-shadow: 0 10px 30px rgba(5, 65, 117, .06);
}
body.postid-15011 .elementor-element-3d76929 p { margin: 0 0 8px; }
body.postid-15011 .elementor-element-3d76929 p:last-child { margin-bottom: 0; }
body.postid-15011 .elementor-element-3d76929 .pg-price {
	font-size: 28px;
	font-weight: 800;
	color: #043b77;
}
body.postid-15011 .elementor-element-3d76929 p + p {
	color: #687e8c;
	font-size: 15px;
}

/* ---------- program timeline: rail + navy numbers + navy step leads ---------- */
body.postid-15011 .elementor-element-c8718f3 ol,
body.postid-15011 .elementor-element-9b0428b ol,
body.postid-15011 .elementor-element-21b7b76 ol {
	border-left: 2px solid #d6e9f5;
	padding-left: 26px;
	margin-left: 4px;
}
body.postid-15011 .elementor-element-c8718f3 li,
body.postid-15011 .elementor-element-9b0428b li,
body.postid-15011 .elementor-element-21b7b76 li {
	margin: 0 0 16px;
	padding-left: 4px;
}
body.postid-15011 .elementor-element-c8718f3 li::marker,
body.postid-15011 .elementor-element-9b0428b li::marker,
body.postid-15011 .elementor-element-21b7b76 li::marker {
	color: #043b77;
	font-weight: 700;
}
body.postid-15011 .elementor-element-c8718f3 li > strong:first-child,
body.postid-15011 .elementor-element-9b0428b li > strong:first-child,
body.postid-15011 .elementor-element-21b7b76 li > strong:first-child {
	color: #043b77;
}

/* ---------- program / FAQ images: rounded corners like the gallery ---------- */
body.postid-15011 .elementor-element-952c5a6 img,
body.postid-15011 .elementor-element-d2fef4c img,
body.postid-15011 .elementor-element-598c56a img {
	border-radius: 12px;
}

/* ---------- FAQ accordion (JS converts the Q/A paragraphs to <details>) ---------- */
body.postid-15011 .pg-faq-item {
	border: 1px solid #e1edf4;
	border-radius: 12px;
	margin: 0 0 10px;
	overflow: hidden;
}
body.postid-15011 .pg-faq-item summary {
	padding: 14px 16px;
	font-family: Manrope, Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #043b77;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
body.postid-15011 .pg-faq-item summary::-webkit-details-marker { display: none; }
body.postid-15011 .pg-faq-item summary::after {
	content: "+";
	flex: none;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: #043b77;
}
body.postid-15011 .pg-faq-item[open] summary::after { content: "−"; }
body.postid-15011 .pg-faq-a { padding: 0 16px 14px; }
body.postid-15011 .pg-faq-a p { margin: 0 0 8px; }
body.postid-15011 .pg-faq-a p:last-child { margin-bottom: 0; }

/* ---------- sticky mobile CTA bar (JS-injected, mobile only) ---------- */
.pg-cta-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	display: flex;
	gap: 10px;
	align-items: stretch;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, .97);
	border-top: 1px solid #e1edf4;
	box-shadow: 0 -4px 16px rgba(4, 59, 119, .08);
	transition: transform .25s ease;
}
.pg-cta-bar.pg-cta-hidden { transform: translateY(110%); }
.pg-cta-bar a {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 12px;
	border-radius: 999px;
	font-family: Manrope, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
}
.pg-cta-tg { background: #229ED9; color: #fff !important; }
.pg-cta-form {
	background: linear-gradient(135deg, #ffac32, #f7941d);
	background-color: #f7941d;
	color: #fff !important;
}

@media (min-width: 769px) {
	.pg-cta-bar { display: none; }
}

@media (max-width: 768px) {
	body.postid-15011 { padding-bottom: 78px; }
	body.postid-15011 .elementor-element-44e50fc2 img { height: 230px; }
	/* fade at the scrollable nav's right edge = "there is more" */
	.pg-secnav-in {
		-webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
		mask-image: linear-gradient(90deg, #000 90%, transparent);
	}
}

@media (max-width: 380px) {
	.pg-cta-bar a { font-size: 14px; }
}
