/*
Theme Name: RR Snickare
Description: Företagswebbplats för RR Snickare Västra Götaland AB.
Version: 1.1.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: rr-snickare
*/

.rr-site {
	margin: 0;
	background: #f6f3eb;
	color: #20221e;
	font: 1rem/1.6 system-ui, sans-serif;
}

.rr-site .brand .rr-logo {
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}

.rr-skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 10000;
	padding: 10px 16px;
	background: #f6f3eb;
	color: #20221e;
}

.rr-skip:focus {
	top: 12px;
}

.rr-content {
	padding-block: clamp(38px, 7vw, 88px);
}

.rr-content img {
	height: auto;
}

.rr-content h1 {
	max-width: none;
}

.clip-body h3 a {
	color: inherit;
	font-size: inherit;
	text-decoration: none;
}

.clip-body h3 a:hover {
	text-decoration: underline;
}

.contact-form .rr-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form .rr-notice {
	padding: 12px;
	border: 1px solid currentColor;
	border-radius: 6px;
}


/* The lead film is a background, independent of WordPress video block styles. */
.rr-site .rr-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	align-items: center;
	min-height: clamp(480px, 54vw, 690px);
}

.rr-site .rr-hero > .rr-hero-film {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.rr-site .rr-hero-film > #startsidesfilm {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 46%;
}

.rr-site .rr-hero::after {
	z-index: 1;
	pointer-events: none;
}

.rr-site .rr-hero > .wrap {
	position: relative;
	z-index: 2;
}

@media (max-width: 560px) {
	.rr-site .rr-hero {
		min-height: 460px;
	}
}
