/*
Theme Name: FilmButik Theme Modern
Theme URI: https://www.filmbutik.fi/
Author: FilmButik
Description: A responsive FilmButik theme for the FilmButik blocks and content types.
Version: 2.6.2
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: filmbutik
*/

:root {
	--fbk-accent: #bc5f5f;
	--fbk-ink: #212121;
	--fbk-paper: #fff;
	--fbk-muted: #f4f2f0;
	--fbk-content: 72rem;
	--fbk-gutter: clamp(1.25rem, 4vw, 4rem);
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--fbk-ink);
	color: var(--fbk-ink);
	font-family: Poppins, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

/* The front end uses a dark page surround; keep the editor canvas readable. */
.editor-styles-wrapper {
	background: var(--fbk-paper);
	color: var(--fbk-ink);
}

.site {
	background: #fff;
}

img,
video {
	max-width: 100%;
	height: auto;
}

a, a:link, a:visited {
	color: var(--fbk-accent);
	text-decoration: none;
	text-underline-offset: .2em;
}

a:hover {
	color: var(--fbk-ink);
	text-decoration: none;
}

p>a:hover {
	text-decoration: underline;
}

/*a:not(.wp-block-button__link):hover {
	color: var(--fbk-ink);
	text-decoration: underline;
}*/

:focus-visible {
	outline: 2px solid var(--fbk-accent);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: inherit;
	font-weight: 400;
	line-height: 1.2;
}

h1,
h2 {
	font-family: urw-antiqua, Georgia, serif;
	font-weight: 400;
}

h1 {
	font-size: 2.5rem;
	line-height: 1;
	padding-top: 1rem;
}

h2 {
	font-size: 2.5rem;
	line-height: 1.2;
	display: flex;
	justify-content: center;
	align-items: center;
}

h2:not(.wp-block-post-title)::before,
h2:not(.wp-block-post-title)::after {
	display: inline-block;
	width: 23px;
	height: 31px;
	margin: 0 20px;
	background: var(--fbk-accent);
	content: "";
	vertical-align: -0.2em;
}

h2:not(.wp-block-post-title)::before {
	clip-path: polygon(0 50%, 45% 0, 100% 0, 55% 50%, 100% 100%, 45% 100%);
}

h2:not(.wp-block-post-title)::after {
	clip-path: polygon(100% 50%, 55% 0, 0 0, 45% 50%, 0 100%, 55% 100%);
}

.entry-content > ul.wp-block-list, .entry-content > ol.wp-block-list {
	padding-left: 3rem;
}

.fbk-post-card h2::before,
.fbk-post-card h2::after,
.fbk-people-card h2::before,
.fbk-people-card h2::after {
	display: none;
}

h3 {
	font-family: Poppins, sans-serif;
	font-weight: 600;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: .5rem;
	left: .5rem;
	width: auto;
	height: auto;
	padding: .75rem 1rem;
	background: #fff;
	clip: auto;
}

.site-header {
	position: fixed;
	/* Keep the header and its toggle above page content while the menu covers the viewport. */
	z-index: 100;
	display: flex;
	top: 0;
	right: 0;
	left: 0;
	height: 70px;
	padding: 0;
	align-items: center;
	justify-content: space-between;
	background: rgb(33 33 33 / 93%);
	color: #fff;
}

body.admin-bar .site-header {
	top: 32px;
}

.site-branding a {
	display: inline-flex;
	align-items: center;
}

.site-logo,
.site-branding .custom-logo {
	display: block;
	width: auto;
	max-width: none;
	height: 70px;
	padding: 10px;
	object-fit: contain;
}

.site-branding .custom-logo-link {
	display: inline-flex;
}

.main-navigation {
	display: block;
	width: 100%;
}

.menu-toggle {
	position: fixed;
	/* The toggle must remain clickable above the full-screen menu panel. */
	z-index: 40;
	top: 0;
	right: 0;
	display: block;
	width: 50px;
	height: 50px;
	margin: 10px;
	padding: 15px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 0;
	overflow: hidden;
	transition: transform .15s ease;
}

