/**
 * Best Mount Kinabalu — Homepage (2026 redesign).
 *
 * Loaded on the front page only, after the Customizer's Additional CSS,
 * so these rules win without !important wars. Every selector is scoped
 * to the new "bq-" component classes used in the homepage content.
 */

body.home {
	--bq-navy: #1565c0;
	--bq-navy-dark: #0d4c94;
	--bq-orange: #fc7c31;
	--bq-orange-dark: #e8671d;
	--bq-ink: #111a2e;
	--bq-text: #4a5468;
	--bq-muted: #7b8598;
	--bq-line: #e6e9ef;
	--bq-tint: #f5f7fb;
	--bq-grey: #e9ecf1;
	--bq-radius: 14px;
	--bq-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
	--bq-shadow-hover: 0 16px 36px rgba(16, 24, 40, .12);
	--bq-heading: "Montserrat", "Segoe UI", sans-serif;
}

/* Page frame: let sections run full width */

body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home .inside-article,
body.home .entry-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	background: transparent;
}

body.home .site-content { display: block; }
body.home .entry-header { display: none; }

body.home .entry-content > .bq-hero,
body.home .entry-content > .bq-intro,
body.home .entry-content > .bq-trust,
body.home .entry-content > .bq-section {
	margin: 0;
}

/* Neutralise block-gap margins inside the new components. */
body.home [class*="bq-"] > * { margin-block-start: 0; }

.bq-wrap {
	width: 100%;
	max-width: 1208px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}

.bq-section { padding-block: 92px; }
.bq-section--tint { background: var(--bq-tint); }
.bq-section--grey { background: var(--bq-grey); }

/* Shared type */

.bq-eyebrow {
	margin: 0 0 10px;
	color: var(--bq-orange);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bq-title {
	margin: 0;
	font-family: var(--bq-heading);
	font-size: clamp(1.85rem, 2.9vw, 2.55rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--bq-ink);
}

.bq-sub {
	margin: 16px 0 0;
	color: var(--bq-text);
	font-size: 1rem;
	line-height: 1.65;
}

.bq-head { margin-bottom: 44px; }

.bq-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.bq-head--center {
	max-width: 600px;
	margin-inline: auto;
	text-align: center;
}

/* Buttons */

.bq-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.bq-btn { margin: 0; }

.bq-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bq-btn--accent .wp-block-button__link {
	background: var(--bq-orange);
	color: #fff;
	box-shadow: 0 10px 24px rgba(252, 124, 49, .32);
}

.bq-btn--accent .wp-block-button__link:hover,
.bq-btn--accent .wp-block-button__link:focus-visible {
	background: var(--bq-orange-dark);
	color: #fff;
	transform: translateY(-2px);
}

.bq-btn--ghost .wp-block-button__link {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .45);
	color: #fff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.bq-btn--ghost .wp-block-button__link::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background: 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%23ffffff%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 11.5a8.4 8.4 0 0 1-9 8.4 8.8 8.8 0 0 1-3.9-.9L3 20.5l1.5-4.6A8 8 0 0 1 3 11.5 8.5 8.5 0 0 1 12 3a8.5 8.5 0 0 1 9 8.5Z%22/%3E%3C/svg%3E") center / 20px no-repeat;
}

.bq-btn--ghost .wp-block-button__link:hover,
.bq-btn--ghost .wp-block-button__link:focus-visible {
	background: rgba(255, 255, 255, .22);
	border-color: #fff;
	color: #fff;
	transform: translateY(-2px);
}

/* Hero */

.bq-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 640px;
	padding: 110px 0 150px;
	background: #0c1a33 url("/wp-content/uploads/2026/08/bmk-homepage-hero-e1787544092306.jpg") center 32% / cover no-repeat;
	color: #fff;
	overflow: hidden;
}

.bq-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 15, 36, .78) 0%, rgba(5, 15, 36, .45) 42%, rgba(5, 15, 36, .05) 72%),
		linear-gradient(0deg, rgba(5, 15, 36, .45) 0%, rgba(5, 15, 36, 0) 45%);
}

.bq-hero__inner { position: relative; z-index: 1; }
.bq-hero__inner > * { max-width: 580px; }

