/* Match the site-wide font used across other pages */
.events-hero,
.fd-section,
.od-section,
.fe-section,
.mrc-section,
.age-group-programs,
.ccs-pagination-section {
  font-family: var(--wdtFontTypo_Base);
}

.ccs-section-heading {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
    position: relative;
   
}

.ccs-heading-icon {
    font-size: 28px;
    margin: 0 10px;
}

/* Optional: add underline with decorative dots */
.ccs-section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e04063, #ffcc33);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.ccs-pagination-section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.ccs-page {
  display: none;
}

.ccs-page.active {
  display: block;
}

.ccs-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

/* Reverse ONLY when needed */
.ccs-item.reverse {
  flex-direction: row-reverse;
}

.ccs-text {
  flex: 1;
}

.ccs-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #EB1551;
  font-style: italic;
}

.ccs-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}
.ccs-text .ccs-eligibility-list{
    color:#555;
}
.ccs-btn {
  display: inline-block;
  background: #e60044;
  color: #fff;
  padding: 12px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
}

.ccs-image {
  flex: 1;
  display: flex;
  align-items: center;
}
.ccs-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.ccs-eligibility-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.ccs-eligibility-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #555;
}

/* ICON */
.ccs-eligibility-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #e60044;
  font-weight: bold;
  font-size: 16px;
}

/* Pagination */
.ccs-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}

.page-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #795a63;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color:#e60044;
}


.page-btn.active {
  background: #e60044;
  color:#fff;
}

@media (max-width: 768px) {
  .ccs-item,
  .ccs-item.reverse {
    flex-direction: column;
  }

  .ccs-image img {
    max-height: 280px;
  }
}


/* ================================
   FIRST DAY AT OUR CENTRES
   ================================ */
.fd-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 40px;
  border-radius: 24px;
  background:#ffffff;
  border:1px solid #e6eef5;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/* Tab bar row: title + tabs side by side */
.fd-tabbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.fd-current-title{
    font-family:"Sour Gummy", cursive;
    font-size:42px;
    font-weight:400;
    color:#17366f;
    text-transform:none;
    letter-spacing:0;
}

/* Tab bar */
.fd-tabbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 0;
  overflow-x: auto;
}

.fd-tab{
    font-family:"Nunito",sans-serif;
    font-size:16px;
    font-weight:700;
    border:2px solid #0a6375;
    color:#0a6375;
    background:#fff;
    border-radius:40px;
}

.fd-tab-num {
  font-size: 12px;
  font-weight: 700;
  color: #b98a99;
}

.fd-tab-label {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #8a6b74;
}

.fd-tab-progress {
  display: block;
  width: 100%;
  min-width: 40px;
  height: 3px;
  border-radius: 2px;
  background: rgba(230,0,68,0.15);
  margin-top: 6px;
}

.fd-tab.active{
    background:#0a6375;
    color:#fff;
}

.fd-tab.active .fd-tab-num,
.fd-tab.active .fd-tab-label {
  color: #e60044;
}

.fd-tab.active .fd-tab-progress {
  background: #e60044;
}

.fd-tab:hover:not(.active) {
  background: #f6dee6;
}

/* Panels */
.fd-panel {
  display: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.fd-panel.active {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  box-shadow: 0 18px 42px rgba(31, 47, 94, 0.12);
}


.fd-media {
  flex: 1 1 45%;
  min-width: 300px;
}

.fd-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.fd-content {
  flex: 1 1 55%;
  min-width: 300px;
  padding: 10px 46px 30px;
  position: relative;
  background:
    radial-gradient(circle at 96% 10%, rgba(255,255,255,0.34), transparent 18%),
    linear-gradient(180deg, #e7f5fb 0%, #dbeff9 100%);
}

.fd-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f02e72;
  margin-bottom: 8px;
  position: relative;
}

.fd-content h3 {
  display: none;
}

.fd-content p {
  margin: 0 0 18px 0;
  color: #33515d;
  line-height: 1.8;
  max-width: 520px;
  position: relative;
  font-size: 17px;
}

.fd-content::after {
  content: '';
  display: block;
  width: 62px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f26d62, #f7c65f);
  margin-top: 10px;
}

.fd-panel.active .fd-content {
  background:
    radial-gradient(circle at 96% 10%, rgba(255,255,255,0.42), transparent 18%),
    linear-gradient(180deg, #e3f2fb 0%, #d7ecfa 100%);
  min-height: 100%;
}

.fd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 26px;
  position: relative;
}

.fd-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: #fbeaf0;
  padding: 8px 14px;
  border-radius: 20px;
}

.fd-meta i{
    color:#10A7C8;
}

.fd-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
}

.fd-btn-outline {
  display: inline-block;
  background:#fff;
  border:2px solid #10A7C8;
  color:#10A7C8;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.fd-btn-outline:hover {
  background: #fbeaf0;
}

@media (max-width: 900px) {
  .fd-section { padding: 26px; }
  .fd-tabbar { justify-content: flex-start; }
  .fd-content { padding: 30px 26px; }
  .fd-current-title { font-size: 22px; }
}

@media (max-width: 640px) {
  .fd-tabbar { gap: 10px; }
  .fd-media img { min-height: 220px; }
  .fd-tabbar-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .fd-current-title { font-size: 20px; white-space: normal; }
}

/* ================================
   OPEN DAY - WHAT TO EXPECT
   ================================ */
.od-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 40px;
}

/* Text panel — redesigned as its own card */
.od-text {
  flex: 1 1 46%;
  min-width: 320px;
  background: #fff;
  border-radius: 24px;
  padding: 44px 42px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid #f4e3e9;
}

.od-text h2{
    font-family:"Sour Gummy", cursive;
    font-size:42px;
    font-weight:400;
    line-height:1.15;
    color:#17366f;
    margin-bottom:20px;
}

.od-text h2::after{
    content:"";
    width:70px;
    height:4px;
    background:#0a6375;
    border-radius:50px;
    left:0;
    bottom:0;
}

.od-intro{
    font-family:"Nunito",sans-serif;
    font-size:18px;
    line-height:1.8;
    color:#5a6785;
}

.od-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
}

.od-checklist li{
    font-family:"Nunito",sans-serif;
    font-size:17px;
    font-weight:700;
    color:#17366f;
}

.od-check-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fbeaf0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.od-check-icon i {
  color: #e60044;
  font-size: 15px;
}

.od-desc{
    font-family:"Nunito",sans-serif;
    font-size:18px;
    line-height:1.8;
    color:#5a6785;
}
/* Flyer / promo card */
.od-flyer {
  flex: 1 1 46%;
  min-width: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 40px 36px;
  background:linear-gradient(135deg,#0a6375,#11829b);
  box-shadow: 0 20px 40px rgba(230,0,68,0.25);
  display: flex;
  flex-direction: column;
}

.od-flyer-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: fit-content;
  background: #fff;
  color:#0a6375;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 16px;
  margin-bottom: 18px;
}

.od-flyer-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 22px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.od-flyer-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.od-flyer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.18);
  padding: 8px 14px;
  border-radius: 20px;
  width: fit-content;
}

.od-flyer-activities {
  position: relative;
  z-index: 2;
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.od-flyer-activities li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  color:#0a6375;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 18px;
}

/* Photo inside the flyer */
.od-flyer-photo {
  position: relative;
  z-index: 2;
  margin-top: auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.od-flyer-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Decorative background shapes */
.od-decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  z-index: 1;
  pointer-events: none;
}

.od-decor-1 { width: 160px; height: 160px; top: -50px; right: -40px; }
.od-decor-2 { width: 90px; height: 90px; bottom: -30px; right: 60px; }
.od-decor-3 { width: 50px; height: 50px; bottom: 40px; left: -20px; }

@media (max-width: 900px) {
  .od-text { padding: 34px 28px; }
}

@media (max-width: 640px) {
  .od-flyer { padding: 30px 24px; }
  .od-flyer-title { font-size: 26px; }
  .od-flyer-photo img { height: 160px; }
}

/* ================================
   FINISHED EVENTS SLIDER
   ================================ */
.fe-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.fe-shell {
  background: linear-gradient(180deg, #f4f8ec 0%, #eef5df 100%);
  border-radius: 28px;
  padding: 34px 28px 26px;
  overflow: hidden;
  position: relative;
}

.fe-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.fe-eyebrow{
    font-family:"Poppins",sans-serif !important;
    font-weight:700;
    color:#10A7C8 !important;
    letter-spacing:2px;
}

.fe-heading{
    font-family:"Sour Gummy",cursive !important;
    color:#10A7C8 !important;
    font-weight:400 !important;
}

.fe-copy{
    font-family:"Poppins",sans-serif !important;
    font-size:16px;
    line-height:1.8;
    color:#5A6785 !important;
    font-weight:400;
}

.fe-slider {
  position: relative;
  padding: 10px 0 48px;
}

.fe-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  scroll-behavior: smooth;
  will-change: transform;
}

.fe-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
}

.fe-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(31, 47, 94, 0.10);
  height: 100%;
}

.fe-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.fe-card-body {
  padding: 18px 18px 22px;
}

.fe-card-body h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.25;
  color: #16346b;
}

.fe-card-body p{
    font-family:"Poppins",sans-serif !important;
    font-size:16px;
    line-height:1.7;
    color:#5A6785 !important;
    font-weight:400;
}

.fe-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
}

.fe-dot {
  width: 36px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 58, 134, 0.14);
  opacity: 1;
  margin: 0 4px !important;
  display: inline-block;
  cursor: pointer;
}

.fe-dot.active {
  background: linear-gradient(90deg, #11b8d8, #1f8fe0);
}

.fe-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17b6dc, #1aa0de);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(23, 182, 220, 0.28);
  cursor: pointer;
  z-index: 5;
}

.fe-nav i {
  font-size: 20px;
}

.fe-prev {
  left: -8px;
}

.fe-next {
  right: -8px;
}

