/*
Theme Name: Bergwinkl Relaunch
Theme URI: https://bergwinkl.info/
Author: INOOVA
Description: Schlankes WordPress-Theme für das Gästehaus Bergwinkl.
Version: 1.0.10
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bergwinkl
*/

@font-face {
  font-family: Lora;
  src: url("assets/fonts/lora-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("assets/fonts/lora-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("assets/fonts/alegreya-sans-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("assets/fonts/alegreya-sans-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("assets/fonts/alegreya-sans-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --bw-blue: #1e4478;
  --bw-blue-dark: #12325c;
  --bw-blue-light: #4c7cb5;
  --bw-cream: #f6f4ef;
  --bw-mist: #e7ecf2;
  --bw-ink: #1f2733;
  --bw-white: #fff;
  --bw-font-head: Lora, Georgia, serif;
  --bw-font-body: "Alegreya Sans", Arial, sans-serif;
  --bw-radius-card: 14px;
  --bw-radius-box: 16px;
  --bw-radius-band: 18px;
  --bw-radius-bar: 20px;
  --bw-radius-pill: 999px;
  --bw-container: 1240px;
  --bw-gutter: 28px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bw-cream);
  color: var(--bw-ink);
  font: 400 18px/1.6 var(--bw-font-body);
}
body.admin-bar .site-header {
  top: 32px;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  font: inherit;
}
a {
  color: var(--bw-blue);
  text-decoration: none;
}
a:hover {
  color: var(--bw-blue-dark);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--bw-blue-light);
  outline-offset: 3px;
}
.container {
  width: min(100% - 2 * var(--bw-gutter), var(--bw-container));
  margin-inline: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--bw-font-head);
  font-weight: 400;
  line-height: 1.16;
  color: var(--bw-blue);
}
h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
}
h2 {
  font-size: clamp(2rem, 3.3vw, 2.5rem);
}
h3 {
  font-size: 1.4rem;
}
p {
  margin-bottom: 1.2em;
}
.screen-reader-text {
  position: absolute;
  left: -10000px;
}
.screen-reader-text:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 10px;
}
.eyebrow {
  display: block;
  color: var(--bw-blue-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 14px;
  background: var(--bw-blue);
  color: var(--bw-cream);
  padding: 15px 25px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.button:hover {
  background: var(--bw-blue-dark);
  color: #fff;
  transform: translateY(-2px);
}
.text-link {
  font-weight: 700;
  border-bottom: 1px solid var(--bw-blue-light);
  padding-bottom: 3px;
}
section[id] {
  scroll-margin-top: 100px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 244, 239, 0.98);
  border-bottom: 1px solid rgba(76, 124, 181, 0.25);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-image {
  display: block;
  max-width: 235px;
  max-height: 72px;
  width: auto;
  height: auto;
}
.site-nav {
  margin-left: auto;
}
.site-nav .menu,
.site-nav .menu > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
}
.site-nav li {
  position: relative;
}
.site-nav a {
  display: block;
  padding: 12px 0;
  color: rgba(31, 39, 51, 0.78);
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--bw-blue-dark);
}
.site-nav .sub-menu,
.site-nav .children {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 215px;
  list-style: none;
  margin: 0;
  padding: 10px 18px;
  background: var(--bw-white);
  box-shadow: 0 16px 40px rgba(30, 68, 120, 0.15);
  border: 1px solid rgba(76, 124, 181, 0.15);
  border-radius: 12px;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu,
.site-nav li:hover > .children,
.site-nav li:focus-within > .children {
  display: block;
}
.site-nav .sub-menu .sub-menu {
  left: 100%;
  top: 0;
}
.site-nav .sub-menu a {
  padding: 5px 0;
}
.header-phone {
  font-weight: 700;
  white-space: nowrap;
  margin-left: 15px;
}
.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bw-mist);
}
.hero-home {
  height: min(720px, 74vw);
  min-height: 560px;
}
.hero-page {
  height: 340px;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    103deg,
    rgba(246, 244, 239, 0.94) 0%,
    rgba(246, 244, 239, 0.82) 26%,
    rgba(246, 244, 239, 0.34) 48%,
    rgba(246, 244, 239, 0) 66%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-block: 70px;
}
.hero-content h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 3.3vw, 3rem);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero-content p {
  max-width: 470px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(31, 39, 51, 0.82);
}
.eyebrow-pill {
  align-self: flex-start;
  border: 1px solid rgba(76, 124, 181, 0.45);
  border-radius: 999px;
  padding: 5px 14px;
  color: var(--bw-blue-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 84px;
  right: max(var(--bw-gutter), calc((100vw - var(--bw-container)) / 2));
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-page .hero-dots {
  bottom: 25px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 68, 120, 0.4);
  cursor: pointer;
  transition:
    width 0.4s ease,
    background 0.4s ease;
}
.hero-dot.is-active {
  width: 26px;
  background: var(--bw-blue);
}

.booking-section {
  position: relative;
  z-index: 20;
}
.hero + .booking-top {
  margin-top: -56px;
}
.booking-bottom {
  margin-block: 100px 0;
}
.booking-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(76, 124, 181, 0.25);
  border-radius: var(--bw-radius-bar);
  padding: 12px 12px 12px 26px;
  box-shadow: 0 20px 50px -26px rgba(30, 68, 120, 0.45);
}
.booking-bar > div {
  padding: 4px 20px 4px 0;
  border-right: 1px solid rgba(31, 39, 51, 0.1);
}
.booking-bar > div:nth-child(3) {
  border: 0;
}
.booking-label {
  display: block;
  font-size: 14px;
  color: rgba(31, 39, 51, 0.55);
}
.booking-bar strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.booking-bar .button {
  min-height: 62px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  max-width: 340px;
  color: rgba(31, 39, 51, 0.65);
  font-size: 16px;
  margin: 0;
}
.section-heading.centered {
  justify-content: center;
  text-align: center;
  margin-bottom: 35px;
}

