/*
 * Solelo – theme CSS.
 *
 * Only functional rules live here from the start (screen-reader text, the cookie banner's placement,
 * the honeypot, the form states). There is no design yet: colours, fonts and spacing come from the
 * design chosen for this client and go into theme.json first, and into this file only where theme.json
 * can't express it.
 *
 * Later fixes go at the bottom in versioned blocks:  / * 0.2.1: why * /
 */

/* ---------- Accessibility ---------- */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--lime);
	outline-offset: 3px;
}

/* On light (kalk) and lime sections the focus ring is kol, since lime doesn't show there. */
:where(.has-kalk-background-color, .has-lime-background-color) :where(a, button, input, select, textarea, summary):focus-visible {
	outline-color: var(--wp--preset--color--kol);
}

/* No sideways scrolling on phones, whatever a block does. */
html,
body {
	overflow-x: clip;
}

/* Archivo Expanded is wide, and some Swedish compounds are wider than their column (bostadsrättsförening
   in a project heading and its facts). Words of 16+ letters may get a hyphen (needs lang="sv-SE"), and
   nothing ever sticks out. */
h1,
h2,
h3,
.sol-facts dd {
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 16 6 6;
}

img,
video,
iframe {
	max-width: 100%;
}

/* ---------- Cookie banner (inc/consent.php) ---------- */

.sol-consent {
	position: fixed;
	z-index: 9999;
	right: 16px;
	bottom: 16px;
	left: 16px;
	max-width: 560px;
	margin-left: auto;
	padding: 20px;
	background: var(--wp--preset--color--grafit);
	color: var(--wp--preset--color--kalk);
	border: 1.5px solid var(--wp--preset--color--linje);
	border-radius: 8px;
}

.sol-consent[hidden] {
	display: none;
}

.sol-consent p {
	margin: 6px 0 0;
	font-size: var(--wp--preset--font-size--small);
}

.sol-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.sol-consent__btn {
	min-height: 44px;
	padding: 10px 18px;
	border: 1.5px solid var(--wp--preset--color--lime);
	border-radius: 999px;
	background: var(--wp--preset--color--lime);
	color: var(--wp--preset--color--kol);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.sol-consent__btn.is-secondary {
	background: transparent;
	color: inherit;
}

/* ---------- Forms (inc/forms.php) ---------- */

.sol-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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

.sol-form label {
	display: grid;
	gap: 6px;
}

.sol-form :is(input, select, textarea) {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	font: inherit;
	box-sizing: border-box;
}

.sol-form [data-error][hidden],
.sol-form-done[hidden],
.sol-form[hidden] {
	display: none;
}

/* =====================================================================
 * Design B, "Linjen från loggan" (docs/decisions.md).
 * Colours and fonts come from theme.json; only what theme.json can't express lives here.
 * ===================================================================== */

:root {
	--sol-kol: var(--wp--preset--color--kol);
	--sol-grafit: var(--wp--preset--color--grafit);
	--sol-lime: var(--wp--preset--color--lime);
	--sol-lime-ljus: var(--wp--preset--color--lime-ljus);
	--sol-kalk: var(--wp--preset--color--kalk);
	--sol-sten: var(--wp--preset--color--sten);
	--sol-dampad: var(--wp--preset--color--dampad);
	--sol-dampad-mork: var(--wp--preset--color--dampad-mork);
	--sol-linje: var(--wp--preset--color--linje);
	--sol-heading: var(--wp--preset--font-family--heading);
	--sol-section-y: clamp(64px, 8vw, 120px);
}

/* Sections sit edge to edge; no block gap showing between coloured bands. */
.wp-site-blocks > *,
.sol-main > .alignfull {
	margin-block: 0;
}

.sol-section {
	padding-block: var(--sol-section-y);
}

.sol-muted {
	color: var(--sol-sten);
	max-width: 30em;
}

.sol-more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-underline-offset: 4px;
}

.sol-rounded {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 8px;
}

