@import url('./module-fonts.css');
@import url('./module-navigation-menu.css');
@import url('./module-search-forms.css');
/*@import url('./module-spoilers.css');*/
@import url('./module-radial-contacts.css');
@import url('./module-qbpopups.css');
@import url('./module-ninjaforms-custom.css');
/*@import url('./module-cf7-custom.css');*/
@import url('./module-swiper847-custom.css');


/* ОБЩЕЕ - общие элементы структуры */
:root {
    --font-gilroy: 'Gilroy', sans-serif;
    --font-drukcyr: 'DrukCyr', sans-serif;

    --color-grey-979797: #979797;
    --color-darkgrey-2f2f2f: #2f2f2f;
    --color-pink-ff6fee: #ff6fee;
    --color-pink-ce2fea: #ce2fea;       /* градиент для фона кнопок */
}
::placeholder {
    font-family: var(--font-gilroy);
    color: #fff;
}
html, body {
    font-family: var(--font-gilroy);
    font-size: 16px;
    color: #fff;
    background-color: #000;
}
main {
    flex-grow: 1;
}
section {
    position: relative;
}
main section {
    scroll-margin: 4.375rem;
}
.site_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    /*min-width: calc(1756px + 4.375rem);*/
    min-height: 100%;
    overflow: hidden;
}
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 8.75rem;
}
.fullwidth_container {
    max-width: none !important;
}
.paddless_container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

main section.grey_section {
    border-radius: 2.5rem;
    background-color: var(--color-darkgrey-2f2f2f);
}
main section:has(+ section.grey_section) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
main section.grey_section + section.grey_section {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

main section .container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
}
main section.transparent_section:first-child > .container:first-child {
    padding-top: 0;
}
main section.transparent_section:last-child > .container:last-child {
    padding-bottom: 0;
}
main section.transparent_section + section.transparent_section .container:first-child {
    padding-top: 0;
}
main section.grey_section + section.grey_section .container:first-child {
    padding-top: 0;
}
main section > .container + .container {
    padding-top: 0;
}


/* ОБЩЕЕ - дополнительные элементы структуры */
.section_title {
    margin-bottom: 3.75rem;
    text-align: center;
    text-transform: uppercase;
    font-family: var(--font-drukcyr);
    font-size: 4rem;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
}
.section_title > * {
    text-align: inherit;
    text-transform: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
}

body.desktop .no_desktop,
body.mobile .no_mobile {
    display: none;
}

