/* Дополнения к оригинальной теме balalayka */
.nav-mobile.show { display: block; }
.phone__link::before,
.social__link::before,
.way-link span::before,
.contact-mail::before,
.contact-phone::before { font-family: FontAwesome; }

body {
    background-color: #fef7e4;
}

.pre-footer {
    background: url(/assets/images/pre_footer_bg2.png) no-repeat center bottom;
    background-size: 100% 100%;
    min-height: 8rem;
}

.footer {
    background: url(/assets/images/footer2.jpg) no-repeat center bottom;
    background-size: cover;
}

.header__nav .nav {
    width: 100%;
}

.header__nav .nav-list {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}

.header__nav .nav-list > li {
    flex: 1 1 0;
    display: block;
    padding: 0;
    text-align: center;
}

.header__nav .nav-list > li > a {
    display: block;
    width: 100%;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
    text-align: center;
}

.header__top {
    padding: 0;
}

.header-top-grid {
    display: flex;
    align-items: stretch;
    min-height: 6.7rem;
}

.header-col {
    flex: 1 1 33.333%;
    min-width: 0;
    padding: 0.5rem 1rem;
}

.header-col--desc {
    display: flex;
    align-items: center;
}

.header-col--desc .header-place__inner {
    width: 100%;
}

.header-col--desc .header-place__inner strong {
    display: block;
    font-size: 2.4rem;
    line-height: 1.15;
}

.header-col--desc .header-place__inner strong a {
    color: #52433B;
}

.header-col--desc .header-place__inner small {
    display: block;
    font-size: 1.6rem;
    color: #52433B;
    margin-top: 0.4rem;
}

.header-col--brand {
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    min-height: 0;
    padding: 0 1rem 5px;
}

.header-col--brand .logo {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-col--brand .logo a {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-col--brand .logo img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
}

.header-col--contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.header-contacts-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    flex: 1;
}

.header-col--contacts .phone {
    height: auto;
    padding-left: 0;
}

.header-col--contacts .way {
    height: auto;
    line-height: normal;
}

.header-col--contacts .wrap-btn-mobile {
    display: none;
}

@media (max-width: 991px) {
    .header__top .container {
        position: relative;
    }

    .header-top-grid {
        flex-wrap: wrap;
        padding-right: 4rem;
    }

    .header-col {
        flex: 1 1 33.333%;
    }

    .header-col--brand {
        flex: 1 1 100%;
        order: 1;
        padding-bottom: 5px;
        min-height: 6.7rem;
    }

    .header-col--brand .logo img {
        max-height: none;
    }

    .header-col--desc {
        order: 2;
        justify-content: center;
        text-align: center;
    }

    .header-col--contacts {
        order: 3;
        justify-content: flex-end;
    }

    .header-contacts-inner {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .header-col--contacts .wrap-btn-mobile {
        display: block;
        position: absolute;
        top: 0.5rem;
        right: 0;
    }
}

@media (max-width: 767px) {
    .header-col--desc .header-place__inner strong {
        font-size: 1.8rem;
    }

    .header-col--desc .header-place__inner small {
        font-size: 1.3rem;
    }
}

.booking-contact-box .booking-contact-text {
    font-size: 1.5rem;
    color: #52433B;
    margin: 0 0 16px;
    line-height: 1.5;
}

.booking-contact-box .booking-contact-phones {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.6;
}

.booking-contact-box .booking-contact-more {
    margin: 0;
}

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

.cottage-slideshow {
    margin-bottom: 2rem;
}

.cottage-slideshow .house-images {
    margin-bottom: 1rem;
}

.cottage-slideshow .slider-nav {
    margin: 0 -5px;
}

.cottage-slideshow .slider-nav .slick-slide {
    cursor: pointer;
}

.cottage-slideshow .slider-nav .slick-current .slider-nav__block img {
    outline: 2px solid #7db921;
    outline-offset: 2px;
}

.entry-content { font-size: 1.6rem; line-height: 1.7; color: #52433B; }
.entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; }

.entry-content .season-block {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 0 0 2.5rem;
}

.entry-content .season-photo {
    flex: 0 0 25%;
    max-width: 25%;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(82, 67, 59, 0.15);
}

.entry-content .season-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-content .season-text {
    flex: 1;
    min-width: 0;
}

.entry-content .season-text p {
    margin: 0;
}

@media (max-width: 768px) {
    .entry-content .season-block {
        flex-direction: column;
        gap: 1rem;
    }

    .entry-content .season-photo {
        flex: none;
        max-width: 50%;
    }
}

.title-wrap .title > span:first-child:empty { display: none; }
.title-wrap .title > span:last-child:not(:empty) { display: inline; position: static; width: auto; height: auto; background: none; padding: 0; transform: none; }
.title-wrap .title > span:last-child:not(:empty)::before,
.title-wrap .title > span:last-child:not(:empty)::after { display: none; }
