/* Block Footer – 3 ก้อน แบบ flex */
.bh-footer__inner-container-site-map {
	background: linear-gradient(0deg, #3368C6, #3368C6),
	linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));		
	padding-block: 16px;
	color: #fff;
}

.bh-footer__inner-main {
	background: linear-gradient(193.28deg, rgba(255, 255, 255, 0.24) 33.56%, rgba(192, 223, 253, 0.79) 92.88%);
	color: var(--wp--preset--color--gray);
	padding-block: 60px;
}

.bh-footer__inner-main .container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
}

.bh-footer__col {
	flex: 1 1 0;
	min-width: 200px;
	display: flex;
	flex-direction: column;
	gap: 8px
}

.bh-footer__col--1 {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.bh-footer__logo a {
	display: inline-block;
}

.bh-footer__logo img {
	width: auto;
	height: 130px;
	object-fit: contain;
}

.bh-footer__title,
.bh-footer__section3-title {
	font-size: 1.125rem;
	font-weight: 700;
}

.bh-footer__subtitle,
.bh-footer__section3-subtitle,
.bh-footer__email,
.bh-footer__line {
	font-size: 1rem;
}

.bh-footer__hotline-icon {
	width: 24px;
	height: 24px;
	object-fit: contain;
}


.bh-footer__hotline {
	font-size: 1.75rem;
	font-weight: 600;
	color:#872118;
	padding-block: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.bh-footer__email a,
.bh-footer__line a {
	color: var(--wp--preset--color--gray);
	font-weight: 700;
}

.bh-footer__email a:hover,
.bh-footer__line a:hover {
	opacity: 0.9;
}

/* ก้อน 2: เมนู 2 คอลัมน์ */
.bh-footer__nav {
	width: 100%;
}

.bh-footer__menu--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bh-footer__menu--2col .menu-item a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	font-size: 1rem;
}

.bh-footer__menu--2col .menu-item a:hover {
	opacity: 0.7;
}

.bh-footer__title-social {
	font-size: 1rem;
	margin-top: 8px;
}

/* ก้อน 3: ไอคอน (รูป + ลิงก์) */
.bh-footer__icons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.bh-footer__icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bh-footer__icon-img {
	width: auto;
	height: 20px;
	object-fit: contain;
}

@media (max-width: 782px) {
	.bh-footer__inner {
		flex-direction: column;
	}

	.bh-footer__menu--2col {
		grid-template-columns: 1fr;
	}
}


.bh-footer__inner-container-copyright {
	background-color: #F4F9FD;
	padding-block: 40px;
	color: var(--wp--preset--color--gray);
}

.bh-footer__inner-container-copyright .container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
}

.bh-footer__live-stats {
	font-weight: 700;
}

.bh-footer__site-map-title {
	font-size: 1.125rem;
	display: flex;
	align-items: center;
	gap: 2px;
	cursor: pointer;
	user-select: none;
}

.bh-footer__site-map-title .uil,
.bh-footer__site-map-icon {
	font-size: 32px;
	transition: transform 0.3s ease;
}

.bh-footer__site-map.is-expanded .bh-footer__site-map-title .uil,
.bh-footer__site-map.is-expanded .bh-footer__site-map-icon {
	transform: rotate(180deg);
}

.bh-footer__site-map-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease-out;
	overflow: hidden;
}

.bh-footer__site-map.is-expanded .bh-footer__site-map-content {
	grid-template-rows: 1fr;
}

@media (min-width: 576px) and (max-width: 991px) {
	.bh-footer__site-map-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (min-width: 992px) {
	.bh-footer__site-map-list {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		gap: 16px;
	}
}

.bh-footer__site-map-list {
	min-height: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bh-footer__site-map-section-label {
	display: block;
	font-weight: 700;
	margin: 0.35rem 0 0.15rem;
	opacity: 0.95;
}

a.bh-footer__site-map-section-label--link {
	color: #fff;
	text-decoration: none;
}

a.bh-footer__site-map-section-label--link:hover,
a.bh-footer__site-map-section-label--link:focus {
	opacity: 0.9;
	text-decoration: underline;
}

.bh-footer__site-map-list .bh-footer__site-map-item {
	margin: 0;
	padding: 0.15rem 0;
}

/* Items with children: flex row so toggle sits beside the label */
.bh-footer__site-map-list li.has-sub-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.bh-footer__site-map-list li.has-sub-menu > .bh-footer__site-map-section-label,
.bh-footer__site-map-list li.has-sub-menu > .bh-footer__site-map-link {
	flex: 1 1 auto;
}

/* Toggle arrow button */
.bh-footer__sub-toggle {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	padding: 0 2px;
	font-size: 1.25em;
	opacity: 0.75;
	line-height: 1;
	transition: transform 0.3s ease, opacity 0.2s;
}

.bh-footer__sub-toggle:hover,
.bh-footer__sub-toggle:focus-visible {
	opacity: 1;
}

li.has-sub-menu.is-open > .bh-footer__sub-toggle {
	transform: rotate(180deg);
}

/* Sub-menu: full width below the flex row, collapsed by default */
.bh-footer__site-map-list li.has-sub-menu > .sub-menu {
	flex-basis: 100%;
	overflow: hidden;
	max-height: 0;
	margin: 0 !important;
	transition: max-height 0.35s ease, margin 0.35s ease;
}

.bh-footer__site-map-list li.has-sub-menu.is-open > .sub-menu {
	max-height: 800px;
	margin: 0.25rem 0 0.5rem 1rem !important;
}

.bh-footer__site-map-list .sub-menu {
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.bh-footer__site-map-link {
	color: #fff;
}

.bh-footer__site-map-list .sub-menu .bh-footer__site-map-link {
	opacity: 0.92;
}