/* Хабы бренда и серии (2026-11-29, docs/hubs-2026-11/mockups): сетка серий, типы ссылками, пилот первого экрана.
   Подключается в header.php только на is_tax('catalog') и is_tax('product-tag'). */

/* Серии бренда сеткой */
.hub-series{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hub-hero .hub-series{grid-template-columns:repeat(3,1fr)}
.hub-s-card{border:1px solid #e3e8ef;border-radius:6px;padding:14px;display:flex;flex-direction:column;gap:6px;min-width:0}
.hub-s-ph{display:flex;align-items:center;justify-content:center;height:120px;margin-bottom:4px}
.hub-s-ph img{max-height:120px;max-width:100%;width:auto;height:auto}
.hub-s-name{font-size:18px;font-weight:700;line-height:1.25}
.hub-s-type{font-size:14px;color:#5f6b7a;line-height:1.3}
.hub-s-nums{font-size:15px;color:#3a4658;line-height:1.4}
.hub-s-an{font-size:14px;color:#5f6b7a;border-top:1px solid #e3e8ef;padding-top:8px;margin-top:auto}
.hub-s-an a{font-weight:700}
.hub-series-more{margin-top:12px}
.hub-series-more summary{cursor:pointer;color:#326ab6;font-size:17px;padding:6px 0;margin-bottom:6px}

/* Типы насосов бренда ссылками */
.hub-chips{display:flex;flex-wrap:wrap;gap:8px}
.hub-chip{border:1px solid #e3e8ef;border-radius:20px;padding:8px 16px;font-size:16px;line-height:1.3;background:#fff}
.hub-chip:hover{border-color:#326ab6}

/* Пилот: первый экран бренда */
.hub-lead{color:#3a4658;margin:16px 0}
.hub-lead p{margin:0}
.hub-facts{display:flex;flex-wrap:wrap;gap:8px}
.hub-fact{background:#eef3fa;border-radius:4px;padding:6px 12px;font-size:15px;color:#3a4658}
.hub-fact b{color:#1a2433}
.hub-hero>.bl-deck-8>.plitka_ct{margin-bottom:10px}
.hub-logo .img_single_ct{height:150px;display:flex;align-items:center;justify-content:center;border:1px solid #e3e8ef;border-radius:6px;background:#fff;padding:20px}
.hub-logo .img_single_ct img{max-height:100%;max-width:70%;width:auto;height:auto}
.hub-hero .sidebar{align-self:flex-start}

/* Пилот: первый экран серии */
.hub-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}
.hub-tile{background:#eef3fa;border-radius:6px;padding:12px 14px}
.hub-tile span{display:block;font-size:13px;color:#5f6b7a}
.hub-tile b{font-size:20px;color:#1a2433;white-space:nowrap}
.hub-hero #series-summary{color:#3a4658}
.hub-hero #series-summary h2{font-size:22px}
.hub-photo{display:flex;align-items:center;justify-content:center;height:280px}
.hub-photo img{max-height:240px;max-width:100%;width:auto;height:auto}
.hub-side .formcbzak{width:100%}

/* Пилот: описание ниже каталога */
.hub-about{color:#3a4658}
.hub-video{float:right;width:46%;margin:0 0 16px 24px}

@media (max-width:1169px){
  .hub-series{grid-template-columns:repeat(3,1fr)}
  .hub-hero .hub-series{grid-template-columns:repeat(2,1fr)}
  .hub-tiles{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
  .hub-series,.hub-hero .hub-series{grid-template-columns:1fr}
  .hub-s-card{display:grid;grid-template-columns:72px 1fr;gap:3px 12px;padding:12px}
  .hub-s-ph{grid-row:span 4;height:96px;margin:0}
  .hub-s-ph img{max-height:96px}
  .hub-s-card>*:not(.hub-s-ph){grid-column:2}
  .hub-tile b{font-size:17px;white-space:normal}
  .hub-logo .img_single_ct{height:110px}
  .hub-photo{height:220px}
  .hub-video{float:none;width:auto;margin:0 0 16px}
}
