body {
    height: 100%;
    margin: 0;
    padding-right: 0px !important;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

#main {
    flex: 1;
}

.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
}
img{
    max-width: 100%;
    height: auto;
}
/*HEADER STYLES*/
#footer .ajax-progress,
#header .ajax-progress {
    display: none;
}

.toolbar .toolbar-tab .toolbar-icon {
    padding: 0.75em 1.5em 0.75em 2.5em;
}
.path-admin .messages--error {
    display: none;
}
/* *** contextual-region *** */
.contextual-region .contextual {
    display: none;
    top: -8px;
    right: 8px;
}

.contextual-region .contextual-region .contextual {
    top: 8px;
}

.contextual-region:hover .contextual {
    display: block;
}

.contextual-region .contextual .trigger {
    width: 22px !important;
    height: 22px !important;
    background-size: 14px 14px;
}

.cart-block--summary .cart-block--summary__count {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    background: #ccc;
    color: #fff;
    top: -3px;
    right: -9px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 500;
}

#header-mob {
    top: 0;
    width: 100%;
    background: #d9d9d9;
    color: #000;
    padding: 5px 5px;
    z-index: 50;
}

#header-mob.toolbar-horizontal #header-mob {
    top: 0;
}

#header-mob > * {
    padding: 0 10px;
}

#header-mob a {
    color: #000;
}

.offcanvas {
    --bs-offcanvas-bg: #d9d9d9;
}

.offcanvas .offcanvas-title {
    color: #000;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
}

.region-navigation .nav > .nav-item:hover .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
}


/*HEADER STYLES*/

/* SLICK STYLES */
.region-slider .view-content:not(.slick-initialized) .views-row {
    display: none;
}

.region-slider .view-content:not(.slick-initialized) .views-row:first-child {
    display: block;
}

