.bhp-opening-hours,
.bhp-phone {
	box-sizing: border-box;
}

.bhp-opening-hours *,
.bhp-phone * {
	box-sizing: border-box;
}

.bhp-opening-hours__header {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1rem;
}

.bhp-opening-hours__title {
	margin: 0;
}

.bhp-opening-hours__icon {
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1;
}

.bhp-status {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	font-weight: 600;
}

.bhp-status__dot {
	width: .65em;
	height: .65em;
	border-radius: 999px;
	background: currentColor;
	flex: 0 0 auto;
}

.bhp-opening-hours__list {
	display: grid;
}

.bhp-opening-hours__row {
	display: grid;
	grid-template-columns: minmax(8rem, 1fr) minmax(10rem, auto);
	gap: 1rem;
	align-items: start;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
	padding: .65rem 0;
}

.bhp-opening-hours__row:last-child {
	border-bottom: 0;
}

.bhp-opening-hours__row.is-today {
	font-weight: 700;
}

.bhp-opening-hours__time {
	text-align: right;
}

.bhp-phone {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	text-decoration: none;
	color: inherit;
	min-height: 44px;
}

.bhp-phone--button,
.bhp-phone--card {
	padding: .85rem 1rem;
	border-radius: .5rem;
}

.bhp-phone--card {
	width: 100%;
}

.bhp-phone__icon {
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1;
}

.bhp-phone__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.bhp-phone__label,
.bhp-phone__number,
.bhp-phone__status {
	line-height: 1.35;
}

.bhp-phone__number {
	font-weight: 700;
}

.bhp-phone__status {
	font-size: .85em;
	opacity: .8;
}

.bhp-phone:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.bhp-opening-hours__row {
		grid-template-columns: 1fr;
		gap: .2rem;
	}

	.bhp-opening-hours__time {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhp-phone,
	.bhp-opening-hours * {
		transition: none !important;
		animation: none !important;
	}
}


.bhp-opening-hours__notices {
	display: grid;
	gap: .75rem;
	margin-bottom: 1rem;
}

.bhp-notice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: .75rem;
	padding: .8rem 1rem;
	border-radius: .75rem;
	background: rgba(0, 0, 0, .05);
}

.bhp-notice.is-active {
	font-weight: 600;
}

@media (max-width: 767px) {
	.bhp-notice {
		grid-template-columns: 1fr;
		gap: .25rem;
	}
}


/* Resilient wrapping for Elementor, Gutenberg and shortcode containers. */
.bhp-opening-hours,
.bhp-phone {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	container-type: inline-size;
	overflow: visible;
}

.bhp-opening-hours *,
.bhp-phone * {
	max-width: 100%;
	min-width: 0;
}

.bhp-opening-hours__header,
.bhp-opening-hours__list,
.bhp-opening-hours__row,
.bhp-opening-hours__day,
.bhp-opening-hours__time,
.bhp-opening-hours__notices,
.bhp-notice,
.bhp-phone__content,
.bhp-phone__label,
.bhp-phone__number,
.bhp-phone__status {
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: auto;
}

.bhp-opening-hours__header {
	flex-wrap: wrap;
}

.bhp-opening-hours__title {
	flex: 1 1 12rem;
}

.bhp-opening-hours__row {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.bhp-opening-hours__day,
.bhp-opening-hours__time {
	display: block;
}

.bhp-phone {
	flex-wrap: wrap;
}

.bhp-phone__content {
	flex: 1 1 10rem;
}

.bhp-phone__number {
	word-break: break-word;
}

.bhp-notice {
	grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, auto);
}

@container (max-width: 480px) {
	.bhp-opening-hours__row,
	.bhp-notice {
		grid-template-columns: minmax(0, 1fr);
		gap: .25rem;
	}

	.bhp-opening-hours__time {
		text-align: left;
	}

	.bhp-phone {
		align-items: flex-start;
	}
}

@supports not (container-type: inline-size) {
	@media (max-width: 767px) {
		.bhp-opening-hours__row,
		.bhp-notice {
			grid-template-columns: minmax(0, 1fr);
		}
	}
}


.bhp-phone-list {
	display: grid;
	gap: .75rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.bhp-phone-list .bhp-phone {
	width: 100%;
}

.bhp-phone-list .bhp-phone--text {
	width: fit-content;
	max-width: 100%;
}
