/* ============================================================
   ArtsMovement.ca — Mobile CSS (Option A)
   Strategy: Proper responsive reflow. Ignore absolute positions.
   Stack everything vertically in a clean single column.
   Uses body.am-mobile (set by JS below 768px).
   ============================================================ */

/* ── 1. UNLOCK MIN-WIDTH ──────────────────────────────────── */
html {
  min-width: 0 !important;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  margin: 0 !important;
  max-width: none !important;
}

/* ── 2. HAMBURGER BUTTON ───────────────────────────────────── */
#am-hamburger {
  display: none;
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 999999;
  background: #37bec4;
  border: none;
  border-radius: 4px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#am-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

#am-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#am-hamburger.open span:nth-child(2) {
  opacity: 0;
}
#am-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── 3. MOBILE NAV OVERLAY ─────────────────────────────────── */
#am-mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#am-mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

#am-mobile-nav ul {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: #37bec4;
  list-style: none;
  margin: 0;
  padding: 70px 0 20px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-sizing: border-box;
  overflow-y: auto;
}

#am-mobile-nav.open ul {
  transform: translateX(0);
}

#am-mobile-nav ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

#am-mobile-nav ul li a {
  display: block;
  padding: 16px 24px;
  color: #fff;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
}

#am-mobile-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ── 4. SHOW HAMBURGER BELOW 940px ─────────────────────────── */
@media (max-width: 939px) {
  #menu {
    display: none !important;
  }
  #am-hamburger {
    display: flex;
  }
  #am-mobile-nav {
    display: block;
  }
}

/* ══════════════════════════════════════════════════════════════
   5. MOBILE REFLOW — body.am-mobile (ALL PAGES)
   ══════════════════════════════════════════════════════════════ */

body.am-mobile .section > .container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.am-mobile #body-wrapper {
  overflow-x: hidden;
  transform: none !important;
  width: auto !important;
}

/* Reset ALL elements from absolute to relative flow */
body.am-mobile .element {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}

/* Content wrapper becomes a flex column */
body.am-mobile #content-wrapper {
  position: relative !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding: 0 !important;
}

body.am-mobile #content-body {
  height: auto !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
}

body.am-mobile #content-body > .container {
  order: 2;
}

body.am-mobile #footer-wrapper {
  position: relative !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 24px 16px !important;
  gap: 12px !important;
}

/* ── HEADER ── */
body.am-mobile header {
  height: auto !important;
  min-height: 66px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  padding: 10px 16px !important;
  box-sizing: border-box !important;
}

body.am-mobile #header-body .container {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative !important;
}

/* Logo */
body.am-mobile #el-2654941 {
  width: 36px !important;
  height: auto !important;
  flex-shrink: 0 !important;
}

body.am-mobile #el-2654941 img {
  position: relative !important;
  width: 36px !important;
  height: auto !important;
  display: block !important;
}

/* Site title */
body.am-mobile #el-45816 {
  flex: 1 !important;
  padding-right: 54px !important;
}

body.am-mobile #el-45816 h1,
body.am-mobile #el-45816 .title1 {
  font-size: 20px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.am-mobile #el-45816 .fontSize {
  font-size: 20px !important;
}

/* Hide social bar, DotEasy mobile menu, desktop menu */
body.am-mobile header #el-59264 {
  display: none !important;
}
body.am-mobile #el-45854 {
  display: none !important;
}
body.am-mobile #menu {
  display: none !important;
}

/* ── FOOTER ── */
body.am-mobile #footer-body {
  height: auto !important;
}

body.am-mobile #el-2655550 {
  width: 60px !important;
  height: auto !important;
}
body.am-mobile #el-2655550 img {
  position: relative !important;
  width: 60px !important;
  height: auto !important;
  display: block !important;
}

body.am-mobile #el-45848 {
  text-align: center !important;
}
body.am-mobile #el-45848 .fontSize {
  font-size: 20px !important;
}
body.am-mobile #el-2655548 {
  text-align: center !important;
}

