/* Basic styles for cards and pages */

.panto-productions-carousel .panto-production-card {
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    /*border-radius: 8px;*/
    overflow: hidden;
    background: #fff;
    margin: 10px;
    text-align: center;
}
.panto-production-image img {
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    /* border-radius:6px;*/
}
.panto-production-content h3 { margin: 8px 0 6px; font-size:1.2rem; }
.panto-production-excerpt { color:#666; font-size:0.95rem; }


/* Single set layout */
.panto-set-single { display:flex; flex-wrap:wrap; gap:24px; }
.panto-set-main { flex:1 1 680px; min-width:300px; }
.panto-set-side { width:320px; }

.panto-carousel img { width:100%; height:420px; object-fit:cover; /*border-radius:6px;*/ }

.panto-gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:8px; margin-top:12px; }
.panto-gallery-grid img { width:100%; height:100px; object-fit:cover; display:block; /* border-radius:4px;*/ }

/* Criteria box */
.panto-criteria { margin-top:12px; border-left:4px solid #eee; padding:10px 14px; background:#fff; /* border-radius:6px;*/ }
.panto-criteria h4 { margin-top:0; }

/* Enquire button */
.panto-enquire-btn { display:inline-block; padding:10px 16px; background:#0073aa; color:#fff; /* border-radius:6px; */ text-decoration:none; margin-top:10px; }

/* Reviews */
.panto-review { border-top:1px solid #eee; padding-top:10px; margin-top:10px; }
.panto-review .author { font-weight:600; }

/* Share buttons small */
.panto-share { margin-top:12px; display:flex; gap:8px; }
.panto-share a { padding:8px 10px; /* border-radius:6px; */ background:#f3f3f3; text-decoration:none; color:#333; }

/* Background gradient overlay on single set */
.panto-set-hero {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    /*border-radius: 8px;*/
    margin-bottom: 18px;
}

/* responsiveness */
@media (max-width:800px){
    .panto-set-side { width:100%; order:2; }
    .panto-set-main { order:1; }
}

/* ===== PANTO: full-bleed 16:9 Owl slides & controls ===== */

/* Make the carousel container truly full width within its parent */
.panto-carousel,
.panto-productions-carousel,
.panto-carousel .owl-stage-outer {
    width: 100% !important;
}

/* Slide wrapper that enforces 16:9 aspect ratio */
.panto-carousel .owl-item .panto-slide,
.panto-production-card .panto-slide {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;
    background-color: #eee;
}

/* The actual image inside the slide: absolute cover */
.panto-carousel .owl-item img,
.panto-carousel .owl-item .panto-slide img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* crop to cover area */
    object-position: center;
    display: block;
}

/* If your markup uses <img> directly inside slide, ensure it's full-height */
.panto-carousel .owl-item > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Remove gap between slides */
.panto-carousel .owl-stage,
.panto-carousel .owl-stage .owl-item {
    padding: 0;
    margin: 0;
}

/* Position nav buttons over the carousel (center-left and center-right) */
.panto-carousel .owl-nav,
.panto-productions-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    pointer-events: none; /* let buttons decide pointer events */
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    z-index: 30;
}

/* Style the injected nav buttons */
.panto-carousel .owl-nav button,
.panto-productions-carousel .owl-nav button,
.panto-carousel .owl-nav .panto-owl-prev,
.panto-carousel .owl-nav .panto-owl-next {
    pointer-events: auto;
    background: rgba(255,255,255,0.85);
    border: 0;
    padding: 10px 12px;
    font-size: 18px;
    line-height: 1;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    color: #111;
    cursor: pointer;
}

/* Hover states */
.panto-carousel .owl-nav button:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,1);
}

/* Dots: ensure visible and styled */
.panto-carousel .owl-dots,
.panto-productions-carousel .owl-dots {
    text-align: center;
    margin-top: 12px;
    z-index: 20;
}