/* Light sections (kalk) and the lime band: dark text, dark links. Lime is never text on light. */
.sol-light :is(h1, h2, h3, h4),
.sol-reviews :is(h1, h2, h3, h4) {
	color: var(--sol-kol);
}

.sol-light a:not(.wp-element-button),
.sol-reviews a:not(.wp-element-button) {
	color: var(--sol-kol);
}

.sol-light .sol-muted,
.sol-light p {
	color: var(--sol-dampad-mork);
}

/* ---------- Buttons ---------- */

.wp-element-button,
.sol-btn {
	min-height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--sol-kalk);
	border: 1.5px solid var(--sol-dampad);
	padding: 16px 28px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	color: var(--sol-lime);
	border-color: var(--sol-lime);
}

:where(.has-kalk-background-color, .has-lime-background-color) .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--sol-kol);
	border: 2px solid var(--sol-kol);
}

.sol-btn {
	background: var(--sol-lime);
	color: var(--sol-kol);
	font-weight: 600;
	border-radius: 999px;
	padding: 12px 22px;
}

.sol-btn:hover {
	background: var(--sol-lime-ljus);
	color: var(--sol-kol);
}

.sol-btn--small {
	min-height: 48px;
	font-size: 16px;
}

/* ---------- Header ---------- */

.sol-header {
	padding-block: 22px;
}

.sol-header__bar {
	gap: 36px;
}

.sol-logo {
	display: inline-flex;
	flex: none;
}

.sol-logo img {
	display: block;
	width: 156px;
	height: auto;
}

.sol-nav {
	flex-grow: 1;
	font-size: 16px;
	font-weight: 500;
	gap: 30px;
}

.sol-nav .wp-block-navigation__container {
	gap: 30px;
}

.sol-nav .wp-block-navigation-item__content {
	color: var(--sol-kalk);
	text-decoration: none;
}

.sol-nav .wp-block-navigation-item__content:hover,
.sol-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--sol-lime);
}

.sol-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: none;
}

.sol-header__phone {
	color: var(--sol-kalk);
	font-size: 16px;
	text-decoration: none;
}

/* The menu button takes over below 960 px (the navigation block's own breakpoint is 600 px). */
@media (max-width: 960px) {
	.sol-header__phone {
		display: none;
	}

	.sol-header__actions {
		order: 1;
		margin-left: auto;
	}

	.sol-nav {
		order: 2;
		flex-grow: 0;
	}

	.sol-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.sol-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 480px) {
	.sol-header__actions {
		display: none;
	}
}

/* Contact and phone in the opened phone menu only (the header hides its own below 480 and 1180 px). */
.sol-nav .sol-nav__extra {
	display: none;
}

.sol-nav .is-menu-open .sol-nav__extra {
	display: flex;
}

.sol-nav .is-menu-open .sol-nav__contact {
	margin-top: 16px;
}

.sol-nav .is-menu-open .sol-nav__contact > .wp-block-navigation-item__content {
	color: var(--sol-lime);
}

/* ---------- Start: first screen ---------- */

.sol-hero {
	padding-block: clamp(32px, 5vw, 72px) 0;
}

.sol-hero__title {
	margin-inline: auto;
}

.sol-lead {
	font-size: clamp(18px, 1.5vw, 21px);
	color: var(--sol-sten);
	max-width: 34em;
	margin-inline: auto;
}

/* The house from the logo as image mask, with a lime outline. */
.sol-house-img {
	position: relative;
	max-width: 780px;
	margin: 28px auto 0;
}

.sol-house-img img {
	display: block;
	width: 100%;
	height: clamp(300px, 40vw, 540px);
	object-fit: cover;
	clip-path: polygon(0 38%, 50% 0, 100% 38%, 100% 100%, 0 100%);
}

.sol-house-img__outline {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: none;
	stroke: var(--sol-lime);
	stroke-width: 7;
	stroke-linejoin: round;
}

/* ---------- The line: roof, battery, car ---------- */

.sol-flow {
	padding-block: clamp(72px, 8vw, 112px) 40px;
}

