/*
	Theme Name: va55
	Author: va55
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html { font-size: 62.5%; }

body {
	font-family: "Rubik", sans-serif;
	color: #000;
	font-size: 14px;
}

.clear:before,
.clear:after { content: ' '; display: table; }
.clear:after { clear: both; }
.clear { *zoom: 1; }

img { max-width: 100%; vertical-align: bottom; }

a { color: #444; text-decoration: none; }
a:hover { color: #444; }
a:focus { outline: 0; }
a:hover, a:active { outline: 0; }

input:focus { outline: 0; border: 1px solid #04A4CC; }

/* Flex utilities */
.flex { display: flex; }
.wrap { flex-wrap: wrap; }
.column { flex-direction: column; }
.center { align-items: center; }
.j-end { justify-content: flex-end; }
.end { align-items: flex-end; }
.baseline { align-items: baseline; }
.j-center { justify-content: center; }
.between { justify-content: space-between; }

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.wrapper {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/

/* Header */
.header {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 20px 0;
}

.header .flex.center {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Logo */
.logo a { display: block; line-height: 0; }
.logo-img { width: 137px; min-width: 137px; }

/* Nav */
.nav { display: none; flex: 1; }

.nav ul { list-style: none; margin: 0; padding: 0; }

.nav a {
	font-size: 12px;
	font-weight: 700;
	color: #1a1a1a;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s;
}

.nav a:hover,
.nav li.current-menu-item > a,
.nav li.current_page_item > a { color: #e10702; }

/* Mobile sub-menu */
.nav .sub-menu { padding-left: 16px; }

.nav .sub-menu a {
	display: block;
	padding: 8px 0;
	font-size: 11px;
	border-bottom: 1px solid #f0f0f0;
}

/* Mobile nav open */
.nav.is-open {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid #e8e8e8;
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
	padding: 8px 24px 16px;
	z-index: 999;
}

.nav.is-open > ul > li > a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid #f0f0f0;
}

/* Header actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex-shrink: 0;
}

/* Phone */
.header-phone {
	display: none;
	align-items: center;
	background: #e10702;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 50px;
	white-space: nowrap;
	transition: background .15s;
}

.header-phone:hover { background: #b80601; color: #fff; }

/* Hamburger */
.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #1a1a1a;
	transition: all .2s;
}

.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search toggle */
.search-toogle {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	color: #1a1a1a;
	padding: 4px;
	font-size: 15px;
	font-weight: 300;
	transition: color .15s;
}

.search-toogle:hover { color: #e10702; }

/* Search panel */
.top-search-form {
	display: none;
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    left: 0;
    z-index: 999;
    border: 1px solid #000;
    max-width: calc(100% - 20px);
    margin: 0 auto;
}

.top-search-form form { width: 100%; position: relative; }

.top-search-form input {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	border: none;
	outline: none;
	padding-right: 70px;
}

.search-submit {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	border: none;
	outline: none;
	background: none;
	color: #0f2f45;
	cursor: pointer;
}

/* mmenu */
#mmenu_button { display: flex; }
#mmenu_button svg { width: 28px; }
.mm-menu_offcanvas { z-index: 9; }

/*------------------------------------*\
    BANNER
\*------------------------------------*/

/* Banner slider */
.banner-wrap { width: 100%; overflow: hidden; }

.banner-swiper { width: 100%; position: relative; }

.banner-swiper .swiper-slide { width: 100%; line-height: 0; }

.banner-swiper .swiper-slide img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
	width: 44px;
	height: 44px;
	background: rgba(255,255,255,.25);
	border: 2px solid rgba(255,255,255,.8);
	border-radius: 50%;
	transition: background .2s;
}

.banner-swiper .swiper-button-prev:hover,
.banner-swiper .swiper-button-next:hover { background: rgba(255,255,255,.45); }

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

/*------------------------------------*\
    PRACTICAL INFO
\*------------------------------------*/

/* Shared headline */
.main_headline {
	text-align: center;
	font-size: 23px;
	font-weight: 600;
	color: #e10702;
	margin: 0 0 40px;
}

/* Practical info */
.practical-info { padding: 40px 0; }

.practical-info__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

a.practical-info__item { text-decoration: none; color: inherit; }

a.practical-info__item:hover .practical-info__img img { transform: scale(1.04); }
a.practical-info__item:hover .practical-info__title { color: #e10702; }

.practical-info__img {
	width: 100%;
	overflow: hidden;
	margin-bottom: 14px;
}

.practical-info__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.practical-info__title {
	font-size: 15px;
	font-weight: 600;
	color: #000;
	margin: 0 0 8px;
	transition: color .15s;
}

.practical-info__text {
	font-size: 13px;
	line-height: 20px;
	color: #000;
}

.practical-info__text p { margin: 0; }

/* Practical info swiper */
.practical-swiper { padding-bottom: 36px !important; }

.practical-swiper .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #ccc;
	opacity: 1;
}

.practical-swiper .swiper-pagination-bullet-active { background: #e10702; }
/* Practical info swiper fade edges */
.practical-swiper::before,
.practical-swiper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 36px; /* clear pagination dots */
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.practical-swiper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 100%);
}

.practical-swiper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 100%);
}

