.hunter-certifications-intro,
.hunter-certification-showcase,
.hunter-certifications-intro *,
.hunter-certification-showcase * {
    box-sizing: border-box;
}

.hunter-certifications-intro,
.hunter-certification-showcase {
    width: 100%;
    color: #2d2929;
    font-family: "Montserrat", Arial, sans-serif;
}

.hunter-certifications-shell {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1136px;
    margin: 0 auto;
}

.hunter-certifications-intro {
    padding: 78px 0 96px;
    background: #fff;
}

.hunter-certifications-intro__header {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hunter-certifications-intro__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 27px;
}

.hunter-certifications-intro__eyebrow img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.hunter-certifications-intro__eyebrow span {
    color: #fa1641;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.hunter-certifications-intro__header h1,
.hunter-certifications-intro__header h2,
.hunter-certifications-intro__header h3,
.hunter-certifications-intro__header > div:not(.hunter-certifications-intro__eyebrow) {
    margin: 0;
    color: #2d2929;
    font-size: 40px;
    font-weight: 750;
    line-height: 1.18;
}

.hunter-certifications-intro__header p {
    max-width: 720px;
    margin: 26px auto 0;
    color: #666161;
    font-size: 15px;
    line-height: 1.55;
}

.hunter-certifications-intro__video {
    width: 100%;
    max-width: 760px;
    height: 430px;
    margin: 44px auto 0;
    overflow: hidden;
    border-radius: 12px;
    background: #071b29 var(--hunter-certifications-poster) center / cover no-repeat;
}

.hunter-certifications-intro__video iframe,
.hunter-certifications-intro__video > img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.hunter-certification-showcase {
    position: relative;
    padding: 76px 0;
    overflow: hidden;
    background: #fff;
}

.hunter-certification-showcase::before {
    position: absolute;
    inset: 0;
    background: var(--hunter-certifications-bg-image) center / cover no-repeat;
    content: "";
    opacity: var(--hunter-certifications-bg-opacity, 1);
    pointer-events: none;
}

.hunter-certification-showcase__layout {
    --hunter-certifications-media-width: 35%;
    display: flex;
    align-items: flex-start;
    gap: 46px;
}

.hunter-certification-showcase--carousel-right .hunter-certification-showcase__layout {
    flex-direction: row-reverse;
}

.hunter-certification-showcase__media {
    width: var(--hunter-certifications-media-width);
    min-width: 0;
    flex: 0 0 var(--hunter-certifications-media-width);
}

.hunter-certification-showcase__certificate {
    --hunter-certifications-certificate-max-width: 54%;
    --hunter-certifications-certificate-max-height: 84%;
    position: relative;
    display: flex;
    width: 100%;
    height: 400px;
    margin: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--hunter-certifications-certificate-background, #f2f2f2);
}

.hunter-certification-showcase__certificate.is-square {
    height: auto !important;
    aspect-ratio: 1 / 1;
}

.hunter-certification-showcase__certificate > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.hunter-certification-showcase__certificate img {
    display: block;
    width: var(--hunter-certifications-certificate-max-width) !important;
    height: var(--hunter-certifications-certificate-max-height) !important;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.hunter-certification-showcase__certificate figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px 14px;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.hunter-certification-showcase__carousel {
    --hunter-certification-visible: 4;
    --hunter-certification-thumb-gap: 10px;
    position: relative;
    margin-top: 26px;
    padding: 0 28px;
    outline: none;
}

.hunter-certification-showcase__viewport {
    height: 76px;
    overflow: hidden;
    touch-action: pan-y;
}

.hunter-certification-showcase__track {
    display: flex;
    height: 100%;
    gap: var(--hunter-certification-thumb-gap);
    transition: transform var(--hunter-certifications-duration, 500ms) cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.hunter-certification-showcase__slide {
    position: relative;
    min-width: 0;
    height: 100%;
    margin: 0;
    flex: 0 0 calc((100% - (var(--hunter-certification-visible) - 1) * var(--hunter-certification-thumb-gap)) / var(--hunter-certification-visible));
    overflow: hidden;
    background: #eee;
}

.hunter-certification-showcase__slide > a {
    display: block;
    width: 100%;
    height: 100%;
}

.hunter-certification-showcase__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hunter-certification-showcase__slide figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 5px;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    font-size: 9px;
    text-align: center;
}

.hunter-certification-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 22px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 0;
    background: #fff;
    color: #302d2d;
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.hunter-certification-arrow.is-prev { left: 0; }
.hunter-certification-arrow.is-next { right: 0; }
.hunter-certification-arrow:disabled { opacity: .3; cursor: not-allowed; }

.hunter-certification-showcase__certificate img {
    opacity: 1;
    transform: scale(1);
    transition: opacity var(--hunter-certification-preview-duration, 350ms) ease, transform var(--hunter-certification-preview-duration, 350ms) ease;
}

.hunter-certification-showcase__certificate.is-switching img {
    opacity: 0;
    transform: scale(.975);
}

.hunter-certification-showcase__certificate.is-previewing img {
    width: 100% !important;
    height: 100% !important;
}

.hunter-certification-showcase__slide {
    cursor: pointer;
    transition: opacity 180ms ease, outline-color 180ms ease;
}

.hunter-certification-showcase__slide:not(.is-active) { opacity: .82; }
.hunter-certification-showcase__slide.is-active {
    outline: 0;
    opacity: 1;
}

.hunter-certification-showcase__slide:focus-visible {
    outline: 2px solid #302d2d;
    outline-offset: -2px;
}

.hunter-certification-modal[hidden] { display: none; }

.hunter-certification-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    padding: 28px;
    place-items: center;
    overflow: auto;
    background: rgba(12, 12, 12, .88);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--hunter-certification-modal-duration, 300ms) ease, visibility var(--hunter-certification-modal-duration, 300ms) ease;
}

