/* Дополнения для блоков, которые наполняются из админки (картинки вместо inline-SVG, видео, карта). */
.icon img { width: 48px; height: 48px; display: block; object-fit: contain; }
.infra-card .icon img { width: 40px; height: 40px; }
.spec-card > img { width: 48px; height: 48px; display: block; object-fit: contain; margin-bottom: 32px; }
.advantage-item > img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
.payment-terms ul { list-style: none; margin: 0; padding: 0; }
.payment-terms li { margin: 0 0 .5em; }
.spec-card p :is(p, ul) { margin: 0; }
.company-story :is(p, ul) { margin-bottom: 1em; }
.contact-map iframe { display: block; width: 100%; height: 392px; border: 0; }
.video { cursor: pointer; }
.video.is-playing { cursor: auto; }
.video iframe, .gallery-preview.is-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-preview.is-playing { cursor: auto; }
.gallery-photo { cursor: default; }
.gallery-photo:hover img { transform: none; }
.form-flash { margin: 0; }
.social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.social-embed { min-width: 0; width: 100%; }
.social-embed .instagram-media { width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; box-sizing: border-box; }
.social-embed blockquote { padding: 20px; border: 1px solid var(--border); background: var(--surface, #fff); border-radius: 12px; }
.social-embed blockquote a { overflow-wrap: anywhere; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom .footer-credit { font-size: 13px; color: var(--muted); }
.footer-credit span { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit:hover { color: var(--accent); }
@media (max-width: 1439px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .social-grid { grid-template-columns: minmax(0, 1fr); } }
