@font-face {
    font-family: "Manrope";
    src: url('/wp-content/themes/andee/assets/fonts/Manrope/Manrope-VariableFont_wght.woff2') format("woff2"),
        url('/wp-content/themes/andee/assets/fonts/Manrope/Manrope-VariableFont_wght.ttf') format("truetype");
}

/* @font-face {
    font-family: "Cormorant";
    src: url('/wp-content/themes/andee/assets/fonts/Cormorant/Cormorant-Medium.woff2') format("woff2"),
        url('/wp-content/themes/andee/assets/fonts/Cormorant/Cormorant-Medium.ttf') format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Cormorant";
    src: url('/wp-content/themes/andee/assets/fonts/Cormorant/Cormorant-Bold.woff2') format("woff2"),
        url('/wp-content/themes/andee/assets/fonts/Cormorant/Cormorant-Bold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
} */

@font-face { 
    font-family: "Cormorant";
    src: url('/wp-content/themes/andee/assets/fonts/Cormorant/Cormorant-VariableFont.woff2') format("woff2"), 
         url('/wp-content/themes/andee/assets/fonts/Cormorant/Cormorant-VariableFont.ttf') format("truetype");
}

::selection {
    background: #2E85EC;
}

:root {
    --color-accent: #A99A71;
    --color-accent-dark: #8C7C51;
    --color-btn: #E6A95A;
    --color-btn-hover: #DD9B44;
    --color-txt: #181614;
    --color-txt-light: #F4EFE5;
    --color-txt-gray: #6A6A6A;
    --color-bg: #F4EFE5;
    --color-bg-light: #FFFEF5;
    --color-bg-gray: #F5F5F6;
    --color-border: #E3DBCA;
    --color-border-focus: #E3DBCA;
    --color-biege: #DECFB1;
    --font-size-h1: 54px;
    --font-size-h2: 32px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --font-size-p: 18px;
    --font-size-p-med: 16px;
    --font-size-p-min: 14px;
    --font-size-p-micro: 12px;
    --family-p: Manrope, sans-serif;
    --family-h: Cormorant, serif;
    --radius: 30px;
    --radius-inp: 0;
    --padding-box: 30px;
    --space: 80px;
    --space-05: calc(var(--space) / 2);
    --gap: 30px;
    --shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

html {
    font-size: var(--font-size-p);
}

body {
    font-family: var(--family-p);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-txt);
    background-color: var(--color-bg);
    margin: 0;
    box-sizing: border-box;
}

.an_main {
    position: relative;
}

.an_main>section {
    margin-bottom: var(--space);
}

.container {
    max-width: 1420px;
    padding: 0 var(--gap);
    box-sizing: content-box;
    margin-left: auto;
    margin-right: auto;
}

.container--full {
    max-width: 100%;
}

.container--slim {
    max-width: 740px;
}

.container--slim-600 {
    max-width: 600px;
}

.container--slim-800 {
    max-width: 800px;
}

.container--slim-1100 {
    max-width: 1100px;
}

.container--slim-1200 {
    max-width: 1200px;
}

img {
    max-width: 100%;
}

img[data-lazy][src=""] {
    visibility: hidden;
}

a:focus, button:focus {
    outline: none !important;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 400;
    font-family: var(--family-h);
    color: inherit;
}

h1, h2 {
    margin-bottom: 1em;
    text-transform: uppercase;
    font-weight: 500;
}

.no_h_ttu :is(h1, h2) {
    text-transform: none;
}

h3:not(:last-child) {
    margin-bottom: 0.7em;
}

:is(h1, h2, h3, h4):first-child {
    margin-top: 0;
}

:is(h1, h2, h3, h4):not(:first-child) {
    margin-top: 1.5em;
}

h2 {
    margin-bottom: 0.7em;
}

.container>h2:has(+div) {
    margin-bottom: 1em;
}

h1,
.fs_h1 {
    font-size: var(--font-size-h1);
}

h2,
.fs_h2 {
    font-size: var(--font-size-h2);
}

h3,
.fs_h3 {
    font-size: var(--font-size-h3);
}

h4,
.fs_h4 {
    font-size: var(--font-size-h4);
}

.fs_p_med {
    font-size: var(--font-size-p-med);
}

.fs_p_min {
    font-size: var(--font-size-p-min);
}

.fs_p_micro {
    font-size: var(--font-size-p-micro);
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

:last-child {
    margin-bottom: 0;
}

ul {
    margin-top: 0;
    padding-left: 0.9em;
    list-style: inside;
}

ul ::marker {
    color: var(--color-txt-gray);
}

ul:not(:last-child) {
    margin-bottom: 1em;
}

li:not(:last-child) {
    margin-bottom: 0.5em;
}

.li_dash ul {
    list-style: none;
    padding-left: 0;
}

.li_dash ul li::before {
    content:  '- ';
}

a {
    color: var(--color-txt);
    text-decoration: none;
}

.an_main :is(p, li) a {
    text-decoration: underline;
}


a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

hr {
    margin: 1em auto;
    border: none;
    height: 2px;
    background: var(--color-border);
}

.hr--min {
    width: 100px;
}

.btn {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5em;
    background: var(--color-btn);
    color: var(--color-txt);
    border-radius: 0;
    border: none;
    padding: 1.2em 1.7em;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    box-sizing: border-box;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.btn--hauto {
    min-height: auto;
}

.btn--wauto {
    min-width: auto;
}

.btn--circle_icon {
    aspect-ratio: 1/1;
    min-width: 2.75em;
    min-height: auto;
    padding: 0;
}

.btn--circle_icon i {
    width: 1em;
    height: 1em;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background: #777;
}

.btn--circle_icon:hover i {
    background: #fff;
}

.btn--black {
    background-color: var(--color-txt);
    color: var(--color-txt-light);
}

.btn:hover,
.btn:focus {
    background: var(--color-btn-hover);
    color: var(--color-txt);
}

.btn--black:hover {
    background-color: #2E2A27;
    color: var(--color-txt-light);
}

.btn--link,
p.btn--link a {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
    color: currentColor;
    display: inline-flex;
    gap: 0.7em;
    align-items: center;
    text-decoration: none !important;
    letter-spacing: 0.1em;
}

p.btn--link a:not(:hover) {
    color: inherit;
}

.btn--link:hover,
.btn--link:focus {
    color: var(--color-accent-dark);
}

p.btn--link a::after {
    content: '';
}

.btn--link__arr,
p.btn--link a::after {
    width: 1.3em;
    aspect-ratio: 1/1;
    display: block;
    background-color: currentColor;;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: url(/wp-content/uploads/decor/btn-arr.svg);
    mask-image: url(/wp-content/uploads/decor/btn-arr.svg);
    transition: 0.1s;
}

.btn--link__arr--rev {
    transform: scaleX(-1);
}

.btn--link:hover .btn--link__arr,
p.btn--link a:hover::after {
    transform: translatex(0.2em);
}

.btn--link:hover .btn--link__arr--rev {
    transform: scaleX(-1) translatex(0.2em);
}

.btn--border {
    background: transparent !important;
    border: 2px solid var(--color-border);
}

.btn--border.bg_light {
    background-color: var(--color-bg-light) !important;
}

.btn--border:hover {
    border-color: var(--color-biege);
}

.btn_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5em;
    background: none;
    color: var(--color-accent);
    border-radius: 0;
    border: none;
    padding: 0;
    line-height: 1;
    font-weight: bold;
    text-decoration: none !important;
    text-transform: uppercase;
}

.btn_icon:hover, .btn_icon:focus {
    color: var(--color-btn-hover);
}

.btn_icon--play {
    position: relative;    
    padding-bottom: 0.5em;
}

.btn_icon--play::after {
    content: '';
    width: 0;
    height: 0.15em;
    background-color: currentColor;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    transition: 0.2s;
    transform-origin: center;
}

.btn_icon--play:hover:after {
    width: 100%;
}

.icon_mask {
    width: 1.2em;
    aspect-ratio: 1/1;
    display: block;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
}

.icon_mask--play {
    -webkit-mask-image: url(/wp-content/uploads/decor/play-icon.svg);
    mask-image: url(/wp-content/uploads/decor/play-icon.svg);
}

.icon_mask--chevron {
    -webkit-mask-image: url(/wp-content/uploads/decor/chevron.svg);
    mask-image: url(/wp-content/uploads/decor/chevron.svg);
}

.icon_mask--close {
    -webkit-mask-image: url(/wp-content/uploads/decor/close.svg);
    mask-image: url(/wp-content/uploads/decor/close.svg);
}

input:not([type="radio"]), textarea, select {
    font-family: inherit;
    color: var(--color-accent);
    background-color: transparent;
    font-size: inherit;
    outline: none;
    box-shadow: none;
    border-radius: var(--radius-inp);
    padding: 1rem;
    border: 1px solid var(--color-border);
    max-width: 100%;
    min-height: 3rem;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-align-last: center;
    text-transform: uppercase;
    font-weight: bold;
	letter-spacing: inherit;
}

:is(input, textarea):focus {
    border-color: var(--color-border-focus);
}

::placeholder {
    color: inherit;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(/wp-content/uploads/decor/arr-select.svg);
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    padding-right: 40px;
}

button {
    box-shadow: none;
    padding: 0;
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    color: inherit;
    font-family: inherit;
    font-weight: 300;
    box-sizing: border-box;
}


/* декор */
.pos_rel {
    position: relative;
}

.pos_abs {
    position: absolute;
}

.pos_sticky {
    position: sticky;
}

.lh_h {
    line-height: 1.2;
}

.lh_1 {
    line-height: 1;
}

.ta_center {
    text-align: center;
}

.ta_right {
    text-align: right;
}

.ai_center {
    align-items: center;
}

.ai_start {
    align-items: start;
}

.jc_center {
    justify-content: center;
}

.jc_sb {
    justify-content: space-between;
}

.jc_end {
    justify-content: flex-end;
    justify-content: end;
}

.fw_bold {
    font-weight: 800;
}

.fw_500 {
    font-weight: 500;
}

.fw_600 {
    font-weight: 600;
}

.fw_600--h :is(h1, h2, h3) {
    font-weight: 600;
}

.fw_700 {
    font-weight: 700;
}

.fw_normal {
    font-weight: normal;
}

:is(h1, h2, .fs_h1, .fs_h2).fw_bold {
    font-weight: 800;
}

.tt_upper {
    text-transform: uppercase;
}

.td_none {
    text-decoration: none;
}

.td_u {
    text-decoration: underline;
}

.clr_white {
    color: #fff;
}

.clr_txt {
    color: var(--color-txt);
}

.clr_light {
    color: var(--color-txt-light);
}

.clr_gray {
    color: var(--color-txt-gray);
}

.clr_accent, .has-accent-color {
    color: var(--color-accent);
}

.clr_accent_dark {
    color: var(--color-accent-dark);
}

.clr_biege {
    color: var(--color-biege);
}

.clr_black50 {
    color: #949494;
}

.clr_black60 {
    color: #808080;
}

.clr_black70 {
    color: #6A6A6A;
}

.clr_black90 {
    color: #2E2A27;
}

.pad, .pad_box {
    padding: var(--padding-box);
}

.pad_1_5 {
    padding: 1.5em;
}

.pad_1 {
    padding: 1em;
}

.pt_space_05 {
    padding-top: var(--space-05);
}

.pb_space_05 {
    padding-bottom: var(--space-05);
}

.pt_space {
    padding-top: var(--space);
}

.pb_space {
    padding-bottom: var(--space);
}

.mt_05 {
    margin-top: 0.5em;
}

.mt_1 {
    margin-top: 1em;
}

.mt_2 {
    margin-top: 2em;
}

.mt_3 {
    margin-top: 3em;
}

.mt_space {
    margin-top: var(--space);
}

.mt_space_05 {
    margin-top: var(--space-05);
}

.mb_0 {
    margin-bottom: 0 !important;
}

.mb_1 {
    margin-bottom: 1em;
}

.mb_2 {
    margin-bottom: 2em;
}

.mb_3 {
    margin-bottom: 3em;
}

.mb_space_05 {
    margin-bottom: var(--space-05);
}

.ml_auto {
    margin-left: auto;
}

.mr_auto {
    margin-right: auto;
}

.br {
    border-radius: var(--radius);
}

.br_05 {
    border-radius: calc(var(--radius) / 2);
}

.brd {
    border: 1px solid var(--color-border);
}

.of_hid {
    overflow: hidden;
}

.hidden {
    visibility: hidden;
}

.dis_block {
    display: block;
}

.dis_flex {
    display: flex;
}

.dis_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.dis_grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dis_grid--2_1 {
    grid-template-columns:  minmax(0, 70fr) minmax(20em, 46fr);
}

.dis_grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dis_grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap_space_05 {
    gap: var(--space-05);
}

.gap_space {
    gap: var(--space);
}

.gap_05 {
    gap: 0.5em;
}

.gap_1 {
    gap: 1em;
}

.gap_2 {
    gap: 2em;
}

.gap_3 {
    gap: 3em;
}

.gap_c1 {
    column-gap: 1em;
}

.gap_c2 {
    column-gap: 2em;
}

.gap_c3 {
    column-gap: 3em;
}

.gap_r05 {
    row-gap: 0.5em;
}

.gap_r1 {
    row-gap: 1em;
}

.gap_r2 {
    row-gap: 2em;
}

.gap_r3 {
    row-gap: 3em;
}

.gap_r4 {
    row-gap: 5em;
}

.gap_r5 {
    row-gap: 5em;
}

.shrink_no {
    flex-shrink: 0;
}

.fw_wrap, .flex_wrap {
    flex-wrap: wrap;
}

.flex_col {
    flex-direction: column;
}

.flex_grow {
    flex-grow: 10;
}

.bg_light {
    background: var(--color-bg-light);
}

.bg_gray {
    background: var(--color-bg-gray);
}

.bg_dark {
    background: var(--color-txt);
}

.bg_gradient {
    position: relative;
    overflow: hidden;
}

.decor__bg_gradient::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0) 0%, rgba(0, 0, 0, 0.62) 62.81%, #000000 100%);
}