body.admin-bar .menu-toggle {
	top: 32px;
}

.menu-toggle:hover {
	transform: scale(1.1);
}

.menu-toggle:active {
	transform: scale(.9);
}

.menu-toggle img {
	display: block;
	width: 20px;
	height: auto;
}

.main-navigation.is-open .menu-toggle img {
	display: none;
}

.main-navigation.is-open .menu-toggle::after {
	content: "×";
	font-size: 2rem;
	line-height: 1;
}

.menu-primary-container {
	position: fixed;
	z-index: 30;
	/* Cover the header and page; the higher-layered toggle stays available to close it. */
	inset: 0;
	display: none;
	overflow-y: auto;
	margin: 0;
	padding: 5rem var(--fbk-gutter) 2rem;
	background: rgb(33 33 33 / 93%);
	color: #fff;
	overscroll-behavior: contain;
}

.main-navigation.is-open .menu-primary-container {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	animation: fbk-menu-enter .2s ease-out both;
}

.fbk-menu-open {
	overflow: hidden;
}

@keyframes fbk-menu-enter {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.menu-primary-container ul,
.menu-primary-container .menu {
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	flex-direction: column;
	gap: .5rem;
	list-style: none;
}

.menu-primary-container a {
	padding: .5rem;
	color: #ddd;
	font-family: urw-antiqua, Georgia, serif;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 400;
	text-decoration: none;
	transition: transform .15s ease, color .15s ease;
}

.menu-primary-container a:hover,
.menu-primary-container .current-menu-item > a {
	color: #fff;
	transform: scale(1.04);
}

.header-links .widget,
.menu-some-buttons .widget {
	margin: 0;
}

.header-links img {
	width: min(10vw, 5rem);
	height: auto;
	opacity: .8;
}

.header-links img:hover {
	opacity: 1;
}

.fbk-services-nav ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin: 1rem;
}

.fbk-services-nav a {
	font-family: Poppins, sans-serif;
	font-size: .85rem;
}

.site-main {
	width: 100%;
	/*max-width: 1200px;*/
	min-height: 60vh;
	margin: 0 auto;
	/*padding: 70px 2rem 3rem;*/
	padding-top: 70px;
}

body.home .site-main {
	padding-top: 80px;
}

.page {
	min-height: 64vh;
}

.entry-content,
.page-content {
	width: min(100%, var(--fbk-content));
	margin-inline: auto;
	padding-block: clamp(2rem, 5vw, 5rem);
}

.entry-content > :first-child,
.page-content > :first-child {
	margin-top: 0;
}

.entry-title,
.page-header,
.archive-title {
	text-align: center;
}

.page-header {
	width: min(calc(100% - 2 * var(--fbk-gutter)), var(--fbk-content));
	margin: 6rem auto 3rem;
}

.page-header h1 {
	margin-block: 0 1.5rem;
}

.page-header hr {
	width: min(12rem, 35%);
	margin: 0 auto;
	border: 0;
	border-top: 1px solid #ddd;
}

.single-work .entry-content,
.single-service .entry-content,
.single-people .entry-content,
.single-career .entry-content,
.single-original .entry-content,
.page .entry-content {
	width: 100%;
	max-width: none;
	padding: 0;
}