/*------------------------------------*\
    GALLERY
\*------------------------------------*/
/* Gallery */
.gallery-block { padding: 40px 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 6px;
}

.gallery-grid__item {
    display: block;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gallery-grid__item:hover img { transform: scale(1.04); }

/* footer */
.footer{
    background: #202020;
    text-align: center;
    font-size: 13px;
    color: #fff;
        padding: 42px 0;
}

.footer a{
	color: #fff;
}

.footer p{
    margin: 0;
    font-size: 13px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* boxes */
.boxes {
    margin: 40px 0 20px 0;
}

.boxes-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.boxes .box {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.custom-boxes .box-wrapper {
    background: #fff;
    height: 100%;
}

.box-wrapper {
    border-radius: 10px;
    align-items: center;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.box-wrapper img {
    max-width: 48px;
    margin-bottom: 10px;
}

.box-wrapper .h3, .box-wrapper h3 {
    margin-bottom: 0;
    margin-top: auto;
    font-size: 21px;
}
.iframe-wrapper{
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.iframe-wrapper iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/
/*------------------------------------*\
    GALLERY
\*------------------------------------*/

.gallery {
	padding: 40px 0;
}

.galleryGrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.galleryGrid__item {
	display: block;
	position: relative;
	line-height: 0;
	overflow: hidden;
}

.galleryGrid__item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease, opacity 0.3s ease;
}

.galleryGrid__item:hover img {
	transform: scale(1.04);
	opacity: 0.9;
}

.galleryGrid__item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.galleryGrid__item:hover::after {
	opacity: 1;
}

@media only screen and (min-width: 768px) {
	.galleryGrid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (min-width: 1024px) {
	.galleryGrid {
		grid-template-columns: repeat(4, 1fr);
	}
}


/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family: 'Font-Name';
	src: url('fonts/font-name.eot');
	src: url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		 url('fonts/font-name.woff') format('woff'),
		 url('fonts/font-name.ttf') format('truetype'),
		 url('fonts/font-name.svg#font-name') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection { background: #04A4CC; color: #fff; text-shadow: none; }
::-webkit-selection { background: #04A4CC; color: #fff; text-shadow: none; }
::-moz-selection { background: #04A4CC; color: #fff; text-shadow: none; }

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }

.wp-caption img {
	border: 0;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }

.sticky {}
.bypostauthor {}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 320px) {}

@media only screen and (min-width: 480px) {
	    .boxes .box {
        width: 50%;
    }
}

@media only screen and (min-width: 600px) {

	/* Practical info */
	.practical-info__grid {
		grid-template-columns: repeat(3, 1fr);
	}

}

@media only screen and (min-width: 768px) {
	  .boxes .box {
        width: 33.333%;
    }
}

@media only screen and (min-width: 960px) {}

@media only screen and (min-width: 1024px) {

	/* Nav */
	.nav {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.nav > ul {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.nav.is-open {
		display: flex;
		position: static;
		border-top: none;
		padding: 0;
		box-shadow: none;
	}

	.nav.is-open > ul > li > a {
		padding: 0;
		border-bottom: none;
	}

	/* Dropdown */
	.nav li { position: relative; }

	.nav .sub-menu {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 210px;
		padding: 8px 0;
		background: #fff;
		border-top: 2px solid #e10702;
		box-shadow: 0 8px 24px rgba(0,0,0,.1);
		transform: translateY(-6px);
		transition: opacity .2s, visibility .2s, transform .2s;
		z-index: 999;
	}

	.nav li:hover > .sub-menu {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.nav .sub-menu a { padding: 9px 18px; border-bottom: none; font-size: 11px; }
	.nav .sub-menu a:hover { background: #fafafa; }

	/* 2nd level */
	.nav .sub-menu .sub-menu {
		top: -10px;
		left: 100%;
		transform: translateX(-6px) translateY(0);
	}

	.nav .sub-menu li:hover > .sub-menu { transform: translateX(0) translateY(0); }

	.nav .sub-menu .menu-item-has-children > a::after {
		transform: rotate(-45deg);
		float: right;
		margin-top: 5px;
		margin-left: 8px;
	}

	/* Phone + hamburger */
	.header-phone { display: inline-flex; }
	.menu-toggle { display: none; }
	#mmenu_button { display: none; }

	/* Practical info */
	.practical-info__grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 24px;
	}
/* Gallery */
.gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 8px;
}

/* Tall — spans 2 rows */
.gallery-grid__item:nth-child(12n+3),
.gallery-grid__item:nth-child(12n+7)  { grid-row: span 2; }

/* Wide — spans 2 columns */
.gallery-grid__item:nth-child(12n+5),
.gallery-grid__item:nth-child(12n+12) { grid-column: span 2; }
}

@media only screen and (min-width: 1140px) {

	.nav > ul { gap: 22px; }

}

@media only screen and (min-width: 1280px) {

	.nav a { letter-spacing: 1px; }

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min-resolution: 144dpi) {}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}