:root {
	--helgo-bg: #fbfaf7;
	--helgo-surface: #ffffff;
	--helgo-sand: #f2efe9;
	--helgo-sand-2: #ebe6dd;
	--helgo-text: #1d1d1b;
	--helgo-muted: #6f716c;
	--helgo-line: #ddd8cf;
	--helgo-green: #194735;
	--helgo-green-2: #2f604c;
	--helgo-green-soft: #e7eee8;
	--helgo-shadow: 0 20px 55px rgba(29, 29, 27, 0.075);
	--helgo-radius: 0;
	--helgo-container: 1240px;
	--helgo-serif: Georgia, 'Times New Roman', Times, serif;
	--helgo-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
	scroll-behavior: smooth;
}

body.helgo-theme {
	background: var(--helgo-bg);
	color: var(--helgo-text);
	font-family: var(--helgo-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.helgo-theme .site,
body.helgo-theme .site-content,
body.helgo-theme .inside-article,
body.helgo-theme .separate-containers .inside-article {
	background: transparent;
}

body.helgo-theme .site-content {
	padding: 0;
}

body.helgo-theme .content-area,
body.helgo-theme .site-main,
body.helgo-theme .inside-article {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.helgo-theme .entry-header,
body.helgo-theme .entry-meta,
body.helgo-theme .page-header {
	display: none;
}

body.helgo-theme a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.helgo-theme a:hover,
body.helgo-theme a:focus {
	color: var(--helgo-green);
}

body.helgo-theme h1,
body.helgo-theme h2,
body.helgo-theme h3,
body.helgo-theme h4,
body.helgo-theme .main-title a {
	font-family: var(--helgo-serif);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 0.98;
	color: var(--helgo-text);
}

body.helgo-theme p {
	margin-top: 0;
	color: var(--helgo-muted);
}

body.helgo-theme img {
	height: auto;
	max-width: 100%;
}

body.helgo-theme .site-header,
body.helgo-theme .main-navigation,
body.helgo-theme .inside-navigation {
	background: rgba(251, 250, 247, 0.96);
}

body.helgo-theme .site-header {
	border-bottom: 1px solid var(--helgo-line);
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(14px);
}

body.helgo-theme .inside-header {
	max-width: var(--helgo-container);
	padding: 22px 30px;
}

body.helgo-theme .main-title {
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1;
}

body.helgo-theme .main-title a {
	text-decoration: none;
}

body.helgo-theme .main-navigation .main-nav ul li a {
	font-family: var(--helgo-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding-left: 17px;
	padding-right: 17px;
	color: var(--helgo-text);
}

body.helgo-theme .main-navigation .main-nav ul li:hover > a,
body.helgo-theme .main-navigation .main-nav ul li.current-menu-item > a,
body.helgo-theme .main-navigation .main-nav ul li.current-menu-ancestor > a {
	background: transparent;
	color: var(--helgo-green);
}

body.helgo-theme .menu-toggle,
body.helgo-theme .main-navigation .menu-bar-items a {
	color: var(--helgo-text);
}

.helgo-wrap {
	max-width: var(--helgo-container);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 44px);
}

.helgo-page {
	background: var(--helgo-bg);
}

.helgo-hero {
	position: relative;
	border-bottom: 1px solid var(--helgo-line);
}

.helgo-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	min-height: min(720px, 72vh);
	padding-block: clamp(52px, 8vw, 110px);
}

.helgo-hero--wide .helgo-hero__inner {
	max-width: none;
	padding-inline: clamp(20px, 4vw, 58px);
}

.helgo-hero__eyebrow,
.helgo-label,
.helgo-eyebrow {
	font-family: var(--helgo-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--helgo-green);
	text-decoration: none;
}

.helgo-hero__title,
.helgo-page-title {
	font-size: clamp(54px, 8vw, 112px);
	margin: 0 0 28px;
	max-width: 760px;
}

.helgo-hero__text {
	max-width: 520px;
}

.helgo-hero__text::before,
.helgo-intro-rule::before {
	content: '';
	display: block;
	width: 48px;
	height: 2px;
	background: var(--helgo-green);
	margin: 0 0 24px;
}

.helgo-hero__lead {
	font-size: clamp(16px, 1.35vw, 20px);
	color: var(--helgo-text);
	line-height: 1.55;
	margin-bottom: 30px;
}

.helgo-hero__media {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	background: var(--helgo-sand);
}

.helgo-hero__media::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 34%;
	background: linear-gradient(90deg, var(--helgo-bg) 0%, rgba(251, 250, 247, 0) 100%);
	z-index: 1;
	pointer-events: none;
}

.helgo-hero__media img,
.helgo-hero__media .helgo-image-fallback {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
	display: block;
}

.helgo-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	padding: 13px 24px;
	border: 1px solid var(--helgo-green);
	background: var(--helgo-green);
	color: #fff !important;
	font-family: var(--helgo-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
	cursor: pointer;
}

.helgo-button::after,
.wp-block-button__link::after {
	content: '→';
	font-size: 17px;
	line-height: 1;
}

.helgo-button:hover,
.helgo-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
	background: transparent;
	color: var(--helgo-green) !important;
	transform: translateY(-1px);
}

