:root {
    --pbmit-global-color: #008080;
    --pbmit-global-color-rgb: rgb(0, 128, 128);
    --pbmit-secondary-color: #181a17;
    --pbmit-secondary-color-rgb: rgb(24, 26, 23);
    --pbmit-link-color-hover: #008080;
    --pbmit-light-color: #f2f2f2;
    --ddc-frame-inset: 20px;
    --ddc-frame-radius: 30px;
}

/* ---------- Header / Hero ---------- */
/*
 * Framed hero uses margin via --ddc-frame-inset; that top margin collapses out
 * of the header, so the absolute overlay already sits flush with the frame top.
 * Right padding / Register notch must use the same inset.
 */
.header-style-1 .pbmit-header-overlay > .container {
    max-width: none;
    width: auto;
    padding: 0 var(--ddc-frame-inset) 0 80px;
}

.site-branding .logo-img {
    max-height: 48px;
    width: auto;
}

.header-style-1 .pbmit-header-content {
    gap: 16px;
}

.site-branding {
    flex-shrink: 0;
}

/* Active/hover: teal (template used secondary/black, which fails on this photo) */
.header-style-1 .site-navigation ul.navigation > li.active > a,
.header-style-1 .site-navigation ul.navigation > li:hover > a,
.header-style-1 .site-navigation ul.navigation > li > a:hover {
    color: var(--pbmit-global-color);
}

/* Hide theme dropdown dot — desktop • separators handle the rhythm */
.header-style-1 .main-menu ul > li.dropdown > a:after {
    display: none;
}

/*
 * Desktop horizontal nav only.
 * Theme mobile drawer kicks in at max-width: 1250px — keep these out of that range
 * or the menu stays a single clipped flex row.
 */
@media (min-width: 1251px) {
    .header-style-1 .site-navigation {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        justify-content: center;
        /* Theme adds 120px here; with our longer menu that causes clipping */
        padding-left: 0 !important;
    }

    .header-style-1 .site-navigation .main-menu,
    .header-style-1 .site-navigation .navbar-collapse,
    .header-style-1 .site-navigation .pbmit-menu-wrap {
        max-width: 100%;
    }

    .header-style-1 .site-navigation ul.navigation {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        width: max-content;
        max-width: 100%;
        margin: 0;
        gap: 0;
    }

    .header-style-1 .site-navigation ul.navigation > li {
        float: none;
        margin: 0;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
    }

    /* Override theme's margin: 0 28px and 100px link height */
    .header-style-1 .site-navigation ul.navigation > li > a {
        height: auto;
        line-height: 1.2;
        padding: 10px 12px;
        margin: 0 !important;
        font-size: 12px;
        letter-spacing: 0.2px;
        white-space: nowrap;
    }

    /* Theme-style • separators between nav items */
    .header-style-1 .site-navigation ul.navigation > li:not(:last-child)::after {
        content: "•";
        color: #fff;
        font-size: 9px;
        line-height: 1;
        opacity: 0.9;
        pointer-events: none;
    }

    /* Pull dropdowns up under the link (theme top:100% + 100px link height left a big gap) */
    .header-style-1 .main-menu .navigation > li {
        position: relative;
    }

    .header-style-1 .main-menu .navigation > li > ul {
        top: calc(100% + 4px);
        left: 0;
    }

    .header-style-1 .main-menu .navigation > li.dropdown:hover > ul {
        transform: none;
    }

    /* Invisible hover bridge so the menu doesn't close across the small gap */
    .header-style-1 .main-menu .navigation > li.dropdown > ul::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 10px;
    }
}

/* Mobile drawer — restore template vertical list (undo any leftover desktop rules) */
@media (max-width: 1250px) {
    .header-style-1 .site-navigation ul.navigation {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .header-style-1 .site-navigation ul.navigation > li {
        display: block;
        float: none;
        margin: 0;
        flex: none;
    }

    .header-style-1 .site-navigation ul.navigation > li:not(:last-child)::after {
        content: none;
    }

    .header-style-1 .site-navigation ul.navigation > li > a {
        height: auto !important;
        line-height: 24px !important;
        padding: 15px 25px;
        margin: 0 !important;
        font-size: 14px;
        letter-spacing: normal;
        white-space: normal;
        color: #000;
    }

    .header-style-1 .site-navigation ul.navigation > li.active > a,
    .header-style-1 .site-navigation ul.navigation > li:hover > a,
    .header-style-1 .site-navigation ul.navigation > li > a:hover {
        color: var(--pbmit-global-color);
    }

    /* Don't force desktop flyout positioning inside the drawer */
    .header-style-1 .main-menu .navigation > li > ul {
        top: auto;
        left: auto;
    }

    .header-style-1 .main-menu .navigation > li.dropdown > ul::before {
        content: none;
    }
}

/* Framed hero — top corners only; info bar completes the bottom radius */
.header-style-1 .pbmit-slider-area.ddc-hero-frame {
    margin: var(--ddc-frame-inset) var(--ddc-frame-inset) 0;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--ddc-frame-radius) var(--ddc-frame-radius) 0 0;
}

