/* =========================================================
   CEP Homepage — Phase 20
   Arabic image-based hero slider
   ========================================================= */

/* Moodle / New Learning front-page host */
body.cep-custom-home-active #page-content,
body.cep-custom-home-active #region-main,
body.cep-custom-home-active [role="main"] {
    max-width: none !important;
}

body.cep-custom-home-active #page-content {
    margin: 0 !important;
    padding: 0 !important;
}

body.cep-custom-home-active #page-content > .container,
body.cep-custom-home-active #page-content > .container-fluid,
body.cep-custom-home-active #page-content .container,
body.cep-custom-home-active #page-content .container-fluid {
    max-width: none !important;
}

body.cep-custom-home-active .cep-homepage-host {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cep-home-root {
    width: 100%;
    min-height: 480px;
}

.cep-home-load-error {
    width: min(1180px, calc(100% - 40px));
    margin: 40px auto;
    padding: 18px 22px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
    color: #02285B;
}

/* =========================================================
   TOKENS
   ========================================================= */

.cep-home {
    --cep-home-navy: #02285B;
    --cep-home-blue: #003780;
    --cep-home-gold: #827746;
    --cep-home-gold-light: #B8A95F;
    --cep-home-gold-dark: #6F653B;
    --cep-home-text: #1E293B;
    --cep-home-muted: #64748B;
    --cep-home-soft: #F6F8FB;
    --cep-home-white: #FFFFFF;
    --cep-home-border: #E2E8F0;

    width: 100%;
    color: var(--cep-home-text);
    background: var(--cep-home-white);
    overflow: hidden;
}

.cep-home,
.cep-home * {
    box-sizing: border-box;
}

.cep-home--ar {
    font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

.cep-home--en {
    font-family: "Inter", Arial, sans-serif;
}

.cep-home-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* =========================================================
   HERO SLIDER
   ========================================================= */

.cep-hero-slider {
    position: relative;
    width: 100%;
    height: clamp(540px, 62vh, 680px);
    min-height: 540px;
    overflow: hidden;
    background: var(--cep-home-navy);
    color: #FFFFFF;
    isolation: isolate;
}

.cep-hero-slider__slides {
    position: absolute;
    inset: 0;
}

.cep-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background-image: var(--cep-slide-image);
    background-size: cover;
    background-position: var(--cep-slide-position, center center);
    background-repeat: no-repeat;

    transform: scale(1.025);
    transition:
        opacity .9s ease,
        visibility .9s ease,
        transform 6.8s ease;
}

.cep-hero-slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.cep-hero-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            90deg,
            rgba(2, 40, 91, .90) 0%,
            rgba(2, 40, 91, .68) 43%,
            rgba(2, 40, 91, .26) 100%
        );
}

.cep-home--ar .cep-hero-slide__overlay {
    background:
        linear-gradient(
            270deg,
            rgba(2, 40, 91, .92) 0%,
            rgba(2, 40, 91, .70) 43%,
            rgba(2, 40, 91, .28) 100%
        );
}

.cep-hero-slide__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 22%, rgba(130,119,70,.21), transparent 28%),
        linear-gradient(to bottom, rgba(0,0,0,.04), rgba(0,0,0,.17));
}

.cep-hero-slide__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 32px;
    padding-bottom: 118px;
}

.cep-hero-slide__content {
    width: min(620px, 52%);
    min-width: 0;
}

.cep-home--ar .cep-hero-slide__content {
    margin-inline-start: 0;
    margin-inline-end: auto;
    text-align: right;
}

.cep-home--en .cep-hero-slide__content {
    margin-inline-start: 0;
    margin-inline-end: auto;
    text-align: left;
}

.cep-hero-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 700;
}

.cep-hero-slide__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cep-home-gold-light);
    box-shadow: 0 0 0 5px rgba(184,169,95,.11);
}

.cep-hero-slide__eyebrow-sep {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,.30);
}

.cep-hero-slide h1,
.cep-hero-slide h2 {
    max-width: 620px;
    margin: 0;
    color: #FFFFFF !important;
    font-size: clamp(38px, 3.45vw, 58px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
    text-wrap: balance;
}

.cep-home--ar .cep-hero-slide h1,
.cep-home--ar .cep-hero-slide h2 {
    font-size: clamp(40px, 3.7vw, 60px);
    line-height: 1.28;
}

.cep-home--en .cep-hero-slide h1,
.cep-home--en .cep-hero-slide h2 {
    font-size: clamp(38px, 3.35vw, 56px);
    line-height: 1.12;
}

.cep-hero-slide h1 span,
.cep-hero-slide h2 span {
    color: #FFFFFF;
}

.cep-hero-slide p {
    max-width: 590px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.86);
    font-size: 17px;
    line-height: 1.8;
}

.cep-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cep-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cep-home-btn:hover {
    transform: translateY(-2px);
}

.cep-home-btn--primary {
    background: var(--cep-home-gold);
    color: #FFFFFF !important;
    border-color: var(--cep-home-gold);
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

.cep-home-btn--primary:hover,
.cep-home-btn--primary:focus {
    background: var(--cep-home-gold-dark);
    border-color: var(--cep-home-gold-dark);
    color: #FFFFFF !important;
}

.cep-home-btn--secondary {
    background: rgba(255,255,255,.05);
    color: #FFFFFF !important;
    border-color: rgba(255,255,255,.50);
    backdrop-filter: blur(5px);
}

.cep-home-btn--secondary:hover,
.cep-home-btn--secondary:focus {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--cep-home-navy) !important;
}

/* Slider controls */
.cep-hero-slider__controls {
    position: absolute;
    z-index: 8;
    right: 50%;
    bottom: 28px;
    transform: translateX(50%);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    pointer-events: none;
}

.cep-hero-slider__arrows,
.cep-hero-slider__dots,
.cep-hero-slider__counter {
    pointer-events: auto;
}

.cep-hero-slider__arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cep-hero-slider__arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;

    padding: 0;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 50%;

    background: rgba(2,40,91,.36);
    color: #FFFFFF;
    backdrop-filter: blur(8px);

    font-size: 20px;
    line-height: 1;
    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.cep-hero-slider__arrow:hover,
.cep-hero-slider__arrow:focus-visible {
    background: var(--cep-home-gold);
    border-color: var(--cep-home-gold);
    transform: translateY(-1px);
}

.cep-hero-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cep-hero-slider__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.42);
    cursor: pointer;

    transition:
        width .28s ease,
        background-color .28s ease;
}

.cep-hero-slider__dot.is-active {
    width: 32px;
    background: var(--cep-home-gold-light);
}

.cep-hero-slider__counter {
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    color: rgba(255,255,255,.68);
}

.cep-hero-slider__counter strong {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 800;
}

.cep-hero-slider__counter span {
    width: 26px;
    height: 1px;
    background: rgba(255,255,255,.34);
}

.cep-hero-slider__counter small {
    font-size: 12px;
}

.cep-hero-slider__progress {
    position: absolute;
    z-index: 8;
    right: 0;
    left: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255,255,255,.12);
}

.cep-hero-slider__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--cep-home-gold-light);
}

.cep-hero-slider.is-running .cep-hero-slider__progress span {
    animation: cepHeroProgress 6.5s linear forwards;
}

