/**
 * Best Mount Kinabalu — Climb Packages page (2026 redesign).
 *
 * Loaded only on /mount-kinabalu-packages/, after the Customizer's
 * Additional CSS. Every rule is scoped to the page's "bp-" classes.
 */

body.bmk-packages-page {
	--bp-navy: #1565c0;
	--bp-navy-dark: #0d4c94;
	--bp-orange: #fc7c31;
	--bp-rust: #b4471a;
	--bp-red: #d63a3a;
	--bp-ink: #111a2e;
	--bp-text: #4a5468;
	--bp-muted: #7b8598;
	--bp-line: #e6e9ef;
	--bp-tint: #f5f7fb;
	--bp-btn: #eef2f8;
	--bp-radius: 12px;
	--bp-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 20px rgba(16, 24, 40, .06);
	--bp-heading: "Montserrat", "Segoe UI", sans-serif;
	background: #fff;
}

/* Page frame */

body.bmk-packages-page .site-content,
body.bmk-packages-page .content-area,
body.bmk-packages-page .site-main,
body.bmk-packages-page .inside-article,
body.bmk-packages-page .entry-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	background: transparent;
}

body.bmk-packages-page .site-content { display: block; }
body.bmk-packages-page .entry-header,
body.bmk-packages-page .bmk-page-header-meta,
body.bmk-packages-page .bmk-announcement-strip,
body.bmk-packages-page .bmk-breadcrumb { display: none !important; }

body.bmk-packages-page [class*="bp-"] > * { margin-block-start: 0; }
body.bmk-packages-page .entry-content > * { margin-block: 0; }

.bp-wrap {
	width: 100%;
	max-width: 1208px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}

/* Hero */

.bp-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 440px;
	padding: 90px 0;
	background: #0c1a33 url("/wp-content/uploads/2026/08/bmk-homepage-hero-e1787544092306.jpg") center 38% / cover no-repeat;
	text-align: center;
	overflow: hidden;
}

.bp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 45%, rgba(5, 15, 36, .35) 0%, rgba(5, 15, 36, .15) 60%),
		linear-gradient(0deg, rgba(5, 15, 36, .45) 0%, rgba(5, 15, 36, .1) 60%, rgba(5, 15, 36, .25) 100%);
}

.bp-hero .bp-wrap { position: relative; z-index: 1; }

body.bmk-packages-page .bp-hero__title {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--bp-heading);
	font-size: clamp(2.6rem, 5.4vw, 4.2rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.025em;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

body.bmk-packages-page .bp-hero__text {
	max-width: 620px;
	margin: 0 auto;
	color: rgba(255, 255, 255, .92);
	font-size: 1.05rem;
	line-height: 1.65;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

/* Category pills */

.bp-filter {
	position: sticky;
	top: var(--bp-sticky-top, 0px);
	z-index: 50;
	padding: 16px 0;
	border-bottom: 1px solid var(--bp-line);
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.bp-filter__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

body.bmk-packages-page .bp-pill { margin: 0; }

.bp-pill a {
	display: inline-block;
	padding: 9px 20px;
	border-radius: 999px;
	background: #eceef2;
	color: #394357;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.bp-pill a:hover { background: #e1e5ec; color: var(--bp-ink); }

.bp-pill a.is-active {
	background: #dfe7fb;
	color: var(--bp-navy);
}

/* Sections */

.bp-section {
	padding: 72px 0 8px;
	scroll-margin-top: 150px;
}

.bp-section:last-child { padding-bottom: 110px; }

.bp-sec-head {
	position: relative;
	margin-bottom: 34px;
	padding-left: 22px;
}

.bp-sec-head::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 4px;
	height: 38px;
	border-radius: 4px;
	background: var(--bp-orange);
}

.bp-sec-head--navy::before { background: var(--bp-navy); }

body.bmk-packages-page .bp-sec-title {
	margin: 0 0 8px;
	color: var(--bp-ink);
	font-family: var(--bp-heading);
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.015em;
}

body.bmk-packages-page .bp-sec-desc {
	margin: 0;
	color: var(--bp-text);
	font-size: 14px;
}

/* Grids */

.bp-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.bp-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* Card */

.bp-card {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-radius);
	background: #fff;
	box-shadow: var(--bp-shadow);
	transition: transform .3s ease, box-shadow .3s ease;
}

.bp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(16, 24, 40, .12);
}

.bp-card__media {
	position: relative;
	aspect-ratio: 4 / 2.85;
	overflow: hidden;
	background: var(--bp-tint);
}

.bp-card--lg .bp-card__media { aspect-ratio: 16 / 9.8; }

.bp-card__media figure,
.bp-card__media figure a {
	display: block;
	height: 100%;
	margin: 0 !important;
}

.bp-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.bp-card:hover .bp-card__media img { transform: scale(1.05); }

body.bmk-packages-page .bp-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--bp-navy);
	color: #fff;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