.bq-badge {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	color: var(--bq-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.bq-badge::before {
	content: "";
	width: 16px;
	height: 16px;
	background: 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.8%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") center / 16px no-repeat;
}

.bq-hero .bq-hero__title {
	margin: 0 0 20px;
	font-family: var(--bq-heading);
	font-size: clamp(2.5rem, 5vw, 3.9rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -.025em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.bq-accent { color: var(--bq-orange); }

.bq-hero__lead {
	max-width: 500px !important;
	margin: 0 0 34px;
	color: rgba(255, 255, 255, .9);
	font-size: 1.06rem;
	line-height: 1.7;
}

/* Floating intro card that bridges the hero and the trust bar. */
.bq-intro {
	position: relative;
	z-index: 2;
	margin-top: -78px !important;
}

.bq-intro__card {
	max-width: 820px;
	margin-inline: auto;
	padding: 26px 32px 24px;
	border-radius: 16px 16px 0 0;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	text-align: center;
	box-shadow: 0 -14px 34px rgba(5, 15, 36, .12);
}

.bq-intro .bq-intro__title {
	margin: 0 0 6px;
	font-family: var(--bq-heading);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -.01em;
	color: #7d8aa6;
}

.bq-intro__text {
	margin: 0;
	color: #a0aabd;
	font-size: .95rem;
}

/* Trust bar */

.bq-trust {
	background: #fff;
	border-bottom: 1px solid var(--bq-line);
	padding: 30px 0 34px;
}

.bq-trust__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
}

.bq-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	color: #394357;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.bq-trust__item::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background: center / 20px no-repeat;
}

.bq-trust__item--globe::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.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18%22/%3E%3C/svg%3E"); }
.bq-trust__item--star::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.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m12 3 2.8 5.7 6.2.9-4.5 4.4 1 6.2L12 17.3 6.5 20.2l1-6.2L3 9.6l6.2-.9L12 3Z%22/%3E%3C/svg%3E"); }
.bq-trust__item--shield::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.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6L12 3Z%22/%3E%3Cpath d=%22m9 12 2 2 4-4%22/%3E%3C/svg%3E"); }
.bq-trust__item--leaf::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.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 20c0-8 5-13 15-15-1 10-6 15-13 15H5Z%22/%3E%3Cpath d=%22M5 20 13 12%22/%3E%3C/svg%3E"); }

/* Expedition packages */

.bq-arrows {
	display: flex;
	gap: 10px;
	flex: none;
}

.bq-arrow,
.bq-cal__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid #c7cfdc;
	border-radius: 50%;
	background: #fff;
	color: var(--bq-ink);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.bq-arrow::before,
.bq-cal__btn::before,
.bq-pkg__go a::before {
	content: "";
	width: 18px;
	height: 18px;
	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.8%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.8%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;
}

.bq-arrow--prev::before,
.bq-cal__btn--prev::before { transform: scaleX(-1); }

.bq-arrow:hover,
.bq-arrow:focus-visible {
	background: var(--bq-navy);
	border-color: var(--bq-navy);
	color: #fff;
}

.bq-pkg-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3);
	gap: 24px;
	margin: -6px -6px 0;
	padding: 6px 6px 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.bq-pkg-track::-webkit-scrollbar { display: none; }

.bq-pkg {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--bq-line);
	border-radius: var(--bq-radius);
	background: #fff;
	box-shadow: var(--bq-shadow);
	scroll-snap-align: start;
	transition: transform .3s ease, box-shadow .3s ease;
}

.bq-pkg:hover {
	transform: translateY(-5px);
	box-shadow: var(--bq-shadow-hover);
}

.bq-pkg__media {
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
}

.bq-pkg__media figure,
.bq-pkg__media figure a {
	display: block;
	height: 100%;
	margin: 0;
}

.bq-pkg__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.bq-pkg:hover .bq-pkg__media img { transform: scale(1.05); }

.bq-pkg__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	margin: 0 !important;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--bq-orange);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.bq-pkg__badge--navy { background: var(--bq-navy); }

.bq-pkg__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 22px;
}

.bq-pkg__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 12px !important;
	color: #394357;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bq-pkg__dur {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--bq-muted);
}

.bq-pkg__dur::before {
	content: "";
	width: 14px;
	height: 14px;
	background: 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%237b8598%22 stroke-width=%221.8%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") center / 14px no-repeat;
}

.bq-pkg .bq-pkg__title {
	margin: 0 0 16px !important;
	font-family: var(--bq-heading);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--bq-ink);
}