.socials {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    position: relative;
}
.socials a {
    --bordwidth: 1px;
    --backimg: url('../images/single-pixel.png');  /* фоллбэк */

    display: block;
    position: relative;
    z-index: 2;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    backdrop-filter: blur(20px);
}
.socials a::before,
.socials a::after,
.socials a > span {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.socials a::before {
    z-index: -1;
    background: linear-gradient(0deg, rgba(255 255 255 / 1) 0%, rgba(255 255 255 / 0.4) 100%);
    opacity: 0.2;
}
.socials a:hover::before,
.socials a:focus::before {
    background: linear-gradient(0deg, rgba(255 255 255 / 1) 0%, rgba(255 255 255 / 1) 100%);
}
.socials a::after {
    z-index: 2;
    border: var(--bordwidth) solid transparent;
    background: linear-gradient(0deg, rgba(255 255 255 / 0.2) 0%, rgba(255 255 255 / 1) 100%) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.socials a > span {
    z-index: 3;
    border: var(--bordwidth) solid transparent;
    background: center / cover no-repeat var(--backimg);
}
.socials a.tg {
    --backimg: url('../images/icons/icon-telegram-padded.png');
}
.socials a.wa {
    --backimg: url('../images/icons/icon-whatsapp-padded.png');
}
.socials a.vk {
    --backimg: url('../images/icons/icon-vkontakte-padded.png');
}
.socials a.skam {
    --backimg: url('../images/icons/icon-skam-padded.png');
}


/* ОБЩЕЕ - общие элементы контента */
a {
    color: var(--color-pink-ff6fee);
}
a:hover, a:focus {
    text-shadow: 0 0 0 currentColor;
}
a.obfusc_email {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
a.obfusc_email::before {
    content: attr(data-part_1) '@';
}
a.obfusc_email::after {
    content: attr(data-part_2) '.' attr(data-part_3);
}
strong, b {
    font-weight: 600;
}
img {
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
    object-position: center;
}
button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 13.625rem;
    max-width: 100%;
    padding: 1rem 1.875rem 0.75rem;
    border: none;
    border-radius: 99px;
    text-transform: uppercase;
    font-family: var(--font-gilroy);
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 700;
    color: #000;
    transition: all 0.2s ease;
    cursor: pointer;
}
button:has(> a),
button:has(> span) {
    align-items: stretch;
    padding: 0;
}
button:hover {
    filter: brightness(1.1);
}
button > a,
button > span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.875rem 1.875rem;
    text-decoration: none;
    color: inherit;
    text-shadow: none;
    transition: inherit;
}
button:hover > a,
button:hover > span {
    text-shadow: none;
}
@keyframes call_animation {
    20% {transform: rotate(15deg);} 
    40% {transform: rotate(-10deg);} 
    60% {transform: rotate(5deg);} 
    80% {transform: rotate(-5deg);} 
    100% {transform: rotate(0deg);} 
}

button.pink_gradient {
    border: 1px solid var(--color-pink-ff6fee);
    background: linear-gradient(0deg, var(--color-pink-ff6fee) 0%, var(--color-pink-ce2fea) 100%);
    color: #fff;
}
button.large {
    min-width: 19.125rem;
    padding: 1.375rem 3.125rem 1.125rem;
    font-size: 1rem;
}
button.large > a,
button.large > span {
    padding: 1.375rem 3.125rem 1.125rem;
}

span.pink_text {
    color: var(--color-pink-ff6fee);
}



/* ОБЩЕЕ - элементы текстовых секций */
.text_content {
    display: flow-root;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 400;
}
.text_content > *,
.text_content :is(h1, h2, h3, h4, p, ul, ol, table) {
    margin-bottom: 1rem;
}
.text_content :is(h1, h2, h3, h4, *.h1_like) {
    margin-top: 1.5rem;
    line-height: 1.1;
    font-weight: 500;
}
.text_content :is(h1, *.h1_like) {
    font-size: 4rem;
}
.text_content h2 {
    font-size: 3.5rem;
}
.text_content h3 {
    font-size: 3rem;
}
.text_content h4 {
    font-size: 2.5rem;
}
.text_content a:hover {
    text-decoration: underline;
    text-shadow: 0 0 0 currentColor;
}
.text_content ul,
.text_content ol {
    padding-left: 0.5rem;
}
.text_content ul > li,
.text_content ol > li {
    margin-bottom: 0.75rem;
}
.text_content li > p {
    margin-bottom: 1rem;
}
.text_content ul {
    --items-mark-size: 0.375rem;  /* размер менее 6px делать через стандартные маркеры, браузеры не умеют нормально рендерить мелкие скруглённые DOM элементы */
    --items-mark-vert-shift: 0px;
    --items-mark-horz-gap: 0.75rem;
    --items-line-height: 1.5;  /* не применяется напрямую, используется для расчёта положения метки */
    list-style-type: none;
    overflow: hidden;  /* фикс маркеров обтекающих float элементы перед списком */
}
.text_content ul > li {
    position: relative;
    padding-left: calc(var(--items-mark-size) + var(--items-mark-horz-gap));
}
.text_content ul > li::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(1em * var(--items-line-height) * 0.5 + var(--items-mark-vert-shift));
    left: 0;
    transform: translateY(-50%);
    width: var(--items-mark-size);
    height: var(--items-mark-size);
    border-radius: 50%;
    background: center / contain no-repeat var(--color-pink-ff6fee);
}
.text_content ol {
    list-style-position: inside;
}
.text_content ol > li::marker {
    font-weight: 600;
    color: var(--color-pink-ff6fee);
}
.text_content table {
    width: 100%;
    padding-top: 0.5rem;
    border-collapse: collapse;
    overflow: auto;
}
body.mobile .text_content table {
    display: block;
    max-width: 100%;
    overflow-x: scroll;
}
body.mobile .text_content tbody {
    display: block;
}
.text_content :is(tr, th, td) {
    margin: 0;
}
.text_content :is(th, td) {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-pink-ff6fee);
    text-align: center;
}
.text_content table.borderless :is(th, td) {
    border: none;
}
.text_content table.left_align :is(th, td)  {
    text-align: left;
}
.text_content table.left_col_left_align td:first-child {
    text-align: left;
}
.text_content hr {
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
    border-bottom: 0.125rem solid var(--color-pink-ff6fee);
}
.text_content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.text_content > *:first-child,
.text_content :is(h1, h2, h3, h4, p, ul, ol, table):first-child,
body.desktop .text_content .no_desktop:first-child + *,
body.mobile .text_content .no_mobile:first-child + * {
    margin-top: 0;
    padding-top: 0;
}
.text_content > *:last-child,
.text_content :is(h1, h2, h3, h4, p, ul, ol, table):last-child,
body.desktop .text_content :has(+ *.no_desktop:last-child),
body.mobile .text_content :has(+ *.no_mobile:last-child) {
    margin-bottom: 0;
    padding-bottom: 0;
}


