/* WordPress templates and site-specific plugin skin. */

.admin-bar .site-header { top: 32px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    color: var(--ink);
    background: var(--paper);
}

.content-hero {
    position: relative;
    display: grid;
    min-height: 590px;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.content-hero__image,
.content-hero__shade {
    position: absolute;
    inset: 0;
}

.content-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-hero__shade {
    background: linear-gradient(90deg, rgba(27, 12, 20, .92) 0%, rgba(27, 12, 20, .68) 48%, rgba(27, 12, 20, .18) 100%);
}

.content-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 170px 75px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 38px;
    color: inherit;
    font-size: 9px;
    letter-spacing: .09em;
    opacity: .72;
    text-transform: uppercase;
}

.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { opacity: .72; }

.content-hero h1,
.article-hero h1,
.journal-hero h1 {
    max-width: 930px;
    margin: 18px 0 22px;
    color: var(--white);
    font-size: clamp(59px, 8.4vw, 118px);
    line-height: .88;
    letter-spacing: -.055em;
}

.content-hero__lead,
.article-hero__inner > p:last-child,
.journal-hero .shell > p:last-child {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.75;
}

.content-layout,
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 780px) minmax(250px, 340px);
    gap: clamp(55px, 8vw, 130px);
    align-items: start;
    padding-block: clamp(80px, 10vw, 145px);
}

.content-page--bronirovanie .content-layout,
.content-page--politika-konfidencialnosti .content-layout,
.content-page--soglasie-na-obrabotku-personalnyh-dannyh .content-layout,
.content-page--pravila-prozhivaniya .content-layout,
.content-page--rekvizity .content-layout {
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
}

.entry-content {
    min-width: 0;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.8;
}

.entry-content > *:first-child { margin-top: 0; }

.entry-content h2,
.entry-content h3 {
    margin: 1.55em 0 .55em;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.035em;
}

