.cbc-home-certificates {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--color-navy);
    font-family: "CBC Josefin Sans", Arial, sans-serif;
}
.cbc-home-certificates::before {
    content: "";
    position: absolute;
    right: -8vw;
    top: 37%;
    width: clamp(360px, 38vw, 610px);
    aspect-ratio: 568 / 480;
    background: url("../images/menu-c.png") center / contain no-repeat;
    pointer-events: none;
}
.cbc-home-certificates__inner {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(88px, 9vh, 120px) 0 80px;
}
.cbc-home-certificates__heading {
    padding-left: 9%;
    margin-top: 0;
    margin-bottom: clamp(24px, 3vh, 36px);
}
.cbc-home-certificates__heading span {
    font-size: 20pt;
}
.cbc-home-certificates__heading strong {
    font-size: 24pt;
}
.cbc-home-certificates__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, .8vw, 14px);
    width: min(39vw, 760px);
    height: calc(100vh - 245px);
    max-height: 840px;
    min-height: 0;
    margin: 0 auto;
}
.cbc-home-certificates__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: clamp(4px, .5vw, 8px);
    overflow: visible;
    cursor: zoom-in;
    isolation: isolate;
    text-decoration: none;
    transition: transform .26s ease;
}
.cbc-home-certificates__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .78));
    transform: scaleY(1);
    transform-origin: bottom center;
    transition: transform 1.45s cubic-bezier(.19, 1, .22, 1);
    pointer-events: none;
}
.cbc-home-certificates__item::after {
    content: "";
    position: absolute;
    inset: -30% auto -30% -55%;
    z-index: 2;
    width: 42%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .68) 48%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg) translateX(0);
    opacity: 0;
    pointer-events: none;
}
.cbc-home-certificates__item:hover {
    transform: translateY(-4px);
}
.cbc-home-certificates__item:hover::after {
    opacity: 1;
    animation: cbcHomeCertificateShine .74s ease;
}
.cbc-home-certificates__item img {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    max-width: min(100%, 360px);
    max-height: 108%;
    display: block;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid var(--color-navy);
    background: #fff;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, -34px, 0) scale(1.045);
    transform-origin: top center;
    filter: blur(10px) saturate(.94);
    transition: clip-path 1.45s cubic-bezier(.19, 1, .22, 1), transform 1.45s cubic-bezier(.19, 1, .22, 1), filter 1.1s cubic-bezier(.19, 1, .22, 1), border-color .26s ease, box-shadow .26s ease;
    will-change: clip-path, transform, filter;
}
.cbc-home-certificates__item.is-fly-in::before {
    transform: scaleY(0);
}
.cbc-home-certificates__item.is-fly-in img {
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) saturate(1);
}
.cbc-home-certificates__item:hover img {
    border-color: #57c3ea;
    box-shadow: 0 18px 34px rgba(4, 71, 124, .16);
    filter: brightness(1.04);
    transform: scale(1.045);
}
.cbc-home-certificates .cbc-clients {
    margin-top: clamp(140px, 16vh, 210px);
}
@keyframes cbcHomeCertificateShine {
    from {
        transform: skewX(-18deg) translateX(0);
    }
    to {
        transform: skewX(-18deg) translateX(420%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .cbc-home-certificates__item::before {
        display: none;
    }
    .cbc-home-certificates__item img {
        clip-path: none;
        transform: none;
        filter: none;
        transition: none;
    }
}
@media (max-width: 767px) {
    .cbc-home-certificates {
        min-height: auto;
        overflow: visible;
    }
    .cbc-home-certificates__inner {
        min-height: auto;
        max-height: none;
        justify-content: flex-start;
        padding: 14px 24px;
    }
    .cbc-home-certificates__heading {
        padding-left: 0;
        margin-top: 0;
    }
    .cbc-home-certificates__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
        height: auto;
        max-height: none;
    }
    .cbc-home-certificates__item {
        min-height: clamp(210px, 46vw, 330px);
        height: auto;
    }
    .cbc-home-certificates__item img {
        max-width: 100%;
    }
    .cbc-home-certificates .cbc-clients {
        margin-top: 64px;
    }
}
