.results {
    background: var(--gray-50);
}

.results__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Header */
.results__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.results__title {
    font-family: 'Amplesoft Pro Bold', sans-serif;
    font-size: 24px;
    line-height: 1.18;
    color: var(--main-blue);
}

/* Carousel */
.results__carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.results__track {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-bottom: -16px;
    padding-bottom: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.results__track::-webkit-scrollbar {
    display: none;
}

.results__card {
    position: relative;
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 264px;
    padding: 32px 48px 48px 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 16px -4px rgba(22, 34, 51, .08);
    scroll-snap-align: start;
}

.results__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 130, .9) 0%, rgba(0, 0, 130, 0) 50%);
    pointer-events: none;
}

/* Same crop as the design */
.results__image {
    position: absolute;
    top: -.14%;
    left: -9.56%;
    width: 119.11%;
    height: 120.33%;
    max-width: none;
    object-fit: cover;
}

.results__category {
    position: relative;
    z-index: 1;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
}

.results__card-title {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 12px 24px;
    font-family: 'Amplesoft Pro Bold', sans-serif;
    font-size: 20px;
    line-height: 1.2;
    color: var(--white);
    background: var(--main-blue);
    border-radius: 0 800px 800px 0;
}

.results__card-title--small {
    font-size: 18px;
    line-height: 1.3;
}

/* Controls */
.results__controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--dark-blue);
    border: 0;
    border-radius: 800px;
    cursor: pointer;
    transition: filter .2s ease;
}

.results__arrow:hover {
    filter: brightness(1.4);
}

.results__arrow:focus-visible {
    outline: 2px solid var(--main-blue);
    outline-offset: 2px;
}

.results__arrow-icon {
    display: block;
}

.results__bullets {
    display: flex;
    padding: 0 2px;
}

.results__bullet {
    position: relative;
    width: 12px;
    height: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.results__bullet::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: var(--gray-300);
    border-radius: 800px;
    transition: background-color .2s ease;
}

.results__bullet--active::before {
    background: var(--main-blue);
}

.results__bullet:focus-visible {
    outline: 2px solid var(--main-blue);
    outline-offset: 1px;
}

@media (min-width: 768px) {
    .results__container {
        gap: 40px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .results__title {
        font-size: 32px;
        line-height: 1.25;
    }

    .results__card {
        flex-basis: calc((100% - 16px) / 2);
        height: 256px;
    }
}

@media (min-width: 1200px) {
    .results__container {
        gap: 48px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .results__title {
        font-size: 40px;
        line-height: 1.2;
    }

    .results__card {
        flex-basis: calc((100% - 32px) / 3);
        height: 280px;
    }
}