/* Dot bullets */
.panto-carousel .owl-dots .owl-dot span,
.panto-productions-carousel .owl-dots .owl-dot span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(0,0,0,0.12) !important;
    border-radius: 50%;
    margin: 0 6px;
    transition: background-color .18s ease, transform .18s ease;
}

/* Active dot */
.panto-carousel .owl-dots .owl-dot.active span,
.panto-productions-carousel .owl-dots .owl-dot.active span {
    background: rgba(0,0,0,0.9) !important;
    transform: scale(1.1);
}

/* In case theme hides owl nav/dots, make them visible */
.owl-nav, .owl-dots {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Make sure the card production images are 16:9 too where desired */
.panto-production-card .panto-production-image,
.panto-set-card img {
    width: 100%;
}
.panto-production-card .panto-production-image img,
.panto-set-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* If theme's overflow:hidden is clipping full-bleed, allow the carousel to use full container */
.panto-productions-carousel .panto-production-card {
    margin: 10px 6px;
}

/* Responsive tweak: smaller nav on small screens */
@media (max-width:600px){
    .panto-carousel .owl-nav button { padding:8px 10px; font-size:16px; }
    .panto-carousel .owl-dots { margin-top:8px; }
}


/* Base container */
.panto-review-video-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

/* 50/50 mode when both exist */
.panto-review-video-wrap.two-cols .panto-review-section,
.panto-review-video-wrap.two-cols .panto-videos {
  flex: 1 1 48%;
  min-width: 300px;
}

/* Full-width mode when only one exists */
.panto-review-video-wrap.one-col .panto-review-section,
.panto-review-video-wrap.one-col .panto-videos {
  flex: 1 1 100%;
}

/* Shared card styling */
.panto-review,
.panto-video-embed {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
  margin-bottom:10px;
}

/* Reviews look */
.panto-review {
  padding: 1rem;
  margin-bottom: 1rem;
}
.panto-review .author {
  font-weight: 600;
  margin-bottom: .3rem;
  color: #111;
}

/* Video embed */
.panto-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #000;
}
.panto-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive stack on narrow screens */
@media (max-width: 768px) {
  .panto-review-video-wrap.two-cols .panto-review-section,
  .panto-review-video-wrap.two-cols .panto-videos {
    flex: 1 1 100%;
  }
}


/******************/



/* === ENQUIRE CTA STRIP === */
.panto-enquire-cta {
    width: 100%;
    background: #5f3175; /* deep purple */
    color: #fff;
    padding: 30px 20px;
    margin: 40px 0;
}

.panto-enquire-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.panto-enquire-text h3 {
    margin: 0 0 10px 0;
    /*font-size: 1.6rem;*/
}

.panto-enquire-text p {
    margin: 0;
    /* font-size: 1rem;*/
    opacity: .9;
}

.panto-enquire-action {
    white-space: nowrap;
}

.panto-enquire-btn-large {
    display: inline-block;
    background: #dd761c;
    color: #fff;
    padding: 14px 26px;
    /*font-size: 1.1rem;*/
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: .25s ease;
}

.panto-enquire-btn-large:hover {
    background: #ff8e38;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 700px) {
    .panto-enquire-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .panto-enquire-action {
        width: 100%;
    }
    .panto-enquire-btn-large {
        width: 100%;
    }
}




/* ===============================
   BASE INITIAL STATE
================================ */
.animate-on-load,
.animate-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease, transform .6s ease;
}

/* Sidebar slides from right */
.animate-slide-right {
    transform: translateX(40px);
}

/* Will be activated by JS */
.animate-visible {
    opacity: 1 !important;
    transform: translate(0,0) !important;
}

/* Optional stagger for prettier sequencing */
.animate-stagger:nth-child(1) { transition-delay: .1s; }
.animate-stagger:nth-child(2) { transition-delay: .2s; }
.animate-stagger:nth-child(3) { transition-delay: .3s; }
.animate-stagger:nth-child(4) { transition-delay: .4s; }
.animate-stagger:nth-child(5) { transition-delay: .5s; }