.welcome-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  padding-block: 110px 100px;
}
.welcome-section h2 {
  max-width: 420px;
}
.welcome-section > div:nth-child(2) > p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(31, 39, 51, 0.82);
}
.signature {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(31, 39, 51, 0.15);
  padding-top: 20px;
  margin-top: 32px;
}
.signature strong {
  font: 400 23px var(--bw-font-head);
  color: var(--bw-blue);
}
.signature span {
  font-size: 14px;
  color: rgba(31, 39, 51, 0.55);
}
.apartments-section {
  padding-block: 18px 100px;
}
.apartment-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.apartment-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.apartment-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.apartment-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(31, 39, 51, 0.11);
  border-radius: var(--bw-radius-card);
  overflow: hidden;
  min-width: 0;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.apartment-card:hover {
  border-color: var(--bw-blue-light);
  transform: translateY(-3px);
}
.card-image {
  position: relative;
  display: block;
  height: 240px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.apartment-card:hover .card-image img {
  transform: scale(1.035);
}
.card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(246, 244, 239, 0.94);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 25px;
}
.card-body h3 {
  font-size: 26px;
  margin-bottom: 12px;
}
.card-body h3 a {
  color: inherit;
}
.card-body p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(31, 39, 51, 0.7);
  min-height: 72px;
  margin-bottom: 20px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  border-top: 1px solid rgba(31, 39, 51, 0.11);
  padding-top: 16px;
  font-size: 15px;
}
.card-more {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.tour-card {
  display: flex;
  flex-direction: column;
  min-height: 425px;
  border-radius: var(--bw-radius-card);
  padding: 35px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(18, 50, 92, 0.92), rgba(30, 68, 120, 0.78)),
    url("assets/images/region-sommer.jpg") center/cover;
}
.tour-card:hover {
  color: #fff;
}
.tour-card .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.tour-card strong {
  font: 400 34px/1.25 var(--bw-font-head);
  margin-bottom: 20px;
}
.tour-card > span:not(.eyebrow) {
  line-height: 1.7;
}
.tour-card em {
  font-style: normal;
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.facts-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  border-top: 1px solid rgba(31, 39, 51, 0.14);
  padding-block: 55px 105px;
}
.facts-section strong {
  display: block;
  font: 400 48px var(--bw-font-head);
  color: var(--bw-blue-light);
}
.facts-section h3 {
  font-size: 22px;
  margin: 12px 0;
}
.facts-section p {
  font-size: 16px;
  color: rgba(31, 39, 51, 0.68);
  max-width: 260px;
}
.region-section {
  background: var(--bw-mist);
  padding-block: 85px;
}
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.region-grid > img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--bw-radius-card);
}
.region-grid p {
  font-size: 18px;
  color: rgba(31, 39, 51, 0.75);
}
.region-feature {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--bw-blue-light);
  padding-left: 17px;
  margin: 20px 0;
}
.region-feature strong {
  color: var(--bw-blue);
  font-weight: 700;
}
.region-feature span {
  font-size: 16px;
  color: rgba(31, 39, 51, 0.7);
}
.region-grid .text-link {
  display: inline-block;
  margin-top: 20px;
}
.existing-content {
  padding-top: 105px;
}
.existing-content .prose {
  columns: 2 360px;
  column-gap: 70px;
}
.existing-content .prose h2 {
  break-after: avoid;
  font-size: 27px;
}
.existing-content .prose img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.existing-content .prose > div {
  break-inside: avoid;
}