.sol-line {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 72px;
	padding-block: 72px 40px;
}

.sol-line__spine {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 6px;
	margin-left: -3px;
	background: var(--sol-lime);
}

.sol-station {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
	align-items: center;
}

.sol-station__a {
	grid-column: 1;
	grid-row: 1;
	padding-right: 8px;
}

.sol-station__b {
	grid-column: 3;
	grid-row: 1;
	padding-left: 8px;
}

.sol-station__node {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	position: relative;
	z-index: 1;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sol-lime);
	border: 8px solid var(--sol-kol);
	box-shadow: 0 0 0 3px var(--sol-lime);
}

.sol-station__text {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sol-station__a.sol-station__text {
	align-items: flex-end;
	text-align: right;
}

.sol-station h3 {
	margin: 0;
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.sol-station p {
	margin: 0;
	color: var(--sol-sten);
	max-width: 26em;
}

.sol-card {
	background: var(--sol-grafit);
	border-radius: 8px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sol-card p {
	margin: 0;
}

.sol-card__label {
	font-size: 16px;
	color: var(--sol-dampad) !important;
}

.sol-brands {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.5;
	color: var(--sol-kalk) !important;
}

.sol-card__big {
	font-family: var(--sol-heading);
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	color: var(--sol-lime) !important;
}

.sol-line__end {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	color: var(--sol-lime);
}

.sol-line__end svg {
	background: var(--sol-kol);
}

@media (max-width: 820px) {
	.sol-line__spine {
		left: 25px;
		margin-left: 0;
	}

	.sol-station {
		grid-template-columns: 56px minmax(0, 1fr);
		row-gap: 24px;
	}

	.sol-station__node {
		grid-column: 1;
		grid-row: 1;
	}

	.sol-station__a,
	.sol-station__b {
		grid-column: 2;
		padding: 0;
	}

	.sol-station__a { grid-row: 1; }
	.sol-station__b { grid-row: 2; }
	.sol-station--flip .sol-station__a { grid-row: 2; }
	.sol-station--flip .sol-station__b { grid-row: 1; }

	.sol-station__a.sol-station__text {
		align-items: flex-start;
		text-align: left;
	}

	.sol-line__end {
		justify-content: flex-start;
		margin-left: -4px;
	}
}

/* ---------- Two columns: text and media ---------- */

.sol-split {
	display: flex;
	flex-wrap: wrap;
	gap: 56px 80px;
	align-items: center;
}

.sol-split--top {
	align-items: flex-start;
}

.sol-split__text {
	flex: 1 1 400px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sol-split__text > * {
	margin: 0;
}

.sol-split__media {
	flex: 1.15 1 460px;
	max-width: 620px;
	margin-inline: auto;
}

/* ---------- Local: lokaler, area links and the line map ---------- */

.sol-map__title {
	max-width: 9em;
}

.sol-lokaler {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
}

.sol-lokal {
	background: var(--sol-kol);
	border-radius: 8px;
	padding: 20px 22px;
}

.sol-lokal p {
	margin: 0;
	font-size: 16px;
	color: var(--sol-sten);
}

.sol-lokal .sol-lokal__name {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 18px;
	color: var(--sol-lime);
}

.sol-arealinks {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.sol-arealinks li {
	border-top: 1.5px solid var(--sol-linje);
}

.sol-arealinks li:last-child {
	border-bottom: 1.5px solid var(--sol-linje);
}

.sol-arealinks a {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 68px;
	padding-block: 10px;
	color: var(--sol-kalk);
	font-weight: 400;
	text-decoration: none;
}

.sol-arealinks a:hover {
	color: var(--sol-lime);
}

.sol-arealinks a > span:last-child {
	display: flex;
	flex-direction: column;
}

.sol-arealinks__name {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 20px;
}

.sol-arealinks__note {
	font-size: 15px;
	color: var(--sol-dampad);
}

.sol-ring {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 4px solid var(--sol-lime);
}

.sol-house-icon {
	flex: none;
}

.sol-linemap {
	display: block;
	width: 100%;
	height: auto;
	font-family: var(--wp--preset--font-family--body);
}

.sol-linemap__border {
	stroke: var(--sol-dampad);
	stroke-width: 2;
	stroke-dasharray: 8 8;
	opacity: 0.6;
}

.sol-linemap__county {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 15px;
	fill: var(--sol-sten);
}

.sol-linemap__sea {
	font-size: 15px;
	fill: var(--sol-dampad);
}

.sol-linemap__main,
.sol-linemap__branch {
	fill: none;
	stroke: var(--sol-lime);
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sol-linemap__main {
	stroke-width: 7;
}

.sol-linemap__branch {
	stroke-width: 5;
}

.sol-linemap__stop {
	fill: var(--sol-grafit);
	stroke: var(--sol-lime);
	stroke-width: 4;
}

.sol-linemap__label {
	font-size: 17px;
	fill: var(--sol-kalk);
}

.sol-linemap__house {
	fill: var(--sol-lime);
	stroke: var(--sol-grafit);
	stroke-width: 4;
	stroke-linejoin: round;
}

.sol-linemap__lokal {
	font-family: var(--sol-heading);
	font-weight: 800;
	font-size: 19px;
	fill: var(--sol-lime);
}

.sol-linemap__note {
	font-size: 15px;
	fill: var(--sol-sten);
}

/* ---------- Electricians for over 30 years (light) ---------- */

.sol-why {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.sol-why > * {
	margin-block: 0 !important;
}

.sol-why__head {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 64px;
	align-items: flex-end;
}

.sol-why__head h2 {
	flex: 1 1 420px;
	margin: 0;
}

.sol-why__head p {
	flex: 1 1 380px;
	max-width: 32em;
	margin: 0;
}

.sol-why__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 6px solid var(--sol-kol);
}

.sol-why__cols > div {
	padding: 28px 28px 0;
	border-left: 1.5px solid var(--sol-sten);
}

.sol-why__cols > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.sol-why__cols > div:last-child {
	padding-right: 0;
}

.sol-why__cols h3 {
	margin: 0 0 10px;
}

.sol-why__cols p {
	margin: 0;
}

.sol-people {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
}

.sol-people p {
	margin: 0;
}

.sol-light .sol-people .sol-people__names {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 22px;
	color: var(--sol-kol);
	margin-bottom: 6px;
}

@media (max-width: 820px) {
	.sol-why__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.sol-why__cols > div {
		padding: 24px 0 0;
		border-left: 0;
	}
}

/* ---------- Checklist ---------- */

.sol-checklist {
	flex: 1.4 1 520px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
}

.sol-checklist li {
	display: flex;
	gap: 14px;
	align-items: baseline;
	padding-block: 16px;
	border-top: 1.5px solid var(--sol-linje);
}

.sol-checklist li::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	background: var(--sol-lime);
}

@media (max-width: 820px) {
	.sol-checklist {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Projects ---------- */

.sol-projects {
	padding-top: 0;
}

.sol-section__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	align-items: baseline;
	justify-content: space-between;
}

.sol-section__head h2 {
	margin: 0;
}

.sol-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 32px !important;
}

/* ---------- Reviews (lime band) ---------- */

.sol-reviews__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 48px 80px;
}

.sol-review {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sol-review blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 19px;
}

.sol-review figcaption {
	font-weight: 600;
	font-size: 16px;
}

.sol-review--big {
	flex: 1.5 1 480px;
	gap: 24px;
}

.sol-review--big blockquote {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: clamp(24px, 2.4vw, 36px);
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.sol-review--big figcaption {
	font-size: 18px;
}

.sol-reviews__list {
	flex: 1 1 320px;
}

.sol-reviews__list .sol-review {
	padding-block: 20px;
	border-top: 2px solid var(--sol-kol);
}

/* ---------- Closing call to action ---------- */

.sol-cta {
	text-align: center;
}

.sol-cta__icon {
	display: block;
	width: 96px;
	height: auto;
	margin-inline: auto;
}

.sol-cta h2 {
	font-size: clamp(32px, 4vw, 60px);
	max-width: 13em;
	margin-inline: auto;
}

.sol-cta .sol-muted {
	max-width: 32em;
	margin-inline: auto;
}

/* ---------- Footer ---------- */

.sol-footer {
	border-top: 1.5px solid var(--sol-linje);
	font-size: 16px;
	color: var(--sol-sten);
}

.sol-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 64px;
	align-items: flex-start;
	padding-block: 48px;
}

.sol-footer__logo {
	margin-right: auto;
}

.sol-footer__logo img {
	display: block;
	width: 140px;
	height: auto;
}

.sol-footer a {
	color: var(--sol-sten);
	font-weight: 400;
	text-decoration: none;
}

.sol-footer a:hover {
	color: var(--sol-lime);
}

.sol-footer__nav,
.sol-footer__areas,
.sol-footer__facts,
.sol-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin: 0;
}

.sol-footer__areas,
.sol-footer__facts,
.sol-footer__meta {
	flex-basis: 100%;
}

.sol-footer__areas > span,
.sol-footer__facts,
.sol-footer__meta {
	color: var(--sol-dampad);
}

.sol-footer__facts,
.sol-footer__meta {
	font-size: 14px;
	gap: 8px 28px;
}

.sol-footer__facts a,
.sol-footer__meta a {
	color: var(--sol-dampad);
}

/* Header: tap targets of at least 44 px, and room for the menu between 961 and 1180 px. */
.sol-logo {
	min-height: 44px;
	align-items: center;
}

.sol-nav .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
}

.sol-nav .wp-block-navigation-item__content {
	white-space: nowrap;
}

@media (max-width: 1180px) {
	.sol-header__phone {
		display: none;
	}

	.sol-header__bar,
	.sol-nav .wp-block-navigation__container {
		gap: 22px;
	}
}

@media (max-width: 960px) {
	/* WordPress resets margins on flex children (body .is-layout-flex > *), so this needs two classes. */
	.sol-header__bar > .sol-header__actions {
		margin-left: auto;
	}
}

/* =====================================================================
 * Inner pages (0.2.0): page hero, steps, the line to the next product, coast line, FAQ, booking form,
 * project cards, area pages.
 * ===================================================================== */

/* Rings around nodes take the colour of the band they sit on. */
.sol-section,
.sol-flow {
	--sol-band: var(--sol-kol);
}

.has-grafit-background-color {
	--sol-band: var(--sol-grafit);
}

.sol-section--tight-top {
	padding-top: 0;
}

.sol-phero-band {
	padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 96px);
}

.sol-phero-band--plain {
	padding-bottom: 24px;
}

/* ---------- Breadcrumbs ---------- */

.sol-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: var(--sol-dampad);
}