.single-work .entry-content > *,
.single-service .entry-content > *,
.single-people .entry-content > *,
.single-career .entry-content > *,
.single-original .entry-content > *,
.page .entry-content > * {
	width: min(100%, var(--fbk-content));
	margin-inline: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.single-work .entry-content > .alignwide,
.single-service .entry-content > .alignwide,
.single-people .entry-content > .alignwide,
.single-career .entry-content > .alignwide,
.single-original .entry-content > .alignwide,
.page .entry-content > .alignwide {
	width: min(100%, 90rem);
}

.single-work .entry-content > .alignfull,
.single-service .entry-content > .alignfull,
.single-people .entry-content > .alignfull,
.single-career .entry-content > .alignfull,
.single-original .entry-content > .alignfull,
.page .entry-content > .alignfull {
	width: 100%;
	max-width: 100vw;
	padding-left: 0;
	padding-right: 0;
	/*margin-inline: calc(50% - 50vw);*/
}

.wp-block-cover {
	overflow: hidden;
}

.wp-block-cover img.wp-block-cover__image-background {
	transform: scale(1.1);
	transition: transform 5s ease-in-out;
}

.wp-block-cover.inview img.wp-block-cover__image-background {
	transform: scale(1);
}

.fbk-cover-text-fade-right,
.fbk-cover-text-fade-left {
	min-height: 0;
	height: auto;
	margin-block: 10px;
	padding: 0 !important;
	color: #fff;
}

.fbk-cover-text-fade-right .wp-block-cover__inner-container,
.fbk-cover-text-fade-left .wp-block-cover__inner-container {
	display: flex;
	width: 50%;
	min-height: 30rem;
	height: auto;
	padding: 3rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgb(0 0 0 / 50%);
	transition: opacity 1s ease-out, transform 1s cubic-bezier(.14, .14, .16, .99);
	transition-delay: 1s;
}

.fbk-cover-text-fade-right .wp-block-cover__inner-container {
	margin-inline: 0 50%;
	transform: translateX(-50%);
	opacity: 0;
}

.fbk-cover-text-fade-left .wp-block-cover__inner-container {
	margin-inline: 50% 0;
	transform: translateX(50%);
	opacity: 0;
}

.fbk-cover-text-fade-right.inview .wp-block-cover__inner-container,
.fbk-cover-text-fade-left.inview .wp-block-cover__inner-container {
	transform: translateX(0);
	opacity: 1;
}

.fbk-cover-text-fade-right h2,
.fbk-cover-text-fade-right h3,
.fbk-cover-text-fade-right p,
.fbk-cover-text-fade-left h2,
.fbk-cover-text-fade-left h3,
.fbk-cover-text-fade-left p {
	color: #fffaef !important;
}

.fbk-cover-originals {
	overflow: hidden;
	padding: 0;
}

.fbk-cover-originals-group {
	max-width: 1000px;
	margin-inline: auto !important;
	padding: 2rem;
	color: #fffaef;
}

.fbk-cover-originals-group .wp-block-columns {
	margin-inline: auto !important;
}

.wp-block-cover.fbk-black-background,
.wp-block-cover[class~=".fbk-black-background"] {
	background-color: #000;
}

.fbk-cover-logo {
	max-width: 1000px;
	margin: auto;
	padding: 2rem;
}

.fbk-services-menu {
	width: min(100%, var(--fbk-content));
	margin: 2rem auto;
	padding: 0;
}

.fbk-services-menu ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
	gap: .25rem .5rem;
	list-style: none;
}

