/*!
Theme Name: Коррупция в Крыму
Theme URI: http://underscores.me/
Author: WEBTOP
Author URI: https://web24.pro/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: koruptsya-krym
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Коррупция в Крыму is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz@0,14..32;1,14..32&family=Playfair+Display:ital@0;1&display=swap');

:root {
	--container: 1316px;

	--text-size: 14px;
	--text-size-sm: 12px;
	--h1-size: 38px;
	--h2-size: 32px;
	--h3-size: 28px;
	--h4-size: 24px;
	--h5-size: 20px;
	--h6-size: 18px;
	
	--black: #000000;
	--white: #FFFFFF;
	--purple: #6600EA;
	--grey: #595959;
	--grey-light: #E8E6E6;
}
*, ::after, ::before {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	font-size: var(--text-size);
	font-weight: 400;
	font-family: 'Inter', sans-serif;
	line-height: 1.3;
	color: var(--black);
	background: var(--white);
}
a {
	text-decoration: underline;
	color: var(--black);
	transition: .5s;
}
a:hover {
	color: var(--purple);
}
img {
	margin: 0;
	vertical-align: middle;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
.bg-cover {
	position: relative;
}
.bg-cover img,
.bg-cover video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.bg-cover span {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	margin: 0 0 16px;
	line-height: 1.1;
}
h1 {
	font-size: var(--h1-size);
}
h2 {
	font-size: var(--h2-size);
}
h3 {
	font-size: var(--h3-size);
}
h4 {
	font-size: var(--h4-size);
}
h5 {
	font-size: var(--h5-size);
}
h6 {
	font-size: var(--h6-size);
}
p, ul, ol, blockquote {
	margin: 0 0 16px;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child, ul:last-child, ol:last-child, blockquote:last-child {
	margin-bottom: 0;
}
iframe {
	max-width: 100%;
}
.form-fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px -30px;
}
.form-field {
	position: relative;
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0 15px;
	margin-bottom: 30px;
}
.form-field-50 {
	flex: 0 0 50%;
	max-width: 50%;
}
.form-field > label {
	color: var(--grey);
	display: block;
	line-height: 1.2;
	width: 100%;
	margin-bottom: 6px;
}
::-webkit-input-placeholder {
	color: var(--grey);
}
::-moz-placeholder {
	color: var(--grey);
}
:-ms-input-placeholder {
	color: var(--grey);
}
:-moz-placeholder {
	color: var(--grey);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
	font-size: var(--text-size);
	font-weight: 400;
	font-family: 'Inter', sans-serif;
	line-height: 1.5;
	width: 100%;
	background: var(--white);
	border: none;
	border-bottom: 1px solid var(--grey);
	color: var(--black);
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	padding: 0 0 10px;
	min-height: 44px;
	outline: none;
	transition: .5s;
}
textarea {
	height: 100px;
	resize: vertical;
}
select {
	cursor: pointer;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
	border-color: var(--black);
}
.form-field-button {
	text-align: center;
}
.wpcf7-spinner {
	position: absolute;
	right: 0;
	top: 0;
}
.wpcf7-not-valid-tip {
	margin-top: 2px;
}
.wpcf7 form .wpcf7-response-output {
	margin: 30px 0 0;
	padding: 10px 15px;
}


.screen-reader-text {
	display: none;
}
.container {
	width: 100%;
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
}
.section {
	position: relative;
	padding-top: 80px;
	padding-bottom: 80px;
	z-index: 1;
}
.section-md {
	position: relative;
	padding-top: 54px;
	padding-bottom: 54px;
	z-index: 1;
}
.pt-0 {
	padding-top: 0 !important;
}
.pb-0 {
	padding-bottom: 0 !important;
}
.mt-0 {
	margin-top: 0 !important;
}
.mb-0 {
	margin-bottom: 0 !important;
}
@media (min-width: 992px) {
	.hide-lg {
		display: none !important;
	}
}
.bottom-line {
	border-bottom: 1px solid var(--black);
}


.heading {
	position: relative;
	margin-bottom: 50px;
}
.heading.center {
	text-align: center;
}
.heading h1,
.heading h2 {
	font-size: var(--h1-size);
	text-transform: uppercase;
}


.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: var(--text-size);
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	line-height: 1.5;
	border: 1px solid transparent;
	padding: 10px 35px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	text-decoration: none;
	outline: none;
	min-width: 200px;
	min-height: 44px;
	cursor: pointer;
	transition: .5s;
}
.btn-primary {
	background-color: var(--purple);
	border-color: var(--purple);
	color: var(--white);
}
.btn-primary:hover {
	background-color: var(--black);
	border-color: var(--black);
	color: var(--white);
}
.btn.btn-link {
	padding: 0;
	min-width: inherit;
	min-height: inherit;
	color: var(--grey);
}
.btn.btn-link:hover {
	color: var(--purple);
}


/*
.modal-mobile {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -9999;
	opacity: 0;
	transition: .5s;
}
.modal-mobile.show {
	z-index: 9999;
	opacity: 1;
}
.modal-mobile-bg {
	background: rgb(0 0 0 / 45%);
	position: absolute;
	opacity: 0;
	transition: .5s;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.modal-mobile.show .modal-mobile-bg {
	opacity: 1;
}
.modal-mobile-wrap {
	position: relative;
	background: var(--white);
	height: 100%;
	width: 100%;
	max-width: 360px;
	margin-left: auto;
	transform: translateX(100%);
	padding: 60px 20px 20px;
	transition: .5s;
	overflow: auto;
	z-index: 1;
}
.modal-mobile.show .modal-mobile-wrap {
	transform: translateX(0);
}
.modal-mobile-close {
	position: absolute;
	top: 15px;
	right: 15px;
	-webkit-mask-image: url(images/close.svg);
	mask-image: url(images/close.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background-color: var(--grey);
	width: 34px;
	height: 34px;
	border: none;
	padding: 0;
	outline: none !important;
	transition: .5s;
}
.modal-mobile-close:hover {
	background-color: var(--black);
}
.mobile-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mobile-menu li {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	z-index: 1;
}
.mobile-menu li:last-child {
	margin-bottom: 0;
}
.mobile-menu > li {
	border-bottom: 1px solid var(--grey-light);
}
.mobile-menu > li:last-child {
	border-bottom: 0;
}
.mobile-menu li a {
	order: 1;
	font-size: var(--text-size-md);
	flex: 0 0 100%;
	max-width: 100%;
	position: relative;
	font-weight: 500;
	display: block;
	padding: 13px 0;
	z-index: 1;
}
.mobile-menu li.menu-item-has-children > a {
	flex: 0 0 calc(100% - 32px);
	max-width: calc(100% - 32px);
}
.mobile-menu li:hover > a,
.mobile-menu li.current-menu-item > a {
	color: var(--green);
}
.mobile-menu-chevrone {
	order: 2;
	-webkit-mask-size: 12px;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-image: url(images/arrow-up.svg);
	mask-image: url(images/arrow-up.svg);
	background-color: var(--black);
	flex: 0 0 32px;
	max-width: 32px;
	width: 32px;
	height: 32px;
	cursor: pointer;
	transform: rotate(180deg);
	transition: .5s;
}
.mobile-menu li.menu-item-has-children:hover > .mobile-menu-chevrone {
	background-color: var(--green);
}
.mobile-menu li.menu-item-has-children.active > .mobile-menu-chevrone {
	background-color: var(--green);
	transform: rotate(0deg);
}
.mobile-menu ul {
	flex: 0 0 100%;
	max-width: 100%;
	display: none;
	order: 3;
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
	z-index: 9;
}
.main-menu ul li {
	position: relative;
}
.main-menu ul li:last-child {
	margin-bottom: 0;
}
.main-menu ul li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 20px;
}
.main-menu ul li:hover > a {
	color: var(--green);
}
.main-menu ul li.menu-item-has-children > a:after {
	content: '';
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-image: url(images/arrow-up.svg);
	mask-image: url(images/arrow-up.svg);
	background-color: var(--black);
	flex: 0 0 7px;
	max-width: 7px;
	width: 7px;
	height: 7px;
	margin-left: 5px;
	transform: rotate(-90deg);
	transition: .5s;
}
.main-menu ul li.menu-item-has-children:hover > a:after {
	background-color: var(--green);
}
.main-menu ul ul {
	top: -16px;
	left: 100%;
}
*/