body.am-mobile footer #el-59264 {
  display: block !important;
  position: relative !important;
  width: 120px !important;
  height: 40px !important;
}

body.am-mobile #el-45849 {
  text-align: center !important;
}
body.am-mobile #el-45849 .paragraph2 {
  font-size: 11px !important;
}

/* ══════════════════════════════════════════════════════════════
   6. INDEX PAGE — body.am-mobile
   ══════════════════════════════════════════════════════════════ */

/* Hide grey decorative strip and background boxes */
body.am-mobile #el-3331675 {
  display: none !important;
}
body.am-mobile #el-2658306 {
  display: none !important;
}
body.am-mobile #el-3357960 {
  display: none !important;
}

/* Hero strip */
body.am-mobile #el-45837 {
  order: 1 !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: 200px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll !important;
  display: block !important;
}

/* ── ORDER ── */
body.am-mobile #el-3331676 {
  order: 1;
}
body.am-mobile #el-3357953 {
  order: 2;
}
body.am-mobile #el-45844 {
  order: 3;
}
body.am-mobile #el-3357902 {
  order: 4;
}
body.am-mobile #el-45845 {
  order: 5;
}
body.am-mobile #el-45830 {
  order: 6;
}
body.am-mobile #el-3357911 {
  order: 7;
}
body.am-mobile #el-3357909 {
  order: 8;
}
body.am-mobile #el-45838 {
  order: 9;
}
body.am-mobile #el-3357961 {
  order: 10;
}
body.am-mobile #el-3357959 {
  order: 11;
}
body.am-mobile #el-3280251 {
  order: 12;
}
body.am-mobile #el-3331677 {
  order: 13;
}
body.am-mobile #el-45842 {
  order: 14;
}
body.am-mobile #el-2657489 {
  display: none !important;
}
body.am-mobile #el-2657496 {
  display: none !important;
}

/* Video */
body.am-mobile #el-3331676 {
  width: 100% !important;
  padding: 0 !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  position: relative !important;
  background: #000 !important;
}
body.am-mobile #el-3331676 iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Service sections */
body.am-mobile #el-3357902,
body.am-mobile #el-45830,
body.am-mobile #el-3357909 {
  width: 100% !important;
  padding: 8px 20px 24px !important;
  box-sizing: border-box !important;
}

body.am-mobile #el-3357902 .title3,
body.am-mobile #el-45830 .title3,
body.am-mobile #el-3357909 .title3 {
  font-size: 22px !important;
  margin-bottom: 8px !important;
}

body.am-mobile #el-3357902 .paragraph3,
body.am-mobile #el-45830 .paragraph3,
body.am-mobile #el-3357909 .paragraph3 {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Circular images */
body.am-mobile #el-45844,
body.am-mobile #el-45845,
body.am-mobile #el-3357911,
body.am-mobile #el-3357961 {
  width: 130px !important;
  height: 130px !important;
  margin: 24px auto 4px !important;
  display: block !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.am-mobile #el-45844 img,
body.am-mobile #el-45845 img,
body.am-mobile #el-3357911 img,
body.am-mobile #el-3357961 img {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.am-mobile #el-45844 .image-wrapper,
body.am-mobile #el-45845 .image-wrapper,
body.am-mobile #el-3357911 .image-wrapper,
body.am-mobile #el-3357961 .image-wrapper {
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
}

/* Staff quote */
body.am-mobile #el-3357953 {
  padding: 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
body.am-mobile #el-3357953 .paragraph2 {
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-style: italic !important;
}

/* Our Mission */
body.am-mobile #el-45838 {
  padding: 28px 20px !important;
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  margin: 16px !important;
  background: #f0f0f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}
body.am-mobile #el-45838 .title3 {
  font-size: 22px !important;
  margin-bottom: 12px !important;
}
body.am-mobile #el-45838 .paragraph2,
body.am-mobile #el-45838 .paragraph3 {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Meet the Founder */
body.am-mobile #el-3357959 {
  padding: 24px 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