/* ОБЩЕЕ - дополнительные элементы текстовых секций */
.text_content .imgs_flex {
    --flex-wrap: nowrap;
    --elems-height: 15rem;
    --elems-ratio: auto;

    display: flex;
    flex-wrap: var(--flex-wrap);
    gap: 1rem;
}
.text_content .imgs_flex > * {
    font-size: 0;
}
.text_content .imgs_flex img {
    min-width: 0;
    height: var(--elems-height);
    aspect-ratio: var(--elems-ratio);
    object-fit: cover;
    object-position: center;
}

.text_content .imgs_grid {
    --grid-rows: 15rem;
    --grid-col-min: var(--grid-rows);
    --grid-cols: repeat(auto-fit, minmax(var(--grid-col-min), 1fr));
    --obj-fit: cover;

    display: grid;
    grid-template-columns: var(--grid-cols);
    grid-auto-rows: var(--grid-rows);
    gap: 1rem;
}
.text_content .imgs_grid > * {
    font-size: 0;
}
.text_content .imgs_grid img {
    width: 100%;
    height: 100%;
    object-fit: var(--obj-fit);
    object-position: center;
}


/* ХЕДЕР */
header {
    --header-transition: 0.2s ease;
    height: var(--header-height);
}
.header_section {
    position: relative;
    z-index: 999;
    transition: all var(--header-transition);
}
.header_container {
    min-height: 3.75rem;
    padding: 1rem 2.125rem;
}
.header_layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

body:has(main > section.mainslider_section:first-child) header {
    height: 0;
}
body:has(main > section.mainslider_section:first-child) .header_section {
    background: linear-gradient(0deg, rgba(0 0 0 / 0) 0%, rgba(0 0 0 / 1) 100%);
}

body.sticky_header.scrolled .site_wrapper .header_section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(0deg, rgba(0 0 0 / 1) 0%, rgba(0 0 0 / 1) 100%);
    box-shadow: 0 0 0.5rem var(--color-grey-979797);
}
body.sticky_header.scrolled .header_container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* награда */
.header_reward {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 400;
}
.header_reward::before {
    content: '';
    flex-shrink: 0;
    display: block;
    width: 1.625rem;
    height: 1.625rem;
    background: center / contain no-repeat url('../images/icons/icon-reward.svg');
}

/* меню */
.header_menu ul.wp-menu {
    --topitem-font-size: 0.875rem;
    --topitem-line-height: 1.2;
    --topitem-font-weight: 500;
    --topitem-color: #fff;
    --topitem-active-color: var(--color-pink-ff6fee);

    gap: 0.5rem 2.5rem;
    flex-wrap: wrap;
    position: relative;
}
.header_menu ul.wp-menu li.menu-item {
    text-transform: uppercase;
}
.header_menu ul.wp-menu li.current-menu-item > span.link-wrapper a,
.header_menu ul.wp-menu li.current-menu-ancestor > span.link-wrapper a {
    color: var(--topitem-color);
}
.header_menu ul.wp-menu li.menu-item:hover > span.link-wrapper a,
.header_menu ul.wp-menu li.menu-item:has(*:focus) > span.link-wrapper a,
.header_menu ul.wp-menu li.menu-item.active > span.link-wrapper a {
    color: var(--topitem-active-color);
}

