.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);
}

/* same gap above the feature tiles as above every other section */
.pio-home-v2 > section.pio-features-section {
    padding-block-start: var(-\-pio-home-space-top);
    margin-block-start: 0;
}

: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;
    }
}


/* ==========================================================================
   V2 style fixes (Oct 2026)
   Kept together and last in the main bundle so they win over the older
   per-section rules without !important wars.
   ========================================================================== */

/* ---------- Index: spacing ---------- */

/* the first section under the header/hero: 20px, not the regular gap */
.pio-home-v2 > section.pio-offers-section {
    padding-block-start: 20px;
}

/* the business band is white in the dark theme - keep its content off its bottom edge */
body[data-bs-theme="dark"] .pio-home-v2 > .buisness-bg {
    padding-block-end: var(-\-pio-home-space-top);
}

/* ---------- Index: eyebrows ----------
   One rule length and one size for every section's eyebrow. The schedule
   panel keeps its text size and gets a shorter rule of its own. */
.pio-home-v2 .pio-eyebrow-rule {
    flex: none;
    width: var(-\-pio-section-eyebrow-line);
    height: 2px;
}

.pio-home-v2 .pio-b2b_cube .pio-b2b_cube__eyebrow::before {
    width: var(-\-pio-section-eyebrow-line);
    height: 2px;
}

.pio-home-v2 .pio-sbanner-copy .pio-schedule-eyebrow {
    font-size: 20px;
}

.pio-home-v2 .pio-sbanner-copy .pio-eyebrow-rule {
    width: 28px;
}

/* ---------- Whole card is the link ----------
   The title link (.pio-card-link) stretches over its card, so a click anywhere
   on a course / schedule / offer / product card opens it. Buttons and other
   links in the card stay on top and keep doing their own job. */
.pio-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.pio-course-card :is(.btn, button, a[href]:not(.pio-card-link)),
.pio-sbanner-card :is(.btn, button, a[href]:not(.pio-card-link)) {
    position: relative;
    z-index: 2;
}

.pio-course-card:has(.pio-card-link),
.pio-sbanner-card:has(.pio-card-link) {
    cursor: pointer;
}

/* ---------- Index: offer cards ----------
   Tall artwork (offer-*-tall.webp, mirrored -rtl copies) at the card's end.
   Badge pinned top, CTA pinned bottom, title + text centred between them. */
.pio-offers-section .pio-offer-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pio-offers-section .pio-offer-card .pio-offer-title {
    margin-block: .9rem .45rem;
}

.pio-offers-section .pio-offer-card .pio-offer-text {
    margin-bottom: 1rem;
}

/* phones: the cards in the rail share the tallest card's height, so the art is
   pushed down (margin-block-start: auto) to sit on the card's bottom edge
   instead of leaving a strip of empty card under it */
.pio-offers-section .pio-offer-card .pio-offer-figure {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    width: auto;
    height: 220px;
    margin-block: auto calc(-1 * var(-\-pio-offer-pad));
    margin-inline: 0 calc(-1 * var(-\-pio-offer-pad));
}

.pio-offers-section .pio-offer-card .pio-offer-art {
    width: auto;
    height: 100%;
    max-width: none;
    filter: none;
}

@media screen and (min-width: 768px) {
    .pio-offers-section .pio-offer-card {
        -\-pio-offer-h: 300px;
        /* the artwork is 474x640-ish: its width follows the card height */
        -\-pio-offer-art-w: calc(var(-\-pio-offer-h) * .745);
        display: flex;
        height: var(-\-pio-offer-h);
        min-height: 0;
    }

    .pio-offers-section .pio-offer-card .pio-offer-body {
        flex: 1 1 auto;
        align-self: stretch;
        justify-content: space-between;
        margin-inline-end: calc(var(-\-pio-offer-art-w) - var(-\-pio-offer-pad) + .75rem);
    }

    .pio-offers-section .pio-offer-copy {
        flex: 1 1 auto;
        justify-content: center;
        min-height: 0;
    }

    .pio-offers-section .pio-offer-card .pio-offer-title {
        margin-block: .5rem .4rem;
        -webkit-line-clamp: 2;
    }

    .pio-offers-section .pio-offer-card .pio-offer-text {
        margin-bottom: .5rem;
        -webkit-line-clamp: 3;
    }

    .pio-offers-section .pio-offer-card .pio-offer-cta {
        margin-top: 0;
    }

    /* height 100%, width auto, flush with the card's end edge */
    .pio-offers-section .pio-offer-card .pio-offer-figure {
        position: absolute;
        inset-block: 0;
        inset-inline-end: 0;
        width: var(-\-pio-offer-art-w);
        height: 100%;
        margin: 0;
        display: flex;
        justify-content: flex-end;
    }

    .pio-offers-section .pio-offer-card .pio-offer-art {
        height: 100%;
        width: auto;
        object-fit: contain;
        object-position: bottom;
    }
}

