/* Ubytování Olšany — Webchaku šablony a místní náhled. */
.stay,
.stay-header,
.stay-footer,
.stay-document {
    --stay-cream: #fff3e5;
    --stay-paper: #fffaf2;
    --stay-dark: #23190f;
    --stay-brown: #391a12;
    --stay-ink: #332219;
    --stay-muted: #694e3c;
    --stay-gold: #ffba18;
    --stay-line: #e4cbb1;
    --stay-focus: #9b4f00;
    --stay-gutter: clamp(1rem, 4vw, 3rem);
    color: var(--stay-ink);
    background: var(--stay-cream);
    font: 400 1rem/1.55 Arial, sans-serif;
    letter-spacing: normal;
}

.stay-document { margin: 0; }
.stay *, .stay-header *, .stay-footer *, .stay-document * { box-sizing: border-box; }

.stay-wrap {
    max-width: 79rem;
    margin-inline: auto;
    padding-inline: var(--stay-gutter);
}

.stay h1, .stay h2, .stay h3, .stay-footer h2 {
    margin: 0;
    color: var(--stay-brown);
    font: 700 clamp(1.65rem, 3.4vw, 2.5rem)/1.12 Georgia, serif;
    letter-spacing: normal;
    text-transform: none;
}
.stay h3 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
.stay p, .stay-header p, .stay-footer p { margin: 0; }

.stay a:focus-visible, .stay-header a:focus-visible, .stay-footer a:focus-visible, .stay-document a:focus-visible {
    outline: 3px solid var(--stay-focus);
    outline-offset: 4px;
}

.stay-skip {
    position: absolute;
    z-index: 2;
    inset: .5rem auto auto 1rem;
    padding: .65rem 1rem;
    transform: translateY(-160%);
    background: var(--stay-gold);
    color: var(--stay-dark);
    font-weight: 700;
}
.stay-skip:focus { transform: none; }

.stay-header, .stay-footer {
    --stay-focus: #ffcf62;
    color: var(--stay-cream);
    background: var(--stay-dark);
}
.stay-header { border-bottom: 1px solid #644728; }
.stay-header__inner, .stay-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .55rem clamp(.65rem, 2.5vw, 2rem);
    padding-block: .75rem;
}
.stay-header__brand { flex: 1 1 auto; }
.stay-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    color: inherit;
    font: 700 clamp(1.2rem, 2.2vw, 1.55rem)/1.18 Georgia, serif;
    text-decoration: none;
}
.stay-brand img { flex: none; }
.stay-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem clamp(.65rem, 2.8vw, 2.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.stay-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-inline: .25rem;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}
.stay-menu a:hover, .stay-brand:hover {
    color: var(--stay-gold);
    text-decoration: underline;
    text-underline-offset: .3em;
}

.stay-hero, .stay-contact {
    --stay-focus: #ffcf62;
    color: var(--stay-cream);
    background: var(--stay-dark);
}
.stay-hero {
    position: relative;
    display: grid;
    align-items: center;
    isolation: isolate;
    min-height: clamp(23rem, 32vw, 31rem);
    overflow: hidden;
    background: #302012;
    border-bottom: 4px solid var(--stay-gold);
}
.stay-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #302012 21%, #302012ed 32%, #302012a8 42%, #30201232 55%, transparent 68%);
    content: "";
    pointer-events: none;
}
.stay-hero__inner {
    width: 100%;
    padding-block: clamp(1.75rem, 5vw, 4rem);
}
.stay-hero__copy { max-width: 31rem; }
.stay .stay-hero h1 {
    max-width: 13ch;
    margin-block: .8rem .7rem;
    padding-inline-start: .75rem;
    border-inline-start: 4px solid var(--stay-gold);
    color: var(--stay-paper);
    font-size: clamp(2.4rem, 4.5vw, 4.3rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
}
.stay .stay-hero__intro {
    max-width: 38ch;
    margin-bottom: 1.35rem;
    font-size: clamp(1.08rem, 1.75vw, 1.25rem);
}
.stay .stay-hero__photo {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -2;
    display: block;
    width: 80%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
}

.stay .stay-status {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .34rem .75rem;
    border-radius: .35rem;
    color: #27180b;
    background: #ffe1a0;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
}
.stay-status span {
    flex: 0 0 .48rem;
    height: .48rem;
    border-radius: 50%;
    background: currentColor;
}
.stay .stay-status--available {
    color: #244b25;
    background: #e5efde;
}
.stay .stay-status--occupied {
    color: #4c382b;
    background: #eee0d0;
}
.stay .stay-button, .stay-header .stay-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: .9rem;
    min-height: 48px;
    padding: .65rem .95rem;
    border-radius: .6rem;
    color: #251706;
    background: var(--stay-gold);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}