@keyframes cepHeroProgress {
    from { width: 0; }
    to { width: 100%; }
}


/* =========================================================
   ABOUT CEP SECTION
   ========================================================= */

.cep-about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(0,55,128,.045), transparent 24%),
        #FFFFFF;
}

.cep-about::before {
    content: "";
    position: absolute;
    inset-inline-end: -180px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(2,40,91,.06);
    box-shadow:
        0 0 0 54px rgba(2,40,91,.018),
        0 0 0 108px rgba(2,40,91,.012);
    pointer-events: none;
}

.cep-about__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
    gap: 72px;
    align-items: center;
}

.cep-about__content {
    min-width: 0;
}

.cep-about__content h2 {
    max-width: 700px;
    margin: 0 0 20px;
    color: var(--cep-home-navy) !important;
    font-size: clamp(34px, 4.15vw, 54px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.025em;
}

.cep-home--ar .cep-about__content h2 {
    letter-spacing: 0;
    line-height: 1.32;
}

.cep-about__content h2 span {
    color: var(--cep-home-blue);
}

.cep-about__lead {
    max-width: 690px;
    margin: 0;
    color: var(--cep-home-muted);
    font-size: 17px;
    line-height: 1.9;
}

.cep-about__points {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.cep-about__point {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 17px 18px;
    border: 1px solid rgba(2,40,91,.08);
    border-radius: 16px;
    background: rgba(246,248,251,.62);
    transition:
        transform .2s ease,
        border-color .2s ease,
        background-color .2s ease;
}

.cep-about__point:hover {
    transform: translateY(-2px);
    border-color: rgba(130,119,70,.28);
    background: #FFFFFF;
}

.cep-about__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(130,119,70,.11);
    border: 1px solid rgba(130,119,70,.16);
    color: var(--cep-home-gold);
    font-size: 12px;
    font-weight: 900;
}

.cep-about__point h3 {
    margin: 0 0 4px;
    color: var(--cep-home-navy) !important;
    font-size: 17px;
    font-weight: 800;
}

.cep-about__point p {
    margin: 0;
    color: var(--cep-home-muted);
    font-size: 14px;
    line-height: 1.7;
}

.cep-about__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--cep-home-blue) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.cep-about__link span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cep-home-navy);
    color: #FFFFFF;
    transition:
        transform .2s ease,
        background-color .2s ease;
}

.cep-about__link:hover span {
    transform: translateX(-3px);
    background: var(--cep-home-gold);
}

.cep-home--en .cep-about__link:hover span {
    transform: translateX(3px);
}

/* Visual panel */
.cep-about__visual {
    position: relative;
}

.cep-about__panel {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    padding: 26px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 70% 22%, rgba(130,119,70,.18), transparent 26%),
        linear-gradient(145deg, #02285B 0%, #003780 62%, #02285B 100%);
    box-shadow: 0 28px 70px rgba(2,40,91,.16);
}

.cep-about__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.cep-about__panel-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cep-about__panel-top > div {
    display: grid;
    gap: 4px;
}

.cep-about__panel-label {
    color: #D8CB87;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.cep-about__panel-top strong {
    max-width: 240px;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.45;
}

.cep-about__panel-badge {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.77);
    font-size: 10px;
    font-weight: 700;
}

.cep-about__orbit {
    position: relative;
    z-index: 2;
    height: 330px;
    display: grid;
    place-items: center;
}

.cep-about__orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
}

.cep-about__orbit-ring--one {
    width: 260px;
    height: 260px;
}

.cep-about__orbit-ring--two {
    width: 330px;
    height: 330px;
    border-color: rgba(130,119,70,.18);
}

.cep-about__orbit-core {
    position: relative;
    z-index: 3;
    width: 178px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 26%, rgba(255,255,255,.18), transparent 40%),
        linear-gradient(145deg, rgba(130,119,70,.55), rgba(0,55,128,.35));
    border: 1px solid rgba(255,255,255,.22);
    box-shadow:
        0 20px 46px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.11);
    text-align: center;
}

.cep-about__orbit-core span,
.cep-about__orbit-core small {
    color: rgba(255,255,255,.68);
    font-size: 11px;
    font-weight: 700;
}

.cep-about__orbit-core strong {
    max-width: 120px;
    color: #FFFFFF;
    font-size: 22px;
    line-height: 1.2;
}

.cep-about__orbit-node {
    position: absolute;
    z-index: 4;
    min-width: 70px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(2,40,91,.70);
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    backdrop-filter: blur(8px);
}

.cep-about__orbit-node--one {
    top: 42px;
    inset-inline-start: 18px;
}

.cep-about__orbit-node--two {
    top: 120px;
    inset-inline-end: 8px;
}

.cep-about__orbit-node--three {
    bottom: 34px;
    inset-inline-start: 56px;
}

.cep-about__panel-footer {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cep-about__panel-footer > div {
    min-width: 0;
    padding: 12px 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    text-align: center;
}

.cep-about__panel-footer span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: var(--cep-home-gold-light);
}

.cep-about__panel-footer p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 11px;
    font-weight: 700;
}

/* RTL / LTR ordering */
.cep-home--ar .cep-about__content {
    order: 1;
    text-align: right;
}

.cep-home--ar .cep-about__visual {
    order: 2;
}

.cep-home--en .cep-about__content {
    order: 1;
    text-align: left;
}

.cep-home--en .cep-about__visual {
    order: 2;
}

.cep-home--ar .cep-about__point {
    grid-template-columns: 52px minmax(0, 1fr);
}

@media (max-width: 991.98px) {
    .cep-about__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cep-home--ar .cep-about__content,
    .cep-home--en .cep-about__content {
        order: 1;
    }

    .cep-home--ar .cep-about__visual,
    .cep-home--en .cep-about__visual {
        order: 2;
    }

    .cep-about__visual {
        max-width: 680px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .cep-about__content h2 {
        font-size: 34px;
    }

    .cep-about__lead {
        font-size: 16px;
    }

    .cep-about__point {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .cep-about__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .cep-about__panel {
        min-height: 470px;
        padding: 20px;
        border-radius: 22px;
    }

    .cep-about__orbit {
        height: 300px;
    }

    .cep-about__orbit-ring--one {
        width: 220px;
        height: 220px;
    }

    .cep-about__orbit-ring--two {
        width: 280px;
        height: 280px;
    }

    .cep-about__orbit-core {
        width: 150px;
    }

    .cep-about__orbit-node--one {
        inset-inline-start: 0;
    }

    .cep-about__orbit-node--two {
        inset-inline-end: 0;
    }

    .cep-about__orbit-node--three {
        inset-inline-start: 26px;
    }

    .cep-about__panel-footer {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SHARED HOMEPAGE SECTIONS
   ========================================================= */

.cep-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--cep-home-gold);
    font-size: 14px;
    font-weight: 800;
}

.cep-home-kicker::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: currentColor;
}

.cep-home-section {
    padding: 88px 0;
}

.cep-home-section--soft {
    background: var(--cep-home-soft);
}

.cep-home-section__head {
    max-width: 760px;
    margin-bottom: 42px;
}

.cep-home--ar .cep-home-section__head {
    margin-inline-start: auto;
}

.cep-home-section__head h2 {
    margin: 0 0 14px;
    color: var(--cep-home-navy) !important;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.25;
    font-weight: 800;
}

.cep-home-section__head p {
    margin: 0;
    color: var(--cep-home-muted);
    font-size: 17px;
    line-height: 1.85;
}

.cep-home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cep-home-feature {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border: 1px solid var(--cep-home-border);
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 12px 32px rgba(2,40,91,.06);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.cep-home-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(130,119,70,.42);
    box-shadow: 0 18px 44px rgba(2,40,91,.11);
}

.cep-home-feature__num {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--cep-home-gold);
    font-size: 14px;
    font-weight: 900;
}