body.am-mobile #el-3357959 .title3 {
  font-size: 22px !important;
  margin-bottom: 12px !important;
}
body.am-mobile #el-3357959 .paragraph2,
body.am-mobile #el-3357959 .paragraph3 {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Get A Quote button */
body.am-mobile #el-3280251 {
  width: 140px !important;
  height: 140px !important;
  margin: 24px auto !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.am-mobile #el-3280251 .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}
body.am-mobile #el-3280251 .button div {
  font-size: 18px !important;
  line-height: 1.2 !important;
  color: #fff !important;
  text-align: center !important;
}

/* Horizontal line */
body.am-mobile #el-3331677 {
  width: calc(100% - 40px) !important;
  margin: 8px 20px !important;
  height: 2px !important;
}

/* Mary Anne quote */
body.am-mobile #el-45842 {
  padding: 8px 20px 32px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  margin: 0 !important;
  border-left: none !important;
}
body.am-mobile #el-45842 .paragraph3 {
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-style: italic !important;
}

/* ══════════════════════════════════════════════════════════════
   7. CORPORATE TEAM BUILDING PAGE — body.am-mobile
   ══════════════════════════════════════════════════════════════ */

/* Hide pure decorative boxes but keep the exercise works ones */
body.am-mobile #el-2657510 {
  display: none !important;
}
body.am-mobile #el-2658294 {
  display: none !important;
}
body.am-mobile #el-3291277 {
  display: none !important;
}
body.am-mobile #el-2655299 {
  display: none !important;
}
body.am-mobile #el-2657512 {
  display: none !important;
}
body.am-mobile #el-2657513 {
  display: none !important;
}

/* ── ORDER ── */
body.am-mobile #el-2655300 {
  order: 1;
} /* Page title */
body.am-mobile #el-2655301 {
  order: 2;
} /* Hero image */
body.am-mobile #el-2655302 {
  order: 3;
} /* Intro paragraph */
body.am-mobile #el-3291263 {
  order: 4;
} /* Session details */
body.am-mobile #el-3291261 {
  order: 5;
} /* In-person/Virtual/Hybrid */
body.am-mobile #el-3291289 {
  order: 6;
} /* Big photo */
body.am-mobile #el-2655296 {
  order: 7;
} /* Bottom Line Dance */
body.am-mobile #el-2655303 {
  order: 8;
} /* Image 1 */
body.am-mobile #el-2655458 {
  order: 9;
} /* Desk-pacito text */
body.am-mobile #el-2655456 {
  order: 10;
} /* Image 2 */
body.am-mobile #el-2655462 {
  order: 11;
} /* DeskFIT text */
body.am-mobile #el-2655460 {
  order: 12;
} /* Image 3 */
body.am-mobile #el-3291285 {
  order: 13;
} /* Exercise works bg box */
body.am-mobile #el-3291295 {
  order: 14;
} /* EXERCISE WORKS text */
body.am-mobile #el-3291290 {
  order: 15;
} /* Teal bar */
body.am-mobile #el-3291291 {
  order: 16;
} /* Wellness ROI text */
body.am-mobile #el-3291314 {
  order: 17;
} /* Benefits bg box */
body.am-mobile #el-3291292 {
  order: 18;
} /* Benefits list 1 */
body.am-mobile #el-3291294 {
  order: 19;
} /* Benefits list 2 */
body.am-mobile #el-3291374 {
  order: 20;
} /* Video */
body.am-mobile #el-2657511 {
  order: 21;
} /* HR line */
body.am-mobile #el-2655298 {
  order: 22;
} /* Howard Schultz quote */

/* ── PAGE TITLE ── */
body.am-mobile #el-2655300 {
  padding: 20px 20px 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
body.am-mobile #el-2655300 .title2 {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

/* ── HERO IMAGE ── */
body.am-mobile #el-2655301 {
  width: 100% !important;
  height: 220px !important;
  overflow: hidden !important;
}
body.am-mobile #el-2655301 img {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
}

/* ── INTRO TEXT ── */
body.am-mobile #el-2655302 {
  padding: 16px 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
body.am-mobile #el-2655302 .paragraph3 {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* ── SESSION DETAILS ── */
body.am-mobile #el-3291263 {
  padding: 8px 24px 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
