/**
 * Современные SVG-иконки Mogilev24 (вместо emoji в контенте).
 */

body.site-mogilev .mg24-modern-ico,
body.site-mogilev .mg24-anchor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  vertical-align: middle;
}

body.site-mogilev .mg24-ico-svg,
body.site-mogilev .b24-icon.mg24-ico-svg {
  display: block;
  width: 1em;
  height: 1em;
}

body.site-mogilev .mg24-anchor-btn {
  gap: 8px;
}

body.site-mogilev .mg24-anchor-icon {
  color: #4ade80;
}

body.site-mogilev .mg24-anchor-icon .mg24-ico-svg {
  width: 18px;
  height: 18px;
}

body.site-mogilev .mg24-anchor-label {
  flex-shrink: 0;
}

body.site-mogilev .mg24-verified-tag {
  gap: 8px;
}

body.site-mogilev .mg24-modern-ico--verified {
  color: #16a34a;
}

body.site-mogilev .mg24-modern-ico--verified .mg24-ico-svg {
  width: 16px;
  height: 16px;
}

body.site-mogilev .mg24-card-title,
body.site-mogilev .mg24-promo-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.site-mogilev .mg24-modern-ico--title {
  color: #0ea5e9;
}

body.site-mogilev .mg24-modern-ico--title .mg24-ico-svg {
  width: 18px;
  height: 18px;
}

body.site-mogilev .mg24-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.site-mogilev .mg24-modern-ico--promo {
  color: inherit;
}

body.site-mogilev .mg24-modern-ico--promo .mg24-ico-svg {
  width: 15px;
  height: 15px;
}

body.site-mogilev .mg24-payment-icons span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.site-mogilev .mg24-modern-ico--pay {
  color: #0f172a;
}

body.site-mogilev .mg24-modern-ico--pay .mg24-ico-svg {
  width: 14px;
  height: 14px;
}

body.site-mogilev .mg24-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
}

body.site-mogilev .mg24-modern-ico--alert .mg24-ico-svg {
  width: 22px;
  height: 22px;
}

body.site-mogilev .mg24-calc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.site-mogilev .mg24-modern-ico--calc .mg24-ico-svg {
  width: 18px;
  height: 18px;
}

body.site-mogilev .mg24-adv-item strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.site-mogilev .mg24-modern-ico--adv {
  color: #0ea5e9;
}

body.site-mogilev .mg24-modern-ico--adv .mg24-ico-svg {
  width: 18px;
  height: 18px;
}

body.site-mogilev .mg24-modern-ico--inline {
  color: currentColor;
  margin-right: 4px;
}

body.site-mogilev .mg24-modern-ico--inline .mg24-ico-svg {
  width: 18px;
  height: 18px;
}

/* SVG-мессенджеры в шапке / футере / FAB / контенте */
body.site-mogilev .mg24-social-item.mg24-social-item--viber,
body.site-mogilev .mg24-social-item.mg24-social-item--telegram,
body.site-mogilev .mg24-social-item.mg24-social-item--whatsapp,
body.site-mogilev .mg24-social-item.mg24-social-item--instagram,
body.site-mogilev .mg24-social-item.mg24-social-item--vk,
body.site-mogilev .mg24-social-item.mg24-social-item--tiktok,
body.site-bobrujsk .mg24-social-item.mg24-social-item--viber,
body.site-bobrujsk .mg24-social-item.mg24-social-item--telegram,
body.site-bobrujsk .mg24-social-item.mg24-social-item--whatsapp,
body.site-bobrujsk .mg24-social-item.mg24-social-item--instagram,
body.site-bobrujsk .mg24-social-item.mg24-social-item--vk,
body.site-bobrujsk .mg24-social-item.mg24-social-item--tiktok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease;
  color: #fff;
}

body.site-mogilev .mg24-social-item[class*="mg24-social-item--"] svg,
body.site-bobrujsk .mg24-social-item[class*="mg24-social-item--"] svg {
  width: 24px;
  height: 24px;
  display: block;
}

