/* Board House footer: same layout as the old Elementor footer (#32). Scoped to #bh-footer so the Elementor kit / Martfury styles don't leak in. */

#bh-footer {
	--bh-navy: #00364d;
	--bh-accent: #ff3f00;
	--bh-accent-dark: #cb3200;
	--bh-text: 16px;
	--bh-title: 30px;
	position: relative;
	padding: 50px 10px 20px;
	background: #00364d url(../img/footer-bg.jpg) no-repeat bottom center / cover;
	color: #fff;
	font-family: "Bai Jamjuree", sans-serif;
	font-size: var(--bh-text);
	line-height: 1.4;
	overflow: hidden;
}

#bh-footer *,
#bh-footer *::before,
#bh-footer *::after {
	box-sizing: border-box;
}

#bh-footer .bh-footer__overlay {
	position: absolute;
	inset: 0;
	background: var(--bh-navy);
	opacity: .7;
}

#bh-footer .bh-footer__wave {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	z-index: 1;
	pointer-events: none;
}

#bh-footer .bh-footer__wave svg {
	display: block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% + 1.3px);
	height: 82px;
	fill: #fff;
}

#bh-footer .bh-footer__inner {
	position: relative;
	z-index: 2;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 10px;
}

#bh-footer .bh-footer__cols {
	display: flex;
	flex-wrap: wrap;
	margin-top: 60px;
}

#bh-footer .bh-footer__col--about { width: 28.482%; padding-right: 40px; }
#bh-footer .bh-footer__col--links { width: 19.554%; padding-left: 10px; }
#bh-footer .bh-footer__col--legal { width: 22.678%; padding-left: 10px; }
#bh-footer .bh-footer__col--connect { width: 29.286%; }

#bh-footer p {
	margin: 0;
}

#bh-footer a {
	color: #fff;
	text-decoration: none;
	transition: color .3s;
}

#bh-footer a:hover,
#bh-footer a:focus-visible {
	color: var(--bh-accent);
}

#bh-footer .bh-footer__logo {
	display: block;
	width: 55%;
	height: auto;
	margin: 0 0 20px;
}

#bh-footer .bh-footer__text {
	display: flow-root;
	font-size: var(--bh-text);
	line-height: 1.4;
	color: #fff;
}

#bh-footer .bh-footer__text p {
	margin-bottom: 1.7em;
}

#bh-footer .bh-footer__text strong {
	font-weight: 700;
}

#bh-footer .bh-footer__about {
	margin-bottom: 20px;
}

#bh-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#bh-footer li {
	margin: 0;
	padding: 0;
}

#bh-footer .bh-footer__contact li + li {
	margin-top: 12.5px;
}

#bh-footer .bh-footer__contact li:not(:last-child) {
	padding-bottom: 12.5px;
}

#bh-footer .bh-footer__contact a {
	display: flex;
	align-items: center;
	font-size: var(--bh-text);
	line-height: 1.4;
}

#bh-footer .bh-footer__contact .bh-icon {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0 12px 0 2px; /* 20px icon slot + 10px gap, like the Elementor icon list */
	fill: var(--bh-accent);
}

#bh-footer .bh-footer__contact span {
	padding-left: 5px;
}

#bh-footer .bh-footer__title {
	margin: 0 0 40px;
	padding: 0;
	color: #fff;
	font-family: "Bangers", sans-serif;
	font-size: var(--bh-title);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: none;
}

#bh-footer .bh-footer__links li + li {
	margin-top: 8.5px;
}

#bh-footer .bh-footer__links li:not(:last-child) {
	padding-bottom: 8.5px;
}

#bh-footer .bh-footer__links a {
	font-size: var(--bh-text);
	line-height: 1.4;
}

#bh-footer .bh-footer__connect {
	margin-bottom: 20px;
}

#bh-footer .bh-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	margin-bottom: 20.5px;
}

#bh-footer .bh-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38.4px;
	height: 38.4px;
	border-radius: 50%;
	background: var(--bh-accent);
	transition: background-color .3s, transform .3s;
}

#bh-footer .bh-footer__social-link:hover,
#bh-footer .bh-footer__social-link:focus-visible {
	background: var(--bh-accent-dark);
	transform: scale(.9);
}

#bh-footer .bh-footer__social-link .bh-icon {
	width: 16px;
	height: 16px;
	fill: #fff;
}

#bh-footer .bh-footer__viva {
	display: block;
	width: 100%;
	height: auto;
}

#bh-footer .bh-footer__bottom {
	display: flex;
	align-items: center;
	margin-top: 80px;
	padding: 10px 0;
	border-top: 1px solid rgba(255, 255, 255, .15);
}

#bh-footer .bh-footer__bottom p {
	width: 50%;
	margin: 0;
	color: #fff;
	font-family: "Bangers", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 2px;
}

#bh-footer .bh-footer__credit {
	text-align: right;
}

#bh-footer .bh-footer__credit a {
	color: #fff;
}

#bh-footer .bh-footer__credit a:hover {
	color: var(--bh-accent);
}

/* Tablet */
@media (max-width: 1024px) {
	#bh-footer {
		--bh-text: 15px;
		--bh-title: 25px;
	}

	#bh-footer .bh-footer__wave svg {
		height: 35px;
	}

	#bh-footer .bh-footer__col--about { width: 40%; }
	#bh-footer .bh-footer__col--links,
	#bh-footer .bh-footer__col--legal { width: 30%; }
	#bh-footer .bh-footer__col--connect { width: 100%; padding-top: 40px; }

	#bh-footer .bh-footer__links li + li { margin-top: 10px; }
	#bh-footer .bh-footer__links li:not(:last-child) { padding-bottom: 10px; }

	#bh-footer .bh-footer__connect { font-size: 15px; }

	#bh-footer .bh-footer__bottom {
		margin-top: 60px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	#bh-footer {
		--bh-text: 14px;
		--bh-title: 22px;
		background-position: center center;
	}

	#bh-footer .bh-footer__cols {
		margin-top: 40px;
	}

	#bh-footer .bh-footer__col--about { width: 100%; }
	#bh-footer .bh-footer__col--links,
	#bh-footer .bh-footer__col--legal,
	#bh-footer .bh-footer__col--connect { width: 100%; margin-top: 30px; padding: 0; }

	#bh-footer .bh-footer__col--connect .bh-footer__title {
		margin-bottom: 20px;
	}

	#bh-footer .bh-footer__connect { font-size: 14px; }

	#bh-footer .bh-footer__social {
		justify-content: center;
	}

	#bh-footer .bh-footer__logo {
		width: 110px;
	}

	#bh-footer .bh-footer__viva {
		width: 190px;
	}

	#bh-footer .bh-footer__about {
		font-size: 14px;
	}

	#bh-footer .bh-footer__about p {
		margin-bottom: 27.2px;
	}

	#bh-footer .bh-footer__bottom {
		display: block;
		margin-top: 40px;
		padding-bottom: 0;
	}

	#bh-footer .bh-footer__bottom p {
		width: 100%;
		text-align: center;
	}

	#bh-footer .bh-footer__bottom .bh-footer__copy {
		margin-top: 10px;
	}
}