body.am-mobile #el-3291263 .paragraph3 {
  font-size: 15px !important;
}

/* ── IN-PERSON / VIRTUAL / HYBRID ── */
body.am-mobile #el-3291261 {
  padding: 8px 20px 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  text-align: center !important;
}

/* ── EXERCISE WORKS SECTION ── */
/* Show photo as a standalone image above the teal block */
body.am-mobile #el-3291285 {
  width: 100% !important;
  height: 220px !important;
  overflow: hidden !important;
  margin: 0 !important;
  position: relative !important;
  display: block !important;
}
body.am-mobile #el-3291285 img,
body.am-mobile #el-3291285 .image-wrapper,
body.am-mobile #el-3291285 figure,
body.am-mobile #el-3291285 figure div.img {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
}

/* EXERCISE WORKS text — teal block below photo */
body.am-mobile #el-3291295 {
  margin-top: 0 !important;
  padding: 20px 20px 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  background: #37bec4 !important;
  text-align: center !important;
  position: relative !important;
  z-index: 1 !important;
}
body.am-mobile #el-3291295 .title4 {
  font-size: 52px !important;
  line-height: 1 !important;
  color: #fff !important;
  text-shadow: none !important;
}

/* Teal bar — hide since #el-3291295 already has teal bg */
body.am-mobile #el-3291290 {
  display: none !important;
}

/* ROI text — continue teal block */
body.am-mobile #el-3291291 {
  padding: 8px 20px 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  background: #37bec4 !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}
body.am-mobile #el-3291291 .paragraph3 {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #fff !important;
  text-align: center !important;
  font-weight: bold !important;
}

/* Hide purely decorative box */
body.am-mobile #el-3291314 {
  display: none !important;
}

/* ── BENEFITS ── */
body.am-mobile #el-3291292,
body.am-mobile #el-3291294 {
  padding: 12px 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  background: #f0f0f0 !important;
  margin: 0 !important;
}
body.am-mobile #el-3291292 {
  padding-top: 20px !important;
}
body.am-mobile #el-3291294 {
  padding-bottom: 20px !important;
}
body.am-mobile #el-3291292 .paragraph2,
body.am-mobile #el-3291294 .paragraph2 {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* ── BIG PHOTO ── */
body.am-mobile #el-3291289 {
  width: 100% !important;
  height: 220px !important;
  overflow: hidden !important;
}
body.am-mobile #el-3291289 img {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
}

/* ── PROGRAM DESCRIPTIONS ── */
body.am-mobile #el-2655296,
body.am-mobile #el-2655458,
body.am-mobile #el-2655462 {
  padding: 16px 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
body.am-mobile #el-2655296 .paragraph1,
body.am-mobile #el-2655458 .paragraph1,
body.am-mobile #el-2655462 .paragraph1 {
  font-size: 14px !important;
  line-height: 1.5 !important;
}
body.am-mobile #el-2655296 .title6,
body.am-mobile #el-2655458 .title6,
body.am-mobile #el-2655462 .title6 {
  font-size: 18px !important;
}

/* ── THREE PROGRAM IMAGES ── */
body.am-mobile #el-2655303,
body.am-mobile #el-2655456,
body.am-mobile #el-2655460 {
  width: 100% !important;
  height: 180px !important;
  overflow: hidden !important;
}
body.am-mobile #el-2655303 img,
body.am-mobile #el-2655456 img,
body.am-mobile #el-2655460 img {
  position: relative !important;
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
}

/* ── VIDEO ── */
body.am-mobile #el-3291374 {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 20px 0 !important;
  width: calc(100% - 40px) !important;
}
body.am-mobile #el-3291374 video,
body.am-mobile #el-3291374 .video-inner,
body.am-mobile #el-3291374 .mejs-container,
body.am-mobile #el-3291374 .mejs-mediaelement,
body.am-mobile #el-3291374 .me-cannotplay {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 200px !important;
  max-width: 100% !important;
}
body.am-mobile #el-3291374 .mejs-controls {
  width: 100% !important;
}

