.brand-section--gallery {
    margin-bottom: 10.9rem;
}

.brand-section--gallery .container {
    /* width: min(1100px, calc(100% - 40px)); */
    width: 100%;
    max-width: 1100px;
}

.brand-section--gallery .container > .title-wrapper {
    color: var(--main-color);
    font-weight: 700;
    font-size: 3.2rem;
    margin-bottom: 3rem;
}

.with-submenu .brand-section--gallery .container > .title-wrapper {
    text-align: center;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.gallery-wrapper .single-image {
    box-shadow: 0px 2px 4px 0px #00000040;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 3.6rem 10.1rem 3.6rem 0;
}

.gallery-wrapper .single-image > .title-wrapper {
    color: var(--main-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.7rem;
}

.gallery-wrapper .single-image .content-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6.5rem;
}

.gallery-wrapper .single-image .content-wrapper .title-wrapper {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gallery-wrapper .single-image .content-wrapper .image-wrapper {
    width: 266px;
    height: 166px;
}

.gallery-wrapper .single-image .content-wrapper .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.gallery-wrapper .single-image .content-wrapper .before .image-and-blur {
    display: grid;
    width: 266px;
    height: 166px;
}

.gallery-wrapper .single-image .content-wrapper .before .image-and-blur > * {
    grid-area: 1/1/-1/-1;
}

.gallery-wrapper .single-image .content-wrapper .before .image-and-blur .blur {
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #00000080;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-wrapper .single-image .content-wrapper .before .image-and-blur .blur span,
.gallery-wrapper .single-image .content-wrapper .before .image-and-blur .blur button {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
}

.gallery-wrapper .single-image .content-wrapper .before .image-and-blur .blur span {
    margin-bottom: 3.6rem;
}

.gallery-wrapper .single-image .content-wrapper .before .image-and-blur .blur button {
    border: 3px solid #fff;
    padding: 0 1rem;
    min-height: 3.4rem;
}

.gallery-wrapper .single-image .content-wrapper .inner .custom-lines {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* margin-top: 4.4rem; */
    margin-top: 3.6rem;
}

.gallery-wrapper .single-image .content-wrapper .inner .custom-lines li {
    display: flex;
    align-items: center;
}

.gallery-wrapper .single-image .content-wrapper .inner .custom-lines li span {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    border: 2px solid #000;
    display: inline-block;
    margin-left: 1.5rem;
}

.gallery-wrapper .single-image .content-wrapper .inner .custom-lines li {
    font-size: 2rem;
}

.gallery-wrapper .single-image .content-wrapper .button {
    font-size: 2rem;
    background-color: var(--main-color);
    height: 50px;
    width: 122px;
    border-radius: 10px;
    margin-top: 3rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1023px) {
    .gallery-wrapper .single-image {
        padding: 3.6rem;
    }

    .gallery-wrapper .single-image .content-wrapper {
        grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
    }
}

@media (max-width: 500px) {
    .gallery-wrapper .single-image .content-wrapper .before .image-and-blur,
    .gallery-wrapper .single-image .content-wrapper .image-wrapper {
        width: 100%;
    }

    .gallery-wrapper .single-image .content-wrapper .before .image-and-blur .blur span {
        text-align: center;
    }
}