/* мобильное меню */
.mobile_panel_toggler {
    --line-height: 2px;
    --line-shift: 0;
    --line-bradius: 0;
    --line-color: var(--color-pink-ff6fee);

    display: none;
    width: 2.75rem;
    height: 1.125rem;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
}
.mobile_panel_toggler span:nth-child(2) {
    width: 75%;
}
.mobile_panel_toggler span:nth-child(3) {
    width: 50%;
}
.mobile_panel_toggler span {
    left: auto;
    right: 0;
}

.mobile_panel_menu {
    background-color: #000;
}
.mobile_panel_top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}
.mobile_panel_closer {
    flex-shrink: 0;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    background: center / 1.5rem no-repeat url('data:image/svg+xml,%3Csvg version="1.0" xmlns="http://www.w3.org/2000/svg" width="50px" height="50px" viewBox="0 0 1000.000000 1000.000000" preserveAspectRatio="xMidYMid meet"%3E%3Cg transform="translate(0.000000,1000.000000) scale(0.100000,-0.100000)"%0Afill="%23b100ff" stroke="none"%3E%3Cpath d="M442 9568 c-230 -231 -415 -424 -419 -437 -3 -13 -2 -35 3 -48 5 -13%0A913 -929 2019 -2036 1106 -1107 2011 -2018 2013 -2026 2 -8 0 -26 -3 -40 -4%0A-17 -726 -746 -2021 -2041 -1907 -1908 -2014 -2017 -2014 -2050 0 -32 28 -62%0A418 -452 390 -390 420 -418 452 -418 33 0 142 107 2050 2014 1295 1295 2024%0A2017 2041 2021 14 3 32 5 40 3 8 -2 919 -907 2026 -2013 1107 -1106 2023%0A-2014 2036 -2019 13 -5 35 -6 48 -3 13 4 206 189 437 419 384 385 412 416 412%0A448 0 33 -111 146 -2014 2050 -1295 1295 -2017 2024 -2021 2041 -6 25 -4 49 5%0A59 3 3 911 912 2018 2021 1902 1904 2012 2016 2012 2049 0 32 -28 62 -412 448%0A-231 230 -424 415 -437 419 -13 3 -35 2 -48 -3 -13 -5 -929 -913 -2036 -2019%0A-1107 -1105 -2018 -2011 -2026 -2013 -8 -2 -26 0 -40 3 -17 4 -746 726 -2041%0A2021 -1904 1903 -2017 2014 -2050 2014 -32 0 -63 -28 -448 -412z"/%3E%3C/g%3E%3C/svg%3E');
    filter: saturate(0) brightness(0) invert(61%) sepia(22%) saturate(3453%) hue-rotate(285deg) brightness(110%) contrast(106%);
    cursor: pointer;
}

.mobile_panel ul.wp-menu {
    --topitem-padds-vert : 0.75rem;
    --topitem-padds-horz: 0rem;
    --topitem-backcolor: #000;
    --topitem-active-backcolor: #000;
    --topitem-font-size: 1.75rem;
    --topitem-line-height: 1.2;
    --topitem-font-weight: 400;
    --topitem-color: #fff;
    --topitem-active-color: var(--color-pink-ff6fee);

    --subitem-padds-vert : 0.75rem;
    --subitem-f-l-padds-vert: 0.75rem;
    --subitem-padds-horz: 0.5rem;
    --subitem-backcolor: var(--color-darkgrey-2f2f2f);
    --subitem-active-backcolor: var(--color-darkgrey-2f2f2f);
    --subitem-font-size: 1.75rem;
    --subitem-line-height: 1.3;
    --subitem-font-weight: 400;

    gap: 0;
}
.mobile_panel ul.wp-menu li.menu-item {
    width: 100%;
}
.mobile_panel ul.wp-menu ul.sub-menu {
    width: 100%;
}


/* ФУТЕР */
.footer_container {
    padding-top: 6.25rem;
    padding-bottom: 4.25rem;
}
.footer_layout {
    padding: 3.875rem 3.875rem 4.25rem;
    border: 1px solid rgba(255 255 255 / 0.3);
    border-radius: 2.5rem;
    background-color: var(--color-darkgrey-2f2f2f);
}
footer a {
    text-decoration: none;
    color: inherit;
}
footer a:hover,
footer a:focus {
    text-decoration: underline;
}

.footer_columns {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}
.footer_column {
    display: flex;
    flex-direction: column;
    gap: 1.625rem;
}

