.sign-subject-item.is-disabled .text-wrap {
    color: #adb5bd;
    opacity: 0.6;
}

.sig-cards.pio-css-card-hover .card:not(:hover) .card-content {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

swiper-container::part(button-prev svg path), swiper-container::part(button-next svg path) {
    scale: 0.5
}

/* Single mode: option and frame fill full width */
.mode-switch.pio-css-single-mode .mode-option {
    width: 100%;
}

.mode-switch.pio-css-single-mode .active-frame {
    width: calc(100% - calc(2 * var(-\-toggle-space)));
    inset-inline-end: var(-\-toggle-space);
}

body.pio-css-inner-course {
    background: #fff;
}

.topics-accordion .accordion-item.pio-css-accordion-open {
    border-color: color-mix(in srgb, var(-\-pio-blue-color) 35%, transparent);
    box-shadow: 0 4px 14px rgba(16, 42, 67, .06);
}

/* highlight the open diploma course, same as open topic modules */
.package-course-item.pio-css-accordion-open {
    border-color: color-mix(in srgb, var(-\-pio-blue-color) 35%, transparent);
    box-shadow: 0 4px 14px rgba(16, 42, 67, .06);
}

/* ── why this rule exists ──
   .cart-summary below is position:sticky, and sticky resolves against its
   nearest SCROLLING ancestor. Near the top of this file:
       html, body { overflow-x: hidden; }
   and ANY non-visible overflow value turns an element into a scroll container -
   so the summary was pinning itself to a box that never scrolls, which looks
   exactly like sticky being ignored.
   `overflow-x: clip` clips horizontal overflow the same way but creates NO
   scroll container, so sticky resolves against the viewport again. Scoped to
   this page via the data-controller/data-action pair _VersionTwoLayout puts on
   <body>, so the global guard is untouched everywhere else. */
html.pio-css-shopping-cart,
body.pio-css-shopping-cart {
    overflow-x: clip;
}

.pio-offers-shell.pio-css-has-prev::before,
.pio-offers-shell.pio-css-has-next::after {
    opacity: .8;
    width: 15px;
}

.pio-offers-shell.pio-css-has-prev:hover::before,
.pio-offers-shell.pio-css-prev-active::before,
.pio-offers-shell.pio-css-has-next:hover::after,
.pio-offers-shell.pio-css-next-active::after {
    opacity: 1;
}

/* Reserve room for the video control above localized headings. */
.pio-home-v2 .pio-hero-banner.pio-css-has-video .pio-hero-banner-copy { padding-top: 4.5rem; }

.pio-home-v2 .pio-offers-swiper.pio-css-swiper-pending,
.pio-home-v2 .pio-offers-swiper:not(:defined) {
    display: flex;
    gap: 10px;
    overflow: hidden;
    padding-bottom: 2.25rem;
}

.pio-home-v2 .pio-offers-swiper.pio-css-swiper-pending > swiper-slide,
.pio-home-v2 .pio-offers-swiper:not(:defined) > swiper-slide {
    flex: 0 0 auto;
}

.pio-home-v2 > section.pio-css-home-spacing,
.pio-home-v2 > div.pio-css-home-spacing {
    margin-block: 0;
    padding-block: var(-\-pio-home-space-top) var(-\-pio-home-space-bottom);
}

.pio-home-v2 > section:not(.hero-section-photo, .pio-training-section, .testmonial-section, .pio-schedule-band, .pio-tiles-section),
.pio-home-v2 > div:not(.hero-section-photo, .pio-training-section, .testmonial-section, .pio-schedule-band, .pio-tiles-section) {
    margin-block: 0;
    padding-block: var(-\-pio-home-space-top) var(-\-pio-home-space-bottom);
}

.pio-home-v2 > section.pio-features-section {
    padding-block-start: 0;
    margin-block-start: calc(var(-\-pio-home-space-bottom) * -.35);
}

:root.pio-css-rtl {
    /* program background gradient vars (mirrored angles) */
    -\-rotate-angle: 325deg; /* mirror of 35deg  = 360 - 35 */
    -\-rotate-bottom: 338deg; /* mirror of 22deg  = 360 - 22 */
    -\-rotate-directional: left;
    -\-bg-p-shift: 60%;
    -\-pio-bg-color: #000;
}

/* single mode: frame fills the full toggle width */
body[dir="rtl"] .mode-switch.pio-css-single-mode .active-frame {
    width: calc(100% - calc(2 * var(-\-toggle-space)));
    inset-inline-end: var(-\-toggle-space);
}

@media screen and (min-width: 576px) {
    div.pio-css-testimonials-parent {
        margin-top: auto;
    }
}

/* ==========================================================================
   0. THEME VARIABLES
   ========================================================================== */
:root.pio-css-dark {
    -\-body-background: #000;
    -\-pio-scondery-text-dark: #fff;
    -\-pio-primary-color-dark: #FFA000;
    -\-pio-primary-color: #FFA000;
    -\-pio-secondary-color: #F5F5F5;

    /* Match the black dark-mode surface used by body below. */
    -\-pio-bg-color: #000;
    -\-color: #000;
    -\-color-inverse: #fff;
    -\-color-value: 0, 0, 0;
    -\-text-color: #fff;
}

body[data-bs-theme="dark"] {
    background: #000;
}

.pio-course-slide.pio-css-card-active {
    z-index: 20;
}

.pio-sched-buy.pio-css-full-width-buy .btn {
    flex: 1 1 auto;
    text-align: center;
}

.pio-loading-host swiper-container.pio-css-has-course {
    min-height: 363px;
}

@media screen and (min-width:1600px) {
    .pio-parent-header div.pio-css-logo-parent {
        height: 2.75rem;
    }
}