.bg_gradient>* {
    position: relative;
    z-index: 1;
}

.bg_img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg_accent {
    background-color: var(--color-accent-light);
}

.bg_parallax {
    background-attachment: fixed;
}

.bg_default {
    background-color: var(--color-bg);
}

a.bg_img:hover {
    opacity: 0.95;
}

.decor__bg_full {
    position: relative;
}

.site-main section.decor__bg_full:last-child {
    margin-bottom: 0;
}

.bg_overlay {
    position: absolute;
    bottom: 0;
    top: 0;
    left: calc(var(--gap) * -1);
    right: calc(var(--gap) * -1);
    z-index: -1;
}

.box_shadow {
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.25);
}

.box_shadow:hover {
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.2);
}

.fam_h {
    font-family: var(--family-h);
}

.no_underline {
    text-decoration: none !important;
}

.decor_divider {
    position: relative;
    padding: var(--space-05) 0;
}

.decor_divider::after {
    content: '';
    position: absolute;
    top: calc(50 - 2px);
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 2em;    
    background-color: var(--color-biege);
}

.fit_cover, .obj_fit {
    object-fit: cover;
    width: 100%;
}

.fs_inherit {
    font-size: inherit;
}

.w_100 {
    width: 100%;
}

.h_100 {
    height: 100%;
}

@media (max-width: 1480px) {
    :root {
        --font-size-h1: 3.6vw;
        --font-size-h2: 2.1vw;
        --font-size-h3: 22px;
        --font-size-h4: 20px;
        --radius: 25px;
        --space: 90px;
    }
}

@media (min-width: 1201px) {
	.fs_h2_pc40 h2 {
		font-size: 40px;		
		font-weight: 400;
	}
}

@media (min-width: 768px) {
    .pos_sticky--side {
		top: calc(100px + 5vw);	
    }    
    .hide_on_pc {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --font-size-h1: 34px;
        --font-size-h2: 22px;
        --font-size-h3: 19px;
        --font-size-h4: 17px;
        --font-size-p: 16px;
        --radius: 20px;
        --space: 70px;
        --gap: 20px;
    }

    h2 {
        font-size: 32px;
    }

    .dis_grid--2, .dis_grid--2_1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .dis_grid--3, .dis_grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reverse_on_mob {
        order: -1;
    }
    .hide_on_mob {
        display: none;
    }
}

@media (max-width: 575px) {
    .dis_grid--3, .dis_grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }
    .no_brtag_on_mob br {
        display: none;
    }
}



/* СЛАЙДЕР */
.slider__nav {
	display: flex;
	justify-content: center;
	gap: 2em;
	align-items: center;
}

.slider__nav:has(.slick-hidden) {
	display: none;
}

.slider__nav__btn {
	cursor: pointer;
	color: #C0C0C0;
	display: flex;
	gap: 1.5em;
	align-items: center;
}

.slider__nav__btn i {
	width: 1em;
	aspect-ratio: 1/1;
	display: block;
	background-color: transparent;
	position: relative;
}

.slider__nav__btn i::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: var(--color-txt);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.slider__nav__btn i::after {
	-webkit-mask-image: url(/wp-content/uploads/decor/slider-prev.svg);
	mask-image: url(/wp-content/uploads/decor/slider-prev.svg);
}

.slider__nav__btn--next i {
	transform: scalex(-1);
}

.slider__nav__btn:hover i::after {
	background-color: var(--color-btn-hover);
}

.slider__nav__btn.slick-disabled {
	opacity: 0.4;
	pointer-events: none;
}

.slick-slider.gap_1 {
	overflow: hidden;
}

.slick-slider.gap_1:not(.as_slider--variableWidth) .slick-list {
	margin: 0 -0.5em;
}

.slick-track {
	display: flex;
}

.slick-slide {
	height: auto;
}

.slick-slider.gap_1 .slick-slide {
	margin: 0 0.5em;
}

.slick-slider .slick-dots li {
	background: #E3DBCA;
	aspect-ratio: 1;
	width: 16px;
	height: auto;
	margin: 3px;
}

.slick-slider .slick-dots li:not(.slick-active) {
	opacity: 0.5;
	width: 10px;
}


@media (max-width: 767px) {
	.as_slider--variableWidth.slick-initialized {
		margin-right: calc(var(--gap) * -1);
	}
}