.hunter-certification-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.hunter-certification-modal__dialog {
    position: relative;
    display: flex;
    width: min(1100px, calc(100vw - 56px));
    max-height: calc(100vh - 56px);
    padding: 18px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
    transform: translateY(14px) scale(.985);
    transition: transform var(--hunter-certification-modal-duration, 300ms) ease;
}

.hunter-certification-modal.is-open .hunter-certification-modal__dialog { transform: translateY(0) scale(1); }

.hunter-certification-modal__dialog img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 120px);
    object-fit: contain;
}

.hunter-certification-modal__close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #fff;
    color: #242121;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.hunter-certification-modal__caption {
    margin: 12px 0 0;
    color: #403c3c;
    font-size: 14px;
    text-align: center;
}

.hunter-certification-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.hunter-certification-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5d2d2;
    cursor: pointer;
}

.hunter-certification-dots button[aria-current="true"] { background: #fa1641; }

.hunter-certification-showcase__content {
    display: flex;
    min-width: 0;
    padding: 0;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
}

.hunter-certification-showcase__heading span {
    display: block;
    margin-bottom: 10px;
    color: #fa1641;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
}

.hunter-certification-showcase__heading h2,
.hunter-certification-showcase__heading h3,
.hunter-certification-showcase__heading h4,
.hunter-certification-showcase__heading > div {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: #fa1641;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.hunter-certification-showcase__heading h2::before,
.hunter-certification-showcase__heading h3::before,
.hunter-certification-showcase__heading h4::before,
.hunter-certification-showcase__heading > div::before {
    position: absolute;
    top: .45em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fa1641;
    content: "";
}

.hunter-certification-showcase__flags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hunter-certification-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
}

.hunter-certification-flag > a { display: flex; }

.hunter-certification-flag > img,
.hunter-certification-flag > a img {
    display: block;
    width: 38px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}

.hunter-certification-flag div {
    display: none;
    min-width: 0;
    flex-direction: column;
}

.hunter-certification-showcase__flags.has-labels .hunter-certification-flag div { display: flex; }
.hunter-certification-flag strong { color: #242121; font-size: 12px; }
.hunter-certification-flag span { margin-top: 2px; color: #777272; font-size: 10px; }

.hunter-certification-showcase__description {
    max-width: 660px;
    margin-top: 27px;
    color: #5f5b5b;
    font-size: 15px;
    line-height: 1.62;
}

.hunter-certification-showcase__description p { margin: 0 0 16px; }
.hunter-certification-showcase__description p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    .hunter-certifications-shell { width: calc(100% - 36px); }
    .hunter-certifications-intro { padding: 48px 0 0; }
    .hunter-certifications-intro__eyebrow { margin-bottom: 22px; }
    .hunter-certifications-intro__eyebrow img { width: 18px; height: 18px; }
    .hunter-certifications-intro__eyebrow span { font-size: 10px; }

    .hunter-certifications-intro__header h1,
    .hunter-certifications-intro__header h2,
    .hunter-certifications-intro__header h3,
    .hunter-certifications-intro__header > div:not(.hunter-certifications-intro__eyebrow) {
        font-size: 24px;
        line-height: 1.32;
    }

    .hunter-certifications-intro__header p { margin-top: 21px; font-size: 13px; line-height: 1.55; }
    .hunter-certifications-intro__video { height: 220px; margin-top: 27px; border-radius: 4px; }

    .hunter-certification-showcase {
        padding: 40px 0 8px;
        background-color: var(--hunter-certifications-mobile-background, #fff) !important;
    }

    .hunter-certification-showcase__layout,
    .hunter-certification-showcase--carousel-right .hunter-certification-showcase__layout {
        display: flex;
        gap: 26px;
        flex-direction: column;
    }

    .hunter-certification-showcase__content { order: 1; width: 100%; }
    .hunter-certification-showcase__media { order: 2; width: 100%; flex-basis: auto; }

    .hunter-certification-showcase__heading h2,
    .hunter-certification-showcase__heading h3,
    .hunter-certification-showcase__heading h4,
    .hunter-certification-showcase__heading > div { font-size: 12px; }

    .hunter-certification-showcase__flags { gap: 10px; margin-top: 14px; }
    .hunter-certification-flag > img,
    .hunter-certification-flag > a img { width: 35px; }
    .hunter-certification-showcase__description { margin-top: 20px; font-size: 13px; line-height: 1.55; }
    .hunter-certification-showcase__certificate:not(.is-square) { height: 330px; }
    .hunter-certification-showcase__carousel { margin-top: 20px; padding: 0 17px; }
    .hunter-certification-showcase__viewport { height: 64px; }
    .hunter-certification-arrow { width: 16px; height: 34px; font-size: 21px; }
    .hunter-certification-dots { margin-top: 10px; }
    .hunter-certification-modal { padding: 16px; }
    .hunter-certification-modal__dialog { width: calc(100vw - 32px); max-height: calc(100vh - 32px); padding: 12px; }
    .hunter-certification-modal__dialog img { max-height: calc(100vh - 80px); }
    .hunter-certification-modal__close { top: 6px; right: 6px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .hunter-certification-showcase__track { transition: none !important; }
}