.page-main {
  padding-block: 45px 70px;
  min-height: 50vh;
}
.breadcrumb {
  font-size: 14px;
  color: rgba(31, 39, 51, 0.55);
  margin-bottom: 44px;
}
.breadcrumb span {
  padding-inline: 7px;
}
.breadcrumb span:last-child {
  color: var(--bw-ink);
}
.standard-page {
  max-width: 900px;
  margin-inline: auto;
}
.standard-page h1 {
  margin-bottom: 36px;
}
.prose {
  font-size: 18px;
  line-height: 1.75;
}
.prose h2 {
  margin-top: 1.7em;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose img {
  border-radius: 10px;
}
.prose iframe {
  max-width: 100%;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li {
  margin-bottom: 0.3em;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 35px;
}
.detail-heading h1 {
  margin-bottom: 0;
}
.detail-heading > p {
  max-width: 320px;
  color: rgba(31, 39, 51, 0.65);
  margin: 0;
}
.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  height: 530px;
}
.gallery-feature {
  min-width: 0;
  position: relative;
}
.gallery-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--bw-radius-box);
}
.gallery-feature p {
  position: absolute;
  left: 15px;
  bottom: 10px;
  background: rgba(246, 244, 239, 0.9);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  margin: 0;
}
.gallery-feature p:empty {
  display: none;
}
.gallery-thumbs {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 10px;
  min-height: 0;
  overflow: auto;
}
.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  min-height: 70px;
}
.gallery-thumb.is-active {
  border-color: var(--bw-blue-light);
}
.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 75px;
  padding-top: 75px;
}
.detail-content .prose h2 {
  margin-top: 0;
}
.floor-plan {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  background: var(--bw-mist);
  border-radius: var(--bw-radius-box);
  padding: 25px;
  margin-top: 50px;
}
.floor-plan img {
  max-width: 230px;
  max-height: 260px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}
.price-panel {
  position: sticky;
  top: 125px;
  align-self: start;
  background: #fff;
  border: 1px solid rgba(31, 39, 51, 0.1);
  border-radius: var(--bw-radius-box);
  padding: 30px;
}
.price-panel h2 {
  font-size: 29px;
}
.price-content {
  font-size: 16px;
  line-height: 1.6;
}
.price-content h2,
.price-content h3 {
  font-size: 22px;
}
.price-panel .button {
  width: 100%;
  border-radius: 999px;
  font-size: 15px;
  margin-top: 20px;
}
.price-panel > p:last-child {
  margin: 20px 0 0;
  font-size: 15px;
}
.other-apartments {
  padding-top: 95px;
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.other-grid > a {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(31, 39, 51, 0.1);
}
.other-grid img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.other-grid span {
  display: block;
  padding: 13px 15px;
  font: 400 18px var(--bw-font-head);
}

.contact-section {
  padding-top: 110px;
}
.contact-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  background: var(--bw-blue);
  color: var(--bw-cream);
  border-radius: var(--bw-radius-band);
  padding: 48px 56px;
}
.contact-band h2 {
  color: #fff;
  font-size: 36px;
}
.contact-band .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}
.contact-band p {
  max-width: 430px;
  color: rgba(246, 244, 239, 0.72);
  font-size: 16px;
  margin-bottom: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-left: 1px solid rgba(246, 244, 239, 0.2);
  padding-left: 55px;
  justify-content: center;
}
.contact-details a,
.contact-details address {
  color: #fff;
  font-style: normal;
  font-size: 20px;
}
.contact-details a:hover {
  text-decoration: underline;
}
.site-footer {
  position: relative;
  background: var(--bw-ink);
  color: rgba(246, 244, 239, 0.8);
  margin-top: 110px;
  padding: 75px 0 30px;
}
.site-footer::before {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: -40px;
  height: 42px;
  background: var(--bw-ink);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 50px;
}
.footer-brand img {
  width: 250px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 300px;
  margin-top: 15px;
}
.footer-grid h2 {
  font: 700 12px var(--bw-font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.45);
  margin: 0 0 18px;
}
.footer-grid > div > a {
  display: block;
  color: rgba(246, 244, 239, 0.8);
  font-size: 16px;
  margin-bottom: 9px;
}
.footer-grid > div > a:hover {
  color: #fff;
}
.footer-grid > div > p {
  font-size: 16px;
  margin-bottom: 8px;
}
.subfooter {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(246, 244, 239, 0.14);
  padding-top: 25px;
  margin-top: 55px;
  font-size: 13px;
  color: rgba(246, 244, 239, 0.55);
}
.subfooter nav {
  display: flex;
  gap: 20px;
}
.subfooter a {
  color: inherit;
}