/* Register notch — match Yoge sticky-corner treatment, no extra fills */
.header-style-1 .pbmit-right-box {
    align-self: flex-start;
    flex: 0 0 auto;
}

.header-style-1 .pbmit-button-box-second {
    background-color: var(--pbmit-light-color);
    border-radius: 0 0 0 30px;
    position: relative;
    padding: 20px 0 22px 20px;
    margin-left: 30px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.header-style-1 .pbmit-button-box-second .pbmit-btn {
    padding: 12px 18px;
    font-size: 12px;
    white-space: nowrap;
}

.header-style-1 .pbmit-button-box-second .pbmit-top-left-corner {
    top: 0;
    left: -30px;
}

.header-style-1 .pbmit-button-box-second .pbmit-sticky-corner {
    width: 30px;
    height: 30px;
    position: absolute;
    transform: rotate(-90deg);
}

.header-style-1 .pbmit-button-box-second .pbmit-sticky-corner svg path {
    fill: var(--pbmit-light-color);
}

.header-style-1 .pbmit-button-box-second .pbmit-bottom-right-corner {
    bottom: -30px;
    right: 0;
}

/* Keep Register notch visible on mid-size desktops */
@media (min-width: 1251px) and (max-width: 1500px) {
    .header-style-1 .pbmit-button-box-second {
        display: block;
    }

    .header-style-1 .pbmit-header-overlay > .container {
        padding: 0 var(--ddc-frame-inset) 0 50px;
    }

    .header-style-1 .site-navigation ul.navigation > li > a {
        padding: 10px 9px;
        font-size: 12px;
    }
}

@media (min-width: 1251px) and (max-width: 1300px) {
    .header-style-1 .pbmit-header-overlay > .container {
        padding: 0 var(--ddc-frame-inset) 0 40px;
    }

    .header-style-1 .site-navigation ul.navigation > li > a {
        padding: 10px 7px;
        letter-spacing: 0;
    }

    .header-style-1 .pbmit-button-box-second {
        margin-left: 20px;
    }
}

@media (max-width: 1199px) {
    :root {
        --ddc-frame-inset: 12px;
        --ddc-frame-radius: 20px;
    }

    .header-style-1 .pbmit-header-overlay > .container {
        padding: 0 30px;
    }

    .header-style-1 .pbmit-button-box-second {
        display: none;
    }
}

.ddc-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding-top: 110px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../images/ddc/hero/beautiful-resize.jpg');
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.ddc-hero .pbmit-subtitle {
    display: none;
}

.ddc-hero .pbmit-heading-subheading {
    margin-bottom: 0;
}

.ddc-hero .pbmit-title {
    color: #fff;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.ddc-hero .pbmit-title strong {
    font-weight: 700;
}

.ddc-hero-text {
    font-size: 1.15rem;
    max-width: 700px;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.ddc-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ddc-hero-buttons .pbmit-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.ddc-hero-buttons .pbmit-btn-outline:hover {
    background: #fff;
    color: var(--pbmit-global-color);
}

/* ---------- Button icons (SVG) ---------- */
.pbmit-btn .pbmit-button-icon {
    display: inline-flex;
    align-items: center;
    overflow: visible;
}

.pbmit-btn .pbmit-button-icon:before {
    content: none !important;
}

.pbmit-btn .pbmit-button-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    transform: none !important;
}

.ddc-hero-buttons .pbmit-btn-global .pbmit-button-icon svg,
.header-style-1 .pbmit-button-box-second .pbmit-btn-global .pbmit-button-icon svg {
    color: #fff;
}

.ddc-hero-buttons .pbmit-btn-global .pbmit-button-icon svg path,
.header-style-1 .pbmit-button-box-second .pbmit-btn-global .pbmit-button-icon svg path {
    stroke: currentColor;
}

.ddc-hero-buttons .pbmit-btn-outline .pbmit-button-icon svg {
    color: #fff;
}

.ddc-hero-buttons .pbmit-btn-outline .pbmit-button-icon svg path {
    stroke: currentColor;
}

.ddc-hero-buttons .pbmit-btn-outline:hover .pbmit-button-icon svg {
    color: var(--pbmit-global-color);
}

/* Class card circular arrow buttons */
.ddc-class-card .pbmit-service-btn.ddc-card-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff;
    color: #181a17;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    padding: 0 !important;
    overflow: visible;
    z-index: 2;
}