/* PUM */
html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]) {
	padding-right: 0;
}

html.pum-open.pum-open-overlay, html.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay {
	overflow: initial;
}

html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {
	overflow: auto;
}

.pum-container {
	padding: 50px 20px !important;
}

.pum-content h2 {
	font-size: var(--font-size-h2);
	margin-bottom: 0.5em;
}

.pum-content .wpforms-container {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

.pum-content .wpforms-submit-container {
	text-align: center;
}

.pum-close {
	background-image: url(/wp-content/uploads/decor/close.svg) !important;
	background-position: center !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	font-size: 0 !important;
	transition: 0.1s;
}

.pum-close:hover {
	transform: scale(0.9);
}


/* ХЛ.КРОШКИ, ЗАГОЛОВОК */
.an_main:has(.breadcrumbs) {
	margin-top: 0;
}

.an_main > .breadcrumbs {
	margin: 1.5em 0;
}

.breadcrumbs a {
	font-weight: bold;
}

.an_main > .page_title {
	margin-bottom: var(--space-05);
}


/* ПАГИНАЦИЯ */
.an_pagination {
	margin-top: 2em;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
}

.an_pagination .page-numbers {
	min-width: 1.5em;
	display: inline-block;
}

.an_pagination .page-numbers.current {
	color: var(--color-accent);
}


/* СОЦСЕТИ */
.soc__list {
	display: flex;
	gap: 1em;
}

.soc__item span {
	display: flex;
	align-items: center;
	justify-content: center;
}

.soc__item i {
	width: 20px;
	height: 20px;
	background: var(--color-txt-light);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.soc__item:hover i {
	background: var(--color-accent);
}


/* ШАПКА */
.an_header {
	position: static;
	z-index: 5;
	top: -100px;
	transition: 0.2s;
}

.an_header._sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: var(--shadow);
}

.an_header._sticky::before,
.ahn_menu__dropdown::before {
	content: '';
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	width: 100%;
	height: 3.3vw;
	min-height: 30px;
	background-image: url(/wp-content/uploads/decor/header_bg.webp);
	background-position: top left;
	pointer-events: none;
	background-size: cover;
}

.an_header .container {
	position: relative;
	z-index: 1;
}

.an_header__mob {
	grid-template-columns: auto 1fr auto;
	padding: 10px 0;
}

.an_header__logo {
	display: flex;
	padding: 10px 0;
}

.an_header__mob .an_header__logo {
	margin: auto;
}

.an_header._sticky .an_header__mob .an_header__logo img {
	width: 70px;
}

.home .an_header__logo a {
	pointer-events: none;
}


/* шапка: пк-версия */
.an_header__pc {
	grid-template-columns: auto 1fr;
	padding-top: 14px;
	padding-bottom: 7px;
}

.an_header._sticky .an_header__pc {
	padding-top: 0;
	font-size: 12px;
	border: none;
}

.an_header._sticky .an_header__pc__left .an_header__logo img {
	max-height: 40px;
	object-fit: contain;
}

.an_header._sticky .an_header__pc__right .ahn_menu__item__wrap {
	line-height: 60px
}

.an_header._sticky .an_header__pc__center {
	margin: 5px auto;
}

.an_header:not(._sticky) .an_header__pc__phone__sticky {
	display: none
}

.an_header__pc__contacts {
	line-height: 1;
}

.an_header__pc__contacts > * {
	opacity: 0.6;
}

.an_header__pc__contacts a {
	color: inherit;
}

.an_header__pc__contacts a:hover {
	opacity: 1;
}

.an_header__pc__contacts a[href*="yan"] {
	text-decoration: underline;
}

.an_header__pc__right {
	letter-spacing: 0.04em;
	display: grid;
	gap: 5px;
}

.an_header__pc__right__bottom a {
	color: inherit;
}

.an_header__pc__right__bottom a:hover {
	color: #DECFB1;
	text-decoration: none;
}

.an_header__pc__action a {
	white-space: nowrap;
}

.an_header__burger:hover svg * {
	fill: var(--color-btn);	
}

.ahn_menu__item__wrap i {
	width: 1em;
	transition: 0.05s;
}

.ahn_menu__item__wrap:hover {
	color: var(--color-accent-dark);
}

.ahn_menu__item__wrap:hover i {
	transform: scaley(-1) translatey(0.1em);
}

.ahn_menu__item__wrap:has(i) a {
	pointer-events: none;
}

.ahn_menu__dropdown {
	left: 0;
	right: 0;
	top: calc(100% - 7px);
	font-size: 1rem;
}

.ahn_menu__item.has_dropdown:hover .ahn_menu__dropdown {
	visibility: visible;
	transform: translatey(0);
}

.ahn_menu__dropdown__wrap {
	grid-template-columns: auto 25vw 30vw;
}

body:has(.ahn_menu__item.has_dropdown:hover) .an_main__top_bg {
	opacity: 0;
}

.ahn_menu__dropdown__nav .btn--link:not(:hover) {
	color: var(--color-accent)
}

.ahn_menu__dropdown__pic img {
	aspect-ratio: 410/260;
	object-fit: cover;
	width: 100%;
}

@media (min-width: 1101px) {
	.an_header__burger {
		display: none;
	}
	.an_header._sticky :is(.an_header__pc__left__top,
.an_header__pc__right__top) {
		display: none;
	}
}

@media (min-width: 1281px) {
	.an_header__logo--v {
		display:  none;
	}
}

@media (max-width: 1480px) {
	.an_header__logo--h {
		max-width: 27vw;
	}
	.ahn_menu__dropdown__wrap {
		grid-template-columns: auto 25vw 30vw;
	}
	.ahn_menu__dropdown__txt {
		font-size: 0.9em;
		line-height: 1.4;
	}
}


@media (max-width: 1280px) {
	.an_header__logo--h {
		display: none;
	}
}

@media (max-width: 1100px) {
	.an_header__pc {
		padding-top: 7px;
		padding-bottom: 7px;
	}
	.an_header__pc__right__bottom,
	.an_header__pc__contacts,
	.an_header__pc__action {
		display: none;
	}
	.an_header__burger {
		display: flex;
	}
}

@media (max-width: 575px) {
	.an_header__logo--h,
	.an_header__pc__action {
		display:  none;
	}
	.an_header__pc::before {
		content: '';
		width: 46px;
	}
	.an_header__pc {
		grid-template-columns: auto 1fr auto;
	}
	.an_header__logo--v {
		padding: 5px 0;
	}
}

/* МОБ.МЕНЮ */
.mobnav {
	position: fixed;
	right: 0;
	top: 0;
	padding: 20px;
	padding-bottom: 30px;
	z-index: 999;
	width: 370px;
	box-shadow: 0px 4px 8px 0px #0000001A;
	overflow-y: auto;
	height: 100vh;
	transition: 0.2s;
	visibility: hidden;
	opacity: 0;
	transform: translatey(-100px);
	color: var(--color-biege);
	box-sizing: border-box;
}

.mobnav.active {
	visibility: visible;
	opacity: 1;
	transform: translatey(0);
}

.mobnav__close {
	color: currentcolor;
}

.mobnav__close:hover {
	color: var(--color-accent);
}

.mobnav__close i {
	width: 1.5em;
}

.mobnav__top {
	justify-content: space-between;
}

.mobnav__social .soc__list {
	justify-content: center;
}

.mobnav__contacts__item--phone a {
	font-size: 1.2em;
}

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

.mobnav__menu .sub_menu {
	display: none;
	margin-top: 0.5em;
	margin-bottom: 1em;
	font-size: 0.9em;
}

.mobnav__menu li {
	margin-bottom: 0.7em;
}

.mobnav a:not(:hover):not(.btn) {
	color: currentcolor;
}

.mobnav_menu__item__wrap i {
	width: 1em;
}

.mobnav__menu a:hover {
	text-decoration: none;
}
.mobnav_menu__item__wrap:has(i) a {
	pointer-events: none;
}

.mobnav_menu__item.active i {
	transform: scaley(-1) translatey(0.1em);
}

.mobnav_menu__item.has_dropdown > .mobnav_menu__item__wrap {
	cursor: pointer;
}

@media (max-width: 575px) {
	.mobnav {
		width: 100%;
	}
}

/* ПОДВАЛ */
.an_footer > div {
	padding: 3em 0;
}

.brd--footer {
	background-image: url(/wp-content/uploads/decor/footer_separator.jpg);
	background-repeat: no-repeat;
	background-position: bottom;	
}

.an_footer a:not(.btn) {
	color: inherit;
}

.an_footer__nav {
	letter-spacing: 0.04em;
}

.an_footer__nav__title {
	font-family: var(--family-h);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 0.5em;
}

.an_footer__title {
	font-size: 1.15em;
	margin-bottom: 1.3em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid var(--color-border);
}

.an_footer__nav__list {
	column-count: 6;
	column-gap: 2em;
	text-align: center;
}

.an_footer__nav {
	break-inside: avoid-column;	
}

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

.an_footer__nav__list a:hover {
	color: var(--color-accent);
}

.an_footer__contacts > * {
	opacity: 0.6;
}

.an_footer__contacts a:hover {
	opacity: 1;
}

.an_footer__contacts a[href*="yan"] {
	text-decoration: underline;
}

.an_footer .an_footer__copyright {
	padding: 2em 0;
}

.an_footer__copyright__wrap {
	font-size: 11px;
}

.an_footer__copyright__left > * {
	opacity: 0.6;
}

.an_footer__copyright__left a:hover {
	opacity: 1;
}

.an_footer__copyright__right span {
	opacity: 0.6;
}

footer .soc__item:hover span {
	opacity: 1;
}

.an_footer__developer {
	text-decoration: none;	
	white-space: nowrap;
}

@media(max-width: 1023px) {
	.an_footer__nav__list {
    column-count: 3;
		margin-bottom: -1em;
	}
	.an_footer__nav {
		margin-bottom: 3em;
	}
	.an_footer__copyright__wrap {
		flex-direction: column;
	}
	.an_footer__copyright__right {
		order: -1;
	}
	.an_footer__copyright__left {
		justify-content: center;
	}
}

@media(max-width: 767px) {
	.an_footer__nav__list {
    column-count: 2;
	}	
}

@media(max-width: 575px) {
	.an_footer__nav__list {
    column-count: 1;
	}	
}


/* ДЕКОР СТРАНИЦЫ */
.decor_bg {
	position: relative;
	z-index: 0;
	pointer-events: none;
}

.decor_bg--abs {
	position: absolute;
	left: 0;
	right: 0;
}

.decor_bg--abs--top {
	top: -1px;
}

.decor_bg--abs--bottom {
	bottom: -1px;
}

.decor_bg div {
	background-size: cover;	
}

.decor_bg--abs--top div {
	background-position: top;
}
.decor_bg--abs--bottom div {
	background-position: bottom;;
}

.an_main__top_bg:has(+.bg_light),
.bg_light:not(.side_pic_scr) + .an_main__bottom_bg {
	background-color: var(--color-bg-light);
}

.an_main__top_bg:has(+.scr_with_img) {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
}

.an_main__top_bg div {
	height: 3.3vw;
	min-height: 30px;
	background-image: url(/wp-content/uploads/decor/header_bg.webp);
	background-position: top left;
}

.an_main__bottom_bg div {
	height: 8.3vw;
	min-height: 140px;
	background-image: url(/wp-content/uploads/decor/footer_bg.webp);
	background-position: top right;
}

.sticky_post__bg div {
	height: 10vw;
	background-image: url(/wp-content/uploads/decor/sticky_post_bg.webp);
	background-position: top center;
}

.page_header__bg div,
.single_post__cover__bg div,
.decor_bg--dark div {
	height: 10vw;
	background-image: url(/wp-content/uploads/decor/post_cover_bg.webp);
	background-position: top center;
}

.decor_bg--dark div {	
	background-image: url(/wp-content/uploads/decor/dark_bg.webp);
}

.other_posts__bg div {
	height: 10vw;
	background-image: url(/wp-content/uploads/decor/other_posts_bg.webp);
	background-position: bottom center;	
}

.map__bg div {
	aspect-ratio: 4/1;
}

.decor_bg--default div {	
	height: 10vw;
	background-image: url(/wp-content/uploads/decor/top_bg_default.webp);
}

.decor_bg--default--rev div {
	transform: scaleX(-1) scaleY(-1);
}

.bot_page_decor_is_abs + .an_main__bottom_bg {	
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1;
	bottom: -1px;
}

@media (max-width: 767px) {
	.an_main__bottom_bg div {
		background-size: auto;
		background-position: calc(100vw + 50px) top;
	}
	.prefooter_form .decor_bg div {
		height: 200px;
		background-size: auto;
		background-position: left bottom;
	}
	:is(.scr_with_img, .media_block_scr) .decor_bg--abs--bottom div {
		height: 120px;
		background-size: auto;
		background-position: calc(100vw + 150px) top;
	}	
	:is(.media_block_scr) .decor_bg--abs--top div {
		height: 120px;
		background-size: cover;
		background-position: -150px bottom;
	}
	section > .decor_bg:first-child div {
		height: 120px;
		background-size: cover;
		background-position: left bottom;
	}
}


/* ВИДЕО */
.video_player {
	position: relative;
	display: inline-flex;
}

.video_player__cover {
	pointer-events: none;
}

.video_player::before {
	content: '';
	width: 110px;
	max-width: 25%;
	aspect-ratio: 1/1;
	background-image: url(/wp-content/uploads/decor/play.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: 0.1s;
}

.video_player:hover::before {
	transform: translate(-50%, -50%) scale(1.05);
	background-image: url(/wp-content/uploads/decor/play-hover.svg);
}

@media (max-width: 767px) {
	.fancybox-slide--video .fancybox-content {
		max-height: 51vw !important;
		width: 100% !important;
		max-width: calc(100% - 20px) !important;
	}
}


/* КОНТЕНТ СТРАНИЦ */
.page_header.scr_with_img {
	display: flex;
	align-items: center;
}

.page_title h1 {
	margin-bottom: 0;
}

.page_title {
	margin-bottom: calc(var(--font-size-h1) * 2);
}

.scr_with_img .page_title {
	margin-top: calc(var(--font-size-h1) * 2);
	margin-bottom: calc(var(--font-size-h1) * 3);
}

.page_header--acc_archive.scr_with_img .page_title {
	margin-top: calc(var(--font-size-h1) * 1.1);
	margin-bottom: calc(var(--font-size-h1) * 2.1);
}

.scr_title {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

:is(iframe[src*="you"], .wp-block-image, .wp-block-pullquote):not(first-child) {
	margin-top: 1.5em;
}

:is(iframe[src*="you"], .wp-block-image, .wp-block-pullquote):not(last-child) {
	margin-bottom: 1.5em;
}

.wp-element-caption {
	text-align: center;
	font-size: var(--font-size-p-min);
	font-family: var(--family-h);
}

p.has-small-font-size {
	font-size: 0.9em !important;
}
p.has-medium-font-size {
	font-size: 1.15em !important;
}
p.has-large-font-size {
	font-size: 1.3em !important;
}
p.has-x-large-font-size {
	font-size: 1.5em !important;
}

.wp-block-preformatted {
	font-family: var(--family-h);
	font-size: var(--font-size-h2);
	line-height: 1.2;
	margin-bottom: 3em;
}

.wp-block-preformatted:first-child {
	margin-top: 0;
}

.wp-block-separator {
	border: none;
	background: var(--color-border);
	height: 2px;
	margin: 2.5em 0;
}


/* ПОПАП ВИДЕО */
.vp-flex, .Video-PopUp-Content .vp-flex {
	width: auto;
	max-width: calc(100vw - var(--gap)) !important;
	height: auto !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 30px !important;
	background: transparent;
}

.vp-flex video {
	border: none;
	max-height: 80vh !important;
	min-height: auto !important;
	height: auto !important;
	width: auto !important;
	min-width: auto !important;
	margin: auto !important;
}

.YouTubePopUp-Close {
	left: auto;
	right: 0;
	top: -25px;
}

a.vp-a:not(.btn_icon) {
	display: flex;
	position: relative;
	overflow: hidden;
}

a.vp-a:not(.btn_icon)::after {
	content: '';
	position: absolute;
	left: -5px;
	top: 2em;
	width: 9em;
	aspect-ratio: 175/41;
	background-image: url(/wp-content/uploads/decor/play.svg);
	background-repeat: no-repeat;
	background-position: left;
	background-size: contain;
	transition: 0.1s;
}

a.btn_play--double {
	width: 11.5em !important;
	aspect-ratio: 207/41
}

a.btn_play--double::after {
	background-image: url(/wp-content/uploads/decor/play-double.webp) !important;	
	aspect-ratio: auto !important;
	width: 100% !important;
}

a.vp-a:not(.btn_icon):hover::after {
	left: 0;
}


/* 404 */
.error404 .an_main {
	position: relative;
}

.scr_404 {
	position: relative;
	min-height: 30vw;
	display: flex;
	align-items: center;
}

.scr_404 .container {
	max-width: 36em;
}

.scr_404__pc_pic {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-image: url(/wp-content/uploads/decor/404_bg.jpg);
	background-position: center;
	background-repeat: no-repeat;
}

.scr_404 .btn {
	width: 272px;
	height: 54px;
}

@media (min-width: 1024px) {	
	.scr_404 br {
		display: none;
	}
}

@media (min-width: 576px) {	
	.scr_404 h1 br {
		display: none;
	}
}

@media (max-width: 1400px) {	
	.scr_404__pc_pic {
		background-size: 140vw;
	}
	.scr_404 .container {
		max-width: 27em;
	}
}

@media (max-width: 1023px) {	
	.scr_404 {
		min-height: 40vw;
	}
}

@media (max-width: 575px) {	
	.scr_404 {
		margin-bottom: 0 !important;
	}
	.scr_404 p {
		font-weight: 500;
	}
	.scr_404 p br {
		display: none;
	}
	.scr_404__pc_pic {
		display: none;
	}
	.scr_404__mob_pic {
		max-height: 340px;
		aspect-ratio: 358/325;
		margin: auto;
		margin-top: 3.5em;
		background-image: url(/wp-content/uploads/decor/404_bg_mob.jpg);
		background-position: bottom center;
		background-repeat: no-repeat;
		background-size: contain;
	}
}


/* ПРИКРЕПЛЕННАЯ НОВОСТЬ */
.sticky_post {
	position: relative;
}

.sticky_post__pic a {
	width: 100%;
	height: 100%;
}

.sticky_post__pic img {
	object-fit: cover;
	pointer-events: none;
	transition: 0.1s;
}

.sticky_post__pic a:hover img,
.has_hover_img:hover img {
	opacity: 0.9;
}

@media (min-width: 768px) {	
	.sticky_post__bg {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
	}
	.sticky_post .container {
		padding: 0;
	}
	.sticky_post__pic {
		min-height: 100%;
	}
	.sticky_post__pic img {
		min-height: 45vw;
	}
	.sticky_post__info {
		padding: var(--space-05);
		max-width: 30em;
		margin: auto;
	}
	.sticky_post__title {
		font-size: calc(var(--font-size-h1) * 0.8);
	}
	.sticky_post__action {
		margin-bottom: 2vw;
	}
}

@media (max-width: 767px) {	
	.sticky_post__wrap {
		padding-top: 80px;
		gap: 45px;
	}
	.sticky_post .post_meta {
		flex-direction: column;
	}
	.sticky_post__info {
		padding-bottom: 2em;
	}
	.sticky_post__pic img {
		aspect-ratio: 708/488;
		object-fit: cover;
	}
	.sticky_post__title {
		margin-top: 1rem;
	}
}

@media (max-width: 575px) {	
	.sticky_post__pic img {
		aspect-ratio: 1;
	}
}


/* АРХИВ новостей: навигация */
.posts_nav {
	position: relative;
}

.posts_nav__list {
	list-style: none;
	padding: 0;
	margin: 0;
	column-gap: 2.4em;
	font-size: 13px;
}

.posts_nav__list > li {
	margin-bottom: 0;
}

.posts_nav__list a {
	text-decoration: none !important;;
}

.posts_nav__list a {
	display: inline-block;
	white-space: nowrap;
	color: var(--color-txt-gray);
	padding-bottom: 0.2em;
	letter-spacing: 0.1em;
}

.posts_nav__list a:hover {
	color: var(--color-txt);	
}

.blog .posts_nav__list .cat-item-all a,
.posts_nav__list .current-cat a {
	color: var(--color-txt);
	border-bottom: 1px solid;
	pointer-events: none;
	font-weight: bold;
}

.posts_nav__toggle {
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	cursor: pointer;
}

.posts_nav__toggle:hover {
	color: var(--color-accent-dark);
}

.posts_nav__toggle i {	
	width: 1.2em;
	aspect-ratio: 1/1;
	display: block;
	background-color: currentColor;;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-image: url(/wp-content/uploads/decor/select.svg);
	mask-image: url(/wp-content/uploads/decor/select.svg);
	transition: 0.1s;
	transform: translatey(-0.1em);
}

@media (min-width: 768px) {	
	.posts_nav__toggle {
		display: none;
	}
}

@media (max-width: 767px) {	
	.posts_nav__toggle + .posts_nav__list {
		display: none;
		background: var(--color-bg-light);
		border: 1px solid var(--color-biege);
		padding: 1em 0;
		min-width: 16em;
		width: max-content;
		max-width: 100%;
		position: absolute;
		z-index: 2;
		top: calc(100% + 1em);
		left: 50%;
		transform: translatex(-50%);
	}	
	.posts_nav__toggle + .posts_nav__list.showed {
		display: block;		
	}
	.posts_nav__toggle + .posts_nav__list a {
		padding: 0.75em;
		color: #808080;
		border: none !important;
		display: block;
	}
	.posts_nav__toggle + .posts_nav__list :is(a:hover, .current-cat a)  {
		color: var(--color-txt);
	}
}

@media (max-width: 575px) {	
	.posts_nav__list {
		font-size: 13px;
		column-gap: 1em;
	}
}


/* АРХИВ новостей: сетка */
.post_card {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 2px solid var(--color-border);
}

.post_card__wrap {
	grid-template-columns: 1fr 2fr 1fr;
}

.post_card__cover img {
	aspect-ratio: 357/238;
	object-fit: cover;
	transition: 0.1s;
}

.post_card__cover a:hover img {
	opacity: 0.9;
}

.post_card__title {
	font-size: 32px;
	font-weight: 500;
}

@media (max-width: 1024px) {	
	.post_card__wrap {
		grid-template-columns: 3fr 1fr;
		grid-template-rows: auto 1fr;
		row-gap: 1em;
	}
	.post_card__cover  {
		grid-column: 2/3;
		grid-row: 1/-1;
	}
	.post_meta {
		display: flex;
		flex-wrap: wrap;
		column-gap: 1em;
	}
}

@media (max-width: 575px) {	
	.post_card__wrap {
		grid-template-columns: 1fr;
		grid-template-rows: initial;
	}
	.post_card__cover  {
		grid-column: initial;
		grid-row: initial;
		order: -1;
	}
}


/* НОВОСТЬ (сингл) */
.single_post__wrap {
	display: grid;
	grid-template-columns: 195px minmax(0, 940px);
	gap: 3em;
	justify-content: space-between;
}

.sidebar__wrap {
	font-size: 16px;
} 

.sidebar_item:not(:first-child) {
	margin-top: 3em;
}

.sidebar_item__title {
	text-transform: uppercase;
	font-size: 13px;
	color: #949494;
	letter-spacing: 0.1em;
	margin-bottom: 1em;
	font-weight: 600;
}

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

.sidebar_item__list a {
	text-decoration: none !important;
}

.single_post__cover img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 1920/860;
}

@media (max-width: 1280px) and (min-width: 768px) {	
	.sidebar__wrap {
		font-size: 14px;
	}
}

@media (min-width: 768px) {	
	.other_posts h2,
	.other_events h2 {
		font-size: 34px;
	}
	.sidebar__wrap {
		position: sticky;
		top: calc(100px + 5vw);	
	}
	.single_post__meta {
		display: none;
	}
	#copy_link_title {
		pointer-events: none;
	}
}

@media (max-width: 767px) {	
	.single-post .single_post__cover img {
		aspect-ratio: 380/412
	}
	.single_post__wrap {
		grid-template-columns: 1fr;
	}
	.single_post__sidebar {
		order: 10;
	}
	.single_post__article h1,
	.single_post__article pre:first-child {
		text-align: center;
	}
	.single_post__meta {
		font-size: 16px;
		margin-bottom: 2em;
		font-weight: 500;
	}
	.sidebar_item--cat, .sidebar_item--date {
		display: none;
	}
	.sidebar_item {
		text-align: center;
		padding-top: 2em;
		border-top: 1px solid var(--color-border);
	}
	.sidebar_item--share ul {
		display: none;
	}	
	#copy_link_title {
		margin: 0;
		display: inline-flex;
		gap: 0.5em;
		align-items: center;
		cursor: pointer;
		color: #6A6A6A;
	}
	#copy_link_title:hover {
		color: var(--color-accent);
	}
	#copy_link_title::after {
		content: '';
		width: 1em;
		height: 1em;
		-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;	
	-webkit-mask-image: url(/wp-content/uploads/decor/share.svg);
	mask-image: url(/wp-content/uploads/decor/share.svg);
	background-color: currentcolor;
	}
	.intro_txt:has(+.copy_link__wrap_top) {
		margin-bottom: 0;
	}
	.single-post .intro_txt {
		text-align: center;
	}
}


