/* Основна структура */
.main-layout { display: flex !important; flex-wrap: wrap !important; align-items: flex-start !important; gap: 40px !important; max-width: 1200px !important; margin: 0 auto !important; padding: 20px !important; }
.content-side { flex: 1 1 800px !important; min-width: 300px !important; }
.sidebar { flex: 0 0 300px !important; width: 300px !important; }

/* Блок контактів */
.sidebar-contacts { background: #ffffff !important; padding: 25px !important; border-radius: 12px !important; border: 2px solid #27ae60 !important; box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; margin-bottom: 25px !important; }
.sidebar-contacts h3 { margin-top: 0 !important; font-size: 20px !important; border-bottom: 2px solid #27ae60 !important; padding-bottom: 10px !important; }
.phone-link { display: block !important; font-size: 24px !important; font-weight: 900 !important; color: #27ae60 !important; text-decoration: none !important; margin-bottom: 10px !important; }

/* Адаптивність */
@media (max-width: 900px) {
    .main-layout { flex-direction: column !important; }
    .sidebar { width: 100% !important; }
}

<style>
    /* 1. Ограничиваем все изображения внутри контента */
    .entry-content img {
        max-width: 100% !important; /* Картинка никогда не будет шире блока */
        height: auto !important;    /* Сохраняет пропорции */
        display: block;             /* Убирает лишние отступы */
        margin: 15px auto;          /* Выравнивает по центру */
    }

    /* 2. Заставляем длинный текст и слова переноситься */
    .entry-content {
        word-wrap: break-word;      /* Перенос длинных слов */
        word-break: break-word;     /* Для безопасности на разных браузерах */
        overflow-wrap: break-word;  /* Стандартный перенос */
    }

    /* 3. Ограничиваем размер заголовков на мобильных */
    @media (max-width: 600px) {
        .entry-title {
            font-size: 1.4rem !important; /* Уменьшаем заголовок на телефонах */
            line-height: 1.3 !important;
        }
        .entry-content {
            font-size: 16px !important;  /* Комфортный размер текста */
        }
    }
</style>