/* GP: хаб «Газоанализаторы», 30.09.2026. Из _src/content.py (CSS), без правил макета. */
.gpc .gphub-sec{margin-bottom:40px}
.gpc .gphub-sec--after{margin-bottom:0;margin-top:48px}
/* плитки типов */
.gpc .gphub-types__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.86fr);
  gap:10px;align-items:stretch}
.gpc .gphub-types__side{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:10px}
.gpc .gphub-type{position:relative;background:var(--card);border-radius:var(--r);box-shadow:var(--sh-1);
  padding:16px 18px 18px;display:flex;flex-direction:column;gap:14px;
  transition:box-shadow var(--fast) var(--ease)}
.gpc .gphub-type:hover{box-shadow:var(--sh-2)}
.gpc .gphub-type__head{display:flex;align-items:center;gap:14px;color:var(--ink)}
.gpc .gphub-type__img{width:64px;height:64px;flex:0 0 64px;border-radius:var(--r-s);background:#fff;
  box-shadow:inset 0 0 0 1px var(--line-2);display:flex;align-items:center;justify-content:center;
  overflow:hidden}
.gpc .gphub-type__img img{width:100%;height:100%;object-fit:contain}
.gpc .gphub-type__t{display:flex;flex-direction:column;gap:4px;min-width:0}
.gpc .gphub-type__n{font-size:var(--t-xl);line-height:1.3;font-weight:500;letter-spacing:-.01em;
  transition:color var(--fast) var(--ease)}
.gpc .gphub-type__head:hover .gphub-type__n{color:var(--blue-d)}
.gpc .gphub-type__d{font-size:var(--t-sm);line-height:1.45;color:var(--muted-2)}
.gpc .gphub-type__subs{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.gpc .gphub-pill{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;
  background:var(--soft);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);
  font-size:var(--t-sm);line-height:1.3;
  transition:color var(--fast) var(--ease),box-shadow var(--fast) var(--ease),background var(--fast) var(--ease)}
