/*
 * Дополнительные стили: то, что не вошло в style.css
 * (style.css нужен WordPress как заголовок темы, здесь — остальное).
 */

/* Логотип из «Настроить» */
.custom-logo {
  max-height: 44px;
  width: auto;
}

/* Разделитель в контактах */
.tp-sep {
  color: rgba(255, 255, 255, 0.2);
  padding: 0 4px;
}

/* Заголовки секций с отбивкой */
.tp-section h2 + .tp-lead {
  margin-top: -6px;
}

/* Сетка главной: карточки «что входит в расчёт» */
.tp-grid--4 .tp-card__body h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

/* Галерея работ: подгонка миниатюр */
.tp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Админка: таблица состояния изображений */
#tp-status table code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Блок конструктора — тонкая подгонка на мобильных */
@media (max-width: 600px) {
  .tp-constructor__bar {
    font-size: 12px;
    gap: 6px;
  }
  .tp-constructor__bar > span:first-child b {
    display: block;
  }
}

/* Печать: смета конструктора, без каркаса темы */
@media print {
  .tp-header,
  .tp-footer,
  .tp-hero,
  .tp-constructor__bar,
  .tp-section--alt {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .tp-content,
  .tp-card {
    background: #fff !important;
    border-color: #ccc !important;
  }
}