.cep-home-feature h3 {
    margin: 0 0 12px;
    color: var(--cep-home-navy) !important;
    font-size: 22px;
    font-weight: 800;
}

.cep-home-feature p {
    margin: 0;
    color: var(--cep-home-muted);
    line-height: 1.8;
}

.cep-home-placeholder {
    min-height: 230px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 28px;
    border: 1px dashed rgba(2,40,91,.28);
    border-radius: 22px;
    background: rgba(255,255,255,.7);
    text-align: center;
}

.cep-home-placeholder strong {
    color: var(--cep-home-navy);
    font-size: 20px;
}

.cep-home-placeholder span {
    color: var(--cep-home-muted);
}

html[dir="rtl"] .cep-home--ar {
    text-align: right;
}


/* =========================================================
   SIDEBAR SAFE AREA — 1 cm
   English sidebar: left
   Arabic sidebar: right
   ========================================================= */

.cep-home--en .cep-hero-slide__inner {
    padding-left: calc(1cm + 20px);
}

.cep-home--ar .cep-hero-slide__inner {
    padding-right: calc(1cm + 20px);
}

/* Keep section content away from the sidebar too. */
.cep-home--en .cep-home-section > .cep-home-shell {
    padding-left: 1cm;
}

.cep-home--ar .cep-home-section > .cep-home-shell {
    padding-right: 1cm;
}



/* =========================================================
   ARABIC GLOBAL ALIGNMENT
   Keep Arabic text content on the right throughout CEP pages.
   Decorative/visual artwork can remain centered internally.
   ========================================================= */

.cep-home--ar,
.cep-home--ar .cep-home-section,
.cep-home--ar .cep-home-section__head,
.cep-home--ar .cep-about__content,
.cep-home--ar .cep-about__point,
.cep-home--ar .cep-about__point > div,
.cep-home--ar .cep-about__lead,
.cep-home--ar .cep-home-feature,
.cep-home--ar .cep-home-placeholder,
.cep-home--ar .cep-hero-slide__content {
    direction: rtl;
    text-align: right !important;
}

.cep-home--ar .cep-home-section__head,
.cep-home--ar .cep-about__content,
.cep-home--ar .cep-hero-slide__content {
    margin-left: 0;
    margin-right: 0;
}

.cep-home--ar .cep-home-kicker,
.cep-home--ar .cep-about__link {
    justify-content: flex-start;
}

.cep-home--ar .cep-about__point h3,
.cep-home--ar .cep-about__point p,
.cep-home--ar .cep-home-feature h3,
.cep-home--ar .cep-home-feature p,
.cep-home--ar .cep-home-section__head h2,
.cep-home--ar .cep-home-section__head p,
.cep-home--ar .cep-about__content h2,
.cep-home--ar .cep-about__lead {
    text-align: right !important;
}

/* Keep graphic labels centered inside the visual artwork itself. */
.cep-home--ar .cep-about__orbit-core,
.cep-home--ar .cep-about__orbit-node,
.cep-home--ar .cep-about__panel-footer > div {
    text-align: center !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
    .cep-hero-slider {
        height: 610px;
        min-height: 610px;
    }

    .cep-hero-slide__content {
        width: min(680px, 78%);
    }

    .cep-home-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .cep-home-shell {
        width: min(100% - 28px, 1180px);
    }

    .cep-hero-slider {
        height: 620px;
        min-height: 620px;
    }

    .cep-hero-slide {
        background-position: center center;
    }

    .cep-home--ar .cep-hero-slide__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(2,40,91,.48) 0%,
                rgba(2,40,91,.78) 45%,
                rgba(2,40,91,.95) 100%
            );
    }

    .cep-hero-slide__inner {
        display: flex;
        align-items: flex-end;
        height: 100%;
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .cep-hero-slide__content {
        width: 100%;
    }

    .cep-hero-slide h1,
    .cep-hero-slide h2,
    .cep-home--ar .cep-hero-slide h1,
    .cep-home--ar .cep-hero-slide h2,
    .cep-home--en .cep-hero-slide h1,
    .cep-home--en .cep-hero-slide h2 {
        font-size: 38px;
        line-height: 1.24;
    }

    .cep-hero-slide p {
        font-size: 16px;
        line-height: 1.8;
    }

    .cep-home-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cep-home-btn {
        width: 100%;
    }

    .cep-hero-slider__controls {
        bottom: 30px;
        gap: 14px;
    }

    .cep-hero-slider__counter {
        display: none;
    }

    .cep-hero-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .cep-home-section {
        padding: 62px 0;
    }

    .cep-home-feature {
        min-height: 0;
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cep-hero-slide,
    .cep-home *,
    .cep-home *::before,
    .cep-home *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}


@media (max-width: 767.98px) {
    .cep-home--en .cep-hero-slide__inner,
    .cep-home--ar .cep-hero-slide__inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .cep-home--en .cep-home-section > .cep-home-shell,
    .cep-home--ar .cep-home-section > .cep-home-shell {
        padding-left: 0;
        padding-right: 0;
    }
}


/* =========================================================
   ABOUT CEP — MOTION SYSTEM
   Arabic + English
   Professional, subtle continuous motion.
   ========================================================= */

/* Slowly move the background grid/light so the panel feels alive. */
.cep-about__panel {
    background-size: 140% 140%;
    animation: cepAboutPanelGlow 16s ease-in-out infinite alternate;
}

/* The visual block enters softly and then remains animated. */
.cep-about__visual {
    animation: cepAboutVisualFloat 6s ease-in-out infinite;
    will-change: transform;
}

/* Orbit rings need visible markers because a plain circular border
   would look static even while rotating. */
.cep-about__orbit-ring {
    will-change: transform;
}

.cep-about__orbit-ring::before,
.cep-about__orbit-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.cep-about__orbit-ring::before {
    width: 11px;
    height: 11px;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #D8CB87;
    box-shadow: 0 0 18px rgba(216, 203, 135, .48);
}

.cep-about__orbit-ring::after {
    width: 7px;
    height: 7px;
    right: 11%;
    bottom: 11%;
    background: rgba(255,255,255,.72);
    box-shadow: 0 0 14px rgba(255,255,255,.25);
}

.cep-about__orbit-ring--one {
    animation: cepOrbitClockwise 18s linear infinite;
}

.cep-about__orbit-ring--two {
    animation: cepOrbitCounterClockwise 27s linear infinite;
}

/* Central learning core — gentle breathing / elevation. */
.cep-about__orbit-core {
    animation: cepAboutCorePulse 4.8s ease-in-out infinite;
    will-change: transform, box-shadow;
}

/* Floating keywords. Staggered timing makes the panel feel natural,
   without moving them away from their intended positions. */
.cep-about__orbit-node {
    will-change: transform, opacity;
}

.cep-about__orbit-node--one {
    animation: cepNodeFloatOne 4.6s ease-in-out infinite;
}

.cep-about__orbit-node--two {
    animation: cepNodeFloatTwo 5.3s ease-in-out .55s infinite;
}

.cep-about__orbit-node--three {
    animation: cepNodeFloatThree 4.9s ease-in-out 1.05s infinite;
}

/* Bottom indicators breathe sequentially. */
.cep-about__panel-footer > div {
    transition:
        transform .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}

.cep-about__panel-footer > div:nth-child(1) span {
    animation: cepAboutIndicator 2.8s ease-in-out infinite;
}

.cep-about__panel-footer > div:nth-child(2) span {
    animation: cepAboutIndicator 2.8s ease-in-out .55s infinite;
}

.cep-about__panel-footer > div:nth-child(3) span {
    animation: cepAboutIndicator 2.8s ease-in-out 1.1s infinite;
}

@media (hover: hover) and (pointer: fine) {
    .cep-about__panel-footer > div:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,.075);
        border-color: rgba(216,203,135,.24);
    }

    .cep-about__orbit-node:hover {
        border-color: rgba(216,203,135,.42);
        background: rgba(2,40,91,.90);
    }
}