/* ── HR LINE ── */
body.am-mobile #el-2657511 {
  width: calc(100% - 40px) !important;
  margin: 8px 20px !important;
  height: 2px !important;
}

/* ── HOWARD SCHULTZ QUOTE ── */
body.am-mobile #el-2655298 {
  padding: 8px 20px 32px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
body.am-mobile #el-2655298 .paragraph3 {
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-style: italic !important;
}

/* ══════════════════════════════════════════════════════════════
   8. SCHOOL PROGRAMS PAGE — body.am-mobile
   ══════════════════════════════════════════════════════════════ */

/* Hide decorative box and spacer */
body.am-mobile #el-3358012 {
  display: none !important;
}
body.am-mobile #el-3275059 {
  display: none !important;
}

/* ── ORDER ── */
body.am-mobile #el-45868 {
  order: 1;
} /* Title */
body.am-mobile #el-45867 {
  order: 2;
} /* HR line */
body.am-mobile #el-3357992 {
  order: 3;
} /* Video */
body.am-mobile #el-3358013 {
  order: 4;
} /* Text block */

/* ── TITLE ── */
body.am-mobile #el-45868 {
  padding: 20px 20px 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
}
body.am-mobile #el-45868 .title2 {
  font-size: 28px !important;
  line-height: 1.2 !important;
}

/* ── HR LINE ── */
body.am-mobile #el-45867 {
  width: calc(100% - 40px) !important;
  margin: 8px 20px 0 !important;
  height: 2px !important;
}

/* ── VIDEO ── */
body.am-mobile #el-3357992 {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}
body.am-mobile #el-3357992 video,
body.am-mobile #el-3357992 .video-inner,
body.am-mobile #el-3357992 .mejs-container,
body.am-mobile #el-3357992 .mejs-mediaelement,
body.am-mobile #el-3357992 .me-cannotplay {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 200px !important;
  max-width: 100% !important;
}
body.am-mobile #el-3357992 .mejs-controls {
  width: 100% !important;
}

/* ── TEXT BLOCK ── */
body.am-mobile #el-3358013 {
  padding: 20px !important;
  box-sizing: border-box !important;
  background: #f0f0f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  margin: 16px !important;
  width: calc(100% - 32px) !important;
  position: relative !important;
  z-index: 1 !important;
}
body.am-mobile #el-3358013 .paragraph2 {
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

/* ══════════════════════════════════════════════════════════════
   9. CONTACT PAGE — body.am-mobile
   ══════════════════════════════════════════════════════════════ */

/* Hide decorative/spacer elements */
body.am-mobile #el-2655789 {
  display: none !important;
}

/* ── ORDER ── */
body.am-mobile #el-2655323 {
  order: 1;
} /* Banner image */
body.am-mobile #el-2655325 {
  order: 2;
} /* Contact text / phone */
body.am-mobile #el-45920 {
  order: 3;
} /* Contact form */

/* ── BANNER IMAGE ── */
body.am-mobile #el-2655323 {
  width: 100% !important;
  height: 180px !important;
  overflow: hidden !important;
}
body.am-mobile #el-2655323 img {
  position: relative !important;
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
}

/* ── CONTACT TEXT ── */
body.am-mobile #el-2655325 {
  padding: 20px 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  text-align: center !important;
}
body.am-mobile #el-2655325 .paragraph3 {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* ── CONTACT FORM ── */
body.am-mobile #el-45920 {
  width: calc(100% - 32px) !important;
  margin: 0 16px 32px !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  padding: 20px !important;
}

