.hoh-status-widget,
.hoh-week-widget,
.hoh-overview,
.hoh-overview__item {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	font-family: inherit;
}

.hoh-status-widget *,
.hoh-week-widget *,
.hoh-overview * { box-sizing: border-box; }

.hoh-status-widget {
	display: flex;
	width: 100%;
	inline-size: 100%;
	max-width: 100%;
	min-width: 0;
	min-inline-size: 0;
	position: relative;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
}

.hoh-status-widget__icon,
.hoh-week-widget__icon,
.hoh-overview__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	font-size: 52px;
	line-height: 1;
}

.hoh-status-widget__icon { align-self: flex-start; }

.hoh-status-widget__icon svg,
.hoh-week-widget__icon svg,
.hoh-overview__icon svg { display: block; width: 1em; height: 1em; }

.hoh-status-widget__content {
	--hoh-standard-time-display: block;
	--hoh-compact-time-display: none;
	--hoh-status-default-margin: var(--hoh-status-spacing, .25rem);
	--hoh-inline-gap: 7px;
	--hoh-inline-layout-gap: 0px;
	--hoh-text-flex-align: flex-start;
	--hoh-text-flex-justify: flex-start;
	display: flex;
	width: auto;
	min-width: 0;
	max-width: 100%;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: inherit;
	justify-content: center;
	gap: var(--hoh-inline-layout-gap);
	text-align: inherit;
}

.hoh-status-widget__area,
.hoh-status-widget__primary,
.hoh-status-widget__time,
.hoh-overview__name,
.hoh-overview__primary,
.hoh-overview__time {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: auto;
}

.hoh-status-widget__area { flex-basis: 100%; margin-bottom: .35rem; }
.hoh-status-widget__primary { margin-bottom: var(--hoh-status-default-margin, .25rem); font-size: 1.3em; line-height: 1.2; }
.hoh-status-widget__time { line-height: 1.4; }

.hoh-status-widget__primary,
.hoh-status-widget__time {
	width: auto;
	min-width: max-content;
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	hyphens: none !important;
	writing-mode: horizontal-tb !important;
	text-orientation: mixed !important;
}

.hoh-status-widget__time-line {
	display: flex;
	min-width: 0;
	max-width: 100%;
	align-items: baseline;
	gap: .35em;
	white-space: nowrap;
	writing-mode: horizontal-tb !important;
}

.hoh-status-widget__time-line .hoh-status-widget__time {
	display: inline;
	width: auto;
}

.hoh-status-widget__connector {
	display: var(--hoh-compact-time-display, none);
	white-space: nowrap;
}

.hoh-status-widget__connector:empty { display: none; }

.hoh-week-widget { width: 100%; }
.hoh-week-widget__header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.hoh-week-widget__icon { font-size: 28px; }
.hoh-week-widget__title { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.hoh-week-widget__list { display: grid; min-width: 0; }
.hoh-week-widget__row {
	display: grid;
	grid-template-columns: minmax(7rem, 1fr) minmax(9rem, auto);
	align-items: start;
	gap: 16px;
	padding: .65rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.hoh-week-widget__row:last-child { border-bottom: 0; }
.hoh-week-widget__row.is-today { font-weight: 700; }
.hoh-week-widget__day, .hoh-week-widget__time { display: block; min-width: 0; overflow-wrap: anywhere; }
.hoh-week-widget__time { text-align: right; }

.hoh-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.hoh-overview__item { display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-height: 100%; }
.hoh-overview__icon { align-self: inherit; margin-bottom: 12px; font-size: 34px; }
.hoh-overview__name { margin-bottom: .45rem; }
.hoh-overview__primary { margin-bottom: .2rem; }

@container (max-width: 480px) {
	.hoh-week-widget__row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
	.hoh-week-widget__time { text-align: left; }
}

.hoh-week-widget { container-type: inline-size; }

@media (max-width: 767px) {
	/*
	 * Elementor can let custom widgets grow to the available mobile container
	 * height. Keep the weekly widget content-sized so it never creates a large
	 * empty area below the opening-hour rows.
	 */
	.elementor-widget-hoh-week,
	.elementor-widget-hoh-week > .elementor-widget-container,
	.elementor-widget-hoh-week .hoh-week-widget {
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		flex-grow: 0 !important;
		flex-basis: auto !important;
	}

	.elementor-widget-hoh-week {
		--flex-grow: 0 !important;
	}

	.hoh-week-widget__row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
	.hoh-week-widget__time { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.hoh-status-widget *, .hoh-week-widget *, .hoh-overview * { animation: none !important; transition: none !important; }
}
