/* Small compatibility layer over the recovered POLO styles. */
:root { color-scheme: light; --header-height: 90px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; }
body.no-page-loader #wrapper { opacity: 1; }
img { max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #915331; outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 16px; background: #fff; padding: 10px 18px; z-index: 10000; }
.skip-link:focus { top: 8px; }
#header { position: sticky; top: 0; z-index: 1000; height: var(--header-height); background: #fff !important; }
#header #header-wrap { position: relative !important; height: var(--header-height); background: #fff !important; }
#header.is-scrolled { box-shadow: 0 1px 12px #0000000d; }
#header #logo img { width: 80px; height: 80px; object-fit: contain; }
#mainMenu-trigger button { background: transparent; border: 0; cursor: pointer; }
#mainMenu-trigger .lines { transition: background .2s; }
#mainMenu-trigger .is-open .lines { background: transparent; }
#mainMenu-trigger .is-open .lines::before { transform: rotate(45deg); top: 0; }
#mainMenu-trigger .is-open .lines::after { transform: rotate(-45deg); top: 0; }
.header-extras .title { cursor: pointer; }
#chatawostry, .sjezdovka { background-size: cover; }
#pokoje { position: relative; background: linear-gradient(#18201bdf, #18201be8), url('../data/exterier/W_zima_01.jpg') center center / cover; }
#pokoje .lead { font-size: 18px; line-height: 1.85; color: #fff; }
#pokoje .price-menu-list h2 { font-size: 34px; margin-bottom: 10px; }
#pokoje .price-menu-list li { margin-bottom: 30px; }
.triangle-divider-top, .triangle-divider-bottom { left: 0; pointer-events: none; }
#fotogalerie .grid-layout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; opacity: 1; margin: 0 !important; }
#fotogalerie .grid-item { position: relative; float: none; width: 100% !important; padding: 0; }
#fotogalerie .grid-item a { display: block; overflow: hidden; background: #f4f4f4; }
#fotogalerie .grid-item img { display: block; width: 100%; aspect-ratio: 1.506 / 1; object-fit: cover; transition: transform .4s; }
#fotogalerie .grid-item a:hover img { transform: scale(1.035); }
#fotogalerie .container .container { width: auto; padding: 0 15px; }
#fotogalerie h1 { margin-bottom: 35px; }
#cena { position: relative; background: linear-gradient(#ffffff55, #ffffff55), url('../data/exterier/2.jpg') center / cover; }
#cena .carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; opacity: 1; visibility: visible; }
#cena .testimonial-item { margin: 0; padding: 46px 35px; background: #ffffffed; }
#cena .testimonial-item p { margin-bottom: 15px; }
#cena .testimonial-item > span { display: block; line-height: 1.8; }
#cena .testimonial-item > span ~ span { margin-bottom: 0; }
#cena .testimonial-item > span br { display: none; }
#blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; opacity: 1; }
#blog .post-item { float: none; width: 100% !important; padding: 0; margin: 0; }
#blog .post-item-wrap { height: 100%; border: 1px solid #eee; }
#blog .post-image { position: relative; }
#blog .post-image img { display: block; width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; }
#blog .post-item-description { padding: 24px; }
#blog .post-item-description h2 { font-size: 18px; line-height: 1.55; letter-spacing: 0; margin-bottom: 12px; }
#blog .post-item-description p { margin-bottom: 16px; }
#blog .post-meta-category { line-height: 1.3; }
.read-more { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.location-map { min-height: 380px; display: grid; place-items: center; position: relative; overflow: hidden; background: #f0f1ed; }
.location-map::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(25deg, transparent 45%, #e6e8e0 45%, #e6e8e0 48%, transparent 48%), linear-gradient(-35deg, transparent 25%, #e6e8e0 25%, #e6e8e0 28%, transparent 28%); }
.map-placeholder { position: relative; text-align: center; padding: 40px 20px; }
.map-placeholder h2 { font-size: 26px; margin: 8px 0; }
.map-placeholder p { margin-bottom: 22px; }
.map-pin { font-size: 36px; color: #8b5135; }
.map-directions { display: block; font-size: 12px; margin-top: 10px; }
.location-map iframe { width: 100%; height: 380px; border: 0; position: relative; }
.demo-note { font-size: 12px; line-height: 1.7; color: #777; margin: 12px 0 24px; }
#contact-form .form-control { width: 100%; }
#contact-form textarea { min-height: 120px; resize: vertical; }
.contact-status { font-size: 13px; margin-top: 15px; }
.contact-status:empty { display: none; }
#goToTop { display: flex !important; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s; }
#goToTop.is-visible { opacity: 1; visibility: visible; }
.photo-dialog { inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; padding: 60px 70px 35px; margin: 0; border: 0; background: #101010f7; color: #fff; overflow: hidden; }
.photo-dialog::backdrop { background: #000d; }
.photo-dialog[open] { display: grid; place-items: center; }
.photo-dialog figure { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; max-width: 100%; max-height: 100%; pointer-events: none; }
.photo-dialog figure img { max-width: 100%; max-height: calc(100dvh - 145px); width: auto; height: auto; object-fit: contain; }
.photo-dialog figcaption { color: #e5e5e5; font-size: 13px; line-height: 1.6; text-align: center; padding-top: 15px; }
.lightbox-toolbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; font-size: 13px; }
.lightbox-toolbar button, .photo-arrow { color: #fff; background: transparent; border: 0; cursor: pointer; }
#photo-close { font-size: 36px; width: 44px; height: 44px; line-height: 1; }
.photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 52px; width: 60px; height: 80px; }
.photo-arrow.previous { left: 0; }
.photo-arrow.next { right: 0; }
.lightbox-open { overflow: hidden; }
@media (max-width: 1199px) {
  #header #mainMenu nav > ul > li > a { padding-left: 11px; padding-right: 11px; font-size: 11px; }
}
@media (max-width: 991px) {
  :root { --header-height: 80px; }
  #header #logo img { width: 72px; height: 72px; }
  #header #mainMenu { display: none !important; position: absolute !important; top: var(--header-height); left: 0; right: 0; width: 100%; max-height: calc(100dvh - 80px); overflow-y: auto; background: #fff; box-shadow: 0 10px 15px #00000012; padding: 12px 0; }
  #header #mainMenu.is-open { display: block !important; height: auto !important; z-index: 3; }
  #header #mainMenu .container { width: 100%; }
  #header #mainMenu nav > ul { display: block; padding: 0; }
  #header #mainMenu nav > ul > li { display: block; float: none; width: 100%; }
  #header #mainMenu nav > ul > li > a { display: block; padding: 14px 24px !important; line-height: 1.5 !important; font-size: 12px; }
  #mainMenu-trigger { display: block !important; height: 80px; }
  #mainMenu-trigger button { margin: 0; height: 80px; padding: 0 10px; }
  #chatawostry, .sjezdovka { padding: 65px 0 0 !important; background-image: none !important; }
  #chatawostry::after, .sjezdovka::after { content: ''; display: block; height: 260px; background-repeat: no-repeat; background-size: 1000px auto; }
  #chatawostry::after { background-image: url('../homepages/caffe/images/parallax/1.jpg'); background-position: right center; }
  .sjezdovka::after { background-image: url('../homepages/caffe/images/parallax/2.jpg'); background-position: left center; }
  .sjezdovka .float-right { float: none !important; }
  .p-t-150 { padding-top: 80px !important; }
  .p-b-150 { padding-bottom: 80px !important; }
  #pokoje .col-md-12 .col-md-12 { padding: 0; }
  #pokoje .lead { font-size: 17px; }
  #fotogalerie .grid-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  #blog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  #contact-form { margin-top: 12px; }
  .social-icons { margin-bottom: 40px; }
}
@media (max-width: 575px) {
  .text-medium { font-size: 38px !important; line-height: 1.3 !important; }
  #chatawostry, .sjezdovka { padding-top: 50px !important; }
  #chatawostry::after, .sjezdovka::after { height: 210px; background-size: 800px auto; }
  .p-t-150 { padding-top: 60px !important; }
  .p-b-150 { padding-bottom: 60px !important; }
  #pokoje .lead { font-size: 16px; }
  #pokoje .price-menu-list h2 { font-size: 29px; }
  #fotogalerie .grid-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #fotogalerie h1 br { display: none; }
  #fotogalerie h1 { margin-top: 40px; margin-bottom: 24px; }
  #fotogalerie .row > .col-md-12:first-child h1 { margin-top: 0; }
  #cena .carousel, #blog { grid-template-columns: 1fr; }
  #cena { padding: 65px 0 !important; }
  #cena .testimonial-item { padding: 32px 22px; }
  #blog { gap: 28px; }
  #zajimavosti .heading { margin-bottom: 30px; }
  #zajimavosti .heading > span { font-size: 17px; }
  .location-map, .location-map iframe { min-height: 340px; height: 340px; }
  .photo-dialog { padding: 64px 34px 30px; }
  .photo-arrow { width: 34px; font-size: 42px; }
  .photo-dialog figure img { max-height: calc(100dvh - 170px); }
  .photo-dialog figcaption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