.sol-crumbs li + li::before {
	content: "/";
	margin-right: 10px;
	color: var(--sol-dampad);
}

.sol-crumbs a {
	color: var(--sol-sten);
	font-weight: 400;
	text-decoration: none;
}

.sol-crumbs a:hover {
	color: var(--sol-lime);
}

/* ---------- Page hero ---------- */

.sol-phero {
	display: flex;
	flex-wrap: wrap;
	gap: 48px 72px;
	align-items: center;
}

.sol-phero__text {
	flex: 1.15 1 460px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sol-phero__text > * {
	margin: 0;
}

.sol-phero__text h1 {
	font-size: clamp(34px, 3.9vw, 56px);
	line-height: 1.06;
}

.sol-phero__media {
	flex: 1 1 420px;
	min-width: 0;
}

.sol-phero__media--map {
	max-width: 520px;
	margin-inline: auto;
}

.sol-phero__media .sol-house-img {
	margin: 0;
	max-width: none;
}

.sol-phero__media .sol-house-img img {
	height: clamp(300px, 34vw, 500px);
}

.sol-phero__facts {
	font-size: 16px;
	color: var(--sol-sten);
}

.sol-phero__facts strong {
	color: var(--sol-kalk);
}

.sol-lead-left {
	font-size: clamp(18px, 1.4vw, 20px);
	color: var(--sol-sten);
	max-width: 30em;
}

/* ---------- Buttons as links ---------- */

.sol-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.sol-buttons--center {
	justify-content: center;
}

.sol-btn {
	font-size: 18px;
	padding: 16px 30px;
	min-height: 56px;
}

.sol-btn--small {
	font-size: 16px;
	padding: 12px 22px;
	min-height: 48px;
}

.sol-btn--outline {
	background: transparent;
	color: var(--sol-kalk);
	border: 1.5px solid var(--sol-dampad);
	padding: 15px 28px;
}

.sol-btn--outline:hover {
	background: transparent;
	color: var(--sol-lime);
	border-color: var(--sol-lime);
}

/* ---------- Two photos side by side ---------- */

.sol-duo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-top: 36px;
}

