.odc-slider {
    --odc-container: 1280px;
    --odc-text: #06111f;
    --odc-muted: #667085;
    --odc-gap: 24px;
    --odc-speed: 650ms;

    position: relative;
    width: min(100%, var(--odc-container));
    max-width: var(--odc-container);
    margin-left: auto;
    margin-right: auto;
    color: var(--odc-text);
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.odc-slider *,
.odc-slider *::before,
.odc-slider *::after {
    box-sizing: border-box;
}

.odc-slider a {
    color: inherit;
    text-decoration: none;
}

.odc-front-head {
    margin: 0 0 24px;
}

.odc-front-head h2 {
    margin: 0;
    color: #02070d;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.odc-front-head p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--odc-muted);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

/* Clean wrapper without yellow/orange background */
.odc-shell {
    position: relative;
    overflow: visible;
    width: 100%;
    padding: 0 54px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.odc-viewport {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    touch-action: pan-y;
}

.odc-viewport.is-dragging {
    cursor: grabbing;
}

.odc-track {
    display: flex;
    align-items: flex-start;
    gap: var(--odc-gap);
    width: 100%;
    min-width: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform var(--odc-speed) cubic-bezier(.22, 1, .36, 1);
}

.odc-track.no-transition {
    transition: none !important;
}

/* Desktop: 4 images */
.odc-slide {
    flex: 0 0 calc((100% - (var(--odc-gap) * 3)) / 4);
    min-width: 0;
}

.odc-slide-link {
    display: block;
}

/* Image wrapper: no forced white card, no fixed fake height */
.odc-certificate {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: translateZ(0);
    transition:
        transform .28s ease,
        filter .28s ease;
}

.odc-certificate::after {
    display: none;
}

/* Images as they are */
.odc-certificate img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: initial;
    object-position: initial;
    background: transparent;
    user-select: none;
    -webkit-user-drag: none;
}

.odc-slide:hover .odc-certificate {
    transform: translateY(-4px);
    filter: saturate(1.03) contrast(1.02);
}

.odc-certificate figcaption {
    display: none;
}

/* Arrows */
.odc-nav {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #07111f;
    cursor: pointer;
    box-shadow:
        0 14px 34px rgba(15, 23, 42, .14),
        inset 0 1px 0 rgba(255, 255, 255, .75);
    transform: translateY(-50%);
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
    backdrop-filter: blur(14px);
}

.odc-nav span {
    display: block;
    margin-top: -4px;
    font-size: 38px;
    line-height: 1;
    font-weight: 300;
}

.odc-nav:hover {
    background: #ffffff;
    box-shadow:
        0 18px 42px rgba(15, 23, 42, .2),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

.odc-nav:active {
    transform: translateY(-50%) scale(.94);
}

.odc-nav-prev {
    left: 0;
}

.odc-nav-next {
    right: 0;
}

/* Dots */
.odc-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 18px;
    margin-top: 22px;
}

.odc-dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition:
        width .25s ease,
        background .25s ease,
        transform .25s ease,
        opacity .25s ease;
}

.odc-dot:hover {
    transform: scale(1.15);
    background: #94a3b8;
}

.odc-dot.is-active {
    width: 28px;
    background: #07111f;
}

.odc-empty-front {
    padding: 18px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #667085;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* Laptop */
@media (max-width: 1280px) {
    .odc-slider {
        --odc-gap: 22px;
    }

    .odc-shell {
        padding-left: 52px;
        padding-right: 52px;
    }

    .odc-certificate img {
        max-height: 580px;
    }
}

/* Small laptop: 3 images */
@media (max-width: 1180px) {
    .odc-slider {
        --odc-gap: 22px;
    }

    .odc-slide {
        flex-basis: calc((100% - (var(--odc-gap) * 2)) / 3);
    }

    .odc-certificate img {
        max-height: 560px;
    }
}

/* Tablet: 2 images */
@media (max-width: 900px) {
    .odc-slider {
        --odc-gap: 18px;
    }

    .odc-shell {
        padding-left: 46px;
        padding-right: 46px;
    }

    .odc-slide {
        flex-basis: calc((100% - var(--odc-gap)) / 2);
    }

    .odc-certificate img {
        max-height: 540px;
    }

    .odc-nav {
        width: 42px;
        height: 42px;
    }

    .odc-nav span {
        font-size: 34px;
    }
}

/* Mobile: 1 image */
@media (max-width: 640px) {
    .odc-slider {
        --odc-gap: 14px;
    }

    .odc-shell {
        padding-left: 42px;
        padding-right: 42px;
    }

    .odc-slide {
        flex-basis: 100%;
    }

    .odc-certificate img {
        max-height: none;
    }

    .odc-nav {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, .94);
    }

    .odc-nav span {
        font-size: 31px;
    }

    .odc-front-head h2 {
        font-size: clamp(31px, 10vw, 42px);
        letter-spacing: -0.04em;
    }

    .odc-front-head p {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .odc-shell {
        padding-left: 38px;
        padding-right: 38px;
    }

    .odc-nav {
        width: 34px;
        height: 34px;
    }

    .odc-nav span {
        font-size: 28px;
    }

    .odc-dots {
        margin-top: 16px;
    }
}