/*
Theme Name: KulturaMK
Theme URI: 
Author: infocount.cz
Author URI: https://infocount.cz/
Description: Theme for Moravsky Krumlov
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kulturamk-theme
*/

@font-face {
	font-family: 'Ambit';
	src: url('font/Ambit Light.otf') format('opentype');
	font-weight: 300;
}
@font-face {
	font-family: 'Ambit';
	src: url('font/Ambit Regular.otf') format('opentype');
	font-weight: 400;
}
@font-face {
	font-family: 'Ambit';
	src: url('font/Ambit SemiBold.otf') format('opentype');
	font-weight: 600;
}
@font-face {
	font-family: 'Ambit';
	src: url('font/Ambit Bold.otf') format('opentype');
	font-weight: 700;
}

@font-face {
	font-family: 'Literata';
	src: url('font/Literata-Light.ttf') format('truetype');
	font-weight: 300;
}
@font-face {
	font-family: 'Literata';
	src: url('font/Literata-Regular.ttf') format('truetype');
	font-weight: 400;
}

html, body, h1, h2, h3, ul, li, p {
	margin: 0;
	padding: 0;
}

html {
	margin-top: 0 !important;
}

body, h1, h2, h3, div, p, li, a {
	color: #000000;
	font-family: 'Ambit', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
}

body {
	background-color: #ffffff;
}

a {
	color: #004b5f;
	font-weight: 400;
	text-decoration: none;
}
a:hover {
	color: #f6a11d;
	text-decoration: none;
}

img {
	display: block;
}

ul {
	list-style-type: none;
}

*, ::after, ::before {
	box-sizing: unset;
}

.container {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 1670px;
	padding: 70px 35px;
	margin: 0 auto;
}

/* header */

header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-color: #f6a11d;
	overflow: hidden;
	z-index: 3;
}
.home header::before {
	position: absolute;
	content: "";
	top: 0;
	left: calc(50% - 90px);
	bottom: 0;
	width: 768px;
	background: url('img/river.png?v=1') top no-repeat;
}
header.transparent {
	background-color: transparent;
}
header.transparent.active {
	background-color: #f6a11d;
}
header.fixed {
	position: fixed;
	background-color: #f6a11d;
}
header.fixed::before {
	content: none;
}

header .container {
	display: flex;
	justify-content: space-between;
	max-width: none;
	padding: 40px;
}
header.fixed .container {
	padding-top: 25px;
	padding-bottom: 25px;
}

header .brand a {
	display: block;
	width: 213px;
	height: 120px;
	overflow: hidden;
	text-indent: -99999px;
	background: url('img/logo.png') left bottom no-repeat;
}
header.fixed .brand a {
	width: 56px;
	height: 63px;	
}
header .brand a:hover {
	filter: invert(1);
}

header .menu {
	display: flex;
	gap: 35px;
	padding-top: 40px;
}
header.fixed .menu {
	padding-top: 10px;
}
header .menu li a {
	position: relative;
	display: block;
	color: #ffffff;
	font-size: 28px;
	font-weight: 600;
	line-height: 40px;
}
header .menu li a:hover {
	color: #000000;
}
header .menu li.items > a::after {
	display: inline-block;
	content: "";
	width: 8px; 
	height: 8px; 
	border-right: 3px solid #ffffff;
	border-bottom: 3px solid #ffffff;
	transform: rotate(45deg);
	margin: 0 0 3px 8px;
}
header .menu li.items > a:hover::after,
header .menu li.items.active > a::after {
	transform: rotate(-135deg);
	margin-bottom: 0;
}
header .menu li.items > a:hover::after {
	border-color: #000000;
}
header .menu li.button a {
	background-color: #f6a11d;
	padding: 7px 20px 1px 20px;
	margin-top: -6px;
	border: 2px solid #ffffff;
	border-radius: 30px;
}
header .menu li.button a:hover {
	color: #f6a11d;
	background-color: #ffffff;
}
header.transparent .menu li.button a {
	background-color: transparent;
}
header.transparent .menu li.button a:hover {
	color: #000000;
	border-color: #000000;
}

header .menu .sub {
	display: none;
	margin-top: 25px;
}
header .menu li.items.active .sub {
	display: block;
}
header .menu .sub::after {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	border-bottom: 1px solid #00000050;
}
header .menu .sub li {
	position: relative;
	height: 36px;
}
header .menu .sub a {
	position: absolute;
	font-size: 20px;
	text-wrap: nowrap;
}

header .mobile {
	display: none;
}

header .mobile strong {
	position: relative;
	cursor: pointer;
	display: block;
	width: 44px;
	height: 31px;
	margin-top: 30px;
}
header .mobile span {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background-color: #ffffff;
	margin: auto 0;
}
header .mobile:hover span {
	background-color: #000000;
}
header .mobile span:first-child {
	bottom: auto;
}
header .mobile span:last-child {
	top: auto;
}

header.active .mobile span {
	display: none;
	top: 0;
	bottom: 0;
	transition: transform .5s ease;
}
header.active .mobile span:first-child {
	display: block;
	transform: rotate(45deg);
}
header.active .mobile span:last-child {
	display: block;
	transform: rotate(-45deg);
}

/* main */

main {
	padding-top: 200px;
	overflow: hidden;
}
main.bg {
	padding-top: 0;
}

main .title, main .title a {
	color: #000000;
	font-size: 60px;
	font-weight: 600;
	line-height: 70px;
}
main .title a:hover {
	color: #f6a11d;
}

main .notitle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

