/* Страница контейнера (containe-single.php). Основа — оформление услуг (css/services.css: body получает
   класс page-template-services-page) и карточки контейнеров (css/containers.css). Здесь — то, чего у услуг нет. */

/* характеристики и цена под заголовком */
.ctp .ctp-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0 4px !important; padding: 0 !important; list-style: none !important;
}
.ctp .ctp-facts li {
  display: flex; flex-direction: column; gap: 2px; margin: 0 !important; padding: 10px 14px !important; list-style: none !important;
  border-radius: 14px; background: #f4f8f3;
}
.ctp .ctp-facts li::before { content: none !important; display: none !important; }
.ctp .ctp-facts span { font-size: 13px; line-height: 1.3; color: var(--sv-muted); }
.ctp .ctp-facts b { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--sv-text); white-space: nowrap; }
.ctp .ctp-facts .ctp-facts__price { background: var(--sv-green-soft); }
.ctp .ctp-facts .ctp-facts__price b { font-size: 22px; color: var(--sv-green-dark); }
@media (min-width: 768px) {
  .ctp .ctp-facts { grid-template-columns: repeat(4, max-content); gap: 10px; }
  .ctp .ctp-facts li { min-width: 150px; }
}

/* фото контейнера: по центру колонки, не выше формы */
.ctp .ctp-photo { margin: 30px 0 0 !important; }
.ctp .ctp-photo img { display: block; width: 100%; max-width: 680px; height: auto; margin: 0 auto; }

/* текст записи — в удобную ширину строки, как на услугах */
.ctp .container.ctp-text { margin-top: 20px !important; }
.ctp .ctp-text .wpb_text_column { max-width: 900px; }

/* цены */
.ctp .container.ctp-prices { margin-top: 48px !important; }
.page-template-services-page #wpb-content-root > .vc_section.ctp-prices h2.pt-title { margin: 0 0 18px !important; font-size: 30px; }

/* другие контейнеры */
.ctp .container.ctp-others { margin-top: 60px !important; margin-bottom: 0 !important; }
.ctp h2.ctp-others__title { margin: 0 0 18px !important; font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--sv-text); }
.ctp .ctp-others .ct--embed { margin: 0; }
.ctp-others__all { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--sv-green-dark) !important; text-decoration: none !important; }
.ctp-others__all::after { content: " →"; }
.ctp-others__all:hover { text-decoration: underline !important; }
.ctp .container.cb { margin-top: 60px !important; }

@media (max-width: 767px) {
  .ctp .ctp-facts b { font-size: 16px; }
  .ctp .ctp-facts .ctp-facts__price b { font-size: 20px; }
  .ctp .ctp-photo { margin-top: 0 !important; }
  .ctp .container.ctp-prices { margin-top: 36px !important; }
  .page-template-services-page #wpb-content-root > .vc_section.ctp-prices h2.pt-title,
  .ctp h2.ctp-others__title { font-size: 24px; }
  .ctp .container.ctp-others, .ctp .container.cb { margin-top: 44px !important; }
}