/* Animations */
@keyframes cepAboutPanelGlow {
    0% {
        background-position: 20% 20%;
    }
    100% {
        background-position: 78% 68%;
    }
}

@keyframes cepAboutVisualFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes cepOrbitClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes cepOrbitCounterClockwise {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes cepAboutCorePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 20px 46px rgba(0,0,0,.16),
            inset 0 1px 0 rgba(255,255,255,.11);
    }
    50% {
        transform: scale(1.035);
        box-shadow:
            0 24px 58px rgba(0,0,0,.20),
            0 0 0 10px rgba(216,203,135,.035),
            inset 0 1px 0 rgba(255,255,255,.14);
    }
}

@keyframes cepNodeFloatOne {
    0%, 100% {
        transform: translate(0, 0);
        opacity: .92;
    }
    50% {
        transform: translate(7px, -6px);
        opacity: 1;
    }
}

@keyframes cepNodeFloatTwo {
    0%, 100% {
        transform: translate(0, 0);
        opacity: .92;
    }
    50% {
        transform: translate(-7px, 6px);
        opacity: 1;
    }
}

@keyframes cepNodeFloatThree {
    0%, 100% {
        transform: translate(0, 0);
        opacity: .92;
    }
    50% {
        transform: translate(5px, 7px);
        opacity: 1;
    }
}

@keyframes cepAboutIndicator {
    0%, 100% {
        width: 24px;
        opacity: .72;
    }
    50% {
        width: 40px;
        opacity: 1;
    }
}

/* Accessibility: users requesting reduced motion keep the full
   visual design without continuous animation. */
@media (prefers-reduced-motion: reduce) {
    .cep-about__panel,
    .cep-about__visual,
    .cep-about__orbit-ring--one,
    .cep-about__orbit-ring--two,
    .cep-about__orbit-core,
    .cep-about__orbit-node--one,
    .cep-about__orbit-node--two,
    .cep-about__orbit-node--three,
    .cep-about__panel-footer > div span {
        animation: none !important;
    }
}


/* =========================================================
   FEATURED COURSE
   Uses MNC-Logo.svg lightly as a visual motif.
   ========================================================= */

.cep-featured {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%);
}

.cep-featured__watermark {
    position: absolute;
    width: 330px;
    height: 330px;
    inset-inline-end: -90px;
    top: 58px;
    background: url('/cep-assets/images/icons/MNC-Logo.svg') center/contain no-repeat;
    opacity: .022;
    pointer-events: none;
    filter: grayscale(1);
}

.cep-featured__head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.cep-featured__head > div {
    max-width: 760px;
}

.cep-featured__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--cep-home-gold);
    font-size: 13px;
    font-weight: 800;
}

.cep-featured__eyebrow img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    opacity: .74;
}

.cep-featured__head h2 {
    margin: 0 0 14px;
    color: var(--cep-home-navy) !important;
    font-size: clamp(34px, 4.15vw, 54px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.025em;
}

.cep-home--ar .cep-featured__head h2 {
    letter-spacing: 0;
    line-height: 1.32;
}

.cep-featured__head h2 span {
    color: var(--cep-home-blue);
}

.cep-featured__head p {
    max-width: 690px;
    margin: 0;
    color: var(--cep-home-muted);
    font-size: 16px;
    line-height: 1.85;
}

.cep-featured__all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid rgba(2,40,91,.12);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--cep-home-navy) !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(2,40,91,.06);
    transition:
        transform .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cep-featured__all:hover {
    transform: translateY(-2px);
    border-color: rgba(130,119,70,.42);
    color: var(--cep-home-gold-dark) !important;
}

.cep-featured__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
    gap: 24px;
    align-items: stretch;
}

/* Main featured course */
.cep-featured-course {
    display: grid;
    grid-template-columns: minmax(310px, .92fr) minmax(0, 1.08fr);
    min-height: 470px;
    overflow: hidden;
    border: 1px solid rgba(2,40,91,.09);
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 20px 52px rgba(2,40,91,.09);
}

.cep-featured-course__visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 470px;
    padding: 24px;
    background:
        radial-gradient(circle at 72% 20%, rgba(130,119,70,.20), transparent 26%),
        linear-gradient(145deg, #02285B 0%, #003780 62%, #02285B 100%);
}

.cep-featured-course__visual::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -160px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow:
        0 0 0 50px rgba(255,255,255,.018),
        0 0 0 100px rgba(255,255,255,.012);
    z-index: -1;
}

.cep-featured-course__pattern {
    position: absolute;
    inset: 16% 10% 8% 10%;
    background:
        url('/cep-assets/images/icons/MNC-Logo.svg')
        center / 72% auto
        no-repeat;
    opacity: .05;
    filter: grayscale(1) brightness(1.8);
    transform: rotate(-8deg) scale(1.08);
    pointer-events: none;
}

.cep-featured-course__visual-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cep-featured-course__visual-top img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    opacity: .90;
    filter: brightness(0) invert(1);
}

.cep-featured-course__tag {
    max-width: 240px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.80);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
}

.cep-featured-course__visual-center {
    position: relative;
    z-index: 2;
    min-height: 330px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    text-align: center;
}

.cep-featured-course__mini {
    color: #D8CB87;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.cep-featured-course__visual-center strong {
    color: #FFFFFF;
    font-size: clamp(74px, 7vw, 110px);
    line-height: .95;
    letter-spacing: -.06em;
    text-shadow: 0 14px 34px rgba(0,0,0,.20);
}

.cep-featured-course__visual-center small {
    margin-top: 6px;
    color: rgba(255,255,255,.66);
    font-size: 12px;
    font-weight: 700;
}

