/*
Theme Name: Hello Biz Child
Theme URI: https://www.baybayinhub.com/
Description: Child theme for Hello Biz. Safe home for Baybayin Hub customisations — nothing here is lost when the parent theme updates.
Author: Baybayin Hub
Author URI: https://www.baybayinhub.com/
Template: hello-biz
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-biz-child
*/

/* ==========================================================================
   Global resets
   ========================================================================== */
html,
body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	overflow-x: hidden;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* ==========================================================================
   Essential Addons blog grid fixes
   ========================================================================== */

/* Make all blog cards in a row equal height */
.eael-post-grid .eael-grid-post-holder,
.eael-post-grid .eael-grid-post-holder-inner {
	height: 100%;
}

/* Normalize the blog card title block so short/long titles don't shift card height */
.eael-post-grid .eael-entry-title {
	min-height: 5.5em; /* ~2 lines at 24px/1.3 line-height */
	overflow: hidden;
}

/* Hide post breadcrumb post title */
.eael-breadcrumbs .eael-current {
	display: none;
}

.eael-breadcrumbs .eael-breadcrumb-separator:has(+ .eael-current) {
	display: none;
}

/* ==========================================================================
   Baybayin Hub - Root Color System & Typography Variables
   ========================================================================== */
:root {
	--color-navy: #001F3F;
	--color-navy-light: #0A2E5C;
	--color-teal: #3AA79A;
	--color-gold: #FFC326;
	--color-cream: #FFFAF1;
	--color-sand: #F7EFE3;
	--color-white: #FFFFFF;
	--color-gray: #64748B;
	--font-heading: 'Outfit', 'Inter', sans-serif;
	--font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   Trips Gateway & Layout Styling
   ========================================================================== */
.trips-gateway {
	padding: 80px 0 100px;
	background: var(--color-cream);
}

.trips-gateway-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
	margin-top: 40px;
}

.trips-card {
	background: var(--color-white);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 31, 63, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0, 31, 63, 0.04);
}

.trips-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(0, 31, 63, 0.14);
}

.trips-card-image {
	position: relative;
	height: 240px;
	overflow: hidden;
}

.trips-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.trips-card:hover .trips-card-image img {
	transform: scale(1.08);
}

.trips-card-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--color-teal);
	color: var(--color-white);
	font-size: 12px;
	font-weight: 800;
	padding: 6px 14px;
	border-radius: 30px;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 15px rgba(58, 167, 154, 0.4);
}

.trips-card-body {
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.trips-card-title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 12px;
}

.trips-card-meta {
	display: flex;
	gap: 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-gray);
	margin-bottom: 16px;
}

.trips-card-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.trips-card-desc {
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-gray);
	margin-bottom: 24px;
	flex-grow: 1;
}

/* ==========================================================================
   Trip Hero & Header Integration
   ========================================================================== */
.trip-hero {
	position: relative;
	min-height: 70vh;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
}

.trip-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 31, 63, 0.35) 0%,
		rgba(58, 167, 154, 0.75) 55%,
		rgba(0, 31, 63, 0.85) 100%
	);
}

.trip-hero-content {
	position: relative;
	z-index: 1;
	padding: 100px 24px 60px;
	color: var(--color-white);
	max-width: 720px;
}

.trip-hero-label {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--color-gold);
	margin-bottom: 12px;
}

.trip-hero-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	color: var(--color-white);
	margin-bottom: 12px;
}

/* ==========================================================================
   Wave Divider Rules
   ========================================================================== */
.wave-divider {
	width: 100%;
	overflow: hidden;
	line-height: 0;
	background: transparent;
}

.wave-divider svg {
	display: block;
	width: 100%;
	height: 60px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 50px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
}

.btn-teal {
	background: var(--color-teal);
	color: var(--color-white);
	box-shadow: 0 4px 15px rgba(58, 167, 154, 0.4);
}

.btn-teal:hover {
	background: var(--color-gold);
	color: var(--color-navy);
	box-shadow: 0 6px 20px rgba(255, 195, 38, 0.5);
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.trips-gateway-grid {
		grid-template-columns: 1fr;
	}
}

/* Route strip */
.bbh-route__step img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}

@media (max-width: 768px) {
	.bbh-route {
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.bbh-route > * {
		flex: 0 0 auto;
		scroll-snap-align: center;
	}

	.bbh-route__step {
		width: 230px;
	}
}