/* FAQ: сетка страницы */
.with_side__grid {
	grid-template-columns: 140px 1fr 140px;
	margin-left: auto;
	margin-right: auto;
}

.with_side__grid--2 {
	grid-template-columns: 140px 1fr;	
}

.with_side__nav__wrap {
	position: sticky;
	top: calc(100px + 5vw);	
}

.with_side__nav__list {
	font-size: 13px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5em;
}

.with_side__nav__item {
	color: var(--color-txt-gray);
	text-decoration: none !important;
	border-bottom: 2px solid transparent;
}

.with_side__nav__item.active {
	color: var(--color-txt);
	border-color: currentcolor;
	font-weight: bold;
}


@media (max-width: 768px) {
	.with_side__grid {
		grid-template-columns: 1fr;
		row-gap: var(--font-size-h1);
	}
	.with_side__space {
		display: none;
	}
	.with_side__nav {
		display: flex;
		overflow-x: auto;		
		margin-left: calc(var(--gap) * -1);
		margin-right: calc(var(--gap) * -1);
		padding-bottom: 1.2em;
		padding-left: var(--gap);
		padding-right: var(--gap);
		position: relative;
	}	
	.with_side__nav._sticky {
		position: fixed;
		left: var(--gap);
		right: var(--gap);
		background: var(--color-bg);
		z-index: 10000;
		padding-top: 1.2em;
	}	
	.with_side__nav__wrap {
		display: flex;
		gap: 3em;
		position: relative;
		top: 0;
		z-index: 1;
}
	.with_side__nav__list {
		flex-direction: row;
		margin: 0;
	}
	.with_side__nav__item {
		white-space: nowrap;
	}
	.with_side__nav::before {
		content: '';
		position: absolute;
		bottom: 1.2em;
		left: 0;
		right: 0;
		height: 1px;
		background: #E3DBCA;
	}
}