.sol-duo figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sol-duo figcaption {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--sol-sten);
	max-width: 32em;
}

.sol-duo__title {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 22px;
	color: var(--sol-kalk);
}

.sol-rounded--tall {
	height: 380px;
}

.sol-quote {
	flex: 1.1 1 440px;
	margin: 0;
	padding-left: 32px;
	border-left: 6px solid var(--sol-lime);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sol-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: clamp(22px, 2.1vw, 30px);
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.sol-quote figcaption {
	font-weight: 600;
}

.sol-stack {
	flex: 1 1 340px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sol-split__text--wide {
	flex: 1.4 1 520px;
}

.sol-split__text--wide .sol-checklist {
	flex: none;
}

/* ---------- Four steps on a line ---------- */

.sol-steps > h2,
.sol-next > h2 {
	margin: 0 0 48px;
}

.sol-steps__line {
	position: relative;
}

.sol-steps__rail {
	position: absolute;
	top: 19px;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--sol-lime);
}

.sol-steps ol {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sol-steps li {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sol-steps__num {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sol-lime);
	color: var(--sol-kol);
	box-shadow: 0 0 0 8px var(--sol-band);
	font-family: var(--sol-heading);
	font-weight: 800;
	font-size: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sol-steps h3 {
	margin: 12px 0 0;
	font-size: 21px;
}

.sol-steps p {
	margin: 0;
	color: var(--sol-sten);
}

@media (max-width: 820px) {
	.sol-steps__rail {
		display: none;
	}

	.sol-steps ol {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- The line to the next product ---------- */

.sol-next__line {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px 24px;
}

.sol-next__rail {
	position: absolute;
	top: 15px;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--sol-lime);
}

.sol-next__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: var(--sol-kalk);
	font-weight: 400;
	text-decoration: none;
}

.sol-next__item h3 {
	margin: 8px 0 0;
}

.sol-next__item p {
	margin: 0;
	color: var(--sol-sten);
	max-width: 24em;
}

a.sol-next__item:hover h3 {
	color: var(--sol-lime);
}

.sol-next__node {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sol-band);
	border: 6px solid var(--sol-lime);
	box-shadow: 0 0 0 8px var(--sol-band);
}

.sol-next__item.is-current .sol-next__node {
	background: var(--sol-lime);
}

.sol-next__item.is-current h3 {
	color: var(--sol-lime);
}

@media (max-width: 820px) {
	.sol-next__rail {
		display: none;
	}
}

/* ---------- Coast line ---------- */

.sol-coastwrap__head {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 64px;
	align-items: flex-end;
	justify-content: space-between;
}

.sol-coastwrap__head > * {
	margin: 0;
}

.sol-coast {
	display: block;
	width: 100%;
	height: auto;
	margin-block: 32px;
	font-family: var(--wp--preset--font-family--body);
}

.sol-coast .sol-linemap__lokal {
	font-size: 17px;
}

.sol-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sol-pills a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 20px;
	border: 1.5px solid var(--sol-dampad);
	border-radius: 999px;
	color: var(--sol-kalk);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
}

.sol-pills a:hover {
	border-color: var(--sol-lime);
	color: var(--sol-lime);
}

@media (max-width: 600px) {
	.sol-coast {
		display: none;
	}

	.sol-pills {
		margin-top: 24px;
	}
}

.sol-linemap__stop.is-on {
	fill: var(--sol-lime);
}

.sol-linemap__label.is-on {
	fill: var(--sol-lime);
	font-weight: 700;
}

/* ---------- FAQ ---------- */

.sol-faqgroups {
	display: flex;
	flex-direction: column;
	gap: 72px;
}

.sol-faqband {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 88px;
}

.sol-faqband > div:first-child {
	flex: 1 1 300px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sol-faqband h2 {
	margin: 0;
}

.sol-faq {
	flex: 2 1 560px;
	border-top: 2px solid currentColor;
}

.sol-faq details {
	border-bottom: 2px solid currentColor;
}

.sol-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 72px;
	padding-block: 14px;
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.3;
}

.sol-faq summary::-webkit-details-marker {
	display: none;
}

.sol-faq__icon {
	position: relative;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid currentColor;
}

.sol-faq__icon::before,
.sol-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2.5px;
	margin: -1.25px 0 0 -7px;
	background: currentColor;
}

