/* ══════════════════════════════════════════════════════════════════════════
   Odd Kolstad — skin on styrk-blocks (front end only).
   Values from the approved Penpot design «oddkolstadno - redesign».
   Colours come from theme.json presets; nothing here is shared with other
   clients.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
	--ok-ink: var(--wp--preset--color--primary, #161616);
	--ok-red: var(--wp--preset--color--accent, #c8202f);
	--ok-red-dark: var(--wp--preset--color--accent-dark, #b51d2a);
	--ok-sand: var(--wp--preset--color--surface, #f3f1ec);
	--ok-line: #dad6ce;
	--ok-steel: var(--wp--preset--color--steel, #4a4d52);
	--ok-on-dark-muted: #c9cbce;
	--ok-red-on-dark: #ff8a8f;
	--ok-condensed: 75%;
}

/* ── Type: Archivo, headings in the condensed cut, extra bold, uppercase ── */
h1, h2, h3, h4,
.wp-block-heading,
.text-section-heading,
.cb-hero__title,
.cb-showcase h2, .cb-showcase h3 {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: var(--ok-condensed);
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	line-height: 1.1;
}

.text-section-heading {
	font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem);
}

.cb-eyebrow {
	font-family: var(--wp--preset--font-family--base);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ok-red-dark);
	background: none;
	padding: 0;
}

.styrk-dark .cb-eyebrow,
.cb-hero .cb-eyebrow {
	color: var(--ok-red-on-dark);
}

/* Square corners everywhere the design is square. */
.cb-cta-btn,
.wp-element-button,
.cb-hero__entry,
.cb-feature-card {
	border-radius: 0 !important;
}

/* ── Hero: 88px heading on desktop, square entry cards ── */
.ok-hero .cb-hero__title,
.ok-hero h1 {
	font-size: clamp(2.75rem, 1.4rem + 5vw, 5.5rem);
	max-width: 970px;
}

.ok-hero .cb-hero__entry-title {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: var(--ok-condensed);
	font-size: 26px;
	font-weight: 800;
	text-transform: uppercase;
}

/* ── Brands: heading left, 3 × 2 name tiles right ── */
.ok-brands > div {
	display: grid;
	gap: 2rem 4rem;
}

@media (min-width: 1024px) {
	.ok-brands > div {
		grid-template-columns: minmax(0, 405px) minmax(0, 1fr);
		align-items: center;
	}
	.ok-brands .cb-section-header {
		margin-bottom: 0;
	}
}

.ok-brands ul {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px !important;
}

