/* The local preview adds the logo font of the supplied PDF (preview-font.php) to this face: includes/template.php. */
@font-face {
  font-family: Etar Cambria;
  src: local('Cambria Bold'), local('Cambria-Bold');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Etar Sans;
  src: url('fonts/manrope-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --button-gold: #cba45e;
  --button-gold-hover: #dcba7b;
  --button-ink: #000;
  --serif: 'Etar Cambria', Cambria, Georgia, serif;
  --room-panel-height: clamp(440px, 34vw, 560px);
  --header-shade-alpha: .70;
  --sticky-offset: 102px;
}

.hero { width: 100%; min-width: 0; }
h1, h2, h3, .footer-columns h2 { font-family: var(--serif); font-weight: 700; }
.hero h1 { font-size: clamp(56px, 4.8vw, 96px); }
/* Keep both navigation rows readable even over the brightest hero photograph. */
.header-shade { position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: clamp(360px, 30vw, 500px); pointer-events: none; background: linear-gradient(180deg, rgb(0 0 0 / var(--header-shade-alpha)) 0%, rgb(0 0 0 / var(--header-shade-alpha)) 42%, rgb(0 0 0 / 40%) 74%, transparent 100%); }
.site-header { isolation: auto; background: none; color: var(--ivory); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.site-header::before { content: none; }
.hero::after { inset: 0; background: linear-gradient(180deg, transparent 0 32%, rgb(0 0 0 / 35%) 65%, rgb(0 0 0 / 58%) 100%); }

/* The revised control family remains recognisable at every viewport. */
.button,
.header-book,
.hero-button,
.feature .button,
.footer-buttons .button {
  min-height: 56px;
  padding: 16px 28px;
  background: var(--button-gold);
  border-color: var(--button-gold);
  color: var(--button-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}
.button:hover,
.button-outline-light:hover,
.footer-columns a.button:hover {
  background: var(--button-gold-hover);
  border-color: var(--button-gold-hover);
  color: var(--button-ink);
}
.header-book { min-width: 170px; }
.hero-button { min-width: 235px; }
.button .icon { stroke-width: 1.5; }
.arrow-button {
  width: 52px;
  height: 52px;
  padding: 10px;
  background: var(--button-gold);
  color: var(--button-ink);
  border-radius: 3px;
}
.arrow-button .icon { width: 32px; stroke-width: 1.5; }
.arrow-button:hover { background: var(--button-gold-hover); color: #000; }
.gallery-controls { gap: 12px; margin-top: 28px; }
.city-arrows { gap: 10px; }
.concierge-icon { width: 60px; height: 60px; background: var(--button-gold); color: #000; }
.concierge:hover .concierge-icon { background: var(--button-gold-hover); }
.concierge { font-weight: 700; }
.dialog-close { background: var(--button-gold); color: #000; border-radius: 3px; width: 48px; height: 48px; }
.lightbox .arrow-button { color: #000; }
.lightbox { background: rgb(0 0 0 / 86%); }
.lightbox::backdrop { background: transparent; }
.footer-buttons { gap: 14px; }

/* The list and photograph share a fixed desktop height across every room. */
.rooms { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.5fr); grid-template-areas: 'heading heading' 'selection presentation'; gap: 34px 42px; align-items: start; padding-top: 32px; padding-bottom: 70px; }
.rooms-heading { grid-area: heading; }
.rooms-heading h2 { font-size: clamp(32px, 2.8vw, 48px); line-height: 1.1; }
.rooms-selection { display: block; grid-area: selection; padding: 0; min-width: 0; height: var(--room-panel-height); }
.room-list { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; height: 100%; }
.room-option, .room-option:first-child { gap: 14px; padding: 14px 18px; min-height: 0; align-items: center; background: var(--canvas); border: 1px solid transparent; border-radius: 4px; }
.room-option-copy { min-width: 0; }
.room-name { font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.room-description { max-width: 32ch; font-size: 13px; line-height: 1.5; margin-top: 7px; }
.room-option.is-selected { border-color: var(--button-gold); }
.room-option.is-selected .room-name, .room-option:hover .room-name { color: #000; }
.room-option > .icon { width: 30px; color: #956c24; stroke-width: 1.5; }
.room-choice { position: relative; min-width: 0; min-height: 0; }
.room-choice .room-option { width: 100%; height: 100%; padding-right: 55px; text-align: left; }
.room-detail-link { display: flex; align-items: center; justify-content: center; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 44px; color: #956c24; opacity: .55; transition: opacity .2s; }
.room-detail-link .icon { width: 29px; }
.room-option.is-selected + .room-detail-link, .room-detail-link:hover, .room-detail-link:focus-visible { opacity: 1; }
.feature-image-link { display: block; overflow: hidden; border-radius: 4px; }
.feature-image-link img { width: 100%; aspect-ratio: 1.8; object-fit: cover; transition: transform .6s var(--ease); }
.feature-image-link:hover img { transform: scale(1.035); }
.room-presentation { grid-area: presentation; min-width: 0; height: var(--room-panel-height); }
.room-portrait { grid-area: auto; order: initial; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; touch-action: pan-y; }
.room-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 60%; }
.room-portrait::after { inset: 68% 0 0; background: linear-gradient(transparent, #231d15b3); }
.room-portrait figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 18px; pointer-events: none; }
.room-dots { display: flex; align-items: center; justify-content: flex-start; gap: 0; pointer-events: auto; }
.room-dot { display: grid; place-items: center; flex: 0 0 auto; width: auto; height: 44px; padding: 0 4px; background: none; border: 0; }
.room-dot::before { content: ''; width: 8px; height: 8px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 65%); transition: width .22s var(--ease), background .22s; }
.room-dot[aria-pressed='true']::before { width: 24px; background: var(--button-gold); }
.room-portrait .room-enquiry { pointer-events: auto; margin: 0; min-height: 52px; max-width: calc(100% - 110px); padding: 15px 22px; font-size: 14px; }
.room-portrait :focus-visible { outline-color: #fff; }

/* The introduction (story module): one centred reading column, heading at the size of the other section
   headings (.rooms-heading h2), the paragraphs, then the buttons (owner, 25 Sep 2026). */
.hotel-story { padding-top: 64px; padding-bottom: 76px; border: 0; }
.hotel-story-body { max-width: 760px; margin-inline: auto; }
.hotel-story h2 { font-size: clamp(32px, 2.8vw, 48px); line-height: 1.1; letter-spacing: -.025em; max-width: none; text-wrap: pretty; }
.hotel-story-copy { margin-top: 24px; }
.hotel-story-copy p { font-size: 16px; line-height: 1.8; }
.hotel-story-copy p + p { margin-top: 16px; }
/* The text is written in one editor (2 Oct 2026): bold, italic and links inside the paragraphs. */
.hotel-story-copy a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.hotel-story-copy strong { font-weight: 700; }
.hotel-story-copy em { font-style: italic; }
.hotel-story-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* On a created page (e.g. „За хотела“) the column starts at the page title's left edge, just under its intro. */
.template-page .hotel-story-body { margin-inline: 0; }
.template-page .module-custom-intro + .hotel-story { padding-top: 12px; }

/* Whole centre slides and cropped neighbours advertise both sliders. */
.gallery { padding-inline: 0; overflow: clip; }
.gallery-window { width: 100%; margin-left: 0; container-type: inline-size; }
.gallery-track { padding-inline: 50%; gap: 2cqw; min-height: 42cqw; }
.gallery-card { width: 25cqw; max-width: none; height: 32cqw; max-height: none; }
.gallery-card.is-active { width: 34cqw; max-width: none; height: 40cqw; max-height: none; }
.feature-grid { margin-top: 0; gap: 26px; }
.feature { min-width: 0; }
.feature h2 { font-size: clamp(24px, 2vw, 36px); }
.feature p { margin-bottom: 26px; }
.feature .button { margin-top: auto; }
.city-gallery { padding: 20px 0 64px; overflow: clip; }
.city-gallery > .section-heading { padding-inline: var(--inset); }
.city-gallery h2 { font-size: clamp(28px, 2.6vw, 42px); margin: 0; }
.city-gallery-arrows { display: flex; gap: 10px; flex: none; }
.photo-strip { width: 100%; margin-left: 0; gap: 16px; padding: 0; container-type: inline-size; scroll-snap-type: none; }
.photo-strip > button { width: 22cqw; max-width: none; aspect-ratio: 9 / 16; }
.photo-strip > button:first-child, .photo-strip > button:last-child { margin-inline: 0; }

@media (min-width: 1800px) {
  .button, .header-book, .hero-button, .feature .button, .footer-buttons .button { min-height: 64px; font-size: 18px; padding: 18px 34px; }
  .header-book { min-width: 220px; }
  .room-name { font-size: 26px; }
  .room-description { font-size: 16px; }
  .room-portrait .room-enquiry { min-height: 60px; font-size: 16px; }
  .hotel-story-copy p { font-size: 19px; }
  .hotel-story-body { max-width: 860px; }
}
@media (max-width: 1250px) {
  .header-phone { display: none; }
  .header-contact { justify-content: flex-end; }
  .rooms { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.4fr); gap: 30px; }
  .room-name { font-size: 20px; }
  .room-description { font-size: 12px; }
  /* Below 1251px a centred 760px column would sit only 0–110px in from the other headings and read as an
     accidental indent, so it starts at their left edge; above, it is clearly centred (100px+ either side). */
  .hotel-story-body { margin-inline: 0; }
}
@media (max-width: 800px) {
  .rooms { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'heading' 'selection' 'presentation'; gap: 24px; padding-top: 24px; padding-bottom: 48px; }
  .rooms-heading h2 { font-size: 34px; }
  .rooms-selection { height: auto; }
  .room-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, auto); gap: 12px; height: auto; }
  .room-option, .room-option:first-child { min-height: 80px; padding: 13px 16px; }
  .room-name { font-size: 20px; }
  .room-description { font-size: 12px; }
  .room-option > .icon { width: 24px; }
  .room-presentation { height: clamp(300px, 72vw, 460px); }
  .hotel-story { padding-block: 44px 56px; }
  .hotel-story h2 { font-size: 34px; }
  .hotel-story-copy { margin-top: 20px; }
  .hotel-story-copy p { font-size: 15px; }
  .hotel-story-actions { margin-top: 28px; }
}
@media (max-width: 600px) {
  .room-choice .room-option { padding-right: 42px; }
  .room-detail-link { width: 32px; right: 4px; }
  .room-detail-link .icon { width: 24px; }
  .feature-image-link img { aspect-ratio: 1.5; }
  .button, .hero-button, .feature .button, .footer-buttons .button { min-height: 54px; padding: 15px 23px; font-size: 14px; }
  .header-book { min-width: 0; min-height: 48px; font-size: 12px; padding: 12px 10px; }
  .header-contact { padding-right: 14px; }
  .hero h1 { font-size: 52px; }
  .hero-button { min-width: 216px; }
  .concierge-icon { width: 44px; height: 44px; }
  .concierge { font-size: 11px; }
  .city-arrows, .city-gallery-arrows { gap: 8px; margin-right: 0; }
  .city-arrows .arrow-button, .city-gallery-arrows .arrow-button { width: 44px; height: 46px; padding: 8px; }
  .city-arrows .icon, .city-gallery-arrows .icon { width: 28px; }
  .section-heading h2 { font-size: 28px; }
  .room-description { display: none; }
  .room-option, .room-option:first-child { min-height: 62px; }
  .room-list { gap: 10px; }
  .room-portrait figcaption { padding: 12px; gap: 8px; }
  .room-portrait .room-enquiry { min-height: 48px; max-width: calc(100% - 80px); font-size: 12px; padding: 12px 14px; }
  .hotel-story-copy p { font-size: 14px; }
  /* The buttons share the width: side by side when both labels fit, otherwise one full-width button per line.
     One height for both, whether or not the button has an icon (the pin makes „Как да ни намерите“ 56px). */
  .hotel-story-actions .button { flex: 1 1 auto; min-height: 56px; }
  .gallery-track { min-height: 114cqw; gap: 4cqw; }
  .gallery-card { width: 66cqw; height: 92cqw; }
  .gallery-card.is-active { width: 76cqw; height: 108cqw; }
  .feature-grid { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 20px; scrollbar-width: none; }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 100%; scroll-snap-align: start; }
  .feature h2 { font-size: 27px; }
  .city-gallery { padding-top: 10px; padding-bottom: 44px; }
  .city-gallery h2 { font-size: 28px; }
  .photo-strip { gap: 12px; }
  .photo-strip > button { width: 64cqw; aspect-ratio: 9 / 16; }
  .footer-buttons .button { flex-grow: 1; }
  .lightbox .arrow-button { width: 36px; height: 48px; padding: 4px; }
  .booking-heading h2 { font-size: 30px; }
}
@media (max-width: 360px) {
  .header-top { grid-template-columns: 1fr 80px 1fr; }
  .header-brand { padding: 0; }
  .header-brand img { width: 78px; }
  .header-book { font-size: 11px; padding-inline: 8px; }
  .header-contact { padding-right: 10px; }
  .hero h1 { font-size: 45px; }
}

/* Scroll chrome, language controls and the edge-to-edge draggable galleries. */
html { scroll-padding-top: var(--sticky-offset); }
.header-placeholder[hidden] { display: none; }
.header-location { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.header-contact { justify-content: flex-end; gap: 20px; }
.language-flag { display: block; flex: none; width: 24px; height: 16px; object-fit: contain; border-radius: 1px; }
.language-picker summary { gap: 7px; min-height: 44px; }
.language-options { right: 0; left: auto; top: calc(100% + 5px); min-width: 158px; }
.language-options a { display: flex; align-items: center; gap: 10px; }
.site-header :focus-visible { outline-color: var(--ivory); }
.site-header .language-options a:focus-visible { outline-color: var(--ink); }
.site-header.is-sticky {
  position: fixed; inset: 0 0 auto; width: 100%; z-index: 60;
  display: grid; grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center; gap: 28px; min-height: 86px;
  padding: 10px max(24px, calc((100vw - 1660px) / 2));
  isolation: isolate; color: var(--ivory); background: var(--footer);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header.is-sticky::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('images/hero-bedroom.jpg') 50% 15% / cover; opacity: .55; pointer-events: none; }
.site-header.is-sticky::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(24 18 13 / 25%); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); pointer-events: none; }
.site-header.is-sticky .header-top { display: contents; }
.site-header.is-sticky .header-location { display: none; }
.site-header.is-sticky .header-brand { grid-area: 1 / 1; border: 0; padding: 0; justify-content: flex-start; }
.site-header.is-sticky .header-brand img { width: 88px; height: 56px; }
.site-header.is-sticky .main-nav { grid-area: 1 / 2; gap: 22px; justify-content: flex-start; border: 0; padding: 0; min-height: 0; font-size: 14px; }
.site-header.is-sticky .main-nav a { padding: 15px 0; white-space: nowrap; }
.site-header.is-sticky .header-contact { grid-area: 1 / 3; padding: 0; gap: 18px; }
.site-header.is-sticky .header-book { min-width: 158px; min-height: 50px; padding: 13px 20px; font-size: 14px; }
.site-header.is-sticky .language-picker { font-size: 13px; }
.site-footer { border: 0; }
.footer-bottom { border: 0; }
.footer-brand { display: block; width: fit-content; margin-inline: auto; }
.footer-brand img { width: 132px; }
.footer-buttons .button { border: 0; }
.room-portrait .room-enquiry { margin-right: 10px; margin-bottom: 10px; }
.gallery-window, .photo-strip { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.gallery-card, .photo-strip > button { cursor: inherit; }
.gallery-window img, .photo-strip img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.gallery-window.is-dragging, .photo-strip.is-dragging { cursor: grabbing; }
.photo-zoom { display: none; }
.lightbox > figure { max-width: calc(100vw - 56px); touch-action: pan-y; cursor: grab; user-select: none; }
.lightbox figure img { -webkit-user-drag: none; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; padding: 0; border-radius: 50%; color: #000; background: var(--button-gold); }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--button-gold-hover); }
.back-to-top .icon { width: 24px; transform: rotate(-90deg); stroke-width: 1.5; }
@media (max-width: 1100px) {
  .site-header.is-sticky { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; padding-inline: 20px; }
  .site-header.is-sticky .main-nav { gap: 15px; font-size: 12px; }
  .site-header.is-sticky .header-brand img { width: 76px; height: 49px; }
  .site-header.is-sticky .header-contact { gap: 12px; }
  .site-header.is-sticky .header-book { min-width: 136px; font-size: 12px; padding-inline: 14px; }
  .room-option, .room-option:first-child { padding-inline: 15px; }
}
@media (max-width: 900px) {
  :root { --sticky-offset: 130px; }
  .site-header.is-sticky { grid-template-columns: 76px minmax(0, 1fr); gap: 0 18px; padding-block: 9px 4px; }
  .site-header.is-sticky .header-brand { grid-area: 1 / 1; }
  .site-header.is-sticky .header-contact { grid-area: 1 / 2; justify-content: flex-end; }
  .site-header.is-sticky .main-nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; font-size: 13px; gap: 14px; }
  .site-header.is-sticky .main-nav a { padding-block: 11px; }
}
@media (max-width: 600px) {
  .header-top { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 12px 20px; min-height: 94px; }
  .header-location { display: none; }
  .header-brand { grid-area: 1 / 1; padding: 0; justify-content: flex-start; }
  .header-brand img { width: 80px; height: 60px; }
  .header-contact { grid-area: 1 / 2; padding: 0; gap: 10px; }
  .language-picker summary { font-size: 11px; gap: 5px; }
  .language-flag { width: 22px; height: 15px; }
  .site-header.is-sticky { padding-inline: 16px; }
  .site-header.is-sticky .main-nav { font-size: 11px; gap: 8px; }
  .site-header.is-sticky .header-contact { gap: 12px; }
  .site-header.is-sticky .header-book { min-width: 0; padding-inline: 14px; font-size: 12px; min-height: 44px; }
  .site-header.is-sticky .header-brand img { height: 46px; width: 74px; }
  .footer-brand img { width: 116px; }
  .back-to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
@media (max-width: 360px) {
  .header-top { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding-inline: 14px; }
  .header-book { font-size: 11px; padding-inline: 8px; }
  .language-picker summary { gap: 4px; }
  .language-flag { width: 20px; }
  .site-header.is-sticky .main-nav { font-size: 10px; gap: 6px; }
}

/* Compact wordmark header and the centered guest-quote section. */
:root { --sticky-offset: 84px; }
.header-brand .brand-wordmark { display: none; }
.main-nav a { font-weight: 700; color: #fffaf2; text-shadow: 0 1px 5px rgb(0 0 0 / 60%); }
.site-header.is-sticky { grid-template-columns: 148px minmax(0, 1fr) auto; min-height: 64px; padding-block: 6px; gap: 24px; }
.site-header.is-sticky .header-brand .brand-full { display: none; }
.site-header.is-sticky .header-brand .brand-wordmark { display: block; width: 144px; height: 30px; }
.site-header.is-sticky .main-nav a { padding-block: 10px; }
.site-header.is-sticky .header-book { min-height: 44px; padding: 10px 18px; }
.site-header.is-sticky .language-picker summary { min-height: 40px; }
.testimonials { padding-top: 50px; padding-bottom: 38px; text-align: center; }
.testimonials h2 { font-size: clamp(28px, 2.7vw, 42px); }
.testimonials-notice { margin: 14px auto 0; max-width: 64ch; font-size: 12px; line-height: 1.6; }
.testimonial-viewport { width: 100%; max-width: 1060px; margin: 28px auto 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.testimonial-viewport::-webkit-scrollbar { display: none; }
.testimonial-viewport.is-dragging { cursor: grabbing; }
.testimonial-track { display: flex; width: 100%; gap: 0; align-items: stretch; }
.testimonial-slide { flex: 0 0 100%; min-width: 0; margin: 0; padding: 12px clamp(24px, 6vw, 90px) 8px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 32px; }
.testimonial-slide blockquote { margin: 0; }
.testimonial-slide blockquote p { font-family: var(--serif); font-size: clamp(27px, 2.7vw, 42px); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.testimonial-slide figcaption { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.testimonial-avatar { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: var(--canvas); color: #8c7a63; overflow: hidden; }
.testimonial-avatar .icon { width: 29px; height: 29px; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
/* A fixed cell, so a portrait guest photo is cropped into the circle (at its focus point) instead of growing the row. */
.testimonial-avatar { grid-template: 100% / 100%; }
.testimonial-avatar img { min-width: 0; min-height: 0; }
.testimonial-name { font-size: 15px; font-weight: 700; line-height: 1.4; }
.testimonial-origin { font-size: 12px; color: var(--muted); line-height: 1.5; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 16px; }
.testimonial-dot { display: grid; place-items: center; flex: 0 0 auto; width: auto; height: 44px; padding: 0 4px; background: none; border: 0; }
.testimonial-dot::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: #9c9386; transition: width .22s var(--ease), background .22s; }
.testimonial-dot[aria-pressed='true']::before { width: 24px; background: #9b783d; }

/* Shared feedback timing; content stays visible when scripts or motion are disabled. */
.button, .back-to-top { transition: background .2s, color .2s, border-color .2s, transform .22s var(--ease); }
.room-option { transition: background .22s, border-color .22s, transform .3s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover, .back-to-top:hover { transform: translateY(-2px); }
  .button:active, .back-to-top:active { transform: translateY(0); }
  .room-option:hover { transform: translateX(3px); }
}
.gallery-window.is-dragging img, .photo-strip.is-dragging img { transform: none; }
@media (max-width: 1100px) {
  .site-header.is-sticky { grid-template-columns: 124px minmax(0, 1fr) auto; gap: 18px; min-height: 60px; }
  .site-header.is-sticky .header-brand .brand-wordmark { width: 122px; height: 26px; }
}
@media (max-width: 900px) {
  :root { --sticky-offset: 100px; }
  .site-header.is-sticky { grid-template-columns: 124px minmax(0, 1fr); min-height: 0; padding-top: 4px; padding-bottom: 4px; gap: 0 18px; }
  .site-header.is-sticky .main-nav a { padding-block: 6px; }
  .site-header.is-sticky .header-book { min-height: 40px; padding-block: 8px; }
}
@media (max-width: 600px) {
  .site-header.is-sticky { grid-template-columns: 110px minmax(0, 1fr); }
  .site-header.is-sticky .header-brand .brand-wordmark { width: 108px; height: 23px; }
  .site-header.is-sticky .header-contact { gap: 10px; }
  .site-header.is-sticky .header-book { min-height: 40px; font-size: 11px; padding: 8px 12px; }
  .testimonials { padding-top: 34px; padding-bottom: 24px; }
  .testimonials h2 { font-size: 29px; }
  .testimonials-notice { font-size: 11px; max-width: 34ch; }
  .testimonial-viewport { margin-top: 22px; }
  .testimonial-slide { padding: 8px 8px; gap: 26px; }
  .testimonial-slide blockquote p { font-size: 27px; line-height: 1.35; }
  .testimonial-name { font-size: 14px; }
}
@media (max-width: 360px) {
  .site-header.is-sticky { grid-template-columns: 98px minmax(0, 1fr); column-gap: 10px; }
  .site-header.is-sticky .header-brand .brand-wordmark { width: 98px; height: 21px; }
  .site-header.is-sticky .header-contact { gap: 8px; }
  .site-header.is-sticky .header-book { font-size: 10px; padding-inline: 9px; }
  .testimonial-slide blockquote p { font-size: 25px; }
}

/* Larger editorial moments. */
.testimonials h2 { font-size: clamp(20px, 2vw, 28px); }
.testimonial-viewport { max-width: 1160px; margin-top: 30px; }
.testimonial-slide { padding-inline: clamp(20px, 4vw, 60px); gap: 38px; }
.testimonial-slide blockquote p { font-size: clamp(48px, 5vw, 80px); line-height: 1.18; letter-spacing: -.025em; }
.site-header.is-sticky { grid-template-columns: 138px minmax(0, 1fr) auto; min-height: 58px; }
.site-header.is-sticky .header-brand .brand-wordmark { width: 134px; height: 28px; }
.site-header.is-sticky .header-book { min-width: 148px; min-height: 36px; padding: 8px 14px; font-size: 13px; }
.site-header.is-sticky .language-picker summary { min-height: 36px; }

@media (max-width: 1100px) {
  .site-header.is-sticky { grid-template-columns: 114px minmax(0, 1fr) auto; min-height: 56px; }
  .site-header.is-sticky .header-brand .brand-wordmark { width: 112px; height: 24px; }
  .site-header.is-sticky .header-book { min-width: 126px; font-size: 12px; }
}
@media (max-width: 900px) {
  .site-header.is-sticky { grid-template-columns: 114px minmax(0, 1fr); min-height: 0; }
}
@media (max-width: 800px) {
}
@media (max-width: 600px) {
  .testimonials h2 { font-size: 20px; }
  .testimonial-slide { padding-inline: 4px; gap: 30px; }
  .testimonial-slide blockquote p { font-size: 40px; line-height: 1.2; }
  .site-header.is-sticky { grid-template-columns: 100px minmax(0, 1fr); }
  .site-header.is-sticky .header-brand .brand-wordmark { width: 98px; height: 21px; }
  .site-header.is-sticky .header-book { min-width: 0; min-height: 36px; font-size: 11px; padding: 7px 10px; }
}
@media (max-width: 360px) {
  .testimonials h2 { font-size: 18px; }
  .testimonial-slide blockquote p { font-size: 36px; }
  .site-header.is-sticky { grid-template-columns: 90px minmax(0, 1fr); }
  .site-header.is-sticky .header-brand .brand-wordmark { width: 88px; height: 19px; }
  .site-header.is-sticky .header-book { font-size: 10px; padding-inline: 7px; }
}

/* 13 Oct 2026 (owner): custom pages (About, terms, privacy, cookies) read in one centred column, and every inner page
   shows its breadcrumbs above the title (etar_breadcrumb_nav in includes/template.php). */
.template-page .module-custom-intro > *, .template-page .hotel-story-body, .template-page .richtext-body { width: 100%; max-width: 760px; margin-inline: auto; }
.page-breadcrumb { grid-column: 1 / -1; }
.page-breadcrumb:not(.room-breadcrumb) { margin-bottom: 22px; color: var(--muted); }
.page-breadcrumb .breadcrumb-sep { display: inline-grid; place-items: center; }
.page-breadcrumb .breadcrumb-sep .icon { width: 12px; height: 12px; transform: rotate(-90deg); stroke-width: 1.8; }

/* 13 Oct 2026 (owner): guest quotes smaller and not bold, on every width (this one rule outranks the older size rules
   above, in components.css and in mobile.css); no photo placeholder when a quote has no photo. */
body .testimonials .testimonial-slide blockquote p { font-weight: 400; font-size: max(22px, min(2.8vw, 40px, calc(185cqi / min(var(--quote-ch, 34), 40)))); line-height: 1.35; letter-spacing: -.01em; }
body .testimonials .testimonial-avatar:not(:has(img)) { display: none; }
body .testimonials .testimonial-slide figcaption:not(:has(img)) { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }

/* 13 Oct 2026 (owner): on phones the whole booking band (dates, guests, „Вижте свободните стаи“, 209 px) is visible
   before scrolling – the homepage hero is one screen tall minus the band – and the photo's dark layers are 20 points
   lighter (the top looked black). */
@media (max-width: 600px) {
  .hero:has(.hero-content) { min-height: 0; max-height: none; height: max(380px, calc(100vh - 212px)); height: max(380px, calc(100svh - 212px)); }
  :root { --header-shade-alpha: .50; }
  .header-shade { background: linear-gradient(180deg, rgb(0 0 0 / var(--header-shade-alpha)) 0%, rgb(0 0 0 / var(--header-shade-alpha)) 42%, rgb(0 0 0 / 20%) 74%, transparent 100%); }
  .hero::after { background: linear-gradient(180deg, #2118117a, #21181152 20%, #21181133 44%, #21181180), linear-gradient(90deg, #21181173, #21181100); }
}

/* 13 Oct 2026 (owner): no zoom on photo tiles anywhere – on phones a tap left the photo zoomed and got in the way of
   swiping, and on a screen with a mouse it added nothing. */
body .gallery-tile-photo:hover img, body .gallery-card:hover img, body .city-image-link:hover img, body .photo-strip button:hover img,
body .module-gallery-photo:hover img, body .feature-image-link:hover img, body .inner-page [data-lightbox]:hover img, body [data-lightbox]:hover img,
body .rooms-result:hover .rooms-result-photo img, body .room-photo-grid-items button:hover img, body .story-index-photo:hover img,
body .article-related-story:hover img, body .article-lead-photo > button:hover img, body .article-body-image > button:hover img { transform: none; }
/* The painted city scenes (vt-sepia-*) have a drawn frame at the top and the bottom: their previews are cropped a little
   so the frame does not show; the full view in the photo viewer keeps the whole painting. */
img[src*="/vt-sepia-"] { scale: 1.1; }
.lightbox .viewer-slide img { scale: none; }
/* The photo viewer: no focus frame around the photo after a touch (keyboard focus still shows), and the page behind
   never scrolls while it is open (iPhone Safari needs the lock on <html> as well). */
.lightbox .viewer-stage:focus:not(:focus-visible) { outline: none; }
html:has(body.has-dialog) { overflow: hidden; }
body.has-dialog { overscroll-behavior: none; }
.lightbox { overscroll-behavior: contain; }

/* 13 Oct 2026: the painting strip scrolls natively under a finger (assets/city-gallery.js), sideways and up and down. */
.photo-strip { touch-action: pan-x pan-y; }

/* 13 Oct 2026 (owner): no focus frames after a touch or a click (assets/photo-viewer.js sets <html data-input>); keyboard
   users keep them. */
html[data-input="pointer"] :focus-visible, html[data-input="pointer"] :is(.booking-room, .booking-room-any):has(input:focus-visible) { outline: none !important; }
