:root {
	--mwh-primary: #f59e0b;
	--mwh-accent: #0f766e;
	--mwh-dark: #1f2937;
	--mwh-light: #fff7ed;
	--mwh-radius: 1rem;
	--mwh-shadow: 0 1rem 2.5rem rgba(31, 41, 55, 0.12);
}

.mwh-hero-video,
.mwh-alert,
.mwh-calculator,
.mwh-related-posts,
.mwh-glossary-list,
.mwh-directory,
.mwh-timeline,
.mwh-news {
	box-sizing: border-box;
}

.mwh-hero-video {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--mwh-radius);
	background: linear-gradient(135deg, var(--mwh-light), #fff);
	box-shadow: var(--mwh-shadow);
}

.mwh-hero-video h2 {
	margin: 0 0 0.75rem;
	color: var(--mwh-dark);
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
}

.mwh-hero-video p {
	margin: 0;
	font-size: 1.125rem;
}

.mwh-hero-video__media iframe,
.mwh-hero-video__media video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: calc(var(--mwh-radius) * 0.75);
}

.mwh-alert {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-left: 0.375rem solid var(--mwh-primary);
	border-radius: 0.75rem;
	background: var(--mwh-light);
	color: var(--mwh-dark);
}

.mwh-alert__content > :last-child {
	margin-bottom: 0;
}

.mwh-button,
.mwh-link {
	color: var(--mwh-accent);
	font-weight: 700;
}

.mwh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--mwh-accent);
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.mwh-button--small {
	padding: 0.5rem 0.8rem;
	font-size: 0.875rem;
	white-space: nowrap;
}

.mwh-card-grid,
.mwh-glossary-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.mwh-card,
.mwh-definition-card,
.mwh-calculator {
	overflow: hidden;
	border: 1px solid rgba(31, 41, 55, 0.12);
	border-radius: var(--mwh-radius);
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(31, 41, 55, 0.07);
}

.mwh-card__body,
.mwh-definition-card,
.mwh-calculator {
	padding: 1rem;
}

.mwh-card__image img {
	display: block;
	width: 100%;
	height: auto;
}

.mwh-news {
	grid-template-columns: repeat(var(--mwh-news-columns, 3), minmax(0, 1fr));
}

.mwh-news .mwh-card {
	display: flex;
	flex-direction: column;
}

.mwh-news .mwh-card__image img {
	height: var(--mwh-news-image-height, 180px);
	object-fit: cover;
}

.mwh-news .mwh-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.mwh-news .mwh-link {
	margin-top: auto;
}

.mwh-news--compact {
	gap: 0.75rem;
}

.mwh-news--compact .mwh-card__body {
	padding: 0.75rem;
}

.mwh-news--compact h3 {
	font-size: 1rem;
	line-height: 1.25;
}

.mwh-news--compact p {
	font-size: 0.9rem;
	line-height: 1.45;
}

.mwh-news--standard h3 {
	font-size: 1.15rem;
	line-height: 1.25;
}

.mwh-news--large {
	gap: 1.25rem;
}

.mwh-news--large .mwh-card__body {
	padding: 1.35rem;
}

.mwh-news--large h3 {
	font-size: 1.35rem;
	line-height: 1.2;
}

.mwh-news--large p {
	font-size: 1.05rem;
	line-height: 1.6;
}

.mwh-card h3,
.mwh-definition-card h3,
.mwh-calculator h2,
.mwh-timeline h3,
.mwh-related-posts h2 {
	margin-top: 0;
	color: var(--mwh-dark);
}

.mwh-card--compact {
	padding: 1rem;
}

.mwh-calculator label {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.mwh-calculator input[type="number"] {
	max-width: 14rem;
	padding: 0.65rem;
	border: 1px solid rgba(31, 41, 55, 0.2);
	border-radius: 0.5rem;
}

.mwh-calculator__result {
	margin-top: 1rem;
	font-weight: 700;
	color: var(--mwh-dark);
}

.mwh-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 0.25rem;
	background: transparent;
}

.mwh-scroll-progress__bar {
	display: block;
	width: 0;
	height: 100%;
	background: var(--mwh-primary);
	transition: width 120ms linear;
}

.mwh-timeline {
	position: relative;
	list-style: none;
	padding: 0;
	margin: 0;
}