@media (max-width: 1100px) {
  .site-nav .menu,
  .site-nav .menu > ul {
    gap: 17px;
  }
  .header-phone {
    margin-left: 0;
  }
  .brand-image {
    max-width: 200px;
  }
  .header-inner {
    gap: 15px;
  }
  .apartment-grid.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  .header-inner {
    min-height: 80px;
  }
  .brand-image {
    max-height: 60px;
  }
  .menu-toggle {
    display: flex;
    order: 3;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 43px;
    height: 43px;
    padding: 9px;
    border: 1px solid rgba(30, 68, 120, 0.35);
    border-radius: 9px;
    background: none;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--bw-blue);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bw-cream);
    padding: 10px var(--bw-gutter) 25px;
    border-bottom: 1px solid rgba(30, 68, 120, 0.2);
    max-height: 75vh;
    overflow: auto;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav .menu,
  .site-nav .menu > ul {
    display: block;
  }
  .site-nav a {
    white-space: normal;
    padding: 9px 0;
  }
  .site-nav .sub-menu,
  .site-nav .children {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    background: none;
    padding: 0 0 0 20px;
  }
  .header-phone {
    margin-left: auto;
  }
  .hero-home {
    height: 610px;
    min-height: 0;
  }
  .hero-content h1 {
    max-width: 570px;
  }
  .booking-bar {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
  }
  .booking-bar > div:nth-child(2) {
    border: 0;
  }
  .booking-bar > div:nth-child(3) {
    display: none;
  }
  .booking-bar .button {
    grid-column: 1/-1;
  }
  .welcome-section {
    gap: 35px;
  }
  .apartment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .region-grid {
    gap: 30px;
  }
  .detail-content {
    gap: 35px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  :root {
    --bw-gutter: 20px;
  }
  body.admin-bar .site-header {
    top: 0;
  }
  .header-phone {
    font-size: 15px;
  }
  .brand-image {
    max-width: 145px;
    max-height: 50px;
  }
  .hero-home {
    height: 580px;
  }
  .hero-home .hero-slide {
    object-position: center top;
    transform: scale(1.5);
    transform-origin: center top;
  }
  .hero-page {
    height: 220px;
  }
  .hero-wash {
    background: linear-gradient(
      90deg,
      rgba(246, 244, 239, 0.94),
      rgba(246, 244, 239, 0.58) 78%,
      rgba(246, 244, 239, 0.35)
    );
  }
  .hero-content {
    justify-content: end;
    padding-bottom: 100px;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 7vw, 2.4rem);
  }
  .hero-content p {
    font-size: 17px;
    line-height: 1.5;
  }
  .hero-dots {
    right: 20px;
    bottom: 28px;
  }
  .hero + .booking-top {
    margin-top: -28px;
  }
  .booking-bar {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .booking-bar > div {
    border: 0;
    border-bottom: 1px solid rgba(31, 39, 51, 0.1);
    padding: 3px 0 10px;
  }
  .booking-bar > div:nth-child(2) {
    border: 0;
  }
  .booking-bar .button {
    grid-column: auto;
  }
  .booking-bottom {
    margin-top: 70px;
  }
  .welcome-section {
    grid-template-columns: 1fr;
    padding-block: 75px;
  }
  .apartments-section {
    padding-bottom: 70px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 18px;
  }
  .apartment-grid,
  .apartment-grid.columns-2,
  .apartment-grid.columns-4 {
    grid-template-columns: 1fr;
  }
  .card-image {
    height: 250px;
  }
  .tour-card {
    min-height: 350px;
  }
  .facts-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 70px;
  }
  .facts-section strong {
    font-size: 38px;
  }
  .region-section {
    padding-block: 65px;
  }
  .region-grid {
    grid-template-columns: 1fr;
  }
  .region-grid > img {
    height: 290px;
  }
  .existing-content {
    padding-top: 70px;
  }
  .existing-content .prose {
    columns: 1;
  }
  .page-main {
    padding-top: 30px;
  }
  .breadcrumb {
    margin-bottom: 30px;
  }
  .detail-heading {
    display: block;
  }
  .detail-heading > p {
    margin-top: 18px;
  }
  .detail-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-feature {
    height: 310px;
  }
  .gallery-thumbs {
    display: flex;
    overflow: auto;
    min-height: 0;
  }
  .gallery-thumb {
    width: 85px;
    height: 70px;
    flex: 0 0 85px;
  }
  .detail-content {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }
  .price-panel {
    position: static;
  }
  .floor-plan {
    display: block;
  }
  .floor-plan img {
    max-width: 100%;
  }
  .other-apartments {
    padding-top: 70px;
  }
  .other-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .other-grid img {
    height: 110px;
  }
  .other-grid span {
    font-size: 15px;
  }
  .contact-section {
    padding-top: 70px;
  }
  .contact-band {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px;
  }
  .contact-band h2 {
    font-size: 30px;
  }
  .contact-details {
    border: 0;
    border-top: 1px solid rgba(246, 244, 239, 0.2);
    padding: 25px 0 0;
  }
  .contact-details a,
  .contact-details address {
    font-size: 18px;
  }
  .site-footer {
    margin-top: 75px;
    padding-top: 55px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand img {
    width: 220px;
  }
  .subfooter {
    display: block;
    margin-top: 35px;
  }
  .subfooter nav {
    margin-top: 12px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide:not(.is-active) {
    display: none;
  }
}
.hero-slide {
  object-position: center center;
}

/* Release QA: controls remain readable and usable at every width. */
.booking-top { margin-top: 32px; }
.hero + .booking-top { margin-top: -56px; }
.booking-bar label { min-width: 0; padding: 4px 12px; }
.booking-bar input, .booking-bar select { display: block; width: 100%; min-width: 0; min-height: 44px; border: 0; background: white; color: var(--bw-ink); font: inherit; }
.booking-label { color: #526174; }
.booking-note { font-size: 14px; margin: 10px 20px 0; color: #526174; }
.section-heading.centered { flex-direction: column; align-items: center; gap: 12px; }
.hero-dot { width: 44px; height: 44px; background: transparent; position: relative; }
.hero-dot::after { content: ''; display: block; margin: auto; width: 8px; height: 8px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--bw-blue); }
.hero-dot.is-active { width: 44px; background: transparent; }
.hero-dot.is-active::after { width: 26px; background: var(--bw-blue); }
.home-mosaic { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 100px; }
.home-mosaic img { width: 100%; height: 420px; object-fit: cover; border-radius: 14px; }
@media (max-width: 1000px) { html:not(.js) .site-nav { display: block; position: static; max-height: none; width: 100%; } html:not(.js) .header-inner { flex-wrap: wrap; } html:not(.js) .menu-toggle { display: none; } }
@media (max-width: 640px) { .hero + .booking-top { margin-top: -28px; } .hero-dots { bottom: 36px; gap: 0; } .home-mosaic { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 70px; } .home-mosaic img { height: 240px; } }

.card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-title > span { flex-shrink: 0; font-size: 14px; color: #526174; }

/* Preserve the existing price content without the legacy five-column squeeze. */
.page-id-9 .standard-page { max-width: 1240px; }
.page-id-9 #pg-9-1 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.page-id-9 #pg-9-1 > .panel-grid-cell { width: auto !important; min-width: 0; margin: 0 !important; padding: 24px !important; background: #fff; border: 1px solid #d4deea; border-radius: 16px; }
.page-id-9 #pg-9-1 h2 { font-size: 28px; line-height: 1.2; margin: 20px 0; overflow-wrap: anywhere; }
.page-id-9 #pg-9-1 p { margin-bottom: 16px; }
.page-id-9 #pg-9-1 .panel-grid-cell-empty { display: none; }

/* The legacy holiday template shows two previews; further images stay in the lightbox. */
.page-id-4104 .prose .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0; }
.page-id-4104 .prose .gallery-item { width: auto; min-width: 0; margin: 0; }
.page-id-4104 .prose .gallery-item:nth-of-type(n+3) { display: none; }
.page-id-4104 .prose .gallery img { display: block; width: 100%; height: auto; }
.page-id-4104 .prose .gallery-caption { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.page-id-4104 .prose .gallery > br { display: none; }
@media (max-width: 1000px) {
  .page-id-9 #pg-9-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-id-9 #pg-9-1, .page-id-4104 .prose .gallery { grid-template-columns: 1fr; }
}