.wp-caption {
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.wp-caption-text {
	text-align: center;
}
.gallery {
	display: flex;
	flex-wrap: wrap;
	margin: 32px -15px 2px;
}
.gallery:first-child {
	margin-top: 0;
}
.gallery:last-child {
	margin-bottom: -30px;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
	margin: 0 0 24px;
	padding: 0 12px;
}
.gallery-item > * {
	overflow: hidden;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
}
.gallery-columns-2 .gallery-item {
	flex: 0 0 calc(100% / 2);
	max-width: calc(100% / 2);
}
.gallery-columns-2 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px) / 2);
}
.gallery-columns-3 .gallery-item {
	flex: 0 0 calc(100% / 3);
	max-width: calc(100% / 3);
}
.gallery-columns-3 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px * 2) / 3);
}
.gallery-columns-4 .gallery-item {
	flex: 0 0 calc(100% / 4);
	max-width: calc(100% / 4);
}
.gallery-columns-4 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px * 3) / 4);
}
.gallery-columns-5 .gallery-item {
	flex: 0 0 calc(100% / 5);
	max-width: calc(100% / 5);
}
.gallery-columns-5 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px * 4) / 5);
}
.gallery-columns-6 .gallery-item {
	flex: 0 0 calc(100% / 6);
	max-width: calc(100% / 6);
}
.gallery-columns-6 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px * 5) / 6);
}
.gallery-columns-7 .gallery-item {
	flex: 0 0 calc(100% / 6);
	max-width: calc(100% / 6);
}
.gallery-columns-7 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px * 6) / 7);
}
.gallery-columns-8 .gallery-item {
	flex: 0 0 calc(100% / 8);
	max-width: calc(100% / 8);
}
.gallery-columns-8 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px * 7) / 8);
}
.gallery-columns-9 .gallery-item {
	flex: 0 0 calc(100% / 9);
	max-width: calc(100% / 9);
}
.gallery-columns-9 .gallery-item > * {
	height: calc((var(--container) * .66 - 30px * 8) / 9);
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: .5s;
}
.gallery-item a:hover img {
	transform: scale(1.08);
}
.gallery-caption {
	display: block;
}
.alignleft {
	float: left;
	margin-right: 30px;
	margin-bottom: 20px;
}
.alignright {
	float: right;
	margin-left: 30px;
	margin-bottom: 20px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}