/* Ensure form fields fill container properly */
body.am-mobile #el-45920 form {
  width: 100% !important;
}
body.am-mobile #el-45920 input[type="text"],
body.am-mobile #el-45920 input[type="email"],
body.am-mobile #el-45920 input[type="tel"],
body.am-mobile #el-45920 textarea,
body.am-mobile #el-45920 select {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
  font-size: 14px !important;
}
body.am-mobile #el-45920 textarea {
  min-height: 80px !important;
}
body.am-mobile #el-45920 .control-label {
  font-size: 13px !important;
  margin-bottom: 4px !important;
  display: block !important;
}
body.am-mobile #el-45920 .control-group {
  margin-bottom: 14px !important;
}
body.am-mobile #el-45920 .submit-control-group {
  text-align: right !important;
  width: 100% !important;
}
body.am-mobile #el-45920 .btn {
  font-size: 15px !important;
  padding: 10px 28px !important;
}
/* Scale recaptcha to fit mobile width */
body.am-mobile #el-45920 .external-captcha {
  overflow: hidden !important;
}
body.am-mobile #el-45920 .recaptcha {
  transform: scale(0.85) !important;
  transform-origin: 0 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   10. SENIOR PROGRAMS PAGE — body.am-mobile
   ══════════════════════════════════════════════════════════════ */

/* Hide decorative boxes */
body.am-mobile #el-2658303 {
  display: none !important;
}
body.am-mobile #el-2658305 {
  display: none !important;
}
body.am-mobile #el-3331672 {
  display: none !important;
}
body.am-mobile #el-3331643 {
  display: none !important;
} /* red circle */
body.am-mobile #el-3331644 {
  display: none !important;
} /* "For a Limited Time!" text */
body.am-mobile #el-2655540 {
  display: none !important;
}

/* ── ORDER ── */
body.am-mobile #el-45876 {
  order: 1;
} /* Title: Dance Programs for Seniors */
body.am-mobile #el-45875 {
  order: 2;
} /* HR line */
body.am-mobile #el-2657420 {
  order: 3;
} /* Hero image (seniors exercising) */
body.am-mobile #el-2655045 {
  order: 4;
} /* Intro text */
body.am-mobile #el-2655307 {
  order: 5;
} /* "20 years partnerships" subheading */
body.am-mobile #el-3331570 {
  order: 6;
} /* Partner logos image */
body.am-mobile #el-3331620 {
  order: 7;
} /* Latin Dance Delivery card */
body.am-mobile #el-3331577 {
  order: 8;
} /* Dance the Day Away cards */
body.am-mobile #el-3331614 {
  order: 9;
} /* YouTube video */
body.am-mobile #el-3331672 {
  order: 10;
} /* "Thank you" grey bar */
body.am-mobile #el-3249492 {
  order: 11;
} /* "Thank you for your kind words" */
body.am-mobile #el-3249420 {
  order: 12;
} /* Testimonial cards */
body.am-mobile #el-2657504 {
  order: 13;
} /* HR line bottom */
body.am-mobile #el-3331605 {
  order: 14;
} /* Bottom logo image */

/* ── TITLE ── */
body.am-mobile #el-45876 {
  padding: 20px 20px 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
body.am-mobile #el-45876 .title2 {
  font-size: 26px !important;
  line-height: 1.2 !important;
}

/* ── HR LINES ── */
body.am-mobile #el-45875,
body.am-mobile #el-2657504 {
  width: calc(100% - 40px) !important;
  margin: 8px 20px !important;
  height: 2px !important;
}

/* ── HERO IMAGE ── */
body.am-mobile #el-2657420 {
  width: 100% !important;
  height: 220px !important;
  overflow: hidden !important;
}
body.am-mobile #el-2657420 img {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
}

/* ── INTRO TEXT ── */
body.am-mobile #el-2655045 {
  padding: 20px !important;
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  margin: 8px 16px !important;
  background: #f0f0f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}
body.am-mobile #el-2655045 .paragraph3 {
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

/* ── PARTNERSHIPS SUBHEADING ── */
body.am-mobile #el-2655307 {
  padding: 8px 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  text-align: center !important;
}

/* ── PARTNER LOGOS ── */
body.am-mobile #el-3331570 {
  width: calc(100% - 40px) !important;
  height: auto !important;
  margin: 0 20px 16px !important;
}
body.am-mobile #el-3331570 img {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}

/* ── INTERACTIVE CARD BOXES — reset fixed heights ── */
body.am-mobile #el-3331620,
body.am-mobile #el-3331577,
body.am-mobile #el-3249420 {
  width: calc(100% - 32px) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 8px 16px !important;
}