.helgo-button--ghost {
	background: transparent;
	color: var(--helgo-green) !important;
}

.helgo-button--ghost:hover,
.helgo-button--ghost:focus {
	background: var(--helgo-green);
	color: #fff !important;
}

.helgo-section {
	padding-block: clamp(52px, 7vw, 92px);
	border-bottom: 1px solid var(--helgo-line);
}

.helgo-section--tight {
	padding-block: clamp(32px, 5vw, 62px);
}

.helgo-section__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.helgo-section__heading h2,
.helgo-section-title {
	font-size: clamp(28px, 4vw, 48px);
	margin: 0;
}

.helgo-section__heading a,
.helgo-arrow {
	font-family: var(--helgo-sans);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	color: var(--helgo-green);
}

.helgo-arrow::after,
.helgo-section__heading a::after {
	content: ' →';
	padding-left: 4px;
}

.helgo-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 34px);
}

.helgo-card-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.helgo-card-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.helgo-card-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.helgo-card {
	background: var(--helgo-surface);
	border: 1px solid var(--helgo-line);
	min-width: 0;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.helgo-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--helgo-shadow);
	border-color: rgba(25, 71, 53, 0.24);
}

.helgo-card__image {
	display: block;
	background: var(--helgo-sand);
	overflow: hidden;
}

.helgo-card__thumb,
.helgo-card__image .helgo-image-fallback {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 300ms ease;
}

.helgo-card:hover .helgo-card__thumb {
	transform: scale(1.035);
}

.helgo-card__body {
	padding: 22px 22px 24px;
}

.helgo-card__title {
	font-size: clamp(24px, 2.1vw, 33px);
	margin: 10px 0 12px;
}

.helgo-card__title a {
	text-decoration: none;
}

.helgo-card__body p {
	font-size: 14px;
	line-height: 1.55;
	margin-bottom: 18px;
}

.helgo-card__meta {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--helgo-muted);
	margin-right: 12px;
}

.helgo-card--compact .helgo-card__body {
	padding: 16px 17px 18px;
}

.helgo-card--compact .helgo-card__title {
	font-size: 21px;
}

.helgo-card--horizontal {
	display: grid;
	grid-template-columns: 42% 1fr;
	align-items: stretch;
}

.helgo-card--horizontal .helgo-card__thumb,
.helgo-card--horizontal .helgo-image-fallback {
	height: 100%;
	aspect-ratio: auto;
}

.helgo-card--feature {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	align-items: stretch;
	background: var(--helgo-surface);
}

.helgo-card--feature .helgo-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 5vw, 60px);
}

.helgo-card--feature .helgo-card__title {
	font-size: clamp(38px, 5vw, 64px);
}

