.custom-gallery-concept {
    display: flex;
    flex-direction: column;
    gap: 48px;

    @media screen and (max-width: 1024px) {
        gap: 32px;
    }

    @media screen and (max-width: 640px) {
        gap: 16px;
    }

    div.list-visual-components {
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(var(--item-count), 1fr);
        min-height: 50vh;
        max-height: 50vh;

        @media screen and (max-width: 640px) {
            display: flex;
        }

        button.gallery-item {
            padding: 0;
            border: none;
            outline: none;
            position: relative;
            transition: 0.3s all;
            cursor: pointer;
            overflow: hidden;
            max-height: 50vh;

            @media screen and (max-width: 640px) {
                width: 100%;
                display: none;
                cursor: unset;

                &.active {
                    display: block;
                    transform: scale(1) !important;
                    border-radius: 16px;

                    img.concept-image {
                        width: 100%;
                    }

                }
            }

            &.active {
                transform: scale(1.06);
                z-index: 50;

                img.concept-name {
                    opacity: 1;
                    transform: translate(-50%, -50%) scale(1);
                }

                img.concept-image {
                    filter: brightness(0.6);
                }
            }

            img.concept-name {
                opacity: 0;
                z-index: 10;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%) scale(0.8);
                max-width: 60%;
                max-height: 50%;
                transition: 0.5s all;
            }

            img.concept-image {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: filter 0.3s;
            }
        }
    }

    ul.list-detail-components {
        padding: 0;
        max-width: 1140px;
        margin-inline: auto;

        li.detail-item {
            display: none;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;

            .presentation-picture {
                display: flex;
                overflow: hidden;
                
                img {
                    width: 100%;
                    object-fit: cover;
                }

            }

            .presentation-video, .presentation-picture {
                aspect-ratio: 16/9;
                border-radius: 16px;
            }

            @media screen and (max-width: 640px) {
                .presentation-video {
                    display: none;
                }    
            }

            @media screen and (max-width: 1024px) {
                grid-template-columns: repeat(1, 1fr);
            }

            &.active {
                display: grid;
            }

            div.presentation-content {

                a.external-link-tour {
                    border-radius: 8px;
                    padding: 16px;
                    background-color: #02412FFF;

                    &:hover {
                        background-color: #61CE70FF;
                    }

                    span, i {
                        font-size: 16px;
                        color: white !important;
                    }

                    svg, i {
                        margin-right: 6px;
                    }

                    svg {
                        fill: white !important;
                    }
                }

                h4 {
                    font-size: 36px;
                    color: #4A4A4A;
                    margin-top: 0;
                    margin-bottom: 16px;
                    font-weight: 600;
                }

                ul.content-attributes {
                    padding: 0;
                    margin: 0;
                    margin-block: 24px;

                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 8px;

                    @media screen and (max-width: 640px) {
                        grid-template-columns: repeat(1, 1fr);
                    }
                    
                    li {
                        list-style: none;
                    }
                }
            }
        }
    }
}

.container-visual-components {
    max-width: 1920px;
    margin-inline: auto;
    position: relative;

    .direction-button {
        display: none;
        border: none;
        border-radius: 999px;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        transition: 0.3s opacity;
        opacity: 0.5;

        &:hover {
            opacity: 1;
        }

        @media screen and (max-width: 640px) {
            display: flex;
        }

        z-index: 100;

        &.right {
            top: 50%;
            left: 8px;
            position: absolute;
            z-index: 100;
            transform: translateY(-50%);
        }

        &.left {
            top: 50%;
            right: 8px;
            position: absolute;
            z-index: 100;
            transform: translateY(-50%);
        }

    }
}