.ddc-class-card .pbmit-service-btn.ddc-card-arrow span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    transform: none;
}

.ddc-class-card .pbmit-service-btn.ddc-card-arrow::before,
.ddc-class-card .pbmit-service-btn.ddc-card-arrow::after {
    display: none !important;
    content: none !important;
}

.ddc-class-card:hover .pbmit-service-btn.ddc-card-arrow {
    background-color: var(--pbmit-global-color);
    color: #fff;
}

/* ---------- Info bar (shares frame inset with hero) ---------- */
.ihbox-section_one {
    margin: 0 var(--ddc-frame-inset) 0 !important;
    padding: 40px 0 32px !important;
    border-radius: 0 0 var(--ddc-frame-radius) var(--ddc-frame-radius);
    background-color: var(--pbmit-global-color);
    background-image: none;
    color: #fff;
}

.ihbox-section_one > .container {
    max-width: none;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.ihbox-one_bg {
    background-color: transparent;
    background-image: none;
    color: #fff;
}

.ihbox-section_one .ihbox-one_bg .row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 24px;
}

.ihbox-section_one .ihbox-one_bg .row > [class*="col-"] {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
}

.ihbox-section_one .pbmit-ihbox-headingicon {
    justify-content: center;
}

.ihbox-section_one .pbmit-element-title,
.ihbox-section_one .pbmit-element-title a,
.ihbox-section_one .pbmit-element-title span {
    color: #fff;
}

.ihbox-section_one .pbmit-element-title span {
    border-bottom-color: #fff;
}

@media (max-width: 767px) {
    .ihbox-section_one .ihbox-one_bg .row {
        flex-direction: column;
        gap: 20px;
    }

    .ihbox-section_one .ihbox-one_bg .row > [class*="col-"] {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* ---------- Class cards ---------- */
/*
 * Match template service cards: 4-col ~328×356, clip-path on content wrap.
 * (3-col wide cards broke the %-based notch; a circular mask looked like a border.)
 */
.ddc-class-card .pbminfotech-post-item {
    background: none;
    overflow: visible;
}

.ddc-class-card .pbmit-box-content-wrap {
    min-height: 360px;
    background-color: transparent !important;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* Keep template clip-path from shortcode.css — do not override */
    padding: 200px 40px 45px !important;
}

.ddc-class-card:hover .pbmit-box-content-wrap {
    background-color: transparent !important;
}

.ddc-class-card--ballet .pbmit-box-content-wrap { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)), url('../images/ddc/classes/ballet.jpg'); }
.ddc-class-card--hiphop .pbmit-box-content-wrap { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)), url('../images/ddc/classes/hip-hop.jpg'); }
.ddc-class-card--jazz .pbmit-box-content-wrap { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)), url('../images/ddc/classes/jazz.jpg'); }
.ddc-class-card--lyrical .pbmit-box-content-wrap { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)), url('../images/ddc/classes/lyrical.jpg'); }
.ddc-class-card--tap .pbmit-box-content-wrap { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)), url('../images/ddc/classes/tap.jpg'); }
.ddc-class-card--contemporary .pbmit-box-content-wrap { background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)), url('../images/ddc/classes/contemporary.jpg'); }

.ddc-class-card .pbmit-service-title a,
.ddc-class-card .pbmit-serv-cat a {
    color: #fff;
}

.ddc-class-card .pbmit-service-btn.ddc-card-arrow {
    background-color: #fff;
}

/* ---------- Section headings / arrows ---------- */
.ddc-section-heading {
    position: relative;
    margin-bottom: 40px;
}