body.bmk-packages-page .bp-badge--orange { background: var(--bp-orange); }
body.bmk-packages-page .bp-badge--red { background: var(--bp-red); }

.bp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 18px 20px;
}

.bp-card--lg .bp-card__body { padding: 22px 24px 24px; }

body.bmk-packages-page .bp-card__title {
	margin: 0 0 14px;
	font-family: var(--bp-heading);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
}

.bp-card:not(.bp-card--lg) .bp-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.bmk-packages-page .bp-card--lg .bp-card__title { font-size: 1.22rem; margin-bottom: 16px; }

.bp-card__title a {
	color: var(--bp-navy);
	text-decoration: none;
}

.bp-card__title a:hover { color: var(--bp-navy-dark); }

body.bmk-packages-page .bp-meta {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 7px;
	color: #394357;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.bp-meta::before {
	content: "";
	width: 15px;
	height: 15px;
	flex: none;
	margin-top: 1px;
	background: center / 15px no-repeat;
}

.bp-meta--time::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23394357%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E"); }
.bp-meta--moderate::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23394357%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 20v-5M10 20v-9M15 20V8M20 20V4%22/%3E%3C/svg%3E"); }
.bp-meta--adrenaline::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23394357%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M13 2 4 14h7l-1 8 9-12h-7l1-8Z%22/%3E%3C/svg%3E"); }
.bp-meta--advanced::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23394357%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m3 17 6-6 4 4 8-8%22/%3E%3Cpath d=%22M15 7h6v6%22/%3E%3C/svg%3E"); }
.bp-meta--bed::before      { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23394357%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5%22/%3E%3Ccircle cx=%227%22 cy=%2211%22 r=%222%22/%3E%3C/svg%3E"); }
.bp-meta--hut::before      { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23394357%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 11 12 4l8 7v9H4v-9Z%22/%3E%3Cpath d=%22M10 20v-5h4v5%22/%3E%3C/svg%3E"); }
.bp-meta--peak::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23394357%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m3 20 6.5-11 4 6.5 2.5-4L21 20H3Z%22/%3E%3C/svg%3E"); }

.bp-card--lg .bp-meta--time::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fc7c31%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E"); }
.bp-card--lg .bp-meta--moderate::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fc7c31%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 20v-5M10 20v-9M15 20V8M20 20V4%22/%3E%3C/svg%3E"); }
.bp-card--lg .bp-meta--bed::before      { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fc7c31%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5%22/%3E%3Ccircle cx=%227%22 cy=%2211%22 r=%222%22/%3E%3C/svg%3E"); }

/* Prices: compact rows */
.bp-prices {
	margin-top: auto !important;
	padding-top: 18px;
}

body.bmk-packages-page .bp-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 4px;
	color: var(--bp-muted);
	font-size: 11px;
}

.bp-price strong {
	color: var(--bp-navy);
	font-family: var(--bp-heading);
	font-size: 14px;
	font-weight: 700;
}

.bp-price--intl strong { color: var(--bp-rust); }

/* Prices: split columns on large cards */
.bp-prices--split {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 22px;
}

body.bmk-packages-page .bp-prices--split .bp-price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
}

body.bmk-packages-page .bp-prices--split .bp-price--intl { align-items: flex-end; }

.bp-prices--split .bp-price span {
	color: #394357;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bp-prices--split .bp-price strong { font-size: 1.45rem; font-weight: 800; }

/* CTA buttons */
body.bmk-packages-page .bp-card__cta { margin: 16px 0 0; }

.bp-card__cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 16px;
	border-radius: 8px;
	background: var(--bp-btn);
	color: var(--bp-navy);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.bp-card__cta a::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 12h16M14 6l6 6-6 6%22/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 12h16M14 6l6 6-6 6%22/%3E%3C/svg%3E") center / contain no-repeat;
}

.bp-card__cta a:hover,
.bp-card:hover .bp-card__cta a {
	background: var(--bp-navy);
	color: #fff;
}

.bp-card__cta--solid a {
	padding: 13px 16px;
	background: #1976d2;
	color: #fff;
	box-shadow: 0 8px 18px rgba(11, 77, 179, .22);
}

.bp-card__cta--solid a::after { display: none; }

.bp-card__cta--solid a:hover,
.bp-card:hover .bp-card__cta--solid a { background: var(--bp-navy); }

/* Custom expedition card */
.bp-custom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 40px 32px;
	border: 1.5px dashed #cdd4df;
	border-radius: var(--bp-radius);
	background: var(--bp-tint);
	text-align: center;
}