.gpc .gphub-pill:hover{color:var(--blue-d);background:#fff;box-shadow:inset 0 0 0 1px var(--line-3)}
.gpc .gphub-type--sm{padding:12px 14px;justify-content:center}
.gpc .gphub-type--sm .gphub-type__img{width:44px;height:44px;flex-basis:44px}
.gpc .gphub-type--sm .gphub-type__n{font-size:var(--t-md)}
.gpc .gphub-type--sm .gphub-type__d{font-size:var(--t-xs);line-height:1.35}
/* подбор по газу */
.gpc .gphub-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.gpc .gphub-chip{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:999px;
  background:var(--card);box-shadow:var(--sh-1);color:var(--ink);font-size:var(--t-md);line-height:1.2;
  font-weight:500;transition:box-shadow var(--fast) var(--ease),color var(--fast) var(--ease)}
.gpc .gphub-chip i{font-style:normal;font-weight:400;color:var(--muted-2)}
.gpc .gphub-chip:hover{box-shadow:var(--sh-2);color:var(--blue-d)}
.gpc .gphub-chip--page{background:var(--blue-l);box-shadow:inset 0 0 0 1px #d3defb}
.gpc .gphub-chip--page i{color:var(--blue-d)}
.gpc .gphub-chip__ic{width:14px;height:14px;flex:none;fill:none;stroke:var(--muted-3);stroke-width:2}
/* подбор по объекту — блок левой колонки под каталогом; шапка тёмно-синяя, как у .gc-cats__h.
   .gc-side на странице — обычный блок (gap не работает), поэтому отступ сверху свой:
   14 px, как под баннером колонки */
.gpc .gphub-rail{margin-top:14px;background:var(--card);border-radius:var(--r);overflow:hidden;
  box-shadow:var(--sh-1);flex:0 0 auto}
.gpc .gphub-rail__h{display:flex;align-items:center;gap:9px;padding:14px 16px;color:#fff;
  background:linear-gradient(180deg,#2f3a5e,#232b46);box-shadow:inset 0 -1px 0 rgba(255,255,255,.08)}
.gpc .gphub-rail__h svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linejoin:round}
.gpc .gphub-rail__h h2{margin:0;font-size:var(--t-sm);line-height:1.35;letter-spacing:.06em;
  text-transform:uppercase;font-weight:500;color:inherit}
.gpc .gphub-rail__list{list-style:none;margin:0;padding:6px}
.gpc .gphub-rail__list > li + li{margin-top:1px}
.gpc .gphub-rail__i{display:flex;flex-direction:column;gap:3px;padding:9px 12px 10px;border-radius:var(--r-s);
  color:var(--ink);transition:background var(--fast) var(--ease),color var(--fast) var(--ease)}
.gpc .gphub-rail__i:hover{background:var(--blue-l)}
.gpc .gphub-rail__n{font-size:var(--t-sm);line-height:1.35;font-weight:500;
  transition:color var(--fast) var(--ease)}
.gpc .gphub-rail__i:hover .gphub-rail__n{color:var(--blue-d)}
.gpc .gphub-rail__w{font-size:var(--t-xs);line-height:1.45;color:var(--muted-2)}
.gpc .gphub-rail__foot{display:grid;gap:8px;margin:0 6px 6px;padding:14px 12px;border-radius:var(--r-s);
  background:var(--soft);box-shadow:inset 0 0 0 1px var(--line-2)}
.gpc .gphub-rail__fh{font-size:var(--t-md);line-height:1.3;font-weight:500;color:var(--ink)}
.gpc .gphub-rail__fp{margin:0 0 4px;font-size:var(--t-xs);line-height:1.45;color:var(--muted-2)}
/* как выбрать */
.gpc .gphub-how__list{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.gpc .gphub-step{display:flex;flex-direction:column;background:var(--card);border-radius:var(--r);
  box-shadow:var(--sh-1);padding:20px 20px 18px}
.gpc .gphub-step h3{font-size:var(--t-lg);line-height:1.35;font-weight:500;color:var(--ink);
  margin-bottom:8px;letter-spacing:-.01em}
.gpc .gphub-step p{font-size:var(--t-md);line-height:1.6;color:#374056;margin-bottom:12px}
.gpc .gphub-step__go{margin-top:auto;font-size:var(--t-sm);font-weight:500;color:var(--blue-d)}
.gpc .gphub-step__go:hover{text-decoration:underline;text-underline-offset:3px}
/* FAQ */
.gpc .gphub-faq__list{background:var(--card);border-radius:var(--r-l);box-shadow:var(--sh-1);padding:4px 26px}
.gpc .gphub-faq__i + .gphub-faq__i{box-shadow:inset 0 1px 0 var(--line-2)}
.gpc .gphub-faq__q{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px 0;font-size:var(--t-lg);line-height:1.4;font-weight:500;color:var(--ink);cursor:pointer}
.gpc .gphub-faq__q::-webkit-details-marker{display:none}
.gpc .gphub-faq__q:hover{color:var(--blue-d)}
.gpc .gphub-faq__ch{width:14px;height:14px;flex:none;fill:none;stroke:var(--muted-2);stroke-width:1.8;
  transition:transform var(--fast) var(--ease)}
.gpc .gphub-faq__i[open] .gphub-faq__ch{transform:rotate(180deg)}
.gpc .gphub-faq__a{padding:0 0 20px}
.gpc .gphub-faq__a p{font-size:var(--t-lg);line-height:1.7;color:#374056;text-wrap:pretty}
.gpc .gphub-faq__a a{text-decoration:underline;text-underline-offset:3px}
@media (max-width:1240px){
  .gpc .gphub-types__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gpc .gphub-types__side{grid-column:1 / -1;grid-template-rows:none;grid-template-columns:repeat(3,minmax(0,1fr))}
  .gpc .gphub-how__list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .gpc .gphub-types__grid{grid-template-columns:minmax(0,1fr)}
  .gpc .gphub-types__side{grid-template-columns:minmax(0,1fr)}
  .gpc .gphub-how__list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .gpc .gphub-type{padding:14px}
  .gpc .gphub-type__img{width:52px;height:52px;flex-basis:52px}
  .gpc .gphub-type__n{font-size:var(--t-lg)}
  .gpc .gphub-chips{gap:6px}
  .gpc .gphub-chip{padding:8px 12px;font-size:var(--t-sm)}
  .gpc .gphub-how__list{grid-template-columns:minmax(0,1fr)}
  .gpc .gphub-faq__list{padding:2px 16px}
  .gpc .gphub-faq__q{padding:15px 0;font-size:var(--t-md)}
  .gpc .gphub-faq__a p{font-size:var(--t-md)}
}
@media (prefers-reduced-motion:reduce){
  .gpc .gphub-type,.gpc .gphub-rail__i,.gpc .gphub-rail__n,.gpc .gphub-chip,.gpc .gphub-pill,.gpc .gphub-faq__ch{transition:none}
}
