/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 06 2026 | 00:00:37 */
/* =======================
   Base Styles
======================= */
.pum * {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

.wm-copy p {
  font-weight: 500 !important;
}

html .pum-theme-13550 {
  background-color: transparent !important;
}

/* =======================
   Popup Container
======================= */
.pum,
.pum .pum-container,
.pum .pum-content {
  overflow: visible !important;
}

.pum .pum-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 96vw !important;
  max-width: 1000px !important;
  margin: 3.5vh auto !important;
}

.pum .pum-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.pum .pum-title {
  display: none !important;
}

/* =======================
   Close Button
======================= */
.pum .pum-close {
  background: #fff !important;
  border-radius: 50% !important;
  width: 25px !important;
  height: 25px !important;
  top: 12px !important;
  right: 12px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
  font-size: 0 !important;
  opacity: 1 !important;
}

.pum .pum-close:before {
  content: "×";
  font-size: 28px !important;
  font-weight: 400 !important;
  color: #0953F6 !important;
}

/* =======================
   Card Layout
======================= */
.pum .wm-anniv {
  position: relative;
  width: 100%;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  overflow: visible;
}

/* Background + White Shadow */
.pum .wm-anniv::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  z-index: 0;
  background:
    radial-gradient(1200px 500px at 25% 50%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%),
    url('https://elysianwellnesscentre.com/wp-content/uploads/2025/11/bg.png') center/cover no-repeat;
  /* White glowing shadow */
  box-shadow: 0 0 80px rgba(255, 255, 255, 0.6);
}

.pum .wm-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(16px, 2.6vw, 24px);
  min-height: 300px;
}

.pum .wm-copy {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 32px;
}

/* =======================
   Typography
======================= */
.pum .wm-kicker {
  color: #fff !important;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 18px !important;
  line-height: 1.15;
  font-weight: 800;
}

.pum .wm-title {
  color: #fff !important;
  margin: 0 0 8px;
  font-size: clamp(32px, 3.6vw, 42px) !important;
  line-height: 1.05;
  font-weight: 700;
}

.pum .wm-title .wm-accent {
  color: #33D8D5 !important;
  font-weight: 700;
}

.pum .wm-body {
  color: #fff !important;
  margin: 0;
  font-size: 14.5px !important;
  line-height: 1.42;
  max-width: 62ch;
  overflow-wrap: anywhere;
}

/* =======================
   Artwork (Single Image)
======================= */
.pum .wm-art {
  position: relative;
  flex: 0 0 clamp(230px, 24vw, 320px);
  aspect-ratio: 1;
  min-width: 0;
  transform: translateY(6%);
}

.pum .wm-art::after {
  content: "";
  position: absolute;
  inset: -34% -12%;
  background: url('https://elysianwellnesscentre.com/wp-content/uploads/2025/11/bg-anniversary.png') center/contain no-repeat;
  transform: rotate(0deg) scale(2.0) translateY(-2%);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 18px 40px rgba(255, 255, 255, 0.4));
  z-index: 3;
  pointer-events: none;
}

/* =======================
   Responsive Adjustments
======================= */

/* Tablet (≤980px) */
@media (max-width: 980px) {
  /* Make popup scrollable on tablet despite the global overflow:visible */
  html .pum.pum-active .pum-container,
  html .pum.pum-active .pum-content {
    max-height: calc(100vh - 7vh); /* account for 3.5vh top + bottom margins */
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

	.pum .wm-body{
		max-width:100%;
		padding-bottom:20px;
	}
	
	.pum .wm-art::after{
		transform-origin:50% 35%;
		margin-bottom:60px;
	}
	
  .pum .wm-inner {
    flex-direction: column-reverse; /* image above text */
    gap: 24px;
    padding: clamp(14px, 4vw, 20px);
    min-height: 360px;
  }

  .pum .pum-container { height: auto !important; } /* safety */

  .pum .wm-copy {
    text-align: center;
    padding-left: 0;
  }

  .pum .wm-title {
    font-size: 34px !important;
    line-height: 1.1;
  }

  .pum .wm-kicker {
    font-size: 17px !important;
  }
	
	.pum .pum-close{
		right:24px!important;
	}
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  /* Allow scrolling on small screens */
  html .pum.pum-active .pum-container,
  html .pum.pum-active .pum-content {
    max-height: 90vh;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide decorative image completely */
  .pum .wm-art {
    display: block !important;
	  margin-top:-50px;
  }

  /* Center all text */
  .pum .wm-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px;
    min-height: auto;
  }

  .pum .wm-copy {
    padding-left: 0;
    text-align: center;
  }

  .pum .wm-title {
    font-size: 30px !important;
    line-height: 1.2;
  }

  .pum .wm-kicker {
    font-size: 16px !important;
    padding-top: 40px;
  }

  .pum .wm-body {
    font-size: 14px !important;
    max-width: 90%;
    margin: 0 auto;
  }
}


/* Disable internal scrolling in the popup at all sizes */
html .pum.pum-active .pum-container,
html .pum.pum-active .pum-content {
  max-height: none !important;
  overflow: visible !important;
}

/* Optional: ensure the page behind doesn’t scroll while popup is open
   (Popup Maker usually handles this, but this helps if a theme overrides it) */
html.pum-open,
body.pum-open {
  overflow: hidden !important;
}

/* Safety: keep the decorative image from creating accidental scrollbars due to transforms */
.pum .wm-anniv,
.pum .wm-inner {
  overflow: visible !important;
}