@media (min-width: 640px) {
	.ok-brands ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ok-brands .cb-feature-card {
	min-height: 138px;
	padding: 1rem;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: var(--ok-sand) !important;
	border: 1px solid var(--ok-line);
	box-shadow: none;
}

.ok-brands .cb-feature-card h3 {
	font-size: clamp(1.75rem, 1.2rem + 1vw, 2.25rem);
	letter-spacing: 0.06em;
}

.ok-brands .cb-feature-card p {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ok-brands .cb-feature-card:first-child {
	background: var(--ok-ink) !important;
	border: 2px solid var(--ok-red);
	color: #fff;
}

.ok-brands .cb-feature-card:first-child h3 {
	color: #fff;
}

.ok-brands .cb-feature-card:first-child p {
	color: var(--ok-red-on-dark);
}

/* ── About (dark): key facts as a three-up row with red rules ── */
.ok-about .ok-facts {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.ok-about .ok-facts li {
	border-top: 2px solid var(--ok-red);
	padding-top: 1rem;
	font-size: 14px;
	color: var(--ok-on-dark-muted);
}

.ok-about .ok-facts strong {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-stretch: var(--ok-condensed);
	font-size: 36px;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	color: #fff;
}

/* ── Contact band (red): heading + dark button left, contact list right ── */
.ok-contact-band h2.text-section-heading {
	font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.5rem) !important;
}

.ok-contact-band .cb-split-body:empty {
	display: none;
}

.ok-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.ok-contact-list li {
	border-top: 1px solid #fff;
	padding-block: 1.25rem;
	font-size: 18px;
	color: #fff;
}

.ok-contact-list li:last-child {
	border-bottom: 1px solid #fff;
}

.ok-contact-list__label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ok-contact-list a {
	color: #f4f4f2;
	font-size: 22px;
	font-weight: 600;
}

.ok-contact-list a.ok-contact-list__phone {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: var(--ok-condensed);
	font-size: clamp(2.25rem, 1.5rem + 2vw, 3rem);
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
}

.ok-contact-list a.ok-contact-list__phone:hover,
.ok-contact-list a.ok-contact-list__phone:focus-visible {
	text-decoration: underline;
}

/* ── Interior page header: compact dark band (board 04) ── */
.ok-page-header,
.cb-page-header {
	padding-inline: 0 !important;
	padding-block: 3rem 5rem !important;
	min-height: 0 !important;
}

/* Page header on the shared content edge (the plugin's inner box uses 24px). */
.ok-page-header .cb-page-header__inner,
.cb-page-header .cb-page-header__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 640px) {
	.ok-page-header .cb-page-header__inner,
	.cb-page-header .cb-page-header__inner {
		padding-inline: 32px;
	}
}

@media (min-width: 1024px) {
	.ok-page-header .cb-page-header__inner,
	.cb-page-header .cb-page-header__inner {
		padding-inline: 52px;
	}
}

/* ══ Mobile (board 02) ════════════════════════════════════════════════════ */
@media (max-width: 767px) {
	.ok-hero .cb-hero__title,
	.ok-hero h1 {
		font-size: clamp(1.75rem, 0.9rem + 4vw, 2.25rem);
	}

	.ok-hero .cb-hero__subtext,
	.ok-hero .cb-hero__subtext p,
	.ok-hero .text-hero-sub {
		display: none;
	}

	/* The three entry cards sit side by side as compact tiles. */
	.ok-hero .cb-hero__entries {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
	}

	.ok-hero .cb-hero__entry {
		padding: 0.75rem 0.25rem;
	}

	.ok-hero .cb-hero__entry-link {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0.25rem;
	}

	.ok-hero .cb-hero__entry-icon,
	.ok-hero .cb-hero__entry-arrow {
		display: none;
	}

	.ok-hero .cb-hero__entry-title {
		font-size: 16px;
	}

	.ok-hero .cb-hero__entry-cta {
		font-size: 14px;
	}

	/* Section text starts on the left edge, as on desktop. */
	.cb-section-header,
	.cb-split-text,
	.cb-split-text header,
	.cb-split-text .cb-split-body {
		text-align: left !important;
		align-items: flex-start !important;
	}

	.cb-split-text .flex.flex-wrap {
		justify-content: flex-start !important;
	}

	.ok-brands .cb-section-header > p {
		display: none;
	}

	.ok-brands ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ok-brands .cb-feature-card {
		min-height: 64px;
	}

	.ok-brands .cb-feature-card h3 {
		font-size: 22px;
	}

	.ok-brands .cb-feature-card:first-child {
		grid-column: 1 / -1;
	}

	.ok-brands .cb-feature-card:last-child {
		grid-column: 1 / -1;
	}

	.ok-contact-band .ok-contact-list a.ok-contact-list__phone {
		font-size: 28px;
	}
}

/* The plugin centres section headings below 1024px; this design keeps them on
   the left edge at every width (boards 02, 05, 07). */
@media (max-width: 1023px) {
	body .cb-section-header,
	body .cb-section-header h2,
	body .cb-section-header p,
	body .cb-split-text,
	body .cb-split-text h2,
	body .cb-split-text .cb-split-body {
		text-align: left !important;
		align-items: flex-start !important;
	}
}

/* Product catalogue (styrk-blocks): the category and archive pages open on a
   dark header, as in boards 04 and 05. */
.tax-styrk_product_cat .cb-page-header,
.post-type-archive-styrk_product .cb-page-header {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.tax-styrk_product_cat .cb-page-header :is(.cb-page-header__title, .cb-page-header__subtitle, .cb-page-header__crumb-link, .cb-page-header__crumb-current),
.post-type-archive-styrk_product .cb-page-header :is(.cb-page-header__title, .cb-page-header__subtitle, .cb-page-header__crumb-link, .cb-page-header__crumb-current) {
	color: var(--wp--preset--color--white);
}

/* ── Category grid (board 01 §04): photo on top, name + line on white ── */
.ok-categories .cb-feature-cards--photo {
	gap: 12px;
}

.ok-categories .cb-feature-card--photo {
	display: flex;
	flex-direction: column;
	min-height: 0;
	aspect-ratio: auto;
	background: #fff;
	border: 1px solid var(--ok-line);
	color: var(--ok-ink);
}

.ok-categories .cb-photo-tile__media {
	position: relative;
	inset: auto;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.ok-categories .cb-photo-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ok-categories .cb-has-link:hover .cb-photo-tile__img {
	transform: scale(1.02);
}

.ok-categories .cb-photo-tile__shade {
	display: none;
}

.ok-categories .cb-photo-tile__text {
	position: static;
	padding: 1rem 1.125rem 1.25rem;
	color: var(--ok-ink);
	background: none;
}

.ok-categories .cb-photo-tile__heading {
	font-size: 22px;
	color: var(--ok-ink);
}

.ok-categories .cb-photo-tile__body {
	margin-top: 0.25rem;
	font-size: 14px;
	color: var(--ok-steel);
}

.ok-categories .cb-has-link:hover .cb-photo-tile__heading {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* The last tile: red, no photo, text at the bottom. */
.ok-categories .cb-feature-card--photo:last-child {
	background: var(--ok-red);
	border-color: var(--ok-red);
	justify-content: flex-end;
	min-height: 240px;
}

.ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__heading,
.ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__body {
	color: #fff;
}

.ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__heading {
	font-size: 28px;
}

.ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__body::after {
	content: " →";
}

/* A category without a photo (not the red end tile): a dark tile with the
 * text at the bottom, so it still reads as a tile in the photo grid. */
.ok-categories .cb-feature-card--photo:not(:has(.cb-photo-tile__media)):not(:last-child),
.ok-categories--no-end .cb-feature-card--photo:not(:has(.cb-photo-tile__media)):last-child {
	background: var(--ok-ink);
	border-color: var(--ok-ink);
	justify-content: flex-end;
	min-height: 160px;
}

.ok-categories .cb-feature-card--photo:not(:has(.cb-photo-tile__media)) .cb-photo-tile__heading,
.ok-categories .cb-feature-card--photo:not(:has(.cb-photo-tile__media)) .cb-photo-tile__body {
	color: #fff;
}

.ok-categories--no-end .cb-feature-card--photo:last-child .cb-photo-tile__heading {
	font-size: 22px;
}

.ok-categories--no-end .cb-feature-card--photo:last-child .cb-photo-tile__body::after {
	content: none;
}

@media (max-width: 767px) {
	.ok-categories .cb-feature-cards--photo {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ok-categories .cb-photo-tile__body {
		display: none;
	}
	.ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__body {
		display: block;
	}
	.ok-categories .cb-photo-tile__text {
		padding: 0.75rem 0.75rem 1rem;
	}
	.ok-categories .cb-photo-tile__heading {
		font-size: 16px;
	}
	.ok-categories .cb-feature-card--photo:last-child {
		min-height: 0;
	}
}

.ok-categories .cb-feature-card.cb-feature-card--photo {
	min-height: 0;
	aspect-ratio: auto;
	grid-row: auto;
}

.ok-categories .cb-feature-card.cb-feature-card--photo > .cb-photo-tile__text {
	margin-top: 0;
}

.ok-categories .cb-feature-card.cb-feature-card--photo:last-child > .cb-photo-tile__text {
	margin-top: auto;
}

/* Card layout instead of the plugin's overlay tile (which places text over the
   photo through a subgrid and an absolute media layer). */
body .ok-categories .cb-feature-cards--photo > .cb-feature-card--photo {
	display: flex !important;
	grid-template-rows: none;
}

body .ok-categories .cb-feature-card.cb-feature-card--photo > .cb-photo-tile__media {
	position: relative !important;
	inset: auto;
}

body .ok-categories .cb-feature-cards--photo .cb-photo-tile__text {
	display: flex !important;
	flex-direction: column;
	position: static !important;
}

body .ok-categories .cb-feature-cards--photo > .cb-feature-card--photo {
	padding: 0 !important;
	align-items: stretch;
}

body .ok-categories .cb-feature-cards--photo .cb-photo-tile__text,
body .ok-categories .cb-feature-cards--photo .cb-photo-tile__text > * {
	align-items: flex-start;
	align-self: stretch;
	text-align: left !important;
	justify-self: start;
}

@media (max-width: 1023px) {
	body .cb-section-header .cb-eyebrow {
		align-self: flex-start !important;
		text-align: left;
	}
}

@media (max-width: 767px) {
	body .ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__heading {
		font-size: 20px;
	}
}

/* ── About (dark) with the film: one full screen tall on desktop ── */
@media (min-width: 1024px) {
	.ok-about {
		min-height: 100svh;
		display: flex;
		align-items: stretch;
		padding-block: 0 !important;
	}
	.ok-about > .cb-split-cols {
		width: 100%;
		min-height: 100svh;
	}
	.ok-about .cb-split-text {
		padding-block: 6rem;
	}
}

.ok-brands .cb-has-link:hover h3,
.ok-brands .cb-has-link:focus-within h3 {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

/* ── Compact contact band on catalogue pages (boards 04, 06) ── */
.ok-contact-band--compact .ok-band-phone {
	margin: 0;
}

.ok-contact-band--compact .ok-contact-list__phone {
	font-family: var(--wp--preset--font-family--display);
	font-stretch: var(--ok-condensed);
	font-size: clamp(2.5rem, 1.5rem + 2.4vw, 3.5rem);
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	text-decoration: none;
}

.ok-contact-band--compact .ok-contact-list__phone:hover,
.ok-contact-band--compact .ok-contact-list__phone:focus-visible {
	text-decoration: underline;
}

.ok-contact-band--compact .ok-band-mail {
	color: #fff;
	font-size: 22px;
	font-weight: 600;
}

.ok-contact-band--compact .cb-split-body p {
	margin: 0.5rem 0 0;
}

/* ── Product cards: design title size (26px condensed) ── */
.cbp-card__title {
	font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem) !important;
	line-height: 1.1;
}

/* Section rhythm on catalogue pages: the grid and the band keep the same
   vertical padding as the other sections. */
.ok-contact-band {
	padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem) !important;
}

/* Footer: flat ink as in the design, no accent glow. */
.site-footer::before {
	content: none !important;
	background: none !important;
}

/* ══ Type scale from the Penpot design (measured 2026-11-06) ══════════════════
   One place for sizes, so blocks don't each bring their own. Desktop values
   are the design's; clamp() takes them down to the mobile board's. */
:root {
	--ok-fs-body: 17px;
	--ok-fs-small: 15px;
	--ok-fs-label: 14px;
	--ok-fs-lead: clamp(17px, 15.5px + 0.35vw, 20px);
	--ok-fs-btn: 16px;
	--ok-fs-h2: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem);
	--ok-fs-h3: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem);
	--ok-fs-stat: clamp(2rem, 1.5rem + 1.3vw, 2.75rem);
}

body {
	font-size: var(--ok-fs-body);
	line-height: 1.65;
}

/* Section headings: every block's h2 on the same size. */
body .text-section-heading,
body .wp-block-styrk-blocks-split-section .text-section-heading,
body .cb-block-split .cb-split-text h2 {
	font-size: var(--ok-fs-h2) !important;
	line-height: 1.1 !important;
	letter-spacing: 0.005em;
}

body .ok-hero h1,
body .ok-hero .cb-hero__title {
	letter-spacing: 0.005em;
	line-height: 1.1;
}

/* Intro under a section heading (design 17px; hero 20px). */
body .cb-section-header > p,
body .cb-split-body,
body .cb-split-body p {
	font-size: var(--ok-fs-body) !important;
	line-height: 1.65;
}

body .ok-hero .text-hero-sub,
body .ok-hero .cb-hero__subtext {
	font-size: var(--ok-fs-lead) !important;
	line-height: 1.55;
}

/* Buttons: 16px bold, one height everywhere. */
body .cb-cta-btn,
body .wp-element-button,
body .cb-showcase__btn,
body .cb-feature-cards a.cb-cta-btn,
body .ok-btn-dark {
	font-size: var(--ok-fs-btn) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	padding: 1rem 1.75rem !important;
}

/* Header nav (design 16/500) and the phone link (16/600). */
body .site-header-react a[data-rh="nav"],
body .site-header-react nav a,
body .rh-extra-link {
	font-size: 16px !important;
	line-height: 1.2 !important;
}

/* Footer: 15px links, 16px description, 14px tracked headings. */
body .site-footer .site-footer__pages-link,
body .site-footer a {
	font-size: 15px;
	line-height: 1.6;
}

body .site-footer p,
body .site-footer address {
	font-size: 16px;
	line-height: 1.63;
}

body .site-footer .site-footer__col-heading {
	font-family: var(--wp--preset--font-family--base);
	font-stretch: 100%;
	font-size: var(--ok-fs-label);
	font-weight: 600 !important;
	letter-spacing: 0.16em;
	color: var(--ok-on-dark-muted);
}

/* Key figures in the dark about section (design 44px / 15px). */
body .ok-about .ok-facts strong {
	font-size: var(--ok-fs-stat);
}

body .ok-about .ok-facts li {
	font-size: var(--ok-fs-small);
}

/* «Les mer om oss →»: a text link in the design, not a button. */
body .ok-about .cb-cta-btn {
	padding: 0 !important;
	background: none !important;
	color: #fff !important;
}

body .ok-about .cb-cta-btn::after {
	content: " →";
}

body .ok-about .cb-cta-btn:hover,
body .ok-about .cb-cta-btn:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Cards: titles 24px, lines 15px. */
body .ok-categories .cb-photo-tile__heading {
	font-size: var(--ok-fs-h3);
	line-height: 1.05;
}

body .ok-categories .cb-photo-tile__body {
	font-size: var(--ok-fs-small);
}

body .ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__heading {
	font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2.125rem);
}

body .ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__body {
	font-size: var(--ok-fs-btn);
	font-weight: 600;
}

body .ok-brands .cb-feature-card h3 {
	font-size: clamp(1.375rem, 0.9rem + 1.8vw, 2.25rem);
	line-height: 1.1;
}

/* The «Se alle produkter →» link under the grid is a text link (16/700). */
body .ok-categories .cb-cta-btn {
	background: none !important;
	color: var(--ok-ink) !important;
	padding: 0 !important;
}

/* Showcase feature title (design 44px) sits below the section h2 size. */
body .cb-showcase__panel h2,
body .cb-showcase__panel h3 {
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem) !important;
}