.ddc-section-heading .swiper_arrow,
.ddc-section-heading .team-swiper_arrow {
    position: absolute;
    right: 0;
    bottom: 8px;
    margin-left: 0;
    height: auto;
}

/* Desktop: keep title clear of absolute arrows */
@media (min-width: 768px) {
    .ddc-section-heading .pbmit-heading-subheading {
        padding-right: 120px;
    }
}

/* Mobile: arrows on their own row under the heading (theme hides .swiper_arrow) */
@media (max-width: 767px) {
    .ddc-section-heading .pbmit-heading-subheading {
        margin-bottom: 0;
        padding-right: 0;
    }

    .ddc-section-heading .swiper_arrow,
    .ddc-section-heading .team-swiper_arrow {
        position: relative !important;
        display: flex !important;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        height: auto;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
    }

    /* Swiper default top:50% + negative margin pulls buttons into the title */
    .ddc-section-heading .swiper-button-prev,
    .ddc-section-heading .swiper-button-next {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 0 !important;
    }
}

.ddc-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Hours & contact — fix contrast (placeholder bg + dark-on-dark) */
.ddc-hours-contact .ihbox-style-4_bg {
    background-image: none;
    background-color: var(--pbmit-blackish-color);
}

.ddc-hours-contact .ihbox-style-4_bg .pbmit-element-title {
    color: #fff;
    margin-bottom: 28px;
}

.ddc-hours-contact .ddc-hours-list {
    color: #fff;
    margin: 0;
    padding: 0;
}

.ddc-hours-contact .ddc-hours-list li {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.ddc-hours-contact .ddc-hours-list li:last-child {
    border-bottom: none;
}

.ddc-hours-contact .ihbox-style-5_bg {
    background-color: var(--pbmit-global-color);
    background-image: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.ddc-hours-contact .ihbox-style-5_bg .pbmit-ihbox-style-5 {
    margin-bottom: 28px;
    padding-top: 0;
}

.ddc-hours-contact .ihbox-style-5_bg .pbmit-element-title,
.ddc-hours-contact .ihbox-style-5_bg p {
    color: #fff;
}

.ddc-hours-contact .ihbox-style-5_bg p {
    margin: 12px 0 0;
    opacity: 0.9;
}

.ddc-hours-contact .ihbox-style-5_bg .pbmit-btn-global {
    color: var(--pbmit-blackish-color);
    background-color: #fff;
}

.ddc-hours-contact .ihbox-style-5_bg .pbmit-btn-global:hover {
    color: #fff;
    background-color: var(--pbmit-blackish-color);
}

.ddc-cta-card {
    height: 100%;
    padding: 2rem;
    background: #fff;
    border-radius: 30px;
}

/* ---------- Instructors ---------- */
.ddc-team-section {
    padding-top: 100px;
}

.ddc-team-section .pbmit-team-style-1 .pbmit-featured-wrap {
    border-radius: 30px;
    overflow: hidden;
}

.ddc-team-section .pbmit-team-style-1 .pbmit-featured-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center center;
}

.ddc-team-section .pbmit-team-btn {
    display: none;
}

.about-us-one_leftbox img {
    border-radius: 30px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-us-one_main .about-us-section_one {
    height: auto !important;
    overflow: visible;
    margin-bottom: 100px;
}

.about-us-one_rightbox {
    padding-bottom: 40px;
}

/* ---------- Footer ---------- */
.footer-top-section {
    background-color: var(--pbmit-secondary-color);
    color: #fff;
}

.footer-top-section a,
.footer-top-section .pbmit-icon-list-text,
.footer-top-section .pbmit-element-title {
    color: #fff !important;
}

/* White circles need dark icons (were forced white → invisible) */
.footer-top-section .pbmit-ihbox-style-13 .pbmit-ihbox-icon-wrapper {
    color: var(--pbmit-blackish-color);
}

.footer-top-section .pbmit-ihbox-style-13 .pbmit-ihbox-icon,
.footer-top-section .pbmit-ihbox-style-13 .pbmit-ihbox-icon i,
.footer-top-section .pbmit-ihbox-style-13 .pbmit-icon-type-icon {
    color: var(--pbmit-blackish-color) !important;
}

.site-footer .pbmit-footer-wrapper {
    background-image: none;
    background-color: var(--pbmit-light-color);
}

.pbmit-footer-logo img {
    max-height: 80px;
    width: auto;
}

/* ---------- About page ---------- */
.ddc-about-page__media img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
}

.ddc-about-page__copy p {
    margin-bottom: 1.1rem;
}

.ddc-about-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.ddc-about-hours {
    background-color: #fff;
}

.ddc-about-hours__list {
    max-width: 480px;
    margin: 0 auto;
}

.ddc-about-hours__list li {
    border-bottom-color: rgba(24, 26, 23, 0.12);
}

/* ---------- Title bar (inner pages) ---------- */
.pbmit-title-bar-wrapper {
    background-image: none;
    background-color: #181a17;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.pbmit-title-bar-wrapper:before {
    background-color: rgba(0, 0, 0, 0.45) !important;
    background-image: none !important;
}

.pbmit-title-bar-wrapper + .page-content {
    padding-top: 80px;
}

.pbmit-breadcrumb .pbmit-breadcrumb-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.15rem;
}