.footer_text {
    text-transform: uppercase;
    font-family: var(--font-drukcyr);
    font-size: 4rem;
    line-height: 1;
    font-weight: 500;
    color: #fff;
}
.footer_company_info {
    margin-top: auto;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--color-grey-979797);
}

.footer_contacts {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: #fff;
}
.footer_contacts span.label {
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}
.footer_contacts span.data {
    text-transform: uppercase;
    font-family: var(--font-drukcyr);
    line-height: 1;
    letter-spacing: 1px;
}
.footer_contacts.phones span.data {
    font-size: 3.125rem;
}
.footer_contacts.worktime span.data {
    font-size: 2.25rem;
}

.footer_socials {
    margin-left: auto;
}
.footer_booking {
    margin-top: auto;
    margin-left: auto;
}

/* фиксированная кнопка с контактами */
.radial_contacts {
    --main-button-padding: 0.25em 0.25em 0.5em;
    --main-buttons-backcolor: #000;
    --inner-buttons-padding: 0.125em;
    --inner-buttons-backcolor: var(--color-darkgrey-2f2f2f);

    --shadow-color: var(--color-pink-ff6fee);
}
.radial_contacts a img {
    scale: 1.2;
}


/* СТРАНИЦЫ, ЗАПИСИ, КАТЕГОРИИ - хлебные крошки */
main section.breadcrumbs_section .breadcrumbs_container.container {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
}
.breadcrumbs_layout {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.625rem;
    font-size: 1.125rem;
    line-height: 1.3;
}
.breadcrumbs_separator {
    width: 1px;
    background-color: var(--color-grey-979797);
}
.breadcrumbs_link {
    color: var(--color-grey-979797);
}
.breadcrumbs_link a {
    text-decoration: none;
    color: var(--color-pink-ff6fee);
}
.breadcrumbs a:hover {
    text-decoration: underline;
}


/* СТРАНИЦЫ, ЗАПИСИ, КАТЕГОРИИ - общие элементы */
.default_page_section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.breadcrumbs_section + .default_page_section {
    padding-top: 0;
}
main section.default_page_section .default_page_container.container {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
}
.default_page_section .container:last-child {
    flex-grow: 1;
}
.page_content_columns {
    display: flex;
    gap: 2rem;
}
.page_content_columns > * {
    margin: 0;
}
.page_content_side_column {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 30%;
}
.page_content_left_column {
    padding-right: 2rem;
    border-right: 2px solid var(--color-pink-ff6fee);
}
.page_content_right_column {
    padding-left: 2rem;
    border-left: 2px solid var(--color-pink-ff6fee);
}
.page_content_side_column img.page_main_image {
    float: none;
    width: 100%;
    object-fit: scale-down;
    margin: 0;
    padding: 0;
}

h1.page_title {
    text-align: left;
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 500;
}
h1.page_title:has(+ *) {
    margin-bottom: 1.25rem;
}
h1.page_title_hidden {
    position: absolute;
    left: -200%;
    z-index: -1;
    height: 0;
    opacity: 0.01;
}
img.page_main_image {
    float: right;
    width: 30%;
    height: auto;
    margin-left: 3%;
    margin-bottom: 3%;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
img.page_main_image:hover {
    box-shadow: 0 0 6px var(--color-pink-ff6fee);
}


/* СТРАНИЦЫ, ЗАПИСИ, КАТЕГОРИИ - страница ошибки 404 */
.page_404 p {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}
.page_404 span {
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
}


/* СТРАНИЦЫ, ЗАПИСИ, КАТЕГОРИИ - общие элементы терминов */
/* собственный контент */
.term_posts_container {
    padding-top: 0;
}
.term_posts_layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.term_posts ul.posts_list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style-type: none;
}

/* подкатегории */
.term_subterms_layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.term_subterms ul.subterms_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 2rem;
    list-style-type: none;
}

.subterm_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    position: relative;
    box-shadow: 0 0 6px var(--color-grey-979797);
    font-size: 1.125rem;
}
.subterm_item:hover {
    box-shadow: 0 0 6px var(--color-pink-ff6fee);
}
.subterm_item .subterm_image img {
    width: 12.5rem;
    height: 17.5rem;
    border: 3px solid #ededed;
}
.subterm_item .subterm_title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-pink-ff6fee);
}
.subterm_item .subterm_title > * {
    text-align: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
}
.subterm_item .subterm_link {
    display: block;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
}