.fbk-services-menu a {
	display: block;
	margin: .25rem;
	padding: .3rem 1rem;
	border-radius: 999px;
	background: #bc5f5f;
	color: #fff;
	font-size: 1rem;
	font-weight: 300;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.fbk-services-menu a.selected {
	background: #f39592;
	color: #fff;
}

.fbk-services-menu a:hover,
.fbk-services-menu a:focus-visible {
	background: #803f3f;
	color: #fff;
	text-decoration: none;
}

.fbk-services-menu hr {
	height: 1px;
	margin: 2rem 0 3rem;
	border: 0;
	background: var(--fbk-accent);
}

.fbk-post-grid img {
	transform: scale(1.00);
	transition: 0.3s all;
}

.fbk-post-grid img:hover {
	transform: scale(1.05);
}

.fbk-post-grid,
.fbk-people-grid {
	width: min(100%, 90rem);
	margin: 2rem auto 5rem;
}

.fbk-service-grid {
	width: min(100%, 90rem);
	margin-inline: auto;
	padding: 0 3rem;
}

.fbk-service-grid .wp-block-post-template,
.fbk-post-grid .wp-block-post-template,
.fbk-people-grid .wp-block-post-template {
	display: flex !important;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	gap: 0 !important;
	list-style: none;
}

.fbk-service-grid .wp-block-post-template > li,
.fbk-post-grid .wp-block-post-template > li,
.fbk-people-grid .wp-block-post-template > li {
	position: relative;
	flex: 0 0 calc(25% - 10px);
	margin: 5px !important;
}

.fbk-service-grid .wp-block-post-template > li,
.fbk-post-grid .wp-block-post-template > li {
	overflow: hidden;
	aspect-ratio: 1;
	background: #000;
	color: #fff;
}

.fbk-service-grid .fbk-service-grid-image,
.fbk-post-grid .fbk-post-grid-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.fbk-service-grid .fbk-service-grid-image a,
.fbk-service-grid .fbk-service-grid-image img,
.fbk-post-grid .fbk-post-grid-image a,
.fbk-post-grid .fbk-post-grid-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.fbk-service-grid .fbk-service-grid-image img,
.fbk-post-grid .fbk-post-grid-image img {
	object-fit: cover;
}

.fbk-service-grid-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: .5rem;
	overflow: hidden;
	background: rgb(50 50 50 / 72%);
	color: #fff;
	text-align: center;
	pointer-events: none;
	transform: translateY(calc(100% - 3.5rem));
	transition: transform .3s cubic-bezier(.42, .04, .16, .99);
}

.fbk-service-grid .wp-block-post-template > li:hover .fbk-service-grid-overlay,
.fbk-service-grid .wp-block-post-template > li:focus-within .fbk-service-grid-overlay {
	transform: translateY(0);
}

.fbk-service-grid-overlay h3 {
	margin: .5rem;
	color: #fff;
	font-family: Poppins, sans-serif;
	font-size: 1rem;
}

.fbk-service-grid .wp-block-post-excerpt {
	display: flex;
	aspect-ratio: 1.2;
	justify-content: center;
}

.fbk-service-grid .wp-block-post-excerpt__excerpt {
	opacity: 0;
	transition: opacity .3s ease;
}

.fbk-service-grid .wp-block-post-template > li:hover .wp-block-post-excerpt__excerpt,
.fbk-service-grid .wp-block-post-template > li:focus-within .wp-block-post-excerpt__excerpt {
	opacity: 1;
}

