/* ==========================================================================
   YOLO static migration - conservative fixes & helper styles
   Kept in a separate file on purpose so the original builder CSS is untouched.
   ========================================================================== */

/* ---- Maintenance note replacing the Hostinger/Zyro-powered forms ------- */
.yolo-maintenance-note {
  box-sizing: border-box;
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 28px 24px;
  color: rgb(26, 26, 26);
}
.yolo-maintenance-note p {
  max-width: 420px;
  margin: 0;
  font-family: 'Inter Regular', 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.yolo-maintenance-note .yolo-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgb(255, 255, 255);
  background-color: rgb(255, 202, 100);
  color: rgb(55, 54, 54);
  font-family: 'Inter Regular', 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.yolo-maintenance-note .yolo-email-btn:hover {
  background-color: rgb(255, 222, 120);
  color: rgb(55, 54, 54);
}

/* ---- Generic lightbox for images flagged image--zoom ------------------- */
.yolo-lightbox,
.yolo-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.yolo-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.image--zoom img {
  cursor: zoom-in;
}

/* ---- Video (YouTube) modal --------------------------------------------- */
.yolo-video-modal {
  cursor: default;
  padding: 24px;
}
.yolo-video-modal__box {
  position: relative;
  width: min(920px, 94vw);
}
.yolo-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.yolo-video-modal__wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.yolo-video-modal__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Mobile header: keep dropdown scrollable ---------------------------- */
.block-header-layout-mobile__dropdown--open {
  overflow-y: auto !important;
}

/* ---- Small safety net against horizontal overflow ----------------------- */
html,
body {
  overflow-x: clip;
}