body .ok-contact-band .cb-block-split h2.text-section-heading,
body .ok-contact-band.wp-block-styrk-blocks-split-section h2.text-section-heading {
	font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem) !important;
}

body .ok-carnehl.wp-block-styrk-blocks-split-section h2.text-section-heading {
	font-size: clamp(2.125rem, 1.3rem + 2.2vw, 3.25rem) !important;
}

/* ══ Mobile sizes from board 02 (390px) ══ */
@media (max-width: 767px) {
	body .ok-hero h1,
	body .ok-hero .cb-hero__title {
		font-size: clamp(2rem, 1rem + 5vw, 2.375rem) !important;
	}
	body .ok-hero .cb-hero__entry-title {
		font-size: 19px;
	}
	body .ok-hero .cb-hero__entry-cta {
		font-size: 13px;
	}
	body .ok-brands .cb-feature-card h3 {
		font-size: 26px;
	}
	body .ok-brands .cb-feature-card:first-child h3 {
		font-size: 30px;
	}
	body .ok-contact-band.wp-block-styrk-blocks-split-section h2.text-section-heading {
		font-size: 34px !important;
	}
	body .ok-contact-list a {
		font-size: 18px;
	}
	body .cb-showcase__panel h2,
	body .cb-showcase__panel h3 {
		font-size: 32px !important;
	}
	body .site-footer p {
		font-size: 15px;
	}
	body .site-footer .site-footer__copyright,
	body .site-footer .site-footer__bottom,
	body .site-footer .site-footer__bottom * {
		font-size: 14px;
	}
}