.term_subterms_filter input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 1rem;
}
.term_subterms .subterm_item.hidden {
    display: none !important;
}

/* дочерние записи */
.term_posts ul.posts_list {
    list-style-type: none;
}
.term_posts li.post_item .post_title > * {
    text-align: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
}

.term_posts_simple ul.posts_list {
    --items-mark-size: 0.375rem;
    --items-mark-vert-shift: 0px;
    --items-mark-horz-gap: 0.75rem;
    --items-line-height: 1.5;  /* не применяется напрямую, используется для расчёта положения метки */
    gap: 0.75em;
}
.term_posts_simple li.post_simple {
    position: relative;
    padding-left: calc(var(--items-mark-size) + var(--items-mark-horz-gap));
}
.term_posts_simple li.post_simple::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(1em * var(--items-line-height) * 0.5 + var(--items-mark-vert-shift));
    left: 0;
    transform: translateY(-50%);
    width: var(--items-mark-size);
    height: var(--items-mark-size);
    border-radius: 50%;
    background-color: var(--color-pink-ff6fee);
}

.term_posts_extended ul.posts_list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.term_posts_extended li.post_extended {
    display: flex;
    gap: 1rem;
    min-height: 15rem;
}
.term_posts_extended img.post_image {
    width: 15rem;
    max-width: 34%;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--color-pink-ff6fee);
}
.term_posts_extended .post_description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--color-grey-979797);
}
.term_posts_extended .post_description:has(a:hover) {
    border-bottom: 1px solid var(--color-pink-ff6fee);
}
.term_posts_extended .post_title {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-pink-ff6fee);
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
}
.term_posts_extended .post_title > * {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}
.term_posts_extended .post_title a {
    text-decoration: none;
}
.term_posts_extended .post_text {
    flex-grow: 1;
    font-size: 0.9rem;
    overflow: hidden;
}
.term_posts_extended .post_extra {
    display: flex;
    align-items: flex-end;
    width: 100%;
    font-size: 0.9em;
}
.term_posts_extended .post_extra > * {
    padding: 0.5rem 0.625rem;
}
.term_posts_extended .post_more {
    display: block;
    width: max-content;
    margin-left: auto;
    background-color: var(--color-grey-979797);
    text-decoration: none;
    color: #000;
}
.term_posts_extended .post_more:hover,
.term_posts_extended .post_description:has(a:hover) .post_more {
    background-color: var(--color-pink-ff6fee);
    color: #fff;
}

.term_posts_grid ul.posts_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 2rem;
}
.term_posts_grid li.post_grid {
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 6px var(--color-grey-979797);
}
.term_posts_grid li.post_grid:hover,
.term_posts_grid li.post_grid:focus {
    box-shadow: 0 0 6px var(--color-pink-ff6fee);
}
.term_posts_grid img.post_image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    object-position: center;
}
.term_posts_grid .post_text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 400;
    overflow: hidden;
}
.term_posts_grid .post_text::after {
    content: '>>>';
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding: 0.125rem 0.5rem;
    background-color: var(--color-grey-979797);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-pink-ff6fee);
}
.term_posts_grid .post_text span {
    padding: 0.5rem;
    line-height: 1.5;
}
.term_posts_grid a.post_link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.term_posts_filter input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 1rem;
}
.term_posts .post_item.hidden {
    display: none !important;
}

.term_pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
}
.term_pagination .nav-links > * {
    display: block;
    width: max-content;
    min-width: calc(1em + 2rem);
    padding: 0.5rem 0;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.3;
    color: #000;
}
.term_pagination .nav-links > a {
    background-color: #fff;
    text-decoration: none;
    color: var(--color-pink-ff6fee);
}
.term_pagination .nav-links > a:hover {
    box-shadow: 0 0 2px var(--color-pink-ff6fee);
}


/* ТИТУЛЬНЫЙ СЛАЙДЕР */
.mainslider_layout {
    padding-bottom: 0.625rem;
}

