.complex-horizontal-list{
	display: flex;
	flex-direction: column;
}
.info-and-map{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}
.horizontal-complex-info-block{
	flex: 1;
    margin-left: 30px;
}
.horizontal-catalog-map-container{
	height: 100px;
    width: 100px;
    box-shadow: inset 0px 1px 20px 20px rgba(0, 0, 0, 0.1);
}
.horizontal-map {
    min-height: 10%;
    width: 10%;
}
.horizontal-map-container{
	margin-top: 2vh;
	margin-left: 4vh;
	height: 30vh;
    width: 30vh;
    box-shadow: inset 0px 1px 20px 20px rgba(0, 0, 0, 0.1);
}
.horizontal-map{
	width: 200px;
	height: 200px;
}
.title-and-map{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.horizontal-map-title{
	font-size: 24px;
    font-weight: bold;
    display: inline-block;
}
.complex-gallery-section:hover{
    transform: scale(1.01); /* Увеличение на 5% */
    z-index: 2; /* Поднимаем элемент над остальными */ 
}
.horizontal-specs-grid{
	display: grid;
    margin-left: 2vh;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.complex-link{
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
    user-select: none;
}
.horizontal{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    justify-content: center;

}

/* Мобильные устройства (до 600px) */
@media (max-width: 600px) {
    .info-and-map {
        flex-direction: column;
    }

    .horizontal-complex-info-block {
        margin-left: 0;
        margin-top: 20px;
    }

    .horizontal-map-container {
        width: 100%;
        height: 40vh;
        margin-left: 0;
    }

    .horizontal-map {
        width: 100%;
        height: auto;
    }

    .horizontal-specs-grid {
        grid-template-columns: repeat(1, 1fr);
        margin: 0;
    }

    .horizontal-map-title {
        font-size: 18px;
        text-align: center;
    }
}

/* Планшеты (от 601px до 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .info-and-map {
        flex-direction: column;
    }

    .horizontal-complex-info-block {
        margin-left: 0;
        margin-top: 20px;
    }

    .horizontal-map-container {
        width: 80%;
        height: 35vh;
        margin-left: auto;
        margin-right: auto;
    }

    .horizontal-map {
        width: 100%;
        height: auto;
    }

    .horizontal-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .horizontal-map-title {
        font-size: 20px;
    }
}

/* Десктопы (от 1025px и выше) */
@media (min-width: 1025px) {
    .info-and-map {
        flex-direction: row;
    }

    .horizontal-complex-info-block {
        margin-left: 30px;
    }

    .horizontal-map-container {
        width: 30vh;
        height: 30vh;
        margin-left: 4vh;
    }

    .horizontal-map {
        width: 200px;
        height: 200px;
    }

    .horizontal-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .horizontal-map-title {
        font-size: 24px;
    }
}