.helgo-image-fallback {
	background:
		linear-gradient(135deg, rgba(25, 71, 53, 0.12), rgba(221, 216, 207, 0.7)),
		var(--helgo-sand);
	display: grid;
	place-items: center;
	color: var(--helgo-green);
	font-family: var(--helgo-serif);
	font-size: 24px;
}

.helgo-topic-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	border: 1px solid var(--helgo-line);
	background: var(--helgo-surface);
}

.helgo-topic {
	display: grid;
	gap: 10px;
	place-items: center;
	min-height: 118px;
	padding: 20px 12px;
	border-right: 1px solid var(--helgo-line);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.helgo-topic:last-child {
	border-right: 0;
}

.helgo-topic__icon {
	width: 38px;
	height: 38px;
	border: 1px solid var(--helgo-green);
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--helgo-green);
	font-family: var(--helgo-serif);
	font-size: 19px;
}

.helgo-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-block: 26px;
	border-bottom: 1px solid var(--helgo-line);
}

.helgo-chip {
	border: 1px solid var(--helgo-line);
	background: rgba(255, 255, 255, 0.72);
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	color: var(--helgo-text);
}

.helgo-chip:hover,
.helgo-chip:focus,
.helgo-chip.is-active {
	background: var(--helgo-green);
	border-color: var(--helgo-green);
	color: #fff;
}

.helgo-layout-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(36px, 5vw, 66px);
	align-items: start;
}

.helgo-sidebar {
	position: sticky;
	top: 112px;
	display: grid;
	gap: 28px;
}

.helgo-panel {
	background: var(--helgo-surface);
	border: 1px solid var(--helgo-line);
	padding: 28px;
}

.helgo-panel h2,
.helgo-panel h3 {
	font-size: 31px;
	margin: 0 0 18px;
}

.helgo-list,
.helgo-clean-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.helgo-list li,
.helgo-clean-list li {
	border-bottom: 1px solid var(--helgo-line);
	padding: 14px 0;
}

.helgo-list li:last-child,
.helgo-clean-list li:last-child {
	border-bottom: 0;
}

.helgo-most-read li a {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 14px;
	text-decoration: none;
}

.helgo-most-read__number {
	font-family: var(--helgo-serif);
	font-size: 26px;
	color: var(--helgo-green);
}

.helgo-most-read__title {
	font-family: var(--helgo-serif);
	font-size: 22px;
	line-height: 1.08;
}

.helgo-article {
	padding-top: 0;
}

.helgo-article-hero__image {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	display: block;
	background: var(--helgo-sand);
}

.helgo-article-header {
	padding-block: clamp(52px, 7vw, 86px) clamp(34px, 5vw, 56px);
}

.helgo-article-header h1 {
	font-size: clamp(54px, 7vw, 104px);
	max-width: 790px;
	margin: 10px 0 24px;
}

.helgo-article-header__lead {
	max-width: 720px;
	font-size: clamp(18px, 1.45vw, 22px);
	color: var(--helgo-text);
}

.helgo-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	padding-top: 22px;
	margin-top: 26px;
	border-top: 1px solid var(--helgo-line);
	font-size: 13px;
	color: var(--helgo-muted);
}

.helgo-content {
	font-size: 18px;
	line-height: 1.82;
}

.helgo-content > * {
	max-width: 760px;
}

.helgo-content h2,
.helgo-content h3 {
	font-size: clamp(34px, 4vw, 54px);
	margin-top: 1.4em;
	margin-bottom: 0.35em;
}

.helgo-content blockquote {
	border-left: 0;
	margin: 42px 0;
	padding: 34px 40px;
	background: var(--helgo-green-soft);
	color: var(--helgo-green);
	font-family: var(--helgo-serif);
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.1;
}

.helgo-content .alignwide,
.helgo-content figure.alignwide,
.helgo-content img.alignwide {
	max-width: 1000px;
}

.helgo-content figure {
	margin: 42px 0;
}

.helgo-content figcaption {
	font-size: 12px;
	color: var(--helgo-muted);
	margin-top: 8px;
}