.cep-featured-course__visual-line {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 74px;
    height: 3px;
    border-radius: 99px;
    background: var(--cep-home-gold-light);
}

.cep-featured-course__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 38px;
}

.cep-featured-course__kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--cep-home-gold-dark);
    font-size: 11px;
    font-weight: 800;
}

.cep-featured-course__body h3 {
    margin: 0 0 16px;
    color: var(--cep-home-navy) !important;
    font-size: clamp(26px, 2.3vw, 36px);
    line-height: 1.3;
    font-weight: 800;
}

.cep-featured-course__body > p {
    margin: 0;
    color: var(--cep-home-muted);
    font-size: 15px;
    line-height: 1.8;
}

.cep-featured-course__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}

.cep-featured-course__meta > div {
    min-width: 0;
    padding: 12px 10px;
    border: 1px solid rgba(2,40,91,.08);
    border-radius: 13px;
    background: #F8FAFD;
}

.cep-featured-course__meta span {
    display: block;
    margin-bottom: 4px;
    color: var(--cep-home-gold);
    font-size: 11px;
    font-weight: 900;
}

.cep-featured-course__meta small {
    color: var(--cep-home-navy);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.cep-featured-course__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    min-height: 48px;
    padding: 11px 19px;
    border-radius: 999px;
    background: var(--cep-home-gold);
    color: #FFFFFF !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(130,119,70,.18);
    transition:
        transform .2s ease,
        background-color .2s ease;
}

.cep-featured-course__cta:hover {
    transform: translateY(-2px);
    background: var(--cep-home-gold-dark);
}

/* Side panel */
.cep-featured-side {
    min-height: 470px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid rgba(2,40,91,.08);
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 20px 52px rgba(2,40,91,.055);
}

.cep-featured-side__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(2,40,91,.08);
}

.cep-featured-side__brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    opacity: .88;
}

.cep-featured-side__brand > div {
    min-width: 0;
}

.cep-featured-side__brand span {
    display: block;
    color: var(--cep-home-muted);
    font-size: 10px;
    line-height: 1.4;
}

.cep-featured-side__brand strong {
    display: block;
    margin-top: 3px;
    color: var(--cep-home-navy);
    font-size: 17px;
    line-height: 1.35;
}

.cep-featured-side__items {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.cep-featured-side__items article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(2,40,91,.06);
}

.cep-featured-side__items article:last-child {
    border-bottom: 0;
}

.cep-featured-side__num {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(130,119,70,.10);
    color: var(--cep-home-gold-dark);
    font-size: 10px;
    font-weight: 900;
}

.cep-featured-side__items h3 {
    margin: 0 0 4px;
    color: var(--cep-home-navy) !important;
    font-size: 15px;
    font-weight: 800;
}

.cep-featured-side__items p {
    margin: 0;
    color: var(--cep-home-muted);
    font-size: 12px;
    line-height: 1.65;
}

/* Language-specific ordering and alignment */
.cep-home--ar .cep-featured__head,
.cep-home--ar .cep-featured-course__body,
.cep-home--ar .cep-featured-side,
.cep-home--ar .cep-featured-side__items article {
    direction: rtl;
    text-align: right;
}

.cep-home--ar .cep-featured-course {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
}

.cep-home--ar .cep-featured-course__visual {
    order: 2;
}

.cep-home--ar .cep-featured-course__body {
    order: 1;
}

.cep-home--ar .cep-featured-course__cta {
    align-self: flex-start;
}

.cep-home--en .cep-featured-course__visual {
    order: 1;
}

.cep-home--en .cep-featured-course__body {
    order: 2;
}

/* Subtle motion */
.cep-featured-course__pattern {
    animation: cepFeaturedPatternFloat 11s ease-in-out infinite alternate;
}

.cep-featured-course__visual-center strong {
    animation: cepFeaturedAI 4.8s ease-in-out infinite;
}

@keyframes cepFeaturedPatternFloat {
    from {
        transform: rotate(-8deg) scale(1.08) translate3d(0, 0, 0);
    }
    to {
        transform: rotate(-4deg) scale(1.13) translate3d(5px, -6px, 0);
    }
}

@keyframes cepFeaturedAI {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 1100px) {
    .cep-featured__layout {
        grid-template-columns: 1fr;
    }

    .cep-featured-side {
        min-height: 0;
    }
}

@media (max-width: 991.98px) {
    .cep-featured__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cep-featured-course,
    .cep-home--ar .cep-featured-course {
        grid-template-columns: 1fr;
    }

    .cep-home--ar .cep-featured-course__visual,
    .cep-home--en .cep-featured-course__visual {
        order: 1;
    }

    .cep-home--ar .cep-featured-course__body,
    .cep-home--en .cep-featured-course__body {
        order: 2;
    }

    .cep-featured-course__visual {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .cep-featured__head h2 {
        font-size: 34px;
    }

    .cep-featured__watermark {
        width: 220px;
        height: 220px;
    }

    .cep-featured-course,
    .cep-featured-side {
        border-radius: 20px;
    }

    .cep-featured-course__visual {
        min-height: 310px;
        padding: 18px;
    }

    .cep-featured-course__visual-center {
        min-height: 210px;
    }

    .cep-featured-course__body {
        padding: 26px 22px;
    }

    .cep-featured-course__meta {
        grid-template-columns: 1fr;
    }

    .cep-featured-side {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cep-featured-course__pattern,
    .cep-featured-course__visual-center strong {
        animation: none !important;
    }
}


/* =========================================================
   TRAINING PATHS
   ========================================================= */

.cep-paths {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(0,55,128,.045), transparent 24%),
        linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
}

.cep-paths__watermark {
    position: absolute;
    width: 360px;
    height: 360px;
    inset-inline-start: -105px;
    bottom: -115px;
    background: url('/cep-assets/images/icons/MNC-Logo.svg') center/contain no-repeat;
    opacity: .018;
    filter: grayscale(1);
    pointer-events: none;
}

.cep-paths__head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 38px;
}

.cep-paths__head > div {
    max-width: 760px;
}

.cep-paths__head h2 {
    margin: 0 0 14px;
    color: var(--cep-home-navy) !important;
    font-size: clamp(34px, 4.15vw, 54px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.025em;
}

.cep-home--ar .cep-paths__head h2 {
    letter-spacing: 0;
    line-height: 1.32;
}

.cep-paths__head h2 span {
    color: var(--cep-home-blue);
}

.cep-paths__head p {
    max-width: 690px;
    margin: 0;
    color: var(--cep-home-muted);
    font-size: 16px;
    line-height: 1.85;
}

.cep-paths__all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid rgba(2,40,91,.12);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--cep-home-navy) !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(2,40,91,.06);
    transition:
        transform .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cep-paths__all:hover {
    transform: translateY(-2px);
    border-color: rgba(130,119,70,.38);
    color: var(--cep-home-gold-dark) !important;
}

.cep-paths__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cep-path-card {
    position: relative;
    isolation: isolate;
    min-height: 270px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border: 1px solid rgba(2,40,91,.09);
    border-radius: 24px;
    background: #FFFFFF;
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: 0 12px 34px rgba(2,40,91,.055);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background-color .24s ease;
}