.bq-pkg__title a {
	color: inherit;
	text-decoration: none;
}

.bq-pkg__title a:hover { color: var(--bq-navy); }

.bq-pkg__detail {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 9px !important;
	color: var(--bq-text);
	font-size: 13px;
	line-height: 1.4;
}

.bq-pkg__detail::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background: center / 16px no-repeat;
}

.bq-pkg__detail--level::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%237b8598%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 20v-5M10 20v-9M15 20V8M20 20V4%22/%3E%3C/svg%3E"); }
.bq-pkg__detail--stay::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%237b8598%22 stroke-width=%221.8%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"); }
.bq-pkg__detail--home::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%237b8598%22 stroke-width=%221.8%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"); }
.bq-pkg__body > .bq-pkg__detail:last-of-type { margin-bottom: 20px !important; }

.bq-pkg__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto !important;
	padding-top: 16px;
	border-top: 1px solid var(--bq-line);
}

.bq-pkg__from {
	margin: 0 0 2px !important;
	color: var(--bq-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bq-pkg__price {
	margin: 0 !important;
	font-family: var(--bq-heading);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--bq-orange);
}

.bq-pkg__go { margin: 0 !important; }

.bq-pkg__go a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1.5px solid #cdd4df;
	border-radius: 50%;
	color: var(--bq-ink);
	font-size: 0;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.bq-pkg__go a::before { width: 16px; height: 16px; }

.bq-pkg:hover .bq-pkg__go a,
.bq-pkg__go a:focus-visible {
	background: var(--bq-navy);
	border-color: var(--bq-navy);
	color: #fff;
}

/* Quest insights */

.bq-insights {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.bq-ins {
	position: relative;
	margin: 0 !important;
	padding: 30px;
	border: 1px solid var(--bq-line);
	border-radius: var(--bq-radius);
	background: #fff;
	box-shadow: var(--bq-shadow);
}

.bq-ins--wide { grid-column: span 2; }

.bq-ins .bq-ins__title {
	margin: 0 0 10px;
	font-family: var(--bq-heading);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bq-ink);
}

.bq-ins__title[class*="--"]::before {
	content: "";
	display: block;
	width: 42px;
	height: 42px;
	margin-bottom: 24px;
	border-radius: 10px;
	background: #edf1f8 center / 20px no-repeat;
}

.bq-ins__title--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%2300327d%22 stroke-width=%221.8%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%3Cpath d=%22m8 11.5 1.5 1.5 1.5-1.5%22/%3E%3C/svg%3E") !important; }
.bq-ins__title--unesco::before  { background-color: #fff1e8 !important; 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.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21h18M5 18h14M6 18v-7M10 18v-7M14 18v-7M18 18v-7M3 11h18L12 4 3 11Z%22/%3E%3C/svg%3E") !important; }
.bq-ins__title--species::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%2300327d%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21v-9M12 12c0-4-3-7-8-7 0 4 3 7 8 7ZM12 14c0-3.5 2.5-6 7-6 0 3.5-2.5 6-7 6Z%22/%3E%3C/svg%3E") !important; }

.bq-ins--feature { padding: 34px; }
.bq-ins--feature .bq-ins__title { font-size: 1.25rem; }
.bq-ins--feature .bq-ins__text { max-width: 440px; }

.bq-ins__text {
	margin: 0 !important;
	color: var(--bq-text);
	font-size: 13.5px;
	line-height: 1.65;
}

.bq-ins__link { margin: 22px 0 0 !important; }

.bq-ins__link a,
.bq-viewall a,
.bq-post__more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bq-navy);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.bq-ins__link a::after,
.bq-viewall a::after,
.bq-post__more a::after {
	content: "";
	width: 15px;
	height: 15px;
	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.8%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.8%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;
	transition: transform .2s ease;
}

.bq-ins__link a:hover::after,
.bq-viewall a:hover::after,
.bq-post__more a:hover::after { transform: translateX(4px); }

/* Photo card */
.bq-ins--photo {
	display: flex;
	align-items: flex-end;
	min-height: 270px;
	padding: 0;
	overflow: hidden;
	border: 0;
}

.bq-ins__bg {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
}

.bq-ins__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s ease;
}

.bq-ins--photo:hover .bq-ins__bg img { transform: scale(1.05); }