.ddc-about-hours__note {
    margin-top: 1.5rem;
    margin-bottom: 0;
    opacity: 0.75;
}

/* ---------- Class Schedule / Pricing ---------- */
.ddc-pricing-table-wrap {
    overflow-x: auto;
}

.ddc-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(24, 26, 23, 0.06);
}

.ddc-pricing-table thead th {
    background-color: var(--pbmit-global-color);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 14px 20px;
    border: none;
}

.ddc-pricing-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(24, 26, 23, 0.08);
    vertical-align: top;
    color: var(--pbmit-secondary-color);
}

.ddc-pricing-table tbody tr:nth-child(even) td {
    background-color: var(--pbmit-light-color);
}

.ddc-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.ddc-pricing-table__price {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    width: 40%;
}

.ddc-pricing-table__note {
    text-align: center;
}

.ddc-pricing-table__note em {
    display: inline-block;
    margin-top: 0.35rem;
    opacity: 0.75;
    font-size: 0.92em;
}

.ddc-pricing-table__disclaimer {
    text-align: center;
    font-weight: 600;
    font-size: 0.95em;
    opacity: 0.8;
}

.ddc-schedule-listings {
    background-color: var(--pbmit-light-color);
    scroll-margin-top: 120px;
}

.ddc-schedule-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    border-bottom: none;
    margin-bottom: 2rem;
}

.ddc-schedule-tabs__nav .nav-item {
    margin: 0;
}