.cep-path-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            145deg,
            transparent 0%,
            transparent 66%,
            rgba(0,55,128,.035) 100%
        );
}

.cep-path-card__mark {
    position: absolute;
    z-index: -1;
    width: 150px;
    height: 150px;
    inset-inline-end: -18px;
    top: 28px;
    background: url('/cep-assets/images/icons/MNC-Logo.svg') center/contain no-repeat;
    opacity: .025;
    filter: grayscale(1);
    transition:
        transform .35s ease,
        opacity .35s ease;
}

.cep-path-card__number {
    position: absolute;
    top: 24px;
    inset-inline-start: 26px;
    color: var(--cep-home-gold);
    font-size: 12px;
    font-weight: 900;
}

.cep-path-card__content {
    max-width: 520px;
}

.cep-path-card__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--cep-home-gold-dark);
    font-size: 11px;
    font-weight: 800;
}

.cep-path-card h3 {
    margin: 0 0 10px;
    color: var(--cep-home-navy) !important;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.35;
    font-weight: 800;
}

.cep-path-card p {
    margin: 0;
    max-width: 500px;
    color: var(--cep-home-muted);
    font-size: 14px;
    line-height: 1.75;
}

.cep-path-card__arrow {
    position: absolute;
    inset-inline-end: 24px;
    bottom: 24px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cep-home-navy);
    color: #FFFFFF;
    font-size: 17px;
    transition:
        transform .24s ease,
        background-color .24s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cep-path-card:hover {
        transform: translateY(-5px);
        border-color: rgba(130,119,70,.30);
        box-shadow: 0 18px 44px rgba(2,40,91,.10);
    }

    .cep-path-card:hover .cep-path-card__mark {
        transform: rotate(-5deg) scale(1.08);
        opacity: .055;
    }

    .cep-path-card:hover .cep-path-card__arrow {
        transform: translateX(-3px);
        background: var(--cep-home-gold);
    }

    .cep-home--en .cep-path-card:hover .cep-path-card__arrow {
        transform: translateX(3px);
    }
}

.cep-home--ar .cep-paths__head,
.cep-home--ar .cep-path-card,
.cep-home--ar .cep-path-card__content {
    direction: rtl;
    text-align: right !important;
}

.cep-home--ar .cep-paths__head > div {
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.cep-home--en .cep-paths__head,
.cep-home--en .cep-path-card,
.cep-home--en .cep-path-card__content {
    direction: ltr;
    text-align: left;
}

@media (max-width: 991.98px) {
    .cep-paths__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cep-paths__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .cep-paths__head h2 {
        font-size: 34px;
    }

    .cep-path-card {
        min-height: 240px;
        padding: 24px;
        border-radius: 20px;
    }

    .cep-path-card__mark {
        width: 120px;
        height: 120px;
    }

    .cep-path-card__arrow {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cep-path-card,
    .cep-path-card__mark,
    .cep-path-card__arrow {
        transition: none !important;
    }
}


/* =========================================================
   DYNAMIC MOODLE CATEGORIES
   ========================================================= */

.cep-paths__grid--dynamic {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cep-path-card--dynamic {
    min-height: 0;
    padding: 0;
    justify-content: stretch;
    background: #FFFFFF;
}

.cep-path-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(2,40,91,.96), rgba(0,55,128,.88));
}

.cep-path-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.cep-path-card__image.is-fallback img {
    object-fit: contain;
    padding: 44px;
    opacity: .28;
    filter: grayscale(1);
}

.cep-path-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(2,40,91,.42), transparent 58%);
    pointer-events: none;
}

.cep-path-card__number--image {
    position: absolute;
    z-index: 2;
    top: 16px;
    inset-inline-start: 16px;
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding-inline: 8px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(2,40,91,.55);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.cep-path-card__dynamic-body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.cep-path-card__dynamic-body h3 {
    margin: 0 0 9px;
    padding-inline-end: 48px;
}

.cep-path-card__dynamic-body p {
    margin-bottom: 18px;
}

.cep-path-card__count {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(130,119,70,.09);
    color: var(--cep-home-gold-dark);
    font-size: 10px;
    font-weight: 800;
}

.cep-path-card__dynamic-body .cep-path-card__arrow {
    inset-inline-end: 20px;
    bottom: 20px;
}

@media (hover: hover) and (pointer: fine) {
    .cep-path-card--dynamic:hover .cep-path-card__image img {
        transform: scale(1.045);
    }
}

/* Loading placeholders */
.cep-path-card--skeleton {
    min-height: 310px;
    overflow: hidden;
    border-color: rgba(2,40,91,.06);
    background:
        linear-gradient(
            105deg,
            #F3F5F8 25%,
            #FAFBFC 38%,
            #F3F5F8 52%
        );
    background-size: 220% 100%;
    animation: cepCategorySkeleton 1.45s linear infinite;
}

@keyframes cepCategorySkeleton {
    from { background-position: 100% 0; }
    to   { background-position: -100% 0; }
}

.cep-paths__status {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(2,40,91,.09);
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--cep-home-muted);
    font-size: 14px;
}

.cep-home--ar .cep-paths__status {
    direction: rtl;
    text-align: right;
}

.cep-home--en .cep-paths__status {
    direction: ltr;
    text-align: left;
}

@media (max-width: 767.98px) {
    .cep-paths__grid--dynamic {
        grid-template-columns: 1fr;
    }

    .cep-path-card__dynamic-body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cep-path-card--skeleton {
        animation: none !important;
    }

    .cep-path-card__image img {
        transition: none !important;
    }
}


/* =========================================================
   PHASE 16 — DYNAMIC CATEGORY SLIDER
   4 categories per view, more categories via slider.
   Category-description image on top + dark CEP card body.
   ========================================================= */

.cep-paths__grid--dynamic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.cep-path-card--dynamic {
    min-height: 0;
    overflow: hidden;
    padding: 0;
    justify-content: stretch;
    border: 1px solid rgba(2,40,91,.14);
    border-radius: 26px;
    background: var(--cep-home-navy);
    box-shadow: 0 16px 40px rgba(2,40,91,.10);
}

.cep-path-card__image {
    position: relative;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    background: #02285B;
}

.cep-path-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.cep-path-card__image.is-fallback {
    background:
        radial-gradient(circle at 78% 20%, rgba(130,119,70,.16), transparent 28%),
        linear-gradient(145deg, #02285B 0%, #003780 100%);
}

.cep-path-card__image.is-fallback img {
    object-fit: contain;
    padding: 54px;
    opacity: .24;
    filter: grayscale(1) brightness(1.65);
}

.cep-path-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(2,40,91,.44) 0%,
            rgba(2,40,91,.06) 55%,
            transparent 100%
        );
    pointer-events: none;
}

.cep-path-card__number--image {
    position: absolute;
    z-index: 2;
    top: 16px;
    inset-inline-start: 16px;
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding-inline: 8px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    background: rgba(2,40,91,.68);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.cep-path-card__dynamic-body {
    position: relative;
    flex: 1;
    min-height: 215px;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 26px;
    background:
        radial-gradient(circle at 92% 8%, rgba(130,119,70,.10), transparent 24%),
        linear-gradient(145deg, #02285B 0%, #003780 100%);
    color: #FFFFFF;
}

.cep-path-card__dynamic-body .cep-path-card__eyebrow {
    color: #D8CB87;
}

.cep-path-card__dynamic-body h3 {
    margin: 0 0 10px;
    padding-inline-end: 50px;
    color: #FFFFFF !important;
}

.cep-path-card__dynamic-body p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.72);
}