@media (max-width: 575px) {
	.with_side__nav::before {
		display: none;
	}
}


/* FAQ: список вопросов */
.faq_group {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.faq_group:not(:last-child) {
	margin-bottom: calc(var(--font-size-h2) * 2.5);
}

.faq_group:has(hr) h2 {
	margin-top: 1em;
}

.faq_item:not(:last-child) {
	margin-bottom: 2em;
}

.faq_item__title {
	grid-template-columns: auto 1fr auto;
	cursor: pointer;
}

.faq_item__title:hover {
	color: var(--color-accent)
}

.faq_item__title__txt {
	margin: 0 !important;
}

.faq_item__title__space {
	width: 1em;
} 

.faq_item__title__chevron {
	width: 1em;
	height: 1em;
		-webkit-mask-size: 0.7em;
	mask-size:  0.7em;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;	
	-webkit-mask-image: url(/wp-content/uploads/decor/faq-arr.svg);
	mask-image: url(/wp-content/uploads/decor/faq-arr.svg);
	background-color: currentcolor;
	transition: 0.05s;
}

.faq_item.active .faq_item__title__chevron {
	transform: scaley(-1);
}

.faq_item__content {
	padding: 0 1em;
}


@media (min-width: 1481px) {
	.faq_group h2 {
		font-size: 44px;
	}
}

@media (max-width: 768px) {
	.faq_group:not(:last-child) {
		margin-bottom: 0;
	}
	.faq_group:not(:first-child) {
		padding-top: calc(var(--font-size-h2) * 1);
	}
}



/* ФОРМЫ */
body .form__wrap {
	max-width: 392px;
	margin-left: auto;
	margin-right: auto;
}

.form__wrap form {
	font-size: 11px;
	letter-spacing: 0.1em;
}

.form__wrap .wpforms-container .wpforms-field {
	padding: 4px 0;
}

.form__policy {
	color: #949494;	
}

.form__wrap form ::placeholder {
	color: #A99A71;
	opacity: 1;
}

.form__policy a {
	text-decoration: underline;
}

.form__policy a:not(:hover) {
	color: currentcolor;
}

.wpforms-field select {
	padding-left: 40px !important;
	text-align: center;
}

body .wpforms-submit-container {
	padding-top: 30px !important;
	
}

body .wpforms-submit {
	width: 100%;
	padding: 1rem;
	min-height: 3rem;
}

div.wpforms-container .wpforms-form .choices__list--single {
	font-size: inherit !important;
}

.choices__inner {
	border-radius: var(--radius-inp) !important;
	border: 1px solid var(--color-border) !important;
	background-color: transparent !important;	
	min-height: 3rem !important;
	text-align: center;
}

.choices__placeholder,
.choices__list--single > .choices__item {	
	color: var(--color-accent) !important;
	text-transform: uppercase;
	font-weight: bold;
	opacity: 1 !important;	
}

div.wpforms-container .wpforms-form .choices[data-type*="select-one"]:after {
	color: var(--color-accent);	
	border: none !important;
	background-image: url(/wp-content/uploads/decor/select.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 13px !important;
	height: 13px !important;
	display: block;
	margin: 0 !important;
	transform: translatey(-50%);
}

div.wpforms-container .wpforms-form .choices[data-type*="select-one"].is-open:after {
	transform: translatey(-50%) scaley(-1);	
}

div.wpforms-container .wpforms-form .choices__list--dropdown {
	border: 1px solid var(--color-border) !important;
}

div.wpforms-container .wpforms-form .choices__list--dropdown .choices__item {
	font-size: inherit;
	font-weight: 600;
	font-size: inherit !important;
}

div.wpforms-container .wpforms-form .choices__list--dropdown .choices__item--selectable.is-highlighted {
	background-color: var(--color-bg) !important;
}

.choices__item--selectable .choices__button {
	visibility: hidden !important;
}

@media (max-width: 575px) {
	.form__wrap form,
	.form__policy {
		font-size: 11px;
	}
}


/* ПРЕФУТЕР (с формой) */
:is(.page-template-map) .prefooter_form  {
	background-color: var(--color-bg);
}

:is(.page-template-map) .an_main__bottom_bg {
	background-color: var(--color-bg) !important;
}


/* КОНТАКТЫ */
.page-template-contacts .scr_with_img .page_title {
	margin-top: calc(var(--font-size-h1) * 1.1);
	margin-bottom: calc(var(--font-size-h1) * 2.1);
}

.contacts_scr h3 {
	color: var(--color-accent);
}

.contacts_scr h3 ~ h3 {
	margin-top: 2em;
}

.contacts_scr p {
	margin-bottom: 0;
}

.contacts_scr a:not(:hover) {
	text-decoration: none;
}

.contacts_scr__txt ul {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: center;
	column-gap: 4em;
	flex-wrap: wrap;
}

.contacts_scr__txt ul li {
	margin: 0;
}

.contacts_scr__txt a[href*="maps"],
.contacts_scr__txt a[href*="scheme"],
.side_pic__txt a[href*="/contacts/"]  {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 13px;
	font-family: var(--family-p);
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	text-decoration: none !important;
	margin-top: 1em;
	letter-spacing: 0.1em;
}

.contacts_scr__txt a[href*="maps"]:not(:hover),
.contacts_scr__txt a[href*="scheme"]:not(:hover) {
	color: var(--color-txt-gray);	
}

.contacts_scr__txt a[href*="maps"]:after,
.contacts_scr__txt a[href*="scheme"]:after,
.side_pic__txt a[href*="/contacts/"]:after {
	content: '';
	width: 1em;
	height: 1em;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;	
	-webkit-mask-image: url(/wp-content/uploads/decor/share.svg);
	mask-image: url(/wp-content/uploads/decor/share.svg);
	background-color: currentcolor;
}

.contacts_scr__txt a[href*="scheme"]:after {
	transform: rotate(45deg);
}

.contacts_scr--add .container {
	max-width: 1150px;
}

.add_contacts__grid {
	justify-content: space-between;	
}

:where(.add_contacts__item, .contacts_scr__txt) h3 {
	font-family: var(--family-p);
	font-size: 1em
}

:where(.add_contacts__item, .contacts_scr__txt) :is(p, li) {
	font-family: var(--family-h);
	font-size: var(--font-size-h3);
	line-height: 1.2;
}

:where(.add_contacts__item, .contacts_scr__txt) :is(p, li) a:hover {
	text-decoration: none;
}

.contacts_scr__map, #map {
	min-height: 100%;
}

.accmdtn_block .contacts_scr__map {
	height: 500px;
}

#map [class*="copyrights-pane"] {
	display: none !important;
}