main .files {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding-top: 20px;
}
main .files .name {
	font-size: 26px;
}
main .files .item {
	position: relative;
	background-color: #f5f5f5;
	padding: 10px;
}
main .files .item a {
	display: block;
	color: #f6a11d;
	padding-left: 50px;
}
main .files .item a:hover {
	color: #000000;
}
main .files .item a::before, main .files .item a::after {
	position: absolute;
	content: "";
	left: 10px;
	bottom: 0;
	margin: auto 0;
}
main .files .item a::before {
	top: 0;
	width: 34px;
	height: 37px;
	background: url('img/file.png') right no-repeat;
}
main .files .item a.none::before {
	background-image: url('img/file-none.png');
}
main .files .item a.mpeg::before {
	background-image: url('img/file-mpeg.png');
}
main .files .item a::after {
	content: attr(class);
	top: 6px;
	width: 24px;
	height: 12px;
	font-size: 9px;
	line-height: 12px;
	text-transform: uppercase;
	text-align: center;
}
main .files .item a.mpeg::after, main .files .item a.none::after {
	content: none;
}
main .files .item a:hover::before {
	filter: brightness(0);
}
main .files .item span {
	color: #b1b1b1;
}

main .date {
	display: flex;
	flex-wrap: wrap;
	color: #b1b1b1;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}
main .date span {
	display: inline-block;
	color: #b1b1b1;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}
main .date span::after {
	content: "\2022";
	padding: 0 10px;
}
main .date span:last-child::after {
	content: none;
}

main .place {
	color: #b1b1b1;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

main .button a {
	display: inline-block;
	color: #000000;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: .2em;
	text-transform: uppercase;
	background-color: transparent;
	padding: 15px 25px 10px 25px;
	border: 2px solid #f6a11d;
	border-radius: 30px;
}
main .button a.more::after {
	display: inline-block;
	content: "";
	width: 22px;
	height: 13px;
	background: url('img/more.png') center no-repeat;
	padding-left: 15px;
	margin-right: -10px;
}
main .button a:hover {
	color: #ffffff;
	background-color: #f6a11d;
}
main .button a.more:hover::after {
	filter: invert(1);
}

main form label {
	position: absolute;
	bottom: 0;
	width: 100%;
	color: #000000;
	font-size: 14px;
	line-height: 18px;
	text-align: right;
	margin: 0;
}

main form input {
	position: relative;
	display: block;
	width: 100%;
	padding: 10px 0;
	border: none;
	border-bottom: 1px solid #000000;
	border-radius: 0;
}
main form input:focus {
	outline: none;
}
main form input::placeholder {
	color: #000000;
	opacity: 1;
}
main form input:focus::placeholder {
	opacity: 0;
}

main form button {
	cursor: pointer;
	display: block;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: .2em;
	text-transform: uppercase;
	background-color: transparent;
	padding: 15px 25px 10px 25px;
	border: 2px solid #ffffff;
	border-radius: 30px;
}
main form button:hover {
	color: #f6a11d;
	background-color: #ffffff;
}

/* home */

#home {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* path */

#path {
	background-color: #f6a11d;
}
.bg #path {
	position: relative;
	background-color: transparent;
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: cover;
}
.bg #path::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(#00000050, #00000010 200px, #00000010 calc(100% - 150px), #00000050);
}

#path .container {
	padding-bottom: 35px;
}
.bg #path .container {
	padding-top: 700px;
}
#path.error .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 35px;
	height: calc(100vh - 200px);
	padding-top: 0;
	padding-bottom: 0;
}
#path.event .container {
	padding-top: 30px;
}

#path.event .header {
	display: flex;
	flex-direction: column-reverse;
}

.bg #path .title {
	color: #ffffff;
}
#path.error .title {
	font-size: 400px;
	font-weight: 600;
	line-height: 300px;
}
#path.error .name {
	font-size: 30px;
	font-weight: 600;
	line-height: 40px;
}
#path.error .buttons {
	display: flex;
	gap: 25px;
}
#path.error .button a {
	color: #ffffff;
	border-color: #ffffff;
}
#path.error .button a:hover {
	color: #f6a11d;
	background-color: #ffffff;
}

#path.event .dates {
	font-size: 26px;
	font-weight: 400;
	line-height: 40px;
}

/* slider */

#slider {
	background-color: #f6a11d;
}

#slider .container {
	padding-top: 0;
	padding-bottom: 0;
}
#slider .container::before {
	position: absolute;
	content: "";
	top: 225px;
	left: calc(50% - 90px);
	width: 768px;
	height: 1576px;
	background: url('img/river1.png') center no-repeat;
	z-index: 1;
}

#slider .carousel-inner {
	overflow: unset;
}

#slider .carousel-item {
	background-size: 0;
	min-height: 600px;
	height: calc(100vh - 200px);
}
#slider .carousel-item::before {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	left: 50%;
	bottom: 0;
	width: 50vw;
	background-image: inherit;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#slider .carousel-caption {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	left: auto;
	right: auto;
	bottom: auto;
	width: calc(50% - 100px);
	height: calc(100% - 100px);
	text-align: left;
	padding: 0;
	z-index: 2;
}

#slider .carousel-control {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 20px;
	left: 35px;
	bottom: 40px;
}