body.site-mogilev .mg24-social-item[class*="mg24-social-item--"]:hover,
body.site-bobrujsk .mg24-social-item[class*="mg24-social-item--"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

body.site-mogilev .mg24-social-item--viber,
body.site-bobrujsk .mg24-social-item--viber { background: #7360f2; }
body.site-mogilev .mg24-social-item--telegram,
body.site-bobrujsk .mg24-social-item--telegram { background: #2aabee; }
body.site-mogilev .mg24-social-item--whatsapp,
body.site-bobrujsk .mg24-social-item--whatsapp { background: #25d366; }
body.site-mogilev .mg24-social-item--instagram,
body.site-bobrujsk .mg24-social-item--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
}
body.site-mogilev .mg24-social-item--vk,
body.site-bobrujsk .mg24-social-item--vk { background: #0077ff; }
body.site-mogilev .mg24-social-item--tiktok,
body.site-bobrujsk .mg24-social-item--tiktok { background: #111; }

body.site-mogilev .mg24-social-item--footer,
body.site-mogilev .mg24-social-item--header,
body.site-bobrujsk .mg24-social-item--footer,
body.site-bobrujsk .mg24-social-item--header {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

body.site-mogilev .mg24-social-item--footer svg,
body.site-mogilev .mg24-social-item--header svg,
body.site-bobrujsk .mg24-social-item--footer svg,
body.site-bobrujsk .mg24-social-item--header svg {
  width: 20px;
  height: 20px;
}

body.site-mogilev .footer-socials--mg24,
body.site-mogilev .header-mobile-socials--mg24,
body.site-bobrujsk .footer-socials--mg24,
body.site-bobrujsk .header-mobile-socials--mg24 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.site-mogilev .header-mobile-socials--mg24,
body.site-bobrujsk .header-mobile-socials--mg24 {
  justify-content: center;
  margin-top: 16px;
}

body.site-mogilev .mg24-social-item--fab,
body.site-bobrujsk .mg24-social-item--fab {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

body.site-mogilev .mg24-social-item--fab svg,
body.site-bobrujsk .mg24-social-item--fab svg {
  width: 20px;
  height: 20px;
}

body.site-mogilev .service-contact-messenger--mg24,
body.site-bobrujsk .service-contact-messenger--mg24 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.site-mogilev .service-contact-messenger--mg24 img,
body.site-bobrujsk .service-contact-messenger--mg24 img {
  display: none;
}

/* Контент B24: SVG вместо emoji на Bobrujsk24 */
body.site-bobrujsk .b24-anchor-icon,
body.site-bobrujsk .pay-tag-icon,
body.site-bobrujsk .b24-promo-icon,
body.site-bobrujsk .b24-badge-icon,
body.site-bobrujsk .b24-title-icon,
body.site-bobrujsk .b24-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  vertical-align: middle;
}

body.site-bobrujsk .b24-lp-anchor-btn {
  gap: 8px;
}

body.site-bobrujsk .b24-anchor-icon {
  color: #4ade80;
}

body.site-bobrujsk .pay-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.site-bobrujsk .pay-tag-icon {
  color: #22c55e;
}

body.site-bobrujsk .b24-v2-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.site-bobrujsk .b24-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.site-bobrujsk .b24-badge-icon {
  color: #16a34a;
}

body.site-bobrujsk .b24-title-icon {
  color: #0ea5e9;
  margin-right: 8px;
}

body.site-bobrujsk h3 .b24-title-icon,
body.site-bobrujsk h2 .b24-title-icon {
  vertical-align: -3px;
}

body.site-bobrujsk .b24-notice-icon {
  color: #d97706;
}

body.site-bobrujsk .b24-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.site-bobrujsk .b24-social-item.mg24-social-item,
body.site-bobrujsk a.b24-social-item.mg24-social-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
}

body.site-bobrujsk .b24-social-item.mg24-social-item svg {
  display: block !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* === Minsk100: SVG-мессенджеры + modern icons === */
body.site-minsk .mg24-social-item.mg24-social-item--viber,
body.site-minsk .mg24-social-item.mg24-social-item--telegram,
body.site-minsk .mg24-social-item.mg24-social-item--whatsapp,
body.site-minsk .mg24-social-item.mg24-social-item--instagram,
body.site-minsk .mg24-social-item.mg24-social-item--vk,
body.site-minsk .mg24-social-item.mg24-social-item--tiktok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease;
  color: #fff;
  line-height: 0;
}

body.site-minsk .mg24-social-item[class*="mg24-social-item--"] svg {
  width: 24px;
  height: 24px;
  display: block;
}

body.site-minsk .mg24-social-item[class*="mg24-social-item--"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

body.site-minsk .mg24-social-item--viber { background: #7360f2; }
body.site-minsk .mg24-social-item--telegram { background: #2aabee; }
body.site-minsk .mg24-social-item--whatsapp { background: #25d366; }
body.site-minsk .mg24-social-item--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
}
body.site-minsk .mg24-social-item--vk { background: #0077ff; }
body.site-minsk .mg24-social-item--tiktok { background: #111; }

body.site-minsk .mg24-social-item--footer,
body.site-minsk .mg24-social-item--header {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

body.site-minsk .mg24-social-item--footer svg,
body.site-minsk .mg24-social-item--header svg {
  width: 20px;
  height: 20px;
}

body.site-minsk .footer-socials--mg24,
body.site-minsk .header-mobile-socials--mg24 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.site-minsk .header-mobile-socials--mg24 {
  justify-content: center;
  margin-top: 16px;
}

body.site-minsk .mg24-social-item--fab {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

body.site-minsk .mg24-social-item--fab svg {
  width: 20px;
  height: 20px;
}

body.site-minsk .service-contact-messenger--mg24 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.site-minsk .msk100-social-item.mg24-social-item img {
  display: none;
}

body.site-minsk .msk-consult-icons .msk100-social-grid {
  justify-content: center !important;
}

body.site-minsk .msk-consult-icons .mg24-social-item {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
}

body.site-minsk .msk-consult-icons .mg24-social-item svg {
  width: 28px !important;
  height: 28px !important;
}

body.site-minsk .msk-modern-ico,
body.site-minsk .msk-anchor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  vertical-align: middle;
}

body.site-minsk .msk-ico-svg,
body.site-minsk .b24-icon.msk-ico-svg {
  display: block;
  width: 1em;
  height: 1em;
}

body.site-minsk .msk-anchor-btn {
  gap: 8px;
}

body.site-minsk .msk-anchor-icon {
  color: #4ade80;
}

body.site-minsk .msk-anchor-icon .msk-ico-svg {
  width: 18px;
  height: 18px;
}

body.site-minsk .msk-verified-tag {
  gap: 8px;
}

body.site-minsk .msk-modern-ico--verified {
  color: #16a34a;
}

body.site-minsk .msk-modern-ico--verified .msk-ico-svg {
  width: 16px;
  height: 16px;
}

body.site-minsk .msk-card-title,
body.site-minsk .msk-promo-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.site-minsk .msk-modern-ico--title {
  color: #0ea5e9;
}

body.site-minsk .msk-modern-ico--title .msk-ico-svg {
  width: 18px;
  height: 18px;
}

body.site-minsk .msk-payment-icons span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.site-minsk .msk-modern-ico--pay {
  color: #0f172a;
}

body.site-minsk .msk-modern-ico--pay .msk-ico-svg {
  width: 14px;
  height: 14px;
}

body.site-minsk .msk-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
}

body.site-minsk .msk-modern-ico--alert .msk-ico-svg {
  width: 22px;
  height: 22px;
}

/* Мобильные боковые отступы FAQ / отзывы / related (после SEO) */
@media (max-width: 768px) {
  body.site-mogilev.service-page .mg24-faq-section,
  body.site-mogilev.service-page .mg24-reviews-section,
  body.site-mogilev.service-page .b24-related-section,
  body.site-mogilev.service-page .mg24-works-seo,
  body.site-mogilev.service-page .mg24-prices-pro,
  body.site-mogilev.service-page .mg24-consult-section,
  body.site-mogilev.service-page .mg24-info-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  body.site-mogilev.service-page .mg24-faq-section .mg24-hero-container,
  body.site-mogilev.service-page .mg24-reviews-section .mg24-hero-container,
  body.site-mogilev.service-page .mg24-works-seo .mg24-hero-container,
  body.site-mogilev.service-page .mg24-prices-pro .mg24-hero-container,
  body.site-mogilev.service-page .mg24-consult-section .mg24-hero-container,
  body.site-mogilev.service-page .mg24-info-section .mg24-hero-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.site-mogilev.service-page .b24-related-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.site-minsk.service-page .msk-faq-section,
  body.site-minsk.service-page .msk-reviews-section,
  body.site-minsk.service-page .msk-works-seo,
  body.site-minsk.service-page .msk-consult-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  body.site-minsk.service-page .msk-faq-head {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.site-minsk.service-page .msk-faq-text {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