/* Card groups stack vertically */
body.am-mobile #el-3331620 .card-group,
body.am-mobile #el-3331577 .card-group,
body.am-mobile #el-3249420 .card-group {
  height: auto !important;
  min-height: 0 !important;
  flex-direction: column !important;
}

/* Cards: full width, auto height, stacked */
body.am-mobile #el-3331620 .card,
body.am-mobile #el-3331577 .card,
body.am-mobile #el-3249420 .card {
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 16px 0 !important;
}

/* Card images on top, fixed height */
body.am-mobile #el-3331620 .card .card-img-top,
body.am-mobile #el-3331577 .card .card-img-top,
body.am-mobile #el-3249420 .card .card-img-top {
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
}

body.am-mobile #el-3331620 .card .card-img,
body.am-mobile #el-3331577 .card .card-img,
body.am-mobile #el-3249420 .card .card-img {
  height: 200px !important;
  background-size: cover !important;
}

/* Card body: full width below image */
body.am-mobile #el-3331620 .card .card-body,
body.am-mobile #el-3331577 .card .card-body,
body.am-mobile #el-3249420 .card .card-body {
  width: 100% !important;
  height: auto !important;
  position: relative !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

body.am-mobile #el-3331620 .card .card-body-container,
body.am-mobile #el-3331577 .card .card-body-container,
body.am-mobile #el-3249420 .card .card-body-container {
  position: relative !important;
  width: 100% !important;
}

body.am-mobile #el-3331577 .card .card-title,
body.am-mobile #el-3331620 .card .card-title {
  margin: 0 0 12px 0 !important;
  font-size: 18px !important;
}

body.am-mobile #el-3331577 .card .card-caption,
body.am-mobile #el-3331620 .card .card-caption,
body.am-mobile #el-3249420 .card .card-caption {
  margin: 0 0 12px 0 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

body.am-mobile #el-3331577 .card .card-button-container,
body.am-mobile #el-3331620 .card .card-button-container {
  text-align: left !important;
  margin-top: 12px !important;
}

body.am-mobile #el-3331577 .card .card-button,
body.am-mobile #el-3331620 .card .card-button {
  margin: 0 !important;
  padding: 10px 20px !important;
}

/* Swiper container — allow natural height */
body.am-mobile #el-3331620 .swiper-container,
body.am-mobile #el-3331577 .swiper-container,
body.am-mobile #el-3249420 .swiper-container,
body.am-mobile #el-3331620 .swiper-wrapper,
body.am-mobile #el-3331577 .swiper-wrapper,
body.am-mobile #el-3249420 .swiper-wrapper,
body.am-mobile #el-3331620 .swiper-slide,
body.am-mobile #el-3331577 .swiper-slide,
body.am-mobile #el-3249420 .swiper-slide {
  height: auto !important;
  min-height: 0 !important;
}

/* ── YOUTUBE VIDEO ── */
body.am-mobile #el-3331614 {
  width: calc(100% - 32px) !important;
  margin: 8px 16px !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  position: relative !important;
  overflow: hidden !important;
}
body.am-mobile #el-3331614 iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ── THANK YOU HEADING ── */
body.am-mobile #el-3249492 {
  padding: 16px 20px 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  text-align: center !important;
  background: #8a8a8a !important;
}
body.am-mobile #el-3249492 .title2 {
  font-size: 22px !important;
  color: #fff !important;
}

/* ── BOTTOM LOGO ── */
body.am-mobile #el-3331605 {
  width: calc(100% - 40px) !important;
  height: auto !important;
  margin: 16px 20px !important;
}
body.am-mobile #el-3331605 img {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}

/* ── Senior programs: hide the red "For a Limited Time" circle that bleeds through ── */
body.am-mobile #el-3331643 {
  display: none !important;
}
body.am-mobile #el-3331644 {
  display: none !important;
}

/* Fix hero image width — don't clip right edge */
body.am-mobile #el-2657420 {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}
body.am-mobile #el-2657420 img {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: unset !important;
}