.cep-path-card__count {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: auto;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #E7DDA6;
    font-size: 10px;
    font-weight: 800;
}

.cep-path-card__dynamic-body .cep-path-card__arrow {
    inset-inline-end: 20px;
    bottom: 20px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    color: #FFFFFF;
}

.cep-home--ar .cep-path-card__dynamic-body,
.cep-home--ar .cep-path-card__dynamic-body h3,
.cep-home--ar .cep-path-card__dynamic-body p {
    direction: rtl;
    text-align: right !important;
}

.cep-home--en .cep-path-card__dynamic-body,
.cep-home--en .cep-path-card__dynamic-body h3,
.cep-home--en .cep-path-card__dynamic-body p {
    direction: ltr;
    text-align: left;
}

@media (hover: hover) and (pointer: fine) {
    .cep-path-card--dynamic:hover {
        transform: translateY(-5px);
        border-color: rgba(130,119,70,.38);
        box-shadow: 0 22px 52px rgba(2,40,91,.16);
    }

    .cep-path-card--dynamic:hover .cep-path-card__image img {
        transform: scale(1.045);
    }

    .cep-path-card--dynamic:hover .cep-path-card__arrow {
        background: var(--cep-home-gold);
        border-color: var(--cep-home-gold);
    }
}

/* Slider controls */
.cep-category-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.cep-category-slider__arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(2,40,91,.12);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--cep-home-navy);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(2,40,91,.06);
    transition:
        transform .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.cep-category-slider__arrow:hover,
.cep-category-slider__arrow:focus-visible {
    transform: translateY(-2px);
    background: var(--cep-home-navy);
    border-color: var(--cep-home-navy);
    color: #FFFFFF;
}

.cep-category-slider__pages {
    min-width: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--cep-home-muted);
}

.cep-category-slider__pages strong {
    color: var(--cep-home-navy);
    font-size: 15px;
}

.cep-category-slider__pages span {
    width: 22px;
    height: 1px;
    background: rgba(2,40,91,.22);
}

.cep-category-slider__pages small {
    font-size: 11px;
}

.cep-category-slider__dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cep-category-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(2,40,91,.20);
    cursor: pointer;
    transition:
        width .22s ease,
        background-color .22s ease;
}

.cep-category-slider__dot.is-active {
    width: 26px;
    background: var(--cep-home-gold);
}

/* Page-change entrance */
.cep-path-card--dynamic {
    animation: cepCategoryCardIn .42s ease both;
}

.cep-path-card--dynamic:nth-child(2) { animation-delay: .045s; }
.cep-path-card--dynamic:nth-child(3) { animation-delay: .09s; }
.cep-path-card--dynamic:nth-child(4) { animation-delay: .135s; }

