.pc-6d714425-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #000; /* Added background color to prevent flash of empty space */
}

.pc-6d714425-backgrounds {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.pc-6d714425-bg {
    position: absolute;
    inset: -2px; /* Slight negative inset to prevent edge artifacts */
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 3s ease-in-out;
    transform: scale(1.05);
    z-index: 1;
}

.pc-6d714425-bg.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.pc-6d714425-cards-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding: 20px;
    margin-top: auto;
}

.pc-6d714425-card {
    position: relative;
    flex: 1;
    padding: 20px;
    padding-top: 30px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pc-6d714425-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

.pc-6d714425-card.has-glass:not(.is-active) {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.pc-6d714425-card.has-glass:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.25);
}

.pc-6d714425-card.is-active {
    background: #ffffff;
    flex: 1.2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pc-6d714425-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.pc-6d714425-progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--e-global-color-accent, #ffffff);
}

.pc-6d714425-card:not(.is-active) .pc-6d714425-progress-bar-fill {
    width: 0% !important;
    transition: none !important;
}

.pc-6d714425-badge-wrapper {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
}

.pc-6d714425-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background-color: var(--e-global-color-accent, #333);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.pc-6d714425-card.is-active .pc-6d714425-badge {
    background-color: #000;
    color: #fff;
}

.pc-6d714425-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

.pc-6d714425-card:not(.is-active) .pc-6d714425-desc {
    opacity: 0.8;
}

.pc-6d714425-card.has-glass:not(.is-active) .pc-6d714425-desc {
    color: #fff;
}

/* Card Layout Direction Control Support */
.pc-dir-rtl .pc-6d714425-cards-container {
    flex-direction: row-reverse;
}

/* Fallback RTL Support via general body class */
body.rtl .pc-6d714425-cards-container {
    flex-direction: row-reverse;
}
body.rtl .pc-dir-ltr .pc-6d714425-cards-container {
    flex-direction: row; /* Allow override */
}

/* Text Direction Control Support */
.pc-text-dir-rtl .pc-6d714425-card {
    text-align: right;
    direction: rtl;
}

.pc-text-dir-ltr .pc-6d714425-card {
    text-align: left;
    direction: ltr;
}

/* Badge/Pill Alignment Control Support */
.pc-pill-align-rtl .pc-6d714425-badge-wrapper {
    justify-content: flex-end;
}

.pc-pill-align-ltr .pc-6d714425-badge-wrapper {
    justify-content: flex-start;
}

/* Progress Bar Direction Control Support */
.pc-progress-dir-rtl .pc-6d714425-progress-bar-fill {
    float: right;
}

.pc-progress-dir-ltr .pc-6d714425-progress-bar-fill {
    float: left;
}