.sol-faq__icon::after {
	transform: rotate(90deg);
}

.sol-faq details[open] .sol-faq__icon::after {
	display: none;
}

.sol-faq details p {
	margin: 0 0 24px;
	max-width: 36em;
}

/* ---------- Booking form ---------- */

.sol-booking {
	display: flex;
	flex-wrap: wrap;
	gap: 48px 72px;
	align-items: flex-start;
}

.sol-booking__text {
	flex: 1 1 400px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sol-booking__text > * {
	margin: 0;
}

.sol-booking__text h1 {
	font-size: clamp(34px, 3.9vw, 56px);
}

.sol-booking__call p {
	margin: 0;
}

.sol-booking__phone {
	font-family: var(--sol-heading);
	font-weight: 800;
	font-size: clamp(28px, 3vw, 40px);
	color: var(--sol-lime);
	text-decoration: none;
}

.sol-booking__form {
	flex: 1.1 1 460px;
}

.sol-booking__form .sol-form-wrap {
	background: var(--sol-kalk);
	color: var(--sol-kol);
	border-radius: 12px;
	padding: clamp(24px, 3vw, 40px);
}

.sol-form {
	gap: 18px;
}

.sol-form label,
.sol-form legend {
	font-size: 16px;
	font-weight: 600;
}

.sol-form :is(input[type="text"], input[type="tel"], input[type="email"], textarea) {
	min-height: 52px;
	padding: 12px 14px;
	border: 2px solid var(--sol-kol);
	border-radius: 6px;
	background: #fff;
	color: var(--sol-kol);
	font-size: 17px;
	font-weight: 400;
}

.sol-form :is(input, textarea):focus-visible {
	outline: 3px solid var(--sol-kol);
	outline-offset: 2px;
}

.sol-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.sol-form__services {
	margin: 0;
	padding: 0;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sol-form__services legend {
	margin-bottom: 10px;
	padding: 0;
}

.sol-pill {
	display: inline-flex !important;
	position: relative;
}

.sol-pill input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.sol-pill span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 2px solid var(--sol-kol);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	cursor: pointer;
}

.sol-pill input:checked + span {
	background: var(--sol-kol);
	color: var(--sol-lime);
}

.sol-pill input:focus-visible + span {
	outline: 3px solid var(--sol-kol);
	outline-offset: 3px;
}

.sol-req {
	color: var(--sol-dampad-mork);
}

.sol-form__note {
	margin: 0;
	font-size: 14px;
	color: var(--sol-dampad-mork);
}

.sol-booking__form .wp-element-button {
	justify-self: start;
	background: var(--sol-kol);
	color: var(--sol-kalk);
	border: 0;
	cursor: pointer;
}

.sol-booking__form .wp-element-button:hover {
	background: #000;
	color: var(--sol-lime);
}

.sol-form__error {
	margin: 0;
	color: #a12a1f;
	font-weight: 600;
}

.sol-form-done p {
	margin: 0 0 8px;
}

.sol-form-done__title {
	font-family: var(--sol-heading);
	font-weight: 800;
	font-size: 28px;
}

@media (max-width: 600px) {
	.sol-form__row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Area pages ---------- */

.sol-svc {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 36px;
}

.sol-svc a {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 8px;
	background: var(--sol-kol);
	color: var(--sol-kalk);
	font-weight: 400;
	text-decoration: none;
}

.sol-svc img,
.sol-svc__brands {
	display: flex;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.sol-svc__brands {
	align-items: flex-end;
	padding: 24px;
	background: var(--sol-lime);
	color: var(--sol-kol);
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.45;
}

.sol-svc__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	color: var(--sol-sten);
}

.sol-svc__title {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 22px;
	color: var(--sol-kalk);
}

.sol-svc a:hover .sol-svc__title {
	color: var(--sol-lime);
}

.sol-kommuner {
	flex: 1.4 1 480px;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
}

.sol-kommuner li {
	padding-block: 14px;
	border-top: 1.5px solid var(--sol-linje);
}

.sol-kommuner a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--sol-kalk);
}