.helgo-share {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.helgo-share a {
	width: 42px;
	height: 42px;
	border: 1px solid var(--helgo-line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 12px;
}

.helgo-share a:hover,
.helgo-share a:focus {
	background: var(--helgo-green);
	border-color: var(--helgo-green);
	color: #fff;
}

.helgo-guide-steps {
	display: grid;
	gap: 18px;
}

.helgo-step {
	background: var(--helgo-surface);
	border: 1px solid var(--helgo-line);
	padding: clamp(24px, 4vw, 42px);
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 190px;
	gap: 24px;
	align-items: start;
}

.helgo-step__number {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--helgo-green);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--helgo-serif);
	font-size: 22px;
}

.helgo-step h2,
.helgo-step h3 {
	font-size: clamp(30px, 3vw, 44px);
	margin: 0 0 10px;
}

.helgo-step__box {
	background: var(--helgo-green-soft);
	padding: 18px;
	font-size: 13px;
	color: var(--helgo-green);
}

.helgo-checks {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
}

.helgo-checks li {
	position: relative;
	padding-left: 26px;
	margin: 8px 0;
	color: var(--helgo-text);
}

.helgo-checks li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--helgo-green);
	font-weight: 800;
}

.helgo-fact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.helgo-fact-card {
	background: var(--helgo-surface);
	border: 1px solid var(--helgo-line);
	padding: 24px;
}

.helgo-fact-card h3 {
	font-size: 28px;
	margin: 0 0 12px;
}

.helgo-search-form {
	display: flex;
	gap: 0;
	max-width: 460px;
	border: 1px solid var(--helgo-line);
	background: var(--helgo-surface);
}

.helgo-search-form input[type='search'] {
	border: 0;
	background: transparent;
	padding: 16px 18px;
	width: 100%;
}

.helgo-search-form button {
	border: 0;
	background: transparent;
	padding: 0 18px;
	color: var(--helgo-green);
	font-weight: 800;
}

.helgo-result-list {
	display: grid;
	gap: 22px;
}

.helgo-pagination {
	margin-top: 34px;
}

.helgo-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	border: 1px solid var(--helgo-line);
	text-decoration: none;
	margin-right: 4px;
}

.helgo-pagination .current {
	background: var(--helgo-green);
	color: #fff;
	border-color: var(--helgo-green);
}

.helgo-newsletter {
	background: var(--helgo-sand);
	border: 1px solid var(--helgo-line);
	padding: clamp(24px, 4vw, 42px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
	gap: 28px;
	align-items: center;
}

.helgo-newsletter h2,
.helgo-newsletter h3 {
	font-size: clamp(28px, 3vw, 42px);
	margin: 0 0 8px;
}

.helgo-newsletter form,
.helgo-newsletter-inline {
	display: flex;
	gap: 10px;
	align-items: center;
}

.helgo-newsletter input,
.helgo-newsletter-inline input,
.helgo-form input,
.helgo-form select,
.helgo-form textarea {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--helgo-line);
	background: #fff;
	padding: 12px 14px;
	color: var(--helgo-text);
	border-radius: 0;
}

.helgo-footer {
	background: #f6f3ee;
	border-top: 1px solid var(--helgo-line);
	padding-block: 42px 24px;
}

.helgo-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(160px, 0.55fr));
	gap: 32px;
}

.helgo-footer h2,
.helgo-footer h3 {
	font-size: 22px;
	margin: 0 0 12px;
}

.helgo-footer a {
	text-decoration: none;
	font-size: 13px;
	color: var(--helgo-muted);
}

.helgo-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.helgo-footer li {
	margin: 5px 0;
}

.helgo-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--helgo-line);
	padding-top: 22px;
	margin-top: 32px;
	font-size: 12px;
	color: var(--helgo-muted);
}

.helgo-socials {
	display: flex;
	gap: 12px;
}

.helgo-socials a {
	width: 36px;
	height: 36px;
	border: 1px solid var(--helgo-line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 800;
	color: var(--helgo-text);
}

.helgo-form {
	display: grid;
	gap: 16px;
}

.helgo-form label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--helgo-muted);
}