#slider .carousel-control-prev,
#slider .carousel-control-next {
	cursor: pointer;
	position: relative;
	opacity: unset;
}
#slider .carousel-control-prev:hover,
#slider .carousel-control-next:hover {
	filter: invert(1);
}
#slider .carousel-control-prev-icon,
#slider .carousel-control-next-icon {
	width: 25px;
	height: 41px;
	background: url('img/arrow.png') center no-repeat;
}
#slider .carousel-control-next-icon {
	transform: scaleX(-1);
}
#slider .carousel-control-prev .visually-hidden,
#slider .carousel-control-next .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#slider .carousel-indicators {
	position: static;
	display: flex;
	gap: 20px;
	margin: 0;
	z-index: 2;
}

#slider .carousel-indicators li {
	cursor: auto;
	width: auto;
	height: auto;
	color: #000000;
	font-size: 20px;
	font-weight: 600;
	line-height: 32px;
	text-indent: unset;
	background-color: transparent;
	margin: 0;
}
#slider .carousel-indicators li.active {
	color: #ffffff;
	background-color: transparent;
}
#slider .carousel-indicators li::before,
#slider .carousel-indicators li::after {
	content: none;
}

#slider .title a:hover {
	color: #ffffff;
}

#slider .date {
	line-height: 32px;
}
#slider .date span {
	color: #ffffff;
	font-size: 20px;
	font-weight: 600;
	line-height: 32px;
}

#slider .desc {
	font-family: 'Literata', sans-serif;
	max-width: 600px;
	font-size: 20px;
	font-weight: 300;
}

#slider .button a {
	color: #ffffff;
	background-color: #f6a11d;
	border-color: #ffffff;
}
#slider .button a:hover {
	color: #f6a11d;
	background-color: #ffffff;
}

/* synchronization */

#synchronization {
	position: relative;
	background-color: #ffffff;
	z-index: 2;
}

/* news */

#news {
	background-color: #f3f1dc;
}

#news .container {
	z-index: 2;
}

#news .header {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding-bottom: 30px;
}

#news .button a {
	background-color: #f3f1dc;
}
#news .button a:hover {
	background-color: #f6a11d;
}

#news .news {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
}
#news .news article {
	position: relative;
	flex: 0 0 calc(25% - 3*35px/4);
}

#news .news a {
	display: block;
	height: 100%;
	background-color: #ffffff;
}
#news .news a:hover {
	box-shadow: 0 0 20px rgba(0, 0, 0, .25);
}

#news .image {
	position: relative;
	height: 0;
	padding-top: 100%;
	overflow: hidden;
}
#news .noimage {
	background: url('img/new.png') center no-repeat;
}
#news .image img {
	position: absolute;
	top: 0;
	width: 100%;
}

#news .text {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 25px;
}
#news .text .name {
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
}
#news a:hover .text .name {
	color: #f6a11d;
}
#news .text .desc {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* list */

#list {
	background-color: #f3f1dc;
}

#list .list {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
}
#list .list article {
	position: relative;
	flex: 0 0 calc(25% - 3*35px/4);
}

#list .list a {
	display: block;
	height: 100%;
	background-color: #ffffff;
}
#list .list a:hover {
	box-shadow: 0 0 20px rgba(0, 0, 0, .25);
}

#list .text {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 25px;
}
#list .text .name {
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
}
#list a:hover .text .name {
	color: #f6a11d;
}
#list .text .desc {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* quick */

#quick {
	position: relative;
	background-color: #f5f5f5;
	z-index: 2;
}
#quick::before, #quick::after {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	width: calc(50vw - 400px);
	background: url('img/quick.png') repeat;
	z-index: -1;
}
#quick::before {
	left: 0;
	background-position: right center;
}
#quick::after {
	right: 0;
	background-position: left center;
}

#quick .container {
	max-width: 800px;
}

#quick .header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
	text-align: center;
}

#quick .title, #quick .title a {
	font-size: 50px;
	line-height: 60px;
}
#quick .desc, #quick .desc a {
	font-size: 26px;
}

/* events */

#events {
	position: relative;
	background-color: #ffffff;
	z-index: 2;
}

body:not(.home) #events .container {
	padding-top: 0;
}

.home #events .header {
	position: relative;
	padding-bottom: 30px;
}
.home #events .header::before {
	position: absolute;
	content: "";
	left: 50%;
	bottom: 0;
	width: 100vw;
	border-bottom: 1px solid #e4e4e4;
	transform: translateX(-50%);
}

#events .filter {
	position: relative;
}
#events .filter::before {
	position: absolute;
	content: "";
	left: 50%;
	top: 0;
	bottom: 0;
	width: 100vw;
	background-color: #f3f1dc;
	transform: translateX(-50%);
	z-index: -1;
}

#events .filter form {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 70px 0;
}

#events .filter .form {
	flex: 0 0 calc(100% - 210px);
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
#events .filter .form .item {
	position: relative;
	flex: 0 0 calc(25% - 3*40px/4);
}

#events .filter .calendar .ico::after,
#events .filter .select .ico::after {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto 0;
}
#events .filter .calendar .ico::after {
	width: 14px;
	height: 15px;
	background: url('img/calendar.png') center no-repeat;
}
#events .filter .select .ico::after {
	width: 6px;
	height: 6px;
	border-right: 1px solid #f6a11d;
	border-bottom: 1px solid #f6a11d;
	transform: rotate(45deg);
}
#events .filter .select.active .ico::after {
	transform: rotate(-135deg);
}

#events .filter input {
	background-color: #f3f1dc;
}
#events .filter .select input {
	cursor: pointer;
}
#events .filter input[value]:not([value=""]) {
	background-color: transparent;
}
#events .filter input:focus {
	background-color: transparent;
}

#events .filter .select input:focus {
	color: transparent;
	text-shadow: 0px 0px 0px #000000;
}