.ddc-schedule-tabs__nav .nav-link {
    border: 1px solid rgba(24, 26, 23, 0.15);
    background: #fff;
    color: var(--pbmit-secondary-color);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ddc-schedule-tabs__nav .nav-link:hover {
    border-color: var(--pbmit-global-color);
    color: var(--pbmit-global-color);
}

.ddc-schedule-tabs__nav .nav-link.active {
    background-color: var(--pbmit-global-color);
    border-color: var(--pbmit-global-color);
    color: #fff;
}

.ddc-schedule-tabs__content {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 1.25rem 2rem;
    box-shadow: 0 12px 40px rgba(24, 26, 23, 0.06);
}

.ddc-schedule-tabs__day-title {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 1.5rem;
}

/* Jackrabbit OpeningsJS tables */
.ddc-jackrabbit .jr-container {
    margin: 0 !important;
    max-width: 100%;
}

.ddc-jackrabbit .responsive-table {
    color: var(--pbmit-secondary-color) !important;
    font-size: 14px !important;
}

.ddc-jackrabbit .responsive-table thead th {
    background-color: var(--pbmit-secondary-color);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.65em 0.75em;
}

.ddc-jackrabbit .responsive-table tbody tr:nth-of-type(even) {
    background-color: rgba(0, 128, 128, 0.06);
}

.ddc-jackrabbit .responsive-table tbody td a,
.ddc-jackrabbit .responsive-table tbody th a {
    color: var(--pbmit-global-color);
    font-weight: 600;
    text-decoration: none;
}

.ddc-jackrabbit .responsive-table tbody td a:hover,
.ddc-jackrabbit .responsive-table tbody th a:hover {
    text-decoration: underline;
}

@media (max-width: 474px) {
    .ddc-jackrabbit .responsive-table tbody tr {
        border-color: var(--pbmit-global-color) !important;
    }
}

@media (max-width: 767px) {
    .ddc-pricing-table thead th,
    .ddc-pricing-table tbody td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .ddc-schedule-tabs__nav .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .ddc-schedule-tabs__content {
        padding: 1.25rem 0.75rem 1.5rem;
    }
}

/* ---------- Class Descriptions ---------- */
.ddc-descriptions-nav {
    margin: 0 auto 3rem;
    max-width: 920px;
}

.ddc-descriptions-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.ddc-descriptions-nav a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(24, 26, 23, 0.15);
    border-radius: 8px;
    background: #fff;
    color: var(--pbmit-secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ddc-descriptions-nav a:hover {
    border-color: var(--pbmit-global-color);
    color: var(--pbmit-global-color);
}

.ddc-descriptions-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.ddc-desc-style {
    scroll-margin-top: 120px;
}

.ddc-desc-style__title {
    margin: 0 0 1rem;
    font-size: 1.65rem;
    color: var(--pbmit-secondary-color);
}

.ddc-desc-entry + .ddc-desc-entry {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(24, 26, 23, 0.1);
}

.ddc-desc-entry__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.ddc-desc-entry__ages {
    color: var(--pbmit-global-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.ddc-desc-entry__tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 128, 128, 0.1);
    color: var(--pbmit-global-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ddc-desc-entry p,
.ddc-desc-level p {
    margin-bottom: 0;
    color: var(--pbmit-secondary-color);
}

.ddc-desc-levels {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.ddc-desc-level {
    padding: 0.9rem 1rem;
    background: var(--pbmit-light-color);
    border-radius: 12px;
    border-left: 3px solid var(--pbmit-global-color);
}

.ddc-desc-level h4 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    color: var(--pbmit-secondary-color);
}

.ddc-placement {
    background-color: var(--pbmit-light-color);
}

.ddc-placement__panel {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    scroll-margin-top: 120px;
}

.ddc-placement__panel p {
    margin-bottom: 1.1rem;
}

.ddc-placement__actions {
    margin-top: 1.75rem;
}

@media (max-width: 767px) {
    .ddc-placement__panel {
        padding: 1.75rem 1.25rem;
    }
}

/* ---------- Dress Code ---------- */
.ddc-dress-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
}

.ddc-dress-intro p {
    margin-bottom: 1rem;
}

.ddc-dress-intro__callout {
    padding: 1rem 1.25rem;
    background: rgba(0, 128, 128, 0.1);
    border-left: 3px solid var(--pbmit-global-color);
    border-radius: 0 12px 12px 0;
    color: var(--pbmit-secondary-color);
    font-weight: 700;
}

.ddc-dress-reminders {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid rgba(24, 26, 23, 0.1);
    border-radius: 16px;
}

.ddc-dress-reminders__title {
    margin: 0 0 0.85rem;
    font-size: 1.15rem;
    color: var(--pbmit-secondary-color);
}

.ddc-dress-reminders__list {
    margin: 0;
    padding-left: 1.2rem;
}

.ddc-dress-reminders__list li {
    margin-bottom: 0.55rem;
    color: var(--pbmit-secondary-color);
}

.ddc-dress-reminders__list li:last-child {
    margin-bottom: 0;
}

.ddc-dress-nav {
    margin: 0 auto 2.5rem;
}

.ddc-dress-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.ddc-dress-nav a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(24, 26, 23, 0.15);
    border-radius: 8px;
    background: #fff;
    color: var(--pbmit-secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ddc-dress-nav a:hover {
    border-color: var(--pbmit-global-color);
    color: var(--pbmit-global-color);
}

.ddc-dress-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ddc-dress-section {
    padding: 1.5rem 1.5rem 1.35rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(24, 26, 23, 0.08);
    scroll-margin-top: 120px;
}

.ddc-dress-section__title {
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pbmit-global-color);
    font-size: 1.35rem;
    color: var(--pbmit-secondary-color);
}

.ddc-dress-group + .ddc-dress-group {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(24, 26, 23, 0.1);
}

.ddc-dress-group__label {
    margin: 0 0 0.75rem;
    color: var(--pbmit-global-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.ddc-dress-item + .ddc-dress-item {
    margin-top: 0.85rem;
}

.ddc-dress-item__role {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: var(--pbmit-secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.ddc-dress-item p {
    margin: 0;
    color: var(--pbmit-secondary-color);
}

.ddc-dress-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

@media (max-width: 767px) {
    .ddc-dress-reminders,
    .ddc-dress-section {
        padding: 1.25rem;
    }
}

/* ---------- Class Withdrawal Form ---------- */
.ddc-withdrawal__intro {
    max-width: 640px;
    margin: 0 auto 2rem;
}

.ddc-withdrawal__intro p {
    margin-bottom: 0;
}

.ddc-withdrawal__frame-wrap {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(24, 26, 23, 0.08);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(24, 26, 23, 0.06);
}

.ddc-withdrawal__frame {
    display: block;
    width: 100%;
    min-height: 1964px;
    border: 0;
    background: #fff;
}

.ddc-withdrawal__fallback {
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

.ddc-withdrawal__fallback a {
    color: var(--pbmit-global-color);
    font-weight: 600;
}

@media (max-width: 767px) {
    .ddc-withdrawal__frame {
        min-height: 2200px;
    }
}

/* ---------- Calendar ---------- */
.ddc-calendar__intro {
    max-width: 640px;
    margin: 0 auto 2rem;
}

.ddc-calendar__intro p {
    margin-bottom: 0;
}

.ddc-calendar__frame-wrap {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(24, 26, 23, 0.08);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(24, 26, 23, 0.06);
}

.ddc-calendar__frame {
    display: block;
    width: 100%;
    min-height: 720px;
    height: 720px;
    border: 0;
    background: #fff;
}

.ddc-calendar__fallback {
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

.ddc-calendar__fallback a {
    color: var(--pbmit-global-color);
    font-weight: 600;
}

@media (max-width: 767px) {
    .ddc-calendar__frame {
        min-height: 640px;
        height: 640px;
    }
}

/* ---------- Recital Tickets ---------- */
.ddc-recital-tickets__panel {
    max-width: 640px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(24, 26, 23, 0.08);
    box-shadow: 0 12px 40px rgba(24, 26, 23, 0.06);
}

.ddc-recital-tickets__lead {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.ddc-recital-tickets__date {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--pbmit-global-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.ddc-recital-tickets__cta-note {
    margin-bottom: 1.75rem;
}

@media (max-width: 767px) {
    .ddc-recital-tickets__panel {
        padding: 2rem 1.25rem;
    }
}

/* ---------- Contact ---------- */
.ddc-contact-map .iframe_box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(24, 26, 23, 0.06);
}

.ddc-contact-map .iframe_box iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    height: 420px;
    border: 0;
}

.ddc-contact-details {
    margin: 0 0 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.ddc-contact-details li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.ddc-contact-details li:last-child {
    margin-bottom: 0;
}

.ddc-contact-details__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--pbmit-global-color);
    color: #fff;
    font-size: 1.15rem;
}

.ddc-contact-details__icon i {
    color: #fff;
    line-height: 1;
}

.ddc-contact-details strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--pbmit-secondary-color);
}

.ddc-contact-details p {
    margin: 0;
    opacity: 0.85;
}

.ddc-contact-details a {
    color: inherit;
    text-decoration: none;
}

.ddc-contact-details a:hover {
    color: var(--pbmit-global-color);
}

.ddc-contact-hours {
    padding: 1.5rem 0 0;
    margin: 0 auto 1.75rem;
    max-width: 480px;
    border-top: 1px solid rgba(24, 26, 23, 0.1);
}

.ddc-contact-hours__title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--pbmit-secondary-color);
}

.ddc-contact-hours .ddc-hours-list {
    max-width: none;
}

.ddc-contact-social {
    margin: 0;
    text-align: center;
}

.ddc-contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--pbmit-secondary-color);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ddc-contact-social a:hover {
    background-color: var(--pbmit-global-color);
    color: #fff;
}

@media (max-width: 767px) {
    .ddc-contact-map .iframe_box iframe {
        min-height: 280px;
        height: 280px;
    }
}

/* ---------- Recital Videos ---------- */
.ddc-recital-videos {
    --ddc-rv-show-color: var(--pbmit-global-color);
}

.ddc-recital-videos__empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(24, 26, 23, 0.08);
}

.ddc-recital-videos__empty code {
    font-size: 0.9em;
}

.ddc-recital-videos__recital {
    padding: 2.5rem 0;
    background: #fff;
}

.ddc-recital-videos__recital--alt {
    background: var(--pbmit-light-color, #f2f2f2);
}

.ddc-recital-videos__recital-title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.ddc-recital-videos__recital-title a {
    color: inherit;
    text-decoration: none;
}

.ddc-recital-videos__recital-title a:hover {
    color: var(--pbmit-global-color);
}

.ddc-rv-breadcrumb {
    margin-bottom: 1.5rem;
}

.ddc-rv-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.ddc-rv-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: rgba(24, 26, 23, 0.35);
}

.ddc-rv-breadcrumb a {
    color: var(--pbmit-global-color);
    text-decoration: none;
}

.ddc-rv-breadcrumb a:hover {
    text-decoration: underline;
}

.ddc-rv-section-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--ddc-rv-show-color);
}

