.sg-certifications {
    background: #f0f0f0;
    box-sizing: border-box;
    color: #212529;
    padding: clamp(32px, calc(9.4648px + 6.0094vw), 96px) 24px;
    width: 100%;
}

.sg-certifications:not(:has(.sg-certifications__card)) {
    display: none;
}

.sg-certifications__inner {
    margin: 0 auto;
    max-width: 1152px;
}

.sg-certifications__heading-row {
    align-items: flex-end;
    display: flex;
    gap: clamp(32px, 6vw, 96px);
    justify-content: space-between;
    margin-block-end: 24px;
}

.sg-certifications__header {
    max-width: 720px;
    min-width: 0;
}

.sg-certifications__eyebrow {
    align-items: center;
    color: #888888;
    display: flex;
    font-size: clamp(12px, calc(11.2958px + .1878vw), 14px);
    gap: 7px;
    letter-spacing: .04em;
    line-height: 1.4;
    margin: 0;
    margin-block-end: clamp(8px, calc(5.1831px + .7512vw), 16px);
    text-transform: uppercase;
}

.sg-certifications__eyebrow::before {
    background: #d50032;
    content: '';
    flex: 0 0 12px;
    height: 2px;
}

.sg-certifications__title {
    color: #212529;
    font-size: clamp(28px, calc(23.7746px + 1.1268vw), 40px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.08;
    margin: 0;
    margin-block-end: clamp(16px, calc(13.1831px + 0.7512vw), 24px);
}

.sg-certifications__description {
    color: #212529;
    font-size: clamp(16px, calc(14.5915px + .3756vw), 20px);
    line-height: 1.55;
    margin: 0;
}

.sg-certifications__navigation {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
}

.sg-certifications__controls {
    display: flex;
    gap: 10px;
}

.sg-certifications__controls[hidden] {
    display: none;
}

.sg-certifications__control {
    align-items: center;
    background: transparent;
    border: 1px solid #555b62;
    border-radius: 50%;
    color: #212529;
    cursor: pointer;
    display: inline-flex;
    font-size: 0;
    height: 40px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: relative;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
    width: 40px;
}

.sg-certifications__control::before {
    background: currentColor;
    content: '';
    height: 1.5px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
}

.sg-certifications__control::after {
    border-block-start: 1.5px solid currentColor;
    border-inline-end: 1.5px solid currentColor;
    content: '';
    height: 6px;
    position: absolute;
    top: 50%;
    width: 6px;
}

.sg-certifications__control--previous::after {
    left: calc(50% - 5px);
    transform: translateY(-50%) rotate(-135deg);
}

.sg-certifications__control--next::after {
    right: calc(50% - 5px);
    transform: translateY(-50%) rotate(45deg);
}

.sg-certifications__control:hover,
.sg-certifications__control:focus-visible {
    background: #d50032;
    border-color: #d50032;
    color: #ffffff;
}

.sg-certifications__control:disabled {
    cursor: default;
    opacity: .3;
}

.sg-certifications__viewport {
    overflow: hidden;
}

.sg-certifications__track {
    display: grid;
    gap: 24px;
    grid-auto-columns: calc((100% - 72px) / 4);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.sg-certifications__track::-webkit-scrollbar {
    display: none;
}

.sg-certifications__card {
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
}

.sg-certifications__media {
    align-items: center;
    aspect-ratio: 3 / 4;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: clamp(16px, 2.2vw, 24px);
    position: relative;
}

.sg-certifications__media::after {
    border: 1px solid rgba(32, 35, 39, .12);
    content: '';
    inset: clamp(16px, 2.2vw, 24px);
    pointer-events: none;
    position: absolute;
}

.sg-certifications__image {
    background: transparent;
    box-shadow: none;
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.sg-certifications__card-body {
    align-items: flex-start;
    display: block;
    margin-block-start: 24px;
}

.sg-certifications__card-title {
    color: #212529;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    text-align: center;
}

.sg-certifications__card-title-link,
.sg-certifications__card-title-link:visited {
    align-items: center;
    color: #212529;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    text-decoration: none;
}

.sg-certifications__card-title-link::before {
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjgiPjxwYXRoIGZpbGw9IiNkNTAwMzIiIGQ9Ik0zLjc1IDE1YTIuNSAyLjUgMCAwIDEgMCA1SDIuNXYxLjI1YS43NS43NSAwIDAgMS0xLjUgMHYtNS41YS43NS43NSAwIDAgMSAuNzUtLjc1ek0yLjUgMTguNWgxLjI1YTEgMSAwIDEgMCAwLTJIMi41ek05LjI1IDE1QTIuNzUgMi43NSAwIDAgMSAxMiAxNy43NXYxLjVBMi43NSAyLjc1IDAgMCAxIDkuMjUgMjJoLTEuNWEuNzUuNzUgMCAwIDEtLjc1LS43NXYtNS41YS43NS43NSAwIDAgMSAuNzUtLjc1em0tLjc1IDUuNWguNzVjLjY5IDAgMS4yNS0uNTYgMS4yNS0xLjI1di0xLjVjMC0uNjktLjU2LTEuMjUtMS4yNS0xLjI1SDguNXptOC4yNS01LjVhLjc1Ljc1IDAgMCAxIDAgMS41SDE0LjVWMThoMS43NWEuNzUuNzUgMCAwIDEgMCAxLjVIMTQuNXYxLjc1YS43NS43NSAwIDAgMS0xLjUgMHYtNS41YS43NS43NSAwIDAgMSAuNzUtLjc1ek0xMiA4YTIgMiAwIDAgMCAyIDJoNnYxMGEyIDIgMCAwIDEtMiAyaC0yLjY3YTEuNzQgMS43NCAwIDAgMCAuMTctLjc1di0uNzVoLjc1YTEuNzUgMS43NSAwIDAgMCAxLjEwMi0zLjExQTEuNzQ4IDEuNzQ4IDAgMCAwIDE2Ljc1IDE0aC0zYTEuNzUgMS43NSAwIDAgMC0xLjY4NCAxLjI3NUEzLjc0IDMuNzQgMCAwIDAgOS4yNSAxNGgtMS41Yy0uNjkgMC0xLjI4Ny40MDEtMS41NzEuOTgyQTMuNSAzLjUgMCAwIDAgNCAxNC4wMVY0YTIgMiAwIDAgMSAyLTJoNnptNy41LjVIMTRhLjUuNSAwIDAgMS0uNS0uNVYyLjV6Ii8+PC9zdmc+") center / contain no-repeat;
    content: '';
    flex: 0 0 20px;
    height: 22px;
    width: 20px;
}

.sg-certifications__card-title-link:hover,
.sg-certifications__card-title-link:focus-visible {
    color: #d50032;
}

@media (max-width: 1023px) {
    .sg-certifications__track {
        grid-auto-columns: calc((100% - 20px) / 2);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .sg-certifications {
        padding-inline: 20px;
    }

    .sg-certifications__heading-row {
        align-items: flex-start;
        display: block;
        margin-block-end: 24px;
    }

    .sg-certifications__navigation {
        justify-content: space-between;
        margin-top: 24px;
    }

    .sg-certifications__track {
        gap: 16px;
        grid-auto-columns: 84%;
    }
}