.sol-arealinks--big .sol-arealinks__name {
	font-size: clamp(20px, 2vw, 26px);
}

/* The page's own text (editor content) – hidden when empty. */
.sol-area-text:not(:has(.wp-block-post-content > *)) {
	display: none;
}

.sol-area-text .wp-block-post-content > *,
.sol-prose .wp-block-post-content > * {
	color: var(--sol-sten);
}

.sol-area-text .wp-block-post-content :is(h2, h3),
.sol-prose .wp-block-post-content :is(h2, h3) {
	color: var(--sol-kalk);
	margin-top: 1.6em;
}

/* ---------- Project cards and facts ---------- */

.sol-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px 20px;
	margin-top: 32px;
}

/* Three per row on wide screens, so six projects make two full rows (not four plus two). */
@media (min-width: 900px) {
	.sol-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.sol-pcard {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--sol-kalk);
	font-weight: 400;
	text-decoration: none;
}

.sol-pcard img {
	height: 260px;
	margin-bottom: 6px;
}

.sol-pcard__title {
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 20px;
}

.sol-pcard__meta {
	font-size: 15px;
	color: var(--sol-dampad);
}

.sol-pcard:hover .sol-pcard__title {
	color: var(--sol-lime);
}

.sol-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin: 40px 0 0;
}

