/* Стили для технических характеристик комплекса */

.complex__tech-grid {
    display: block;
    width: 100%;
}

@media print, (min-width: 1280px) {
    .complex__tech-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 100px;
    }
    
    .complex__tech-grid .complex__tech-list {
        columns: auto;
    }
}

.complex__tech {
    margin-bottom: 40px;
}

@media print, (min-width: 1020px) {
    .complex__tech {
        margin-bottom: 20px;
    }
}

.complex__tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media print, (min-width: 768px) {
    .complex__tech-list {
        columns: 2;
        column-gap: 50px;
    }
}

@media print, (min-width: 1020px) {
    .complex__tech-list {
        column-gap: 100px;
    }
}

.complex__tech-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 16px;
    color: #999999;
    border-bottom: 1px solid #DADADA;
    margin-bottom: 20px;
}

.complex__tech-item span:first-child {
    color: #999999;
    padding-right: 15px;
}

.complex__tech-item .value {
    max-width: 60%;
    color: #3C3E44;
    text-align: right;
}

.complex__tech-item .value a,
.complex__tech-item .value .link {
    color: #2761d8;
    text-decoration: none;
}

.complex__tech-item .value a:hover,
.complex__tech-item .value .link:hover {
    text-decoration: underline;
}

.complex__tech-item div.value {
    max-width: 60%;
    color: #3C3E44;
    text-align: right;
}

/* Адаптация для существующего стиля */
.content.choices.choices--nomg {
    margin-bottom: 0;
}

@media print, (min-width: 1020px) {
    .behaviourcomplex .complex__tech {
        margin-bottom: 20px;
    }
}

span.title {
    margin-top: 30px;
    display: block;
    padding: 0 0 15px 0;
    font: 18px Verdana, sans-serif;
    color: #333;
}

.behaviourcomplex .complex__tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media print, (min-width: 768px) {
    .behaviourcomplex .complex__tech-list {
        columns: 2;
        column-gap: 50px;
    }
}

@media print, (min-width: 1020px) {
    .behaviourcomplex .complex__tech-list {
        column-gap: 100px;
    }
}

.behaviourcomplex .complex__tech-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 16px;
    color: #999999;
    border-bottom: 1px solid #DADADA;
    margin-bottom: 20px;
}

.behaviourcomplex .complex__tech-item span:first-child {
    color: #999999;
    padding-right: 15px;
}

.behaviourcomplex .complex__tech-item .value,
.behaviourcomplex .complex__tech-item div.value {
    max-width: 60%;
    color: #3C3E44;
    text-align: right;
}

.behaviourcomplex .complex__tech-item .value a,
.behaviourcomplex .complex__tech-item .value .link,
.behaviourcomplex .complex__tech-item div.value a,
.behaviourcomplex .complex__tech-item div.value .link {
    color: #2761d8;
    text-decoration: none;
}

.behaviourcomplex .complex__tech-item .value a:hover,
.behaviourcomplex .complex__tech-item .value .link:hover,
.behaviourcomplex .complex__tech-item div.value a:hover,
.behaviourcomplex .complex__tech-item div.value .link:hover {
    text-decoration: underline;
}