img.alignleft,
img.alignright,
img.aligncenter {
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
}


.wrapper {
	position: relative;
	z-index: 1;
}

.header {
	position: relative;
	padding: 45px 0;
	z-index: 1;
}
.header-title {
	font-size: calc(var(--h1-size) * 2);
	text-align: center;
	text-transform: uppercase;
}
.header-title a {
	text-decoration: none;
}
.header-title a:hover {
	color: var(--black);
}

.nav {
	position: sticky;
	top: 0;
	background: var(--white);
	border-top: 1px solid var(--black);
	border-bottom: 1px solid var(--black);
	z-index: 92;
}
.nav-wrap {
	display: flex;
	max-width: 100%;
}
.main-menu {
	flex: 0 0 auto;
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.main-menu li {
	border-left: 1px solid var(--black);
}
.main-menu li:last-child {
	border-right: 1px solid var(--black);
}
.main-menu li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	min-width: 165px;
	padding: 10px 16px;
	text-decoration: none;
}

.nav-search {
	flex: auto;
	max-width: 165px;
	border-right: 1px solid var(--black);
	padding: 10px 16px;
	display: flex;
	justify-content: center;
	height: 48px;
	transition: all .5s ease;
}
.nav-search:focus-within {
	flex: 1 1 auto;
	max-width: 100%;
}
.search-form {
	width: 100%;
	display: flex;
}
.page-content .search-form {
	border-bottom: 1px solid var(--black);
	height: 50px;
}
.search-form input {
	flex: auto;
	max-width: calc(100% - 24px);
	font-weight: 400;
	font-size: var(--text-size);
	font-family: 'Inter', sans-serif;
	line-height: 1.5;
	color: var(--black);
	background: transparent;
	padding: 0;
	border: none;
	outline: none;
}
.search-form button {
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-image: url(images/search.svg);
	mask-image: url(images/search.svg);
	background-color: var(--black);
	flex: 0 0 24px;
	max-width: 24px;
	width: 24px;
	border: none;
	outline: none;
	padding: 0;
	cursor: pointer;
	transition: .5s;
}
.search-form button:hover {
	background-color: var(--purple);
}

.nav-toggle {
	display: flex;
	align-items: center;
	padding: 0 24px;
}
.nav-toggle button {
	-webkit-mask-size: 28px;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-image: url(images/menu.svg);
    mask-image: url(images/menu.svg);
    background-color: var(--black);
    flex: 0 0 36px;
    max-width: 36px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    outline: none;
    padding: 0;
    transition: 0s;
}
.nav-toggle button.active {
	-webkit-mask-size: 36px;
	-webkit-mask-image: url(images/close.svg);
    mask-image: url(images/close.svg);
}
.nav-toggle button:hover {
	background-color: var(--purple);
}


.footer {
	position: relative;
	background: var(--grey-light);
	padding: 12px 0;
	z-index: 1;
}
.copyright {
	text-align: center;
}



.heading.about-heading {
	margin-bottom: 16px;
}


.blog-button {
	position: relative;
	margin-top: 50px;
	text-align: center;
	z-index: 2;
}


