/* Стили для технических характеристик комплекса */
.complex__breads {
    margin-bottom: 2rem;
}

@media (max-width: 1019px) {
    .complex__breads--lg {
        display: none;
    }
}

@media print, (min-width: 1020px) {
    .complex__breads--xs {
        display: none;
    }
}

.complex__main-wrp {
    padding-bottom: 2rem;
}

@media print, (min-width: 1020px) {
    .complex__main-wrp {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 18rem;
        grid-gap: 1rem;
    }
}

.complex__header-block {
    font-size: 2.2rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 2rem;
}

@media print, (min-width: 1020px) {
    .complex__header-block {
        font-size: 3.2rem;
        font-weight: 700;
    }
}

/* Адаптация для существующего стиля */
.behaviourcomplex .complex__tech-grid {
    margin: 0;
    display: block;
    width: 100%;
}

@media print, (min-width: 768px) {
    .behaviourcomplex .complex__tech-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
        row-gap: 2rem;
    }
}

@media print, (min-width: 1020px) {
    .behaviourcomplex .complex__tech-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 4rem;
    }
}

.behaviourcomplex .complex__tech {
    margin-bottom: 0;
    break-inside: avoid;
    page-break-inside: avoid;
}

@media print, (min-width: 768px) {
    .behaviourcomplex .complex__tech {
        margin-bottom: 2rem;
    }
}

.behaviourcomplex .complex__tech:last-child {
    margin-bottom: 0;
}

.behaviourcomplex .complex__tech-header {
    font: 18px Verdana, sans-serif;
    color: #333;
    margin: 0 0 15px 0;
    padding: 0;
    font-weight: bold;
}

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

.behaviourcomplex .complex__tech-item {
    display: table;
    width: 100%;
    line-height: 23px;
    margin-bottom: 8px;
    font: 14px Arial, sans-serif;
    border-bottom: none;
    page-break-inside: avoid;
}

.behaviourcomplex .complex__tech-item .tech-label {
    display: table-cell;
    color: #656565;
    padding-right: 15px;
    white-space: nowrap;
    vertical-align: top;
    width: 1%;
}

.behaviourcomplex .complex__tech-item .value {
    display: table-cell;
    color: #333;
    text-align: right;
    vertical-align: top;
    padding-left: 10px;
}

.behaviourcomplex .complex__tech-item .value a {
    color: #2761d8;
    text-decoration: none;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

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