/* ============ Global Styles ============ */

/* Ensure buttons and form submits are touch-friendly */
button,
input[type="submit"] {
  min-height: 44px;
  padding: 12px 20px;
}

/* Make media responsive */
img,
iframe,
video {
  max-width: 100%;
  height: auto;
}

/* ============ Header & Navigation ============ */

/* Opaque header on all pages to prevent content overlap */
.ast-theme-transparent-header .site-header,
.site-header {
  position: relative !important;
  background-color: #d83f2c !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Add top padding so content sits below header */
body {
  padding-top: 80px;
}

/* Desktop menu layout */
@media (min-width: 769px) {
  .main-header-menu,
  nav.site-navigation,
  .primary-menu {
    display: flex !important;
    justify-content: center;
  }
  .main-header-menu a,
  .primary-menu a {
    color: #fff !important;
    padding: 0 15px;
  }
}

/* ============ Hero Section Fixes ============ */

/* Fix oversized hero text */
.entry-content h1:first-of-type,
.hero-section h1,
.wp-block-cover h1 {
  font-size: clamp(32px, 6vw, 48px) !important;
  line-height: 1.2 !important;
}

/* Make SIGN UP NOW button more prominent - Multiple selectors for compatibility */
.hero-section .wp-block-button__link,
.wp-block-cover .wp-block-button__link,
.wp-block-cover__inner-container .wp-block-button__link,
a[href*="sign-up"] {
  background: #fff !important;
  color: #d83f2f !important;
  font-size: clamp(18px, 4vw, 24px) !important;
  padding: 20px 40px !important;
  border: 3px solid #fff !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
  font-weight: 800 !important;
}

/* Fix floating CTA button visibility */
.sticky-cta-button,
.floating-book-button,
#floating-cta,
body:after {
  background: #28a745 !important;
  color: white !important;
  border: 2px solid white !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
  z-index: 9999 !important;
  bottom: 80px !important;
  right: 20px !important;
  animation: pulse 2s infinite !important;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============ Video Embed Fixes ============ */

/* Fix YouTube video height and center them */
.wp-block-embed__wrapper iframe[src*="youtube.com/embed"] {
  max-height: 500px !important;
  width: auto !important;
  margin: 0 auto !important;
  display: block !important;
}

/* Center and constrain video containers */
.wp-block-embed.is-type-video {
  max-width: 700px !important;
  margin: 0 auto 30px auto !important;
}

/* Force video embeds to maintain proper aspect ratio */
.wp-block-embed-youtube {
  max-width: 700px !important;
  margin: 0 auto !important;
}

/* Responsive video grid for side-by-side layout */
.video-grid {
  gap: 20px;
}

/* ============ Buttons Container ============ */

/* Center and space buttons globally */
.wp-block-buttons {
  display: flex;
  justify-content: center !important;
  gap: 20px;
}

/* ============ Weekly Schedule Section ============ */

.weekly-schedule {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.weekly-schedule h2 {
  text-align: center;
  color: #d83f2c;
  margin-bottom: 15px;
  font-size: 2.2em;
  font-weight: 700;
}

.weekly-schedule > p {
  text-align: center;
  margin-bottom: 35px;
  color: #555;
  font-size: 1.1em;
  line-height: 1.6;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.schedule-item {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.schedule-item:hover {
  transform: translateY(-8px);
  box-shadow:
