/* ==========================================================================
   HEART STUDIO - ARTISTIC & CREATIVE THEME STYLES
   Accent: Pink (#FF5C8A)
   ========================================================================== */

.studio-hero-banner {
  --hero-background-image: url('../images/studio art hero bg.avif');
  --hero-background-position: top center;
  background: #FFFFFF;
  padding: 2.25rem 0 1.25rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 768px) {
  .studio-hero-banner {
    --hero-background-image: url('../images/studio art hero bg mobile.avif');
    --hero-background-position: top center;
    padding: 1.75rem 0 1rem;
  }
}

.studio-page-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.studio-hero-banner .studio-page-header > p {
  max-width: 920px !important;
}

.programme-gallery-carousel {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #FFFFFF;
  padding: 2.75rem 0 4.5rem;
  min-height: 38rem;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  position: relative;
  overflow: visible;
}

.programme-gallery-carousel .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  perspective: 1400px;
  overflow: visible;
}

/* Soft fade out overlays on full-width left and right edges */
.programme-gallery-carousel::before,
.programme-gallery-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(4rem, 10vw, 9rem);
  z-index: 10;
  pointer-events: none;
}

.programme-gallery-carousel::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF 25%, rgba(255, 255, 255, 0) 100%);
}

.programme-gallery-carousel::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF 25%, rgba(255, 255, 255, 0) 100%);
}

.programme-gallery-carousel__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  position: static;
}

.programme-gallery-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--pink-light);
  color: var(--pink);
  border: 1px solid var(--border-pink);
  box-shadow: 0 2px 8px rgba(255, 92, 138, 0.08);
  margin: 0;
  position: relative;
  z-index: 15;
}

.programme-gallery-carousel__controls {
  display: flex;
  position: absolute;
  top: 56%;
  right: 0;
  left: 0;
  width: 100%;
  padding: 0 clamp(1rem, 3.5vw, 3rem);
  z-index: 50;
  justify-content: space-between;
  flex-shrink: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.programme-gallery-carousel__controls .carousel-control {
  pointer-events: auto;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  -webkit-text-stroke: 1.2px currentColor;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 55;
}

.programme-gallery-carousel__controls .carousel-control svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.programme-gallery-carousel__controls .carousel-control:hover {
  background: #FFFFFF;
  color: var(--pink, #FF5C8A);
  border-color: var(--border-pink);
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.programme-gallery-carousel__track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
  min-height: 33rem;
  overflow-x: auto;
  padding: 4.5rem clamp(2.5rem, 7vw, 7rem) 5.5rem;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform-style: preserve-3d;
}

.programme-gallery-carousel__track::-webkit-scrollbar {
  display: none;
}

.programme-gallery-carousel__item {
  display: block;
  flex: 0 0 clamp(14.5rem, 19vw, 21.5rem);
  min-width: 14rem;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg, 16px);
  background: #F1F5F9;
  box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.18), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
  border: none;
  padding: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, z-index;
  text-align: inherit;
  font: inherit;
  transition: box-shadow 0.3s ease;
  position: relative;
}

.programme-gallery-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg, 16px);
  pointer-events: none;
  transition: transform 0.45s ease;
}

.programme-gallery-carousel__item:hover,
.programme-gallery-carousel__item:focus-visible {
  box-shadow: 0 28px 60px -8px rgba(0, 0, 0, 0.28), 0 10px 22px -4px rgba(0, 0, 0, 0.1);
}

.programme-gallery-carousel__item:hover img,
.programme-gallery-carousel__item:focus-visible img {
  transform: scale(1.04);
}

.programme-gallery-carousel__item:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
}

.studio-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--pink-light);
  color: var(--pink);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.studio-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--dark-heading);
  margin-bottom: 1rem;
}

.studio-meta-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.studio-meta-bar .meta-chip:hover {
  border-color: var(--border-pink);
}

/* Programme Details Split */
.studio-main-content-section,
.section:has(.programme-details-grid),
.section:has(> .container.programme-details-grid) {
  padding-top: 0 !important;
}

.programme-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.art-content-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.art-syllabus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin: 1.5rem 0 2rem;
}

.syllabus-item-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-body);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--dark);
  border: 1px solid var(--border);
}

.skills-developed-box {
  background: linear-gradient(135deg, #FFF6F8 0%, #FFFFFF 100%);
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   PROGRAMME OVERVIEW ACCORDION (Desktop & Mobile: Collapsible Accordion)
   ========================================================================== */
.programme-overview-accordions {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1rem;
}

.programme-accordion-item {
  border: 1.5px solid rgba(255, 92, 138, 0.25);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(255, 92, 138, 0.08);
  transition: all 0.25s ease;
}

.programme-accordion-item[open] {
  border-color: var(--pink);
  box-shadow: 0 6px 20px rgba(255, 92, 138, 0.16);
}

.programme-accordion-header {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 1.1rem 1.35rem;
  background: #FFF5F8;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.programme-accordion-header::-webkit-details-marker {
  display: none;
}

.programme-accordion-item[open] .programme-accordion-header {
  border-bottom-color: rgba(255, 92, 138, 0.18);
  background: #FFEBF1;
}

.programme-accordion-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-heading);
  margin: 0;
  line-height: 1.35;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.programme-accordion-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-left: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.programme-accordion-item[open] .programme-accordion-chevron {
  transform: rotate(180deg);
  background: var(--pink);
  color: #FFFFFF;
}

.programme-accordion-body {
  padding: 1.35rem;
}

@media (max-width: 768px) {
  .art-content-box {
    padding: 1.25rem 1rem !important;
  }
  
  .programme-overview-accordions {
    gap: 0.85rem;
    margin-top: 0.75rem;
  }

  .programme-accordion-header {
    padding: 1rem 1.15rem;
  }

  .programme-accordion-title {
    font-size: 1.05rem;
  }

  .programme-accordion-chevron {
    width: 28px;
    height: 28px;
  }

  .programme-accordion-body {
    padding: 1.15rem;
  }

  .art-syllabus-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem;
  }

  .skills-developed-box {
    margin-top: 0.5rem;
    padding: 1.15rem;
  }
}

.skills-developed-box h4 {
  color: var(--pink);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.skill-trophy-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.skill-trophy-item:last-child {
  margin-bottom: 0;
}

/* Founder Rena Chew Box & About Media */
.about-image-wrap {
  width: 100%;
  border-radius: var(--radius-2xl, 24px);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
}

.founder-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.founder-quote-banner {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark-heading);
  background: var(--pink-light);
  border-left: 5px solid var(--pink);
  padding: 1.25rem 1.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.dsa-school-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.dsa-school-tag {
  background: var(--pink-light);
  color: var(--pink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-pink);
}

@media (max-width: 900px) {
  .programme-details-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .programme-gallery-carousel {
    padding: 2rem 0 3rem;
    min-height: 28rem;
  }

  .programme-gallery-carousel__track {
    min-height: 24rem;
    gap: 1.25rem;
    padding: 3rem clamp(1.5rem, 5vw, 4rem) 3.5rem;
  }

  .programme-gallery-carousel__item {
    flex: 0 0 clamp(11.5rem, 28vw, 15rem);
    min-width: 10.5rem;
  }

  .studio-meta-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .programme-gallery-carousel {
    padding: 1.25rem 0 2rem;
    min-height: 0;
  }

  .programme-gallery-carousel__track {
    min-height: 17rem;
    gap: 1rem;
    padding: 1.5rem 1.25rem 2rem;
  }

  .programme-gallery-carousel__item {
    flex: 0 0 clamp(9.5rem, 42vw, 12.5rem);
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .programme-gallery-carousel {
    padding: 1rem 0 1.5rem;
    min-height: 0;
  }

  .programme-gallery-carousel__track {
    min-height: 14rem;
    gap: 0.75rem;
    padding: 1.25rem 0.85rem 1.5rem;
  }

  .programme-gallery-carousel__item {
    flex: 0 0 clamp(8rem, 38vw, 10.5rem);
    min-width: 0;
    border-radius: 12px;
  }

  .programme-gallery-carousel__item img {
    border-radius: 12px;
  }

  .programme-gallery-carousel__controls {
    padding: 0 0.5rem;
  }

  .programme-gallery-carousel__controls .carousel-control {
    width: 2.25rem;
    height: 2.25rem;
  }

  .studio-meta-bar {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .meta-chip {
    min-height: 0;
    padding: 0.85rem 1rem;
  }
}

/* ==========================================================================
   Full-Width Kids Art Gallery Wall Hero & Carousel
   ========================================================================== */
.gallery-wall-hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 1200px;
  background-image: url('../images/art%20gallery%20background_converted.avif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 3rem;
  overflow: hidden;
  box-shadow: none !important;
  /* Prevent layout shift while background loads */
  background-color: #f5e8dc;
}

/* Soft Bottom Fade Out */
.gallery-wall-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(255, 246, 248, 0) 0%, rgba(255, 246, 248, 0.35) 40%, rgba(255, 246, 248, 0.8) 75%, var(--bg-soft-pink, #FFF6F8) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-wall-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: -200px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none !important;
}

.gallery-wall-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  box-shadow: none !important;
}

.gallery-wall-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #1e1511;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: none;
}

.gallery-wall-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: #3e3128;
  line-height: 1.65;
  font-weight: 500;
  max-width: 740px;
  margin: 0 auto;
  text-shadow: none;
  animation: galleryContentFadeUp 0.8s cubic-bezier(0.22, 0.8, 0.32, 1) 0.16s both;
}

/* Gallery Programme Dropdown Filter Centered */
.gallery-filter-dropdown-bar {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.75rem;
  box-shadow: none !important;
  animation: galleryContentFadeUp 0.8s cubic-bezier(0.22, 0.8, 0.32, 1) 0.3s both;
}

.gallery-filter-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #573218;
  border-radius: 6px;
  padding: 0.4rem 0.85rem;
  box-shadow: none !important;
}

.gallery-filter-select-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #3e2615;
  white-space: nowrap;
}

.gallery-filter-select {
  appearance: auto;
  -webkit-appearance: auto;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #24140a;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  outline: none;
  box-shadow: none !important;
}

.gallery-filter-select:focus-visible {
  outline: 2px solid var(--pink, #ff5c8a);
  border-radius: 4px;
}

/* Carousel Outer Wrapper - No Shadow */
.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  animation: galleryContentFadeUp 0.85s cubic-bezier(0.22, 0.8, 0.32, 1) 0.42s both;
}

@keyframes galleryContentFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-wall-desc,
  .gallery-filter-dropdown-bar,
  .gallery-carousel-wrapper {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Carousel Viewport - No Shadow */
.gallery-carousel-viewport {
  width: 100%;
  container-type: inline-size;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1.5rem 0.5rem;
  box-shadow: none !important;
  min-height: 420px;
}

.gallery-carousel-viewport::-webkit-scrollbar {
  display: none;
}

/* Carousel Track & Container - Removed Shadow */
#gallery-grid-container,
.gallery-carousel-track {
  display: flex;
  gap: 1.75rem;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  box-shadow: none !important;
}

/* Brown Framed Picture Cards - No Shadow */
.gallery-frame-card {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 calc((100cqw - 3.5rem) / 3);
  max-width: calc((100cqw - 3.5rem) / 3);
  scroll-snap-align: start;
  cursor: pointer;
  background: #3c2010;
  border: 12px solid #573218;
  border-radius: 4px;
  box-shadow: none !important;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 12px;
  user-select: none;
}

/* Passe-partout / Archival White Matting with Padding - No Shadow */
.gallery-frame-mat {
  background: #fdfbf7;
  padding: 12px;
  border-radius: 2px;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Inner Artwork Container - 3:4 Aspect Ratio - No Shadow */
.gallery-frame-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e9e5de;
  border-radius: 1px;
  box-shadow: none !important;
}

.gallery-frame-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

/* Clean Museum Hover Effect - No magnifying glass icon */
.gallery-frame-hover-hint,
.gallery-frame-zoom-icon {
  display: none !important;
}

.gallery-frame-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: none !important;
}

.gallery-frame-card:hover .gallery-frame-image-box img {
  transform: scale(1.06);
}

/* Authentic Museum Wall Plaque - Displays Programme Name - No Shadow */
.gallery-frame-plaque {
  margin-top: 10px;
  background: linear-gradient(135deg, #e4cca2 0%, #caa971 50%, #dfc798 100%);
  color: #2e1d0f;
  padding: 8px 12px;
  border-radius: 2px;
  box-shadow: none !important;
  border: 1px solid #ad8c55;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-plaque-title {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-family: inherit;
  letter-spacing: 0.02em;
}

/* Navigation Left and Right Arrow Buttons - No Shadow */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #573218;
  color: #573218;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-nav-prev {
  left: -28px;
}

.gallery-nav-next {
  right: -28px;
}

.gallery-nav-btn:hover {
  background: #573218;
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: none !important;
}

.gallery-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Responsive: Mobile-Friendly Gallery Hero & Carousel */
@media (max-width: 768px) {
  .gallery-wall-hero {
    height: 650px;
    background-size: cover;
    background-position: 85% center;
    padding: 0 0.5rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .gallery-wall-hero::after {
    height: 120px;
  }

  .gallery-wall-content {
    width: 100%;
    padding: 0;
    margin-top: 10rem;
  }

  .gallery-wall-header {
    margin-bottom: 1.25rem;
    padding: 0 0.75rem;
  }

  .gallery-wall-title {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 0.65rem;
  }

  .gallery-wall-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0 0.25rem;
  }

  .gallery-filter-dropdown-bar {
    justify-content: center;
    margin-top: 1rem;
    padding: 0 0.5rem;
  }

  .gallery-filter-select-wrap {
    max-width: 100%;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
  }

  .gallery-filter-select-label {
    font-size: 0.82rem;
  }

  .gallery-filter-select {
    font-size: 0.85rem;
    max-width: 190px;
  }

  /* Carousel wrapper on mobile - dedicated gutters to keep arrows on-screen */
  .gallery-carousel-wrapper {
    position: relative;
    padding: 0 26px;
    width: 100%;
    box-sizing: border-box;
  }

  .gallery-carousel-viewport {
    padding: 0.75rem 0;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-carousel-track {
    gap: 0.75rem;
  }

  /* Exactly 2 photos visible on Mobile */
  .gallery-frame-card {
    flex: 0 0 calc((100cqw - 0.75rem) / 2);
    max-width: calc((100cqw - 0.75rem) / 2);
    border-width: 6px;
    padding: 6px;
    border-radius: 3px;
    box-shadow: none !important;
  }

  .gallery-frame-mat {
    padding: 6px;
    border-radius: 2px;
    box-shadow: none !important;
  }

  .gallery-frame-plaque {
    padding: 4px 6px;
    margin-top: 5px;
    box-shadow: none !important;
  }

  .gallery-plaque-title {
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  /* Nav buttons - nicely sized, never clipped by screen edges */
  .gallery-nav-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid #573218;
    color: #573218;
    box-shadow: none !important;
    z-index: 12;
  }

  .gallery-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .gallery-nav-prev {
    left: -2px;
  }

  .gallery-nav-next {
    right: -2px;
  }
}

@media (max-width: 380px) {
  .gallery-carousel-wrapper {
    padding: 0 22px;
  }

  .gallery-frame-card {
    border-width: 5px;
    padding: 5px;
  }

  .gallery-frame-mat {
    padding: 5px;
  }

  .gallery-plaque-title {
    font-size: 0.68rem;
  }

  .gallery-nav-btn {
    width: 30px;
    height: 30px;
  }

  .gallery-nav-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* Hide gallery badges */
.gallery-badge {
  display: none !important;
}


/* Gallery Page: Remove top padding from testimonials section */
body:has(.gallery-wall-hero) .testimonials-section {
  padding-top: 0;
}

/* ==========================================================================
   HOLIDAY PROGRAMMES SHOWCASE CARDS (CMS POWERED)
   ========================================================================== */
.holiday-schedule-section {
  background: #FFFFFF;
  padding: 2.5rem 0 3.5rem;
  border-bottom: none;
  position: relative;
}

.holiday-programmes-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1060px;
  margin: 0 auto;
}

.holiday-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.holiday-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(255, 92, 138, 0.12);
  border-color: #FFCCD8;
}

.holiday-card-media {
  position: relative;
  flex: 0 0 48%;
  max-width: 520px;
  min-width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #F8FAFC;
  border-right: 1px solid #F1F5F9;
}

.holiday-card-media img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  transition: transform 0.4s ease;
}

.holiday-card:hover .holiday-card-media img {
  transform: scale(1.02);
}

.holiday-card-body {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.holiday-card-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 1rem;
  line-height: 1.35;
}

.holiday-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.holiday-meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #334155;
}

.holiday-meta-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.holiday-meta-text strong {
  color: #0F172A;
}

.holiday-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid #F1F5F9;
}

.holiday-card-pricing {
  display: flex;
  align-items: center;
}

.holiday-cost-pill {
  background: #FFF0F5;
  color: #BE185D;
  border: 1px solid #FBCFE8;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.holiday-card-btn {
  width: auto;
  min-width: 220px;
  margin-top: 0;
}

.holiday-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #FFFFFF;
  border-radius: 16px;
  border: 2px dashed #CBD5E1;
  width: 100%;
}

.holiday-empty-state h3 {
  color: #0F172A;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.holiday-empty-state p {
  color: #64748B;
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 860px) {
  .holiday-card {
    flex-direction: column;
  }
  .holiday-card-media {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 1px solid #F1F5F9;
    padding: 1.25rem;
  }
  .holiday-card-media img {
    max-width: 100%;
    max-height: 280px;
  }
  .holiday-card-body {
    padding: 1.5rem;
  }
  .holiday-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .holiday-card-btn {
    width: 100%;
  }
}

