/* ==========================================================================
   Responsive Design for Haus am Brockeswald
   Scales the fixed 760px layout for smaller screens
   ========================================================================== */

/* Container responsive scaling */
@media screen and (max-width: 780px) {
  #xr_xr {
    left: 0 !important;
    margin-left: 0 !important;
    transform-origin: top left;
    transform: scale(calc(100vw / 760));
    width: 760px !important;
  }

  body {
    overflow-x: hidden;
  }
}

/* Adjust body height for scaled content */
@media screen and (max-width: 780px) {
  body {
    min-height: calc(1000px * (100vw / 760));
  }
}

/* Ensure images scale properly */
img {
  max-width: none; /* Keep original sizing within scaled container */
}

/* Touch-friendly links on mobile */
@media screen and (max-width: 780px) {
  a img {
    min-height: 44px;
    min-width: 44px;
  }
}