/* ── Fix testimonial card images — portrait photos need less height and top crop ── */
body.am-mobile #el-3249420 .card .card-img-top {
  height: 260px !important;
  min-height: 260px !important;
}
body.am-mobile #el-3249420 .card .card-img {
  height: 260px !important;
  background-size: cover !important;
  background-position: center top !important;
}

/* Thank you heading — make it full width teal instead of small grey box */
body.am-mobile #el-3249492 {
  width: 100% !important;
  margin: 0 !important;
  padding: 20px !important;
  background: #37bec4 !important;
  box-sizing: border-box !important;
}
body.am-mobile #el-3249492 .title2 {
  font-size: 26px !important;
  color: #fff !important;
  text-align: center !important;
}

/* ── Testimonial card images — show full face, don't crop top ── */
body.am-mobile #el-3249420 .card .card-img-top {
  height: 320px !important;
  min-height: 320px !important;
}
body.am-mobile #el-3249420 .card .card-img {
  height: 320px !important;
  background-size: contain !important;
  background-position: center center !important;
  background-color: #f0f0f0 !important;
}

/* ── Disable AOS animations on mobile — show everything immediately ── */
body.am-mobile [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* ── Latin Dance Delivery card — image is lazyload with no src, hide the blank area ── */
body.am-mobile #el-3331620 .card .card-img-top {
  display: none !important;
}

/* ── YouTube video on senior page — iframe needs padding-bottom trick ── */
body.am-mobile #el-3331614 {
  width: calc(100% - 32px) !important;
  margin: 8px 16px !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
}
body.am-mobile #el-3331614 iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
/* Make sure the video-element wrapper doesn't collapse it */
body.am-mobile #el-3331614 .video-inner {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ── Senior page YouTube video (el-3331614) — fix iframe sizing ── */
body.am-mobile #el-3331614 {
  position: relative !important;
  width: calc(100% - 32px) !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  margin: 8px 16px !important;
  overflow: hidden !important;
}
body.am-mobile #el-3331614 iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ── Move YouTube video (el-3331614) to just before Latin Dance card ── */
body.am-mobile #el-3331614 {
  order: 6 !important;
}
body.am-mobile #el-3331620 {
  order: 7 !important;
}

/* ── Latin Dance video moved into card via JS — restore card order and hide original video element ── */
body.am-mobile #el-3331614 {
  order: 9 !important;
  display: none !important;
}
body.am-mobile #el-3331620 {
  order: 7 !important;
}
/* Card image slot needs height for the iframe */
body.am-mobile #el-3331620 .card-img-top {
  display: block !important;
  height: 220px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* ── REVERT: video above Latin Dance card, undo iframe-in-card attempt ── */
body.am-mobile #el-3331614 {
  order: 6 !important;
  display: block !important;
}
body.am-mobile #el-3331620 .card-img-top {
  display: none !important;
}

/* ── Latin Dance section: revert to simple video-above-card, restore red circle ── */
body.am-mobile #el-3331643 {
  display: block !important;
} /* restore red circle */
body.am-mobile #el-3331644 {
  display: block !important;
} /* restore "For a Limited Time!" text */
body.am-mobile #el-3331614 {
  order: 6 !important;
  display: block !important;
}
body.am-mobile #el-3331620 {
  order: 7 !important;
}
body.am-mobile #el-3331620 .card-img-top {
  display: none !important;
} /* hide blank grey box */

/* Video sizing */
body.am-mobile #el-3331614 {
  position: relative !important;
  width: calc(100% - 32px) !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  margin: 8px 16px !important;
  overflow: hidden !important;
}
body.am-mobile #el-3331614 iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Red circle badge — position it overlapping bottom-right of video */
body.am-mobile #el-3331643 {
  position: relative !important;
  margin: -60px 16px 0 auto !important;
  width: 100px !important;
  height: 100px !important;
  z-index: 10 !important;
  order: 6 !important;
}
body.am-mobile #el-3331644 {
  order: 6 !important;
  position: relative !important;
}
