#center-col {
    min-width: 0;
}

/* ГИБКИЕ ИЗОБРАЖЕНИЯ И ТАБЛИЦЫ */
.component-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.component-content table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.component-content iframe,
.component-content video {
    max-width: 100%;
    height: auto;
}

.component-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.component-content h1,
.component-content h2,
.component-content h3,
.component-content h4,
.component-content h5,
.component-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    word-wrap: break-word;
}

.component-content ul,
.component-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.component-content li {
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

/* АДАПТИВНОСТЬ ДЛЯ КОНТЕНТА */
@media (max-width: 768px) {
    .component-content h1 {
        font-size: 1.5rem;
    }
    
    .component-content h2 {
        font-size: 1.3rem;
    }
    
    .component-content h3 {
        font-size: 1.1rem;
    }
    
    .component-content ul,
    .component-content ol {
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .component-content h1 {
        font-size: 1.3rem;
    }
    
    .component-content h2 {
        font-size: 1.2rem;
    }
    
    .component-content h3 {
        font-size: 1.1rem;
    }
}

/* ДЛЯ ШИРОКИХ ЭКРАНОВ - увеличиваем читаемость */
@media (min-width: 1400px) {
    .component-content {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .component-content p {
        margin-bottom: 1.2rem;
    }
}

@media (min-width: 1800px) {
    .component-content {
        font-size: 17px;
        line-height: 1.8;
    }
    
    .component-content p {
        margin-bottom: 1.4rem;
    }
}