/* Исправления вёрстки по проверке 25.11.2026 (подключается после стилей темы, оба языка) */

/* FAQ и простые страницы (section.page-home): H1 налезал на вступление, вступление и оглавление без стилей */
.page-home .home-content { padding-bottom: clamp(24px, 2.5vw, 36px); }
.page-home .home-content .caption h1 { line-height: 1.05; }
.page-home .home-wrap > .text { max-width: 920px; margin: 0 0 20px; color: var(--color-black); font-size: 16px; line-height: 1.6; }
.page-home .home-wrap > .text p { margin: 0 0 10px; }
.page-home .home-wrap > .text ul.block-content { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; font-weight: 600; }
.page-home .home-wrap > .text ul.block-content li { display: block; margin: 0; font-size: 14px; list-style: none; }
.page-home .home-wrap > .text ul.block-content li::before { content: none; }
.page-home .home-wrap > .text ul.block-content li a { display: inline-block; padding: 8px 14px; border: 1px solid var(--color-light-gray, #DFE2E9); border-radius: 20px; color: var(--color-black); text-decoration: none; transition: color .3s, border-color .3s; }
.page-home .home-wrap > .text ul.block-content li a:hover { border-color: var(--color-blue); color: var(--color-blue); }

/* Аккордеон FAQ: «+» не налезает на длинный вопрос */
.accordion-header { padding-right: 48px !important; }

/* Картинки в текстовых блоках услуг (Air Freight и др.) не шире экрана */
.detail-text-content img, .caption-description img { max-width: 100%; height: auto; }
@media (max-width: 767px) {
    .detail-text-content img.alignright, .caption-description img.alignright { float: none; display: block; margin: 16px 0 0; }
    .detail-text-content ul, .caption-description ul { margin-left: 18px !important; margin-right: 0 !important; }
}

/* Галереи логотипов (Clients and Partners): по ширине экрана, на телефоне 2 в ряд */
.gallery .gallery-item img { max-width: calc(100% - 8px); height: auto; }
@media (max-width: 767px) {
    .gallery .gallery-item { width: 50% !important; }
}