.stay .stay-button:hover, .stay-header .stay-button:hover { background: #ffd16b; }

.stay-section { padding-block: clamp(1.6rem, 4vw, 3rem); }
.stay-heading::after {
    display: block;
    width: 3.25rem;
    height: 4px;
    margin-block: .6rem 1.2rem;
    border-radius: 2px;
    background: var(--stay-gold);
    content: "";
}

.stay-rooms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.stay-room {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1rem, 2.2vw, 1.5rem);
    border: 1px solid var(--stay-line);
    border-radius: 1rem;
    background: var(--stay-paper);
    box-shadow: 0 8px 24px #57371b0d;
}
.stay-room__status { margin-top: .55rem; }
.stay-amenities {
    display: grid;
    gap: .32rem;
    margin: .9rem 0 1.15rem;
    padding-inline-start: 1.25rem;
    list-style: disc;
}
.stay-amenities li::marker { color: #9b5700; }
.stay-room .stay-gallery {
    container-type: inline-size;
    margin-top: auto;
    padding-top: 1.1rem;
}
.stay-room .stay-gallery:not(:has(img, .stay-gallery__placeholder)) { display: none; }
.stay-room .stay-gallery .galleryImages {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.stay-room .stay-gallery .galleryImage {
    --stay-thumb-height: clamp(7rem, 37cqi, 12.5rem);
    float: none;
    min-width: 0;
    width: auto;
    height: auto;
    margin: 0;
}
.stay-room .stay-gallery .galleryImage:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stay-room .stay-gallery .galleryImage:only-child {
    --stay-thumb-height: clamp(8rem, 50cqi, 14rem);
}
.stay-room .stay-gallery .galleryImage > a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: .7rem;
    background: #ead8c4;
}
.stay-room .stay-gallery .galleryImage > a::after {
    position: absolute;
    inset: auto .45rem .45rem auto;
    width: 1.65rem;
    height: 1.65rem;
    border: 1px solid #fff3e580;
    border-radius: 50%;
    color: #fffaf2;
    background: #23190f;
    text-align: center;
    line-height: 1.5rem;
    content: "↗" / "";
    pointer-events: none;
}
.stay-room .stay-gallery .galleryImage > a:hover::after,
.stay-room .stay-gallery .galleryImage > a:focus-visible::after {
    color: var(--stay-dark);
    background: var(--stay-gold);
}
.stay-room .stay-gallery .galleryImage img, .stay-gallery__placeholder {
    display: block;
    width: 100%;
    height: 8rem;
    height: var(--stay-thumb-height);
    border: 1px solid var(--stay-line);
    border-radius: .7rem;
    object-fit: cover;
    object-position: center;
}
.stay-gallery__placeholder {
    display: grid;
    align-items: end;
    padding: .55rem;
    background:
        radial-gradient(circle at 72% 28%, #e9c48e 0 .65rem, transparent .7rem),
        linear-gradient(146deg, transparent 63%, #bf916580 64%),
        linear-gradient(36deg, #c79c7580 33%, transparent 34%),
        linear-gradient(145deg, #fcf0df, #ead6be);
}
.stay-gallery__placeholder span {
    justify-self: start;
    padding: .12rem .4rem;
    border-radius: .3rem;
    background: var(--stay-paper);
    color: var(--stay-muted);
    font-size: .75rem;
    font-weight: 700;
}
.stay-gallery figcaption {
    margin-top: .35rem;
    color: var(--stay-muted);
    font-size: .88rem;
    font-weight: 700;
}

.stay-information {
    display: grid;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    padding-top: 0;
}
.stay-information:has(.stay-information__photo) {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
}
.stay-information__copy { max-width: 52ch; }
.stay .stay-information__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--stay-line);
    border-radius: .85rem;
    object-fit: cover;
    box-shadow: 0 8px 24px #57371b18;
}
.stay-information h2, .stay-contact h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.stay-information p, .stay-contact .stay-contact__intro {
    max-width: 66ch;
    margin-top: .5rem;
}
.stay-text-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    color: #6e370c;
    font-weight: 700;
    text-underline-offset: .22em;
}
.stay-text-link:hover { color: #421d0b; }

.stay-contact { border-top: 3px solid var(--stay-gold); }
.stay-contact__inner { padding-block: clamp(1.4rem, 4.4vw, 3.1rem); }
.stay-footer .stay-contact h2 {
    color: var(--stay-paper);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
}
.stay-contact__address {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin: 1.15rem 0 0;
    font-style: normal;
}
.stay-contact__address > div {
    padding: .8rem 1rem;
    border: 1px solid #725434;
    border-radius: .65rem;
    background: #302217;
}
.stay-contact__address dl { margin: 0; }
.stay-contact__address > dl:not(:has(dt, dd)) { display: none; }
.stay-contact dt { color: #ffd282; font-weight: 700; }
.stay-contact dd { margin: 0; overflow-wrap: anywhere; }
.stay-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--stay-paper);
    text-underline-offset: .2em;
}
.stay-contact a:hover { color: var(--stay-gold); }
.stay-footer__inner { border-top: 1px solid #644728; }
.stay-footer .stay-brand { font-size: 1.1rem; }

@media (max-width: 820px) {
    .stay-rooms { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .stay-hero {
        align-items: end;
        min-height: 31rem;
    }
    .stay .stay-hero__photo {
        width: 100%;
        object-position: 61% center;
    }
    .stay-hero::after {
        background: linear-gradient(180deg, transparent 10%, #25160932 24%, #251609dd 49%, #251609 75%);
    }
    .stay-hero__inner { padding-block: 11rem 1.6rem; }
}

@media (max-width: 620px) {
    .stay-header__brand { flex-basis: 100%; }
    .stay-contact__address { grid-template-columns: minmax(0, 1fr); }
    .stay-information:has(.stay-information__photo) { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
    .stay-room .stay-gallery .galleryImage > a img { transition: transform .2s ease; }
    .stay-room .stay-gallery .galleryImage > a:hover img { transform: scale(1.04); }
}

@media (forced-colors: active) {
    .stay .stay-button, .stay-header .stay-button, .stay .stay-status { border: 1px solid currentColor; }
}