.ddc-rv-section-header__title {
    margin: 0 0 0.25rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.ddc-rv-section-header__meta {
    margin: 0;
    color: rgba(24, 26, 23, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 600;
}

.ddc-rv-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(24, 26, 23, 0.08);
    box-shadow: 0 10px 28px rgba(24, 26, 23, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ddc-rv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(24, 26, 23, 0.1);
    color: inherit;
}

.ddc-rv-card.is-current {
    outline: 2px solid var(--ddc-rv-show-color);
    outline-offset: 2px;
}

.ddc-rv-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: rgba(24, 26, 23, 0.06);
    overflow: hidden;
}

.ddc-rv-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ddc-rv-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.85rem;
    color: rgba(24, 26, 23, 0.45);
}

.ddc-rv-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem 1rem;
}

.ddc-rv-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #181a17;
}

.ddc-rv-card:hover .ddc-rv-card__title {
    color: #181a17;
}

.ddc-rv-card__duration {
    font-size: 0.8rem;
    color: rgba(24, 26, 23, 0.55);
}

.ddc-rv-dance-header {
    margin-bottom: 1.25rem;
}

.ddc-rv-dance-header__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.ddc-rv-dance-header__meta {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ddc-rv-show-color);
}

.ddc-rv-dance-header__note {
    margin: 0;
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(24, 26, 23, 0.7);
}

