/*
	Theme Name: Stone Ideas
	Theme URI: https://www.stone-ideas.com/
*/

/* global */
:root {
	--black: #1d1d1b;
	--gray1: #a5a5a3;
	--gray2: #cdcdcb;
	--gray3: #dededc;
	--gray4: #f4f4f3;
	--white: #fff;
	--color1: #d06128;
	--color2: #841a18;
	--section-width: 480px;
	--section-padding: 20px;
	--padding-s: 15px;
	--padding-m: 30px;
	--padding-l: 45px;
	--padding-xl: 45px;
	--padding-xxl: 60px;
	--main-width: auto;
	--aside-width: 200px;
	--banner-padding: 9px;
	--heading-1: 1.75rem;
	--heading-2: 1.5rem;
	--heading-3: 1.25rem;
	--heading-4: 1rem;
	--font-excerpt: calc(1rem + 4px);
	--font-article: calc(1rem + 2px);
	--font-small: calc(1rem - 2px);
	--line-height-s: 1.25em;
	--line-height-m: 1.375em;
	--line-height-l: 1.5em;
	--gap: 20px;
	--nav-gap: 1.5em;
	--input-height: 30px;
	--lb-padding: 30px;

	background: var(--white);
	color: var(--black);
	font: 14px/var(--line-height-m) helvetica, arial, sans-serif;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

@media (min-width: 700px) {
	:root {
		--section-width: 640px;
		--section-padding: 80px;
		--padding-xl: 60px;
		--padding-xxl: 90px;
		--heading-1: 2.25rem;
		--heading-2: 1.75rem;
		--heading-3: calc(1rem / .75);
		--font-excerpt: calc(1rem / .75);
	}
}

@media (min-width: 1000px) {
	:root {
		--section-width: 920px;
		--section-padding: 40px;
		--main-width: 640px;
		--lb-padding: 45px;
	}
}

body, header, footer, nav, main, section, aside, article, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, pre, figure, figcaption, video, picture, img, svg, form, input, select, button, textarea, label {
	border: 0;
	box-sizing: border-box;
	display: block;
	margin: 0;
	outline: none;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

li {
	list-style: none;
}

input, select, button, textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: unset;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: var(--line-height-l);
}

input[type='text'] {
	border: 1px solid var(--gray2);
	border-radius: 4px;
	height: var(--input-height);
	padding: 0 9px;
}

input[type='text']:focus,
select:focus {
	border-color: var(--gray1);
}

input[type='text']::placeholder {
	color: var(--gray1);
}

input[type='checkbox'] {
	border: 1px solid var(--gray1);
	border-radius: 2px;
	display: inline-block;
	margin-bottom: -1px;
	position: relative;
	width: 12px;
	height: 12px;
}

input[type='checkbox']::after {
	border: solid var(--black);
	border-width: 0 2px 2px 0;
	content: '';
	height: 6px;
	left: 3px;
	position: absolute;
	transform: rotate(45deg);
	visibility: hidden;
	width: 2px;
}

input[type='checkbox']:active {
	background: var(--gray4);
}

input[type='checkbox']:checked::after {
	visibility: visible;
}

input[type='submit'],
input[type='button'],
button {
	border: 1px solid var(--black);
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	height: var(--input-height);
	padding: 0 9px;
}

select {
	border: 1px solid var(--gray2);
	border-radius: 4px;
	height: var(--input-height);
	overflow: hidden;
	padding: 0 19px 0 9px;
	text-overflow: ellipsis;
}

select {
	width: 100%;
}

textarea {
	border: 1px solid var(--gray2);
	border-radius: 4px;
	padding: 4.5px 9px;
}

table, tbody, tr, th, td {
	border: 0;
	border-collapse: collapse;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

table {
	width: 100%;
}

pre {
	font-family: inherit;
	white-space: inherit;
	word-wrap: inherit;
}

img {
	border-radius: 2px;
}

a {
	color: inherit;
	outline: none;
	text-decoration: none;
}

a:hover {
	color: var(--color1) !important;
}

.container {
	box-sizing: content-box;
	margin: 0 auto;
	max-width: var(--section-width);
	padding: 0 var(--section-padding);
}

.heading {
	font-family: georgia, serif;
}

/* header */
.container-header,
.container-footer {
	max-width: calc(var(--section-width) + var(--padding-xl) * 2);
}

header {
	margin-bottom: var(--padding-m);
	padding-top: var(--padding-m);
}

.header-logo {
	font-size: 0px;
	line-height: 0px;
	margin-bottom: 5px;
}

.header-logo a {
	display: inline-block;
}

.header-logo img {
	height: 36px;
	width: auto;
}

.header-description {
	color: var(--gray1);
	font-size: 12px;
	line-height: var(--line-height-m);
	text-transform: uppercase;
}

.header-description span {
	text-transform: lowercase;
}

.header-search {
	position: relative;
}

input.header-search-text {
	padding-right: var(--input-height);
	width: 100%;
}

input.header-search-submit {
	background-image: url('images/search.svg');
	border: none;
	font-size: 0;
	line-height: 0;
	position: absolute;
	right: 0;
	width: 30px;
	top: 0;
}

.header-soc {
	display: flex;
	gap: var(--gap);
	justify-content: flex-end;
}

.header-soc-item img {
	height: var(--gap);
	width: var(--gap);
}

nav {
	border-bottom: 1px solid var(--black);
	display: flex;
	font-weight: bold;
	line-height: var(--line-height-l);
	justify-content: space-between;
}

nav a {
	display: inline-block;
}

.sub-menu a {
	padding-bottom: .25em;
	padding-top: .25em;
}

.nav-lang {
	display: flex;
	gap: var(--nav-gap);
	padding-bottom: .5em;
}

.menu-hide {
	display: none;
}

@media (max-width: 999px) {
	.header-aside {
		margin-top: var(--padding-s);
	}

	.header-soc {
		display: none;
	}

	.nav-menu {
		background: var(--black);
		color: var(--white);
		color-scheme: dark;
		display: none;
		height: 100%;
		left: 0;
		overflow-y: scroll;
		padding: var(--section-padding);
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 100;
	}

	.nav-menu > .menu-item {
		font-size: var(--heading-2);
		line-height: var(--line-height-l);
	}

	.nav-menu > .menu-item > a {
		padding-bottom: .25em;
		padding-top: .25em;
	}

	.nav-menu > .menu-item + .menu-item {
		margin-top: 1.5em;
	}

	.sub-menu {
		font-size: 1rem;
		line-height: var(--line-height-l);
	}

	.menu-show {
		background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="%231d1d1b"><rect width="14" height="1.5" y="2" rx=".75"/><rect width="14" height="1.5" y="10.5" rx=".75"/><rect width="14" height="1.5" y="6.25" rx=".75"/></svg>');
		background-position: left center;
		background-repeat: no-repeat;
		background-size: auto 1em;
		cursor: pointer;
		height: 1.5em;
		order: -1;
		padding-left: var(--nav-gap);
	}

	.menu-show::after {
		content: 'Menu';
	}

	.menu-hide {
		background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" fill="%23fff"><rect width="2" height="28" x="14" y="1" rx="1" transform="rotate(45 15 15)"/><rect width="2" height="28" x="14" y="1" rx="1" transform="rotate(-45 15 15)"/></svg>');
		background-repeat: no-repeat;
		background-size: contain;
		cursor: pointer;
		height: var(--input-height);
		position: fixed;
		right: var(--section-padding);
		top: var(--section-padding);
		width: var(--input-height);
		z-index: 200;
	}

	.body-menu {
		background: var(--black);
		color-scheme: dark;
		overflow: hidden;
	}

	.body-menu .nav-menu,
	.body-menu .menu-hide {
		display: block;
	}
}

@media (min-width: 700px) {
	header {
		align-items: end;
		display: flex;
		justify-content: space-between;
	}

	.header-logo img {
		height: 42px;
	}

	.header-description {
		font-size: unset;
		line-height: unset;
	}

	.header-aside {
		padding-bottom: 4px;
		width: calc(100% / 3);
	}
}

@media (min-width: 1000px) {
	header {
		padding-top: var(--padding-l);
	}

	.header-logo {
		width: var(--main-width);
	}

	.header-logo img {
		height: 60px;
	}

	.header-description br {
		display: none;
	}

	.header-aside {
		max-width: calc(var(--aside-width) + var(--padding-xl));
		width: calc(var(--aside-width) + (100vw - var(--section-width) - var(--section-padding) * 2) / 2);
	}

	.header-soc {
		position: relative;
		top: calc(var(--padding-m) - var(--padding-m) * 2);
	}

	.nav-menu {
		display: flex;
		gap: var(--nav-gap);
		white-space: nowrap;
	}

	.menu-item {
		position: relative;
	}

	.nav-menu > .menu-item > a {
		padding-bottom: .5em;
	}

	.menu-item-has-children > a::after {
		content: ' \25BE';
	}

	.sub-menu {
		background: var(--black);
		border-radius: 2px;
		color: var(--white);
		display: none;
		margin-left: calc(var(--nav-gap) - var(--nav-gap) / .6);
		padding: .5em 0;
		position: absolute;
		z-index: 10;
	}

	.nav-menu > .menu-item:hover .sub-menu {
		display: block;
	}

	.sub-menu a {
		display: block;
		padding-left: calc(var(--nav-gap) / 1.5);
		padding-right: calc(var(--nav-gap) / 1.5);
	}

	.menu-show {
		display: none;
	}
}

/* main */
.container-main {
	padding-bottom: var(--padding-xxl);
	padding-top: var(--padding-xl);
}

main {
	width: var(--main-width);
}

.main-header {
	margin-bottom: var(--padding-l);
}

.main-error .main-header {
	margin: var(--padding-xxl) 0 var(--padding-xl) 0;
}

.header-heading {
	font-size: var(--heading-1);
	line-height: var(--line-height-s);
	margin-top: -.2em;
}

.header-excerpt {
	font-size: var(--font-excerpt);
	line-height: var(--line-height-m);
	margin-top: 1em;
}

.thumb {
	aspect-ratio: 16/10;
	display: block;
}

.thumb img {
	background: var(--gray4);
	aspect-ratio: 16/10;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.post-excerpt {
	color: var(--gray1);
	margin-top: .5em;
}

.pagination {
	border-top: 1px solid var(--gray3);
	color: var(--gray1);
	display: flex;
	gap: var(--nav-gap);
	justify-content: center;
	margin-top: var(--padding-xl);
	padding-top: 1em;
	text-align: center;
}

.pagination a,
.pagination span {
	display: inline-block;
}

.pagination .current {
	color: var(--black);
	font-weight: bold;
}

@media (min-width: 1000px) {
	.container-main {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
}

/* home */
.main-home .post + .post {
	margin-top: var(--padding-xl);
}

.main-home .post-text {
	margin-top: 1.25em;
}

.main-home .post-heading {
	font-size: var(--heading-2);
	line-height: var(--line-height-s);
}

@media (min-width: 700px) {
	.main-home .post-text {
		margin-top: 1.5em;
	}

	.main-home .post-excerpt {
		font-size: var(--font-article);
		line-height: var(--line-height-m);
	}
}

/* category */
.main-category .post-heading {
	font-size: var(--heading-3);
	line-height: var(--line-height-s);
}

@media (max-width: 699px) {
	.main-category .post + .post {
		margin-top: var(--padding-xl);
	}

	.main-category .post-text {
		margin-top: 1.25em;
	}
}

@media (min-width: 700px) {
	.main-category .post {
		display: flex;
		gap: var(--gap);
		justify-content: space-between;
	}

	.main-category .post + .post {
		border-top: 1px solid var(--gray3);
		margin-top: var(--padding-m);
		padding-top: var(--padding-m);
	}

	.main-category .post-thumb,
	.main-category .post-text {
		flex: 1;
	}

	.main-category .post-heading {
		margin-top: -.25em;
	}

	.main-category .pagination {
		margin-top: var(--padding-m);
	}
}

/* single */
article {
	width: var(--main-width);
}

.article-header {
	margin-bottom: var(--padding-xl);
}

.article-page .article-header {
	margin-bottom: var(--padding-l);
}

.article-thumb {
	display: none;
}

.article-content {
	font-size: var(--font-article);
	line-height: var(--line-height-l);
}

.article-content *:first-child,
.article-content table h1 + *,
.article-content table h2 + *,
.article-content table h3 + *,
.article-content table h4 + *,
.article-content table h5 + *,
.article-content table h6 + * {
	margin-top: 0 !important;
}

.article-content > *:last-child {
	margin-bottom: 0 !important;
}

.article-content a {
	color: var(--color2);
	text-decoration: underline;
}

.article-content a span {
	text-decoration: underline;
}

.article-content figure {
	width: 100% !important;
}

.article-content img.size-full,
.article-content img.size-medium {
	height: auto !important;
	margin: var(--padding-m) 0 !important;
	width: 100% !important;
}

.article-content p:first-of-type img {
	margin-top: 0 !important;
}

.article-content img.size-thumbnail {
	display: inline-block;
}

.article-content img.caption {
	margin-bottom: var(--padding-s) !important;
}

.article-content img.caption + * {
	margin-top: 0 !important;
}

.article-content h1,
.article-content h2,
.article-content h3 {
	font-size: var(--heading-3);
	font-weight: bold;
	line-height: var(--line-height-s);
	margin-top: 2.5em;
}

.article-content td h1,
.article-content td h2,
.article-content td h3 {
	font-size: inherit;
	line-height: inherit;
}

.article-content h4,
.article-content h5,
.article-content h6 {
	font-weight: bold;
	margin-top: 2.5em;
}

.article-content p,
.article-content ul,
.article-content ol {
	margin-top: 1.25em;
}

.article-content > p:first-of-type:not(:has(img)) {
	margin-top: -.5em !important;
}

.article-content li {
	display: list-item;
	list-style: disc;
	margin-left: 2em;
}

.article-content ol li {
	list-style-type: decimal;
}

.article-content ul li {
	list-style-type: disc;
}

.article-content iframe {
	aspect-ratio: 16/9;
	height: auto !important;
	width: 100% !important;
}

.article-content table,
.article-content table + * {
	margin-top: var(--padding-xl);
}

.article-content tr + tr {
	border-top: 1px solid var(--gray3);
}

.article-content tr.darker {
	border: none;
}

.article-content tr.darker + tr {
	border: none;
}

.article-content td:first-of-type {
	padding: var(--padding-m) 0;
}

.article-content table:last-child tbody:last-child tr:last-child td {
	padding-bottom: 0;
}

.article-content tr.darker td {
	background: var(--gray4);
	border-radius: 2px;
	font-weight: bold;
	padding: var(--padding-s) 0;
	text-align: center;
}

.article-content td + td {
	padding-left: calc(var(--gap) / 2);
	width: 20%;
}

.article-content td p {
	margin-top: .75em;
}

.article-content td img,
.article-content td img.size-full,
.article-content td img.size-medium {
	margin: 0 !important;
}

.article-content pre {
	color: var(--gray1);
	font-size: 1rem;
	line-height: var(--line-height-l);
}

.article-content *[style*="color:"] {
	color: var(--color1) !important;
	font-weight: bold;
}

@media (max-width: 999px) {
	.article-meta {
		display: none;
	}
}

@media (min-width: 1000px) {
	.article-body {
		display: flex;
		gap: var(--gap);
		justify-content: space-between;
	}

	.article-meta {
		border-top: 1px solid var(--black);
		font-size: var(--font-small);
		line-height: var(--line-height-s);
		padding-top: .5rem;
		text-transform: uppercase;
		width: 80px;
	}

	.article-page:not(.page-narrowtxt) .article-meta {
		display: none;
	}

	.article-content {
		flex: 1;
	}
}

/* related */
.article-related {
	border-top: 1px solid var(--black);
	margin-top: var(--padding-xxl);
}

.related-heading {
	font-size: var(--font-small);
	font-weight: bold;
	line-height: var(--line-height-s);
	margin-bottom: 1.25rem;
	padding-top: .5rem;
	text-transform: uppercase;
}

.related-posts .post-heading {
	font-size: var(--heading-3);
	line-height: var(--line-height-s);
}

@media (max-width: 699px) {
	.related-posts .post + .post {
		margin-top: var(--padding-xl);
	}

	.related-posts .post-text {
		margin-top: 1.25em;
	}
}

@media (min-width: 700px) {
	.related-posts .post {
		display: flex;
		gap: var(--gap);
		justify-content: space-between;
	}

	.related-posts .post + .post {
		border-top: 1px solid var(--gray3);
		margin-top: var(--padding-m);
		padding-top: var(--padding-m);
	}

	.related-posts .post-thumb,
	.related-posts .post-text {
		flex: 1;
	}

	.related-posts .post-heading {
		margin-top: -.25em;
	}
}

@media (min-width: 1000px) {
	.related-posts .post {
		margin-top: var(--padding-m);
	}

	.article-related {
		display: flex;
		gap: var(--gap);
		justify-content: space-between;
	}

	.related-heading {
		width: 80px;
	}

	.related-posts {
		flex: 1;
	}
}

/* aside */
.aside-banner {
	display: block !important;
}

.aside-banner-title {
	display: none;
}

.aside-banners + .aside-archives,
.aside-archive + .aside-archive {
	margin-top: var(--padding-xl);
}

.archive-category {
	border-top: 1px solid var(--black);
	color: var(--gray1);
	font-size: var(--font-small);
	line-height: var(--line-height-s);
	margin-bottom: 1.25rem;
	padding-top: .5rem;
	text-transform: uppercase;
}

.archive-category b,
.archive-category strong {
	color: var(--black);
	font-weight: inherit;
}

.archive-heading {
	font-size: var(--heading-4);
	line-height: var(--line-height-m);
	margin-top: .75rem;
}

@media (max-width: 999px) {
	aside {
		margin-top: var(--padding-xxl);
	}

	article + aside {
		border-top: 1px solid var(--gray3);
		padding-top: var(--padding-xxl);
	}

	.aside-container {
		margin: 0 auto;
		width: var(--aside-width);
	}

	.aside-archives {
		display: none;
	}
}

@media (min-width: 1000px) {
	aside {
		width: var(--aside-width);
	}

	.main-category + aside,
	.article-page + aside {
		margin-top: calc(var(--padding-l) + var(--heading-1) + 1px);
	}
}

/* banners */
.banners {
	width: 100%;
}

.banner {
	align-items: center;
	border: 1px solid var(--gray3);
	border-radius: 2px;
	display: flex;
	justify-content: center;
	margin: 0 auto var(--padding-m) auto;
	padding: var(--banner-padding);
	position: relative;
}

article .banner:last-child {
	margin-bottom: var(--padding-xl);
}

.sf-section .banner {
	margin-top: var(--padding-m);
}

.sf-section .banner:nth-child(n+3) {
	display: none;
}

.banner-thick {
	border-color: var(--gray2);
	border-width: 2px;
	padding: calc(var(--banner-padding) - 1px);
}

.banner::before {
	background: var(--white);
	color: var(--gray1);
	content: attr(data-text);
	display: block;
	font-size: 10px;
	line-height: 1em;
	padding-bottom: 8px;
	padding-left: 9px;
	position: absolute;
	right: -1px;
	text-transform: uppercase;
	top: -9px;
}

.banner-thick::before {
	font-weight: bold;
	padding-bottom: 7px;
	right: -2px;
}

.banner a {
	display: block;
	position: relative;
	text-align: center;
	width: 100%;
}

.banner img {
	height: auto !important;
	width: 100%;
}

.banner-title {
	font-size: var(--heading-4);
	line-height: var(--line-height-m);
	padding: .75em 1.5em .25em 1.5em;
}

.banner-title:first-child {
	background: var(--gray4);
	border-radius: 2px;
	font-size: var(--heading-3);
	font-weight: bold;
	padding: 1.5em;
}

.banner-title::before {
	content: attr(data-title);
	display: block;
}

@media (min-width: 700px) {
	.banner-s {
		width: 450px;
	}
}

@media (min-width: 1000px) {
	.banner-m {
		width: var(--main-width);
	}

	.sf-section .banners:not(:has(.banner-m)):not(:has(.banner-l)) {
		display: flex;
		gap: var(--gap);
		justify-content: center;
	}
}

/* sf */
.sf-section {
	width: 100%;
}

.sf-section-posts {
	padding-top: var(--padding-m);
}

.sf-form {
	margin: 0 calc(var(--gap) / 2 - var(--gap));
	min-width: 100%;
}

.sf-form-group {
	padding: 0 calc(var(--gap) / 2);
}

.sf-form-label {
	font-size: var(--font-small);
	font-weight: bold;
	text-transform: uppercase;
}

.sf-group-text .sf-form-label,
.sf-group-select .sf-form-label {
	margin-bottom: 5px;
}

.sf-group-select {
	margin-top: var(--padding-m);
	position: relative;
}

.sf-group-select::after {
	content: ' \25BE';
	display: block;
	line-height: calc(var(--input-height) + 2px);
	position: absolute;
	right: var(--gap);
	bottom: 0;
	z-index: -1;
}

.sf-form-text,
.sf-form-select {
	width: 100%;
}

.sf-group-checkbox {
	margin-top: calc(var(--padding-m) - 5px);
}

.sf-group-checkbox + .sf-group-checkbox {
	margin-top: calc(var(--padding-m) - 10px);
}

.sf-group-checkbox .sf-form-label,
.sf-form-checkbox-label {
	display: inline-block;
	margin-right: 1em;
	margin-top: var(--padding-s);
}

.sf-form-buttons {
	align-items: end;
	display: flex;
	margin-top: var(--padding-m);
	padding: 0 calc(var(--gap) / 4);
	width: 100%;
}

.sf-form-button-line {
	display: block;
	flex: 1;
	padding: 0 calc(var(--gap) / 4);
}

.sf-form-button-line div {
	background: var(--gray3);
	height: 1px;
}

.sf-form-button-container {
	padding: 0 calc(var(--gap) / 4);
	width: calc(100% / 3);
}

.sf-form-button {
	width: 100%;
}

.sf-form-button:active {
	border-color: var(--color1);
	color: var(--color1);
}

.sf-posts {
	display: flex;
	flex-wrap: wrap;
	margin: 0 calc(var(--gap) / 2 - var(--gap));
	min-width: 100%;
}

.sf-post {
	margin-top: var(--padding-m);
	padding: 0 calc(var(--gap) / 2);
	width: 50%;
}

.sf-post:nth-of-type(n+41) {
	display: none;
}

.sf-all .sf-post {
	display: block !important;
}

.sf-post-thumb,
.sf-post-thumb img {
	aspect-ratio: 1/1;
}

.sf-post-text {
	margin-top: 1em;
}

.sf-post-badge {
	border: 1px solid var(--black);
	border-radius: 2px;
	display: inline-block;
	font-size: calc(1rem - 4px);
	line-height: 1em;
	margin-bottom: .5rem;
	padding: .3em .6em;
	text-transform: uppercase;
}

.sf-post-heading {
	font-size: var(--font-article);
	line-height: var(--line-height-s);
}

.sf-post-meta {
	color: var(--gray1);
	margin-top: .25rem;
}

.sf-none {
	font-size: var(--font-excerpt);
	line-height: var(--line-height-m);
	padding: var(--padding-xxl) 0 var(--padding-m) 0;
	text-align: center;
}

.sf-pagination {
	margin-top: var(--padding-m);
}

.sf-more {
	color: var(--black);
	cursor: pointer;
	font-weight: bold;
}

.sf-more:hover {
	color: var(--color1);
}

.sf-more::before {
	content: '+ ';
}

.sf-all .sf-pagination {
	display: none;
}

@media (min-width: 700px) {
	.sf-form {
		display: flex;
		flex-wrap: wrap;
	}

	.sf-group-text,
	.sf-group-select {
		width: 50%;
	}

	.sf-group-select:nth-of-type(-n+2) {
		margin-top: 0;
	}

	.sf-form-buttons {
		margin-top: var(--padding-s);
		padding: 0;
	}

	.sf-form-button-line {
		padding: 0 calc(var(--gap) / 2);
	}

	.sf-form-button-container {
		padding: 0 calc(var(--gap) / 2);
		width: 25%;
	}

	.sf-post {
		width: 25%;
	}
}

@media (min-width: 1000px) {
	.sf-group-text {
		width: 40%;
	}

	.sf-group-select {
		margin-top: 0;
		width: 20%;
	}

	.sf-group-checkbox {
		margin-top: calc(var(--padding-s) + 5px);
		width: calc(80% + var(--gap) / 2);
	}

	.sf-group-checkbox + .sf-group-checkbox {
		margin-top: var(--padding-s);
	}

	.sf-group-checkbox .sf-form-label,
	.sf-form-checkbox-label {
		margin-top: calc(var(--padding-s) - 5px);
	}

	.sf-form-buttons {
		margin-top: 0;
	}

	.sf-form-button-container,
	.sf-post {
		width: 20%;
	}

	.sf-form-button {
		margin-top: 0;
	}
}

/* footer */
footer {
	border-top: 1px solid var(--black);
	font-weight: bold;
	padding-bottom: var(--padding-m);
	padding-top: var(--padding-m);
}

.footer-logos {
	display: flex;
	gap: 20px;
	justify-content: flex-end;
}

.footer-logo {
	max-height: 40px;
	width: auto;
}

@media (min-width: 700px) {
	.footer-logos {
		gap: var(--padding-m);
	}

	.footer-logo {
		max-height: 50px;
	}
}

@media (max-width: 999px) {
	.footer-logos {
		margin-top: var(--padding-m);
	}
}

@media (min-width: 1000px) {
	footer {
		align-items: center;
		display: flex;
		justify-content: space-between;
	}
}

/* skybox */
.lbLoading {
	display: none !important;
}

#lbOverlay {
	background-color: var(--black) !important;
	height: 100%;
	left: 0;
	opacity: .9;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 50;
}

#lbCenter {
	align-items: center;
	display: flex;
	height: 100% !important;
	justify-content: center;
	left: 0 !important;
	margin-left: 0 !important;
	overflow: hidden;
	position: fixed;
	top: 0 !important;
	width: 100% !important;
	z-index: 50;
}

#lbImage {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border-radius: 2px;
}

#lbImage > div {
	max-height: calc(100vh - var(--padding-l) * 4);
	max-width: calc(100vw - var(--input-height) * 2 - var(--lb-padding) * 4);
}