#events .filter .select ul {
	position: absolute;
	display: none;
	flex-direction: column;
	left: 0;
	right: 0;
	padding: 20px 0;
	z-index: 1;
}
#events .filter .select.active ul {
	display: flex;
}
#events .filter .select ul::before,
#events .filter .select ul::after {
	position: absolute;
	content: "";
	top: 0;
	z-index: -1;
}
#events .filter .select ul::before {
	left: -20px;
	right: -20px;
	bottom: -20px;
	background-color: #f3f1dc;
}
#events .filter .select ul::after {
	left: 0;
	right: 0;
	bottom: 0;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
}
#events .filter .select li {
	cursor: pointer;
	padding: 0 20px;
}
#events .filter .select li:hover {
	color: #f6a11d;
}

#events .filter button {
	color: #000000;
	border-color: #f6a11d;
}
#events .filter button:hover {
	color: #f3f1dc;
	background-color: #f6a11d;
}

#events .groups {
	display: flex;
	flex-direction: column;
	padding-top: 30px;
}

#events .group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 40px 0;
}
#events .group::before {
	position: absolute;
	content: "";
	bottom: 0;
	width: 100%;
	border-bottom: 1px solid #e4e4e4;
}

#events .group .info {
	padding-left: 35px;
	background: url('img/group.png') left no-repeat;
}

#events .group .day {
	color: #b1b1b1;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: .2em;
	text-transform: uppercase;
}

#events .group .date {
	display: block;
	color: #000000;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .1em;
}
#events .group .date span {
	letter-spacing: .2em;
	text-transform: uppercase;
}

#events .group .text {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}
#events .group .desc {
	flex: 0 0 calc(100% - 640px);
}
#events .group .desc p {
	max-width: 840px;
}
#events .group .place,
#events .group .more {
	flex: 0 0 300px;
}
#events .group .place {
	line-height: 32px;
}

#events .noresult {
	display: flex;
	flex-wrap: wrap;
	gap: 0 30px;
	color: #880203;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding-top: 40px;
}
#events .noresult a {
	position: relative;
	display: block;
	color: #004b5f;
	padding-right: 30px;
}
#events .noresult a:hover {
	color: #000000;
}
#events .noresult a::before, #events .noresult a::after {
	position: absolute;
	content: "";
	top: 3px;
	right: 12px;
	width: 2px;
	height: 22px;
	background-color: #004b5f;
	margin: auto;
}
#events .noresult a::before {
	transform: rotate(45deg);
}
#events .noresult a::after {
	transform: rotate(-45deg);
}
#events .noresult a:hover::before, #events .noresult a:hover::after {
	background-color: #000000;
}

#events .events {
	display: flex;
	flex-wrap: wrap;
	gap: 0 60px;
	overflow: hidden;
}

#events .events article {
	position: relative;
	flex: 0 0 calc(33.333334% - 2*60px/3);
}
#events .events article::before {
	position: absolute;
	content: "";
	bottom: 0;
	width: 100vw;
	border-bottom: 1px solid #e4e4e4;
}

#events .events a {
	display: block;
	height: 100%;
}
#events .events a:hover {
	background-color: #f5f5f5;
}

#events .events .text {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 40px 20px;
}

#events article .name {
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
}
#events article a:hover .name {
	color: #f6a11d;
}

#events article p.desc,
#events article .desc p {
	font-family: 'Literata', sans-serif;
	font-size: 18px;
	line-height: 32px;
}

#events article .more {
	display: block;
	font-family: 'Literata', sans-serif;
	font-size: 18px;
	line-height: 32px;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 300;
}
#events article .more::after {
	content: "›";
	padding-left: 5px;
}
#events article a:hover .more {
	color: #f6a11d;
}

#events .footer {
	padding-top: 40px;
}
#events .footer .button {
	text-align: center;
}

/* event */

#event article {
	display: flex;
	gap: 60px;
}

#event article .text {
	flex: 0 0 calc(50% - 60px/2);
}

#event .properties {
	padding-bottom: 40px;
}
#event .properties .item {
	display: flex;
	gap: 20px;
	padding: 10px 0;
	border-bottom: 1px solid #e4e4e4;	
}
#event .properties .label {
	flex: 0 0 calc(50% - 20px/2 - 30px);
	position: relative;
	color: #b1b1b1;
	padding-left: 30px;
}
#event .properties .label::before {
	position: absolute;
	content: "";
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: url('img/ico-type.png') center no-repeat;
}
#event .properties .city .label::before {
	background-image: url('img/ico-place.png');
}
#event .properties .web .label::before {
	background-image: url('img/ico-web.png');
}
#event .properties .persons .label::before {
	background-image: url('img/ico-user.png');
}
#event .properties .time_from .label::before {
	background-image: url('img/ico-from.png');
}
#event .properties .time_to .label::before {
	background-image: url('img/ico-to.png');
}
#event .properties .all_day .label::before {
	background-image: url('img/ico-day.png');
}
#event .properties .value {
	flex: 0 0 calc(50% - 20px/2);
}

#event article .image {
	flex: 0 0 calc(50% - 60px/2);
}
#event article .image img {
	width: 100%;
}

/* monuments */

#monuments .title {
	font-size: 32px;
	line-height: 40px;
	padding-bottom: 15px;
}

#monuments .monuments {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
}
#monuments .monuments article {
	position: relative;
	flex: 0 0 calc(50% - 60px/2);
}

#monuments .monuments a:hover .image {
	box-shadow: 0 0 20px rgba(0, 0, 0, .25);
}
#monuments .monuments .image img {
	width: 100%;
}

