/* WordPress integration and dynamic-booking refinements. */
.screen-reader-text,
.sr-only {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 12px;
  top: 12px;
  width: auto;
  z-index: 100000;
  background: #fff;
  color: #111;
  padding: 12px 16px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-shell nav li { display: contents; }
.nav-shell nav .menu-item-has-children > .sub-menu { display: none; }
.final-logo-wordmark > a { display: flex; align-items: center; width: 100%; height: 100%; }
.brand-logo-image { object-fit: contain; }

.calendar-day.selected,
.calendar-day[aria-pressed="true"] {
  border-color: var(--wood-dark);
  color: #fff;
  text-shadow: 0 1px 2px #2a160b;
  background: url(../images/oud-wood-texture.png) 50%/cover;
}

.booking-message {
  min-height: 1.5em;
  margin-top: 12px;
  font-size: .9rem;
}

.booking-message.is-success { color: #2c6b45; }
.booking-message.is-error { color: #9a2c20; }
.booking-card.is-submitting { opacity: .72; pointer-events: none; }

.wp-content-shell {
  min-height: 65vh;
  max-width: 900px;
  margin: 0 auto;
  padding-top: clamp(140px, 18vw, 220px);
  background: #f7f4ef;
}

.wp-entry h1 { font-family: Georgia, serif; font-size: clamp(42px, 7vw, 82px); line-height: .95; }
.wp-entry h1 a { color: inherit; text-decoration: none; }
.entry-content { font-size: 18px; line-height: 1.75; }
.entry-content > * { max-width: 760px; }
.entry-content img { max-width: 100%; height: auto; }

body.admin-bar .nav-shell { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .nav-shell { top: 46px; }
}

@media (max-width: 800px) {
  .primary-menu { display: none; }
}