.mwh-timeline__item {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
	border-radius: var(--mwh-radius);
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(31, 41, 55, 0.07);
}

.mwh-timeline__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--mwh-primary);
	color: var(--mwh-dark);
	font-weight: 800;
}

@media (max-width: 760px) {
	.mwh-news {
		grid-template-columns: 1fr;
	}

	.mwh-hero-video {
		grid-template-columns: 1fr;
	}

	.mwh-alert {
		align-items: flex-start;
		flex-direction: column;
	}
}

.mwh-ticker {
	--mwh-ticker-duration: 46s;
	display: flex !important;
	align-items: center !important;
	justify-content: center;
	position: relative;
	width: 100%;
	max-width: 100%;
	height: var(--mwh-ticker-height, 32px);
	min-height: var(--mwh-ticker-height, 32px);
	max-height: var(--mwh-ticker-height, 32px);
	margin: 0 auto;
	padding: 0;
	overflow: hidden !important;
	border-top: 1px solid var(--mwh-ticker-border, rgba(31, 41, 55, 0.12));
	border-bottom: 1px solid var(--mwh-ticker-border, rgba(31, 41, 55, 0.12));
	background: var(--mwh-ticker-background, #fff);
	color: var(--mwh-ticker-text, var(--mwh-dark));
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	vertical-align: middle;
	isolation: isolate;
}

.mwh-ticker,
.mwh-ticker * {
	box-sizing: border-box;
}

.mwh-ticker__viewport {
	display: flex !important;
	align-items: center !important;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden !important;
	white-space: nowrap !important;
}

.mwh-ticker__track {
	display: inline-flex !important;
	flex: 0 0 auto;
	align-items: center !important;
	height: 100%;
	min-width: max-content;
	margin: 0;
	padding: 0;
	white-space: nowrap !important;
	animation: mwh-ticker-scroll var(--mwh-ticker-duration) linear infinite;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.mwh-ticker:hover .mwh-ticker__track,
.mwh-ticker:focus-within .mwh-ticker__track,
.mwh-ticker.mwh-ticker--paused .mwh-ticker__track {
	animation-play-state: paused;
}

.mwh-ticker__item {
	display: inline-flex !important;
	flex: 0 0 auto;
	gap: 0.5rem;
	align-items: center !important;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 0 1.45rem;
	color: inherit;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	vertical-align: middle;
}

.mwh-ticker__dot {
	display: inline-block;
	flex: 0 0 auto;
	width: 0.56rem;
	height: 0.56rem;
	border-radius: 999px;
	background: var(--mwh-ticker-dot-efficiency, #2563eb);
}

.mwh-ticker__item--insulation .mwh-ticker__dot {
	background: var(--mwh-ticker-dot-insulation, #f97316);
}

.mwh-ticker__item--heating .mwh-ticker__dot {
	background: var(--mwh-ticker-dot-heating, #dc2626);
}

.mwh-ticker__item--renewables .mwh-ticker__dot {
	background: var(--mwh-ticker-dot-renewables, #16a34a);
}

.mwh-ticker__item--efficiency .mwh-ticker__dot {
	background: var(--mwh-ticker-dot-efficiency, #2563eb);
}

.mwh-ticker__link,
.mwh-ticker__headline,
.mwh-ticker__date {
	display: inline-flex !important;
	align-items: center !important;
	height: auto;
	max-height: 100%;
	margin: 0;
	padding: 0;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	vertical-align: middle;
}

.mwh-ticker__link {
	color: inherit;
	text-decoration: none;
}

.mwh-ticker__link:hover,
.mwh-ticker__link:focus-visible {
	color: var(--mwh-accent);
	outline: none;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.mwh-ticker__headline {
	font-weight: 600;
}

.mwh-ticker__date {
	color: rgba(31, 41, 55, 0.68);
	color: color-mix(in srgb, var(--mwh-ticker-text, #1f2937) 68%, transparent);
	font-size: 0.85em;
}

@keyframes mwh-ticker-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-100%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mwh-ticker__track {
		animation: none;
	}

	.mwh-ticker__viewport {
		overflow-x: auto !important;
	}
}

@media (max-width: 640px) {
	.mwh-ticker__item {
		padding-inline: 1rem;
	}
}