.fbk-service-grid li:nth-child(1) .fbk-service-grid-overlay { background-color: #cf4d96cc; }
.fbk-service-grid li:nth-child(2) .fbk-service-grid-overlay { background-color: #744186cc; }
.fbk-service-grid li:nth-child(3) .fbk-service-grid-overlay { background-color: #8a8b46cc; }
.fbk-service-grid li:nth-child(4) .fbk-service-grid-overlay { background-color: #3687becc; }
.fbk-service-grid li:nth-child(5) .fbk-service-grid-overlay { background-color: #d76c4bcc; }
.fbk-service-grid li:nth-child(6) .fbk-service-grid-overlay { background-color: #007a65cc; }
.fbk-service-grid li:nth-child(7) .fbk-service-grid-overlay { background-color: #a05046cc; }
.fbk-service-grid li:nth-child(8) .fbk-service-grid-overlay { background-color: #3e51abcc; }

.fbk-post-grid .wp-block-post-template > li {
	flex: 0 0 calc(25% - 10px);
}

.fbk-post-grid-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 1rem;
	align-items: center;
	justify-content: center;
	background: rgb(0 0 0 / 38%);
	color: #fff;
	text-align: center;
	pointer-events: none;
	transition: background-color .3s ease;
}

.fbk-post-grid .wp-block-post-template > li:hover .fbk-post-grid-overlay,
.fbk-post-grid .wp-block-post-template > li:focus-within .fbk-post-grid-overlay {
	background: rgb(0 0 0 / 68%);
}

.fbk-post-grid-overlay h3,
.fbk-post-grid-overlay a {
	color: #fff;
	font-family: Poppins, sans-serif;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	text-decoration: none;
	font-weight: 700;
}

.fbk-case-search-item > a,
.fbk-case-search-item > a:hover,
.fbk-case-search-item > a:focus-visible,
.fbk-case-search-item > a:hover .fbk-case-search-title,
.fbk-case-search-item > a:focus-visible .fbk-case-search-title {
	color: #fff;
}

.fbk-people-grid .wp-block-post-template > li {
	padding: 5px;
	text-align: center;
}

.fbk-people-grid .wp-block-post-featured-image {
	width: 100%;
	margin: 0;
}

.fbk-people-grid .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin: 0;
	padding: 5px;
	object-fit: cover;
}

.fbk-people-grid .wp-block-post-title,
.fbk-people-grid .wp-block-post-content,
.fbk-people-grid .wp-block-post-content p {
	color: #212121;
	text-align: center;
}

.fbk-people-grid .wp-block-post-title {
	margin: .5rem 0;
	font-family: Poppins, sans-serif;
	font-size: 1rem;
	font-weight: 600;
}

.fbk-people-grid .wp-block-post-content p {
	margin: 0 0 .75rem;
}

.fbk-contant-form {
	width: min(100%, var(--fbk-content));
	margin-inline: auto;
	padding: 1rem;
	background: #fff;
}

.fbk-contant-form .wp-block-group__inner-container > p:first-child {
	text-align: center;
}

.fbk-contant-form .wpcf7 {
	width: 100%;
}

.fbk-contant-form .wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	padding: 2rem;
}

.fbk-contant-form .fbk-contant-form-2col {
	width: calc(50% - 1rem);
	margin: 0 1rem 2rem 0;
}

.fbk-contant-form .fbk-contant-form-1col,
.fbk-contant-form .fbk-contant-form-submit {
	width: 100%;
	margin: 0 1rem 2rem 0;
}

.fbk-contant-form .fbk-contant-form-submit {
	text-align: center;
}

.fbk-contant-form .wpcf7-submit {
	width: auto;
	border: 0;
	background: var(--fbk-accent);
	color: #fff;
}

.fbk-contant-form .wpcf7-submit:hover {
	background: #803f3f;
}

.fbk-contant-form .wpcf7-response-output {
	border: 0 !important;
}

.fbk-people-grid,
.fbk-contant-form {
	background-color: #fff;
}

.fbk-post-card,
.fbk-people-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	background: #292929;
}

.fbk-post-card > a,
.fbk-people-card > a {
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.fbk-post-card img,
.fbk-people-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .84;
	transition: transform .4s ease, opacity .25s ease;
}

.fbk-post-card:hover img,
.fbk-people-card:hover img {
	transform: scale(1.04);
	opacity: .55;
}

.fbk-post-card h2,
.fbk-people-card h2,
.fbk-people-card .fbk-person-copy {
	position: absolute;
	inset: 0;
	display: grid;
	margin: 0;
	padding: 1rem;
	place-items: center;
	color: #fff;
	font-size: clamp(1.1rem, 2vw, 1.8rem);
	text-align: center;
}

.fbk-people-card .fbk-person-copy {
	display: none;
	font-size: .95rem;
}

.fbk-people-card:hover .fbk-person-copy,
.fbk-people-card:focus-within .fbk-person-copy {
	display: block;
	overflow: auto;
	background: rgb(0 0 0 / 68%);
}

.site-footer {
	margin-top: 4rem;
	padding: 3rem var(--fbk-gutter);
	background: var(--fbk-ink);
	color: #eee;
}

.site-footer-inner {
	width: min(100%, var(--fbk-content));
	margin-inline: auto;
}

.site-footer .widget {
	margin: 0;
}

.site-footer a {
	color: #eee;
	text-decoration: none;
}

.site-footer a:hover {
	color: #eee;
	text-decoration: underline;
}

.site-footer-inner {
	padding-block: 2rem;
	font-size: .75rem;
	line-height: 1.4;
}

.footer_link_style {
	margin: 4px 0px;
}

.keeprow {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: center;
}

.wpcf7 input,
.wpcf7 textarea {
	width: 100%;
	margin: 0;
	padding: .5rem;
	border: 1px solid #888;
	border-radius: 1.5rem;
}

.wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	padding: 2rem;
}

.fbk-contant-form-2col {
	width: calc(50% - 1rem);
	margin: 0 1rem 2rem 0;
}

.fbk-contant-form-1col,
.fbk-contant-form-submit {
	width: 100%;
	margin: 0 1rem 2rem 0;
}

.fbk-contant-form-submit {
	text-align: center;
}

a.wp-block-button__link a:hover {
	color: var(--fbk-paper);
}

.fbk-contant-form-submit .wpcf7-submit,
a.wp-block-button__link {
	width: auto;
	padding: 1rem 2rem;
	border: 0;
	background: var(--fbk-accent);
	color: #fff;
}

.fbk-contant-form-submit .wpcf7-submit:hover,
.wp-block-button__link:hover {
	background: #803f3f;
}

.wpcf7-response-output {
	border: 0 !important;
}

.wpcf7-spinner {
	display: block;
	margin-inline: auto;
}

.header-links .wp-block-button__link,
.header-links .wp-block-button__link:hover,
.menu-some-buttons .wp-block-button__link,
.menu-some-buttons .wp-block-button__link:hover {
	background: transparent;
	color: #fff !important;
}

.menu-some-buttons a {
	background: transparent;
	text-decoration: none;
}

.menu-some-buttons a:hover {
	background: transparent;
	text-decoration: none;
}

.pagination,
.posts-navigation {
	width: min(calc(100% - 2 * var(--fbk-gutter)), var(--fbk-content));
	margin: 2rem auto;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.alignwide {
	max-width: 90rem;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.wp-block-embed-vimeo iframe {
    width: 100%;
    height: 500px;
}

#fb-form-kiinnostus .wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#fb-form-kiinnostus .wpcf7-list-item {
    padding-bottom: 15px;
}
.wpcf7 input[type=checkbox] {
    width: auto;
}
#fb-form-kiinnostus .wpcf7-list-item-label {
    padding-left: 10px;
    position: relative;
    top: -2px;
}

@media (max-width: 900px) {
	.fbk-service-grid .wp-block-post-template > li {
		flex-basis: calc(50% - 10px);
	}

	.fbk-post-grid .wp-block-post-template > li,
	.fbk-people-grid .wp-block-post-template > li {
		flex-basis: calc(50% - 10px);
	}

	.fbk-cover-text-fade-right .wp-block-cover__inner-container,
	.fbk-cover-text-fade-left .wp-block-cover__inner-container {
		width: 100%;
		min-height: 30rem;
		margin: 0;
		transform: none;
		opacity: 1;
	}
}

@media (max-width: 760px) {
	.menu-primary-container a {
		font-size: clamp(1.1rem, 4vw, 2.5rem);
	}

	h1 {
		font-size: 1.8rem;
		line-height: 1;
	}

	h2 {
		font-size: 1.5rem;
		line-height: 1;
	}

	.site-main {
		/*padding: 3rem 1rem;*/
		padding-top: 75px;
	}
}

@media (max-width: 500px) {
	.fbk-service-grid .wp-block-post-template > li,
	.fbk-post-grid .wp-block-post-template > li,
	.fbk-people-grid .wp-block-post-template > li {
		flex-basis: calc(100% - 10px);
	}

	.fbk-service-grid {
		padding-inline: 0;
	}

	.fbk-contant-form .fbk-contant-form-2col {
		width: 100%;
		margin-right: 0;
	}

	.fbk-contant-form .wpcf7-form {
		padding: 1rem 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