#monuments .monuments .text {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding-top: 25px;
}

#monuments .monuments .name {
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
}
#monuments .monuments a:hover .name {
	color: #f6a11d;
}

#monuments .monuments .desc {
	font-family: 'Literata', sans-serif;
	font-size: 18px;
	line-height: 32px;
}

#monuments .monuments .more {
	display: block;
	font-family: 'Literata', sans-serif;
	font-size: 18px;
	line-height: 32px;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 300;
}
#monuments .monuments .more::after {
	content: "›";
	padding-left: 5px;
}
#monuments .monuments a:hover .more {
	color: #f6a11d;
}

/* articles */

.home #articles {
	position: relative;
	background-color: #f5f5f5;
	z-index: 2;
}
.contact #articles {
	background-color: #f6a11d;
}

#articles .container {
	padding-bottom: 35px;
}
.home #articles .container {
	padding-top: 0;
	padding-bottom: 0;
}

#articles article {
	padding-bottom: 50px;
}
#articles article:last-child {
	padding-bottom: 0;
}
.home #articles article {
	width: calc(50% - 100px);
	background-size: 0;
	padding-top: 150px;
	padding-bottom: 75px;
}
.home #articles article::after {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	left: 50%;
	bottom: 0;
	width: 50vw;
	background-image: inherit;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#articles .name,
#articles h3.wp-block-heading {
	color: #000000;
	font-size: 32px;
	font-weight: 600;
	line-height: 40px;
	padding-bottom: 15px;
}
.home #articles .name {
	font-size: 60px;
	line-height: 70px;
	padding-bottom: 35px;
}

#articles article .image {
	margin-bottom: 25px;
}
#articles article .image img {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

#articles article h4 {
	font-size: 26px;
}

#articles article p {
	margin-bottom: 25px;
}

#articles article ul {
	margin-bottom: 25px;
}
#articles article li {
	position: relative;
	padding-left: 10px;
}
#articles article li::before {
	position: absolute;
	content: "›";
	left: 0;
	color: #f6a11d;
	font-weight: 600;
}

.home #articles .signature {
	color: #f6a11d;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
	background-position: left bottom;
	background-repeat: no-repeat;
	padding-bottom: 100px;
}

#articles .files {
	padding-top: 0;
}

#articles .gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 35px;
}
#articles .gallery .item {
	flex: 0 0 calc(16.666667% - 5*20px/6);
	overflow: hidden;
}
#articles .gallery a {
	display: block;
}
#articles .gallery a:hover {
	opacity: .5;
}
#articles .gallery img {
	width: 100%;
}

#articles .links a {
	font-family: 'Literata', sans-serif;
	font-size: 18px;
	font-weight: 300;
	text-transform: uppercase;
}
#articles .links a::after {
	content: "›";
	padding-left: 5px;
}

.contact #articles a {
	color: #ffffff;
}
.contact #articles a:hover {
	color: #000000;
}

#articles .columns {
	display: flex;
	gap: 70px;
}
#articles .columns .item {
	flex-basis: -moz-available;
}

#articles .quote {
	position: relative;
	max-width: 970px;
	background-color: #f5f5f5;
	padding: 50px 0 15px 0;
	margin: 0 auto 35px auto;
}
#articles .quote::before {
	position: absolute;
	content: "";
	top: 25px;
	left: 25px;
	width: 67px;
	height: 53px;
	background: url('img/quote.png') center no-repeat;
}
#articles .quote p {
	font-family: 'Literata', sans-serif;
	font-size: 26px;
	font-weight: 300;
	line-height: 38px;
	text-align: center;
	padding: 25px 125px;
}

/* persons */

#persons {
	position: relative;
}
#persons::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-bottom: 1px solid #e4e4e4;
}

#persons .container {
	padding-top: 50px;
}

#persons .title {
	font-size: 32px;
	line-height: 40px;
	padding-bottom: 15px;
}

#persons .persons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
}

#persons article {
	flex: 0 0 calc(25% - 3*20px/4);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
#persons article .noimage {
	width: 100px;
	height: 100px;
	background: url('img/person.png') center no-repeat;
}
#persons article .desc {
	color: #b1b1b1;
}

/* partners */

#partners {
	position: relative;
}
#partners::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-bottom: 1px solid #e4e4e4;
}

#partners .container {
	padding-top: 50px;
}

#partners .title {
	font-size: 32px;
	line-height: 40px;
	padding-bottom: 15px;
}

#partners .partners {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
}

#partners article {
	flex: 0 0 calc(20% - 4*20px/5);
}
#partners article a {
	display: block;
	width: 250px;
	height: 125px;
	overflow: hidden;
	text-indent: -99999px;
	background-position: center;
	background-repeat: no-repeat;
	margin: 0 auto;
	filter: grayscale(1);
}
#partners article a:hover {
	filter: grayscale(0);
}

/* form */

#form {
	background-color: #f6a11d;
}

#form .header {
	padding-bottom: 15px;
}

#form .title {
	font-size: 32px;
	line-height: 40px;
}

#form .msg {
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .1em;
}
#form .msg.err {
	color: #880203;
}

#form .form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
}
#form .form .item {
	position: relative;
	flex: 0 0 calc(33.333334% - 2*40px/3);
}

#form input {
	background-color: #f6a11d;
}
#form input[value]:not([value=""]) {
	background-color: transparent;
}
#form input:focus {
	background-color: transparent;
}

#form .buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px 30px;
	padding-top: 35px;
}

