.root {
    display: grid;
    grid-template-rows: 2.5vw auto 1fr;
    @media (width <= 930px) {
        gap: var(--spacing-32);
        margin-top: 40px;
        grid-template-rows: 1fr auto;
        grid-template-columns: 1fr;
    }
}
.container {
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: -1;
    overflow: hidden;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-28);

    @media (width <= 930px) {
        grid-row-end: 2;
    }
}

.carouselArea {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    gap: var(--spacing-28);
    align-items: flex-end;
    transform: translateX(-50px);
    pointer-events: none;
    
    @media (width <= 930px) {
        pointer-events: initial;
        gap: var(--spacing-8);
        grid-row-start: 1;
        grid-row-end: 2;
    }
}

.slideContainer {
    bottom: 0;
    aspect-ratio: 4 / 5;
    height: auto;
    flex-shrink: 0;
    transform-origin: bottom;
    position: relative;
    display: flex;
    flex-direction: column;
    user-select: none;

    @media (width <= 930px) {
        margin-bottom: 0;
    }

    img {
        user-select: none;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: var(--border-radius-md);
    }
    &.size-atom {
        aspect-ratio: initial;
        width: 0;
        height: 0;
    }
    &.size-small {
        width: clamp(140px, 8vw, 260px);
    }
    &.size-medium {
        width: clamp(180px, 14vw, 360px);
    }
    &.size-large {
        width: clamp(220px, 20vw, 480px);
    }
    &.size-x-large {
        width: clamp(260px, 26vw, 600px);
    }
}

.description {
    text-align: center;
    position: relative;
    h3 {
        margin-bottom: var(--spacing-12);
    }
    @media (width <= 930px) {
        grid-row-start: 2;
    }
}

.descriptionItem {
    background-color: var(--color-white);
}

.progressButtonContainer {
    grid-row-start: 2;
    grid-column-start: 1;
    white-space: pre-line;
    z-index: 99;
    width: 82vw;
    max-width: var(--content-max-width);
    margin: 0 auto;

    @media (width <= 930px) {
        padding: 0;
        grid-row-start: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    @media (width <= 768px) {
        width: 100vw;
    }
}

.progressButton {
    background-color: var(--color-bg-base-light);
}