@media (max-width: 900px) {
  .fe-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fe-heading {
    font-size: 26px;
  }

  .fe-copy {
    max-width: none;
  }

  .fe-prev {
    left: 6px;
  }

  .fe-next {
    right: 6px;
  }

  .fe-slide {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 640px) {
  .fe-section {
    padding: 0 14px;
  }

  .fe-shell {
    padding: 24px 14px 20px;
    border-radius: 22px;
  }

  .fe-slider {
    padding: 10px 0 60px;
  }

  .fe-heading {
    font-size: 22px;
  }

  .fe-nav {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 26px;
    transform: none;
  }

  .fe-nav i {
    font-size: 16px;
  }

  .fe-prev {
    left: calc(50% - 58px);
  }

  .fe-next {
    right: calc(50% - 58px);
  }

  .fe-card img {
    height: 104px;
  }

  .fe-track {
    gap: 14px;
  }

  .fe-slide {
    flex-basis: 100%;
  }

  .fe-pagination {
    display: none;
  }
}

/* ================================
   MORE REASONS TO CELEBRATE TOGETHER
   ================================ */
.mrc-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 50px 40px 56px 40px;
  border-radius: 28px;
  background: #fdf3e3;
  position: relative;
  overflow: hidden;
}

.mrc-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #222;
  margin: 0 0 44px 0;
  position: relative;
  z-index: 2;
}

.mrc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px 20px;
  position: relative;
  z-index: 2;
}

.mrc-item {
  flex: 1 1 190px;
  max-width: 210px;
  text-align: center;
}

.mrc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  font-size: 22px;
}

.mrc-icon-pink   { background: #ffd9e3; color: #e0447e; }
.mrc-icon-orange { background: #ffe3c2; color: #ff9500; }
.mrc-icon-green  { background: #dcf5df; color: #34a853; }
.mrc-icon-blue   { background: #d7e6fb; color: #3b6fe0; }
.mrc-icon-purple { background: #ece0fb; color: #8a4fd6; }

.mrc-item-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.mrc-title-pink   { color: #e0447e; }
.mrc-title-orange { color: #ff9500; }
.mrc-title-green  { color: #34a853; }
.mrc-title-blue   { color: #3b6fe0; }
.mrc-title-purple { color: #8a4fd6; }

.mrc-item-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Decorative floating icons */
.mrc-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.mrc-decor-star1 { top: 26px; left: 34px; color: #ffcc33; font-size: 18px; }
.mrc-decor-star2 { top: 30px; right: 40px; color: #f47b9e; font-size: 15px; }
.mrc-decor-leaf1 { bottom: 24px; left: 60px; color: #34a853; font-size: 16px; }
.mrc-decor-leaf2 { top: 90px; right: 70px; color: #34a853; font-size: 14px; }
.mrc-decor-sun   { bottom: 30px; right: 30px; color: #ffcc33; font-size: 20px; }

@media (max-width: 900px) {
  .mrc-section { padding: 40px 24px 48px 24px; }
  .mrc-decor { display: none; }
}

@media (max-width: 640px) {
  .mrc-grid { gap: 28px 16px; }
  .mrc-item { flex: 1 1 130px; }
}

/* ================================
   UPCOMING EVENTS - CARD GRID
   ================================ */
.age-group-programs {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.program-heading {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: #222;
  margin: 0 0 10px 0;
}

.program-subheading {
  text-align: center;
  color: #777;
  margin: 0 0 40px 0;
  font-size: 15px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

.program-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.program-card-media {
  position: relative;
  overflow: hidden;
}

.program-card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.program-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px 8px 12px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.program-date-day {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.program-date-month {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.program-date-pink .program-date-day,
.program-date-pink .program-date-month { color: #e0447e; }

.program-date-blue .program-date-day,
.program-date-blue .program-date-month { color: #3b6fe0; }

.program-date-green .program-date-day,
.program-date-green .program-date-month { color: #34a853; }

.program-date-purple .program-date-day,
.program-date-purple .program-date-month { color: #8a4fd6; }

.program-date-orange .program-date-day,
.program-date-orange .program-date-month { color: #ff7a3d; }

.program-card-body {
  padding: 18px 20px 24px 20px;
}

.program-card-body h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.4;
}

.program-card-body h3 a {
  color: #1f3bb3;
  font-weight: 800;
  text-decoration: none;
}

.program-card-body h3 a:hover {
  text-decoration: underline;
}

.program-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #555;
  font-size: 13px;
}

.program-card-location i {
  color: #e60044;
}

@media (max-width: 900px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .programs-grid { grid-template-columns: 1fr; }
}

/* ================================
   BREADCRUMB - remove dot delimiter
   (scoped to Events page only)
   ================================ */
.page-id-20690 .breadcrumb .breadcrumb-default-delimiter {
  display: none;
}

/* ================================
   EVENTS INTRO HERO
   ================================ */
.events-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
  padding: 28px 0 14px;
}

.events-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.events-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.events-decor--plane {
  top: 20px;
  left: 12px;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #75a9ff 0 50%, transparent 50%);
  clip-path: polygon(0 48%, 100% 0, 78% 30%, 56% 100%, 44% 100%, 53% 54%);
  opacity: 0.7;
  transform: rotate(-10deg);
}

.events-decor--leaf {
  top: 168px;
  left: 42px;
  width: 34px;
  height: 34px;
  border: 2px solid #8bb26d;
  border-radius: 100% 0 100% 0;
  transform: rotate(-35deg);
  opacity: 0.85;
}

.events-decor--leaf::before {
  content: '';
  position: absolute;
  inset: 6px 11px 6px 11px;
  border-left: 2px solid #8bb26d;
  transform: rotate(34deg);
}

.events-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
  padding: 20px 0 26px;
  position: relative;
  z-index: 1;
}

.events-intro-copy h2{
    font-family: "Sour Gummy", cursive;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0;
    color: #17366f;
    margin: 0;
    max-width: 620px;
}
.events-intro-copy h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f15b6c, #ffb74a);
}

.events-intro-text {
  padding-left: 30px;
  border-left: 1px solid #d7dbe6;
  max-width: 520px;
}

.events-intro-text p{
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #4d5d7a;
}

@media (max-width: 900px) {
  .events-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .events-intro-text {
    padding-left: 0;
    border-left: none;
    padding-top: 10px;
    border-top: 1px solid #d7dbe6;
  }
  .events-decor { display: none; }

  .page-id-20690 .fd-section,
  .page-id-20690 .od-section,
  .page-id-20690 .mrc-section,
  .page-id-20690 .age-group-programs {
    padding-left: 16px;
    padding-right: 16px;
  }

  .fd-panel.active,
  .page-id-20690 .od-section {
    flex-direction: column;
  }

  .fd-media,
  .fd-content,
  .od-text,
  .od-flyer {
    min-width: 0;
    width: 100%;
  }

  .fd-media img {
    min-height: 260px;
  }

  .fd-content {
    padding: 26px 22px 24px;
  }

  .fd-content h3 {
    display: none;
  }

  .fd-content p {
    font-size: 15px;
  }

  .fd-meta {
    gap: 10px;
  }

  .fd-meta span {
    width: 100%;
    justify-content: flex-start;
  }

  .od-text {
    padding: 28px 22px;
  }

  .od-flyer {
    padding: 28px 22px;
  }

  .mrc-grid {
    justify-content: stretch;
  }

  .mrc-item {
    max-width: none;
    flex: 1 1 calc(50% - 12px);
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card-media img {
    height: 190px;
  }
}

@media (max-width: 640px) {
  .events-hero {
    padding-top: 20px;
  }

  .events-shell {
    padding: 0 16px;
  }

  .events-intro-copy h2 {
    font-size: 30px;
    max-width: none;
  }

  .events-intro-text p {
    font-size: 14px;
  }

  .page-id-20690 .fd-section {
    border-radius: 24px;
    padding: 18px;
  }

  .fd-tabbar {
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .fd-tab {
    min-width: 108px;
    padding: 9px 14px 10px;
  }

  .fd-panel {
    border-radius: 18px;
  }

  .fd-media img {
    min-height: 220px;
  }

  .fd-content {
    padding: 22px 18px 20px;
  }

  .fd-content h3 {
    display: none;
  }

  .fd-content p {
    font-size: 14px;
    line-height: 1.68;
  }

  .fd-cta,
  .fd-meta {
    flex-direction: column;
  }

  .fd-cta a,
  .fd-btn-outline,
  .ccs-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .page-id-20690 .od-text,
  .page-id-20690 .od-flyer {
    border-radius: 20px;
  }

  .od-text h2 {
    font-size: 22px;
  }

  .od-flyer-title {
    font-size: 26px;
  }

  .mrc-section {
    padding-top: 34px;
    padding-bottom: 34px;
    border-radius: 22px;
  }

  .mrc-heading {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .mrc-item {
    flex-basis: 100%;
  }

  .program-heading {
    font-size: 26px;
  }

  .program-subheading {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .events-intro-copy h2 {
    font-size: 26px;
    line-height: 1.1;
  }

  .fd-media img {
    min-height: 190px;
  }

  .program-card-media img {
    height: 170px;
  }
}

/* =========================================================
   EVENTS PAGE — CLEAN DAILY ROUTINE THEME
   Keeps the existing UI/layout and applies one final theme.
========================================================= */

:root {
  --events-cyan: #00abc8;
  --events-teal: #0a6375;
  --events-teal-hover: #0b8fae;
  --events-pale: #eafbfe;
  --events-pale-2: #ddf5fa;
  --events-border: #b9ebf5;
  --events-white: #ffffff;
  --events-heading-font: "Sour Gummy", cursive;
  --events-body-font: "Poppins", sans-serif;
}

/* Page shell */
.page-id-20690 .elementor-section-wrap {
  background:
    radial-gradient(circle at top center, rgba(0, 171, 200, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
}

.page-id-20690 .events-hero,
.page-id-20690 .fd-section,
.page-id-20690 .od-section,
.page-id-20690 .fe-section,
.page-id-20690 .mrc-section,
.page-id-20690 .age-group-programs,
.page-id-20690 .ccs-pagination-section {
  font-family: var(--events-body-font);
  position: relative;
  z-index: 1;
}

/* Headings */
.page-id-20690 .events-intro-copy h2,
.page-id-20690 .fd-current-title,
.page-id-20690 .od-text h2,
.page-id-20690 .fe-heading,
.page-id-20690 .mrc-heading,
.page-id-20690 .program-heading,
.page-id-20690 .ccs-section-heading,
.page-id-20690 .ccs-text h2 {
  font-family: var(--events-heading-font) !important;
  font-weight: 400 !important;
  color: var(--events-cyan) !important;
  font-style: normal;
}

/* Body text */
.page-id-20690 .events-intro-text p,
.page-id-20690 .fd-content p,
.page-id-20690 .od-intro,
.page-id-20690 .od-desc,
.page-id-20690 .od-checklist li,
.page-id-20690 .fe-copy,
.page-id-20690 .fe-card-body p,
.page-id-20690 .mrc-item-desc,
.page-id-20690 .program-subheading,
.page-id-20690 .program-card-location,
.page-id-20690 .ccs-text p,
.page-id-20690 .ccs-eligibility-list li {
  font-family: var(--events-body-font) !important;
  color: var(--events-teal) !important;
}

/* Hero */
.page-id-20690 .events-intro-copy h2::after,
.page-id-20690 .od-text h2::after,
.page-id-20690 .ccs-section-heading::after {
  background: var(--events-cyan) !important;
}

.page-id-20690 .events-intro-text {
  border-color: var(--events-border) !important;
}

/* First Day section */
.page-id-20690 .fd-section {
  max-width: 1140px;
  padding: 26px;
  border-radius: 30px;
  background: var(--events-white);
  border: 1px solid #eceff6;
  box-shadow: 0 18px 40px rgba(31, 47, 94, 0.08);
}

.page-id-20690 .fd-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.page-id-20690 .fd-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 12px 26px;
  border: 2px solid var(--events-teal);
  border-radius: 999px;
  background: var(--events-white);
  color: var(--events-teal);
  box-shadow: none;
  cursor: pointer;
  font-family: var(--events-body-font) !important;
}

.page-id-20690 .fd-tab-num,
.page-id-20690 .fd-tab-progress {
  display: none;
}

.page-id-20690 .fd-tab-label {
  font-family: var(--events-body-font) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--events-teal);
}

.page-id-20690 .fd-tab.active {
  background: var(--events-teal);
  border-color: var(--events-teal);
}

.page-id-20690 .fd-tab.active .fd-tab-label {
  color: var(--events-white);
}

.page-id-20690 .fd-tab:hover:not(.active) {
  background: var(--events-pale);
}

.page-id-20690 .fd-panel.active .fd-content,
.page-id-20690 .fd-content {
  background: linear-gradient(180deg, var(--events-pale) 0%, var(--events-pale-2) 100%);
}

.page-id-20690 .fd-eyebrow {
  font-family: var(--events-body-font) !important;
  color: var(--events-cyan) !important;
  font-weight: 700;
}

.page-id-20690 .fd-meta span {
  font-family: var(--events-body-font) !important;
  background: var(--events-white);
  border: 1px solid var(--events-border);
  color: var(--events-teal);
}

.page-id-20690 .fd-meta i {
  color: var(--events-cyan);
}

/* ==========================================
   CTA BUTTONS - DAILY ROUTINE STYLE
========================================== */

/* Book a Tour */
.page-id-20690 .ccs-btn{
    background:#00ABC8 !important;
    border:2px solid #00ABC8 !important;
    color:#ffffff !important;
    font-family:"Poppins",sans-serif !important;
    font-weight:700 !important;
    box-shadow:none !important;
}

.page-id-20690 .ccs-btn:hover{
    background:#0A6375 !important;
    border-color:#0A6375 !important;
    color:#ffffff !important;
}

/* Visit Centre */
.page-id-20690 .fd-btn-outline{
    background:#ffffff !important;
    border:2px solid #00ABC8 !important;
    color:#00ABC8 !important;
    font-family:"Poppins",sans-serif !important;
    font-weight:700 !important;
    box-shadow:none !important;
}

.page-id-20690 .fd-btn-outline:hover{
    background:#00ABC8 !important;
    border-color:#00ABC8 !important;
    color:#ffffff !important;
}

/* Open Day */
.page-id-20690 .od-section {
  gap: 24px;
  align-items: stretch;
  max-width: 1140px;
}

.page-id-20690 .od-text {
  background: var(--events-white);
  border-color: var(--events-border);
}

.page-id-20690 .od-check-icon {
  background: var(--events-pale);
  border: 1px solid var(--events-border);
}

.page-id-20690 .od-check-icon i {
  color: var(--events-cyan);
}

.page-id-20690 .od-flyer {
  background: var(--events-teal);
  box-shadow: 0 18px 38px rgba(10, 99, 117, 0.20);
}

/* ==========================================
   OPEN DAY ACTIVITY PILLS
   Daily Routine Style
========================================== */

.page-id-20690 .od-flyer-activities li{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:12px 22px;

    background:#ffffff !important;
    border:2px solid #9EE7F7 !important;
    border-radius:999px;

    color:#00ABC8 !important;

    font-family:"Sour Gummy", cursive !important;
    font-size:18px;
    font-weight:400;

    box-shadow:none !important;
}

.page-id-20690 .od-flyer-activities li i{
    color:#00ABC8 !important;
    font-size:16px;
}

.page-id-20690 .od-flyer-activities li:hover{
    background:#EAFBFE !important;
}

.page-id-20690 .od-flyer-title {
  font-family: var(--events-heading-font) !important;
  font-weight: 400;
  color: var(--events-white);
}

/* Finished Events / Past Highlights */
.page-id-20690 .fe-eyebrow {
  font-family: var(--events-body-font) !important;
  color: var(--events-cyan);
  font-weight: 700;
}

.page-id-20690 .fe-card-body h3 {
  font-family: var(--events-heading-font) !important;
  font-weight: 400;
  color: var(--events-cyan);
}

.page-id-20690 .fe-nav {
  background: var(--events-cyan);
  color: var(--events-white);
}

.page-id-20690 .fe-dot {
  width: 36px;
  height: 10px;
  border: 2px solid var(--events-cyan);
  border-radius: 999px;
  background: var(--events-white);
  opacity: 1;
}

.page-id-20690 .fe-dot.active {
  background: var(--events-cyan);
  border-color: var(--events-cyan);
}

/* More Reasons */
.page-id-20690 .mrc-section {
  max-width: 1140px;
  background: var(--events-white);
  border: 1px solid #eceff6;
  box-shadow: 0 18px 40px rgba(31, 47, 94, 0.08);
}

.page-id-20690 .mrc-item-title {
  font-family: var(--events-body-font) !important;
  color: var(--events-teal) !important;
}

/* Upcoming Events */
.page-id-20690 .age-group-programs {
  max-width: 1140px;
}

.page-id-20690 .program-card {
  border: 1px solid #eceff6;
  box-shadow: 0 18px 40px rgba(31, 47, 94, 0.08);
}

.page-id-20690 .program-card-body h3,
.page-id-20690 .program-card-body h3 a {
  font-family: var(--events-heading-font) !important;
  font-weight: 400;
  color: var(--events-cyan);
}

.page-id-20690 .program-card-location i,
.page-id-20690 .program-date-day,
.page-id-20690 .program-date-month {
  color: var(--events-cyan) !important;
}

/* CCS */
.page-id-20690 .ccs-eligibility-list li::before {
  color: var(--events-cyan);
}

.page-id-20690 .page-btn {
  border-color: var(--events-teal);
  color: var(--events-teal);
}

.page-id-20690 .page-btn.active {
  background: var(--events-teal);
  color: var(--events-white);
}

@media (max-width: 640px) {
  .page-id-20690 .fd-tabbar {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding-bottom: 0;
  }

  .page-id-20690 .fd-tab {
    flex: 1 1 100%;
    width: 100%;
    padding: 10px 18px;
    white-space: normal;
    text-align: center;
  }

  .page-id-20690 .mrc-grid {
    justify-content: center;
    gap: 26px;
  }

  .page-id-20690 .mrc-item {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-id-20690 .mrc-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .page-id-20690 .mrc-item-title,
  .page-id-20690 .mrc-item-desc {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-id-20690 .mrc-item-title {
    max-width: 260px;
  }

  .page-id-20690 .mrc-item-desc {
    max-width: 270px;
    line-height: 1.7;
  }
}

/* ===========================================
   CENTRE TABS — ACTIVE + INACTIVE STYLE
   Keep this at the END of events.css
=========================================== */

/* Inactive tabs */
.page-id-20690 .fd-tab {
    background: #ffffff !important;
    border: 2px solid #0A6375 !important;
    box-shadow: none !important;
}

.page-id-20690 .fd-tab .fd-tab-label {
    color: #0A6375 !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
}

/* Selected tab */
.page-id-20690 .fd-tab.active {
    background: #00ABC8 !important;
    border-color: #00ABC8 !important;
    box-shadow: none !important;
}

.page-id-20690 .fd-tab.active .fd-tab-label {
    color: #ffffff !important;
}

/* Hover only for inactive tabs */
.page-id-20690 .fd-tab:hover:not(.active) {
    background: #00ABC8 !important;
    border-color: #00ABC8 !important;
}

.page-id-20690 .fd-tab:hover:not(.active) .fd-tab-label {
    color: #ffffff !important;
}

/* Finished Events pagination dots */
.page-id-20690 .fe-pagination button.fe-dot {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 2px solid #00abc8 !important;
    box-shadow: none !important;
}

/* Hovered dot becomes blue */
.page-id-20690 .fe-pagination button.fe-dot:hover,
.page-id-20690 .fe-pagination button.fe-dot:focus {
    background: #00abc8 !important;
    background-color: #00abc8 !important;
    background-image: none !important;
    border-color: #00abc8 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Current active dot stays blue */
.page-id-20690 .fe-pagination button.fe-dot.active {
    background: #00abc8 !important;
    background-color: #00abc8 !important;
    background-image: none !important;
    border-color: #00abc8 !important;
}

/* Events page heading weight */
.page-id-20690 .main-title-section h1,
.page-id-20690 .main-title-section h2,
.page-id-20690 .main-title-section .main-title,
.page-id-20690 .events-intro-copy h2,
.page-id-20690 .fd-current-title,
.page-id-20690 .fd-content h3,
.page-id-20690 .od-text h2,
.page-id-20690 .od-flyer-title,
.page-id-20690 .fe-heading,
.page-id-20690 .fe-card-body h3,
.page-id-20690 .mrc-heading,
.page-id-20690 .mrc-item-title,
.page-id-20690 .program-heading,
.page-id-20690 .program-subheading,
.page-id-20690 .program-card-body h3,
.page-id-20690 .program-card-body h3 a,
.page-id-20690 .ccs-section-heading,
.page-id-20690 .ccs-text h2,
.page-id-20690 .elementor-heading-title {
    font-weight: 800 !important;
}

/* Keep Open Day checklist icons and text on the same row */
.page-id-20690 .od-checklist li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

.page-id-20690 .od-check-icon {
    display: inline-flex !important;
    flex: 0 0 38px !important;
}

/* Keep Events image cards evenly sized and aligned */
.page-id-20690 .fe-card,
.page-id-20690 .program-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.page-id-20690 .fe-card img,
.page-id-20690 .program-card-media img {
    width: 100% !important;
    height: 190px !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center !important;
}

.page-id-20690 .fe-card-body,
.page-id-20690 .program-card-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 150px !important;
}

.page-id-20690 .fe-card-body h3,
.page-id-20690 .program-card-body h3 {
    min-height: 44px !important;
    margin-bottom: 10px !important;
}

.page-id-20690 .fe-card-body p,
.page-id-20690 .program-card-location {
    margin-top: auto !important;
}

@media (max-width: 640px) {
    .page-id-20690 .fe-card img,
    .page-id-20690 .program-card-media img {
        height: 180px !important;
    }

    .page-id-20690 .fe-card-body,
    .page-id-20690 .program-card-body {
        min-height: 140px !important;
    }
}

/* Events boxed section treatment */
.page-id-20690 .events-intro,
.page-id-20690 .fd-section,
.page-id-20690 .fe-shell,
.page-id-20690 .mrc-section,
.page-id-20690 .age-group-programs,
.page-id-20690 .od-text,
.page-id-20690 .od-flyer {
    border: 1px solid rgba(0, 171, 200, 0.22) !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(31, 47, 94, 0.08) !important;
}

.page-id-20690 .events-intro,
.page-id-20690 .age-group-programs {
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 34px 28px !important;
}

.page-id-20690 .fd-section,
.page-id-20690 .mrc-section {
    padding: 34px 28px !important;
}

.page-id-20690 .fe-shell {
    padding: 34px 28px 26px !important;
}

.page-id-20690 .od-text,
.page-id-20690 .od-flyer {
    padding: 34px 30px !important;
}

.page-id-20690 .events-intro-copy h2,
.page-id-20690 .fd-current-title,
.page-id-20690 .od-text h2,
.page-id-20690 .fe-heading,
.page-id-20690 .mrc-heading,
.page-id-20690 .program-heading {
    font-size: 34px !important;
    line-height: 1.12 !important;
    margin-bottom: 18px !important;
}

.page-id-20690 .program-subheading,
.page-id-20690 .mrc-description,
.page-id-20690 .fe-copy {
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 767px) {
    .page-id-20690 .events-intro,
    .page-id-20690 .fd-section,
    .page-id-20690 .fe-shell,
    .page-id-20690 .mrc-section,
    .page-id-20690 .age-group-programs,
    .page-id-20690 .od-text,
    .page-id-20690 .od-flyer {
        border-radius: 20px !important;
    }

    .page-id-20690 .events-intro,
    .page-id-20690 .fd-section,
    .page-id-20690 .fe-shell,
    .page-id-20690 .mrc-section,
    .page-id-20690 .age-group-programs,
    .page-id-20690 .od-text,
    .page-id-20690 .od-flyer {
        padding: 24px 18px !important;
    }

    .page-id-20690 .events-intro-copy h2,
    .page-id-20690 .fd-current-title,
    .page-id-20690 .od-text h2,
    .page-id-20690 .fe-heading,
    .page-id-20690 .mrc-heading,
    .page-id-20690 .program-heading {
        font-size: 28px !important;
        margin-bottom: 14px !important;
    }
}

/* Restore the hero intro and Open Day flyer treatments */
.page-id-20690 .events-intro {
    border: 1px solid rgba(0, 171, 200, 0.22) !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(31, 47, 94, 0.08) !important;
    padding: 34px 28px !important;
}

.page-id-20690 .events-intro-copy h2 {
    font-size: 58px !important;
    line-height: 1.05 !important;
    margin-bottom: 0 !important;
}

.page-id-20690 .events-short-heading {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 42px !important;
    margin: 0 0 20px !important;
    padding: 9px 28px !important;
    border: 2px solid rgba(0, 171, 200, 0.32) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #00abc8 !important;
    box-shadow: none !important;
    font-family: var(--events-body-font) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
}

.page-id-20690 .events-heading-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: min(100%, 360px) !important;
}

.page-id-20690 .fd-current-title {
    margin-top: 0 !important;
}

.page-id-20690 .mrc-section > .events-short-heading,
.page-id-20690 .age-group-programs > .events-short-heading {
    display: flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-id-20690 .mrc-section > .events-short-heading {
    margin-bottom: 16px !important;
}

.page-id-20690 .age-group-programs > .events-short-heading {
    margin-bottom: 14px !important;
}

.page-id-20690 .od-flyer {
    background: linear-gradient(135deg, #0a6375, #11829b) !important;
    border-color: transparent !important;
    box-shadow: 0 20px 40px rgba(10, 99, 117, 0.22) !important;
}

.page-id-20690 .od-flyer-badge {
    background: #ffffff !important;
    color: #0a6375 !important;
}

.page-id-20690 .od-flyer-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 767px) {
    .page-id-20690 .events-intro {
        border-radius: 20px !important;
        padding: 24px 18px !important;
    }

    .page-id-20690 .events-intro-copy h2 {
        font-size: 42px !important;
    }
}

@media (max-width: 520px) {
    .page-id-20690 .events-intro-copy h2 {
        font-size: 36px !important;
    }
}

/* Final mobile pass for restored Events sections */
@media (max-width: 900px) {
    .page-id-20690 .events-shell,
    .page-id-20690 .od-section,
    .page-id-20690 .fe-section,
    .page-id-20690 .age-group-programs {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        box-sizing: border-box !important;
    }

    .page-id-20690 .events-intro {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .page-id-20690 .events-intro-text {
        max-width: none !important;
        padding-left: 0 !important;
        border-left: 0 !important;
        padding-top: 16px !important;
        border-top: 1px solid rgba(0, 171, 200, 0.22) !important;
    }

    .page-id-20690 .od-section {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .page-id-20690 .od-text,
    .page-id-20690 .od-flyer {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 640px) {
    .page-id-20690 .events-hero {
        padding-top: 18px !important;
    }

    .page-id-20690 .events-shell,
    .page-id-20690 .od-section,
    .page-id-20690 .fe-section,
    .page-id-20690 .age-group-programs {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .page-id-20690 .events-intro-copy h2 {
        font-size: 38px !important;
        line-height: 1.08 !important;
        max-width: 100% !important;
    }

    .page-id-20690 .events-short-heading {
        min-height: 38px !important;
        margin-bottom: 16px !important;
        padding: 8px 22px !important;
        font-size: 14px !important;
    }

    .page-id-20690 .events-intro-copy h2::after {
        width: 52px !important;
        height: 4px !important;
        margin-top: 14px !important;
    }

    .page-id-20690 .events-intro-text p,
    .page-id-20690 .od-intro,
    .page-id-20690 .od-desc {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .page-id-20690 .od-text,
    .page-id-20690 .od-flyer {
        padding: 24px 18px !important;
        border-radius: 20px !important;
    }

    .page-id-20690 .od-text h2 {
        font-size: 28px !important;
        line-height: 1.12 !important;
    }

    .page-id-20690 .od-checklist li,
    .page-id-20690 .od-flyer-activities li {
        width: 100% !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    .page-id-20690 .od-flyer-badge {
        font-size: 10px !important;
        padding: 6px 14px !important;
        margin-bottom: 16px !important;
    }

    .page-id-20690 .od-flyer-title {
        font-size: 30px !important;
        line-height: 1.18 !important;
        margin-bottom: 22px !important;
    }

    .page-id-20690 .od-flyer-photo img {
        height: 180px !important;
        object-fit: cover !important;
    }

    .page-id-20690 .fd-current-title,
    .page-id-20690 .fe-heading,
    .page-id-20690 .mrc-heading,
    .page-id-20690 .program-heading {
        font-size: 28px !important;
        line-height: 1.15 !important;
    }
}

@media (max-width: 420px) {
    .page-id-20690 .events-intro-copy h2 {
        font-size: 34px !important;
    }

    .page-id-20690 .od-flyer-title {
        font-size: 27px !important;
    }

    .page-id-20690 .od-flyer-photo img {
        height: 160px !important;
    }
}

/* Mobile side arrows for the memories slider */
@media (max-width: 640px) {
    .page-id-20690 .fe-slider {
        padding: 10px 28px 22px !important;
    }

    .page-id-20690 .fe-nav {
        top: 50% !important;
        bottom: auto !important;
        width: 26px !important;
        height: 26px !important;
        transform: translateY(-50%) !important;
        box-shadow: 0 10px 18px rgba(0, 171, 200, 0.24) !important;
    }

    .page-id-20690 .fe-nav i {
        font-size: 11px !important;
    }

    .page-id-20690 .fe-prev {
        left: 0 !important;
    }

    .page-id-20690 .fe-next {
        right: 0 !important;
    }
}