.sol-facts > div {
	background: var(--sol-grafit);
	border-radius: 8px;
	padding: 16px 20px;
}

.sol-facts dt {
	font-size: 14px;
	color: var(--sol-dampad);
}

.sol-facts dd {
	margin: 4px 0 0;
	font-family: var(--sol-heading);
	font-weight: 600;
	font-size: 18px;
}

/* ---------- Ordinary pages and 404 ---------- */

.sol-prose {
	padding-top: 0;
}

.sol-404 h1 {
	margin-bottom: 16px;
}

/* ---------- Inner pages on small screens ---------- */

@media (max-width: 820px) {
	.sol-kommuner {
		grid-template-columns: minmax(0, 1fr);
	}

	.sol-rounded--tall {
		height: 280px;
	}
}

/* 0.2.0: tap targets on phones (breadcrumbs, phone number) and the brands block inside its card. */
.sol-svc__brands {
	box-sizing: border-box;
}

.sol-crumbs a,
.sol-kommuner a,
.sol-facts dd a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
}

.sol-booking__phone {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.sol-booking .sol-lokal {
	background: var(--sol-grafit);
}

/* 0.2.4: photos with captions (installed battery storage, Emil 2026-11-18). */
.sol-figs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 16px;
	margin-top: 32px;
}

@media (min-width: 900px) {
	.sol-figs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 28px 20px;
	}
}

.sol-figs figure {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.sol-figs img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.sol-figs figcaption {
	font-size: 16px;
	color: var(--sol-sten);
}