/* ── Catalogue (styrk-blocks product blocks): design sizes, boards 04–08 ── */
body .cbp-btn,
body .cbp-btn__text,
body .cbp-single__all,
body .cbp-enquiry__more,
body .cbp-steps__item,
body .forminator-button-submit {
	font-size: var(--ok-fs-btn) !important;
	line-height: 1.2 !important;
}

body .cbp-steps__item {
	font-size: var(--ok-fs-small) !important;
	font-weight: 600;
}

body .ok-contact-band--compact.wp-block-styrk-blocks-split-section h2.text-section-heading {
	font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.5rem) !important;
}

body .ok-contact-band--compact .ok-band-mail {
	font-size: 20px;
}

body .cbp-grid .cbp-card__meta {
	font-size: var(--ok-fs-small);
}

/* Interior page titles (board 04: 72px). */
body .cb-page-header .cb-page-header__title {
	font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem) !important;
	line-height: 1.05;
}

body .ok-contact-band--compact .ok-contact-list__phone {
	font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem);
}

/* Category grid: «Se alle produkter →» on the heading row (board 01 §04). */
@media (min-width: 768px) {
	body .ok-categories > div {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 2rem;
		/* Tab follows the drawn order: the CTA sits on the heading row. */
		/* stylelint-disable-next-line property-no-unknown -- reading-flow is valid CSS (Chrome 137+); stylelint 16.10 predates it. */
		reading-flow: grid-rows;
	}
	body .ok-categories > div > header {
		grid-column: 1;
		grid-row: 1;
	}
	body .ok-categories > div > ul {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	body .ok-categories > div > div.flex {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
		margin: 0 0 4rem;
		width: auto;
	}
}

body .ok-categories .cb-cta-btn svg {
	display: none;
}

body .ok-categories .cb-cta-btn::after {
	content: " →";
}

body .ok-categories .cb-cta-btn:hover,
body .ok-categories .cb-cta-btn:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Footer link list: 15px rows as in the design, not 35px. */
body .site-footer .site-footer__pages li {
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* Rows of 26px as in the design for mouse users; touch keeps the plugin's
   44px target. */
@media (pointer: fine) {
	body .site-footer .site-footer__pages-link {
		min-height: 26px;
	}
}

body .site-footer .site-footer__pages-link,
body .site-footer .site-footer__pages-link * {
	font-weight: 400 !important;
}

@media (pointer: fine) {
	body .site-footer .site-footer__pages-link {
		min-height: 26px;
	}
}

body .site-footer .site-footer__contact,
body .site-footer .site-footer__contact * {
	font-size: 15px;
}

/* References section heading sits close to the showcase below it. */
body .ok-refs-head {
	padding-bottom: 0 !important;
}

body .ok-refs-head + .ok-refs {
	padding-top: 2.5rem !important;
}

body .site-footer .wp-block-column:not(:first-child) p,
body .site-footer .wp-block-column:not(:first-child) a {
	font-size: 15px;
}

/* Header bar: 84px as in the design (the plugin's server-rendered bar is 100px). */
@media (min-width: 1024px) {
	body .site-header-react[data-rh="bar"] {
		height: 84px !important;
	}
}

/* Hero entry cards (board 01 §02): 112px tall, outline icon with no chip. */
@media (min-width: 768px) {
	body .ok-hero .cb-hero__entry {
		min-height: 112px;
		display: flex;
		align-items: center;
	}
	body .ok-hero .cb-hero__entry-link {
		padding: 1.5rem 1.75rem;
		gap: 1.125rem;
		width: 100%;
	}
}

body .ok-hero .cb-hero__entry-icon {
	background: none !important;
	box-shadow: none !important;
	width: 40px;
	height: 40px;
	color: var(--ok-red);
}

body .ok-hero .cb-hero__entry-icon svg {
	width: 40px;
	height: 40px;
	stroke-width: 1.6;
}

body .ok-hero .cb-hero__entry.is-highlight .cb-hero__entry-icon {
	color: #fff;
}

body .ok-hero .cb-hero__entry-cta {
	font-size: var(--ok-fs-small);
	font-weight: 500;
	color: var(--ok-steel);
}

body .ok-hero .cb-hero__entry.is-highlight .cb-hero__entry-cta {
	color: #fff;
}

/* The hero photo is black and white in the design. */
body .ok-hero img,
body .ok-hero .cb-hero__media img {
	filter: grayscale(1);
}

/* Brand tiles are whole-tile links: no «Les mer» line, name centred. */
body .ok-brands .cb-feature-card__link {
	display: none !important;
}

body .ok-brands .cb-feature-card {
	justify-content: center !important;
}

body .ok-brands .cb-feature-card > div {
	align-items: center;
}

/* Showcase (board 01 §05): black full button in the red panel, text link in the tile. */
body .ok-refs .cb-showcase__panel .cb-showcase__btn {
	background: var(--ok-ink) !important;
	color: #f4f4f2 !important;
	min-width: 226px;
	justify-content: center;
	border-radius: 0 !important;
}

body .ok-refs .cb-showcase__tile .cb-showcase__btn {
	background: none !important;
	color: #fff !important;
	padding: 0 !important;
	min-width: 0;
}

body .ok-refs .cb-showcase__tile .cb-showcase__btn::after {
	content: " →";
}

body .ok-refs .cb-showcase__arrow {
	display: none;
}

body .ok-refs-head {
	padding-top: 3.5rem !important;
}

/* The plugin also centres the heading box itself (align-self) below 1024px. */
@media (max-width: 1023px) {
	body .cb-section-header h2,
	body .cb-section-header p {
		align-self: flex-start !important;
	}
}

/* ══ Mobile menu (board 03) ══════════════════════════════════════════════ */
@media (max-width: 1023px) {
	body .site-header-react[data-rh="bar"] {
		height: 69px !important;
		border-bottom: 1px solid #2a2a2a;
	}

	body .rh-megamenu__panel {
		padding: 0.5rem 16px 2rem;
	}

	body .rh-megamenu__group {
		border-bottom: 1px solid #2a2a2a;
		padding: 1.125rem 0;
		position: relative;
	}

	body .rh-megamenu__group-title,
	body .rh-megamenu__group-title a {
		margin: 0;
		font-family: var(--wp--preset--font-family--display);
		font-stretch: var(--ok-condensed);
		font-size: 26px;
		font-weight: 800;
		line-height: 1.1;
		text-transform: uppercase;
		color: #fff;
		text-decoration: none;
	}

	/* Plain chevron in the accent tint, no circle. */
	body .rh-megamenu__sub-toggle {
		position: absolute;
		top: 0.875rem;
		right: 0;
		width: 44px;
		height: 44px;
		border: 0 !important;
		border-radius: 0;
		background: none !important;
		color: var(--ok-red-on-dark);
	}

	/* Expanded categories: 2px red rule on the left, 17px items. */
	body .rh-megamenu__links {
		margin: 1rem 0 0;
		padding: 0 0 0 18px;
		border-left: 2px solid var(--ok-red);
		list-style: none;
	}

	body .rh-megamenu__links li {
		margin: 0;
	}

	body .rh-megamenu__links a {
		display: block;
		padding: 0.6rem 0;
		font-size: 17px;
		font-weight: 400;
		color: #e2e3e5;
		text-decoration: none;
	}

	body .rh-megamenu__links li:last-child a {
		font-weight: 700;
		color: #fff;
	}

	body .rh-megamenu__links a:hover,
	body .rh-megamenu__links a:focus-visible,
	body .rh-megamenu__group-title a:hover,
	body .rh-megamenu__group-title a:focus-visible {
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	body .rh-megamenu__extras {
		margin: 1.5rem 0 0;
		padding: 0;
		list-style: none;
	}
}

/* Phone link in the mobile menu: phone icon + underline, so it reads as a link. */
body .rh-megamenu__extra-link[href^="tel:"] {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	min-height: 48px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

body .rh-megamenu__extra-link[href^="tel:"]::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--ok-icon-phone) center / contain no-repeat;
	mask: var(--ok-icon-phone) center / contain no-repeat;
}

body .rh-megamenu__extra-link[href^="tel:"]:hover,
body .rh-megamenu__extra-link[href^="tel:"]:focus-visible {
	text-decoration-thickness: 2px;
}

/* ══ Forms (Forminator), board 08 ═══════════════════════════════════════
   Labels 15/600 ink, 52px white fields with a 1px line, focus marks the
   bottom border only, two fields per row from 640px. */
body .forminator-ui.forminator-custom-form {
	font-family: var(--wp--preset--font-family--base);
}

body .forminator-ui .forminator-row {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 1.125rem;
	margin-bottom: 1.25rem !important;
}

@media (min-width: 640px) {
	body .forminator-ui .forminator-row:has(> .forminator-col-6 + .forminator-col-6) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

body .forminator-ui .forminator-row > .forminator-col {
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body .forminator-ui .forminator-label {
	margin: 0 0 0.5rem !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: var(--ok-ink) !important;
}

body .forminator-ui .forminator-required {
	color: var(--ok-red) !important;
}

body .forminator-ui .forminator-input,
body .forminator-ui .forminator-textarea,
body .forminator-ui .select2-container .select2-selection--single {
	height: 52px !important;
	min-height: 52px;
	padding: 0 1rem !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: var(--ok-ink) !important;
	background: #fff !important;
	border: 1px solid #c9cbce !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body .forminator-ui .forminator-textarea {
	height: auto !important;
	min-height: 140px;
	padding: 0.875rem 1rem !important;
}

body .forminator-ui .forminator-input::placeholder,
body .forminator-ui .forminator-textarea::placeholder {
	color: var(--ok-steel) !important;
	opacity: 1;
}

/* Focus: a 2px ink bottom border, no glow (team rule for form fields). */
body .forminator-ui .forminator-input:focus,
body .forminator-ui .forminator-textarea:focus,
body .forminator-ui .select2-container--open .select2-selection--single,
body .forminator-ui .select2-container--focus .select2-selection--single {
	outline: none !important;
	border-color: #c9cbce !important;
	border-bottom-color: var(--ok-ink) !important;
	box-shadow: inset 0 -1px 0 var(--ok-ink) !important;
}

body .forminator-ui .forminator-field--error .forminator-input,
body .forminator-ui .forminator-field--error .forminator-textarea {
	border-bottom-color: var(--ok-red) !important;
	box-shadow: inset 0 -1px 0 var(--ok-red) !important;
}

body .forminator-ui .forminator-error-message {
	margin-top: 0.375rem !important;
	padding: 0 !important;
	background: none !important;
	font-size: 14px !important;
	font-weight: 600;
	color: var(--ok-red-dark) !important;
}

body .forminator-ui .forminator-description,
body .forminator-ui .forminator-description span {
	font-size: 14px !important;
	color: var(--ok-steel) !important;
}

/* Select: same field, ink chevron, no blue. */
body .forminator-ui .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 !important;
	line-height: 50px !important;
	color: var(--ok-ink) !important;
	font-size: 16px !important;
}

body .forminator-ui .select2-container .select2-selection--single .select2-selection__arrow {
	height: 50px !important;
	right: 12px !important;
	color: var(--ok-ink) !important;
}

body .forminator-ui .select2-selection__arrow .forminator-icon-chevron-down,
body .forminator-ui .select2-selection__arrow [class*="icon"] {
	color: var(--ok-ink) !important;
}

/* The open list (rendered at the end of <body>). */
body .forminator-select-dropdown-container .select2-dropdown,
body .select2-container--open .forminator-select-dropdown {
	background: #fff !important;
	border: 1px solid #c9cbce !important;
	border-top: 0 !important;
	border-radius: 0 !important;
	box-shadow: 0 12px 24px rgba(22, 22, 22, 0.12) !important;
}

body .forminator-select-dropdown .select2-results__option {
	margin: 0 !important;
	padding: 0.875rem 1rem !important;
	font-family: var(--wp--preset--font-family--base) !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
	color: var(--ok-ink) !important;
	background: #fff !important;
	border-radius: 0 !important;
}

body .forminator-select-dropdown .select2-results__option--highlighted,
body .forminator-select-dropdown .select2-results__option:hover {
	background: var(--ok-sand) !important;
	color: var(--ok-ink) !important;
}

body .forminator-select-dropdown .select2-results__option[aria-selected="true"],
body .forminator-select-dropdown .select2-results__option--selected {
	background: var(--ok-ink) !important;
	color: #fff !important;
}

/* Submit: the theme's red button. Forminator's own rule sets min-height and
   display with a higher specificity, so both need !important to hold. */
body .forminator-ui .forminator-button-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px !important;
	padding: 0 2rem !important;
	background: var(--ok-red) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-weight: 700 !important;
}

body .forminator-ui .forminator-button-submit:hover {
	background: var(--ok-red-dark) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body .forminator-ui .forminator-button-submit:focus-visible {
	outline: 2px solid var(--ok-ink) !important;
	outline-offset: 2px;
}

/* ══ Phone and e-mail links, site-wide ═════════════════════════════════
   Every tel:/mailto: link is underlined so it reads as a link; the header
   number also gets the phone icon. One rule for all instances. */
:root {
	--ok-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

body a[href^="tel:"],
body a[href^="mailto:"] {
	text-decoration-line: underline !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

body a[href^="tel:"]:hover,
body a[href^="tel:"]:focus-visible,
body a[href^="mailto:"]:hover,
body a[href^="mailto:"]:focus-visible {
	text-decoration-thickness: 2px;
}

/* Header number: phone icon in front. */
body .rh-extra-link[href^="tel:"] {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

body .rh-extra-link[href^="tel:"]::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--ok-icon-phone) center / contain no-repeat;
	mask: var(--ok-icon-phone) center / contain no-repeat;
}

/* Templates (catalogue pages) zero the padding of main's direct children;
   the band keeps its own. */
body .wp-site-blocks > main > .ok-contact-band.wp-block-styrk-blocks-split-section,
body .wp-site-blocks main .ok-contact-band.wp-block-styrk-blocks-split-section {
	padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem) !important;
}

/* ══ Header actions (boards 01, 04, 06) ═════════════════════════════════
   With items in the basket, «Forespørsel» (outlined, red
   count) takes the place of «Kontakt oss», as on the catalogue boards. */
body .site-header-react:has(.rh-enquiry-links:not([hidden])) .rh-cta {
	display: none !important;
}

body .rh-shop-link--enquiry {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	min-height: 52px;
	padding: 0 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

body .rh-shop-link--enquiry:hover,
body .rh-shop-link--enquiry:focus-visible {
	border-color: #fff;
}

body .rh-shop-link--enquiry .rh-cart-count {
	position: static;
	order: 2;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 0;
	background: var(--ok-red);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	transform: none;
}

body .rh-shop-link--enquiry .rh-shop-link__label {
	order: 1;
}

body .rh-shop-link--enquiry .rh-shop-link__icon {
	display: contents;
}

body .rh-shop-link--enquiry .rh-shop-link__icon svg {
	order: 0;
}

/* Desktop nav never wraps onto a second row. */
@media (min-width: 1024px) {
	body .site-header-react nav ul,
	body .site-header-react nav {
		flex-wrap: nowrap !important;
		white-space: nowrap;
	}
}

/* Mobile bar: the basket sits next to the menu button, on the right. */
@media (max-width: 1024px) {
	body .site-header-react .rh-enquiry-links {
		margin-left: auto;
	}
	body .rh-shop-link--enquiry {
		min-height: 44px;
		padding: 0 0.75rem;
	}
}

/* ══ Desktop dropdown (as on the MUS site) ══════════════════════════════
   Hangs flush from the bottom of the 84px bar, square, a shade lighter than
   the bar, text lined up under the trigger. */
@media (min-width: 1101px) {
	body .site-header-react [data-rh-dd] > [data-rh-panel] {
		left: -22px !important;
		transform: none !important;
		padding: 24px 0 0 !important;
	}

	body .site-header-react [data-rh-dd] > [data-rh-panel] > div {
		min-width: 280px !important;
		padding: 0.5rem 0 !important;
		background: #1e1e1e !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35) !important;
	}

	body .site-header-react [data-rh-dd] > [data-rh-panel] [role="menuitem"] {
		padding: 0.6875rem 1.375rem !important;
		border-radius: 0 !important;
		font-size: 16px !important;
		font-weight: 400 !important;
		color: #e2e3e5 !important;
		background: transparent !important;
		text-decoration: none;
	}

	body .site-header-react [data-rh-dd] > [data-rh-panel] [role="menuitem"]:hover,
	body .site-header-react [data-rh-dd] > [data-rh-panel] [role="menuitem"]:focus-visible {
		color: #fff !important;
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	body .site-header-react [data-rh-dd] > [data-rh-panel] [role="menuitem"]:last-child {
		font-weight: 700 !important;
		color: #fff !important;
	}
}

/* Mobile menu actions (board 03): the call button replaces the plain number. */
body .rh-megamenu__actions ~ .rh-megamenu__extras,
body .rh-megamenu__panel:has(.rh-megamenu__call) .rh-megamenu__extras {
	display: none;
}

body .rh-megamenu__actions {
	display: grid;
	gap: 10px;
	margin-top: 2rem;
}

body .rh-megamenu__cta,
body .rh-megamenu__call {
	min-height: 52px;
	border-radius: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
}

body .rh-megamenu__call {
	background: none !important;
	border: 1px solid #5a5d62 !important;
	color: #f4f4f2 !important;
	text-decoration: none !important;
}

body .rh-megamenu__call:hover,
body .rh-megamenu__call:focus-visible {
	border-color: #f4f4f2 !important;
}

body .rh-megamenu__actions a[href^="mailto:"] {
	justify-self: center;
	margin-top: 0.5rem;
	font-size: 16px;
	color: #c9cbce;
}

/* Film play button: the theme's red square. */
body .cb-split-play {
	width: 88px !important;
	height: 88px !important;
	border-radius: 0 !important;
	background: var(--ok-red) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: transform 0.15s ease, background 0.15s ease;
}

body .cb-split-play:hover {
	background: var(--ok-red-dark) !important;
}

body .cb-split-play svg {
	width: 30px;
	height: 30px;
}

/* The film runs to the screen edge at every width (the plugin's bleed stops
   at a 1440px frame); capped at 2560px like other full-width media. */
@media (min-width: 1024px) {
	body .ok-about .cb-split-cols > .cb-split-image-wrap--bleed:last-child {
		width: calc(50% + (min(2560px, 100vw) - 100%) / 2) !important;
		max-width: none !important;
		margin-right: calc((100% - min(2560px, 100vw)) / 2) !important;
	}
}

/* Catalogue templates zero the padding of main's direct children: the page
   header keeps its own, and the filter starts 48px under it (board 04). */
body .wp-site-blocks main .cb-page-header {
	padding-block: 3rem 5rem !important;
}

/* styrk-blocks zeroes padding on every direct child of <main> with !important, so the grid's
   bottom space has to win the same way, or the cards sit flush on the contact band. */
body .wp-site-blocks main .cbp-section.cbp-grid {
	padding-top: 3rem !important;
	padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem) !important;
}

/* ══ QA fixes (site-qa run 2026-11-06), each a pattern for every instance ══ */

/* Text selection: white on ink reads at 17:1 on every surface. */
::selection {
	background: var(--ok-ink);
	color: #fff;
}

.styrk-dark ::selection,
.site-footer ::selection,
.ok-contact-band ::selection {
	background: #fff;
	color: var(--ok-ink);
}

/* Anything scrolled or tabbed to lands below the sticky header. */
html {
	scroll-padding-top: 100px;
}

/* Footer logo: no offset hit-area box around the image. */
body .site-footer .site-footer__logo-link {
	display: inline-block;
	padding: 0;
	margin: 0;
	line-height: 0;
}

/* Footer social icons: 48px touch / 40px mouse target, same layout. */
body .site-footer .site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	margin: -10px;
}

@media (pointer: coarse) {
	body .site-footer .site-footer__social-link {
		min-width: 48px;
		min-height: 48px;
		margin: -14px;
	}
}

/* Every button and CTA: underline on hover, same colour, no movement. */
body .cb-cta-btn:hover,
body .cb-cta-btn:focus-visible,
body .cbp-btn:hover,
body .cbp-btn:focus-visible,
body .cb-showcase__btn:hover,
body .cb-showcase__btn:focus-visible,
body .rh-cta:hover,
body .rh-cta:focus-visible,
body .rh-megamenu__cta:hover,
body .rh-megamenu__call:hover,
body .forminator-ui .forminator-button-submit:hover,
body .forminator-ui .forminator-button-submit:focus-visible {
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

body .cbp-btn:hover .cbp-btn__text,
body .cbp-btn:focus-visible .cbp-btn__text {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Arrow icons inside buttons nudge on hover and focus. */
body .cbp-btn svg,
body .cb-cta-btn svg {
	transition: transform 0.15s ease;
}

body .cbp-btn:hover svg,
body .cbp-btn:focus-visible svg,
body .cb-cta-btn:hover svg,
body .cb-cta-btn:focus-visible svg {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	body .cbp-btn svg,
	body .cb-cta-btn svg {
		transition: none;
	}
}

/* Focus on the hero entry cards: two-tone ring (white + ink) reads on both
   the red and the white card and on the dark photo. */
body .ok-hero .cb-hero__entry-link:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--ok-ink) !important;
}

body .ok-hero .cb-hero__entry:has(.cb-hero__entry-link:focus-visible) {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--ok-ink);
}

/* Form fields: a 2px ink bottom line on focus. */
body .forminator-ui .forminator-input:focus,
body .forminator-ui .forminator-textarea:focus,
body .forminator-ui .select2-container--open .select2-selection--single,
body .forminator-ui .select2-container--focus .select2-selection--single {
	box-shadow: inset 0 -2px 0 var(--ok-ink) !important;
	border-bottom-color: var(--ok-ink) !important;
}

/* Headings that can wrap (capitals with Å/Ø above): 1.1 minimum. */
body .ok-categories .cb-photo-tile__heading,
body .cbp-card__title {
	line-height: 1.1 !important;
}

/* Hero entry cards on phones: the link lines sit on one line across cards. */
@media (max-width: 767px) {
	body .ok-hero .cb-hero__entry,
	body .ok-hero .cb-hero__entry-text,
	body .ok-hero .cb-hero__entry-link {
		height: 100%;
	}
	body .ok-hero .cb-hero__entry-link {
		justify-content: space-between;
	}
}

/* Running text (Åpenhetsloven): headings fit a phone without breaking words. */
body .cb-rich-text-body h2 {
	font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.25rem);
	line-height: 1.1;
	margin-top: 2.5rem;
}

/* Product page: room between the header and the breadcrumb (32px minimum). */
body .wp-site-blocks main .cbp-section.cbp-single {
	padding-top: 2.5rem !important;
}

/* The filter bar is in the layout from the first paint (no shift when the
   script reveals it). */
body .cbp-filter[data-cbp-filters][hidden] {
	display: flex !important;
}

/* Footer logo: the link is exactly the image (no min box around it). */
body .site-footer .site-footer__logo-link {
	min-width: 0 !important;
	min-height: 0 !important;
	width: fit-content !important;
	height: auto !important;
}

/* Play icon centred in the red square (the path is already optically centred). */
body .cb-split-play svg {
	margin: 0 !important;
}

/* Hero entry cards: the arrow nudges on hover and keyboard focus. */
body .ok-hero .cb-hero__entry-arrow {
	transition: transform 0.15s ease;
}

body .ok-hero .cb-hero__entry-link:hover .cb-hero__entry-arrow,
body .ok-hero .cb-hero__entry-link:focus-visible .cb-hero__entry-arrow {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	body .ok-hero .cb-hero__entry-arrow {
		transition: none;
	}
}

/* Forminator prints its forms with display:none and shows them from JS, so
   everything under a form jumps down (CLS 0.165 on Kontakt oss). Show them
   from the first paint; the script only wires them up. */
body form.forminator-custom-form {
	display: block !important;
}

/* Arrows in links and buttons (« →» text arrows, arrow spans and svgs):
   kept out of the underline and nudged on hover and keyboard focus. */
body .cb-cta-btn::after,
body .cb-showcase__btn::after {
	display: inline-block;
	white-space: pre;
	text-decoration: none;
	transition: transform 0.15s ease;
}

body .cb-showcase__arrow,
body .cbp-single__all svg {
	transition: transform 0.15s ease;
}

body .cb-cta-btn:hover::after,
body .cb-cta-btn:focus-visible::after,
body .cb-showcase__btn:hover::after,
body .cb-showcase__btn:focus-visible::after,
body .cb-showcase__btn:hover .cb-showcase__arrow,
body .cb-showcase__btn:focus-visible .cb-showcase__arrow,
body .cb-showcase__feature--link:hover .cb-showcase__arrow,
body .cbp-single__all:hover svg,
body .cbp-single__all:focus-visible svg {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	body .cb-cta-btn::after,
	body .cb-showcase__btn::after,
	body .cb-showcase__arrow,
	body .cbp-single__all svg {
		transition: none;
	}
}

/* ── Compact video hero (.ok-hero--compact): small text block pinned to the
   bottom so the film carries the hero; entry cards become one slim row. ── */
body .ok-hero--compact .cb-hero__title,
body .ok-hero--compact h1 {
	font-size: clamp(2rem, 1.1rem + 2.4vw, 3.5rem);
	max-width: 760px;
}

body .ok-hero--compact h1,
body .ok-hero--compact .text-hero-sub,
body .ok-hero--compact .cb-hero-eyebrow {
	text-shadow: 0 1px 14px rgb(0 0 0 / 0.55);
}

body .ok-hero--compact .text-hero-sub {
	font-size: var(--ok-fs-body) !important;
	max-width: 560px;
}

@media (min-width: 768px) {
	body .ok-hero--compact .cb-hero__entries {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		max-width: 900px;
	}

	body .ok-hero--compact .cb-hero__entry {
		min-height: 0;
		padding: 0 0 0 1.125rem;
		gap: 0.875rem;
	}

	body .ok-hero--compact .cb-hero__entry-link {
		padding: 0.875rem 1.125rem 0.875rem 0;
	}

	body .ok-hero--compact .cb-hero__entry-icon,
	body .ok-hero--compact .cb-hero__entry-icon svg {
		width: 28px;
		height: 28px;
	}

	body .ok-hero--compact .cb-hero__entry-title {
		font-size: 18px;
	}
}

/* Up to laptop width the tile row reaches the right edge: keep it clear of
   the video's pause button. */
@media (max-width: 1199px) {
	body .ok-hero--compact .cb-hero__main {
		padding-bottom: 84px;
	}
}

/* Two tiles per row on a small phone: the longest Swedish compound
 * («Betongsemitrailer», ~9.3em in capitals) must fit one tile line, so the
 * heading scales with the tile width: (50vw - 56px) / 9.3. */
@media (max-width: 479px) {
	body .ok-categories .cb-photo-tile__heading,
	body .ok-categories .cb-feature-card--photo:last-child .cb-photo-tile__heading {
		font-size: max(11px, min(16px, calc(5.37vw - 6.4px)));
	}
}

/* Three hero entry tiles side by side on a phone: a one-word title
 * («Broschyrer») must fit its tile, so the title follows the width. */
@media (max-width: 479px) {
	body .ok-hero .cb-hero__entry-title {
		font-size: min(19px, 4.4vw);
	}
}