#lbBottomContainer {
	bottom: 0;
	color: var(--white);
	left: 0 !important;
	margin-left: 0 !important;
	padding: var(--padding-s);
	position: fixed;
	top: unset !important;
	width: 100% !important;
	z-index: 50;
}

#lbCaption {
	max-width: var(--section-width);
}

#lbNumber {
	color: var(--gray1);
}

#lbCloseLink {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" fill="%23fff"><rect width="2" height="28" x="14" y="1" rx="1" transform="rotate(45 15 15)"/><rect width="2" height="28" x="14" y="1" rx="1" transform="rotate(-45 15 15)"/></svg>') !important;
	background-size: cover;
	cursor: pointer;
	display: block;
	height: var(--input-height);
	position: fixed;
	right: var(--lb-padding);
	top: var(--lb-padding);
	width: var(--input-height);
}

#lbPrevLink,
#lbNextLink {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60" fill="%23fff"><rect width="2" height="28" x="14" y="25.193" rx="1" transform="rotate(45 15 39.193)"/><rect width="2" height="28" x="14" y="6.807" rx="1" transform="rotate(-45 15 20.807)"/></svg>') !important;
	background-size: cover;
	cursor: pointer;
	display: block;
	height: calc(var(--input-height) * 2) !important;
	position: fixed;
	top: 50%;
	width: var(--input-height) !important;
}

#lbPrevLink {
	left: var(--lb-padding);
	transform: translateY(-50%) scaleX(-1);
}

#lbNextLink {
	right: var(--lb-padding);
	transform: translateY(-50%);
}

#lbCloseLink:hover,
#lbPrevLink:hover,
#lbNextLink:hover {
	opacity: .5;
}

/* cookies */
#cookie-notice {
	font-family: unset !important;
	font-size: unset !important;
}

.cn-button {
	border-color: var(--white) !important;
}