#form .desc {
	font-size: 14px;
	line-height: 18px;
}
#form .desc a {
	color: #000000;
	font-size: 14px;
	line-height: 18px;
	text-decoration: underline;
}
#form .desc a:hover {
	color: #ffffff;
	text-decoration: none;
}

/* map */

#map {
	position: relative;
}
#map::after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 51px;
	height: 74px;
	background: url("img/marker.png") no-repeat;
	transform: translateY(-37px);
	margin: auto;
}

#map .container {
	max-width: none;
	padding: 0;
}

#map iframe {
	pointer-events: none;
	filter: grayscale(100%);
	margin-bottom: -12px;
}

/* footer */

footer {
	position: relative;
	background-color: #2f2f2f;
	overflow: hidden;
}
footer::before {
	position: absolute;
	content: "";
	top: 0;
	left: calc(50% + 200px);
	bottom: 0;
	width: 737px;
	background: url('img/river2.png') top no-repeat;
}

/* newsletter */

#newsletter .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

#newsletter .title, #newsletter .name {
	color: #ffffff;
	font-size: 40px;
	font-weight: 400;
	line-height: 48px;
}

#newsletter .button a {
	display: inline-block;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: .2em;
	text-transform: uppercase;
	background-color: transparent;
	padding: 13px 25px 10px 25px;
	border: 2px solid #ffffff;
	border-radius: 30px;
}
#newsletter .button a.more::after {
	display: inline-block;
	content: "";
	width: 22px;
	height: 13px;
	background: url('img/more.png') center no-repeat;
	filter: invert(1);
	padding-left: 15px;
	margin-right: -10px;
}
#newsletter .button a:hover {
	color: #000000;
	background-color: #ffffff;
}
#newsletter .button a.more:hover::after {
	filter: invert(0);
}

/* footer */

#footer {
	position: relative;
}
#footer::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-top: 1px solid #ffffff20;
}

#footer .container {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 35px 0;
}

#footer .brand {
	flex: 0 0 25%;
}
#footer .brand a {
	display: block;
	width: 195px;
	height: 108px;
	overflow: hidden;
	text-indent: -99999px;
	background: url('img/logo2.png') center no-repeat;
}
#footer .brand a:hover {
	filter: brightness(0) invert(1);
}

#footer .info {
	flex: 0 0 75%;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 35px 0;
}

#footer .contact {
	flex: 0 0 33.333334%;
}
#footer .contact p, #footer .contact a {
	color: #ffffff;
	font-size: 18px;
	font-weight: 400;
	line-height: 36px;
}
#footer .contact p {
	padding-bottom: 36px;
}
#footer .contact p:last-child {
	padding-bottom: 0;
}
#footer .contact a:hover {
	color: #f6a11d;
}
#footer .contact strong {
	font-weight: 700;
}

#footer .menu {
	flex: 0 0 33.333334%;
	display: flex;
	flex-direction: column;
}
#footer .menu li, #footer .menu a {
	color: #ffffff;
	font-size: 18px;
	font-weight: 400;
	line-height: 36px;
}
#footer .menu li::before {
	content: "›";
	padding-right: 5px;
}
#footer .menu a:hover {
	color: #f6a11d;
}

#footer .social {
	flex: 0 0 33.333334%;
	display: flex;
	gap: 20px;
}
#footer .social a {
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
	overflow: hidden;
	text-indent: -99999px;
	border: 2px solid #ffffff;
	border-radius: 50%;
}
#footer .social a::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-position: center;
	background-repeat: no-repeat;
}
#footer .social .facebook a::before {
	background-image: url('img/facebook.png');
}
#footer .social .instagram a::before {
	background-image: url('img/instagram.png');
}
#footer .social .youtube a::before {
	background-image: url('img/youtube.png');
}
#footer .social a:hover {
	background-color: #ffffff;
}
#footer .social a:hover::before {
	filter: invert(1);
}

/* copy */

#copy {
	position: relative;
}
#copy::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 1540px;
	margin: 0 auto;
	border-top: 1px solid #ffffff20;
}

#copy .menu {
	display: flex;
	flex-wrap: wrap;
}
#copy .menu li, #copy p, #copy a {
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	line-height: 26px;
}
#copy .menu li::after {
	content: "|";
	padding: 0 10px;
}
#copy .menu li:last-child::after {
	content: none;
}
#copy a:hover {
	color: #f6a11d;
}

/* modal, answer */

#modal, #answer {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #f6a11d;
	z-index: 10;
}
#modal.active, #answer.active {
	display: block;
}

#modal .container, #answer .container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 50px;
}

#modal .title, #answer .title {
	color: #000000;
	font-size: 60px;
	font-weight: 600;
	line-height: 70px;
}

#modal .msg {
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .1em;
}
#modal .msg.err {
	color: #880203;
}

#modal .close, #answer .close {
	position: absolute;
	top: 70px;
	right: 35px;
	width: 60px;
	height: 60px;
	overflow: hidden;
	text-indent: -99999px;
	opacity: 1;
}
#modal .close::before, #modal .close::after,
#answer .close::before, #answer .close::after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 2px;
	height: 100%;
	background-color: #ffffff;
	margin: auto;
}
#modal .close::before, #answer .close::before {
	transform: rotate(45deg);
}
#modal .close::after, #answer .close::after {
	transform: rotate(-45deg);
}
#modal .close:hover::before, #modal .close:hover::after,
#answer .close:hover::before, #answer .close:hover::after {
	background-color: #000000;
}