/* Mobile navigation: always stacked, including existing slider-mode instances. */
@media (max-width: 767px) {
    .pc-6d714425-wrapper {
        height: auto !important;
        max-height: none !important;
        min-width: 0;
        box-sizing: border-box;
    }
    .pc-6d714425-wrapper .pc-6d714425-cards-container {
        flex-direction: column !important;
        flex: 0 0 auto;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        gap: 9px;
        padding: 16px;
        margin-top: auto;
        overflow: visible;
        scroll-snap-type: none;
    }
    .pc-6d714425-wrapper .pc-6d714425-cards-container .pc-6d714425-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 16px;
        margin: 0;
        transform: none;
        scroll-snap-align: none;
        overflow-wrap: anywhere;
    }
    .pc-6d714425-wrapper .pc-6d714425-card .pc-6d714425-badge-wrapper {
        min-width: 0;
        margin-bottom: 6px;
    }
    .pc-6d714425-wrapper .pc-6d714425-card .pc-6d714425-badge {
        max-width: 100%;
        box-sizing: border-box;
        font-size: 13px !important;
        line-height: 1.3 !important;
        padding: 4px 12px;
        white-space: normal;
    }
    .pc-6d714425-wrapper .pc-6d714425-card .pc-6d714425-desc {
        max-width: 100%;
        font-size: 14px !important;
        line-height: 1.3 !important;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .pc-6d714425-wrapper .pc-6d714425-card .pc-6d714425-progress-bar-fill {
        background-color: #E6007E !important;
    }
    /* Overlay and cards remain separate flow regions; long content grows the hero. */
    .pc-6d714425-wrapper .pc-6d714425-overlay-stage {
        flex: 1 0 auto;
        min-width: 0;
        height: auto;
        max-height: none;
    }
    .pc-6d714425-wrapper .pc-6d714425-overlay {
        min-width: 0;
        box-sizing: border-box;
    }
    .pc-6d714425-wrapper .pc-6d714425-overlay-content {
        min-width: 0;
        max-width: 100%;
    }
}
/* One continuous full-hero gradient, above images and below all UI. */
.pc-6d714425-backgrounds::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    /* Fallback for older browsers without color-mix support. */
    background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.45) 20%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.5) 100%);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--pc-background-overlay-color, #000000) var(--pc-background-overlay-top, 65%), transparent) 0%,
        color-mix(in srgb, var(--pc-background-overlay-color, #000000) calc(var(--pc-background-overlay-top, 65%) * .6923076923), transparent) 20%,
        color-mix(in srgb, var(--pc-background-overlay-color, #000000) var(--pc-background-overlay-middle, 25%), transparent) 50%,
        color-mix(in srgb, var(--pc-background-overlay-color, #000000) var(--pc-background-overlay-bottom, 50%), transparent) 100%);
}
/* Cinematic overlay: scoped to this widget; absent for legacy blank content. */
.pc-6d714425-overlay-stage {
    position: relative; z-index: 3; flex: 1 0 auto; display: grid;
    min-height: 380px; width: 100%; isolation: isolate;
}
.pc-6d714425-overlay {
    grid-area: 1 / 1; position: relative; display: flex; align-items: center;
    padding: clamp(32px, 6vw, 96px); visibility: hidden; opacity: 0;
    pointer-events: none; transition: opacity .65s ease, visibility .65s;
    text-align: left;
}
.pc-6d714425-overlay.is-active { visibility: visible; opacity: 1; }
.pc-6d714425-overlay-content {
    width: min(100%, 780px); transform: translateY(24px); opacity: 0;
    transition: transform .75s cubic-bezier(.2,.7,.2,1), opacity .65s ease;
}
.pc-6d714425-overlay.is-active .pc-6d714425-overlay-content { transform: translateY(0); opacity: 1; }
.pc-6d714425-wrapper .pc-6d714425-heading {
    color: #fff; font-family: var(--e-global-typography-primary-font-family, inherit);
    font-size: clamp(36px, 5.7vw, 84px); font-weight: 500; line-height: 1.06;
    letter-spacing: -.035em; margin: 0; text-wrap: balance; overflow-wrap: anywhere;
    text-shadow: 0 2px 24px rgba(0,0,0,.16);
}
.pc-6d714425-wrapper .pc-6d714425-subtitle {
    color: rgba(255,255,255,.88); font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.6; max-width: 580px; margin: 24px 0 0;
    white-space: pre-line; overflow-wrap: anywhere;
}
.pc-6d714425-wrapper .pc-6d714425-cta {
    display: inline-flex; align-items: center; gap: 32px; margin-top: 32px;
    padding: 15px 24px; border: 1px solid rgba(255,255,255,.6);
    border-radius: 2px; color: #fff; background: rgba(0,0,0,.08);
    font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: .04em;
    text-decoration: none; pointer-events: auto; transition: color .3s, background .3s, border-color .3s;
    max-width: 100%; overflow-wrap: anywhere;
}
.pc-6d714425-cta span { transition: transform .3s ease; flex-shrink: 0; }
.pc-6d714425-wrapper .pc-6d714425-cta:hover { color: #151515; background: #fff; border-color: #fff; }
.pc-6d714425-cta:hover span { transform: translateX(5px); }
.pc-6d714425-cta:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 767px) {
    .pc-6d714425-overlay-stage { min-height: 340px; }
    .pc-6d714425-overlay { padding: 40px 24px; }
    .pc-6d714425-wrapper .pc-6d714425-heading { font-size: clamp(32px, 9vw, 52px); }
    .pc-6d714425-wrapper .pc-6d714425-subtitle { margin-top: 18px; }
    .pc-6d714425-wrapper .pc-6d714425-cta { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .pc-6d714425-overlay, .pc-6d714425-overlay-content, .pc-6d714425-cta, .pc-6d714425-cta span { transition: none; transform: none; }
}