.mainslide {
    position: relative;
    padding-top: var(--header-height);
}
.mainslide_image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.mainslide_image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 28.875rem;
    max-height: 63.3%;
    background: linear-gradient(0deg, rgba(0 0 0 / 1) 0%, rgba(0 0 0 / 0) 100%);
    font-size: 0;
}
.mainslide_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mainslide_content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 45.625rem;
    padding: 2.5rem 0 1.25rem;
}
.mainslide_logo {
    margin-bottom: 0.5rem;
    font-size: 0;
}
.mainslide_logo img {
    width: 11.875rem;
    height: 11.375rem;
    object-fit: contain;
}
.mainslide_title {
    margin-bottom: 1.375rem;
    text-align: center;
    text-transform: uppercase;
    font-family: var(--font-drukcyr);
    font-size: 5rem;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
}
.mainslide_text {
    margin-bottom: 1.875rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
}

.mainslider .swiper-pagination.swiper-pagination-bullets {
    gap: 0.75rem;
}
.mainslider .swiper-pagination-bullet > div {
    width: 6.125rem;
}


/* СЛАЙДЕР ИВЕНТОВ */
.eventslide_image {
    font-size: 0;
}
.eventslide_image img {
    width: 21.875rem;
    max-width: 100%;
    height: 38.75rem;
    object-fit: cover;
    object-position: center;
    border-radius: 1.25rem;
}


/* СЛАЙДЕР БАРОВ */
.barslider_container {
    position: relative;
}
.barslider_container::before,
.barslider_container::after {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    background: center / contain no-repeat url('../images/object-star.png');
    pointer-events: none;
}
.barslider_container::before {
    top: -1rem;
    left: 0;
    width: 33.75rem;
    height: 33.75rem;
    rotate: -24deg;
    opacity: 0.4;
}
.barslider_container::after {
    top: 4.5rem;
    right: 5rem;
    width: 16.5rem;
    height: 16.5rem;
    rotate: 15deg;
}
.barslider_layout {
    position: relative;
    z-index: 1;
}

.barslider .swiper {
    overflow: visible;
}
.barslide_wrapper {
    width: 21.25rem;
    max-width: 100%;
    border: 1px solid rgba(255 255 255 / 0.3);
    border-radius: 1.25rem;
    overflow: hidden;
}
.barslide_image {
    font-size: 0;
}
.barslide_image img {
    width: 100%;
    height: 12.5rem;
    object-fit: cover;
}
.barslide_content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: var(--color-darkgrey-2f2f2f);
}
.barslide_title {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: var(--font-drukcyr);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.barslide_text {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 400;
}
.barslide_booking {
    margin-top: auto;
    user-select: none;
}


/* СЛАЙДЕР БЛЮД */
.foodslider .swiper {
    overflow: visible;
}
.foodslide_wrapper {
    width: 15rem;
    max-width: 100%;
}
.foodslide_image {
    margin-bottom: 1.25rem;
    font-size: 0;
}
.foodslide_image img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border: 1px solid rgba(255 255 255 / 0.3);
    border-radius: 1rem;
}
.foodslide_content {
    display: flex;
    flex-direction: column;
    background-color: var(--color-darkgrey-2f2f2f);
}
.foodslide_title {
    margin-bottom: 0.625rem;
    text-transform: uppercase;
    font-family: var(--font-drukcyr);
    font-size: 1.625rem;
    font-weight: 500;
}
.foodslide_text {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-grey-979797);
}


/* ГАЛЕРЕЯ */
.maingallery_container {
    position: relative;
}
.maingallery_container::before,
.maingallery_container::after {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    background: center / contain no-repeat url('../images/object-star.png');
    pointer-events: none;
}
.maingallery_container::before {
    top: 28rem;
    left: 3.5rem;
    width: 16.875rem;
    height: 16.875rem;
    rotate: -31deg;
}
.maingallery_container::after {
    top: 5.25rem;
    right: 12rem;
    width: 10.125rem;
    height: 10.125rem;
    rotate: 15deg;
}
.maingallery_layout {
    position: relative;
    z-index: 1;
}

.maingallery_title {
    margin-bottom: 1.25rem;
    font-size: 8rem;
}
.maingallery_title > * {
    background: linear-gradient(0deg, rgba(0 0 0 / 1) 0%, rgba(255 255 255 / 1) 100%);
    background-clip: text;
    color: transparent;
}

.maingallery_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 11.5rem;
    gap: 1.25rem;
}
.maingallery_item {
    font-size: 0;
}
.maingallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.625rem;
    transition: all 0.2s ease;
}
.maingallery_item img:hover {
    box-shadow: 0 0 1rem var(--color-pink-ff6fee);
}