.helgo-form textarea {
	min-height: 160px;
}

.helgo-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 0.8fr;
	gap: clamp(40px, 6vw, 86px);
}

.helgo-map-card {
	display: grid;
	grid-template-columns: 0.55fr 0.75fr 0.75fr;
	background: var(--helgo-surface);
	border: 1px solid var(--helgo-line);
	margin-top: 42px;
}

.helgo-map-card > * {
	padding: 28px;
	border-right: 1px solid var(--helgo-line);
}

.helgo-map-card > *:last-child {
	border-right: 0;
}

.helgo-map-placeholder {
	background:
		linear-gradient(45deg, rgba(25, 71, 53, 0.08) 25%, transparent 25%),
		linear-gradient(-45deg, rgba(25, 71, 53, 0.08) 25%, transparent 25%),
		#eef1ee;
	background-size: 34px 34px;
	display: grid;
	place-items: center;
	color: var(--helgo-green);
	font-weight: 800;
}

.helgo-team-grid {
	display: grid;
	grid-template-columns: 1.15fr repeat(4, 1fr);
	gap: 28px;
}

.helgo-person img,
.helgo-person .helgo-image-fallback {
	width: 100%;
	aspect-ratio: 1 / 1.18;
	object-fit: cover;
	background: var(--helgo-sand);
}

.helgo-person h3 {
	font-size: 26px;
	margin: 16px 0 6px;
}

.helgo-values {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border: 1px solid var(--helgo-line);
	background: var(--helgo-surface);
}

.helgo-value {
	padding: 30px 24px;
	border-right: 1px solid var(--helgo-line);
	text-align: center;
}

.helgo-value:last-child {
	border-right: 0;
}

.helgo-value__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--helgo-green);
	display: grid;
	place-items: center;
	margin: 0 auto 16px;
	color: var(--helgo-green);
}

.helgo-case-gallery {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr;
	gap: 18px;
}

.helgo-case-gallery img,
.helgo-case-gallery .helgo-image-fallback {
	width: 100%;
	height: 100%;
	min-height: 240px;
	object-fit: cover;
}

.helgo-case-facts {
	background: var(--helgo-surface);
	border: 1px solid var(--helgo-line);
	padding: 28px;
}

.helgo-case-facts dl {
	margin: 0;
}

.helgo-case-facts dt {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--helgo-muted);
	font-weight: 800;
	margin-top: 14px;
}

.helgo-case-facts dt:first-child {
	margin-top: 0;
}

.helgo-case-facts dd {
	margin: 2px 0 0;
	color: var(--helgo-text);
}