@keyframes cepCategoryCardIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .cep-paths__grid--dynamic {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .cep-path-card--dynamic {
        border-radius: 20px;
    }

    .cep-path-card__dynamic-body {
        min-height: 190px;
        padding: 21px;
    }

    .cep-category-slider__controls {
        gap: 10px;
    }

    .cep-category-slider__pages {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cep-path-card--dynamic {
        animation: none !important;
    }

    .cep-path-card__image img,
    .cep-category-slider__arrow,
    .cep-category-slider__dot {
        transition: none !important;
    }
}


/* =========================================================
   20261107 — FOUR CATEGORY CARDS
   Desktop: 4 paths per row and per slider page.
   Use the shared cep-home-shell width at every breakpoint.
   ========================================================= */

.cep-paths__grid--dynamic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cep-path-card--dynamic {
    min-width: 0;
    min-height: 0;
    border-radius: 20px;
}

.cep-path-card__image {
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.cep-path-card__image img {
    object-fit: cover;
}

.cep-path-card__dynamic-body {
    min-height: 170px;
    padding: 17px 17px 18px;
    background:
        radial-gradient(circle at 92% 7%, rgba(130,119,70,.12), transparent 28%),
        linear-gradient(145deg, #02285B 0%, #003780 100%);
}

.cep-path-card__dynamic-body .cep-path-card__eyebrow {
    margin-bottom: 6px;
    color: #D8CB87;
    font-size: 9px;
}

.cep-path-card__dynamic-body h3 {
    margin: 0 0 7px;
    padding-inline-end: 34px;
    color: #FFFFFF !important;
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.35;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cep-path-card__dynamic-body p {
    margin: 0 0 13px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cep-path-card__count {
    padding: 5px 8px;
    font-size: 9px;
}

.cep-path-card__dynamic-body .cep-path-card__arrow {
    width: 33px;
    height: 33px;
    inset-inline-end: 14px;
    bottom: 14px;
    font-size: 14px;
}

.cep-path-card__number--image {
    top: 11px;
    inset-inline-start: 11px;
    min-width: 31px;
    height: 31px;
    font-size: 9px;
}

.cep-path-card__image.is-fallback {
    background:
        radial-gradient(circle at 76% 18%, rgba(130,119,70,.15), transparent 30%),
        linear-gradient(145deg, #02285B 0%, #003780 100%);
}

.cep-path-card__image.is-fallback img {
    padding: 34px;
    opacity: .24;
    object-fit: contain;
}

.cep-category-slider__controls {
    margin-top: 20px;
}

.cep-category-slider__arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .cep-paths__grid--dynamic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .cep-paths__grid--dynamic {
        grid-template-columns: 1fr;
    }

    .cep-path-card__dynamic-body {
        min-height: 160px;
        padding: 18px;
    }

    .cep-path-card__dynamic-body h3 {
        font-size: 19px;
    }

    .cep-path-card__dynamic-body p {
        font-size: 12px;
    }
}


/* =========================================================
   PHASE 18 — TRAINING PATH TITLE SPACING
   ========================================================= */

.cep-paths__title-line,
.cep-paths__title-accent {
    display: block;
}

.cep-paths__title-accent {
    margin-top: .14em;
    color: var(--cep-home-blue);
}


/* =========================================================
   PHASE 20 — CATEGORY CARD TITLE / BACKGROUND
   ========================================================= */

/* Exact requested dark background below the category image. */
.cep-path-card__dynamic-body {
    background: #031534 !important;
}

/* Center the category name whether it is one line or multiple lines. */
.cep-path-card__dynamic-body h3 {
    width: 100%;
    min-height: 2.8em;
    margin: 0 0 10px;
    padding-inline: 0 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    color: #D8CB87 !important;
    text-align: center !important;
    line-height: 1.4;
}

/* Keep Arabic category titles centered too, overriding the global RTL rule. */
.cep-home--ar .cep-path-card__dynamic-body h3,
.cep-home--en .cep-path-card__dynamic-body h3 {
    text-align: center !important;
}

/* Preserve right/left alignment for description and metadata. */
.cep-home--ar .cep-path-card__dynamic-body p,
.cep-home--ar .cep-path-card__dynamic-body .cep-path-card__eyebrow {
    text-align: right !important;
}

.cep-home--en .cep-path-card__dynamic-body p,
.cep-home--en .cep-path-card__dynamic-body .cep-path-card__eyebrow {
    text-align: left !important;
}


/* =========================================================
   FEATURED WORKSHOP — WHY TO CHANGE
   Scoped to the workshop card; keeps existing homepage styles.
   ========================================================= */

#cep-home-featured .cep-featured-workshop .cep-featured-workshop__poster-title {
    width: 100%;
    max-width: 100%;
    margin: 12px 0;
    color: #FFFFFF;
    font-size: clamp(28px, 2.5vw, 36px) !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-align: center;
    animation: none;
}

.cep-featured-workshop__poster-title > span {
    display: block;
}

.cep-featured-workshop .cep-featured-course__visual-center small {
    max-width: 240px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}

.cep-featured-workshop .cep-featured-workshop__title {
    margin-bottom: 8px;
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.cep-featured-workshop .cep-featured-course__body > .cep-featured-workshop__subtitle {
    margin-bottom: 14px;
    color: var(--cep-home-blue);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.65;
}

.cep-featured-workshop .cep-featured-course__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
    gap: 10px;
}

.cep-featured-workshop .cep-featured-course__meta small {
    display: block;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.cep-featured-workshop .cep-featured-course__meta bdi {
    font-family: inherit;
}

.cep-featured-workshop .cep-featured-course__cta {
    margin-top: 22px;
}

@media (max-width: 479.98px) {
    .cep-featured-workshop .cep-featured-course__meta {
        grid-template-columns: 1fr;
    }

    .cep-featured-workshop .cep-featured-course__body {
        padding: 26px 20px;
    }

    #cep-home-featured .cep-featured-workshop .cep-featured-workshop__poster-title {
        font-size: clamp(26px, 8vw, 32px) !important;
    }
}

/* CEP research ethics course — 11–12 November 2026. */
.cep-research-event {
    padding-block: 76px;
    background: linear-gradient(180deg, #F6F8FB 0%, #FFFFFF 100%);
}
.cep-research-event__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.cep-research-event__all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #02285B;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}
.cep-research-event__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
    gap: 22px;
    align-items: stretch;
    text-align: start;
}
.cep-research-event__overview {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(130,119,70,.35);
    border-radius: 24px;
    background: radial-gradient(circle at 95% 5%, rgba(130,119,70,.16), transparent 38%), linear-gradient(145deg, #02285B, #031534);
    box-shadow: 0 14px 38px rgba(2,40,91,.1);
    color: #FFFFFF;
}
.cep-research-event__brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
    color: #D8CB87;
    font-size: 13px;
    font-weight: 600;
}
.cep-research-event__brand > span > span { margin-inline: 8px; opacity: .5; }
.cep-research-event__emblem { display: inline-flex; flex: 0 0 auto; width: 52px; height: 52px; }
.cep-research-event__emblem svg { display: block; width: 100%; height: 100%; }
.cep-research-event__overview h2 {
    margin: 0 0 26px;
    color: #FFFFFF !important;
    font-size: clamp(24px, 2.15vw, 32px);
    font-weight: 700;
    line-height: 1.55;
    text-align: start !important;
    overflow-wrap: break-word;
}
.cep-home--ar .cep-research-event__overview h2 { line-height: 1.8; }
.cep-research-event__facts {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 24px;
}
.cep-research-event__facts > div { padding: 13px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); }
.cep-research-event__facts > div:last-child { grid-column: 1 / -1; }
.cep-research-event__facts dt { margin: 0 0 5px; color: #D8CB87; font-size: 12px; font-weight: 500; }
.cep-research-event__facts dd { margin: 0; color: #FFFFFF; font-size: 14px; font-weight: 600; line-height: 1.75; }
.cep-research-event__action { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.cep-research-event__register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 48px;
    padding: 11px 23px;
    border: 1px solid #D8CB87;
    border-radius: 12px;
    background: #C9BA7C;
    color: #02285B !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1.7;
    transition: background-color .18s ease;
}
.cep-research-event__register:hover,
.cep-research-event__register:focus-visible { background: #E0D39F; }
.cep-research-event__action > span { color: #CFD9E8; font-size: 11px; line-height: 1.7; }
.cep-research-event__speaker {
    min-width: 0;
    padding: 30px;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(2,40,91,.035);
}
.cep-research-event__label { margin: 0 0 12px; color: #827746; font-size: 13px; font-weight: 600; }
.cep-research-event__speaker h3 { margin: 0 0 14px; color: #02285B !important; font-size: 23px; font-weight: 700; line-height: 1.7; }
.cep-research-event__speaker-ar { display: block; margin: -6px 0 14px; color: #64748B; font-size: 13px; }
.cep-research-event__credentials { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cep-research-event__credentials li { position: relative; padding-inline-start: 16px; color: #475569; font-size: 14px; line-height: 1.95; }
.cep-research-event__credentials li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 5px; height: 5px; border-radius: 50%; background: #827746; }
.cep-research-event__audience { margin-top: 24px; padding-top: 20px; border-top: 1px solid #E2E8F0; }
.cep-research-event__audience h4 { margin: 0 0 8px; color: #827746 !important; font-size: 13px; font-weight: 600; }
.cep-research-event__audience p { margin: 0; color: #475569; font-size: 14px; line-height: 1.95; }
.cep-research-event__topics { grid-column: 1 / -1; padding: 28px 30px; border: 1px solid #E2E8F0; border-radius: 24px; background: #FFFFFF; }
.cep-research-event__topics h3 { margin: 0 0 22px; color: #02285B !important; font-size: 21px; font-weight: 700; }
.cep-research-event__topics ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; margin: 0; padding: 0; list-style: none; }
.cep-research-event__topics li { display: flex; align-items: flex-start; gap: 12px; }
.cep-research-event__topics li:last-child { grid-column: 1 / -1; }
.cep-research-event__topics li > span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid #E9E4D5; border-radius: 8px; background: #F7F5EE; color: #827746; font-size: 11px; font-weight: 700; }
.cep-research-event__topics p { margin: 0; padding-top: 2px; color: #475569; font-size: 14px; line-height: 1.95; }
.cep-research-event a:focus-visible { outline: 3px solid #B8A95F; outline-offset: 4px; }
@media (max-width: 991.98px) {
    .cep-research-event__layout { grid-template-columns: minmax(0, 1fr); }
    .cep-research-event__overview h2 { font-size: 28px; }
}
@media (max-width: 620px) {
    .cep-research-event { padding-block: 48px; }
    .cep-research-event__overview, .cep-research-event__speaker, .cep-research-event__topics { padding: 22px 20px; border-radius: 18px; }
    .cep-research-event__overview h2 { font-size: 23px; }
    .cep-research-event__brand { font-size: 11px; }
    .cep-research-event__emblem { width: 44px; height: 44px; }
    .cep-research-event__facts { grid-template-columns: minmax(0, 1fr); }
    .cep-research-event__topics ol { grid-template-columns: minmax(0, 1fr); }
    .cep-research-event__register { width: 100%; }
    .cep-research-event__speaker h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .cep-research-event__register { transition: none; } }