/* ПОПАПЫ */
.qbpopups_item {
    border-top-left-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    background-color: var(--color-darkgrey-2f2f2f);
}
.qbpopups_item.qbpopups_image {
    background-color: transparent;
}
.qbpopups_controls > * {
    filter: saturate(0) brightness(0) invert(61%) sepia(22%) saturate(3453%) hue-rotate(285deg) brightness(110%) contrast(106%);
}


/* ТЕКСТ НА ГЛАВНОЙ */
.maintext_section .text_content {
    font-size: 0.875rem;
}
.maintext_section .text_content h1 {
    font-size: 1.75rem;
}
.maintext_section .text_content h2 {
    font-size: 1.375rem;
}
.maintext_section .text_content h3 {
    font-size: 1.125rem;
}


/* ПЛАГИН "Ninja Forms" */
.nf-form-cont {
    --nf-elems-height: 3em;
    --nf-elems-border-width: 2px;
    --nf-elems-border-radius: 99px;
    --nf-elems-border-color: #fff;
    --nf-elems-background: #fff;
    --nf-elems-error-color: #f44;

    --nf-elems-font-family: var(--font-gilroy);
    --nf-elems-font-size: 1.125em;
    --nf-elems-font-weight: 500;
    --nf-elems-text-color: #000;
    --nf-elems-placeholder-color: var(--color-grey-979797);

    --nf-elems-check-size: 1.125em;
    --nf-elems-check-color: var(--color-pink-ff6fee);
    --nf-elems-label-font-size: 0.875em;
    --nf-elems-label-font-weight: 400;
    --nf-elems-label-color: #fff;

    --nf-elems-offield-max-width: 100%;
    --nf-elems-offield-font-size: 0.875em;
    --nf-elems-offield-font-weight: 400;
    --nf-elems-offield-text-color: #fff;
    --nf-elems-offield-links-color: var(--color-pink-ff6fee);

    --nf-submit-width: 10.375em;
    --nf-submit-height: 3em;
    --nf-submit-border-color: var(--color-pink-ff6fee);
    --nf-submit-background: linear-gradient(0deg, var(--color-pink-ff6fee) 0%, var(--color-pink-ce2fea) 100%);
    --nf-submit-text-transform: uppercase;
    --nf-submit-font-size: 0.875em;
    --nf-submit-font-weight: 700;
    --nf-submit-text-color: #fff;

    --nf-msgs-padd-top: 0.25em;
    --nf-msgs-font-size: 1em;
    --nf-msgs-font-weight: 600;
    
    --nf-response-text-align: center;
    --nf-response-font-size: 1.5em;
    --nf-response-font-weight: 500;
    --nf-response-text-color: #fff;
    --nf-response-links-color: #fff;

    width: 18em !important;
}
.nf-field .submit-wrap .nf-element {
    min-width: 13.625rem !important;
    padding: 1rem 1.875rem 0.75rem !important;
}
/* для отладки авто-заполнения скрытых полей */
/*.nf-field-container.nf_hidden_container {
    display: block !important;
}*/


/* СЛАЙДЕРЫ Swiper.js */
/*.swiper-button-prev::after {
    background-image: url('../images/icons/arrow-left.svg');
}
.swiper-button-next::after {
    background-image: url('../images/icons/arrow-right.svg');
}*/
.swiper-pagination.swiper-pagination-bullets {
    margin-top: 2.5rem;
    gap: 0.375rem;
}
.swiper-pagination-bullet {
    padding: 0.25rem 0;
}
.swiper-pagination-bullet > div {
    width: 5.25rem;
    height: 0.375rem;
    border-radius: 99px;
    background-color: var(--color-darkgrey-2f2f2f);
    filter: none;
    opacity: 1;
}
.swiper-pagination-bullet-active > div {
    background-color: var(--color-pink-ff6fee);
}
.grey_section .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) > div {
    background-color: #000;
}


/* INFINITY COPYRIGHT */
.copyright_infinity {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.375em;
}
.copyright_infinity a {
    line-height: 1em;
    color: inherit;
}
.copyright_infinity a:has(img) {
    flex-shrink: 0;
    line-height: 0;
}
.copyright_infinity img {
    width: 30px;
    height: 30px;
    filter: saturate(0) brightness(1.2);
}