.bq-ins--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(5, 15, 36, .85) 0%, rgba(5, 15, 36, .25) 55%, rgba(5, 15, 36, 0) 100%);
}

.bq-ins__overlay {
	position: relative;
	z-index: 1;
	padding: 30px;
}

.bq-ins--photo .bq-ins__title {
	font-size: 1.35rem;
	color: #fff;
}

.bq-ins--photo .bq-ins__text {
	max-width: 380px;
	color: rgba(255, 255, 255, .85);
}

/* Booking CTA card */
.bq-ins--cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 34px;
	border-color: var(--bq-navy);
	background: var(--bq-navy);
	background-image: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 55%);
}

.bq-ins--cta .bq-ins__title {
	font-size: 1.35rem;
	color: #fff;
}

.bq-ins--cta .bq-ins__text {
	max-width: 300px;
	color: rgba(255, 255, 255, .8);
}

.bq-ins--cta .bq-btns { flex: none; }

/* Availability + weather */

.bq-avail {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.bq-cal {
	padding: 30px 32px;
	border: 1px solid var(--bq-line);
	border-radius: var(--bq-radius);
	background: #fff;
	box-shadow: var(--bq-shadow);
}

.bq-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.bq-cal .bq-cal__title {
	margin: 0;
	font-family: var(--bq-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--bq-ink);
}

.bq-cal__nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bq-cal__btn {
	width: 30px;
	height: 30px;
	border: 0;
	background: transparent;
}

.bq-cal__btn::before { width: 14px; height: 14px; }
.bq-cal__btn:hover { background: var(--bq-tint); }

.bq-cal__month {
	min-width: 118px;
	color: var(--bq-ink);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.bq-cal__dow,
.bq-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}

.bq-cal__dow {
	margin: 26px 0 10px;
	color: var(--bq-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
}

.bq-cal__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #f2f4f8;
	color: #4a5468;
	font-size: 13px;
	font-weight: 600;
}

.bq-cal__cell.is-empty { background: transparent; }
.bq-cal__cell.is-past { color: #b3bac7; background: #f7f8fa; }
.bq-cal__cell.is-available { background: #e3f7ea; border-color: #bfe8cf; color: #1f8a4c; }
.bq-cal__cell.is-limited   { background: #fff0e4; border-color: #fdd1ae; color: #d9621a; }
.bq-cal__cell.is-full      { background: #fde7e7; border-color: #f6c2c2; color: #c53030; }

.bq-cal__status {
	margin: 14px 0 0;
	color: var(--bq-muted);
	font-size: 13px;
}

.bq-cal__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 22px;
	color: #394357;
	font-size: 12px;
	font-weight: 600;
}

.bq-cal__key {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.bq-cal__key::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.bq-cal__key--available::before { background: #22a55a; }
.bq-cal__key--limited::before   { background: #fc7c31; }
.bq-cal__key--full::before      { background: #e53e3e; }

.bq-weather {
	display: flex;
	flex-direction: column;
	padding: 30px;
	border-radius: var(--bq-radius);
	background: var(--bq-navy);
	background-image: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 60%);
	color: #fff;
	box-shadow: 0 16px 36px rgba(21,101,192, .25);
}

.bq-weather p { margin: 0; }

.bq-weather__label {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bq-weather__label::before {
	content: "";
	width: 18px;
	height: 18px;
	background: 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%23ffffff%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 14.8V5a2 2 0 0 0-4 0v9.8a4 4 0 1 0 4 0Z%22/%3E%3Cpath d=%22M12 11v6%22/%3E%3C/svg%3E") center / 18px no-repeat;
}

.bq-weather__loc { margin-top: 26px; }

.bq-weather__name {
	color: rgba(255, 255, 255, .6);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bq-weather__reading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 4px;
	font-size: 1.2rem;
	font-weight: 700;
}

.bq-weather .bq-weather__temp {
	font-family: var(--bq-heading);
	font-size: 2.3rem;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.bq-weather .bq-weather__cond {
	margin-top: 2px;
	color: rgba(255, 255, 255, .85);
	font-size: 13px;
	font-weight: 500;
}

.bq-weather__icon {
	display: block;
	width: 44px;
	height: 44px;
	color: #fff;
	opacity: .95;
}

.bq-weather__icon svg { width: 100%; height: 100%; }

.bq-weather .bq-weather__updated {
	margin-top: auto;
	padding-top: 26px;
	color: rgba(255, 255, 255, .55);
	font-size: 11px;
	line-height: 1.5;
}

/* Expedition stories */

.bq-stories,
.bq-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.bq-story {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: 30px;
	border-radius: var(--bq-radius);
	background: #fff;
	box-shadow: var(--bq-shadow);
}

.bq-stars {
	margin: 0 0 18px !important;
	color: var(--bq-orange);
	font-size: 16px;
	letter-spacing: 3px;
	line-height: 1;
}

.bq-story__quote {
	flex: 1;
	margin: 0 0 26px !important;
	color: #2a3346;
	font-size: 14.5px;
	font-style: italic;
	line-height: 1.75;
}

.bq-story__who {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bq-avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	margin: 0 !important;
	border-radius: 50%;
	background: linear-gradient(135deg, #1565c0, #2a5bb0);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
}

.bq-story__name {
	margin: 0 !important;
	color: var(--bq-ink);
	font-size: 13.5px;
	font-weight: 700;
}

.bq-story__role {
	margin: 1px 0 0 !important;
	color: var(--bq-muted);
	font-size: 12px;
}

/* Expert guides */

.bq-viewall { margin: 0 0 6px !important; }
.bq-viewall a { font-size: 14px; }

.bq-post { margin: 0 !important; }

.bq-post__media {
	aspect-ratio: 16 / 11;
	margin: 0 0 20px !important;
	overflow: hidden;
	border-radius: 12px;
	background: var(--bq-grey);
}

.bq-post__media a { display: block; height: 100%; }

.bq-post__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.bq-post:hover .bq-post__media img { transform: scale(1.05); }

.bq-post__meta {
	margin: 0 0 10px !important;
	color: var(--bq-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bq-post .bq-post__title {
	margin: 0 0 10px !important;
	font-family: var(--bq-heading);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.35;
}

.bq-post__title a {
	color: var(--bq-ink);
	text-decoration: none;
}

.bq-post__title a:hover { color: var(--bq-navy); }

.bq-post__excerpt {
	margin: 0 0 16px !important;
	color: var(--bq-text);
	font-size: 13.5px;
	line-height: 1.65;
}

.bq-post__more { margin: 0 !important; }

/* Responsive */

@media (max-width: 1024px) {
	.bq-section { padding-block: 76px; }
	.bq-pkg-track { grid-auto-columns: calc((100% - 24px) / 2); }
	.bq-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bq-trust__row { justify-content: center; }
}

@media (max-width: 860px) {
	.bq-avail { grid-template-columns: minmax(0, 1fr); }
	.bq-stories,
	.bq-posts { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}

@media (max-width: 767px) {
	.bq-wrap { padding-inline: 16px; }
	.bq-section { padding-block: 60px; }
	.bq-hero { min-height: 560px; padding: 90px 0 130px; background-position: 65% center; }
	.bq-hero::before { background: linear-gradient(0deg, rgba(5, 15, 36, .8) 0%, rgba(5, 15, 36, .45) 60%, rgba(5, 15, 36, .3) 100%); }
	.bq-intro { margin-top: -64px !important; }
	.bq-intro__card { padding: 20px 18px 18px; }
	.bq-trust__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
	.bq-trust__item { font-size: 10.5px; letter-spacing: .06em; }
	.bq-head { margin-bottom: 30px; }
	.bq-pkg-track { grid-auto-columns: 84%; gap: 16px; }
	.bq-insights { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.bq-ins--wide { grid-column: auto; }
	.bq-ins, .bq-ins--feature { padding: 24px; }
	.bq-ins--cta { flex-direction: column; align-items: flex-start; }
	.bq-cal { padding: 22px 18px; }
	.bq-cal__head { flex-wrap: wrap; }
	.bq-cal__dow, .bq-cal__grid { gap: 5px; }
	.bq-cal__cell { height: 38px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.bq-pkg, .bq-pkg__media img, .bq-ins__bg img, .bq-post__media img, .bq-btn .wp-block-button__link { transition: none; }
}


/* Specificity fixes: beat GeneratePress' a.wp-block-button__link:not(...) and empty theme slots. */
body.home .bmk-page-header-meta,
body.home .bmk-announcement-strip { display: none !important; }

body.home .bq-btn a.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

body.home .bq-btn--accent a.wp-block-button__link {
	background: var(--bq-orange);
	color: #fff;
	box-shadow: 0 10px 24px rgba(252, 124, 49, .32);
}

body.home .bq-btn--accent a.wp-block-button__link:hover,
body.home .bq-btn--accent a.wp-block-button__link:focus-visible {
	background: var(--bq-orange-dark);
	color: #fff;
	transform: translateY(-2px);
}

body.home .bq-btn--ghost a.wp-block-button__link {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .45);
	color: #fff;
}

body.home .bq-btn--ghost a.wp-block-button__link:hover,
body.home .bq-btn--ghost a.wp-block-button__link:focus-visible {
	background: rgba(255, 255, 255, .22);
	border-color: #fff;
	color: #fff;
	transform: translateY(-2px);
}


/* Restore intentional top margins that the block-gap reset above neutralises. */
body.home .bq-sub { margin-top: 16px; }
body.home .bq-cal .bq-cal__dow { margin-top: 26px; }
body.home .bq-cal .bq-cal__status { margin-top: 14px; }
body.home .bq-cal .bq-cal__legend { margin-top: 22px; }
body.home .bq-weather .bq-weather__loc { margin-top: 28px; }
body.home .bq-weather .bq-weather__reading { margin-top: 6px; }
body.home .bq-weather .bq-weather__cond { margin-top: 4px; }
body.home .bq-weather .bq-weather__updated { margin-top: auto; }


/* ---------- Quest Insights: stat cards ---------- */
.bq-insights .bq-ins { border-color: transparent; box-shadow: 0 4px 22px rgba(30, 40, 80, .07); transition: transform .35s ease, box-shadow .35s ease; overflow: hidden; }
.bq-insights .bq-ins:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30, 40, 80, .16); }
.bq-insights .bq-ins--photo img { transition: transform .6s ease; }
.bq-insights .bq-ins--photo:hover img { transform: scale(1.05); }

.bq-ins--feature { display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; background: linear-gradient(180deg, rgba(20, 28, 60, .15) 0%, rgba(20, 28, 60, .85) 100%), url(/wp-content/uploads/2026/10/mount-kinabalu-summit-sunrise.png) center / cover no-repeat; }
.bq-ins--feature .bq-ins__title, .bq-ins--feature .bq-ins__text, .bq-ins--feature .bq-ins__link a, .bq-ins--feature .bq-stat { color: #fff; }
.bq-ins--feature .bq-ins__title--peak::before { background-color: rgba(255, 255, 255, .18) !important; filter: brightness(0) invert(1); }
.bq-ins--unesco { background: #fff4ec; }
.bq-ins--species { background: #eef6f0; }
.bq-ins--unesco .bq-ins__title--unesco::before { background-color: #ffe3cf !important; }
.bq-ins--species .bq-ins__title--species::before { background-color: #d8ecdf !important; }
.bq-insights .bq-ins__title[class*="--"]::before { width: 56px; height: 56px; background-size: 26px; }

.bq-insights .bq-ins__title--peak, .bq-insights .bq-ins__title--unesco, .bq-insights .bq-ins__title--species { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .85; margin-bottom: 4px; }
.bq-stat { margin: 0 0 12px !important; font-family: var(--bq-heading); font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--bq-ink); white-space: nowrap; }
.bq-ins--feature .bq-stat { font-size: clamp(3.2rem, 6vw, 5rem); }
.bq-ins--unesco .bq-stat { color: #e8711c; }
.bq-ins--species .bq-stat { color: #2f7d4f; }
.bq-stat__unit { font-size: .4em; font-weight: 700; margin-left: 4px; }
.bq-ins--species .bq-stat__unit { font-size: .6em; }
.bq-stat__pre { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  .bq-insights .bq-ins, .bq-insights .bq-ins--photo img { transition: none; }
  .bq-insights .bq-ins:hover { transform: none; }
}

/* Testimonial slider nav: space above the arrows + optically centred arrow icons */
body .bq-wrap > .bq-nav.bq-nav { margin-top: 32px; }
body .bq-nav.bq-nav button { font-size: 0; line-height: 0; }
body .bq-nav.bq-nav button::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
body .bq-nav.bq-nav button:first-child::before { transform: scaleX(-1); }