.ddc-rv-player {
    margin-bottom: 2rem;
}

.ddc-rv-player .ratio {
    border-radius: 16px;
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 12px 40px rgba(24, 26, 23, 0.08);
}

.ddc-rv-player iframe {
    border: 0;
}

.ddc-rv-player__toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ddc-rv-toggle {
    appearance: none;
    border: 1px solid rgba(24, 26, 23, 0.15);
    background: #fff;
    color: var(--pbmit-secondary-color);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ddc-rv-toggle:hover,
.ddc-rv-toggle.is-active {
    background: var(--ddc-rv-show-color);
    border-color: var(--ddc-rv-show-color);
    color: #fff;
}

.ddc-rv-download {
    padding: 2rem 0 2.5rem;
    background: var(--pbmit-light-color, #f2f2f2);
}

.ddc-rv-download__intro {
    margin: 0 0 1.25rem;
    text-align: center;
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(24, 26, 23, 0.7);
}

.ddc-rv-download__panel {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(24, 26, 23, 0.08);
}

.ddc-rv-download__group + .ddc-rv-download__group {
    margin-top: 1.5rem;
}

.ddc-rv-download__heading {
    margin: 0 0 0.85rem;
    text-align: center;
    font-size: 1.25rem;
}

.ddc-rv-download__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.ddc-rv-download__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 1 100%;
    max-width: 100%;
    min-height: 3.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--ddc-rv-show-color, var(--pbmit-global-color));
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1.25;
    transition: filter 0.2s ease, transform 0.2s ease;
}

@media (min-width: 576px) {
    .ddc-rv-download__btn {
        flex: 1 1 calc(50% - 0.35rem);
        max-width: 20rem;
    }
}

.ddc-rv-download__btn:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
    background: var(--ddc-rv-show-color, var(--pbmit-global-color));
}

.ddc-rv-download__size {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.ddc-rv-more {
    padding: 2.5rem 0 3rem;
}

.ddc-rv-more__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.page-content:has(.ddc-recital-videos) {
    padding-bottom: 4rem;
}

.ddc-recital-videos--shows,
.ddc-recital-videos--dances {
    padding-bottom: 2rem;
}

.ddc-recital-videos--home .ddc-recital-videos__recital:last-child {
    padding-bottom: 3.5rem;
}

@media (max-width: 575px) {
    .ddc-rv-card__body {
        padding: 0.7rem 0.75rem 0.85rem;
    }

    .ddc-rv-card__title {
        font-size: 0.85rem;
    }

    .ddc-rv-download__panel {
        padding: 1.25rem 1rem;
    }
}