/* ---------- Index: HR AI course offer card only (.pio-offer-card--hr-ai) ----------
   Its artwork is landscape (850x523), not tall like the other offers. It sits big in
   the card's bottom end corner, flush with the bottom and end edges, and reaches
   about 3px into the text column (-\-pio-hr-ai-overlap). The text stays on top (z-index 1). */
.pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-figure {
    align-self: flex-end;
    width: 92%;
    height: auto;
    justify-content: flex-end;
}

.pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-art {
    width: 100%;
    height: auto;
    object-position: bottom;
}

@media screen and (min-width: 768px) {
    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai {
        -\-pio-hr-ai-art-w: 225px;
        -\-pio-hr-ai-overlap: 3px;
    }

    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-figure {
        position: absolute;
        inset-block: auto 0;
        inset-inline: auto 0;
        width: var(-\-pio-hr-ai-art-w);
        height: auto;
        margin: 0;
        align-items: flex-end;
    }

    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-body {
        margin-inline-end: calc(var(-\-pio-hr-ai-art-w) - var(-\-pio-offer-pad) - var(-\-pio-hr-ai-overlap));
    }

    /* the title is long; with the narrower text column it may need a third line */
    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-title {
        -webkit-line-clamp: 3;
    }
}

@media screen and (min-width: 992px) {
    /* desktop: the artwork fills the card height at its own proportions (its original
       size) - no fixed width - with the copy on top of its faded start edge */
    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-figure {
        inset-block: 0;
        width: auto;
        height: 100%;
    }

    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-art {
        width: auto;
        height: 100%;
        max-width: none;
    }

    /* the artwork is wider than the space beside the copy, so the copy keeps its
       own width (not tied to the artwork) and sits on top of the artwork's soft end */
    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-body {
        position: relative;
        z-index: 2;
        max-width: 56%;
        margin-inline-end: 0;
    }

    /* the title is long: a smaller size so it fits in 3 lines inside the 300px card */
    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-title {
        font-size: clamp(1.05rem, calc(.9rem + .3vw), 1.25rem);
        line-height: 1.35;
        -webkit-line-clamp: 3;
    }

    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-text {
        line-height: 1.55;
    }

    /* fade the artwork itself into the card on the copy side (a mask, not an overlay
       box, so there is no visible edge against the card's lighter top corner).
       Only art marked "artFade": true in indexOffers.json gets it. */
    .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-art--fade {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 58%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 58%);
    }

    body[dir="rtl"] .pio-offers-section .pio-offer-card.pio-offer-card--hr-ai .pio-offer-art--fade {
        -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 58%);
        mask-image: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, .35) 22%, #000 58%);
    }
}

