/* WhatsApp joins the other header actions instead of covering page content. */
header .whatsapp-header {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:none;
  width:44px;
  min-width:44px;
  height:44px;
  min-height:44px;
  padding:0;
  border:0;
  border-radius:5px;
  background:var(--sage,#526a53);
  color:#fff!important;
  text-decoration:none!important;
}
header .whatsapp-header svg { width:24px;height:24px;flex:none;fill:currentColor; }
header .whatsapp-header span { display:none; }
header .whatsapp-header:hover,header .whatsapp-header:focus-visible { background:#354b3b;outline:2px solid var(--sage,#526a53);outline-offset:2px; }
@media(min-width:1500px){header .whatsapp-header{width:auto;padding-inline:12px;font-size:.9rem;font-weight:600}header .whatsapp-header span{display:inline}}

/* The same compact card size for every bedroom and space in both lodgings.
   Small originals are not stretched to the former large two-column width. */
html body .rooms .bed-grid {
  display:flex!important;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:20px;
  margin-inline:auto;
}
html body .rooms .bed-grid .bed {
  flex:0 1 calc((100% - 40px)/3);
  min-width:0;
  width:100%;
  max-width:376px;
}
html body .rooms .bed-photo {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2!important;
  overflow:hidden;
}
html body .rooms .bed-photo img { display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important; }
html body .rooms .bed-body { padding:18px 20px; }
html body .rooms .bed .room-tour-button { max-width:100%;min-height:44px; }
@media(max-width:900px){html body .rooms .bed-grid .bed{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:600px){html body .rooms .bed-grid .bed{flex-basis:100%;max-width:376px}html body .rooms .bed-grid{gap:18px}html body .rooms .bed-body{padding:16px 18px}}

/* A two-row header on phones keeps the house name, language, reservation,
   WhatsApp and menu readable even on narrow screens and in long translations. */
@media(max-width:780px){
  html body header .nav {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;
    grid-template-areas:"brand brand wa" "lang book menu";
    direction:ltr;
    align-items:center;
    justify-content:stretch;
    gap:6px 8px!important;
    min-height:0!important;
    padding:8px 12px!important;
  }
  html body header .navend{display:contents!important}
  html body header .nav > .brand{grid-area:brand;justify-self:start;max-width:100%;font-size:clamp(1rem,4vw,1.24rem)!important;white-space:normal;text-align:start}
  html body header .nav > .navlinks{grid-area:auto;position:absolute;top:100%;left:0;right:0;overflow:auto;max-height:65vh}
  html body header .navend .language-select{grid-area:lang;justify-self:stretch;width:100%;max-width:none!important;min-width:0;min-height:40px;font-size:.81rem}
  html body header .navend > a.btn{grid-area:book;display:inline-flex!important;justify-content:center;align-items:center;min-width:0;min-height:40px!important;padding:7px 5px!important;font-size:.82rem!important;white-space:normal;line-height:1.2;text-align:center}
  html body header .navend .menu{grid-area:menu;display:block!important;width:44px;min-width:44px;height:40px;padding:0!important;justify-self:end}
  html body header .whatsapp-header{grid-area:wa;justify-self:end}
  html[dir=rtl] body header .navend :is(.language-select,.btn){direction:rtl}
  html body .footer{padding-bottom:40px!important}
  html body section[id]{scroll-margin-top:150px}
}