.feedback-form {
	max-width: 870px;
	margin: 0 auto;
}



.blog-items {
	position: relative;
	z-index: 1;
}
.blog-item {
	position: relative;
	margin-bottom: 32px;
	z-index: 1;
}
.blog-item:last-child {
	margin-bottom: 0;
}
.blog-item__wrap {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid var(--black);
	min-height: 360px;
}
.blog-item__left {
	flex: 0 0 40%;
	max-width: 40%;
}
.blog-item__image {
	height: 100%;
}
.blog-item__right {
	flex: auto;
	padding: 32px;
}
.blog-item__title {
	font-family: 'Inter', sans-serif;
	font-size: var(--h4-size);
}
.blog-item__title a {
	text-decoration: none;
}
.blog-item__excerpt {
	margin-bottom: 20px;
}




.page-header {
	position: relative;
	z-index: 1;
}
.page-header-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}
.page-header-bg:after {
	content: '';
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.59) 0%, rgba(0, 0, 0, 0.4425) 55.62%, rgba(102, 102, 102, 0.413) 100%);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}
.page-breadcrumbs {
	position: relative;
	padding: 16px 0;
	border-bottom: 1px solid var(--white);
	color: var(--white);
	z-index: 1;
}
.page-breadcrumbs a {
	text-decoration: none;
	color: var(--white);
}
.page-breadcrumbs a:hover {
	color: var(--purple);
}
.page-breadcrumbs i {
	-webkit-mask-image: url(images/expand_right.svg);
	mask-image: url(images/expand_right.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background-color: var(--white);
	width: 24px;
	height: 24px;
	display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
}
.page-title {
	font-size: var(--h1-size);
	text-align: center;
	color: var(--white);
	padding: 50px 0;
	text-transform: uppercase;
}



.error-404-number {
	font-size: calc(var(--h1-size) * 6);
	line-height: 1;
	text-align: center;
	margin-bottom: 32px;
}
.error-404-button {
	text-align: center;
}





.navigation.pagination {
	position: relative;
	margin-top: 32px;
	z-index: 2;
}
.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-links .page-numbers {
	margin-right: 15px;
	border: 1px solid var(--grey-light);
	min-width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	text-decoration: none;
}
.nav-links .page-numbers:last-child {
	margin-right: 0;
}
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
	background-color: var(--purple);
	color: var(--white);
	border-color: var(--purple);
}



.singleBlog-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.singleBlog-left {
	flex: 0 0 calc(100% / 3 - 16px);
	max-width: calc(100% / 3 - 16px);
}
.singleBlog-right {
	flex: 0 0 calc(100% / 3 * 2 - 16px);
	max-width: calc(100% / 3 * 2 - 16px);
}
.singleBlog-image {
	margin-bottom: 16px;
}



.widget {
	position: relative;
	margin-bottom: 32px;
	border: 1px solid var(--black);
	padding: 24px;
	z-index: 1;
}
.widget:last-child {
	margin-bottom: 0;
}
.widget-title {
	font-size: var(--h4-size);
	font-family: 'Inter', sans-serif;
	margin-bottom: 24px;
}

.blogLatest-items {
	position: relative;
	z-index: 1;
}
.blogLatest-item {
	position: relative;
	margin-bottom: 24px;
	z-index: 1;
}
.blogLatest-item:last-child {
	margin-bottom: 0;
}
.blogLatest-item__wrap {
	border-bottom: 1px solid var(--black);
	padding: 0 0 16px;
}
.blogLatest-item:last-child .blogLatest-item__wrap {
	border-bottom: none;
	padding-bottom: 0;
}
.blogLatest-item__date {
	font-size: var(--text-size-sm);
	margin-bottom: 8px;
}
.blogLatest-item__title {
	font-size: var(--h5-size);
	margin-bottom: 8px;
}
.blogLatest-item__title a {
	text-decoration: none;
}
.blogLatest-item__excerpt {
	margin-bottom: 8px;
	overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}





@media (max-width: 1399px) {
	:root {
		--container: 1116px;

		--text-size: 14px;
		--text-size-sm: 12px;
		--h1-size: 36px;
		--h2-size: 32px;
		--h3-size: 28px;
		--h4-size: 24px;
		--h5-size: 20px;
		--h6-size: 18px;
	}
	.header {
		padding: 40px 0;
	}
	.header-title {
		font-size: calc(var(--h1-size) * 1.8);
	}
}





