/* Vychází z rozložení šablony JARO. Modrá paleta vychází z lehátek Černavy. */
:root {
  --accent: #234e73;
  --accent-hover: #183d5e;
  --hero-accent: #c4dfef;
  --bg: #fcfdfe;
  --surface: #eff4f7;
  --soft: #e4edf3;
  --ink: #172e3e;
  --muted: #4b6273;
  --line: #d4e0e7;
  --display: "Cernava", Georgia, serif;
  --body: Arial, sans-serif;
  --th: 88px;
  --hero-ground: #172e3e;
  --hero-overlay: radial-gradient(
    ellipse 650px 370px at 250px 360px,
    #071b2ddd 0%,
    #071b2dbb 47%,
    #071b2d66 72%,
    transparent 100%
  );
}
@font-face {
  font-family: Cernava;
  src: url("/assets/display.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Cernava;
  src: url("/assets/display-ext.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  unicode-range:
    U+0100-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  overflow-wrap: anywhere;
}
::selection {
  background: var(--soft);
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(38px, 5.8vw, 82px);
}
h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  margin-bottom: 28px;
}
h3 {
  font-size: 27px;
}
p {
  max-width: 65ch;
  margin-bottom: 20px;
}
.wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.narrow {
  max-width: 940px;
}
.skip {
  position: absolute;
  top: -80px;
  background: white;
  padding: 16px;
  z-index: 100;
}
.skip:focus {
  top: 0;
}
.top {
  position: relative;
  z-index: 5;
  background: var(--bg);
}
.top .wrap {
  height: var(--th);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font: 400 31px/1.03 var(--display);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span {
  display: block;
  font: 13px/1.7 var(--body);
  letter-spacing: 0.02em;
}
.top nav {
  display: flex;
  gap: 34px;
}
.top nav a {
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.top a:hover,
.menu a:hover {
  color: var(--accent);
}
.menu {
  display: none;
}
.menu summary {
  cursor: pointer;
  padding: 12px;
  min-height: 48px;
}
.menu > div {
  position: absolute;
  right: 20px;
  top: 74px;
  padding: 18px 28px;
  background: var(--bg);
  box-shadow: 0 8px 30px #0002;
}
.menu a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
}
.btn {
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 15px 25px;
  font: 600 16px/1.4 var(--body);
  min-height: 52px;
  max-width: 100%;
  text-align: center;
}
.btn:hover {
  background: var(--accent-hover);
  color: white;
}
.secondary {
  background: var(--soft);
  color: var(--ink);
}
.secondary:hover {
  background: var(--line);
  color: var(--ink);
}
section {
  padding: 88px 0;
}
.surface {
  background: var(--surface);
}
.hero-full {
  padding: 0;
  position: relative;
  min-height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background: var(--hero-ground);
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 100%;
  height: 100%;
  z-index: -3;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 58%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
  z-index: -2;
}
.hero-copy {
  padding-top: 160px;
  padding-bottom: 66px;
  pointer-events: none;
}
.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 30px;
  color: #fff;
  font-style: normal;
  text-shadow: 0 2px 16px #0003;
}
.hero-copy .btn {
  pointer-events: auto;
  background: var(--hero-accent);
  color: #172e3e;
}
.hero-copy .btn:hover {
  background: #fff;
}
.hero-facts {
  padding: 28px 32px 34px;
  background: var(--hero-ground);
  border-radius: 4px 4px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 0;
  margin-bottom: 0;
}
.hero-facts b,
.hero-facts span {
  display: block;
}
.hero-facts b {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
}
.hero-facts span {
  font-size: 14px;
  color: #e0e8ec;
  max-width: 23ch;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.section-heading p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}
.rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 50px;
}
.room {
  min-width: 0;
}
.room-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--soft);
  touch-action: pan-y;
}
.room-photo {
  display: block;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: none;
}
.room-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #183145;
  box-shadow: 0 2px 10px #0002;
  z-index: 2;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.photo-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  background: #fff;
  color: #183145;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 3px;
  pointer-events: none;
}
.room-body {
  padding: 20px 0 0;
}
.room .capacity {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 7px;
}
.room h3 {
  margin-bottom: 12px;
}
.room h3 button {
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  min-height: 44px;
}
.room h3 button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.room h3 a {
  display: inline-block;
  min-height: 44px;
  text-decoration: none;
}
.room h3 a:hover {
  text-decoration: underline;
}
.room-body > p:not(.capacity) {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.price {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.rates {
  margin: 0 0 30px;
}
.rates > div {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rates dt {
  font-weight: 600;
}
.rates dd {
  margin: 0;
  text-align: right;
}
.prose {
  font-size: 16px;
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.split p {
  color: var(--muted);
}
.photo-open {
  display: block;
  border: 0;
  padding: 0;
  background: var(--soft);
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
}
.split .photo-open img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: 50% 45%;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 40px;
}
.review-grid figure {
  margin: 0;
}
.review-grid blockquote {
  margin: 0 0 18px;
  font: 400 25px/1.45 var(--display);
}
.review-grid figcaption {
  font-size: 14px;
  color: var(--muted);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}
.gallery .photo-open {
  aspect-ratio: 4/3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 22px;
}
.contact-info a {
  overflow-wrap: anywhere;
}
.map {
  background: var(--surface);
  min-height: 300px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.map p {
  margin-bottom: 18px;
}
.map iframe {
  border: 0;
  width: 100%;
  height: 350px;
}
.map.loaded {
  padding: 0;
}
.small {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.booking-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
}
.booking-grid > div {
  position: sticky;
  top: 30px;
}
.phone {
  font-size: 28px;
  text-decoration: none;
  color: var(--accent);
}
.booking-card {
  background: #fff;
  padding: 36px;
  border-radius: 5px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 13px 12px;
  border: 1px solid #abb9c2;
  border-radius: 4px;
  background: white;
  color: #172e3e;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  min-height: 50px;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  flex-shrink: 0;
}
input[type="file"] {
  padding: 9px;
  max-width: 100%;
}
.check {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 400;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#book-msg {
  background: var(--soft);
  padding: 18px;
  margin-top: 18px;
}
footer {
  background: var(--surface);
  padding: 50px 0;
  font-size: 14px;
}
.foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.foot p {
  margin: 10px 0;
}
.legal {
  max-width: 820px;
  padding-top: 70px;
  padding-bottom: 80px;
}
.legal h1 {
  font-size: clamp(35px, 5vw, 58px);
}
.legal h2 {
  font-size: 29px;
  margin-top: 36px;
}
.legal p {
  max-width: none;
}
dialog {
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: var(--bg);
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
dialog::backdrop {
  background: #07111cbb;
}
.close {
  display: block;
  margin: 12px 12px 12px auto;
  background: var(--soft);
  border: 0;
  border-radius: 4px;
  padding: 10px 20px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  position: sticky;
  top: 12px;
  z-index: 5;
}
.room-dialog {
  width: 1080px;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  padding: 0 32px 32px;
}
.dialog-copy {
  position: sticky;
  top: 72px;
  align-self: start;
}
.dialog-copy h2 {
  font-size: 36px;
}
.dialog-copy .price {
  margin-bottom: 24px;
}
.dialog-photos {
  display: grid;
  gap: 16px;
}
.dialog-photos img {
  width: 100%;
  max-height: 550px;
  object-fit: contain;
}
.dialog-copy .btn {
  margin-top: 12px;
}
#lightbox {
  width: min(1200px, calc(100vw - 24px));
  background: #101820;
  color: #fff;
  overflow: hidden;
}
#lightbox > img {
  width: 100%;
  height: min(75dvh, 760px);
  object-fit: contain;
}
#lightbox > p {
  padding: 12px 25px;
  margin: 0;
  text-align: center;
  max-width: none;
  font-size: 14px;
}
#lightbox .close {
  background: #fff;
  color: #172e3e;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.admin {
  background: var(--surface);
  font-size: 16px;
}
.admin .top {
  border-bottom: 1px solid var(--line);
}
.admin h1 {
  font: 600 clamp(28px, 3vw, 40px) / 1.2 var(--body);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.admin h2 {
  font: 600 24px/1.3 var(--body);
  letter-spacing: -0.015em;
  margin-top: 32px;
  margin-bottom: 22px;
}
.admin h3 {
  font: 600 20px/1.4 var(--body);
}
.admin-nav {
  display: flex;
  gap: 5px 22px;
  flex-wrap: wrap;
  padding-block: 14px;
}
.admin-nav a {
  padding: 10px 0;
  text-decoration: none;
  min-height: 44px;
}
.admin-main {
  padding: 30px 0 70px;
  max-width: 1140px;
}
.admin-main form {
  max-width: 700px;
}
.admin-main > form {
  background: white;
  padding: 28px;
  margin-top: 25px;
}
.admin-main .edit-block form {
  background: transparent;
  padding: 0;
  margin-top: 0;
}
.login {
  max-width: 480px;
  margin: 50px auto;
  background: white;
  padding: 32px;
}
.summary {
  font-size: 18px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-block: 25px;
}
.filters a {
  background: white;
  text-decoration: none;
  padding: 11px 18px;
  min-height: 46px;
  border-radius: 4px;
}
.filters a[aria-current] {
  background: var(--accent);
  color: white;
}
.inquiry-row {
  background: white;
  padding: 22px 24px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  text-decoration: none;
  margin-bottom: 12px;
  border-radius: 4px;
}
.inquiry-row:hover {
  background: var(--soft);
}
.inquiry-row span,
.inquiry-row small {
  display: block;
}
.inquiry-row b {
  font-size: 20px;
}
.inquiry-row small {
  color: var(--muted);
  font-size: 14px;
}
.status {
  font-weight: 600;
  color: var(--accent);
}
.admin-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.admin-columns section {
  padding: 20px 0;
}
.admin-columns form {
  background: white;
  padding: 24px;
}
.detail-list > div {
  padding: 10px 0;
}
.detail-list dt {
  color: var(--muted);
  font-size: 14px;
}
.detail-list dd {
  margin: 0;
  white-space: pre-wrap;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.admin-room-list {
  display: grid;
  gap: 15px;
  margin-top: 25px;
}
.admin-room-list > a {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #fff;
  text-decoration: none;
  padding: 20px;
  border-radius: 4px;
}
.admin-room-list img {
  width: 150px;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--soft);
}
.admin-room-list span span {
  display: block;
}
.photo-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.photo-editor article {
  background: white;
  padding: 18px;
}
.photo-editor img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  margin-bottom: 20px;
  background: var(--soft);
}
.photo-editor .btn {
  width: 100%;
  padding-inline: 12px;
}
.photo-editor label {
  margin-bottom: 14px;
}
.photo-editor + form {
  margin-bottom: 55px;
}
.edit-block {
  background: #fff;
  padding: 24px;
  margin-bottom: 20px;
  max-width: 700px;
}
.text-button {
  border: 0;
  background: none;
  padding: 12px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
  min-height: 48px;
}
.danger {
  color: #9b2828;
  background: transparent;
}
.btn.danger {
  background: #9b2828;
  color: white;
}
.error {
  background: #fae7e7;
  color: #7d2020;
  padding: 15px;
}
.new-phrase {
  background: white;
  padding: 24px;
  font-size: 22px;
  user-select: all;
  overflow-wrap: anywhere;
}
fieldset {
  border: 0;
  background: var(--surface);
  padding: 20px;
  margin: 20px 0;
}
legend {
  font-weight: 600;
}
.upload-status {
  font-weight: 600;
}
@media (max-width: 1000px) {
  .rooms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-facts {
    gap: 20px;
  }
  .hero-facts b {
    font-size: 20px;
  }
  .photo-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top nav {
    gap: 22px;
  }
}
@media (max-width: 760px) {
  :root {
    --th: 78px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .top nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .hero-full {
    min-height: 0;
    display: block;
  }
  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    z-index: 0;
  }
  .hero-photo img {
    object-fit: contain;
    object-position: center;
  }
  .hero-shade {
    display: none;
  }
  .hero-copy {
    padding: 28px 0 28px;
  }
  .hero-copy h1 {
    font-size: clamp(37px, 10vw, 52px);
    max-width: 13ch;
    margin-bottom: 24px;
  }
  .hero-copy .btn {
    width: 100%;
  }
  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding: 4px 0 30px;
  }
  .hero-facts b {
    font-size: 19px;
  }
  .hero-facts span {
    font-size: 13px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    margin-bottom: 20px;
  }
  .section-heading p br {
    display: none;
  }
  section {
    padding: 58px 0;
  }
  .rooms {
    grid-template-columns: 1fr;
    row-gap: 38px;
  }
  .room h3 {
    font-size: 29px;
  }
  .room-body {
    padding-top: 18px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split > div {
    order: 1;
  }
  .split > .photo-open {
    order: 0;
  }
  .rates > div {
    grid-template-columns: 1.25fr 1fr;
    gap: 15px;
    font-size: 15px;
  }
  .review-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 30px;
  }
  .review-grid blockquote {
    font-size: 25px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .gallery .photo-open:last-child:nth-child(odd) {
    grid-column: 1/-1;
    aspect-ratio: 2/1;
  }
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .booking-grid > div {
    position: static;
  }
  .booking-card {
    padding: 23px 18px;
  }
  .booking-grid .two {
    gap: 14px;
  }
  .booking-grid .two:has(input[type="tel"]) {
    grid-template-columns: 1fr;
  }
  .foot {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
    padding: 0 18px 24px;
    gap: 25px;
  }
  .dialog-copy {
    position: static;
    order: 0;
  }
  .dialog-copy h2 {
    font-size: 30px;
  }
  .dialog-photos {
    order: 1;
  }
  .room-dialog {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .dialog-copy .btn {
    width: 100%;
  }
  .dialog-photos img {
    max-height: 380px;
  }
  #lightbox > img {
    height: 65dvh;
  }
  .admin .top .wrap {
    gap: 12px;
  }
  .admin .top a:last-child {
    font-size: 14px;
  }
  .admin-nav {
    gap: 0 18px;
    padding-block: 10px;
    font-size: 15px;
  }
  .admin-main {
    padding-top: 20px;
  }
  .admin-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .inquiry-row {
    padding: 18px;
    display: block;
  }
  .inquiry-row > div + div {
    margin-top: 10px;
  }
  .inquiry-row small {
    font-size: 14px;
  }
  .admin-main > form,
  .admin-columns form {
    padding: 20px;
  }
  .photo-editor {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .photo-editor article {
    padding: 20px;
  }
  .admin-room-list > a {
    padding: 14px;
    gap: 14px;
    align-items: start;
  }
  .admin-room-list img {
    width: 95px;
  }
  .admin-room-list b {
    font-size: 16px;
  }
  .admin-room-list span span {
    font-size: 14px;
  }
  .login {
    margin: 25px 0;
    padding: 24px 20px;
  }
  .contact-info {
    font-size: 20px;
  }
  .legal {
    padding-top: 45px;
  }
  .filters {
    gap: 8px;
  }
  .filters a {
    padding: 11px 14px;
  }
}
@media (max-width: 350px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero-copy h1 {
    font-size: 37px;
  }
  .hero-facts b {
    font-size: 17px;
  }
  .hero-facts span {
    font-size: 12px;
  }
  .two {
    gap: 10px;
  }
  input {
    padding: 12px 8px;
  }
  .booking-card {
    padding: 20px 14px;
  }
  .admin-room-list > a {
    display: block;
  }
  .admin-room-list img {
    width: 100%;
    margin-bottom: 12px;
  }
  .admin-nav {
    gap: 0 16px;
  }
  .rates > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rates dd {
    text-align: left;
  }
  .brand {
    font-size: 29px;
  }
  .gallery {
    gap: 8px;
  }
}
.gallery {
  display: flex;
  flex-wrap: wrap;
}
.gallery .photo-open {
  flex: 1 1 calc(33.333% - 16px);
  height: clamp(180px, 22vw, 300px);
  aspect-ratio: auto;
  min-width: 0;
}
@media (max-width: 760px) {
  .gallery .photo-open,
  .gallery .photo-open:last-child:nth-child(odd) {
    flex-basis: calc(50% - 10px);
    height: 160px;
    aspect-ratio: auto;
  }
}
.booking-grid > *,
.split > *,
.admin-columns > *,
.two > *,
.dialog-layout > * {
  min-width: 0;
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .booking-grid .two:has(input[type="tel"]) {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Menší vizuální šipka má na dotyku nadále plochu 44 px. */
.room-image .prev,
.room-image .next {
  background: #ffffffd9;
  box-shadow: none;
}
.room-image svg {
  width: 16px;
  height: 16px;
}
@media (hover: hover) and (pointer: fine) {
  .room-image .prev,
  .room-image .next {
    width: 32px;
    height: 32px;
    opacity: 0;
  }
  .room-image:hover .prev,
  .room-image:hover .next,
  .room-image:focus-within .prev,
  .room-image:focus-within .next {
    opacity: 1;
  }
}
.menu summary {
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary::marker {
  content: "";
}
.menu summary::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 10px;
  margin-left: 10px;
  border-block: 2px solid currentColor;
}
/* Vlastní scroll kontejner dává sticky textu v dialogu spolehlivý rozsah. */
.room-dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.room-dialog > .close {
  flex-shrink: 0;
}
.dialog-layout {
  overflow: auto;
  min-height: 0;
  align-items: start;
}
.dialog-copy {
  top: 0;
}
.gallery-portrait {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 0;
}
.gallery .gallery-portrait .photo-open {
  height: clamp(300px, 32vw, 440px);
}
@media (max-width: 760px) {
  .hero-facts {
    padding-inline: 0;
  }
  .dialog-copy {
    position: static;
    grid-row: auto;
  }
  .dialog-photos {
    grid-row: 1;
  }
  .admin-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-block: 16px;
  }
  .admin-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 9px 4px;
    font-size: 13px;
  }
  .gallery-portrait {
    flex-basis: calc(50% - 10px);
  }
  .gallery .gallery-portrait .photo-open {
    height: 260px;
  }
}

/* Lehký přechod chrání jen pás pod textem, horní obloha a pravá část zůstávají původní. */

/* Na mobilu je nejdřív hlavní snímek, hned za ním text a tlačítko, pak další fotky. */
@media (max-width: 760px) {
  .dialog-layout {
    display: flex;
    flex-direction: column;
  }
  .dialog-photos {
    display: contents;
  }
  .dialog-photos > .photo-open {
    order: 2;
  }
  .dialog-photos > .photo-open:first-child {
    order: 0;
  }
  .dialog-copy {
    order: 1;
  }
}
@media (max-width: 760px) {
  .dialog-photos > .photo-open,
  .dialog-copy {
    flex: none;
  }
}

/* V řádku s portrétem vyplní i sousední snímky celou výšku, bez prázdného pásu. */
.gallery > .photo-open {
  height: auto;
  min-height: clamp(180px, 22vw, 300px);
}
.gallery .gallery-portrait .photo-open {
  height: 100%;
  min-height: clamp(300px, 32vw, 440px);
}
@media (max-width: 760px) {
  .gallery > .photo-open {
    height: auto;
    min-height: 160px;
  }
  .gallery .gallery-portrait .photo-open {
    height: 100%;
    min-height: 260px;
  }
}

/* Samostatné stránky používají stejné barvy, typografii i komponenty. */
.top .header-booking {
  margin-left: auto;
  white-space: nowrap;
}
.top nav {
  margin-left: auto;
  gap: 26px;
}
.top [aria-current="page"]:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.section-link {
  margin: 36px 0 0;
}
.page-heading {
  margin-bottom: 48px;
}
.light main > section > .wrap > h1,
.booking-grid h1,
.split h1 {
  font-size: clamp(38px, 5vw, 64px);
}
.closing {
  text-align: center;
}
.closing p {
  margin-inline: auto;
}
.breadcrumb {
  padding-block: 24px;
  font-size: 14px;
  color: var(--muted);
}
.room-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
}
.room-mosaic > .photo-open {
  height: clamp(350px, 38vw, 520px);
}
.room-mosaic .photo-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.room-mosaic[data-count="1"] {
  grid-template-columns: 1fr;
}
.room-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.room-thumbs > .photo-open {
  flex: 1 1 calc(50% - 10px);
  min-height: 0;
}
.room-mosaic[data-count="2"] .room-thumbs > .photo-open,
.room-mosaic[data-count="3"] .room-thumbs > .photo-open {
  flex-basis: 100%;
}
.room-thumbs > .photo-open img {
  height: 100%;
  max-height: 520px;
}
.room-mobile-booking {
  display: none;
}
.room-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  column-gap: clamp(32px, 7vw, 100px);
  padding-block: 64px 80px;
  align-items: start;
}
.room-intro {
  grid-column: 1;
}
.room-intro h1 {
  font-size: clamp(36px, 4.5vw, 62px);
}
.room-intro .capacity {
  color: var(--muted);
  margin-bottom: 14px;
}
.room-booking {
  grid-column: 2;
  grid-row: 1 / 3;
  position: sticky;
  top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 5px;
}
.room-booking .price {
  font-size: 26px;
  margin-bottom: 16px;
}
.room-booking > p:first-child {
  font-size: 14px;
  margin-bottom: 4px;
}
.room-booking .btn {
  width: 100%;
}
.room-phone {
  display: block;
  text-align: center;
  margin-top: 20px;
}
.room-sections {
  grid-column: 1;
  min-width: 0;
}
.room-sections section {
  padding: 34px 0 12px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.room-sections h2 {
  font-size: 34px;
}
.room-sections h3 {
  font-size: 25px;
  margin-top: 28px;
}
.room-facts {
  padding-left: 22px;
}
.room-facts li {
  padding: 8px 0;
}
.room-neighbours {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
/* Nativní indikátor pokrývá pole i bez JS. Tab a klávesové segmenty zůstávají dostupné. */
.booking-card input[type="date"] {
  position: relative;
  cursor: pointer;
}
.booking-card input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .top .wrap {
    gap: 18px;
  }
  .top nav {
    gap: 16px;
    font-size: 15px;
  }
  .header-booking {
    padding-inline: 16px;
  }
}
@media (max-width: 760px) {
  .top .wrap {
    gap: 10px;
    flex-wrap: wrap;
    height: auto;
    min-height: var(--th);
    padding-block: 14px;
  }
  .top .header-booking {
    font-size: 14px;
    min-height: 44px;
    padding: 10px 14px;
  }
  .top .brand {
    margin-right: auto;
  }
  .top .menu {
    margin-left: 0;
  }
  .menu > div {
    z-index: 10;
    top: 82px;
  }
  .menu summary {
    padding: 10px 0 10px 8px;
  }
  .menu summary::after {
    margin-left: 6px;
  }
  .room-mosaic,
  .room-mosaic[data-count] {
    display: block;
  }
  .room-mosaic > .photo-open {
    height: auto;
    aspect-ratio: 4/3;
  }
  .room-thumbs {
    margin-top: 8px;
    gap: 8px;
  }
  .room-thumbs > .photo-open,
  .room-mosaic[data-count] .room-thumbs > .photo-open {
    flex: 1 1 calc(33.333% - 8px);
    height: 90px;
  }
  .room-mobile-booking {
    display: flex;
    position: fixed;
    bottom: 12px;
    left: 24px;
    right: 24px;
    z-index: 4;
    box-shadow: 0 3px 20px #172e3e44;
  }
  body:has(.room-detail) footer {
    padding-bottom: 100px;
  }
  .room-content {
    display: flex;
    flex-direction: column;
    padding-block: 36px 48px;
    gap: 8px;
  }
  .room-content > * {
    width: 100%;
  }
  .room-booking {
    position: static;
    padding: 24px;
    margin-top: 12px;
  }
  .room-neighbours {
    flex-direction: column;
    gap: 16px;
  }
  .breadcrumb {
    padding-block: 18px;
  }
  .page-heading {
    margin-bottom: 32px;
  }
}
@media (max-width: 350px) {
  .top .wrap {
    column-gap: 8px;
  }
  .top .brand {
    font-size: 26px;
  }
  .brand span {
    font-size: 11px;
  }
  .top .header-booking {
    font-size: 13px;
    padding-inline: 10px;
  }
  .top .menu {
    flex-basis: 100%;
    text-align: right;
  }
  .top .menu summary {
    padding-block: 4px;
    min-height: 44px;
  }
  .menu > div {
    top: 120px;
  }
}
/* Pevná společná výška zabrání, aby přirozený rozměr náhledů natáhl pravý sloupec. */
@media (min-width: 761px) {
  .room-mosaic {
    height: clamp(350px, 38vw, 520px);
  }
  .room-mosaic > .photo-open {
    height: 100%;
  }
  .room-thumbs {
    height: 100%;
    overflow: hidden;
  }
  .room-thumbs > .photo-open {
    position: relative;
  }
  .room-thumbs > .photo-open img {
    position: absolute;
    inset: 0;
  }
}
@media (max-width: 760px) {
  .top .menu {
    flex-basis: 100%;
    text-align: right;
  }
  .menu summary {
    padding-block: 4px;
    min-height: 44px;
  }
  .menu > div {
    top: 120px;
    text-align: left;
  }
}
/* Trampská bouda: vlastní modrá identita, struktura plochami a mezerami. */
:root{--accent:#4d6baa;--accent-hover:#3f588b;--hero-accent:#fff;--bg:#fff;--surface:#f3f5f9;--soft:#e8edf6;--ink:#1e2633;--muted:#536075;--line:#d8dfea;--hero-ground:#1e2633;--hero-overlay:linear-gradient(90deg,#122039b8 0%,#12203960 46%,transparent 80%)}
.light .top{background:#fff}
.light .top .wrap{width:min(1360px,calc(100% - 64px));gap:22px;height:100px}
.light .brand{font-size:30px;white-space:nowrap}
.light .brand span{font-size:12px;line-height:1.8;letter-spacing:0;color:var(--muted)}
.light .top nav{gap:20px;font-size:14px;white-space:nowrap;margin-left:auto}
.light .top .header-booking{font-size:14px;padding:13px 18px;margin-left:0}
.light .top .language{font-size:13px;min-width:32px;min-height:44px;display:flex;align-items:center;justify-content:center;text-decoration:none}
.light .hero-full{min-height:max(560px,calc(100vh - 100px));min-height:max(560px,calc(100svh - 100px));background:var(--hero-ground)}
.light .hero-photo img{object-position:50% 52%}
.light .hero-copy{padding-top:130px;padding-bottom:64px}
.light .hero-copy h1{max-width:15ch;font-size:clamp(52px,6.3vw,84px);line-height:1.02}
.light .hero-copy .btn{color:var(--ink);background:#fff}
.light .hero-facts{border-radius:0;background:#eef2f8;color:var(--ink);width:100%;padding:28px max(40px,calc((100% - 1240px)/2));gap:28px}
.light .hero-facts b{font-size:23px;font-weight:500;line-height:1.3}
.light .hero-facts span{color:var(--muted);font-size:14px}
.light .hero-facts li{padding:0}
.light .home-answer{padding-block:32px 0;font-size:19px;max-width:1240px}
.light .home-answer p{max-width:800px;margin-bottom:0}
.light section{padding-block:76px}
.light .hero-full{padding:0}
.light .page-hero{padding-block:64px}
.light .page-hero h1{font-size:clamp(36px,4.3vw,60px);max-width:23ch;margin-bottom:24px}
.light .page-hero.text-hero{padding-block:72px 28px}
.light .page-hero .lead{font-size:20px;line-height:1.65;margin-bottom:0}
.light .page-hero .split{gap:70px;align-items:center}
.light .page-hero .photo-open{aspect-ratio:4/3;width:100%}
.light .page-hero img{height:100%;width:100%;object-fit:cover}
.photo-figure{margin:0;min-width:0}
.photo-figure figcaption{font-size:13px;color:var(--muted);padding-top:10px;line-height:1.5}
.photo-figure .photo-open{display:block;width:100%;height:100%;border:0;padding:0;background:var(--surface)}
.light .split>.photo-figure{height:auto;min-width:0}
.light .split>.photo-figure .photo-open{aspect-ratio:4/3;overflow:hidden}
.light .split>.photo-figure img{width:100%;height:100%;object-fit:cover}
.light .split.flip>.photo-figure{order:1}
.light .split h2{font-size:clamp(32px,3vw,44px);max-width:18ch}
.light .split p{font-size:17px;line-height:1.7}
.light .section-heading{align-items:baseline;gap:24px}
.light .section-heading h2{max-width:700px}
.light .section-heading>a{white-space:nowrap}
.light .rooms{gap:40px 28px}
.light .room{background:transparent;border:0;box-shadow:none;border-radius:0}
.room-card-link{display:block;text-decoration:none;height:100%}
.room-card-link>img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--soft);border-radius:4px}
.light .room-body{padding:22px 0 0;display:flex;flex-direction:column}
.light .room-body h3{font-size:31px;margin-bottom:14px}
.light .room-body p{margin-bottom:14px}
.light .room-body .capacity{margin-bottom:7px;font-size:14px;color:var(--muted)}
.light .room-body .price{font-size:16px;margin-bottom:15px}
.card-action{color:var(--accent-hover);text-decoration:underline;text-underline-offset:4px;font-size:15px;font-weight:600;display:inline-block;padding-block:8px}
.room-card-link:hover h3,.content-card:hover h3{color:var(--accent-hover)}
.content-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px}
.content-card{display:flex;flex-direction:column;height:100%;text-decoration:none;background:transparent}
.content-card>img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:4px}
.content-card>div{padding-top:22px}
.content-card h3{font-size:27px;line-height:1.22;margin-bottom:14px}
.content-card p{font-size:16px;line-height:1.65;margin-bottom:12px}
.content-card .capacity{font-size:13px;color:var(--muted)}
.light .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.light .gallery>.photo-figure{min-width:0}
.light .gallery .photo-open{height:250px;min-height:0;aspect-ratio:auto;overflow:hidden;border-radius:3px}
.light .gallery img{width:100%;height:100%;object-fit:cover}
.light .facts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin:0}
.light .facts-grid>div{min-width:0}
.light .facts-grid dt{font-size:21px;line-height:1.3;margin-bottom:10px;font-weight:600}
.light .facts-grid dd{margin:0;font-size:16px;color:var(--muted)}
.light .faq>div{padding:0 0 28px;margin-bottom:12px;border:0}
.light .faq h3{font-family:var(--body);font-size:20px;font-weight:600;line-height:1.4;margin-bottom:10px;letter-spacing:0}
.light .faq p{margin-bottom:0}
.light .prose h2{font-size:34px;margin-top:36px;margin-bottom:20px}
.light .prose h2:first-child{margin-top:0}
.light .prose{max-width:780px}
.light .prose p{max-width:70ch;line-height:1.8}
.light .prose li{margin-bottom:12px}
.light .practical{background:var(--surface);padding:24px 28px;display:grid;gap:18px;margin-block:32px}
.light .practical>div{display:grid;grid-template-columns:160px 1fr;gap:20px}
.light .practical dt{font-weight:600}
.light .practical dd{margin:0}
.light .sources{font-size:15px;margin-top:32px}
.light .sources h3{font-family:var(--body);font-size:17px;letter-spacing:0;font-weight:600}
.light .price-table{margin-block:30px 40px;overflow-x:auto}
.light table{width:100%;border-collapse:collapse;font-size:16px;font-variant-numeric:tabular-nums}
.light caption{text-align:left;font-family:var(--display);font-size:28px;margin-bottom:20px}
.light th,.light td{padding:17px 15px;text-align:right;white-space:normal}
.light th:first-child{text-align:left;width:36%}
.light thead{background:var(--soft)}
.light thead th{font-weight:600;font-size:14px}
.light tbody tr:nth-child(odd){background:#fff}
.light tbody th{font-weight:400}
.light .rates>div{border:0;padding:16px;background:#fff;margin-bottom:8px}
.light .rates dd{font-weight:600}
.light .contact-info{font-size:24px}
.light .map{background:var(--surface);border:0;min-height:320px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;padding:32px}
.light .map p{margin:0}
.light .map iframe{border:0;width:100%;height:360px}
.light .map.loaded{padding:0}
.light .review-grid{gap:48px}
.light .review-grid figure{margin:0;border:0;padding:0}
.light .review-grid blockquote{font-size:25px;line-height:1.45}
.light .booking-card{border:0;background:white;box-shadow:none;padding:32px}
.light label{font-size:15px;font-weight:500}
.light input,.light select,.light textarea{background:#f9fafc;border:1px solid #c5cedf;border-radius:3px;color:var(--ink);min-height:48px}
.light .checkbox{display:flex;align-items:center;gap:12px;cursor:pointer;min-height:48px}
.light .checkbox input{width:20px;min-height:20px;height:20px;margin:0;accent-color:var(--accent)}
.light .booking-card .btn{width:100%}
.light .booking-card input[type=date]{cursor:pointer;position:relative}
.light .booking-card input[type=date]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.light .room-mosaic{height:clamp(350px,38vw,520px);gap:12px}
.light .room-mosaic>.photo-figure{height:100%}
.light .room-mosaic .photo-open{overflow:hidden;height:100%;border-radius:3px}
.light .room-mosaic .photo-open img{object-fit:cover;object-position:center}
.light .room-thumbs{height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:10px}
.light .room-thumbs>.photo-figure{min-height:0;overflow:hidden}
.light .room-thumbs img{position:static;max-height:none}
.light .room-mosaic[data-count="2"] .room-thumbs,.light .room-mosaic[data-count="3"] .room-thumbs{grid-template-columns:1fr}
.light .room-booking{border:0;border-radius:4px;top:28px}
.light .room-sections section{border:0;margin-top:18px;padding-block:28px 8px}
.light .room-sections h2{font-size:34px}
.translation-note{color:var(--muted);font-size:14px}
.light .room-content{padding-block:56px 72px}
.light .room-intro h1{margin-bottom:22px}
.light .room-intro .capacity{font-size:16px}
.light .room-facts li{padding-block:5px}
.light .closing h2{font-size:42px}
.light .closing p{margin-bottom:28px}
.light footer{border:0;padding-block:56px;background:#f3f5f9}
.light .foot{grid-template-columns:1.2fr 1fr 1fr;gap:60px}
.light .foot .footer-brand{font:32px/1.2 var(--display);text-decoration:none;display:block;margin-bottom:16px}
.light .foot p{font-size:15px;color:var(--muted);margin-block:12px}
.light .foot a{font-size:15px}
.light .foot nav{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.light #lightbox .prev,.light #lightbox .next{position:absolute;top:48%;width:48px;height:48px;z-index:2;background:#fff;color:var(--ink);border:0;display:grid;place-items:center}
.light #lightbox .prev{left:12px}.light #lightbox .next{right:12px}
.light #lightbox button[hidden]{display:none}
@media(max-width:1180px){.light .top .wrap{gap:15px;width:calc(100% - 48px)}.light .top nav{gap:15px}.light .brand{font-size:27px}.light .top .header-booking{padding-inline:14px}.light .top nav a{font-size:13px}}
@media(max-width:1020px){.light .top nav{display:none}.light .menu{display:block}.light .top .wrap{height:88px}.light .top .header-booking{margin-left:auto}.light .top .language{margin-left:auto}.light .menu>div{top:82px;right:24px;width:min(320px,calc(100vw - 48px));padding:20px 28px}.light .menu a{font-size:17px;min-height:48px}.light .content-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.light .facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.light .page-hero .split{gap:36px}}
@media(max-width:760px){.light .top .wrap{height:auto;min-height:88px;width:calc(100% - 40px);gap:10px;padding-block:14px;display:grid;grid-template-columns:1fr auto auto}.light .brand{font-size:27px;grid-column:1;grid-row:1}.light .brand span{font-size:11px}.light .top .language{grid-column:2;grid-row:1}.light .top .menu{grid-column:3;grid-row:1;margin:0;flex-basis:auto}.light .menu summary{padding:8px 0 8px 8px;font-size:14px;min-height:44px}.light .menu summary::after{width:14px;margin-left:6px}.light .top .header-booking{grid-column:1/-1;grid-row:2;width:100%;margin:2px 0 0;min-height:44px;padding:11px 14px}.light .menu>div{top:76px;right:20px;z-index:20;text-align:left}.light .hero-full{min-height:0;display:block;color:var(--ink);background:#fff}.light .hero-photo{position:relative;display:block;aspect-ratio:4/3;height:auto;z-index:auto}.light .hero-photo img{object-fit:cover;object-position:50% 48%}.light .hero-copy{padding-block:28px 32px}.light .hero-copy h1{font-size:43px;max-width:16ch;color:var(--ink);text-shadow:none;line-height:1.08}.light .hero-copy .btn{background:var(--accent);color:white;width:100%}.light .hero-facts{width:100%;padding:26px 20px;grid-template-columns:1fr 1fr;gap:24px 20px}.light .hero-facts b{font-size:20px}.light .hero-facts span{font-size:13px}.light .home-answer{padding-block:26px 0;font-size:17px}.light section{padding-block:52px}.light .hero-full{padding:0}.light .page-hero{padding-block:38px 28px}.light .page-hero.text-hero{padding-block:40px 12px}.light .page-hero h1{font-size:37px;line-height:1.12;max-width:none;margin-bottom:20px}.light .page-hero .lead{font-size:18px}.light .page-hero .split{gap:28px}.light .page-hero .split>div{order:0}.light .page-hero .photo-figure{order:1}.light .split{gap:28px}.light .split.flip>.photo-figure{order:0}.light .split>div{order:1}.light .split>.photo-figure{order:0}.light .split h2{font-size:33px;max-width:none}.light .content-cards{grid-template-columns:1fr;gap:36px}.light .content-card h3{font-size:28px}.light .content-card>div{padding-top:18px}.light .section-heading{display:block}.light .section-heading h2{margin-bottom:16px}.light .section-heading>a{display:inline-block;margin-bottom:16px}.light .rooms{grid-template-columns:1fr;gap:34px}.light .room-body h3{font-size:30px}.light .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.light .gallery .photo-open{height:150px}.light .gallery>.photo-figure:last-child:nth-child(odd){grid-column:1/-1}.light .gallery>.photo-figure:last-child:nth-child(odd) .photo-open{height:210px}.light .facts-grid{gap:26px 20px}.light .facts-grid dt{font-size:19px}.light .facts-grid dd{font-size:15px}.light .prose h2{font-size:29px;line-height:1.2}.light .practical{padding:22px}.light .practical>div{grid-template-columns:1fr;gap:4px}.light .review-grid{gap:32px}.light .review-grid blockquote{font-size:24px}.light .booking-card{padding:24px 18px}.light .booking-grid{gap:28px}.light .booking-grid h2{font-size:34px}.light .booking-card .two{gap:14px}.light .room-mosaic,.light .room-mosaic[data-count]{height:auto;display:block}.light .room-mosaic>.photo-figure{height:auto}.light .room-mosaic>.photo-figure .photo-open{aspect-ratio:4/3}.light .room-thumbs,.light .room-mosaic[data-count] .room-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;margin-top:8px;gap:8px}.light .room-thumbs .photo-open{aspect-ratio:4/3;height:auto}.light .room-content{padding-block:32px 48px}.light .room-booking{position:static;padding:24px}.light .room-intro h1{font-size:38px}.light .room-mobile-booking{left:20px;right:20px;bottom:12px}.light .room-sections h2{font-size:30px}.light .closing h2{font-size:34px}.light .foot{grid-template-columns:1fr;gap:28px}.light .foot p{margin-block:8px}.light footer{padding-block:40px}.light table{font-size:14px;line-height:1.5}.light th,.light td{padding:14px 8px}.light th:first-child{width:34%}.light thead th{font-size:13px}.light caption{font-size:25px}.light .contact-info{font-size:21px}.light .map{padding:24px;min-height:280px}.light .price-table{margin-block:24px 32px}.light .photo-figure figcaption{font-size:13px}}
@media(max-width:350px){.light .top .wrap{width:calc(100% - 32px);column-gap:7px}.light .brand{font-size:24px}.light .brand span{font-size:10px}.light .top .language{font-size:12px;min-width:26px}.light .menu summary{font-size:13px}.light .menu summary::after{width:12px}.light .hero-copy h1{font-size:38px}.light .hero-facts{padding-inline:16px}.light .page-hero h1{font-size:33px}.light .booking-card{padding:22px 14px}.light .gallery .photo-open{height:125px}.light .hero-facts b{font-size:18px}.light .room-mosaic .room-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}.light th,.light td{padding:13px 5px}.light table{font-size:13px}.light thead th{font-size:12px}.light .facts-grid{grid-template-columns:1fr 1fr}.light .facts-grid dt{font-size:17px}.light .room-mobile-booking{left:16px;right:16px;font-size:15px}}

/* Čtyři domácí tipy tvoří dvě plné řady. Mobilní akce až po kartě ceny. */
@media(min-width:761px){body.light .home-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.light .room-mobile-booking[hidden]{display:none!important}

/* Opravné kolo: kontakty cenové karty mají společné zarovnání. */
.light .room-phone,.light .room-email{display:block;text-align:center;margin-top:16px}

/* Poslední řada vždy vyplní šířku i při 1–8 snímcích. */
@media(min-width:761px){
 .light .gallery{grid-template-columns:repeat(6,minmax(0,1fr))}
 .light .gallery>.photo-figure{grid-column:span 2}
 .light .gallery>.photo-figure:nth-child(3n+1):last-child{grid-column:span 6}
 .light .gallery>.photo-figure:nth-child(3n+1):nth-last-child(2),.light .gallery>.photo-figure:nth-child(3n+2):last-child{grid-column:span 3}
 .light .room-thumbs>.photo-figure:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:760px){
 .light .room-mosaic[data-count] .room-thumbs{grid-template-columns:repeat(6,minmax(0,1fr))}
 .light .room-thumbs>.photo-figure{grid-column:span 2}
 .light .room-thumbs>.photo-figure:nth-child(3n+1):last-child{grid-column:span 6}
 .light .room-thumbs>.photo-figure:nth-child(3n+1):nth-last-child(2),.light .room-thumbs>.photo-figure:nth-child(3n+2):last-child{grid-column:span 3}
}
@media(max-width:350px){.light .room-mosaic[data-count] .room-thumbs{grid-template-columns:repeat(6,minmax(0,1fr))}}
.light .content-cards:has(>article:only-child){display:block}
.light .content-cards>article:only-child .content-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:32px;max-width:980px}
.light .content-cards>article:only-child .content-card:not(:has(>img)){display:block;max-width:780px}
@media(max-width:760px){.light .content-cards>article:only-child .content-card{display:flex;gap:0}}

.light .stay-summary{display:grid;grid-template-columns:1fr 1fr;gap:56px}.light .stay-summary h2{font-size:34px}.light .home-rooms .room-body>p:not(.capacity):not(.translation-note){display:none}
@media(min-width:761px){body.light .home-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.light .stay-summary{grid-template-columns:1fr;gap:32px}.light .stay-summary h2{font-size:30px}}

.light .booking-section{padding-block:44px 64px}.light .booking-intro h1{font-size:clamp(36px,4vw,56px)}
@media(max-width:760px){.light .booking-grid{display:flex;flex-direction:column}.light .booking-grid>*{width:100%}.light .booking-grid>.booking-intro{position:static}.light .booking-intro>p,.light .booking-intro>.phone{display:none}.light .booking-section{padding-top:28px}.light .booking-intro h1{margin-bottom:0}.light .booking-grid{gap:22px}}


/* Článkový text: běžná čitelná sazba a plný kontrast. */
.light .prose{font-size:19px;line-height:1.8;color:var(--ink);max-width:760px;margin-inline:auto}.light .prose p{max-width:65ch}.light .prose h2{color:var(--ink);font-size:36px;line-height:1.2}.light .prose h3{color:var(--ink)}
@media(max-width:760px){.light .prose{font-size:18px;line-height:1.75}.light .prose h2{font-size:30px}}

.light .article-card-photo{margin:0}.light .article-card-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:4px}.light .article-card-photo figcaption{font-size:13px;line-height:1.5;color:var(--muted);padding-top:10px}.light .content-card{height:auto}.light .content-cards>article:only-child{display:grid;grid-template-columns:1fr 1.2fr;gap:32px;max-width:980px}.light .content-cards>article:only-child:not(:has(.article-card-photo)){display:block}.light .content-cards>article:only-child .content-card{display:block}.light .page-hero .photo-figure .photo-open{height:auto;aspect-ratio:4/3}.light .article-photo{padding-top:12px}.light .article-photo .photo-open{aspect-ratio:3/2;height:auto}.light .article-photo img{width:100%;height:100%;object-fit:cover}.light section#mit-hund,.light section#gruppen{padding-block:22px}.light section#mit-hund .prose,.light section#gruppen .prose{font-size:17px}.light section#mit-hund h2,.light section#gruppen h2{font-size:30px}
@media(max-width:760px){.light .content-cards>article:only-child{display:block}.light .page-hero.has-photo h1{font-size:32px}}

.light .room-thumbs>.photo-figure{height:100%}

@media(max-width:760px){.light .booking-intro>p{display:block;font-size:16px;margin:14px 0 0}}

/* Textový tip bez fotografie má vlastní zřetelnou plochu, vedle dvou obrazových tipů. */
.light .home-cards>article:not(:has(.article-card-photo)){background:var(--soft);padding:28px}.light .home-cards>article:not(:has(.article-card-photo)) .content-card>div{padding-top:0}

/* Obsazenost apartmánů: pevná výška boxu, takže vykreslení kalendáře nic neposune. */
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.avail{container-type:inline-size;margin:8px 0 22px;--avail-row:34px;--avail-month:calc(30px + 7 * var(--avail-row))}
.avail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;min-height:46px}
.avail-head .avail-title{margin:0;font-size:24px;line-height:1.2}
.booking-card .avail-head .avail-title{font-size:17px;font-weight:600}
.avail-nav{display:flex;align-items:center;gap:6px;flex-shrink:0}
.avail-nav button{width:44px;height:44px;border:1px solid var(--line);background:white;color:var(--ink);border-radius:4px;display:grid;place-items:center;cursor:pointer;padding:0}
.avail-nav button:disabled{opacity:.35;cursor:default}
.avail-range{font-size:14px;color:var(--muted);white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;max-width:46vw}
.avail-sub{margin:6px 0 10px;font-size:15px;color:var(--muted);line-height:1.4;min-height:calc(2 * 1.4em)}
.avail[data-form] .avail-sub{min-height:calc(3 * 1.4em)}
.avail-body{height:calc(2 * var(--avail-month) + 16px);overflow:hidden}
.avail-months{display:grid;grid-template-columns:1fr;gap:16px}
@container (min-width: 520px){.avail-body{height:var(--avail-month)}.avail-months{grid-template-columns:1fr 1fr;gap:24px}}
.avail-month{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;margin:0}
.avail-month caption{height:30px;line-height:30px;text-align:left;font-weight:600;padding:0;caption-side:top}
.avail-month th{height:var(--avail-row);font-weight:500;color:var(--muted);font-size:12px;text-align:center;padding:0}
.avail-month td{height:var(--avail-row);text-align:center;padding:0;border:2px solid white;background:var(--surface);color:var(--ink);font-variant-numeric:tabular-nums}
.avail-month td:empty{background:transparent}
.avail-month td.past{color:#a2abbb;background:transparent}
.avail-month td.busy{background:#c95b45;color:white;font-weight:600}
.avail-month td.sel{box-shadow:inset 0 0 0 2px var(--accent)}
.avail-month td.busy.sel{box-shadow:inset 0 0 0 3px var(--ink)}
.avail-legend{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0 0;font-size:14px;color:var(--muted);min-height:22px}
.avail-legend span{display:inline-flex;align-items:center;gap:6px}
.avail-key{display:inline-block;width:16px;height:16px;background:var(--surface);border:1px solid var(--line)}
.avail-key.busy{background:#c95b45;border-color:#c95b45}
.avail-key.sel{background:white;box-shadow:inset 0 0 0 2px var(--accent)}
.avail-warn{background:#fdf1dc;color:#6b4300;padding:12px 14px;border-left:4px solid #c98a12;margin:4px 0 14px;font-weight:500}
.avail-warn[hidden]{display:none}
/* Kalendář nesmí převzít šířku a zarovnání prvního sloupce z tabulek ceníku; úzký formulář zalomí navigaci pod nadpis. */
.light .avail-month th:first-child{width:auto;text-align:center}
.avail-head{flex-wrap:wrap}.avail-head .avail-title{flex:1 1 auto;min-width:9em}
/* Správa: měsíční přehled všech apartmánů. Tabulka se posouvá uvnitř rámečku, ne celá stránka. */
.occ-scroll{overflow-x:auto;background:white;border:1px solid var(--line);margin-block:12px 28px;max-width:100%}
.occ{border-collapse:separate;border-spacing:0;font-size:13px;min-width:100%}
.occ th,.occ td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:0;text-align:center}
.occ thead th{min-width:30px;height:44px;font-weight:600;line-height:1.1}
.occ thead th small{display:block;font-weight:400;color:var(--muted);font-size:11px}
.occ tbody th{position:sticky;left:0;z-index:1;background:white;text-align:left;padding:6px 10px;min-width:140px;max-width:180px;font-weight:600;white-space:normal}
.occ thead th:first-child{position:sticky;left:0;z-index:2;background:white;text-align:left;padding-left:10px}
.occ td{height:40px;min-width:30px}
.occ .occ-weekend{background:#f6f7fa}
.occ td a{display:block;width:100%;height:40px}
.occ td.occ-stay,.occ-dot.occ-stay{background:var(--accent)}
.occ td.occ-block,.occ-dot.occ-block{background:repeating-linear-gradient(135deg,#7d8699 0 6px,#a3abbb 6px 12px)}
.occ td.occ-clash,.occ-dot.occ-clash{background:#b3261e}
.occ-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:15px}
.occ-legend span{display:inline-flex;gap:8px;align-items:center}
.occ-dot{display:inline-block;width:16px;height:16px;flex-shrink:0;border-radius:2px}
.occ-items{list-style:none;padding:0;margin:0 0 24px}
.occ-item{display:flex;gap:12px;align-items:flex-start;background:white;padding:14px 16px;margin-bottom:8px;border-radius:4px}
.occ-item .occ-dot{margin-top:5px}
.admin-main .occ-item form.inline-form{display:inline;background:none;padding:0;margin:0 0 0 10px;box-shadow:none}
.occ-months a{min-width:0}
@media (max-width: 760px){.occ tbody th{min-width:96px;max-width:120px;font-size:12px}.avail-head .avail-title{font-size:20px}}

/* Rezervace a Kontakt: vlevo nadpis a kontakt s mapou, vpravo formulář. Na mobilu nadpis, formulář, kontakt. */
.light .booking-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-areas:"intro form" "contact form";grid-template-rows:auto 1fr;column-gap:clamp(30px,6vw,96px);row-gap:28px;align-items:start}
.light .booking-grid>.booking-intro{grid-area:intro;position:static}
.light .booking-grid>#book{grid-area:form}
.light .booking-grid>.booking-contact{grid-area:contact;position:static}
.booking-contact h2{font-size:26px;margin:0 0 12px}
.booking-contact p{margin:0 0 8px}
.booking-contact .contact-info{display:flex;flex-direction:column;gap:6px;font-size:20px;margin:14px 0 22px}
.light .booking-map{min-height:0;aspect-ratio:4/3;padding:24px;background:#fff;border:1px solid #dde3ee;border-radius:5px;overflow:hidden;gap:12px;align-items:flex-start;justify-content:center;position:relative}
.light .booking-map.loaded{padding:0}
.light .booking-map iframe{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:760px){.light .booking-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "form" "contact";grid-template-rows:auto;row-gap:22px}.booking-contact .contact-info{font-size:18px}}
/* Výběr termínu: plovoucí kalendář pod poli data, nic neposouvá. */
.booking-card .dates{position:relative}
.light .booking-card .date-view{cursor:pointer;caret-color:transparent}
.range-pop{position:absolute;z-index:30;top:calc(100% - 8px);left:0;right:0;background:#fff;border:1px solid #c5cedf;border-radius:6px;box-shadow:0 14px 40px rgba(20,30,50,.18);padding:14px}
.range-pop[hidden]{display:none}
.rp-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rp-title{font-size:17px}
.rp-nav{width:44px;height:44px;border:1px solid #c5cedf;background:#fff;border-radius:4px;font-size:24px;line-height:1;cursor:pointer;color:var(--ink)}
.rp-nav:disabled{opacity:.35;cursor:default}
.rp-hint{margin:8px 0;font-size:14px;color:var(--muted);min-height:1.5em}
.rp-grid{width:100%;border-collapse:collapse;table-layout:fixed;margin:0}
.light .rp-grid thead{background:none}
.light .rp-grid th,.light .rp-grid th:first-child{width:auto;text-align:center;font-size:12px;color:var(--muted);font-weight:500;padding:4px 0}
.light .rp-grid td{padding:2px;text-align:center}
.rp-day{width:100%;height:40px;border:0;border-radius:4px;font:inherit;font-size:15px;cursor:pointer;color:var(--ink);background:#e4f1e2;font-variant-numeric:tabular-nums;padding:0}
.rp-day.partly{background:#fbe8c0}
.rp-day.full{background:#f2d3cc;color:#7a2d1f;text-decoration:line-through}
.rp-day.past{background:transparent;color:#a2abbb}
.rp-day:disabled{cursor:default}
.rp-day.rp-in{box-shadow:inset 0 0 0 2px var(--accent)}
.rp-day.rp-a,.rp-day.rp-b{background:var(--accent);color:#fff;text-decoration:none}
.rp-day:focus-visible{outline:3px solid var(--ink);outline-offset:1px}
.rp-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--muted);margin:10px 0 0}
.rp-legend span{display:inline-flex;align-items:center;gap:6px}
.rp-key{width:14px;height:14px;border-radius:3px;display:inline-block}
.rp-key.free{background:#e4f1e2}.rp-key.partly{background:#fbe8c0}.rp-key.full{background:#f2d3cc}
.rp-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:12px}
.light .booking-card .rp-foot .btn{width:auto;min-height:44px;padding-inline:22px}
.rp-foot .text-button{background:none;border:0;color:var(--accent);text-decoration:underline;cursor:pointer;font:inherit;font-size:15px;padding:10px 0}
.range-note{background:#fdf1dc;color:#6b4300;padding:12px 14px;border-left:4px solid #c98a12;margin:4px 0 14px;font-weight:500}
.range-note[hidden]{display:none}
/* Správa: přihlášení e-mailem a stránka Přístupy (jen body.admin) */
.admin .notice{background:#e6f1f8;padding:15px;border-left:4px solid var(--accent)}
.admin .access-list{list-style:none;padding:0;margin:0 0 20px;max-width:900px}
.admin .access-list li{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#fff;padding:16px 18px;margin-bottom:8px;border-radius:4px}
.admin .access-list li>div:first-child{display:grid;gap:3px}
.admin .access-list span{color:var(--muted);font-size:15px}
.admin .access-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.admin-main .access-actions form{background:none;padding:0;margin:0}
.admin .phrase-login{margin-top:26px;border-top:1px solid var(--line);padding-top:16px}
.admin .phrase-login summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--muted)}
@media (max-width:700px){.admin .access-list li{flex-direction:column}}