div#slider-block .view.view-slayder.view-id-slayder .view-content .node--type-slide .content {
    position: absolute;
    top: 0;
    bottom: calc(1vw + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: calc(50% - 10px);
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

button.slick-prev.slick-arrow {
    left: 25px;
}

button.slick-next.slick-arrow {
    right: 25px;
}

ul.slick-dots {
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 10px 0;
}

ul.slick-dots li button {
    background: #686868;
    border-radius: 50%;
    border: none;
    padding: 0;
    width: 10px;
    font-size: 0;
    height: 10px;
    display: block;
}

ul.slick-dots li button::before {
    display: none;
}

ul.slick-dots li.slick-active button {
    background: #272727;
}

button.slick-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

button.slick-arrow::before {
    content: '';
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 0;
}

button.slick-prev.slick-arrow::before {
    background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
    transform: rotate(-90deg);
}

button.slick-next.slick-arrow::before {
    background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
    transform: rotate(90deg);
}

/* ===== ПАНЕЛЬ СОЦСЕТЕЙ (fixed, над кнопкой "Наверх") ===== */
.social-fixed-panel {
    position: fixed;
    right: 25px;
    bottom: 165px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-fixed-item {
    width: 50px;
    height: 50px;
    display: block;
    transition: transform 0.25s ease;
}

.social-fixed-item img {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
}

.social-fixed-item:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ===== КНОПКА "НАВЕРХ" (без изменений) ===== */
#scrollToTop {
    width: 50px;
    height: 50px;
    background: none;
    text-indent: 0;
    font-size: 0;
    border: 0px;
    outline: 0px;
    display: flex;
    bottom: 45px;
    cursor: pointer;
    position: fixed;
    right: 25px;
    z-index: 10;
    transition: 0.2s;
    padding: 0;
}

/* SLICK STYLES */

/* PRODUCT PAGE STYLES*/
.product-teaser {
    display: flex;
    gap: 50px;
}

.product-teaser .product-teaser-image {
    max-width: 500px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .current-slide.slick-initialized.slick-slider {
    margin: 0 0 10px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .current-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide img {
    max-width: 500px;
    min-width: 500px;
    max-height: 500px;
    min-height: 500px;
    object-fit: cover;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .nav-slide.slick-initialized.slick-slider .slick-list.draggable {
    margin: 0 -5px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .nav-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide {
    margin: 0 5px;
    max-width: 118px;
    min-width: 118px;
    max-height: 118px;
    min-height: 118px;
}

.product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .nav-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide img {
    max-width: 118px;
    min-width: 118px;
    max-height: 118px;
    min-height: 118px;
    object-fit: cover;
}

.product-teaser .product-teaser-info {
    max-width: 500px;
}

.product-view-full button.slick-prev.slick-arrow {
    left: -25px;
}

.product-view-full button.slick-next.slick-arrow {
    right: -25px;
}


.node--view-mode-full .field--name-body img {
    margin: 0 10px;
}

/* ===== EL MESSIRI ===== */
@font-face {
    font-family: "El Messiri";
    src: url("/sites/all/themes/vesta_theme/font/ElMessiri-Medium.woff2") format("woff2"),
    url("/sites/all/themes/vesta_theme/font/ElMessiri-Medium.woff") format("woff"),
    url("/sites/all/themes/vesta_theme/font/ElMessiri-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "El Messiri";
    src: url("/sites/all/themes/vesta_theme/font/ElMessiri-SemiBold.woff2") format("woff2"),
    url("/sites/all/themes/vesta_theme/font/ElMessiri-SemiBold.woff") format("woff"),
    url("/sites/all/themes/vesta_theme/font/ElMessiri-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "El Messiri";
    src: url("/sites/all/themes/vesta_theme/font/ElMessiri-Bold.woff2") format("woff2"),
    url("/sites/all/themes/vesta_theme/font/ElMessiri-Bold.woff") format("woff"),
    url("/sites/all/themes/vesta_theme/font/ElMessiri-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== GREAT VIBES ===== */
@font-face {
    font-family: "Great Vibes";
    src: url("/sites/all/themes/vesta_theme/font/GreatVibes-Regular.woff2") format("woff2"),
    url("/sites/all/themes/vesta_theme/font/GreatVibes-Regular.woff") format("woff"),
    url("/sites/all/themes/vesta_theme/font/GreatVibes-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== ROOT VARIABLES ===== */
:root {
    --font-family: "El Messiri", sans-serif;
    --second-family: "Great Vibes", sans-serif;
}

/* ===== BASE FONT ===== */
body {
    font-family: var(--font-family);
    font-weight: 500;
}

/* PRODUCT PAGE STYLES*/

/* ===== HEADER: базовый шрифт ===== */
#header {
    background: rgba(0, 0, 0, 0.28);
    font-family: var(--font-family);
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.not-front #main {
    padding-top: 150px; /* подбери под реальную высоту header */
}

/* На главной странице оставляем как есть — там компенсация уже есть в .promo_content */
.front #main {
    padding-top: 0;
}

#header a {
    text-decoration: none;
}

/* ===== TOP ROW ===== */
.header-top {
    padding: 0px 0 !important;
}

.header-top .container > div {
    gap: 26px;
}

/* Логотип */
.logo img {
    max-height: 67px;
    width: auto;
    display: block;
}

.logo a {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 32px;
    color: #fff;
    line-height: 1;
    transition: color 0.25s ease;
}

.logo a:hover {
    color: #c7d99a;
}

/* Адрес */
.col-address {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
    color: #fff;
    max-width: 232px;
}

.col-address .address {
    opacity: 0.9;
}

/* Почта */
.col-mail {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #fff;
}

.col-mail .mail {
    position: relative;
    display: inline-block;
    color: #fff;
    transition: color 0.25s ease;
}

.col-mail .mail::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: #c7d99a;
    transition: width 0.25s ease;
}

.col-mail .mail:hover {
    color: #c7d99a;
}

.col-mail .mail:hover::after {
    width: 100%;
}

/* ===== ТЕЛЕФОНЫ: в линию, с иконками ===== */
.col-phones {
    flex-direction: row !important;
    gap: 20px;
    flex-wrap: nowrap;
}

.col-phones .tel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.col-phones .tel:hover {
    color: #c7d99a;
}

.col-phones .tel:hover .tel-icon {
    filter: brightness(0) saturate(100%) invert(88%) sepia(11%) saturate(475%) hue-rotate(46deg) brightness(93%) contrast(92%);
}

.col-phones .tel-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: filter 0.25s ease;
}

.col-phones .tel-two {
    font-weight: 500;
}

/* Кнопка "Забронировать" */
.col-callback .btn-primary {
    display: inline-block;
    background: #768b40;
    border: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #fff;
    padding: 13px 36px;
    border-radius: 10px;
    white-space: nowrap;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.col-callback .btn-primary:hover {
    background-color: #8ba14a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ===== BOTTOM ROW (навигация + поиск) ===== */
.header-bottom {
    padding: 6px 0 !important;
    position: relative;
    z-index: 1;
}

.region-navigation {
    flex: 1;
}

.region-navigation .nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 46px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.region-navigation .nav-item {
    list-style: none;
}

.region-navigation .nav-link {
    position: relative;
    display: inline-block;
    color: #fff;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.region-navigation .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #c7d99a;
    transition: width 0.25s ease;
}


.region-navigation .nav-link:hover,
.region-navigation .nav-link.is-active {
    color: #c7d99a;
}

.region-navigation .nav-link:hover::after,
.region-navigation .nav-link.is-active::after {
    width: 100%;
}

/* ===== ПОИСК: абсолютный, поверх остальных элементов ===== */
.col-search {
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
    z-index: 10;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-toggle {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
}

.search-toggle:hover {
    transform: scale(1.1);
}

.search-toggle img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.search-toggle:hover img {
    opacity: 1;
}

.search-input {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    padding: 0;
    margin-right: 0;
    border: none;
    border-radius: 8px;
    background: #2b2b1f;
    background: linear-gradient(135deg, #33351f 0%, #1e1f16 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    opacity: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(199, 217, 154, 0.25);
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    pointer-events: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-family);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 1.5px #c7d99a;
}

.search-form.is-active .search-input {
    width: 220px;
    opacity: 1;
    margin-right: 10px;
    padding: 10px 14px;
    pointer-events: auto;
}

/* ===== PROMO BLOCK ===== */
#promo-block {
    position: relative;
    width: 100%;
    height: 960px;
    overflow: hidden;
}

#promo-block .container {
    position: relative;
    height: 100%;
    z-index: 2;
}

/* Фон — full-bleed, выходит за пределы container на всю ширину экрана */
.promo_image_bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 960px;
    z-index: 0;
}

.promo_image_bg img {
    width: 100%;
    height: 960px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Затемнение поверх фото для читаемости текста */
.promo_image_bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.1) 30%,
            rgba(0, 0, 0, 0.05) 60%,
            rgba(0, 0, 0, 0.2) 100%
    );
}

/* Контент — центрирован, не выходит за container */
.promo_content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 960px;
    padding-top: 140px; /* отступ под header, который лежит поверх */
    padding-bottom: 60px;
}

.promo_content h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 64px;
    line-height: 125%;
    color: #fff;
    max-width: 1072px;
    margin: 0 0 27px;
    text-transform: uppercase;
}

.promo_content .field--name-field-promo-text {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    color: #fff;
    margin-bottom: 14px;
}

.promo_content .field--name-field-promo-btn .btn-primary {
    display: inline-block;
    background: #768b40;
    border: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    padding: 13px 83px;
    border-radius: 10px;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.promo_content .field--name-field-promo-btn .btn-primary:hover {
    background-color: #8ba14a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* ===== ABOUT BLOCK ===== */
.about-block {
    padding: 80px 0;
    background-color: #fff;
}

/* Верхний рукописный подзаголовок */
.about_content_top {
    margin-bottom: 8px;
}

.about_content_top .field--name-field-about-subtitle {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    color: #768b40;
}

/* ===== ДВУХКОЛОНОЧНАЯ СЕТКА ===== */
.about-block .block-block-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 27px;
}

.about_content_top {
    flex: 0 0 100%;
    width: 100%;
}

.about_content_left {
    flex: 1;
    max-width: 541px;
}

.about_content_right {
    flex: 0 0 585px;
    width: 585px;
    margin-left: auto;
}

/* Заголовок "О НАС" */
.about_content_left .field--name-field-about-title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    margin: 0 0 15px;
    text-transform: uppercase;
}

/* Лид-абзац с частичным выделением */
.about_content_left .field--name-field-about-lead {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: #000;
    margin-bottom: 15px;
    max-width: 457px;
}

.about_content_left .field--name-field-about-lead strong {
    font-weight: 700;
}

/* Основной текст */
.about_content_left .field--name-field-about-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #000;
    margin-bottom: 35px;
    max-width: 541px;
}

/* Кнопка "Забронировать" */
.about_content_left .field--name-field-about-btn .btn-primary {
    display: inline-block;
    background: transparent;
    border: 1.30px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 35px;
    border-radius: 10px;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

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

.about_content_left .field--name-field-about-link a {
    display: inline-block;
    background: transparent;
    border: 1.30px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 35px;
    border-radius: 10px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.about_content_left .field--name-field-about-link a:hover {
    background-color: #768b40;
    border-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

.about_content_left .field--name-field-about-btn .btn-primary:hover {
    background-color: #768b40;
    border-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== ИЗОБРАЖЕНИЕ (585x638) ===== */
.about_content_right {
    position: relative;
}

.about_content_right .field--name-field-about-image {
    position: relative;
    width: 585px;
    height: 638px;
    border-radius: 24px;
    overflow: hidden;
}

.about_content_right img {
    display: block;
    width: 585px;
    height: 638px;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.5s ease;
}

.about_content_right:hover img {
    transform: scale(1.04);
}

/* ===== HOUSES BLOCK ===== */
.houses-block {
    padding-bottom: 100px;
    background-color: #fff;
}

/* Верхний рукописный подзаголовок */
.houses_content_top {
    margin-bottom: 20px;
}

.houses-subtitle {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    line-height: 1.0;
    color: #768b40;
    max-width: 1155px;
}

/* Заголовок "ГОСТЕВЫЕ ДОМА" */
.houses_content_title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.houses-block .view-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

.houses-block .views-row {
    width: 100%;
}

/* Карточка дома */
.houses-block article.node {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Скрываем дублирующий системный заголовок ноды */
.houses-block article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Изображение */
.houses-block .field--name-field-house-image {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.houses-block .field--name-field-house-image a {
    display: block;
}

.houses-block .field--name-field-house-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.houses-block article.node:hover .field--name-field-house-image img {
    transform: scale(1.05);
}

/* Название дома */
.houses-block .field--name-field-house-name {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    margin-bottom: 2px;
    transition: color 0.25s ease;
}

.houses-block article.node:hover .field--name-field-house-name {
    color: #768b40;
}

/* Цена */
.houses-block .field--name-field-house-price {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    color: #000;
}

/* ===== КНОПКА "СМОТРЕТЬ ВСЕ" ===== */
.houses-block .more-link {
    text-align: center;
    margin-top: 50px;
}

.houses-block .more-link a {
    display: inline-block;
    background: transparent;
    border: 1.30px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 41px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.houses-block .more-link a:hover {
    background-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== СТРАНИЦА "ГОСТЕВЫЕ ДОМА" (page_1 display) ===== */

/* Заголовок страницы — используйте точный класс body, если он специфичен для этой страницы.
   Проверьте в DevTools реальный класс на <body> и замените .path-guest-houses при необходимости */
body.path-guest-houses #block-vesta-theme-page-title h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== СЕТКА КАРТОЧЕК — стили привязаны именно к этому View ===== */
.view-guest-houses.view-display-id-page_1 .view-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    margin-bottom: 50px;
}

.view-guest-houses.view-display-id-page_1 .views-row {
    width: 100%;
}

/* Карточка дома */
.view-guest-houses.view-display-id-page_1 article.node {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Скрываем дублирующий системный заголовок ноды */
.view-guest-houses.view-display-id-page_1 article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Изображение */
.view-guest-houses.view-display-id-page_1 .field--name-field-house-image {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.view-guest-houses.view-display-id-page_1 .field--name-field-house-image a {
    display: block;
}

.view-guest-houses.view-display-id-page_1 .field--name-field-house-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.view-guest-houses.view-display-id-page_1 article.node:hover .field--name-field-house-image img {
    transform: scale(1.05);
}

/* Название дома */
.view-guest-houses.view-display-id-page_1 .field--name-field-house-name {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    margin-bottom: 2px;
    transition: color 0.25s ease;
}

.view-guest-houses.view-display-id-page_1 article.node:hover .field--name-field-house-name {
    color: #768b40;
}

/* Цена */
.view-guest-houses.view-display-id-page_1 .field--name-field-house-price {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    color: #000;
}

/* ===== КНОПКА "more" / ПАГИНАЦИЯ ===== */
.view-guest-houses.view-display-id-page_1 .more-link {
    text-align: center;
    margin-top: 50px;
}

.view-guest-houses.view-display-id-page_1 .more-link a {
    display: inline-block;
    background: transparent;
    border: 1.3px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 41px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.view-guest-houses.view-display-id-page_1 .more-link a:hover {
    background-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== ADVANTAGES BLOCK ===== */
.advantages-block {
    padding-top: 55px;
    padding-bottom: 90px;
    background: rgba(218, 236, 240, 0.61);
}

/* Верхний рукописный подзаголовок */
.advantages_content_top {
    margin-bottom: 25px;
}

.advantages-subtitle {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    color: #768b40;
}

/* Заголовок "НАШИ ПРЕИМУЩЕСТВА" */
.advantages_content_title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== СЕТКА ПРЕИМУЩЕСТВ ===== */
.advantages-block .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px 20px;
}

.advantages-block .views-row {
    flex: 1;
    min-width: 140px;
    max-width: 190px;
}

.advantages-block article.node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Скрываем дублирующий системный заголовок ноды */
.advantages-block article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Круглая подложка под иконку */
.advantages-block .field--name-field-advantage-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 178px;
    height: 178px;
    border-radius: 100%;
    background-color: rgba(118, 139, 64, 0.45);
    margin-bottom: 25px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.advantages-block .field--name-field-advantage-image img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.advantages-block article.node:hover .field--name-field-advantage-image {
    background-color: #98b072;
    transform: translateY(-4px);
}

/* Текст преимущества */
.advantages-block .field--name-field-advantage-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 125%;
    color: #000;
    max-width: 183px;
}

/* ===== SPA AREA BLOCK ===== */
.spa-area-block {
    padding: 100px 0;
    background-color: #fff;
}

/* Верхний рукописный подзаголовок */
.spa_area_top {
    margin-bottom: 25px;
}

.spa_area-subtitle {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    color: #768b40;
    max-width: 1155px;
}

/* Заголовок "СПА-ЗОНА" */
.spa_area_title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.spa-area-block .view-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

.spa-area-block .views-row {
    width: 100%;
}

/* Карточка спа-зоны */
.spa-area-block article.node {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Скрываем дублирующий системный заголовок ноды */
.spa-area-block article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Изображение */
.spa-area-block .field--name-field-spa-area-image {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.spa-area-block .field--name-field-spa-area-image a {
    display: block;
}

.spa-area-block .field--name-field-spa-area-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.spa-area-block article.node:hover .field--name-field-spa-area-image img {
    transform: scale(1.05);
}

/* Название спа-зоны */
.spa-area-block .field--name-field-spa-area-name {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    transition: color 0.25s ease;
}

.spa-area-block article.node:hover .field--name-field-spa-area-name {
    color: #768b40;
}

/* ===== КНОПКА "СМОТРЕТЬ ВСЕ" ===== */
.spa-area-block .more-link {
    text-align: center;
    margin-top: 50px;
}

.spa-area-block .more-link a {
    display: inline-block;
    background: transparent;
    border: 1.30px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 41px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.spa-area-block .more-link a:hover {
    background-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== СТРАНИЦА "СПА-ЗОНЫ" (page_1 display) ===== */

/* Заголовок страницы — проверьте реальный класс на <body> и замените при необходимости */
body.path-spa-areas #block-vesta-theme-page-title h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== СЕТКА КАРТОЧЕК — стили привязаны именно к этому View ===== */
.view-spa-areas.view-display-id-page_1 .view-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    margin-bottom: 50px;
}

.view-spa-areas.view-display-id-page_1 .views-row {
    width: 100%;
}

/* Карточка спа-зоны */
.view-spa-areas.view-display-id-page_1 article.node {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Скрываем дублирующий системный заголовок ноды */
.view-spa-areas.view-display-id-page_1 article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Изображение */
.view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-image {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-image a {
    display: block;
}

.view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.view-spa-areas.view-display-id-page_1 article.node:hover .field--name-field-spa-area-image img {
    transform: scale(1.05);
}

/* Название спа-зоны */
.view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-name {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    transition: color 0.25s ease;
}

.view-spa-areas.view-display-id-page_1 article.node:hover .field--name-field-spa-area-name {
    color: #768b40;
}

/* ===== КНОПКА "more" / ПАГИНАЦИЯ (если есть) ===== */
.view-spa-areas.view-display-id-page_1 .more-link {
    text-align: center;
    margin-top: 50px;
}

.view-spa-areas.view-display-id-page_1 .more-link a {
    display: inline-block;
    background: transparent;
    border: 1.3px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 41px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.view-spa-areas.view-display-id-page_1 .more-link a:hover {
    background-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== СТРАНИЦА ОТДЕЛЬНОЙ СПА-ЗОНЫ (full view) ===== */

.node--type-spa-area.node--view-mode-full .node__content {
    padding: 40px 0 90px;
}

/* Clearfix только на самом внешнем контейнере */
.node--type-spa-area.node--view-mode-full .node__content::after {
    content: "";
    display: table;
    clear: both;
}

/* Изображение — плавает слева, текст обтекает его построчно */
.node--type-spa-area.node--view-mode-full .spa_area_left {
    float: left;
    width: 570px;
    margin: 0 40px 20px 0;
}

.node--type-spa-area.node--view-mode-full .spa_area_left img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
}

/* Текст — без overflow/BFC, чтобы реально обтекал float, а не избегал его целиком */
.node--type-spa-area.node--view-mode-full .spa_area_right {
    display: block;
}

.node--type-spa-area.node--view-mode-full .field--name-field-spa-area-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.7;
    color: #333;
}

.node--type-spa-area.node--view-mode-full .field--name-field-spa-area-text p {
    margin: 0 0 18px;
}

.node--type-spa-area.node--view-mode-full .field--name-field-spa-area-text strong {
    font-family: var(--font-family);
    font-weight: 700;
    color: #000;
}

.node--type-spa-area.node--view-mode-full .field--name-field-spa-area-text ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.node--type-spa-area.node--view-mode-full .field--name-field-spa-area-text li {
    margin-bottom: 8px;
}

/* ===== MASSAGES BLOCK ===== */
.massages-block {
    padding-bottom: 100px;
    background-color: #fff;
}

/* Верхний рукописный подзаголовок */
.massages_content_top {
    margin-bottom: 25px;
}

.massages-subtitle {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    color: #768b40;
    max-width: 1155px;
}

/* Заголовок "МАССАЖИ" */
.massages_content_title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.massages-block .view-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

.massages-block .views-row {
    width: 100%;
}

/* Карточка массажа */
.massages-block article.node {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Скрываем дублирующий системный заголовок ноды */
.massages-block article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Скрываем подписи полей "Изображение" / "Название массажа" */
.massages-block .field__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Изображение */
.massages-block .field--name-field-massage-image {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.massages-block .field--name-field-massage-image a {
    display: block;
}

.massages-block .field--name-field-massage-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.massages-block article.node:hover .field--name-field-massage-image img {
    transform: scale(1.05);
}

/* Название массажа */
.massages-block .field--name-field-massage-name {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    transition: color 0.25s ease;
}

.massages-block article.node:hover .field--name-field-massage-name {
    color: #768b40;
}

/* ===== КНОПКА "СМОТРЕТЬ ВСЕ" ===== */
.massages-block .more-link {
    text-align: center;
    margin-top: 50px;
}

.massages-block .more-link a {
    display: inline-block;
    background: transparent;
    border: 1.30px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 41px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.massages-block .more-link a:hover {
    background-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== СТРАНИЦА "МАССАЖИ" (page_1 display) ===== */

/* Заголовок страницы — проверьте реальный класс на <body> и замените при необходимости */
body.path-massages #block-vesta-theme-page-title h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== СЕТКА КАРТОЧЕК — стили привязаны именно к этому View ===== */
.view-massages.view-display-id-page_1 .view-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    margin-bottom: 50px;
}

.view-massages.view-display-id-page_1 .views-row {
    width: 100%;
}

/* Карточка массажа */
.view-massages.view-display-id-page_1 article.node {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Скрываем дублирующий системный заголовок ноды */
.view-massages.view-display-id-page_1 article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Скрываем подписи полей "Изображение" / "Название массажа" (label-above) */
.view-massages.view-display-id-page_1 .field__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Изображение */
.view-massages.view-display-id-page_1 .field--name-field-massage-image {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.view-massages.view-display-id-page_1 .field--name-field-massage-image a {
    display: block;
}

.view-massages.view-display-id-page_1 .field--name-field-massage-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.view-massages.view-display-id-page_1 article.node:hover .field--name-field-massage-image img {
    transform: scale(1.05);
}

/* Название массажа */
.view-massages.view-display-id-page_1 .field--name-field-massage-name {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    transition: color 0.25s ease;
}

.view-massages.view-display-id-page_1 article.node:hover .field--name-field-massage-name {
    color: #768b40;
}

/* ===== КНОПКА "more" / ПАГИНАЦИЯ (если есть) ===== */
.view-massages.view-display-id-page_1 .more-link {
    text-align: center;
    margin-top: 50px;
}

.view-massages.view-display-id-page_1 .more-link a {
    display: inline-block;
    background: transparent;
    border: 1.3px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 12px 41px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.view-massages.view-display-id-page_1 .more-link a:hover {
    background-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== СТРАНИЦА ОТДЕЛЬНОГО МАССАЖА (full view) ===== */

.node--type-type-massage.node--view-mode-full .node__content {
    padding: 40px 0 90px;
}

/* Clearfix только на самом внешнем контейнере */
.node--type-type-massage.node--view-mode-full .node__content::after {
    content: "";
    display: table;
    clear: both;
}

/* Изображение — плавает слева, текст обтекает его построчно */
.node--type-type-massage.node--view-mode-full .massage_left {
    float: left;
    width: 570px;
    margin: 0 40px 20px 0;
}

.node--type-type-massage.node--view-mode-full .massage_left img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
}

/* Текст — без overflow/BFC, чтобы реально обтекал float, а не избегал его целиком */
.node--type-type-massage.node--view-mode-full .massage_right {
    display: block;
}

.node--type-type-massage.node--view-mode-full .field--name-field-massage-text-on-page {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.7;
    color: #333;
}

.node--type-about.node--view-mode-full .field--name-body h6 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 24px 0 12px;
    color: #000;
}

.node--type-about.node--view-mode-full .field--name-body p,
.node--type-about.node--view-mode-full .field--name-body div {
    margin: 0 0 18px;
}

.node--type-type-massage.node--view-mode-full .field--name-field-massage-text-on-page p {
    margin: 0 0 18px;
}

.node--type-type-massage.node--view-mode-full .field--name-field-massage-text-on-page strong {
    font-family: var(--font-family);
    font-weight: 700;
    color: #000;
}

.node--type-type-massage.node--view-mode-full .field--name-field-massage-text-on-page ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.node--type-type-massage.node--view-mode-full .field--name-field-massage-text-on-page li {
    margin-bottom: 8px;
}

/* ===== ПЛАШКИ ВРЕМЯ И ЦЕНА — СТРАНИЦА МАССАЖА ===== */

.node--type-type-massage.node--view-mode-full .field--name-field-massage-time,
.node--type-type-massage.node--view-mode-full .field--name-field-massage-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: 700;
    border-radius: 20px;
    vertical-align: top;
    box-sizing: border-box;
    padding: 26px 28px;
    font-size: 32px;
    line-height: 1.2;
    margin-top: 28px;
}

/* Плашка цены — акцентная, заливка основным цветом */
.node--type-type-massage.node--view-mode-full .field--name-field-massage-price {
    background: #768b40;
    color: #fff;
    clear: left; /* если текст короче картинки — плашка не наедет на float */
}

/* Плашка времени — тот же размер, приглушённая версия того же цвета */
.node--type-type-massage.node--view-mode-full .field--name-field-massage-time {
    background: rgba(118, 139, 64, 0.12);
    color: #768b40;
    margin-right: 16px;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1199px) {
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-time,
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-price {
        padding: 22px 24px;
        font-size: 28px;
    }

    .node--type-type-massage.node--view-mode-full .field--name-field-massage-time {
        margin-right: 14px;
    }
}

@media (max-width: 991px) {
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-time,
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-price {
        padding: 18px 22px;
        font-size: 24px;
        border-radius: 18px;
    }

    .node--type-type-massage.node--view-mode-full .field--name-field-massage-time {
        margin-right: 12px;
    }
}

@media (max-width: 767px) {
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-time,
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-price {
        display: flex;
        width: 100%;
        padding: 18px 22px;
        font-size: 22px;
    }

    .node--type-type-massage.node--view-mode-full .field--name-field-massage-time {
        margin-right: 0;
        margin-top: 20px;
    }

    .node--type-type-massage.node--view-mode-full .field--name-field-massage-price {
        margin-top: 12px;
    }
}

@media (max-width: 567px) {
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-time,
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-price {
        padding: 16px 18px;
        font-size: 20px;
        border-radius: 16px;
    }
}

/* ===== BATH BLOCK ===== */
.bath-block {
    padding-top: 65px;
    padding-bottom: 80px;
    background: rgba(218, 236, 240, 0.61);
}

/* Верхний рукописный подзаголовок */
.bath_top {
    margin-bottom: 25px;
}

.bath-subtitle {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    color: #768b40;
}

/* Заголовок "БАННЫЙ ЧАН" */
.bath_title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    margin: 0 0 30px;
}

/* Скрываем дублирующий системный заголовок ноды */
.bath-block article.node > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== ФОТО НА ВСЮ ШИРИНУ КОНТЕЙНЕРА ===== */
.service_content_center {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 50px;
}

.service_content_center .field--name-field-service-image {
    width: 100%;
    height: 100%;
}

.service_content_center img {
    display: block;
    width: 100%;
    height: 554px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.6s ease;
}

.bath-block article.node:hover .service_content_center img {
    transform: scale(1.03);
}

/* Лёгкое затемнение снизу фото для читаемости бейджа */
.service_content_center::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 0 0 24px 24px;
    pointer-events: none;
}

/* Бейдж "аренда от 2 ч   3 000 ₽" поверх фото */
.service_content_text {
    position: absolute;
    left: 30px;
    bottom: 15px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 30px;
}

.service_content_text .field--name-field-service-badge {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #fff;
}

.service_content_text .field--name-field-service-price {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 24px;
    color: #fff;
}

/* ===== СТРОКА ПРЕИМУЩЕСТВ ===== */
.service_content_buttom .field--name-field-service-features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.service_content_buttom .field__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 95px;
}

.service_content_buttom .field__item {
    display: flex;
}

.service_content_buttom .paragraph {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Круглая подложка под иконку */
.feature_left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: rgba(118, 139, 64, 0.45);
    flex-shrink: 0;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.feature_left img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.bath-block .paragraph:hover .feature_left {
    background-color: #98b072;
    transform: translateY(-3px);
}

/* Текст преимущества */
.feature_right {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.bath-block .paragraph:hover .feature_right {
    color: #768b40;
}

/* ===== СТРАНИЦА "БАННЫЙ ЧАН" (full view) ===== */

.node--type-bath-tub.node--view-mode-full .node__content {
    padding: 40px 0 90px;
}

/* --- Фотогалерея услуги --- */
.node--type-bath-tub.node--view-mode-full .photoswipe-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item {
    margin: 0;
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item a {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background-color: rgba(218, 236, 240, 0.61);
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item a:hover img {
    transform: scale(1.08);
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(118, 139, 64, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item a:hover::after {
    opacity: 1;
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23768b40' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item a:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- Описание услуги --- */
.node--type-bath-tub.node--view-mode-full .field--name-field-service-text-page {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin-bottom: 40px;
}

.node--type-bath-tub.node--view-mode-full .field--name-field-service-text-page p {
    margin: 0 0 18px;
}

.node--type-bath-tub.node--view-mode-full .field--name-field-service-text-page span {
    display: block;
}

/* --- Особенности (иконки + текст) --- */
.node--type-bath-tub.node--view-mode-full .field--name-field-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.node--type-bath-tub.node--view-mode-full .field--name-field-service-features .field__item {
    margin: 0;
}

.node--type-bath-tub.node--view-mode-full .paragraph--type--icon-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 20px;
    background: rgba(218, 236, 240, 0.61);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.node--type-bath-tub.node--view-mode-full .paragraph--type--icon-feature:hover {
    background-color: rgba(118, 139, 64, 0.18);
    transform: translateY(-4px);
}

.node--type-bath-tub.node--view-mode-full .feature_left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 100%;
    background-color: rgba(118, 139, 64, 0.45);
}

.node--type-bath-tub.node--view-mode-full .feature_left img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.node--type-bath-tub.node--view-mode-full .feature_right {
    display: flex;
    align-items: center;
}

.node--type-bath-tub.node--view-mode-full .field--name-field-feature-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: #000;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1199px) {
    .node--type-bath-tub.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .node--type-bath-tub.node--view-mode-full .node__content {
        padding: 30px 0 70px;
    }

    .node--type-bath-tub.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 30px;
    }

    .node--type-bath-tub.node--view-mode-full .field--name-field-service-text-page {
        margin-bottom: 30px;
    }

    .node--type-bath-tub.node--view-mode-full .paragraph--type--icon-feature {
        padding: 14px 20px;
    }

    .node--type-bath-tub.node--view-mode-full .feature_left {
        width: 48px;
        height: 48px;
    }

    .node--type-bath-tub.node--view-mode-full .feature_left img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 767px) {
    .node--type-bath-tub.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .node--type-bath-tub.node--view-mode-full .photoswipe-gallery .field__item a::before {
        width: 36px;
        height: 36px;
        background-size: 16px;
    }

    .node--type-bath-tub.node--view-mode-full .field--name-field-service-features {
        flex-direction: column;
        gap: 12px;
    }

    .node--type-bath-tub.node--view-mode-full .paragraph--type--icon-feature {
        width: 100%;
    }
}

@media (max-width: 567px) {
    .node--type-bath-tub.node--view-mode-full .node__content {
        padding: 20px 0 50px;
    }

    .node--type-bath-tub.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }

    .node--type-bath-tub.node--view-mode-full .field--name-field-service-text-page {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .node--type-bath-tub.node--view-mode-full .paragraph--type--icon-feature {
        padding: 12px 16px;
        border-radius: 16px;
    }

    .node--type-bath-tub.node--view-mode-full .feature_left {
        width: 42px;
        height: 42px;
    }

    .node--type-bath-tub.node--view-mode-full .feature_left img {
        width: 20px;
        height: 20px;
    }

    .node--type-bath-tub.node--view-mode-full .field--name-field-feature-text {
        font-size: 14px;
    }
}

/* ===== PHOTOGALLERY BLOCK ===== */
.photogallery-block {
    padding: 100px 0;
    background-color: #fff;
}

/* Верхний рукописный подзаголовок */
.photogallery_top {
    margin-bottom: 25px;
}

.photogallery-subtitle {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 65px;
    color: #768b40;
}

/* Заголовок "ФОТОГАЛЕРЕЯ" */
.photogallery_title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== ГАЛЕРЕЯ: FULL-BLEED НА ВСЮ ШИРИНУ ЭКРАНА ===== */
.photogallery-block .views-field-field-gallery {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.photogallery-block .field-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.photogallery-block .photoswipe-gallery {
    display: block;
    border-radius: 30px;
    overflow: hidden;
}

.photogallery-block .photoswipe-gallery a {
    display: block;
    width: 100%;
    height: 100%;
}

.photogallery-block .photoswipe-gallery img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 30px;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.photogallery-block .photoswipe-gallery:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* ===== КНОПКА "СМОТРЕТЬ ВСЕ" ===== */
.photogallery-block .more-link {
    text-align: center;
    margin-top: 55px;
}

.photogallery-block .more-link a {
    display: inline-block;
    background: transparent;
    border: 1.3px solid #768b40;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    color: #768b40;
    padding: 13px 44px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.photogallery-block .more-link a:hover {
    background-color: #768b40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== СТРАНИЦА ФОТОГАЛЕРЕИ (список папок) — только display page_1 ===== */

/* Заголовок страницы "Фотогалерея" */
body.path-photogallery #block-vesta-theme-page-title h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 40px 0 40px;
}

/* Обёртка представления — жёстко привязано к display_id=page_1 */
.view-id-photogallery.view-display-id-page_1 {
    padding-bottom: 90px;
}

/* Сетка карточек-папок */
.view-id-photogallery.view-display-id-page_1 .view-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.view-id-photogallery.view-display-id-page_1 .views-row {
    display: flex;
}

/* Карточка папки галереи */
.view-id-photogallery.view-display-id-page_1 article.node--type-photogallery {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(218, 236, 240, 0.61);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.view-id-photogallery.view-display-id-page_1 article.node--type-photogallery:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Обложка папки */
.view-id-photogallery.view-display-id-page_1 .field--name-field-gallery-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.view-id-photogallery.view-display-id-page_1 .field--name-field-gallery-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.view-id-photogallery.view-display-id-page_1 article.node--type-photogallery:hover .field--name-field-gallery-cover img {
    transform: scale(1.06);
}

/* Затемняющий градиент снизу для читаемости заголовка */
.view-id-photogallery.view-display-id-page_1 .field--name-field-gallery-cover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* Заголовок папки — поверх обложки */
.view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 20px 24px;
    z-index: 1;
}

.view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 a {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    color: #fff;
    text-decoration: none;
}

.view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 a:hover {
    color: #d9e8b0;
}

/* Акцентная плашка-иконка "папки" в углу карточки */
.view-id-photogallery.view-display-id-page_1 article.node--type-photogallery::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: #768b40;
    z-index: 1;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1199px) {
    .view-id-photogallery.view-display-id-page_1 .view-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 a {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .view-id-photogallery.view-display-id-page_1 .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    body.path-photogallery #block-vesta-theme-page-title h1 {
        font-size: 34px;
        margin: 30px 0 30px;
    }

    .view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 {
        padding: 16px 20px;
    }
}

@media (max-width: 767px) {
    .view-id-photogallery.view-display-id-page_1 .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    body.path-photogallery #block-vesta-theme-page-title h1 {
        font-size: 28px;
        margin: 24px 0 24px;
    }

    .view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 a {
        font-size: 17px;
    }

    .view-id-photogallery.view-display-id-page_1 article.node--type-photogallery::before {
        width: 10px;
        height: 10px;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 567px) {
    .view-id-photogallery.view-display-id-page_1 .view-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.path-photogallery #block-vesta-theme-page-title h1 {
        font-size: 24px;
        margin: 20px 0 20px;
    }

    .view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 {
        padding: 14px 18px;
    }

    .view-id-photogallery.view-display-id-page_1 article.node--type-photogallery h2 a {
        font-size: 18px;
    }
}

/* ===== СТРАНИЦА ВНУТРИ ГАЛЕРЕИ (сетка фото) ===== */

/*.node--type-photogallery.node--view-mode-full .node__content {*/
/*    padding: 40px 0 90px;*/
/*}*/

.node--type-photogallery.node--view-mode-full .photoswipe-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item {
    margin: 0;
}

.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background-color: rgba(218, 236, 240, 0.61);
}

.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a:hover img {
    transform: scale(1.08);
}

/* Затемнение + иконка лупы при наведении, перекликается с зелёным акцентом сайта */
.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(118, 139, 64, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a:hover::after {
    opacity: 1;
}

.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23768b40' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1199px) {
    .node--type-photogallery.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .node--type-photogallery.node--view-mode-full .node__content {
        padding: 30px 0 70px;
    }

    .node--type-photogallery.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a {
        border-radius: 14px;
    }
}

@media (max-width: 767px) {
    .node--type-photogallery.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a::before {
        width: 36px;
        height: 36px;
        background-size: 16px;
    }
}

@media (max-width: 567px) {
    .node--type-photogallery.node--view-mode-full .node__content {
        padding: 20px 0 50px;
    }

    .node--type-photogallery.node--view-mode-full .photoswipe-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a {
        border-radius: 12px;
    }

    .node--type-photogallery.node--view-mode-full .photoswipe-gallery .field__item a::before {
        width: 32px;
        height: 32px;
        background-size: 14px;
    }
}

/* ===== СТРАНИЦА ОТДЕЛЬНОГО ДОМА (full view) ===== */

.node--type-guest-house.node--view-mode-full .node__content {
    padding: 40px 0 90px;
}

/* ===== ГАЛЕРЕЯ ===== */

.node--type-guest-house.node--view-mode-full .house_content_left {
    float: none;
    width: 100%;
    margin: 0 0 40px;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page .field__item {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1 / 1;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page .field__item a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    text-decoration: none;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page .field__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page .field__item:hover img {
    transform: scale(1.03);
    filter: brightness(1.03);
}

/* ===== ТЕКСТ + ЦЕНА ===== */

.node--type-guest-house.node--view-mode-full .house_content_right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 0 40px;
    align-items: start;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page {
    min-width: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.7;
    color: #333;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page p {
    margin: 0 0 18px;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page strong {
    font-weight: 700;
    color: #000;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page li {
    margin-bottom: 8px;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-price {
    display: flex;
    flex-direction: column;
    align-self: start;
    position: sticky;
    top: 120px;
    padding: 26px 28px;
    border-radius: 20px;
    background: #768b40;
    color: #fff;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
}

/*.node--type-guest-house.node--view-mode-full .field--name-field-house-price::before {*/
/*    content: "Стоимость за сутки";*/
/*    display: block;*/
/*    margin-bottom: 8px;*/
/*    font-size: 13px;*/
/*    font-weight: 400;*/
/*    line-height: 1.4;*/
/*    letter-spacing: 0.04em;*/
/*    text-transform: uppercase;*/
/*    color: rgba(255, 255, 255, 0.78);*/
/*}*/

/* ===== ПЛАНШЕТ ===== */

@media (max-width: 1024px) {
    .node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page .field__item {
        border-radius: 16px;
    }

    .node--type-guest-house.node--view-mode-full .house_content_right {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .node--type-guest-house.node--view-mode-full .field--name-field-house-price {
        position: static;
        max-width: 320px;
    }
}

/* ===== МОБИЛКА ===== */

@media (max-width: 640px) {
    .node--type-guest-house.node--view-mode-full .node__content {
        padding: 24px 0 56px;
    }

    .node--type-guest-house.node--view-mode-full .house_content_left {
        margin-bottom: 28px;
    }

    .node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page .field__item {
        border-radius: 12px;
    }

    .node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page {
        font-size: 15px;
        line-height: 1.65;
    }

    .node--type-guest-house.node--view-mode-full .field--name-field-house-price {
        max-width: 100%;
        padding: 22px 24px;
        border-radius: 16px;
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .node--type-guest-house.node--view-mode-full .field--name-field-house-images-on-page {
        grid-template-columns: 1fr;
    }
}

/*!* ===== СТРАНИЦА ОТДЕЛЬНОГО ДОМА (full view) ===== *!*/

/*.node--type-guest-house.node--view-mode-full .node__content {*/
/*    padding: 40px 0 90px;*/
/*}*/

/*!* Clearfix только на самом внешнем контейнере *!*/
/*.node--type-guest-house.node--view-mode-full .node__content::after {*/
/*    content: "";*/
/*    display: table;*/
/*    clear: both;*/
/*}*/

/*!* Изображение — плавает слева, текст обтекает его построчно *!*/
/*.node--type-guest-house.node--view-mode-full .house_content_left {*/
/*    float: left;*/
/*    width: 570px;*/
/*    margin: 0 40px 20px 0;*/
/*}*/

/*.node--type-guest-house.node--view-mode-full .house_content_left img {*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: auto;*/
/*    border-radius: 24px;*/
/*    object-fit: cover;*/
/*}*/

/*!* Текст — без overflow/BFC, чтобы реально обтекал float, а не избегал его целиком *!*/
/*.node--type-guest-house.node--view-mode-full .house_content_right {*/
/*    display: block;*/
/*}*/

/*.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page {*/
/*    font-family: var(--font-family);*/
/*    font-weight: 400;*/
/*    font-size: 16px;*/
/*    line-height: 1.7;*/
/*    color: #333;*/
/*}*/

/*.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page p {*/
/*    margin: 0 0 18px;*/
/*}*/

/*.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page strong {*/
/*    font-family: var(--font-family);*/
/*    font-weight: 700;*/
/*    color: #000;*/
/*}*/

/*.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page ul {*/
/*    margin: 0 0 18px;*/
/*    padding-left: 20px;*/
/*}*/

/*.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page li {*/
/*    margin-bottom: 8px;*/
/*}*/

/*!* Цена — после текста, идёт в общем потоке (тоже обтекает/продолжает поток) *!*/
/*.node--type-guest-house.node--view-mode-full .field--name-field-house-price {*/
/*    display: block;*/
/*    font-family: var(--font-family);*/
/*    font-weight: 700;*/
/*    font-size: 28px;*/
/*    color: #768b40;*/
/*    margin-top: 10px;*/
/*}*/

/* ===== FEEDBACK BLOCK ===== */
.feedback-block {
    padding-top: 120px;
    padding-bottom: 150px;
    background: rgba(218, 236, 240, 0.61);
}

.feedback-block .container .block-block-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: linear-gradient(121.88deg, #768b40 30.83%, #1f2511 177.88%);
    border-radius: 30px;
    padding: 50px 0 0px 50px;
    position: relative;
    overflow: hidden;
}

/* ===== ЛЕВАЯ ЧАСТЬ: ЗАГОЛОВОК + ФОРМА ===== */
.feedback_left {
    flex: 1;
    max-width: 689px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feedback_left .field--name-field-feedback-title h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 35px;
    max-width: 730px;
}

/* ===== ОШИБКИ: СКРЫВАЕМ ТЕКСТОВЫЕ СООБЩЕНИЯ ===== */
.feedback_left .alert.alert-error,
.feedback_left .form-item--error-message {
    display: none !important;
}

/* ===== ПОЛЯ ФОРМЫ (454px) ===== */
.feedback_left .webform-submission-form {
    display: flex;
    flex-direction: column;
}

.feedback_left .js-form-item {
    margin-bottom: 25px;
    width: 454px;
    max-width: 454px;
}

.form-control {
    padding: 0 !important;
}

.feedback_left .form-control,
.feedback_left input[type="text"],
.feedback_left input[type="email"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    padding-bottom: 15px !important;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    box-shadow: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.feedback_left .form-control::placeholder,
.feedback_left input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.feedback_left .form-control:focus,
.feedback_left input:focus {
    outline: none;
    border-bottom-color: #fff;
    box-shadow: none;
    background: transparent;
    color: #fff;
}

/* Подсветка незаполненных/невалидных полей под стилистику сайта */
.feedback_left .form-control.error,
.feedback_left input.error,
.feedback_left input[aria-invalid="true"] {
    border-bottom: 1px solid #e8b26a;
    background: rgba(232, 178, 106, 0.08);
}

.feedback_left .form-control.error::placeholder,
.feedback_left input.error::placeholder,
.feedback_left input[aria-invalid="true"]::placeholder {
    color: rgba(232, 178, 106, 0.85);
}

.feedback_left .form-control.error:focus,
.feedback_left input.error:focus,
.feedback_left input[aria-invalid="true"]:focus {
    border-bottom-color: #e8b26a;
}

/* Кнопка "Отправить" */
.feedback_left .webform-actions {
    margin: 10px 0 26px;
    width: 454px;
    max-width: 454px;
}

.feedback_left .webform-button--submit {
    display: inline-block;
    background: #fff;
    border: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 13px 52px;
    border-radius: 10px;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.feedback_left .webform-button--submit:hover {
    background-color: #e9e9e9;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* ===== ЧЕКБОКС СОГЛАСИЯ (580px, кастомный вид 28x28) ===== */
.feedback_left .js-form-type-checkbox {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    margin-bottom: 0;
    width: 600px;
    max-width: 600px;
}

.feedback_left input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin: 0;
    border: 1px solid #fff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.feedback_left input[type="checkbox"]:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Галочка при выборе */
.feedback_left input[type="checkbox"]:checked {
    background: rgba(255, 255, 255, 0.15);
}

.feedback_left input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.feedback_left input[type="checkbox"]:focus-visible {
    outline: 1px solid #fff;
    outline-offset: 2px;
}

/* Подсветка чекбокса при ошибке валидации */
.feedback_left input[type="checkbox"].error,
.feedback_left input[type="checkbox"][aria-invalid="true"] {
    border-color: #e8b26a;
    background: rgba(232, 178, 106, 0.1);
}

/* Текст согласия */
.feedback_left .webform-element-description {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
}

/* Ссылка "политика конфиденциальности" — подчёркивание только при наведении */
.feedback_left .webform-element-description a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.feedback_left .webform-element-description a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* ===== ДЕКОРАТИВНАЯ СТРЕЛКА (110x110) ===== */
.feedback_left::after {
    content: "";
    position: absolute;
    right: 140px;
    bottom: 82px;
    width: 110px;
    height: 110px;
    background-image: url("/sites/all/themes/vesta_theme/image/arrow07.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

/* ===== ПРАВАЯ ЧАСТЬ: ИЗОБРАЖЕНИЕ (без отступов, прижато к краям карточки) ===== */
.feedback_right {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

.feedback_right img {
    display: block;
    width: auto;
    height: 100%;
    max-height: 475px;
    object-fit: contain;
    object-position: bottom right;
    transition: transform 0.4s ease;
}

/* Камни реагируют при наведении на всю карточку (зелёный фон), а не только на само фото */
.feedback-block .container > .block-block-content:hover .feedback_right img,
.feedback-block .contextual-region.block-block-content:hover .feedback_right img {
    transform: scale(1.03);
}


/* ===== LOCATION BLOCK ===== */
.location-block {
    padding-top: 100px;
    background-color: #fff;
}

/* Заголовок "Мы находимся" */
.location-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    margin: 0 0 30px;
}

/* ===== СТРОКА КОНТАКТНОЙ ИНФОРМАЦИИ ===== */
.location-info {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.location-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Лейбл над значением ("Адрес", "Время работы" и т.д.) */
.location-col-label {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    color: #768b40;
}

/* Значение с иконкой */
.location-col-value {
    gap: 8px;
}

.location-col-value span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #000;
    white-space: nowrap;
}

.location-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ===== КОЛОНКА КОНТАКТОВ (телефоны + почта) ===== */
.location-contacts {
    gap: 2px;
}

.location-tel,
.location-mail {
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

/* Телефоны — зелёный цвет */
.location-tel span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    color: #768b40;
    white-space: nowrap;
}

/* Почта — остаётся чёрной */
.location-mail span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    color: #000;
    white-space: nowrap;
}

.location-tel:hover,
.location-mail:hover {
    opacity: 0.7;
}

/* ===== КАРТА ===== */
.location-map {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.location-map .mapContainer {
    position: relative;
    width: 100% !important;
    height: 554px !important;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 30px;
    display: block;
}

.location-map .mapHelp {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-family: var(--font-family);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    pointer-events: none;
}

/* ===== FOOTER BLOCK ===== */
.footer-block {
    background-color: #768b40;
    padding: 50px 0 35px;
}

.footer-block a {
    text-decoration: none;
}

/* Прижимаем контент к границам container */
.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
}

.footer-top > [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}

/* ===== ЛОГОТИП ===== */
.footer-logo-col {
    margin-right: auto;
}

.footer-logo img {
    max-height: 66px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo {
    display: inline-block;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 28px;
    color: #fff;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo:hover img {
    opacity: 0.85;
}

.footer-slogan {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
}

/* ===== НАВИГАЦИЯ (вертикальный список) ===== */
.footer-nav-col .nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 5px;
    padding: 0;
}

.footer-nav-col .nav-item {
    list-style: none;
}

.footer-nav-col .nav-link {
    position: relative;
    display: inline-block;
    color: #fff !important;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    padding: 0;
    opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-nav-col .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.footer-nav-col .nav-link:hover {
    opacity: 1;
    color: #fff !important;
}

.footer-nav-col .nav-link.is-active {
    opacity: 1;
    color: #dbe6c4 !important;
}

.footer-nav-col .nav-link:hover::after,
.footer-nav-col .nav-link.is-active::after {
    width: 100%;
    background-color: currentColor;
}

/* ===== ПОИСК В ФУТЕРЕ ===== */
.footer-search {
    position: relative;
}

.footer-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.footer-search-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.footer-search-toggle:hover {
    transform: scale(1.12);
}

.footer-search-toggle img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-search-toggle:hover img {
    opacity: 1;
}

.footer-search-input {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    padding: 0;
    margin-left: 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #5a6b30 0%, #414d23 100%);
    color: #fff;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    opacity: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    transition: width 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
    pointer-events: none;
}

.footer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-search-input:focus {
    outline: none;
}

.footer-search-form.is-active .footer-search-input {
    width: 200px;
    opacity: 1;
    margin-left: 10px;
    padding: 8px 12px;
    pointer-events: auto;
}

/* ===== КОНТАКТЫ ===== */
.footer-contacts-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-left: auto;
}

.footer-address {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
}

.footer-tel {
    gap: 8px;
    color: #fff;
    transition: transform 0.25s ease;
}

.footer-tel span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-tel-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-tel:hover {
    transform: translateX(3px);
}

.footer-tel:hover span {
    color: rgba(255, 255, 255, 0.75);
}

.footer-tel:hover .footer-tel-icon {
    transform: rotate(-8deg) scale(1.05);
}

.footer-mail {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    transition: color 0.3s ease, transform 0.25s ease;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-mail:hover {
    color: rgba(255, 255, 255, 0.75);
    transform: translateX(3px);
}

/* Кнопка "Забронировать" */
.footer-callback .btn-primary {
    display: inline-block;
    background: #fff;
    border: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #768b40;
    padding: 13px 36px;
    border-radius: 10px;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.footer-callback .btn-primary:hover {
    background-color: #f2f2ea;
    color: #5c6d30;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== НИЖНЯЯ СТРОКА: КОПИРАЙТ (без верхней линии) ===== */
.row-copiryght {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 8px;
    padding-top: 0;
    border-top: none;
    margin: 0;
}

.row-copiryght > [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
    width: auto !important;
    max-width: none !important;
}

/* 1-я колонка (копирайт) — левый верх */
.row-copiryght > [class^="col-"]:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

/* 2-я колонка (политика конфиденциальности) — левый низ, под копирайтом */
.row-copiryght > [class^="col-"]:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    text-align: left !important;
    display: block !important;
}

/* 3-я колонка (webvesta) — правый край, на уровне нижней строки */
.row-copiryght > [class^="col-"]:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    text-align: right !important;
}

.copyright {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

.row-copiryght a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.row-copiryght a:hover {
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== МОДАЛЬНОЕ ОКНО "ОБРАТНАЯ СВЯЗЬ" ===== */
.modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ===== HEADER МОДАЛКИ ===== */
.modal-header {
    background: linear-gradient(121.88deg, #768b40 30.83%, #1f2511 177.88%);
    border-bottom: none;
    padding: 24px 30px;
    align-items: center;
}

.modal-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.modal-header .btn-close {
    opacity: 0.9;
    filter: brightness(0) invert(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ===== МОДАЛЬНОЕ ОКНО ПОДТВЕРЖДЕНИЯ ОТПРАВКИ (jQuery UI Dialog) ===== */
.ui-dialog {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    z-index: 10001 !important;
}

.ui-widget-overlay {
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
}

/* Шапка окна */
.ui-dialog-titlebar {
    background: linear-gradient(121.88deg, #768b40 30.83%, #1f2511 177.88%) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px 24px !important;
    position: relative !important;
    display: block !important;
}

.ui-dialog-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    padding: 0;
    margin: 0;
    display: inline-block;
    max-width: calc(100% - 40px);
}

/* Крестик закрытия — фиксированное позиционирование строго внутри шапки */
.ui-dialog-titlebar-close {
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%);
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ui-dialog-titlebar-close:hover {
    opacity: 1;
    transform: translateY(-50%) rotate(90deg);
}

/* Скрываем стандартную иконку jQuery UI и весь её внутренний контент */
.ui-dialog-titlebar-close .ui-icon,
.ui-dialog-titlebar-close .ui-button-icon,
.ui-dialog-titlebar-close .ui-button-icon-space {
    display: none !important;
}

/* Рисуем крестик через псевдоэлементы прямо на кнопке */
.ui-dialog-titlebar-close::before,
.ui-dialog-titlebar-close::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #fff;
    top: 50%;
    left: 50%;
    margin-top: -1px;
    margin-left: -8px;
}

.ui-dialog-titlebar-close::before {
    transform: rotate(45deg);
}

.ui-dialog-titlebar-close::after {
    transform: rotate(-45deg);
}

/* Тело окна — текст стандартно слева */
.ui-dialog-content.webform-confirmation-modal--content {
    padding: 30px 24px !important;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: left;
    background-color: #fff;
}

/* ===== HEADER: базовая позиция для привязки dropdown ===== */
#header {
    position: relative; /* уже должно быть, но на всякий случай явно фиксирую */
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 14px;
    min-width: 310px;
    padding: 10px;
    list-style: none;
    background-color: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 200;
}

/* Невидимый "мостик" над меню, чтобы курсор не терял hover при переходе от пункта к меню */
.nav-item.dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item.dropdown .dropdown-menu .nav-item {
    list-style: none;
}

/* Пункты меню — карточный стиль с зелёным индикатором слева при наведении */
.nav-item.dropdown .dropdown-item {
    position: relative;
    display: block;
    padding: 12px 16px 12px 20px;
    margin-bottom: 2px;
    border-radius: 10px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    white-space: normal;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav-item.dropdown .dropdown-item:last-child {
    margin-bottom: 0;
}

/* Акцентная полоска слева, растёт при наведении */
.nav-item.dropdown .dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: #768b40;
    border-radius: 2px;
    transition: height 0.25s ease;
}

.nav-item.dropdown .dropdown-item:hover,
.nav-item.dropdown .dropdown-item:focus {
    background-color: rgba(118, 139, 64, 0.07);
    color: #768b40;
    padding-left: 26px;
}

.nav-item.dropdown .dropdown-item:hover::before {
    height: 60%;
}

/* ===== ЛИНИЯ ПОД "ГОСТЕВЫЕ ДОМА" — 2px ===== */
.region-navigation .nav-link.dropdown-toggle::after {
    height: 2px;
}

/* ===== АКТИВНЫЕ СОСТОЯНИЯ ===== */

/* Активный пункт "Гостевые дома" в header */
.region-navigation .nav-link.dropdown-toggle.active {
    color: #c7d99a !important;
}

.region-navigation .nav-link.dropdown-toggle.active::after {
    width: 100%;
}

/* Активный пункт внутри выпадающего меню */
.nav-item.dropdown .dropdown-item.active,
.nav-item.dropdown .dropdown-item.is-active {
    background-color: rgba(118, 139, 64, 0.1);
    color: #768b40 !important;
    font-weight: 600;
}

.nav-item.dropdown .dropdown-item.active::before,
.nav-item.dropdown .dropdown-item.is-active::before {
    height: 60%;
}

/* ===== BODY МОДАЛКИ ===== */
.modal-body {
    padding: 30px;
    background-color: #fff;
}

/* Скрываем текстовые сообщения об ошибках, подсвечиваем поля цветом */
.modal-body .alert.alert-error,
.modal-body .form-item--error-message {
    display: none !important;
}

/* Поля формы */
.modal-body .js-form-item {
    margin-bottom: 20px;
}

.modal-body .form-control,
.modal-body input[type="text"],
.modal-body input[type="email"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d5d5d5;
    border-radius: 0;
    padding: 8px 2px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    color: #000;
    box-shadow: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.modal-body .form-control::placeholder,
.modal-body input::placeholder {
    color: #999;
}

.modal-body .form-control:focus,
.modal-body input:focus {
    outline: none;
    border-bottom-color: #768b40;
    box-shadow: none;
    background: transparent;
    color: #000;
}

/* Подсветка невалидных полей */
.modal-body .form-control.error,
.modal-body input.error,
.modal-body input[aria-invalid="true"] {
    border-bottom: 1px solid #e8b26a;
    background: rgba(232, 178, 106, 0.06);
}

.modal-body .form-control.error::placeholder,
.modal-body input.error::placeholder,
.modal-body input[aria-invalid="true"]::placeholder {
    color: rgba(200, 140, 60, 0.85);
}

.modal-body .form-control.error:focus,
.modal-body input.error:focus,
.modal-body input[aria-invalid="true"]:focus {
    border-bottom-color: #e8b26a;
}

/* Скрываем встроенную кнопку формы (используем кнопку из modal-footer) */
.modal-body .form-actions {
    display: none;
}

/* ===== ЧЕКБОКС СОГЛАСИЯ ===== */
.modal-body .js-form-type-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    margin-top: 10px;
}

.modal-body input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1px solid #768b40;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.modal-body input[type="checkbox"]:hover {
    background: rgba(118, 139, 64, 0.08);
}

.modal-body input[type="checkbox"]:checked {
    background: #768b40;
}

.modal-body input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modal-body input[type="checkbox"]:focus-visible {
    outline: 1px solid #768b40;
    outline-offset: 2px;
}

.modal-body input[type="checkbox"].error,
.modal-body input[type="checkbox"][aria-invalid="true"] {
    border-color: #e8b26a;
}

.modal-body .webform-element-description {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

.modal-body .webform-element-description a {
    color: #768b40;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.modal-body .webform-element-description a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* ===== FOOTER МОДАЛКИ: КНОПКА "ОТПРАВИТЬ" ===== */
.modal-footer {
    border-top: none;
    padding: 0 30px 30px;
    justify-content: stretch;
}

.modal-footer .webform-button--submit {
    display: block;
    width: 100%;
    background: #768b40;
    border: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    padding: 14px 0;
    border-radius: 10px;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.modal-footer .webform-button--submit:hover {
    background-color: #8ba14a;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== СТРАНИЦА ПОИСКА ===== */
.path-search #block-vesta-theme-content,
body.path-search #block-vesta-theme-content {
    padding: 40px 0 90px;
}

/* Заголовок "Поиск" (h1 страницы) */
.path-search #block-vesta-theme-page-title h1,
body.path-search #block-vesta-theme-page-title h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 30px;
}

/* ===== ФОРМА ПОИСКА НА СТРАНИЦЕ ===== */
.search-api-page-block-form-search {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 45px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.search-api-page-block-form-search .js-form-item {
    flex: 1;
    max-width: 480px;
    margin: 0;
}

.search-api-page-block-form-search .form-search,
.search-api-page-block-form-search input[type="search"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 4px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #000;
    box-shadow: none;
    transition: border-color 0.25s ease;
}

.search-api-page-block-form-search .form-search::placeholder,
.search-api-page-block-form-search input[type="search"]::placeholder {
    color: #999;
}

.search-api-page-block-form-search .form-search:focus,
.search-api-page-block-form-search input[type="search"]:focus {
    outline: none;
    border-bottom-color: #768b40;
    box-shadow: none;
}

/* Кнопка "Поиск" */
.search-api-page-block-form-search .form-actions {
    margin: 0;
}

.search-api-page-block-form-search .search-form__submit {
    display: inline-block;
    background: #768b40;
    border: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    padding: 12px 32px;
    border-radius: 10px;
    white-space: nowrap;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.search-api-page-block-form-search .search-form__submit:hover {
    background-color: #8ba14a;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(118, 139, 64, 0.3);
}

/* ===== РЕЗУЛЬТАТЫ ПОИСКА ===== */
#block-vesta-theme-content > h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    color: #000;
    margin: 0 0 8px;
}

#block-vesta-theme-content > p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    color: #768b40;
    margin: 0 0 30px;
}

/* Каждый результат — заголовок-ссылка */
#block-vesta-theme-content h3 {
    margin: 0 0 6px;
}

#block-vesta-theme-content h3 a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.25s ease;
}

#block-vesta-theme-content h3 a:hover {
    color: #768b40;
    text-decoration: underline;
}

#block-vesta-theme-content h3 + p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

#block-vesta-theme-content h3:last-of-type + p:last-child {
    border-bottom: none;
}

.search-api-page-block-form-search {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* явно слева, а не по умолчанию */
    gap: 16px;
    margin: 0 0 45px 0; /* убираем возможный margin: auto */
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    text-align: left;
}

.search-api-page-block-form-search .js-form-item {
    flex: 0 1 480px; /* не растягивается на всё доступное пространство */
    max-width: 480px;
    margin: 0;
}

/* ===== MOBILE HEADER ===== */
#header-mob {
    background-color: #768b40;
    padding: 12px 16px;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ===== БУРГЕР-ИКОНКА ===== */
#header-mob .col-nav {
    flex-shrink: 0;
}

#header-mob .col-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s ease;
}

#header-mob .col-nav a:hover {
    opacity: 0.8;
}

#header-mob .col-nav img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ===== ЛОГОТИП ===== */
#header-mob .col-logo {
    flex-shrink: 0;
}

#header-mob .col-logo a {
    display: block;
}

#header-mob .col-logo img {
    max-height: 38px;
    width: auto;
    display: block;
}

/* ===== ТЕЛЕФОН ===== */
#header-mob .col-phone {
    flex-shrink: 0;
    text-align: right;
}

#header-mob .col-phone .contact-item a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

#header-mob .col-phone .contact-item a:hover {
    opacity: 0.8;
}

/* ===== OFFCANVAS МОБИЛЬНОЕ МЕНЮ ===== */
.offcanvas {
    width: 320px;
    background-color: #fff;
}

/* ===== ШАПКА OFFCANVAS ===== */
.offcanvas-header {
    background: linear-gradient(121.88deg, #768b40 30.83%, #1f2511 177.88%);
    padding: 20px;
    border-bottom: none;
}

.offcanvas-header .logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.offcanvas-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ===== ТЕЛО OFFCANVAS ===== */
.offcanvas-body {
    padding: 20px;
}

/* ===== СТАНДАРТНАЯ НАВИГАЦИЯ DRUPAL (БЕЗ ВЫПАДАЮЩИХ СПИСКОВ) ===== */
.offcanvas-body .region-navigation-footer .nav.navbar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0 0 24px;
    padding: 0;
}

.offcanvas-body .region-navigation-footer .nav-item {
    list-style: none;
    border-bottom: 1px solid #f0f0f0;
}

.offcanvas-body .region-navigation-footer .nav-item:last-child {
    border-bottom: none;
}

.offcanvas-body .region-navigation-footer .nav-link {
    display: block;
    padding: 14px 4px;
    font-family: var(--font-family, sans-serif);
    font-weight: 500;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

/* Подсветка активной страницы и при наведении/клике */
.offcanvas-body .region-navigation-footer .nav-link:hover,
.offcanvas-body .region-navigation-footer .nav-link.active,
.offcanvas-body .region-navigation-footer .nav-link.is-active {
    color: #768b40;
    padding-left: 8px; /* Легкий сдвиг вправо при нажатии или фокусе */
}

/* Полный сброс стрелочек и выпадающих меню, если они тянулись из основного Bootstrap */
.offcanvas-body .nav-link::after,
.offcanvas-body .dropdown-toggle::after {
    display: none !important;
}

.offcanvas-body .dropdown-menu {
    display: none !important;
}

/* ===== КОНТАКТЫ ===== */
.offcanvas-body .contact-item {
    margin-bottom: 16px;
}

.offcanvas-body .contact-item-label {
    font-family: var(--font-family, sans-serif);
    font-weight: 600;
    font-size: 13px;
    color: #768b40;
    margin-bottom: 4px;
}

.offcanvas-body .contact-item-el {
    font-family: var(--font-family, sans-serif);
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

.offcanvas-body .contact-item-el a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.offcanvas-body .contact-item-el a:hover {
    color: #768b40;
}

/* ===== СОЦСЕТИ ===== */
.offcanvas-body .msngrs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 24px;
}

.offcanvas-body .msngrs .item a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #768b40;
    border-radius: 8px;
    font-family: var(--font-family, sans-serif);
    font-weight: 500;
    font-size: 13px;
    color: #768b40;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.offcanvas-body .msngrs .item a:hover {
    background-color: #768b40;
    color: #fff;
}

/* ===== КНОПКА "ЗАБРОНИРОВАТЬ" ===== */
.offcanvas-callback {
    margin-top: 10px;
}

.offcanvas-callback .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: #768b40;
    border: none;
    font-family: var(--font-family, sans-serif);
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    padding: 14px 0;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.offcanvas-callback .btn-primary:hover {
    background-color: #8ba14a;
    color: #fff;
}

/* ===== ФИКС БЕЛОЙ ПОЛОСЫ И ГОРИЗОНТАЛЬНОЙ ПРОКРУТКИ ===== */
html, body, #main, .wr_content {
    max-width: 100%;
    overflow-x: hidden;
}

@media screen and (max-width: 1399px) {
    .region-navigation .nav {
        gap: 24px;
    }

    .header-top .container > div {
        gap: 18px;
    }

    .col-phones .tel {
        font-size: 14px;
    }

    .col-address {
        font-size: 14px;
    }

    .col-mail {
        font-size: 14px;
    }

    .service_content_buttom .field__items {
        gap: 35px;
    }

    .feedback_left::after {
        right: 65px;
        bottom: 60px;
    }
}

/* ==========================================================================
   ADAPTIVE / АДАПТИВНАЯ ВЁРСТКА
   ========================================================================== */

/* *** ADAPTIVE *** */
@media screen and (max-width: 1199px) {

    /* ===== HEADER ===== */
    .header-top .container > div {
        gap: 13px;
    }

    .col-address {
        max-width: 170px;
        font-size: 12px;
    }

    .col-mail {
        font-size: 12px;
    }

    .col-phones {
        gap: 12px;
    }

    .col-phones .tel {
        font-size: 14px;
    }

    .col-callback .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .region-navigation .nav {
        gap: 15px;
    }

    .region-navigation .nav-link {
        font-size: 14px;
    }

    .logo img {
        max-height: 55px;
    }

    .not-front #main {
        padding-top: 130px;
    }

    /* ===== PROMO BLOCK ===== */
    #promo-block,
    .promo_image_bg,
    .promo_image_bg img,
    .promo_content {
        height: 760px;
    }

    .promo_content {
        padding-top: 120px;
    }

    .promo_content h1 {
        font-size: 46px;
        max-width: 820px;
    }

    .promo_content .field--name-field-promo-text {
        font-size: 46px;
    }

    /* ===== ABOUT BLOCK ===== */
    /*.about_content_right,*/
    /*.about_content_right .field--name-field-about-image,*/
    /*.about_content_right img {*/
    /*    width: 420px;*/
    /*    height: 460px;*/
    /*}*/

    .about_content_left .field--name-field-about-text {
        font-size: 14px;
    }

    .about_content_left .field--name-field-about-lead {
        font-size: 18px;
    }

    .about-block {
        padding: 50px 0;
    }

    .houses-subtitle {
        font-size: 45px;
    }

    .houses-block {
        padding-bottom: 50px;
    }

    .advantages-block .view-content {
        gap: 30px 19px;
    }

    .advantages-block {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .advantages-subtitle {
        font-size: 50px;
    }

    .spa-area-block {
        padding: 50px 0;
    }

    .spa_area-subtitle {
        font-size: 50px;
    }

    .massages-subtitle {
        font-size: 50px;
    }

    .massages-block {
        padding-bottom: 50px;
    }

    .about_content_left {
        max-width: 440px;
    }

    .about_content_top .field--name-field-about-subtitle {
        font-size: 50px;
    }

    /* ===== HOUSES / SPA / MASSAGES CARD GRIDS ===== */
    .houses-block .field--name-field-house-image img,
    .view-guest-houses.view-display-id-page_1 .field--name-field-house-image img,
    .spa-area-block .field--name-field-spa-area-image img,
    .view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-image img,
    .massages-block .field--name-field-massage-image img,
    .view-massages.view-display-id-page_1 .field--name-field-massage-image img {
        height: 300px;
    }

    /* Если элемент один в последней строке 2-колоночной сетки — растягиваем на всю ширину */
    .houses-block .view-content .views-row:nth-child(odd):last-child,
    .view-guest-houses.view-display-id-page_1 .view-content .views-row:nth-child(odd):last-child,
    .spa-area-block .view-content .views-row:nth-child(odd):last-child,
    .view-spa-areas.view-display-id-page_1 .view-content .views-row:nth-child(odd):last-child,
    .massages-block .view-content .views-row:nth-child(odd):last-child,
    .view-massages.view-display-id-page_1 .view-content .views-row:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }

    /* ===== ADVANTAGES ===== */
    .advantages-block .field--name-field-advantage-image {
        width: 150px;
        height: 150px;
        margin-bottom: 18px;
    }

    .advantages-block .field--name-field-advantage-image img {
        width: 75px;
        height: 75px;
    }

    .advantages-block .field--name-field-advantage-text {
        font-size: 18px;
    }

    /* ===== BATH ===== */
    .service_content_center img {
        height: 440px;
    }

    .service_content_buttom .field__items {
        gap: 27px;
    }

    .bath-block {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .photogallery-block {
        padding: 50px 0;
    }

    .feedback-block {
        padding-top: 70px;
        padding-bottom: 85px;
    }

    .photogallery-subtitle {
        font-size: 45px;
    }

    .photogallery-block .more-link {
        margin-top: 25px;
    }

    .feature_left {
        width: 65px;
        height: 65px;
    }

    .feature_left img {
        width: 45px;
        height: 45px;
    }

    .feature_right {
        font-size: 20px;
    }

    /*!* ===== PHOTOGALLERY ===== *!*/
    /*.photogallery-block .field-content,*/
    /*.view-photogallery.view-display-id-page_1 .field-content {*/
    /*    grid-template-columns: repeat(3, 1fr);*/
    /*}*/

    .photogallery-block .photoswipe-gallery img,
    .view-photogallery.view-display-id-page_1 .photoswipe-gallery img {
        height: 300px;
    }

    /* ===== FEEDBACK ===== */
    .feedback_left .js-form-item,
    .feedback_left .webform-actions,
    .feedback_left .js-form-type-checkbox {
        width: 100%;
        max-width: 400px;
    }

    .feedback_left .field--name-field-feedback-title h2 {
        font-size: 32px;
        max-width: 500px;
    }

    .feedback_right img {
        max-height: 380px;
    }

    .feedback_left::after {
        right: 30px;
        bottom: 75px;
        width: 80px;
        height: 80px;
    }

    /* ===== LOCATION ===== */
    .location-block {
        padding: 50px 30px;
    }

    .location-map .mapContainer {
        height: 420px !important;
    }

    /* ===== PRODUCT PAGE ===== */
    .product-teaser {
        gap: 30px;
    }

    .product-teaser .product-teaser-image,
    .product-teaser .product-teaser-info {
        max-width: 420px;
    }

    .product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .current-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide img {
        max-width: 420px;
        min-width: 420px;
        max-height: 420px;
        min-height: 420px;
    }

    /* ===== NODE FULL VIEW (spa / massage / house) ===== */
    .node--type-spa-area.node--view-mode-full .spa_area_left,
    .node--type-type-massage.node--view-mode-full .massage_left,
    .node--type-guest-house.node--view-mode-full .house_content_left {
        width: 440px;
    }

    .bath-subtitle {
        font-size: 50px;
    }
}

@media screen and (max-width: 991px) {

    /* ===== HEADER ===== */
    #header {
        display: none !important;
    }

    #header-mob {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .not-front #main,
    .front #main {
        padding-top: 0px;
    }

    #offcanvasNav .nav .dropdown-menu {
        display: none;
        position: static;
        border: 0px solid;
        background: transparent;
        padding: 10px 0;
        border-bottom: 1px solid #BDBDBD;
    }

    #offcanvasNav li.nav-item {
        width: 100%;
    }

    /* ===== PROMO BLOCK ===== */
    #promo-block,
    .promo_image_bg,
    .promo_image_bg img,
    .promo_content {
        height: 620px;
    }

    .promo_content {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .promo_content h1 {
        font-size: 36px;
        line-height: 130%;
        max-width: 640px;
        margin-bottom: 18px;
    }

    .promo_content .field--name-field-promo-text {
        font-size: 38px;
    }

    .promo_content .field--name-field-promo-btn .btn-primary {
        padding: 12px 50px;
    }

    /* ===== ABOUT BLOCK ===== */
    .about-block {
        padding: 40px 0;
    }

    .about-block .block-block-content {
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
    }

    .about_content_top {
        margin-bottom: 0px;
    }

    .about_content_left,
    .about_content_right {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .about_content_right,
    .about_content_right .field--name-field-about-image,
    .about_content_right img {
        width: 100%;
        height: 420px;
    }

    .about_content_left .field--name-field-about-lead,
    .about_content_left .field--name-field-about-text {
        max-width: 100%;
    }

    .about_content_top .field--name-field-about-subtitle {
        font-size: 42px;
    }

    .about_content_left .field--name-field-about-title h2 {
        font-size: 34px;
    }

    /* ===== HOUSES / SPA / MASSAGES ===== */
    .houses-block,
    .spa-area-block,
    .massages-block {
        padding-bottom: 40px;
    }

    /*.spa-area-block {*/
    /*    padding: 40px;*/
    /*}*/

    .massages-subtitle {
        font-size: 45px;
    }

    .bath-subtitle {
        font-size: 45px;
    }

    .houses-block .more-link {
        margin-top: 25px;
    }

    .spa-area-block .more-link {
        margin-top: 25px;
    }

    .massages-block .more-link {
        margin-top: 25px;
    }

    .houses_content_title h2,
    .spa_area_title h2,
    .massages_content_title h2 {
        font-size: 34px;
    }

    .houses-block .field--name-field-house-image img,
    .view-guest-houses.view-display-id-page_1 .field--name-field-house-image img,
    .spa-area-block .field--name-field-spa-area-image img,
    .view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-image img,
    .massages-block .field--name-field-massage-image img,
    .view-massages.view-display-id-page_1 .field--name-field-massage-image img {
        height: 320px;
    }

    /* ===== ADVANTAGES ===== */
    .advantages-block {
        padding-top: 45px;
        padding-bottom: 60px;
    }

    .advantages-block .view-content {
        justify-content: center;
        gap: 30px 25px;
    }

    .advantages-block .views-row {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }

    .advantages-block .field--name-field-advantage-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 20px;
    }

    .advantages-block .field--name-field-advantage-image img {
        width: 75px;
        height: 75px;
    }

    .advantages-block .field--name-field-advantage-text {
        max-width: 170px;
    }

    /* ===== SPA / MASSAGE / HOUSE FULL VIEW ===== */
    .node--type-spa-area.node--view-mode-full .node__content,
    .node--type-type-massage.node--view-mode-full .node__content,
    .node--type-guest-house.node--view-mode-full .node__content {
        padding: 30px 0 60px;
    }

    .node--type-spa-area.node--view-mode-full .spa_area_left,
    .node--type-type-massage.node--view-mode-full .massage_left,
    .node--type-guest-house.node--view-mode-full .house_content_left {
        float: none;
        width: 100%;
        margin: 0 0 25px 0;
    }

    /* ===== BATH ===== */
    .bath-block {
        padding-top: 45px;
        padding-bottom: 55px;
    }

    .service_content_center img {
        height: 360px;
    }

    .service_content_buttom .field__items {
        gap: 25px 14px;
    }

    .feature_right {
        font-size: 15px;
    }

    .feature_left {
        width: 50px;
        height: 50px;
    }

    .service_content_text {
        left: 20px;
        bottom: 12px;
        gap: 18px;
    }

    .service_content_text .field--name-field-service-badge,
    .service_content_text .field--name-field-service-price {
        font-size: 20px;
    }

    /* ===== PHOTOGALLERY ===== */
    .photogallery-block {
        padding: 40px 0;
    }

    .photogallery-block .field-content,
    .view-photogallery.view-display-id-page_1 .field-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .photogallery-block .photoswipe-gallery img,
    .view-photogallery.view-display-id-page_1 .photoswipe-gallery img {
        height: 280px;
    }

    /* ===== FEEDBACK ===== */
    .feedback-block {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .feedback-block .container .block-block-content {
        flex-direction: column;
        padding: 40px 30px 0;
        border-radius: 24px;
    }

    .feedback_left {
        max-width: 100%;
    }

    .feedback_left .js-form-item,
    .feedback_left .webform-actions,
    .feedback_left .js-form-type-checkbox {
        width: 100%;
        max-width: 100%;
    }

    .feedback_left .field--name-field-feedback-title h2 {
        font-size: 28px;
        max-width: 100%;
    }

    .feedback_left::after {
        display: none;
    }

    .feedback_right {
        width: 100%;
        justify-content: center;
        margin-top: 25px;
    }

    .feedback_right img {
        max-height: 260px;
        display: none;
    }

    /* ===== LOCATION ===== */
    .location-block {
        padding: 40px 20px;
    }

    .location-title {
        font-size: 32px;
    }

    .location-info {
        gap: 25px;
    }

    .location-col-label {
        font-size: 20px;
    }

    .location-tel span,
    .location-mail span {
        font-size: 20px;
    }

    .location-map .mapContainer {
        height: 360px !important;
    }

    /* ===== FOOTER ===== */
    .footer-block {
        padding: 40px 0 25px;
    }

    .footer-top {
        /*flex-direction: column;*/
        gap: 28px;
    }

    .footer-logo-col {
        margin-right: 0;
    }

    .footer-contacts-col {
        margin-left: 0;
        align-items: flex-start;
    }

    .row-copiryght {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .row-copiryght > [class^="col-"]:nth-child(1),
    .row-copiryght > [class^="col-"]:nth-child(2),
    .row-copiryght > [class^="col-"]:nth-child(3) {
        grid-column: 1;
        justify-self: start;
        text-align: left !important;
    }

    .row-copiryght > [class^="col-"]:nth-child(2) {
        grid-row: 2;
    }

    .row-copiryght > [class^="col-"]:nth-child(3) {
        grid-row: 3;
    }

    /* ===== PRODUCT PAGE ===== */
    .product-teaser {
        flex-direction: column;
    }

    .product-teaser .product-teaser-image,
    .product-teaser .product-teaser-info {
        max-width: 100%;
    }

    .product-teaser .product-teaser-image .field.field--name-field-variation-image.field--type-image .elements .current-slide.slick-initialized.slick-slider .slick-list.draggable .slick-track .element.slick-slide img {
        max-width: 100%;
        min-width: 100%;
        max-height: 420px;
        min-height: 420px;
    }

    /* ===== SEARCH PAGE ===== */
    .search-api-page-block-form-search {
        flex-wrap: wrap;
    }

    .search-api-page-block-form-search .js-form-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {

    .houses-block, .spa-area-block, .massages-block {
        padding-bottom: 30px;
    }

    .advantages-block {
        padding-top: 30px;
        padding-bottom: 45px;
    }

    .photogallery-block {
        padding: 30px 0;
    }

    .footer-top {
        margin-bottom: 30px;
    }

    /* ===== PROMO BLOCK ===== */
    #promo-block,
    .promo_image_bg,
    .promo_image_bg img,
    .promo_content {
        height: 520px;
    }

    .promo_content h1 {
        font-size: 28px;
        line-height: 130%;
        max-width: 100%;
        margin-bottom: 14px;
    }

    .promo_content .field--name-field-promo-text {
        font-size: 30px;
    }

    .promo_content .field--name-field-promo-btn .btn-primary {
        padding: 12px 40px;
        font-size: 14px;
    }

    /* ===== ABOUT ===== */
    .about-block {
        padding: 30px 0;
    }

    .about_content_top .field--name-field-about-subtitle {
        font-size: 32px;
    }

    .about_content_left .field--name-field-about-title h2 {
        font-size: 25px;
    }

    .about_content_left .field--name-field-about-lead {
        font-size: 20px;
    }

    .about_content_right,
    .about_content_right .field--name-field-about-image,
    .about_content_right img {
        height: 320px;
    }

    /* ===== HOUSES / SPA / MASSAGES: одна колонка, чтобы не было пустых мест ===== */
    .houses-block .view-content,
    .view-guest-houses.view-display-id-page_1 .view-content,
    .spa-area-block .view-content,
    .view-spa-areas.view-display-id-page_1 .view-content,
    .massages-block .view-content,
    .view-massages.view-display-id-page_1 .view-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .houses-block .field--name-field-house-image img,
    .view-guest-houses.view-display-id-page_1 .field--name-field-house-image img,
    .spa-area-block .field--name-field-spa-area-image img,
    .view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-image img,
    .massages-block .field--name-field-massage-image img,
    .view-massages.view-display-id-page_1 .field--name-field-massage-image img {
        height: 260px;
    }

    .houses_content_title h2,
    .spa_area_title h2,
    .massages_content_title h2 {
        font-size: 25px;
    }

    .houses-subtitle,
    .spa_area-subtitle,
    .massages-subtitle,
    .advantages-subtitle,
    .photogallery-subtitle,
    .bath-subtitle {
        font-size: 32px;
    }

    /* ===== ADVANTAGES: по 2 в ряд ===== */
    .advantages-block .views-row {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .advantages-block .field--name-field-advantage-image {
        width: 130px;
        height: 130px;
    }

    .advantages-block .field--name-field-advantage-image img {
        width: 65px;
        height: 65px;
    }

    /* ===== BATH ===== */
    .bath-block {
        padding-top: 35px;
        padding-bottom: 45px;
    }

    .service_content_center img {
        height: 280px;
    }

    .bath_title h2 {
        font-size: 28px;
    }

    .service_content_buttom .field__items {
        gap: 20px 30px;
        /*justify-content: space-between;*/
    }

    .feature_left {
        width: 55px;
        height: 55px;
    }

    .feature_left img {
        width: 38px;
        height: 38px;
    }

    .feature_right {
        font-size: 17px;
        white-space: normal;
    }

    /* ===== PHOTOGALLERY: остаётся 2 колонки ===== */
    .photogallery-block {
        padding: 45px 0;
    }

    .photogallery_title h2 {
        font-size: 28px;
    }

    .photogallery-block .photoswipe-gallery img,
    .view-photogallery.view-display-id-page_1 .photoswipe-gallery img {
        height: 200px;
    }

    /* Если фото нечётное количество — последнее на всю ширину */
    .photogallery-block .field-content > a:nth-child(odd):last-child,
    .view-photogallery.view-display-id-page_1 .field-content > a:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }

    /* ===== FEEDBACK ===== */
    .feedback-block {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .feedback-block .container .block-block-content {
        padding: 30px 20px 0;
    }

    .feedback_left .field--name-field-feedback-title h2 {
        font-size: 24px;
    }

    .feedback_left .webform-button--submit {
        width: 100%;
        text-align: center;
        padding: 13px 0;
    }

    .feedback_right img {
        max-height: 200px;
    }

    /* ===== LOCATION ===== */
    .location-block {
        padding: 40px 16px;
    }

    .location-title {
        font-size: 26px;
    }

    .location-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-map .mapContainer {
        height: 300px !important;
    }

    /* ===== FOOTER ===== */
    .footer-nav-col .nav {
        gap: 8px;
    }

    .footer-tel span,
    .footer-mail,
    .footer-address {
        font-size: 15px;
    }

    /* ===== NODE FULL VIEW ===== */
    .node--type-spa-area.node--view-mode-full .field--name-field-spa-area-text,
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-text-on-page,
    .node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page {
        font-size: 15px;
    }

    .node--type-guest-house.node--view-mode-full .field--name-field-house-price {
        font-size: 24px;
    }

    /* ===== SEARCH PAGE ===== */
    body.path-search #block-vesta-theme-page-title h1,
    .path-search #block-vesta-theme-page-title h1 {
        font-size: 28px;
    }

    .search-api-page-block-form-search .search-form__submit {
        width: 100%;
        text-align: center;
    }

    #block-vesta-theme-content h3 a {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {

    /* ===== SOCIAL PANEL / SCROLL TOP ===== */
    .social-fixed-panel {
        right: 12px;
        bottom: 130px;
        gap: 8px;
    }

    .photogallery-block {
        padding: 30px 0;
    }

    .social-fixed-item,
    .social-fixed-item img {
        width: 40px;
        height: 40px;
    }

    #scrollToTop {
        width: 40px;
        height: 40px;
        right: 12px;
        bottom: 35px;
    }

    /* ===== PROMO BLOCK ===== */
    #promo-block,
    .promo_image_bg,
    .promo_image_bg img,
    .promo_content {
        height: 440px;
    }

    .promo_content {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .promo_content h1 {
        font-size: 22px;
    }

    .promo_content .field--name-field-promo-text {
        font-size: 24px;
    }

    .promo_content .field--name-field-promo-btn .btn-primary {
        display: block;
        width: 100%;
        padding: 12px 15px;
    }

    /* ===== ABOUT ===== */
    .about_content_top .field--name-field-about-subtitle {
        font-size: 26px;
    }

    .about_content_left .field--name-field-about-title h2 {
        font-size: 24px;
    }

    .about_content_left .field--name-field-about-lead {
        font-size: 18px;
    }

    .about_content_left .field--name-field-about-text {
        font-size: 15px;
    }

    .about_content_left .field--name-field-about-btn .btn-primary,
    .houses-block .more-link a,
    .spa-area-block .more-link a,
    .massages-block .more-link a,
    .photogallery-block .more-link a,
    .view-guest-houses.view-display-id-page_1 .more-link a,
    .view-spa-areas.view-display-id-page_1 .more-link a,
    .view-massages.view-display-id-page_1 .more-link a,
    .view-photogallery.view-display-id-page_1 .more-link a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .about_content_right,
    .about_content_right .field--name-field-about-image,
    .about_content_right img {
        height: 240px;
    }

    /* ===== HOUSES / SPA / MASSAGES ===== */
    .houses-block .field--name-field-house-image img,
    .view-guest-houses.view-display-id-page_1 .field--name-field-house-image img,
    .spa-area-block .field--name-field-spa-area-image img,
    .view-spa-areas.view-display-id-page_1 .field--name-field-spa-area-image img,
    .massages-block .field--name-field-massage-image img,
    .view-massages.view-display-id-page_1 .field--name-field-massage-image img {
        height: 220px;
    }

    .houses-block .field--name-field-house-name,
    .spa-area-block .field--name-field-spa-area-name,
    .massages-block .field--name-field-massage-name,
    .houses-block .field--name-field-house-price {
        font-size: 20px;
    }

    /* ===== ADVANTAGES: по 2 в ряд ===== */
    .advantages-block .view-content {
        justify-content: center;
        gap: 25px 15px;
    }

    .advantages-block .views-row {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .advantages-block .field--name-field-advantage-image {
        width: 110px;
        height: 110px;
        margin: 0 auto 15px;
    }

    .advantages-block .field--name-field-advantage-image img {
        width: 55px;
        height: 55px;
    }

    .advantages-block .field--name-field-advantage-text {
        max-width: 150px;
        font-size: 15px;
    }

    /* ===== BATH ===== */
    .service_content_center img {
        height: 200px;
    }

    .service_content_text {
        left: 12px;
        bottom: 10px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .service_content_text .field--name-field-service-badge,
    .service_content_text .field--name-field-service-price {
        font-size: 16px;
    }

    .service_content_buttom .field__items {
        /*justify-content: center;*/
        gap: 15px 25px;
    }

    /* ===== PHOTOGALLERY: 1 колонка, чтобы всё влезало без обрезки ===== */
    .photogallery-block .field-content,
    .view-photogallery.view-display-id-page_1 .field-content {
        /*grid-template-columns: 1fr;*/
        gap: 10px;
    }

    .photogallery-block .photoswipe-gallery img,
    .view-photogallery.view-display-id-page_1 .photoswipe-gallery img {
        height: 220px;
    }

    /* ===== FEEDBACK ===== */
    .feedback_left .field--name-field-feedback-title h2 {
        font-size: 20px;
    }

    .feedback_left .js-form-type-checkbox {
        align-items: flex-start;
    }

    /* ===== LOCATION ===== */
    .location-title {
        font-size: 22px;
    }

    .location-col-label {
        font-size: 18px;
    }

    .location-tel span,
    .location-mail span {
        font-size: 18px;
    }

    .location-map .mapContainer {
        height: 240px !important;
    }

    /* ===== FOOTER ===== */
    .footer-block {
        padding: 30px 0 20px;
        padding-left: 20px;
    }

    .footer-callback .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }

    .row-copiryght .copyright,
    .row-copiryght a {
        font-size: 12px;
    }

    /* ===== HEADER MOB ===== */
    #header-mob .col-phone .contact-item a {
        font-size: 12px;
    }

    /* ===== NODE FULL VIEW ===== */
    .node--type-spa-area.node--view-mode-full .field--name-field-spa-area-text,
    .node--type-type-massage.node--view-mode-full .field--name-field-massage-text-on-page,
    .node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page {
        font-size: 14px;
        line-height: 1.6;
    }

    /* ===== SEARCH PAGE ===== */
    body.path-search #block-vesta-theme-page-title h1,
    .path-search #block-vesta-theme-page-title h1 {
        font-size: 24px;
    }
}

/*!* *** ADAPTIVE *** *!*/
/*@media screen and (max-width: 1199px) {*/
/*}*/

/*@media screen and (max-width: 991px) {*/
/*    #offcanvasNav .nav .dropdown-menu {*/
/*        display: none;*/
/*        position: static;*/
/*        border: 0px solid;*/
/*        background: transparent;*/
/*        padding: 10px 0;*/
/*        border-bottom: 1px solid #BDBDBD;*/
/*    }*/

/*    #offcanvasNav li.nav-item {*/
/*        width: 100%;*/
/*    }*/
/*}*/

/*@media screen and (max-width: 767px) {*/
/*}*/

/*@media screen and (max-width: 576px) {*/
/*}*/

/* ===== СТРАНИЦА КОНТАКТЫ ===== */

.location-block .location-title {
    font-family: var(--font-family);
}

.location-block .location-info {
    flex-wrap: wrap;
    gap: 30px 40px;
    margin-bottom: 40px;
}

.location-block .location-col,
.location-block .location-col-value,
.location-block .location-col-value span,
.location-block .location-tel,
.location-block .location-mail {
    font-family: var(--font-family);
    font-weight: 400;
    color: #333;
    text-decoration: none;
}

.location-block .location-col-label {
    margin-bottom: 8px;
}

.location-block .location-col-value,
.location-block .location-tel,
.location-block .location-mail {
    gap: 12px;
}

.location-block .location-icon {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .location-block .location-info {
        flex-direction: column;
        gap: 24px;
    }
}

body:not(.path-frontpage) .wr_content .text-formatted strong {
    font-weight: 700;
    color: #000;
}

body:not(.path-frontpage) .wr_content .text-formatted > :first-child { margin-top: 0; }
body:not(.path-frontpage) .wr_content .text-formatted > :last-child  { margin-bottom: 0; }



/* ===== ЕДИНАЯ ТИПОГРАФИКА ВНУТРЕННИХ СТРАНИЦ ===== */
:root {
    --text-fs: 18px;
    --text-lh: 1.4;
    --list-indent: 40px;       /* отступ списка слева */
    --list-item-gap: 8px;      /* между пунктами */
    --list-block-gap: 18px;    /* до и после списка, между абзацами */
}

@media (max-width: 767px) {
    :root {
        --text-fs: 16px;
        --list-indent: 24px;
    }
}

/* Основной текст */
body:not(.path-frontpage) .wr_content .text-formatted,
.node--view-mode-full .field--name-body,
.node--view-mode-full .field--name-field-house-text-on-page {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: var(--text-fs);
    line-height: var(--text-lh);
    color: #333;
}

/* Абзацы */
body:not(.path-frontpage) .wr_content .text-formatted p,
.node--view-mode-full .field--name-body p,
.node--view-mode-full .field--name-field-house-text-on-page p {
    margin: 0 0 var(--list-block-gap);
    font-size: inherit;
    line-height: inherit;
}

/* Списки */
body:not(.path-frontpage) .wr_content .text-formatted ul,
body:not(.path-frontpage) .wr_content .text-formatted ol,
.node--view-mode-full .field--name-body ul,
.node--view-mode-full .field--name-body ol,
.node--view-mode-full .field--name-field-house-text-on-page ul,
.node--view-mode-full .field--name-field-house-text-on-page ol {
    padding-left: var(--list-indent);
    margin: 0 0 var(--list-block-gap);
}

body:not(.path-frontpage) .wr_content .text-formatted li,
.node--view-mode-full .field--name-body li,
.node--view-mode-full .field--name-field-house-text-on-page li {
    margin-bottom: var(--list-item-gap);
    font-size: inherit;
    line-height: inherit;
}

body:not(.path-frontpage) .wr_content .text-formatted li:last-child,
.node--view-mode-full .field--name-body li:last-child,
.node--view-mode-full .field--name-field-house-text-on-page li:last-child {
    margin-bottom: 0;
}

/* Подзаголовки внутри текста */
body:not(.path-frontpage) .wr_content .text-formatted h2,
body:not(.path-frontpage) .wr_content .text-formatted h3,
body:not(.path-frontpage) .wr_content .text-formatted h4,
body:not(.path-frontpage) .wr_content .text-formatted h5,
body:not(.path-frontpage) .wr_content .text-formatted h6 {
    font-family: var(--font-family);
    font-size: var(--text-fs);
    font-weight: 700;
    line-height: var(--text-lh);
    margin: 28px 0 12px;
    color: #000;
}

/* Контакты */
.location-block .location-col,
.location-block .location-col-value,
.location-block .location-col-value span,
.location-block .location-tel,
.location-block .location-mail {
    font-size: var(--text-fs);
    line-height: var(--text-lh);
}

.location-block .location-col-label {
    font-size: var(--text-fs);
    line-height: var(--text-lh);
}

/* ===== ДОМИКИ: текст на всю ширину, цена бейджем на галерее ===== */
/* ===== ДОМИКИ: галерея, под ней цена, затем текст ===== */
.node--type-guest-house.node--view-mode-full .node__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "gallery"
        "price"
        "text";
    row-gap: 24px;
}

.node--type-guest-house.node--view-mode-full .house_content_right {
    display: contents;
}

.node--type-guest-house.node--view-mode-full .house_content_left {
    grid-area: gallery;
    margin: 0;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-price {
    grid-area: price;
    justify-self: start;
    align-self: start;
    position: static;
    width: fit-content;
    margin: 0;
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 28px;
    line-height: 1.2;
    box-shadow: none;
}

.node--type-guest-house.node--view-mode-full .field--name-field-house-text-on-page {
    grid-area: text;
    width: 100%;
    max-width: none;
    min-width: 0;
}

@media (max-width: 767px) {
    .node--type-guest-house.node--view-mode-full .field--name-field-house-price {
        font-size: 22px;
        padding: 10px 18px;
    }
}

#header .col-address,
#header .col-mail,
#header .col-phones .tel,
#header .region-navigation .nav-link {
    line-height: 1.4;
}

/* ===== БАННЫЙ ЧАН (и похожие услуги): текст по ширине сетки ===== */
.node--type-bath-tub.node--view-mode-full .node__content {
    display: block;
    width: 100%;
    max-width: none;
}

.node--type-bath-tub.node--view-mode-full .field--name-field-service-text-page {
    float: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    font-size: var(--text-fs);
    line-height: var(--text-lh);
}

.node--type-bath-tub.node--view-mode-full .field--name-field-service-text-page > * {
    max-width: none;
}

.not-front .wr_content {
    padding-bottom: 90px;
}

@media (max-width: 767px) {
    .not-front .wr_content {
        padding-bottom: 50px;
    }
}

/* ===== ФУТЕР: несколько меню колонками ===== */

/* колонка с меню забирает всё свободное место между логотипом и контактами */
.footer-top > .footer-nav-col {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
    margin: 0 40px;
}

.footer-menus {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 30px;
    margin-bottom: 20px;
}

.footer-menu .nav {
    margin: 0;
}

/* заголовки блоков меню (если у блоков включен заголовок) */
.footer-menu h2 {
    margin: 0 0 12px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
}

.footer-menu .nav-link {
    font-size: 15px;
    line-height: 1.3;
}

/* планшеты: 2 колонки, колонка меню на всю ширину */
@media (max-width: 1199px) {
    .footer-top > .footer-nav-col {
        flex: 1 1 100% !important;
        margin: 30px 0 0;
    }

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