#modal .form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
}
#modal .form .item {
	position: relative;
	flex: 0 0 calc(33.333334% - 2*40px/3);
}

#modal label {
	position: absolute;
	bottom: 0;
	width: 100%;
	color: #000000;
	font-size: 14px;
	line-height: 18px;
	text-align: right;
	margin: 0;
}

#modal input {
	position: relative;
	display: block;
	width: 100%;
	background-color: #f6a11d;
	padding: 10px 0;
	border: none;
	border-bottom: 1px solid #000000;
	border-radius: 0;
}
#modal input[value]:not([value=""]) {
	background-color: transparent;
}
#modal input:focus {
	background-color: transparent;
	outline: none;
}
#modal input::placeholder {
	color: #000000;
	opacity: 1;
}
#modal input:focus::placeholder {
	opacity: 0;
}

#modal .buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px 30px;
	padding-top: 35px;
}

#modal button {
	cursor: pointer;
	display: block;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: .2em;
	text-transform: uppercase;
	background-color: transparent;
	padding: 15px 25px 10px 25px;
	border: 2px solid #ffffff;
	border-radius: 30px;
}
#modal form button:hover {
	color: #f6a11d;
	background-color: #ffffff;
}

#modal .desc {
	font-size: 14px;
	line-height: 18px;
}
#modal .desc a {
	color: #000000;
	font-size: 14px;
	line-height: 18px;
	text-decoration: underline;
}
#modal .desc a:hover {
	color: #ffffff;
	text-decoration: none;
}

/* datepicker */

.ui-widget {
	position: relative;
	font-family: 'Ambit', sans-serif;
	font-size: 18px;
	line-height: 32px;
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
	border-radius: none;
}

.ui-widget-header .ui-icon {
	position: relative;
	background-image: none;
}

.ui-datepicker .ui-datepicker-prev span::before, .ui-datepicker .ui-datepicker-next span::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('img/arrow.png') center no-repeat;
	background-size: contain;
}
.ui-datepicker .ui-datepicker-next span::before {
	transform: scaleX(-1);
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
	border: none;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
	color: #564034;
	background-color: #e9e9e9;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
	color: #ffffff;
	background-color: #f6a11d;
}

/* media */

@media (max-width: 1600px) {
	header .brand a {
		width: 160px;
		height: 90px;
		background-size: 160px 90px;
	}
	header.fixed .brand a {
		background-size: auto;
	}
	header.fixed .mobile strong {
		margin-top: 20px;
	}

	main {
		padding-top: 170px;
	}

	#path.error .container {
		height: calc(100vh - 170px);
	}

	#slider .carousel-item {
		height: calc(100vh - 170px);
	}
}

@media (max-width: 1400px) {
	header.active {
		border-bottom: 1px solid #00000050;
	}
	header.active::before {
		content: none;
	}
	header .brand {
		position: relative;
		width: 44px;
	}
	header .menu {
		display: none;
		flex-direction: column;
		align-items: center;
		gap: 20px;
		padding: 150px 0 50px 0;
	}
	header.fixed .menu {
		padding-top: 100px;
	}
	header.active .menu {
		display: flex;
	}
	header .menu li.button {
		display: none;
	}
	header .menu li a {
		text-align: center;
	}
	header .menu li.items > a:hover::after,
	header .menu li.items.active > a::after {
		transform: rotate(45deg);
		margin-bottom: 3px;
	}
	header .menu .sub {
		display: block;
		margin-top: 0;
	}
	header .menu .sub::after {
		content: none;
	}
	header .menu .sub a {
		position: relative;
	}
	header .mobile {
		display: block;
	}

	main .title, main .title a {
		font-size: 40px;
		line-height: 50px;
	}

	#slider .desc {
		font-size: 18px;
		line-height: 32px;
	}

	#news .news article {
		flex-basis: calc(33.333334% - 2*35px/3);
	}
	.home #news .news article:nth-child(n+4) {
		display: none;
	}

	#list .list article {
		flex-basis: calc(33.333334% - 2*35px/3);
	}

	#quick::before, #quick::after {
		width: calc(50vw - 300px);
	}
	#quick .title, #quick .title a {
		font-size: 40px;
		line-height: 50px;
	}

	#events .events .name {
		font-size: 28px;
		line-height: 36px;
	}

	.home #articles .name {
		font-size: 40px;
		line-height: 50px;
	}
	#articles .gallery .item {
		flex-basis: calc(20% - 4*20px/5);
	}

	#modal .title, #answer .title {
		font-size: 40px;
		line-height: 50px;
	}
}

@media (max-width: 1200px) {
	#events .filter .form .item {
		flex-basis: calc(50% - 40px/2);
	}
	#events .group .desc {
		flex-basis: calc(100% - 220px);
	}
	#events .group .place {
		flex-basis: 200px;
		text-align: right;
	}

	.home #articles article {
		width: calc(50% - 35px);
	}
	#articles .columns {
		gap: 0 35px;
	}

	#persons article {
		flex-basis: calc(33.333334% - 2*20px/3);
	}

	#newsletter .container {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 1100px) {
	#news .news article {
		flex-basis: calc(50% - 35px/2);
	}
	.home #news .news article:nth-child(n+4) {
		display: block;
	}

	#list .list article {
		flex-basis: calc(50% - 35px/2);
	}

	#events .events {
		gap: 0 40px;
	}
	#events .events article {
		flex-basis: calc(50% - 40px/2);
	}
}

