/* vop-r75b-width: nested containers and contact split. Palette A unchanged. */

@media screen and (min-width: 1024px) {
  body.vop-pass-r75.template-home #main-content .container,
  body.vop-pass-r75.template-page #main-content .container,
  body.vop-pass-r75.template-contacts #main-content .container,
  body.vop-pass-r75.template-contacts .f-page-header .container,
  body.vop-pass-r75.template-contacts .f-page-header .container-fluid,
  body.vop-pass-r75.template-product #main-content .vop-product-promotion .container {
    width: min(1840px, calc(100vw - 64px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

body.vop-pass-r75.template-page #main-content .vop-about-rooms .f-richtext,
body.vop-pass-r75.template-page #main-content .vop-about-rooms .f-richtext__description,
body.vop-pass-r75.template-page #main-content .vop-about-rooms .rte,
body.vop-pass-r75.template-page #main-content .vop-about-principles .f-richtext,
body.vop-pass-r75.template-page #main-content .vop-about-principles .rte,
body.vop-pass-r75.template-page #main-content .vop-about-contact .rte,
body.vop-pass-r75.template-page #main-content .vop-about-rooms .vop-room-grid,
body.vop-pass-r75.template-page #main-content .vop-about-principles .vop-principles {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.vop-pass-r75.template-contacts .vop-contact-reference .f-image-with-text__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  align-items: center !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.vop-pass-r75.template-contacts .vop-contact-reference .f-image-with-text__image,
body.vop-pass-r75.template-contacts .vop-contact-reference .f-image-with-text__image-first,
body.vop-pass-r75.template-contacts .vop-contact-reference .f-image-with-text__content,
body.vop-pass-r75.template-contacts .vop-contact-reference .f-content-box {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
}

body.vop-pass-r75.template-contacts .vop-contact-reference .f-image-with-text__content,
body.vop-pass-r75.template-contacts .vop-contact-reference .f-content-box,
body.vop-pass-r75.template-contacts .vop-contact-reference .f-richtext__description,
body.vop-pass-r75.template-contacts .vop-contact-reference .rte {
  max-width: none !important;
  overflow-wrap: anywhere;
}

body.vop-pass-r75.template-contacts .vop-contact-reference responsive-image,
body.vop-pass-r75.template-contacts .vop-contact-reference .f-image,
body.vop-pass-r75.template-contacts .vop-contact-reference .f-image-with-text__image-first {
  display: block !important;
  width: 100% !important;
  --aspect-ratio: 1.333333 !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #E7DCCD !important;
}

body.vop-pass-r75.template-contacts .vop-contact-reference img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

body.vop-pass-r75.template-product #main-content .vop-product-promotion .f-image-with-text__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) !important;
  align-items: center !important;
  gap: 32px !important;
  width: 100% !important;
}

body.vop-pass-r75.template-product #main-content .vop-product-promotion .f-image-with-text__image,
body.vop-pass-r75.template-product #main-content .vop-product-promotion .f-image-with-text__content,
body.vop-pass-r75.template-product #main-content .vop-product-promotion .f-content-box {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
}

@media screen and (max-width: 1023px) {
  body.vop-pass-r75.template-contacts .vop-contact-reference .f-image-with-text__inner,
  body.vop-pass-r75.template-product #main-content .vop-product-promotion .f-image-with-text__inner {
    grid-template-columns: 1fr !important;
  }
}