body.bmk-packages-page .bp-custom__title {
	margin: 0 0 10px;
	color: var(--bp-navy);
	font-family: var(--bp-heading);
	font-size: 1.3rem;
	font-weight: 700;
}

.bp-custom__title::before {
	content: "";
	display: block;
	width: 54px;
	height: 54px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: #dfe7fb url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2300327d%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6h11M4 12h8M4 18h6%22/%3E%3Cpath d=%22m14 19 1-4 6-6 3 3-6 6-4 1Z%22/%3E%3C/svg%3E") center / 24px no-repeat;
}

body.bmk-packages-page .bp-custom__text {
	max-width: 230px;
	margin: 0 0 24px;
	color: var(--bp-text);
	font-size: 13.5px;
	line-height: 1.6;
}

body.bmk-packages-page .bp-custom__cta { margin: 0; }

.bp-custom__cta a {
	display: inline-block;
	padding: 11px 22px;
	border: 1.5px solid var(--bp-navy);
	border-radius: 8px;
	background: #fff;
	color: var(--bp-navy);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.bp-custom__cta a:hover { background: var(--bp-navy); color: #fff; }

/* Responsive */

@media (max-width: 1100px) {
	.bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.bp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bp-custom { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.bp-wrap { padding-inline: 16px; }
	.bp-hero { min-height: 360px; padding: 70px 0; }
	.bp-filter { padding: 12px 0; }
	.bp-filter__row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.bp-pill a { white-space: nowrap; padding: 8px 16px; }
	.bp-section { padding-top: 52px; }
	.bp-grid,
	.bp-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.bp-card:not(.bp-card--lg) .bp-card__title a { -webkit-line-clamp: unset; display: inline; }
}

@media (prefers-reduced-motion: reduce) {
	.bp-card, .bp-card__media img { transition: none; }
}


/* Neutralise legacy Customizer rules that targeted the old page structure. */
body.bmk-packages-page .entry-content h3.bp-card__title,
body.bmk-packages-page .entry-content h3.bp-custom__title {
	border-left: 0;
	padding-left: 0;
	margin-top: 0;
}

@media (min-width: 901px) and (max-width: 1100px) {
	body.bmk-packages-page .bp-grid:not(.bp-grid--3) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
	body.bmk-packages-page .bp-card:not(.bp-card--lg) .bp-card__body { padding: 16px 14px 18px; }
}


body.bmk-packages-page .entry-content h3.bp-card__title,
body.bmk-packages-page .entry-content h3.bp-custom__title {
	border-left: 0 !important;
	padding-left: 0 !important;
}

@media (min-width: 901px) {
	body.bmk-packages-page .bp-grid.bp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