@media (max-width: 1100px) {
	.helgo-card-grid--5,
	.helgo-topic-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.helgo-card-grid--4,
	.helgo-team-grid,
	.helgo-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.helgo-layout-sidebar {
		grid-template-columns: 1fr;
	}

	.helgo-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.helgo-hero__inner,
	.helgo-card-grid,
	.helgo-card-grid--2,
	.helgo-card-grid--4,
	.helgo-card-grid--5,
	.helgo-card--feature,
	.helgo-layout-sidebar,
	.helgo-newsletter,
	.helgo-footer__grid,
	.helgo-contact-grid,
	.helgo-map-card,
	.helgo-fact-grid,
	.helgo-step,
	.helgo-case-gallery {
		grid-template-columns: 1fr;
	}

	.helgo-hero__media {
		min-height: 280px;
		order: -1;
	}

	.helgo-hero__media::before {
		display: none;
	}

	.helgo-hero__media img,
	.helgo-hero__media .helgo-image-fallback {
		min-height: 300px;
	}

	.helgo-card--horizontal {
		grid-template-columns: 1fr;
	}

	.helgo-topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.helgo-sidebar {
		grid-template-columns: 1fr;
	}

	.helgo-newsletter form,
	.helgo-newsletter-inline {
		flex-direction: column;
		align-items: stretch;
	}

	.helgo-footer__bottom {
		flex-direction: column;
	}

	.helgo-map-card > * {
		border-right: 0;
		border-bottom: 1px solid var(--helgo-line);
	}

	.helgo-map-card > *:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 560px) {
	.helgo-wrap {
		padding-inline: 18px;
	}

	.helgo-hero__title,
	.helgo-page-title,
	.helgo-article-header h1 {
		font-size: 48px;
	}

	.helgo-section__heading {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Hide the standard GeneratePress footer on pages where the Helgo footer is rendered. */
body.helgo-theme .site-footer {
	display: none;
}


/* v1.1 robust GeneratePress integration fixes */
body.helgo-theme .grid-container,
body.helgo-theme .site.grid-container,
body.helgo-theme .site-content.grid-container,
body.helgo-theme .container.grid-container {
	max-width: none;
}

body.helgo-theme .site-content {
	display: block;
}

body.helgo-theme .content-area,
body.helgo-theme.right-sidebar .content-area,
body.helgo-theme.left-sidebar .content-area,
body.helgo-theme.both-sidebars .content-area,
body.helgo-theme .site-main {
	float: none;
	width: 100%;
	max-width: none;
}

body.helgo-theme .widget-area.sidebar,
body.helgo-theme .site-footer,
body.helgo-theme .footer-widgets,
body.helgo-theme .site-info {
	display: none !important;
}

body.helgo-theme .inside-header,
body.helgo-theme .inside-navigation,
body.helgo-theme .main-navigation .inside-navigation {
	max-width: var(--helgo-container);
	margin-left: auto;
	margin-right: auto;
}

body.helgo-theme .main-navigation {
	border-bottom: 1px solid var(--helgo-line);
}

body.helgo-theme .main-navigation .main-nav ul li a,
body.helgo-theme .main-navigation .menu-toggle,
body.helgo-theme .main-navigation .menu-bar-items a {
	background: transparent !important;
}

.helgo-card-grid:empty::before,
.helgo-result-list:empty::before {
	content: 'Opret indlæg med kategorier og fremhævede billeder for at udfylde denne sektion.';
	display: block;
	padding: 28px;
	border: 1px solid var(--helgo-line);
	background: var(--helgo-surface);
	color: var(--helgo-muted);
}

.helgo-demo-card {
	pointer-events: none;
}

.helgo-demo-card .helgo-card__image {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	font-family: var(--helgo-serif);
	font-size: clamp(24px, 3vw, 40px);
	color: var(--helgo-green);
	text-decoration: none;
}


/* v1.2 hero balance patch
 * Makes the homepage hero feel less image-heavy and gives the intro/CTA more presence.
 */
@media (min-width: 781px) {
	body.helgo-theme .helgo-front-page .helgo-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: clamp(36px, 4.5vw, 64px);
		min-height: min(660px, 66vh);
		padding-block: clamp(54px, 6.5vw, 88px);
	}

	body.helgo-theme .helgo-front-page .helgo-hero__text {
		max-width: 640px;
	}

	body.helgo-theme .helgo-front-page .helgo-hero__title {
		font-size: clamp(66px, 7.2vw, 104px);
		line-height: 0.98;
		max-width: 720px;
		margin-bottom: 30px;
	}

	body.helgo-theme .helgo-front-page .helgo-hero__lead {
		font-size: clamp(19px, 1.35vw, 22px);
		line-height: 1.65;
		max-width: 42ch;
		color: #35413b;
		margin-bottom: 34px;
	}

	body.helgo-theme .helgo-front-page .helgo-button {
		min-height: 56px;
		padding: 16px 28px;
		font-size: 15px;
	}

	body.helgo-theme .helgo-front-page .helgo-hero__media {
		min-height: 500px;
	}

	body.helgo-theme .helgo-front-page .helgo-hero__media img,
	body.helgo-theme .helgo-front-page .helgo-hero__media .helgo-image-fallback {
		min-height: 500px;
		max-height: 590px;
	}
}

@media (min-width: 1200px) {
	body.helgo-theme .helgo-front-page .helgo-hero__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	}
}
