/* Блок с картинкой и текстом справа */
.danit-image-text-block {
    /* cel-paragraf */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 40px;
    
    width: 100%;
    min-height: 266px;
    
    margin: 40px 0;
}

/* Контейнер изображения */
.danit-image-text-image {
    /* img-2-cell */
    width: 50%;
    flex: 0 0 calc(50% - 20px); /* 50% минус половина gap */
    min-height: 266px;
    max-height: 400px;
    
    border-radius: 24px;
    
    order: 0;
    
    overflow: hidden;
    position: relative;
}

.danit-image-text-image img {
    /* image 52 */
    width: 100%;
    height: 100%;
    min-height: 266px;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Контейнер текста */
.danit-image-text-content {
    /* paragraf */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    
    width: 50%;
    flex: 0 0 calc(50% - 20px); /* 50% минус половина gap */
    min-height: 166px;
    
    order: 1;
}

/* Заголовок */
.danit-image-text-title {
    width: 100%;
    
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px !important;
    line-height: 120%;
    letter-spacing: -0.02em;
    font-feature-settings: 'tnum' on, 'lnum' on;
    
    color: #2B2B2B;
    
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    
    margin: 0;
}

/* Текст */
.danit-image-text-text {
    width: 100%;
    
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 145%;
    
    color: #000000;
    
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    
    margin: 0;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .danit-image-text-block {
        gap: 30px;
    }
    
    .danit-image-text-image {
        flex: 0 0 calc(50% - 15px); /* 50% минус половина gap */
        min-height: 220px;
    }
    
    .danit-image-text-image img {
        min-height: 220px;
    }
    
    .danit-image-text-content {
        flex: 0 0 calc(50% - 15px); /* 50% минус половина gap */
    }
    
    .danit-image-text-title {
        font-size: 20px !important;
    }
    
    .danit-image-text-text {
        font-size: 15px !important;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .danit-image-text-block {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .danit-image-text-image {
        width: 100%;
        flex: 0 0 auto;
        min-height: 200px;
    }
    
    .danit-image-text-image img {
        min-height: 200px;
        max-height: 300px;
    }
    
    .danit-image-text-content {
        width: 100%;
        flex: 0 0 auto;
        gap: 12px;
    }
    
    .danit-image-text-title {
        font-size: 20px;
    }
    
    .danit-image-text-text {
        font-size: 14px;
        line-height: 150%;
    }
}

@media (max-width: 480px) {
    .danit-image-text-block {
        margin: 30px 0;
    }
    
    .danit-image-text-title {
        font-size: 18px;
    }
    
    .danit-image-text-text {
        font-size: 14px;
    }
}