.entry-content h2 { font-size: clamp(39px, 5vw, 62px); line-height: .98; }
.entry-content h3 { font-size: clamp(28px, 3vw, 39px); line-height: 1.05; }
.entry-content p { margin: 0 0 1.35em; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.7em; padding-left: 1.25em; }
.entry-content li { margin: .42em 0; }
.entry-content a:not(.button) { color: var(--berry); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry-content figure { margin: 2.6em 0; }
.entry-content figure img { width: 100%; height: auto; }
.entry-content figcaption { margin-top: 9px; color: var(--muted); font-size: 10px; }

.content-aside,
.article-aside {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.content-aside > strong,
.article-aside > strong {
    margin: 5px 0;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}

.content-aside > span,
.article-aside > span { margin-bottom: 28px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.content-aside > small { margin-top: 12px; color: var(--muted); font-size: 9px; text-align: center; }

.content-price-table {
    margin: 28px 0 38px;
    border-top: 1px solid var(--line);
}

.content-price-table p {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 25px;
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.content-price-table strong { font-size: 19px; white-space: nowrap; }

.journal-hero,
.article-hero {
    padding: 180px 0 90px;
    color: var(--white);
    background: radial-gradient(circle at 78% 10%, rgba(164, 58, 98, .34), transparent 36%), var(--ink);
}

.journal-hero h1 em { color: var(--rose); font-weight: 400; }
.journal-description { max-width: 670px; color: rgba(255, 255, 255, .72); line-height: 1.7; }

.journal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 24px;
    padding-block: 95px 55px;
}

.journal-card { min-width: 0; }
.journal-card__image { display: block; height: 390px; margin-bottom: 28px; overflow: hidden; }
.journal-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.journal-card:hover .journal-card__image img { transform: scale(1.025); }
.journal-card__body > p { display: flex; gap: 12px; margin: 0 0 15px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.journal-card__body > p a { color: var(--berry); }
.journal-card h2 { margin: 0 0 14px; font-size: clamp(35px, 4vw, 51px); line-height: .98; }
.journal-card h2 a { color: inherit; }
.journal-card__body > div { margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.journal-empty { grid-column: 1 / -1; padding: 70px; border: 1px solid var(--line); text-align: center; }
.journal-empty h2 { margin-bottom: 16px; }
.pagination { padding-bottom: 90px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination a,
.pagination span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); }
.pagination .current { color: var(--white); background: var(--ink); }

.article-hero__inner { max-width: 1080px; }
.article-hero h1 { max-width: 1040px; }
.article-cover { height: min(66vw, 720px); margin-top: 65px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-content { max-width: 780px; }
.kb-article-related { margin-top: 55px; padding: 28px; border: 1px solid var(--line); }
.kb-article-related strong { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 29px; }
.kb-article-related ul { margin: 0; }
.kubanya-article-cta { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin: 45px 0; padding: 30px; color: var(--white); background: var(--ink); }
.kubanya-article-cta span { color: var(--rose); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.kubanya-article-cta strong { display: block; margin: 7px 0; font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1; }
.kubanya-article-cta p { margin: 0; color: rgba(255, 255, 255, .65); font-size: 11px; }

.not-found { min-height: 100vh; padding: 190px 0 100px; color: var(--white); background: radial-gradient(circle at 70% 20%, rgba(164, 58, 98, .35), transparent 35%), var(--ink); }
.not-found h1 { margin: 20px 0 30px; font-size: clamp(68px, 12vw, 150px); line-height: .82; }
.not-found h1 em { color: var(--rose); font-weight: 400; }
.not-found h1 { color: var(--white); }
.not-found p:not(.kicker) { max-width: 500px; color: rgba(255, 255, 255, .7); }
.not-found .shell > div { display: flex; gap: 12px; margin-top: 35px; }

/* Real reviews inside the dark editorial section. */
.reviews-preview__feed { min-width: 0; }
.reviews-preview__feed .mkpr { width: 100%; color: #fffaf4; --mkpr-ink: #fffaf4; --mkpr-muted: rgba(255, 250, 244, .82); --mkpr-paper: rgba(255, 255, 255, .07); --mkpr-card: rgba(36, 19, 29, .22); --mkpr-line: rgba(255, 250, 244, .25); --mkpr-accent: #ffd1dd; }
.reviews-preview__feed .mkpr__header { display: none; }
.reviews-preview__feed .mkpr__track { grid-auto-columns: min(88%, 430px); gap: 14px; }
.reviews-preview__feed .mkpr-card { min-height: 350px; box-shadow: none; }
.reviews-preview__feed .mkpr-card__text { color: rgba(255, 250, 244, .96); }
.reviews-preview__feed .mkpr-card__reply { color: rgba(255, 250, 244, .9); background: rgba(255, 255, 255, .07); }
.reviews-preview__feed .mkpr-card__reply span { color: #fffaf4; }
.reviews-preview__feed .mkpr-card__head .mkpr-card__avatar--initials { color: #7f2c49; background: #f3eadf; }
.reviews-preview__feed .mkpr-card__read,
.reviews-preview__feed .mkpr-card footer a,
.reviews-preview__feed .mkpr__controls button { color: #fffaf4; }

/* Reviews plugin page: separate site variant. */
.mkpr-page--prazdnik { --mkpr-ink: #24131d; --mkpr-muted: #74666e; --mkpr-paper: #f4eadf; --mkpr-card: #fbf7f1; --mkpr-line: rgba(36, 19, 29, .15); --mkpr-accent: #a43a62; }
.mkpr-page--prazdnik .mkpr-page__hero { padding-top: 175px; background: radial-gradient(circle at 75% 15%, rgba(164, 58, 98, .35), transparent 36%), #24131d; }
.mkpr-page--prazdnik .mkpr-page__hero h1 { color: #f4eadf; font-family: var(--serif); }
.mkpr-page--prazdnik .mkpr-page__hero p,
.mkpr-page--prazdnik .mkpr-breadcrumbs { color: rgba(244, 234, 223, .7); }
.mkpr-page--prazdnik .mkpr-page__links a:last-child { color: #fff; background: #a43a62; border-color: #a43a62; }
.mkpr-page--prazdnik .mkpr h2,
.mkpr-page--prazdnik h2 { font-family: var(--serif); }

/* Booking plugin: same server logic, site-specific editorial skin. */
.booking-dialog__panel { width: min(100%, 820px); }
.booking-dialog__panel > .kubanya-booking { padding-bottom: 40px; }
.kubanya-booking {
    --kb-forest: var(--ink);
    --kb-forest-dark: #170b12;
    --kb-cream: var(--paper);
    --kb-cream-deep: var(--cream);
    --kb-clay: var(--berry);
    --kb-gold: var(--rose);
    --kb-text: var(--ink);
    --kb-muted: var(--muted);
    --kb-line: var(--line);
    font-family: var(--sans);
}

.kubanya-booking .kb-house-option__body,
.kubanya-booking .kb-calendar-trigger,
.kubanya-booking input,
.kubanya-booking textarea,
.kubanya-booking select,
.kubanya-booking .kb-extra-card__body,
.kubanya-booking .kb-pool-filling > span,
.kubanya-booking .kb-promo { border-radius: 0; }

.kubanya-booking .kb-house-option input:checked + .kb-house-option__body,
.kubanya-booking .kb-contact-method input:checked + span { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.kubanya-booking .kb-submit { border-radius: 0; background: var(--berry); }
.kubanya-booking .kb-fieldset__heading > span { color: var(--berry); border-radius: 50%; }
.kubanya-booking .kb-estimate strong,
.kubanya-booking .kb-promo > span { color: var(--berry); font-family: var(--serif); }
.kubanya-booking .kb-calendar { background: var(--paper); }
.kubanya-booking .kb-calendar-day.is-selected,
.kubanya-booking .kb-calendar-day.is-range { color: var(--white); background: var(--berry); }

.content-page--bronirovanie .booking-dialog { display: none; }
.content-page--bronirovanie .kubanya-booking { padding: clamp(26px, 5vw, 55px); border: 1px solid var(--line); background: var(--paper); }
.booking-unavailable { padding: 30px; border: 1px solid var(--line); }

@media (max-width: 1020px) {
    .content-layout,
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .content-aside,
    .article-aside { position: static; max-width: 500px; }
    .journal-grid { gap-block: 55px; }
}

@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
    .content-hero { min-height: 520px; }
    .content-hero__shade { background: linear-gradient(180deg, rgba(27, 12, 20, .42), rgba(27, 12, 20, .94)); }
    .content-hero__inner { padding-block: 135px 55px; }
    .content-hero h1,
    .article-hero h1,
    .journal-hero h1 {
        font-size: clamp(38px, 10.3vw, 48px);
        overflow-wrap: normal;
    }
    .content-page--politika-konfidencialnosti .content-hero h1,
    .content-page--soglasie-na-obrabotku-personalnyh-dannyh .content-hero h1 {
        font-size: clamp(30px, 8.2vw, 34px);
        overflow-wrap: normal;
    }
    .content-layout,
    .article-layout { gap: 45px; padding-block: 70px; }
    .entry-content { font-size: 15px; }
    .content-price-table p { align-items: flex-start; flex-direction: column; gap: 5px; }
    .content-price-table strong { white-space: normal; }
    .journal-hero,
    .article-hero { padding: 135px 0 65px; }
    .journal-grid { grid-template-columns: 1fr; padding-block: 65px 40px; }
    .journal-card__image { height: 330px; }
    .journal-empty { padding: 45px 22px; }
    .article-cover { width: 100%; height: 66vw; margin-top: 0; }
    .kubanya-article-cta { grid-template-columns: 1fr; }
    .not-found { padding-top: 145px; }
    .not-found .shell > div { align-items: stretch; flex-direction: column; }
    .reviews-preview__feed .mkpr { width: 100%; }
    .reviews-preview__feed .mkpr__track { grid-auto-columns: 92%; }
    .booking-dialog__panel { padding-inline: 20px; }
    .kubanya-booking .kb-house-options,
    .kubanya-booking .kb-promos { grid-template-columns: 1fr; }
    .kubanya-booking .kb-calendar { position: relative; top: 8px; padding: 12px; box-shadow: none; }
    .content-page--bronirovanie .kubanya-booking { padding: 22px 15px; }
}

@media (max-width: 600px) {
    .admin-bar .site-header { top: 0; }
}