#map > ymaps {
	height: 100% !important;
	filter: sepia(0.5);
}


@media (max-width: 767px) {
	.contacts_scr--add {
		display: none;
	}	
	#map > ymaps {
		height: 500px;
		max-height: 60vw !important;
		min-height: 350px;
	}
	.accmdtn_block .contacts_scr__map {
		height: 300px;
	}
	.accmdtn_block #map > ymaps {
		height: 300px;
		min-height: 300px;
		max-height: 60vw !important;
	}
}


/* ВАРИАНТЫ ПРОЖИВАНИЯ: архив */
.accomodation_card__cover:not(.slick-initialized) .accomodation_card__gallery_item:nth-child(n + 2) {
	display: none;
}

.accomodation_card__cover img {
	width: 100%;
	aspect-ratio: 600/457;
	object-fit: cover;
}

.accomodation_card__title {
	font-weight: 600;
	font-size: calc(22em/18);
}

.accomodation_card__cover .slick-dots {
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
}


/* ПРОЖИВАНИЕ: сингл */
.accmdtn_block:not(:first-child) {
	margin-top: var(--space-05);
}

.accmdtn_block {
	border-top: 1px solid var(--color-border);
	padding-top: 1.5em;
}

.accmdtn_block__title {
	font-weight: bold;
	margin-bottom: 1em;
}

.accmdtn_block__bed_item img {
	aspect-ratio: 340/230
}

.accmdtn_block__ask__item {
	min-width: 15em;
}

.accmdtn_content .q_benefit_item__txt {
	padding: 1em;
}