@media (max-width: 1199px) {
	:root {
		--container: 916px;

		--text-size: 14px;
		--text-size-sm: 12px;
		--h1-size: 32px;
		--h2-size: 28px;
		--h3-size: 24px;
		--h4-size: 22px;
		--h5-size: 18px;
		--h6-size: 16px;
	}
	.header-title {
		font-size: calc(var(--h1-size) * 1.6);
	}
}





@media (max-width: 991px) {
	:root {
		--container: 696px;

		--text-size: 14px;
		--text-size-sm: 12px;
		--h1-size: 28px;
		--h2-size: 24px;
		--h3-size: 22px;
		--h4-size: 20px;
		--h5-size: 18px;
		--h6-size: 16px;
	}
	.section {
		padding-top: 65px;
		padding-bottom: 65px;
	}
	.section-md {
		padding-top: 45px;
		padding-bottom: 45px;
	}
	.heading {
		margin-bottom: 32px;
	}
	.alignleft,
	.alignright,
	.aligncenter {
		max-width: 50%;
	}
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.gallery-columns-3 .gallery-item > *,
	.gallery-columns-4 .gallery-item > *,
	.gallery-columns-5 .gallery-item > *,
	.gallery-columns-6 .gallery-item > *,
	.gallery-columns-7 .gallery-item > *,
	.gallery-columns-8 .gallery-item > *,
	.gallery-columns-9 .gallery-item > * {
		height: calc((var(--container) * .66 - 30px) / 2);
	}
	.header {
		padding: 24px 0;
	}
	.header-title {
		font-size: calc(var(--h1-size) * 1.4);
	}
	.blog-item__right {
		padding: 24px;
	}
	.blog-button {
		margin-top: 32px;
	}
	.page-breadcrumbs {
		padding: 12px 0;
	}
	.page-title {
		padding: 32px 0;
	}

	.nav-wrap {
		position: relative;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.nav-search {
		max-width: calc(100% - 84px);
	}
	.main-menu {
		display: none;
		position: absolute;
		width: 100%;
		top: 100%;
		background: var(--white);
		flex: 0 0 100%;
		max-width: 100%;
		order: 3;
		border: 1px solid var(--black);
	}
	.main-menu.visible {
		display: block;
	}
	.main-menu li {
		border: none;
		/*border-bottom: 1px solid var(--black);*/
	}
	.main-menu li:last-child {
		border-right: none;
	}
	.main-menu li:last-child {
		border-bottom: none;
	}
}





@media (max-width: 767px) {
	:root {
		--container: calc(100vw - 32px);

		--text-size: 14px;
		--text-size-sm: 12px;
		--h1-size: 28px;
		--h2-size: 24px;
		--h3-size: 22px;
		--h4-size: 20px;
		--h5-size: 18px;
		--h6-size: 16px;
	}
	.gallery-columns-3 .gallery-item > *,
	.gallery-columns-4 .gallery-item > *,
	.gallery-columns-5 .gallery-item > *,
	.gallery-columns-6 .gallery-item > *,
	.gallery-columns-7 .gallery-item > *,
	.gallery-columns-8 .gallery-item > *,
	.gallery-columns-9 .gallery-item > * {
		height: calc((var(--container) - 30px) / 2);
	}
	.header-title {
		font-size: 5vw;
	}
	.hero-image {
		height: 320px;
	}
	.blog-item__wrap {
		min-height: inherit;
	}
	.blog-item__left {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.blog-item__image {
		height: calc(var(--container) / 1.75);
	}
	.blog-item__image span {
		position: relative;
	}
	.blog-item__right {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.singleBlog-right {
		flex: 0 0 100%;
		max-width: 100%;
		order: 1;
		margin-bottom: 32px;
	}
	.singleBlog-left {
		flex: 0 0 100%;
		max-width: 100%;
		order: 2;
	}
}



@media (max-width: 575px) {
	:root {
		--container: calc(100vw - 32px);

		--text-size: 14px;
		--text-size-sm: 12px;
		--h1-size: 24px;
		--h2-size: 22px;
		--h3-size: 20px;
		--h4-size: 18px;
		--h5-size: 16px;
		--h6-size: 15px;
	}
	.gallery {
		margin: 16px -6px 4px;
	}
	.gallery-item {
		margin: 0 0 12px;
		padding: 0 6px;
	}
	.gallery-columns-2 .gallery-item > *,
	.gallery-columns-3 .gallery-item > *,
	.gallery-columns-4 .gallery-item > *,
	.gallery-columns-5 .gallery-item > *,
	.gallery-columns-6 .gallery-item > *,
	.gallery-columns-7 .gallery-item > *,
	.gallery-columns-8 .gallery-item > *,
	.gallery-columns-9 .gallery-item > * {
		height: calc((var(--container) - 12px) / 2);
	}
}