/* ---------- Inner pages: hero bands ~330px, same-size artwork ---------- */
@media (min-width: 992px) {
    section.pio-sched2-hero,
    section.pio-legal-hero,
    section.pio-accredit-hero {
        -\-pio-inner-hero-pad-bottom: 40px;
        min-height: 330px;
        padding: 40px 0 var(-\-pio-inner-hero-pad-bottom);
    }

        section.pio-sched2-hero > .container,
        section.pio-legal-hero > .container,
        section.pio-accredit-hero > .container {
            min-height: calc(330px - 40px - var(-\-pio-inner-hero-pad-bottom));
        }

    .pio-hero-split,
    .pio-hero-split.pio-hero-split--lg {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    /* one height for every hero illustration, so they all read the same size */
    .pio-hero-split .pio-hero-art,
    .pio-hero-split .pio-hero-art--lg {
        justify-self: end;
        width: auto;
        max-width: 100%;
        height: 290px;
        margin-block: -1rem;
    }

    .pio-hero-split .pio-hero-art--baseline {
        align-self: end;
        margin-block: 0 calc(-1 * var(-\-pio-inner-hero-pad-bottom));
    }
}

/* Offers page hero: the tall offer artwork sits on the banner's bottom AND end
   edge (right in English, left in Arabic). The art is drawn to be cut off on
   that side, so the cut has to meet the banner's own edge - stopping at the
   container left a hard vertical cut floating mid-banner. It never runs past
   the banner: the hero clips at its edge. */
@media screen and (min-width: 768px) {
    .pio-offers-hero .pio-offers-hero-inner {
        min-height: 330px;
        padding-block: 0;
        align-items: stretch;
    }

    .pio-offers-hero .pio-offers-hero-body {
        align-self: center;
        padding-block: 2.5rem;
    }

    .pio-offers-hero .pio-offers-hero-figure {
        flex: 0 0 auto;
        display: flex;
        align-items: flex-end;
        align-self: stretch;
        width: auto;
        margin: 0;
        /* from the container's end to the viewport's end */
        margin-inline-end: calc((100% - 100vw) / 2);
    }

    .pio-offers-hero .pio-offers-hero-art {
        width: auto;
        height: 330px;
        max-width: none;
        filter: none; /* a drop shadow would outline the cut edge */
    }
}

@media screen and (max-width: 767.98px) {
    .pio-offers-hero .pio-offers-hero-figure {
        align-self: flex-end;
        width: auto;
        margin-inline-end: calc((100% - 100vw) / 2);
    }

    .pio-offers-hero .pio-offers-hero-art {
        width: auto;
        height: 240px;
    }
}

/* the body heading is gone on the offers page - keep the first row off the filters */
.pio-offers-results .pio-offers-grid:first-child {
    padding-top: 1.5rem;
}

/* ---------- B2B: slider dots as capsules (same shape as the index offers) ---------- */
.b2b-header-swiper::part(bullet),
.b2b-header-swiper2::part(bullet),
.b2b-header-swiper::part(bullet-active),
.b2b-header-swiper2::part(bullet-active) {
    width: 18px;
    height: 8px;
    margin: 0 3px;
    border-radius: 4px;
    transform: none;
    transition: width .25s ease;
}

/* same colour for all of them here - only the active one is longer */
.b2b-header-swiper::part(bullet-active),
.b2b-header-swiper2::part(bullet-active) {
    width: 30px;
}

.inPersonSwiper::part(bullet),
.inPersonSwiper::part(bullet-active) {
    width: 18px;
    height: 8px;
    margin: 0 3px;
    border-radius: 4px;
    background: currentColor;
    opacity: .22;
    transition: width .25s ease, opacity .25s ease, background-color .25s ease;
}

.inPersonSwiper::part(bullet-active) {
    width: 30px;
    background: #FFA000;
    opacity: 1;
}

/* ---------- Product details (training course) ---------- */

/* breadcrumb on the course hero.
   recorded: orange text, blue arrows - interactive: blue text, orange arrows.
   The home icon always takes the arrows' colour. */
.header-hero .pio-crumb {
    -\-pio-crumb-link: var(-\-pio-primary-color, #FFA000);
    -\-pio-crumb-current: var(-\-pio-primary-color, #FFA000);
    -\-pio-crumb-sep: var(-\-pio-blue-color, #055386);
}

.header-hero.interactive .pio-crumb {
    -\-pio-crumb-link: var(-\-pio-blue-color, #055386);
    -\-pio-crumb-current: var(-\-pio-blue-color, #055386);
    -\-pio-crumb-sep: var(-\-pio-primary-color, #FFA000);
}

    /* .interactive/.recorded path { stroke: ... !important } repaints every
       icon in the hero - win these back for the breadcrumb */
    .header-hero .pio-crumb .pio-crumb-sep path,
    .header-hero .pio-crumb .pio-crumb-home-icon path {
        stroke: var(-\-pio-crumb-sep) !important;
    }

    .header-hero .pio-crumb .pio-crumb-home-icon {
        color: var(-\-pio-crumb-sep);
    }

/* promo + lecture-sample videos: the video itself gets the rounded corners
   (overflow:hidden alone does not clip a composited iframe/video) */
.promo-media-wrapper,
.video-preview-modal .modal-body .ratio {
    isolation: isolate;
    transform: translateZ(0);
}

.video-preview-modal .modal-body .ratio {
    border-radius: .75rem;
}

    .video-preview-modal .modal-body .ratio > iframe,
    .video-preview-modal .modal-body .ratio > video,
    .promo-video-player .hero-vid iframe,
    .promo-video-player .hero-vid video {
        border-radius: inherit;
    }

.promo-video-player,
.promo-video-player .hero-vid {
    border-radius: 20px;
}

/* recorded mode: the teacher photo and its ring a little smaller */
.instructor-profile .instructor-avatar {
    width: 112px;
    height: 112px;
    border-width: 2px;
}

/* recorded mode: the check-circle bullets are blue, not orange */
.inner-course-details.is-recorded-mode ul.alternating-colors li::before {
    background-color: var(-\-pio-blue-color);
}

/* syllabus dropdowns: the arrow always sits at the row's end */
.topics-accordion .accordion-title,
.package-accordion .accordion-title,
.lesson-name {
    flex: 1 1 auto;
}

.accordion-meta,
.lesson-meta {
    order: 1;
}

.topics-accordion .accordion-chevron,
.package-accordion .accordion-chevron,
.lesson-chevron {
    order: 2;
}

/* bento cards: the body text and bullets start on the same line as the title */
.inner-course-details .bento-card-body {
    padding-inline: 1.25rem;
}

.inner-course-details .bento-card-body ul.alternating-colors li::before {
    inset-inline-start: 0 !important;
}

/* Offer artwork: a short fade on the side that faces the text, so what the
   art crops there (a shoulder, the ends of the 30% circuit lines) melts into
   the background instead of stopping in a hard vertical line. The other side
   is cropped on purpose and meets the card / banner edge.
   Card art only fades when its offer has "artFade": true (indexOffers.json). */
.pio-offers-section .pio-offer-card .pio-offer-art--fade,
.pio-offers-hero .pio-offers-hero-art {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
    mask-image: linear-gradient(to right, transparent 0, #000 14%);
}

body[dir="rtl"] .pio-offers-section .pio-offer-card .pio-offer-art--fade,
body[dir="rtl"] .pio-offers-hero .pio-offers-hero-art {
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 14%);
    mask-image: linear-gradient(to left, transparent 0, #000 14%);
}

/* Trainers strip: three photos in full, with the next one peeking in, faded,
   at each side when there are more - so it reads as "scroll for more".
   (max = 3 photos + their gaps + half a photo and a gap on either side) */
.trainer-card .trainer-thumbs {
    max-width: calc(4 * var(-\-trainer-thumb) + 4 * var(-\-trainer-thumb-gap) + 8px);
}

/* Home schedule cards: a taller card - more room around the rows and a
   taller photo to match. */
.pio-sbanner .pio-sbanner-card.card {
    padding: 0.75rem;
}

.pio-sbanner-card .pio-sbanner-media {
    flex-basis: 6.5rem;
    min-height: calc(6.5rem + 5px);
}

/* title at the top; the dates and the time sit together as one block at the
   bottom, close to each other */
.pio-sbanner-card .card-body {
    gap: 0;
    padding-block: 0.5rem 0.375rem;
}

.pio-sbanner-card .pio-sbanner-when {
    margin-top: auto;
    padding-top: 0.8rem;
}

.pio-sbanner-card .pio-sbanner-foot {
    margin-top: 0.4rem;
}

.pio-sbanner-card .pio-sbanner-rel {
    margin-block-start: -1.25rem;
    margin-inline-end: -0.75rem;
}

/* Footer payment badges - domain methods next to Visa/Mastercard */
.pio-footer-pay .pay-card img,
.pio-footer-pay .pay-card-svg,
.pio-footer-pay .pay-card-svg svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pio-footer-pay .pay-card-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pio-footer-pay .pay-card-name {
    color: #1d1d1d;
    font-size: .6rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    overflow: hidden;
}

/* footer badge logos: DB SVGs are white (made for the cart's coloured button) -
   paint them in the method's brand colour (inline `color`) on the white card */
.pio-footer-pay .pay-card-svg svg,
.pio-footer-pay .pay-card-svg svg *:not([fill="none"]) {
    fill: currentColor;
}

.pio-footer-pay .pay-card-svg svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

/* local mono SVG logo: the file is the mask, the brand colour shows through */
.pio-footer-pay .pay-card-mask {
    display: block;
    width: 100%;
    height: 100%;
    -webkit-mask: no-repeat center / contain;
    mask: no-repeat center / contain;
}