@media (min-width: 576px) {
	.accmdtn_block__beds {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 575px) {
	.accmdtn_scr .scr_title {
		margin-top: 4em;
	}
	.accmdtn_info .btn {
		font-size: 12px;
	}
	.quick_benefits {
		overflow-x: auto;
		display: flex;
		margin-right: calc(var(--gap) * -1);
		padding-right: var(--gap);
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.q_benefit_item {
		min-width: 220px;
	}
	.accmdtn_block:not(:first-child) {
    margin-top: 4em;
	}
	.other_accomodation .slider__nav {
		display: none;
	}
	.other_accomodation .accomodation_grid {
		margin-top: 3em;
	}
}


/* ЧЕМ ЗАНЯТЬСЯ: архив */
.leisure_card {
	margin-top: 2em;
	padding-top: 1em;
	border-top: 1px solid var(--color-border);
}

.leisure_card__cover img {
	width: 100%;
	aspect-ratio: 340/217;
	object-fit: cover;
}

.leisure_card__meta__item {		
	display: inline-block;
	padding: 0.3em 0.5em;		
	margin-bottom: 0.5em;
	font-size: 11px;
}

@media (min-width: 576px) {
	.leisure_card__wrap {
		grid-template-columns: 32fr 57fr;
	}
	.leisure_card__cover img {
		aspect-ratio: 1/1;
	}
}


/* ГАЛЕРЕИ */
.gallery_grid {
	gap: calc(var(--font-size-h1) * 2)
}

.gallery_item--full {
	grid-column: 1/-1;
}

.gallery_item__cover img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 635/385;
}

.gallery_item__caption {
	font-size: 24px;
}
.gallery_item__caption * {
	font-size: inherit;
}

@media (min-width: 768px) {
	.gallery_item--full .gallery_item__cover img {
		aspect-ratio: 1419/759;		
	}
}

@media (max-width: 767px) {
	.gallery_grid.gap_3 {
		gap: 3em;
	}
	.gallery_item__cover img {
		aspect-ratio: 334/232;
	}
}


/* ПРОСМОТР ФОТО */
.fancybox-stage {
	margin-top: 50px;
	margin-bottom: 50px;
}

.fancybox-caption-wrap {
	background: #F4EFE5;
	padding: 0;
	opacity: 1 !important;
	visibility: visible;
}

.fancybox-caption {
	text-align: center;
	font-family: var(--family-h);
	font-size: var(--font-size-h4);
	color: var(--color-txt-gray);
	border: none;
	padding: 1em 0;
}

.fancybox-infobar {
	display: none !important;
}

.fancybox-toolbar {
	visibility: visible !important;
	opacity: 1 !important;
	background: var(--color-txt);	
	width: 100%;
	text-align: right;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.fancybox-toolbar::before {
	content: 'Фотогалерея Breytovo Village';
	flex-grow: 1;
	padding: 0 2em;
	text-align: center;
	font-family: var(--family-h);
	font-size: var(--font-size-h4);
	line-height: 1;
	color: var(--color-bg);
	margin-left: calc(44px * 4);
}

@media (max-width: 767px) {
	.fancybox-toolbar::before {
		margin-left: 0;
		text-align: left;
		font-size: 1rem;
		padding-left: 20px;
	}
}

@media (max-width: 575px) {
	.fancybox-toolbar::before {
		font-size: 0.7rem;
	}
}


/* ГЛАВНАЯ: гл.экран */
.page-template-home .page_header {
	min-height: calc(100vh - 110px - var(--space) * 2);
}

.page-template-home .btn_icon--play:hover {
	color: #E3DBCA;
}



@media (min-width: 1201px) {
	.page-template-home .default_content .fs_h2 {
		font-size: 30px;
		line-height: 1.2;
	}
}

/* ГЛАВНАЯ: проживание */
:is(.page-template-home, .other_accomodation) .accomodation_card__action {
	display: none;
}

@media (min-width: 768px) {
	/*.home .accomodation_card:first-child {*/
	/*	grid-column: 1/-1;*/
	/*} */
	/*.home .accomodation_card:first-child .accomodation_card__cover img {*/
	/*	aspect-ratio: 1420/731;*/
	/*}*/
}


/* ДОСУГ: слайдер */
.dosug_list.as_slider {
	margin-right: calc(var(--gap) * -1);
}

.dosug_item.slick-slide {
	width: 30em;
	max-width: calc(100vw - 100px);
}

.dosug_item .decor_bg div {
	height: 3vw;
	min-height: 50px;
	margin-top: -1px;
}

.dosug_item__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.dosug_item__txt {
	flex-grow: 1;
}

.dosug_item__txt h3 {
	text-transform: uppercase;
	font-size: 1.1rem;
}

.container--full .dosug_list.slick-initialized {
	margin-left: calc(var(--gap) * -1);
}
.dosug_list.slick-initialized .slick-list {
	padding-left: var(--gap);
}


@media (max-width: 575px) {
	.dosug_scr .slider__nav {
		display: none;
	}
}


/* ГАЛЕРЕИЯ masonry */
.sticker_gallery_abs::after {
	content: '';
	width: 10em;
	aspect-ratio: 200/44;
	position: absolute;
	right: 1em;
	bottom: 1em;
	pointer-events: none;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url(/wp-content/uploads/decor/gallery-open.svg);
}

.gallery_masonry {
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.gallery_masonry__item {
	position: relative;
}

.gallery_masonry__item:nth-child(1) {
	grid-row: 1/-1;
	grid-column: 1/2;
}

.gallery_masonry__item:nth-child(4) {
	grid-row: 1/-1;
	grid-column: 3/4;
}

.gallery_masonry__link {
	height: 100%;
}

@media (max-width: 575px) {
	.gallery_masonry {
		grid-template-columns: 1fr 1fr;
	}
	.gallery_masonry__item:nth-child(4) {
		display: none;
	}
	.gallery_masonry.as_slider_on_mob {
		display: flex;		
		overflow-x: auto;
	}
	.gallery_masonry.as_slider_on_mob::-webkit-scrollbar {
			display: none;
    }
	.gallery_masonry.as_slider_on_mob .gallery_masonry__item {
		min-width: calc(100vw - 70px);
	}
	.gallery_masonry.as_slider_on_mob .gallery_masonry__item img {
		aspect-ratio: 304/428;
	}
	.gallery_masonry.as_slider_on_mob::after {
		display: none;	
	}
}


@media (max-width: 425px) {	
	.gallery_masonry.is_first_scr {
		grid-template-columns: 1fr;
	}
	.gallery_masonry.is_first_scr .gallery_masonry__item:nth-child(n + 2) {
		display: none;
	}
	.gallery_masonry.is_first_scr .gallery_masonry__img {
		aspect-ratio: 375/450;
	}
}

/* ШАХМАТНЫЕ БЛОКИ */
.chess_blocks__item__cover {
	aspect-ratio: 77/56;
}

.page-template-kids .chess_blocks__item__txt h3 {
	font-size: var(--font-size-h2);
	text-transform: uppercase;
}

.page-template-kids .chess_blocks {
	row-gap: 0;
}

.page-template-kids .chess_blocks__item  {
	padding-top: 1.7em;
	margin-top: 2.6em;
	border-top: 1px solid #E3DBCA;
}


:where(.page-template-about, .home) .chess_blocks {
	gap: 8em;
}

:where(.page-template-food, .page-template-about, .home)  .chess_blocks__item__txt h3 {
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
}

:where(.page-template-food, .page-template-about, .home) .chess_blocks__item__txt .fs_p_med {
	max-width: 35em;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 768px) {
	.chess_blocks__item:nth-child(odd) {
		grid-template-columns: 6fr 7fr;
	}
	.chess_blocks__item:nth-child(odd) .chess_blocks__item__cover {
		order: 10;
	}
	.chess_blocks__item:nth-child(even) {
		grid-template-columns: 7fr 6fr;
	}
}


/* МЕДИА БЛОК */
.media_block_scr {
	min-height: 60vw;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.media_block {
	padding: var(--space) 0;
}

.media_block__txt {
	font-size: var(--font-size-h1);
	max-width: 17em;
}

.media_block__play.vp-a {
	justify-content: center;
	transition: 0.2s;
}

.media_block__play.vp-a::after {
	position: static !important;
}

.media_block__play.vp-a:hover {
	transform: scale(1.05);
}


@media (max-width: 575px) {
	.media_block__txt br {
		display: none;
	}
}


/* ПАРКОВКА */
.page-template-parking .an_main {
	background-color: var(--color-bg-light);
}

.page-template-parking .default_content {
	margin-top: var(--space-05);
	margin-bottom: var(--space-05);
}

.page-template-parking .side_pic__txt p:not(:last-child) {
	margin-bottom: 2em;	
}

.page-template-parking .side_pic__txt strong {
	color: #949494;
	font-weight: inherit;
}

.page-template-parking .side_pic__txt strong +a {
	margin-top: 0;
}

.page-template-parking .side_pic__txt a:not(:hover) {
	color: #6A6A6A;
}

.page-template-parking .side_pic__cover .page_header__bg div {
	min-height: 100px
}

@media (max-width: 767px) {
	.page-template-parking .side_pic__txt {
		margin-bottom: 100px;
	}
}


/* БЛОК картинка-текст */
@media (min-width: 1481px) {
	.side_pic__cover {
		margin-right: calc((100vw - 1480px) / -2 - 20px);
	}		
}

@media (max-width: 1480px) and (min-width: 768px) {
	.side_pic__cover {
		margin-right: calc(var(--gap) * -1);
	}	
}

@media (min-width: 768px) {
	.side_pic__cover .decor_bg {
		display: none;
	}
	.side_pic__cover__img {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: 100%;
	}
	.side_pic__txt {
		margin: 4em 0;
	}
}

@media (max-width: 767px) {
	.side_pic__cover {
		margin-left: calc(var(--gap) * -1);
		margin-right: calc(var(--gap) * -1);
	}
	.side_pic__cover__img {
		height: 500px;
	}
}


/* КАРТА ТЕРРИТОРИИ */
.page-template-map {
	background-color: #C2B593;
}

.map_img_link {
	position: relative;
}

.map_img_link:hover {
	cursor: url(/wp-content/uploads/decor/hover-full.svg), zoom-in;
}


@media (max-width: 767px) {
	.map_img_link::after {
		content: '';
		width: 44px;
		height: 44px;
		background-image: url(/wp-content/uploads/decor/hover-full.svg);
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;
		position: absolute;
		right: 1em;
		top: 1em;
	}
}


/* ПИТАНИЕ */
.page-template-food .side_pic__txt p:not(:has(img)) {
	max-width: 25em;
	margin-left: auto;
	margin-right: auto;
}

.page-template-food .side_pic__txt img[src*="reka"] {
	margin-right: -18%
}


/* БЛОК: преимущества */
.benefits_scr:not(:has(.slick-initialized)) .slider__nav {
	display: none;
}

.page-template-about .benefits_scr .container--slim p {
	font-size: 16px;
	max-width: 580px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.3;
}

.benefit_item__txt {
	padding-top: 0;
	background: #E3DED4;
}

.benefit_item__txt h3 {
	font-size: 14px;
	text-transform: uppercase;
}

.benefit_item.slick-slide {
	width: 290px;
}

.benefit_item .decor_bg div {
	min-height: 70px;
}

.benefit_item:nth-child(2) div {
	background-position: -130px 0;
}
.benefit_item:nth-child(3) div {
	background-position: -270px 0;
}

@media (min-width: 1201px) {
	.page-template-food .benefits_scr h2,
	.page-template-about .benefits_scr h2 {
		font-size: 40px;		
		font-weight: 400;
	}
}

@media (max-width: 767px) {
	.benefit_list.slick-initialized {
		margin-left: calc(var(--gap) * -1);
	}
	.benefit_list.slick-initialized .slick-list {
		padding-left: var(--gap);
	}
}


/* СЛАЙДЕР вариантов проживания */
.accomodation_grid.slick-initialized {
	margin-right: calc(var(--gap) * -1);
	margin-left: calc(var(--gap) * -1);
}

.accomodation_grid.slick-initialized .slick-list {
	padding-left: var(--gap);
	
}

.accomodation_card.slick-slide {
	margin: 0 0.5em;
	width: 28em;
	max-width: 80vw
}


/* БЛОК: короткие преимущества */
.q_benefit_item {
	background: #EEE7D7;
	flex-grow: 10;
	flex-basis: 100%;
}


/* СХЕМА ПРОЕЗДА */
.page-template-scheme .scr_with_img .page_title {
	margin-top: calc(var(--font-size-h1) * 1.1);
	margin-bottom: calc(var(--font-size-h1) * 2.1);
}

.scheme_nav__list {
	padding: 1em 0;
}

.scheme_side .decor_bg  div {
	max-height: 70px;
}

.scheme_content h2 {
	font-size: var(--font-size-h1);
}

.scheme_content h3 {
	font-size: var(--font-size-h2);
	text-transform: uppercase;
	font-weight: 500;
}

.scheme_content hr + h2 {
	margin-top: 2.5rem;
}

.scheme_content .wp-block-image {
	max-width: 680px;
}

.scheme_content p:not(:last-child) {
	margin-bottom: 2em;
}

@media (min-width: 768px) {
	.page-template-scheme .page_header {
		padding-bottom: 0;
	}	
	.page-template-scheme .page_header .decor_bg {
		display: none;
	}
	.scheme_nav.pos_sticky {
		top: 7em;
	}
}

@media (min-width: 1201px) {
	.scheme_grid.dis_grid--2_1 {
		grid-template-columns: minmax(0, 1fr) 460px;
	}
}

@media (max-width: 767px) {
	.page-template-scheme .page_header {
		background: var(--color-bg-light);
	}
}


/* РАСПИСАНИЕ */
.page-template-events .scr_with_img .page_title {
	margin-top: calc(var(--font-size-h1) * 1.2);
	margin-bottom: calc(var(--font-size-h1) * 2.2);
}

.events_group ~ .events_group {
	margin-top: var(--space)
}

.other_events .events_group {
	margin-top: 0;
}

.events_group__title {
	border-bottom: 1px solid #DECFB1;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
}

.events_group__grid {
	font-size: 15px;
	grid-template-columns: 8em 1fr;
}

.events_group__grid--other {
	grid-template-columns: 12em 1fr;
	margin-top: 4em;
	padding-top: 4em;
	border-top: 1px solid #E3DBCA
}

.events_group__date {
	margin-top: -0.2em;
	white-space: nowrap;
	font-size: 32px;
}

.events_group__day {
	top: 7em;
}

.events_item {
	display: grid;
	grid-template-columns: 9em 1fr 13em;
	column-gap: 3em;
}

.events_item--no_img {
	grid-template-columns: 9em 1fr;	
}

.events_item:not(:first-child) {
	border-top: 1px solid #DECFB1;
	padding-top: var(--space-05);
	margin-top: var(--space-05);
}

.events_item__name {
	font-size: calc(16em/15);
}

.events_item__caption {
	font-size: calc(12em/15);	
	letter-spacing: 0.13em;
	color: #808080;
}

.events_item__cover img {
	aspect-ratio: 200/150;
}

.events_item__action a {
	text-transform: none;
	font-size: calc(14em/15);
	text-decoration: underline !important;
}

@media (min-width: 1024px) {
	.events_group__grid--other .events_list {
		max-width: 1180px;
		margin-left: auto;
	}
}


@media (min-width: 1201px) {
	.events_group__title {
		font-size: 48px;
	}
	.events_group__day__num {
		font-size: 101px;
		margin-top: calc(var(--gap) * -1);
	}
}


@media (max-width: 1200px) {
	.events_item {
		grid-template-columns: 1fr 11em;
	}
	.events_item--no_img {		
		grid-template-columns: 1fr;
	}
	.events_item__cover {
		grid-column: 2/3;
		grid-row: 1/3;
	}
}

@media (max-width: 1023px) {
	.events_group__grid {
		grid-template-columns: 1fr;
	}
	.events_group__grid--other {
		margin-top: 3em;
		padding-top: 3em;
	}
	.events_group__day,
	.events_group__date {
		display: flex;
		align-items: center;
		gap: 1em;
	}
	.events_group__date {
		gap: 0.3em;
	}
	.events_group__day__txt {
		color: #6A6A6A;
		font-weight: 600;
	}
}

@media (max-width: 767px) {
	.events_item {
		grid-template-columns: 1fr;
	}	
	.events_item__cover {
		grid-column: initial;
		grid-row: initial;
		order: -1
	}
	.events_item__cover img {
		aspect-ratio: 335/180;
	}
	.events_item__time {
		margin-top: 1em;
		margin-bottom: 1.5em;
	}
	.events_group__title {
		text-align: left;
		font-size: 24px;
	}
}

@media (max-width: 575px) {
	.events_item__meta {
		flex-direction: column;
	}
}


/* МЕРОПРИЯТИЕ single */
.single_event__cover__img {
	aspect-ratio: 1920/730;
}

.page_header .sub_h1 {
	max-width: 43em;
}

.page_header .ta_center .sub_h1 {
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1481px) {
	.single_event__header__grid h1 {
		font-size: 75px;
	}
}

@media (min-width: 768px) {
	.single_event__header__grid {
		grid-template-columns: minmax(0, 1fr) 20em;
	}
	.single_event__header__side {
		padding-left: 2em;
		border-left: 1px solid #F4EFE5;
	}
	.single_event .single_post__wrap {
		grid-template-columns: minmax(0, 940px) 18em;
	}
	.single_event .single_post__sidebar {
		order: 10;
	}
}

@media (max-width: 767px) {	
	.single_event__cover__img {
		aspect-ratio: 768/443
	}
	
	.single_event :is(pre:first-child, .intro_txt) {
		display: none;
	}
	
	.single_event__header__grid * {
		justify-content: center;
		text-align: center;
	}
	.se_info__dates {
		display: flex;
		gap: 0.5em;
	}
	.se_info__dates .clr_gray {
		display: none;
	}
	.se_info__dates__to {
		order: 10;
	}		.se_info__dates:has(.se_info__dates__to)::after {
		content: '—';
		transform: translateY(0.5em);
	}
	.se_info__params {
		color: #808080;
		font-size: 14px;
	}
}

@media (max-width: 575px) {	
	.single_event__cover__img {
		aspect-ratio: 380/412
	}
}

/* БЛОК: текстовый */
.txt_block__big + .txt_block__2cols {
	margin-top: var(--space)
}

.btn_wrap + .txt_block__2cols {
	margin-top: var(--space)
}

.txt_block__2cols {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.txt_block__2cols {
	padding-top: 1.2em;
	border-top: 2px solid #EEE7D7
}

.txt_block__2cols + .txt_block__2cols {
	margin-top: 1.2em;
}

@media (max-width: 575px) {
	.txt_block__2cols .fs_p_med {
		font-size: 14px;
	}
}


/* ABOUT */
.page-template-about .page_header {
	/*min-height: 46vw;*/
	box-sizing: border-box;
}


/* 3Д-ТУР */
.page-template-3d .an_main {
	background-color: var(--color-bg-light);
}

@media (max-width: 575px) {
	.page-template-3d .default_content,
	.page-template-3d .page_title  {
		margin-bottom: 3em;
	}
	.page-template-3d .temp_3d img {
		height: 600px;
		object-fit: cover;
	}
	.page-template-3d .gallery_grid .decor_bg div {
		height: 80px;
	}
}