@media (max-width: 1000px) {
	.home header::before {
		left: calc(50% + 209px);
		width: 92px;
		background: url('img/river0.png') bottom no-repeat;
		filter: brightness(0) invert(1);
	}

	#path.error .container {
		height: auto;
		padding-top: 35px;
		padding-bottom: 35px;
	}

	#slider .container::before {
		content: none;
	}
	#slider .carousel-item {
		height: auto;
		padding-top: 75vw;
		min-height: 450px;
	}
	#slider .carousel-item::before {
		left: -35px;
		right: -35px;
		bottom: auto;
		width: 100vw;
		height: 75vw;
	}
	#slider .carousel-item::after {
		position: absolute;
		content: "";
		top: 0px;
		left: calc(50% - 350px);
		width: 768px;
		height: 1576px;
		background: url('img/river.png?v=1') top -200px center no-repeat;
		filter: brightness(0) invert(1);
	}
	#slider .carousel-caption {
		width: 100%;
		height: auto;
		padding: 35px 0 35px 0;
	}
	#slider .carousel-control {
		display: none;
	}
	#slider .date span {
		color: #000000;
	}

	#news {
		position: relative;
		z-index: 2;
	}

	#quick::before, #quick::after {
		width: calc(50vw - 200px);
	}

	#events .events {
		gap: 0;
	}
	#events .events article {
		flex-basis: 50%;
	}
	#events .events .text {
		padding: 30px 15px;
	}

	#event article {
		flex-direction: column;
	}

	.home #articles article {
		width: 100%;
		padding-top: 60px;
		padding-bottom: 40px;
	}
	.home #articles article::after {
		position: relative;
		top: auto;
		left: -35px;
		right: -35px;
		bottom: -40px;
		width: 100vw;
		height: 75vw;
	}
	#articles .gallery .item {
		flex-basis: calc(25% - 3*20px/4);
	}

	#monuments .monuments article {
		flex-basis: 100%;
	}

	#form .form .item {
		flex-basis: calc(50% - 40px/2);
	}

	#modal .form .item {
		flex-basis: calc(50% - 40px/2);
	}

	#footer .brand {
		flex-basis: 33.333334%;
	}
	#footer .info {
		flex-basis: 66.666667%;
	}
	#footer .contact, #footer .menu, #footer .social {
		flex-basis: 50%;
	}
}

@media (max-width: 800px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	header .container {
		padding: 30px 20px;
	}

	main {
		padding-top: 150px;
	}

	.bg #path .container {
		padding-top: 350px;
	}

	#slider .carousel-item::before {
		left: -20px;
		right: -20px;
	}

	#news .header {
		flex-direction: column;
		align-items: flex-start;
	}

	#events .filter form {
		flex-direction: column;
		align-items: flex-start;
		gap: 40px;
	}

	.home #articles article::after {
		left: -20px;
		right: -20px;
	}
	#articles .columns {
		flex-direction: column;
	}
	#articles .columns .item {
		flex-basis: auto;
	}
	#articles .gallery .item {
		flex-basis: calc(33.333334% - 2*20px/3);
	}

	#persons article {
		flex-basis: calc(50% - 20px/2);
	}

	#form .buttons {
		flex-direction: column-reverse;
	}

	#modal .buttons {
		flex-direction: column-reverse;
	}

	#newsletter .container {
		align-items: center;
	}
	#newsletter .title, #newsletter .name {
		font-size: 32px;
		line-height: 40px;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.container {
		padding-left: 10px;
		padding-right: 10px;
	}

	header .container {
		padding: 20px 10px;
	}

	main {
		padding-top: 130px;
	}
	main .title, main .title a {
		font-size: 32px;
		line-height: 40px;
	}

	#slider .carousel-item::before {
		left: -10px;
		right: -10px;
	}

	#news .news article {
		flex-basis: 100%;
	}
	.home #news .news article:nth-child(n+4) {
		display: none;
	}

	#list .list article {
		flex-basis: 100%;
	}

	#quick::before, #quick::after {
		width: calc(50vw - 100px);
	}
	#quick .title, #quick .title a {
		font-size: 32px;
		line-height: 40px;
	}
	#quick .desc, #quick .desc a {
		font-size: 18px;
		line-height: 32px;
	}

	#events .filter .form .item {
		flex-basis: 100%;
	}
	#events .group .desc, #events .group .more {
		flex-basis: 100%;
	}
	#events .group .place {
		display: none;
	}
	#events .events article {
		flex-basis: 100%;
	}
	.home #events .events article:nth-child(n+4) {
		display: none;
	}
	#events .events .text {
		gap: 10px;
		padding: 20px 10px;
	}
	#events .events .name {
		font-size: 24px;
		line-height: 32px;
	}

	.home #articles article::after {
		left: -10px;
		right: -10px;
	}
	.home #articles .name {
		font-size: 32px;
		line-height: 40px;
	}
	#articles .text p {
		font-size: 16px;
		line-height: 30px;
		margin-bottom: 30px;
	}
	#articles .gallery {
		gap: 10px;
	}
	#articles .gallery .item {
		flex-basis: calc(50% - 10px/2);
	}

	#form .form .item {
		flex-basis: 100%;
	}

	#modal .form .item {
		flex-basis: 100%;
	}

	footer .container {
		padding-top: 35px;
		padding-bottom: 35px;
	}

	#newsletter .title, #newsletter .name {
		max-width: 300px;
		font-size: 28px;
		line-height: 34px;
	}

	#footer .brand {
		flex-basis: 100%;
	}
	#footer .info {
		flex-basis: 100%;
	}

	#modal .title, #answer .title {
		font-size: 32px;
		line-height: 40px;
	}
}