.pt-explore {
    color: var(--ec-color, #fff);
}

.pt-explore__shell {
    margin-inline: auto;
}

.pt-explore__surface {
    position: relative;
    width: 100%;
    margin-inline: auto;
    padding: var(--ec-top, 32px) 0 var(--ec-bottom, 32px);
    background: var(--ec-bg, #121212);
    overflow: hidden;
}

.pt-explore__surface--custom {
    max-width: var(--ec-width, 1400px);
}

.pt-explore__background,
.pt-explore__overlay {
    position: absolute;
    inset: 0;
}

.pt-explore__background {
    display: block;
    z-index: 0;
}

.pt-explore__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-explore__overlay {
    z-index: 1;
    background: var(--ec-overlay, #000);
    opacity: var(--ec-overlay-opacity, .3);
    pointer-events: none;
}

.pt-explore__card {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 16px;
    background: var(--ec-card-bg, transparent);
}

.pt-explore__heading {
    margin: 0 0 16px;
    text-align: center;
    color: var(--ec-color, #fff);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.pt-explore__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.pt-explore__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt-explore .pt-explore__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 9px 18px;
    border: 1px solid var(--ec-border, #fff);
    border-radius: 999px;
    background: transparent;
    color: var(--ec-color, #fff);
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.2;
    transition: background .25s, color .25s, border-color .25s;
}

.pt-explore .pt-explore__pill:hover,
.pt-explore .pt-explore__pill:focus-visible {
    background: var(--ec-hover-bg, #fff);
    color: var(--ec-hover-color, #111);
    border-color: var(--ec-hover-border, #fff);
}

.pt-explore__mobile {
    display: none;
}

@media (max-width: 768px) {
    .pt-explore__shell.page-width {
        padding-left: 0;
        padding-right: 0;
    }

    .pt-explore__surface {
        padding-top: var(--ec-mobile-top, 20px);
        padding-bottom: var(--ec-mobile-bottom, 20px);
    }

    .pt-explore__card {
        padding: 0 15px;
    }

    .pt-explore__heading {
        padding: 0 16px;
        margin-bottom: 14px;
        font-size: 26px;
    }

    .pt-explore .pt-explore__pill {
        padding: 8px 10px;
        font-size: 12px;
    }

    .pt-explore--scroll .pt-explore__list {
        display: none;
    }

    .pt-explore--scroll .pt-explore__mobile {
        display: block;
        width: calc(100% + 30px);
        margin-inline: -15px;
    }

    .pt-explore__page {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        gap: 10px 8px;
        height: auto;
    }

    .pt-explore__row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .pt-explore__row .pt-explore__item {
        flex: 0 1 auto;
        min-width: 0;
    }

    .pt-explore .pt-explore__row .pt-explore__pill {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .pt-explore__pagination {
        position: static !important;
        margin-top: 16px;
        min-height: 10px;
    }

    .pt-explore__pagination .swiper-pagination-bullet {
        background: #fff;
        opacity: 1;
    }

    .pt-explore__pagination .swiper-pagination-bullet-active {
        background: var(--ec-dot, #dc0d6f);
    }

    .pt-explore__arrow {
        position: absolute;
        z-index: 3;
        top: 40%;
        transform: translateY(-50%);
        border: 0;
        background: transparent;
        color: var(--ec-color, #fff);
        font-size: 28px;
        cursor: pointer;
    }

    .pt-explore__arrow--prev {
        left: 0;
    }

    .pt-explore__arrow--next {
        right: 0;
    }
}

@media (max-width: 400px) {
    .pt-explore .pt-explore__pill {
        min-height: 36px;
        padding: 6px 7px;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 350px) {
    .pt-explore__row {
        gap: 6px;
    }

    .pt-explore .pt-explore__pill {
        padding: 6px 4px;
    }
}