/* Hide WPML development site banner */
.otgs-development-site-front-end {
    display: none;
}

/* Hide CookieYes revisit button */
.cky-btn-revisit-wrapper {
    display: none;
}

/* Map pin tooltips */
.pin-wrapper:hover .tooltip {
    opacity: 1;
}

/* Header scroll state — background image always visible via .mh-header__bg */

/* Body lock when menu is open */
html.menu-open {
    overflow: hidden;
}

/* ---- Document (Sales Information) Single Page ---- */
.mh-document {
  padding: calc(var(--header-height, 105px) + clamp(4rem, 4vw, 10rem)) var(--mh-pad-x) clamp(6rem, 6vw, 15rem);
  background: var(--mh-white);
  min-height: var(--vh, 100dvh);
}

.mh-document__inner {
  max-width: 900px;
  margin: 0 auto;
}

.mh-document__header {
  text-align: center;
  margin-bottom: clamp(4rem, 4vw, 10rem);
}

.mh-document__header .mh-ui {
  display: block;
  margin-bottom: 1rem;
}

.mh-document__header .mh-divider-line {
  margin: 2rem auto 0;
}

.mh-document__list {
  display: flex;
  flex-direction: column;
}

.mh-document__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 1.5vw, 3rem) 0;
  border-bottom: 1px solid rgba(112, 111, 111, 0.15);
  text-decoration: none;
  color: var(--mh-dark-gray);
  transition: opacity 0.3s ease;
}

.mh-document__item:first-child {
  border-top: 1px solid rgba(112, 111, 111, 0.15);
}

.mh-document__item:hover {
  opacity: 0.7;
}

.mh-document__item-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mh-document__item-date {
  color: var(--mh-medium-gray);
}

.mh-document__item-label {
  color: var(--mh-dark-gray);
}

.mh-document__item-download {
  flex-shrink: 0;
  color: var(--mh-gold);
}

.mh-document__empty {
  text-align: center;
  padding: clamp(4rem, 4vw, 10rem) 0;
  color: var(--mh-medium-gray);
}

/* Footer bar title acts as a button that opens the side menu */
.mh-footer__bar-text {
  cursor: pointer;
}

/* Disclaimer section above the footer (footer_disclaimers repeater) */
.mh-disclaimer {
  padding: clamp(3rem, 3.5vw, 7rem) var(--mh-pad-x);
  /* background-color: var(--mh-cream); */
  color: var(--mh-medium-gray);
}
.mh-disclaimer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 0.9vw, 1.6rem);
}
.mh-disclaimer__item {
  display: flex;
  gap: 0.6em;
  align-items: baseline;
}
.mh-disclaimer__annotation {
  flex: 0 0 30px;
  color: var(--mh-gold);
}
.mh-disclaimer__content {
  flex: 1 1 auto;
  text-align: justify;
}
.mh-disclaimer__content p {
  margin: 0 0 0.5em;
}
.mh-disclaimer__content p:last-child {
  margin-bottom: 0;
}
.mh-disclaimer__content sup {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
}

/* ---- Media captions (bottom-left overlay on images/videos) ----
   Reuses .mh-hero__disclaimer (white) + .mh-ui text style. Any element that
   directly contains a caption becomes the positioning context.
   NOTE: .mh-fullbleed__slide is intentionally NOT listed here — it is already
   position:absolute (homepage.css card-stack). Forcing position:relative drops
   the slides into normal flow and breaks the fullbleed slideshow; the absolute
   slide already serves as the caption's positioning context. */
:where(.mh-carousel__image-wrap,
       .mh-fullbleed,
       .mh-hero__video-wrap,
       .mh-dt-showcase__image-wrap,
       .mh-pw-landscape__image-wrap,
       .mh-pw-masked__image-wrap,
       .mh-pw-dual__item,
       .mh-pw-education__image-wrap,
       .mh-dt-panorama .swiper-slide,
       .mh-fullbleed-carousel .swiper-slide,
       section):has(> .mh-media-caption) {
  position: relative;
}
.mh-media-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: clamp(1.5rem, 1.6vw, 3rem);
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}
.mh-media-caption p {
  margin: 0;
}
.mh-media-caption p + p {
  margin-top: 0.25em;
}
.mh-media-caption sup {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
}

/* Hero caption reuses the existing bottom-left .mh-hero__disclaimer slot; it now
   holds WYSIWYG output, so flatten the paragraph and style superscript. */
.mh-hero__disclaimer p {
  margin: 0;
}
.mh-hero__disclaimer sup {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
}

/* Body copy is now WYSIWYG (rich text + superscript) — normalise the inner
   paragraphs and style superscript references. */
.mh-body p {
  margin: 0 0 0.75em;
}
.mh-body p:last-child {
  margin-bottom: 0;
}
.mh-body sup {
  font-size: 0.5em;
  vertical-align: super;
  line-height: 0;
}
