/* Shared site presentation. The reference styling also applies in the editor. */
:is(body.mrl-site-presentation, .editor-styles-wrapper) .mrl-empty-media {
  min-height: 180px;
  background: #17213b;
  border: 1px solid #334568;
  width: 100%;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) :is(img:not([src]), img[src=""]) {
  visibility: hidden;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) :is(.wp-block-theme-herobanner, .heros-tail, .wp-block-theme-footer) {
  background-color: #111731;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .heros-tail {
  min-width: 0;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .thank-you-page--loading {
  opacity: 1;
  visibility: visible;
}
/* Preserve media tile dimensions when no image was assigned. */
:is(body.mrl-site-presentation, .editor-styles-wrapper) .heros-tail > img[src=""] {
  min-height: 100%;
}
@media (min-width: 1200px) {
  :is(body.mrl-site-presentation, .editor-styles-wrapper) .heros-tail:not(.show-price):has(> img[src=""]) { min-height: 600px; }
  :is(body.mrl-site-presentation, .editor-styles-wrapper) .heros-tail.show-price:has(> img[src=""]) { min-height: 700px; }
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .social-dot { position: relative; }
:is(body.mrl-site-presentation, .editor-styles-wrapper) .social-dot::after {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .social-dot[href*="facebook"]:has(img[src=""])::after { content: "FB"; }
:is(body.mrl-site-presentation, .editor-styles-wrapper) .social-dot[href*="instagram"]:has(img[src=""])::after { content: "IG"; }
:is(body.mrl-site-presentation, .editor-styles-wrapper) .social-dot[href*="tiktok"]:has(img[src=""])::after { content: "TT"; }
:is(body.mrl-site-presentation, .editor-styles-wrapper) .social-dot[href*="youtube"]:has(img[src=""])::after { content: "YT"; }
:is(body.mrl-site-presentation, .editor-styles-wrapper) .go-to-top:has(img[src=""]) { display: none; }
/* The production tiles size themselves from their photos. Reserve readable cards without them. */
:is(body.mrl-site-presentation, .editor-styles-wrapper) .room-tile:has(> img[src=""]) {
  min-height: 440px;
  background-color: #17213b;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .room-tile:has(> img[src=""]) > img { display: none; }
:is(body.mrl-site-presentation, .editor-styles-wrapper) .room-tile:has(> img[src=""]) .room-tile-content {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  padding: 32px 16px;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .room-tile:has(> img[src=""]) .room-text {
  height: auto;
  margin: 24px 0;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .hover-container:has(> img[src=""]) {
  width: 100%;
  background-color: #17213b;
}
/* Measured public layout, with the locally requested exceptions. */
body.mrl-site-presentation .wp-site-blocks > .root-content { margin-block-start: 0; }
:is(body.mrl-site-presentation, .editor-styles-wrapper) .mrl-reservation-placeholder {
  flex: none; width: 100%; height: 810px; background: #161c39;
}
@media (min-width:1200px) {
  :is(body.mrl-site-presentation, .editor-styles-wrapper) .mrl-reservation-placeholder { width: 1460px; }
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .mrl-empty-media {
  width: var(--mrl-placeholder-mobile-width,100%);
  height: var(--mrl-placeholder-mobile-height,180px);
  min-height: 0;
  flex: none;
}
@media (min-width:1200px) {
  :is(body.mrl-site-presentation, .editor-styles-wrapper) .mrl-empty-media {
    width: var(--mrl-placeholder-width,100%);
    height: var(--mrl-placeholder-height,180px);
  }
}
/* Home accordion intentionally fills the viewport, including its expanded content. */
body.mrl-site-presentation.home .accordion-wrapper,
body.mrl-site-presentation.home .accordion-wrapper > .accordion,
body.mrl-site-presentation.home .accordion-wrapper .accordion-text {
  width: 100%; max-width: none; margin-left: 0; margin-right: 0;
}
body.mrl-site-presentation.home .accordion-wrapper .accordion-text.open { padding-left: 0; padding-right: 0; }
/* Vouchers: three main choices, followed by one full-width choice. */
body.mrl-site-presentation.page-id-15 .heros-row:has(> .show-price) { display: grid; grid-template-columns: 1fr; }
@media (min-width:780px) {
  body.mrl-site-presentation.page-id-15 .heros-row:has(> .show-price) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
body.mrl-site-presentation.page-id-15 .heros-row > .show-price { width: 100%; min-width: 0; }
body.mrl-site-presentation.page-id-15 .heros-row > .show-price:last-child { grid-column: 1 / -1; }
body.mrl-site-presentation.page-id-15 .heros-row > .show-price:last-child > img { height: 100%; object-fit: cover; }
body.mrl-site-presentation .wp-site-blocks > :is(.mrl-blog-shell,.mrl-privacy-shell) { margin-block-start: 0; }
/* Preserve the original small-print and timer typography in editable core groups. */
:is(body.mrl-site-presentation, .editor-styles-wrapper) .thank-you-page__card > .wp-block-group:last-child {
  display: block; font-size: clamp(12px,1.1vw,16px); line-height: 1.4;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .thank-you-page__card > .wp-block-group:last-child > p {
  font: inherit; margin: 0;
}
:is(body.mrl-site-presentation, .editor-styles-wrapper) .thank-you-page__timer > p { font: inherit; margin: 0; }
/* The same requested layouts in the editor canvas. */
.editor-styles-wrapper .section-hero-picker .heros-row:has(> .show-price) { display:grid; grid-template-columns:1fr; }
.editor-styles-wrapper .section-hero-picker .heros-row > .show-price { width:100%; min-width:0; }
.editor-styles-wrapper .section-hero-picker .heros-row > .show-price:last-child { grid-column:1 / -1; }
.editor-styles-wrapper .section-hero-picker .heros-row > .show-price:last-child > img { height:100%; object-fit:cover; }
@media (min-width:780px) {
  .editor-styles-wrapper .section-hero-picker .heros-row:has(> .show-price) { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.editor-styles-wrapper .accordion-wrapper.full-width,
.editor-styles-wrapper .accordion-wrapper.full-width > .accordion,
.editor-styles-wrapper .accordion-wrapper.full-width .accordion-text { width:100%; max-width:none; margin-left:0; margin-right:0; }

/* Remove the erroneous gap above the fixed navigation. */
body.mrl-site-presentation .wp-site-blocks > header { margin:0; padding:0; }
body.mrl-site-presentation .header-nav-block { top:var(--wp-admin--admin-bar--height,0px); }
/* YouTube players only; checkout keeps the standard WooCommerce presentation. */
:is(body.mrl-site-presentation,.editor-styles-wrapper) .mrl-youtube-embed { width:100%; margin:0; }
:is(body.mrl-site-presentation,.editor-styles-wrapper) .mrl-youtube-embed > .wp-block-embed__wrapper { position:relative; width:100%; aspect-ratio:var(--mrl-youtube-ratio,16/9); }
:is(body.mrl-site-presentation,.editor-styles-wrapper) .mrl-youtube-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
/* The local reservation stand-in follows its real available width. */
:is(body.mrl-site-presentation,.editor-styles-wrapper) .mrl-reservation-placeholder{box-sizing:border-box;width:100%!important;max-width:1460px;min-width:0;margin-inline:auto}
