/* Preview-only: Inventorizacija PRO screens + training/equipment cards (2026-11-16) */

.p4-card-media.shot{
  aspect-ratio:auto;
  overflow:visible;
  background:#fff;
}
.p4-card-media.shot img{
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:top center;
  padding:8px 8px 0;
}
.p4-card-media.shot figcaption{
  position:static;
  padding:8px 10px 10px;
  background:#fff;
  line-height:1.35;
}

/* 3-step training graphic */
.p-train{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/10;
  background:linear-gradient(180deg,#f4f8fb 0%,#eef4f9 100%);
  border:1px solid var(--p4-line,#d5e3ee);
  padding:18px 16px;
}
.p-train-steps{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:0;
  width:100%;
  font-family:"Barlow Semi Condensed",Barlow,sans-serif;
}
.p-train-steps>li{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
  flex:1 1 0;
  min-width:0;
}
.p-train-ico{
  width:52px;height:52px;
  border-radius:50%;
  background:#115B87;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.p-train-ico svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.p-train-steps b{
  color:#115B87;
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.01em;
  line-height:1.15;
}
.p-train-n{
  display:block;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#5BB4EA;
}
.p-train-arr{
  flex:0 0 auto !important;
  width:28px;
  color:#5BB4EA;
  display:flex !important;
  align-items:center;
  justify-content:center;
}
.p-train-arr svg{width:22px;height:22px;stroke:#5BB4EA;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:520px){
  .p-train{aspect-ratio:auto;padding:16px 10px}
  .p-train-steps b{font-size:.92rem}
  .p-train-ico{width:44px;height:44px}
}

/* Split-media program shots: never clip captions on narrow screens */
@media (max-width:1000px){
  .p4-split-media.shot{
    max-height:none;
    overflow:visible;
  }
}

/* Equipment composite: full products + labels, badge in empty corner */
.p4-card-media:has(img[alt*="Zebra MC27"]){
  aspect-ratio:4/3;
  background:#fff;
}
.p4-card-media:has(img[alt*="Zebra MC27"]) img{
  object-fit:contain;
  object-position:center;
  height:100%;
  width:100%;
}
.p4-card-media:has(img[alt*="Zebra MC27"]) .p5-il{
  left:10px;
  right:auto;
  bottom:auto;
  top:10px;
}

/* Device composites: keep the full product in view, badge in empty corner */
.p4-split-media.shot:has(.p5-il){
  background:#f4f8fb;
}
.p4-split-media.shot:has(.p5-il) .p5-il{
  left:14px;
  right:auto;
  bottom:auto;
  top:14px;
}
.p4-split-media.shot:has(img[src*="pro-deck-skaiciavimas"]),
.p4-split-media.shot:has(img[src*="pro-deck-du-kaupikliai"]){
  background:#f4f8fb;
}

/* Large device shots: less chrome so the kaupikliai fill the card */
.p4-split-media.shot:has(img[src*="pro-deck-skaiciavimas"]),
.p4-split-media.shot:has(img[src*="pro-deck-du-kaupikliai"]){
  background:#f4f8fb;
  padding:8px 8px 6px;
}

/* Results block: three working-program report shots, no concept dashed box */
.p-results-shots{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}
.p-results-note{
  margin:0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  font-size:.875rem;
  line-height:1.4;
  color:var(--ink-2,#3b4b5c);
}
.p-results-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.p-results-stack .p4-split-media.shot{
  margin:0;
  aspect-ratio:auto;
  overflow:visible;
}

/* DUK accordion + insight articles */
.p-faq{max-width:46em}
.p-faq details{border-bottom:1px solid var(--line,#d7e3ec);background:transparent}
.p-faq details summary{cursor:pointer;font-weight:600;font-size:1.125rem;padding:18px 0;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;color:var(--ink,#123);line-height:1.35}
.p-faq details .p-faq-a{padding:0 0 20px;max-width:46em}
.p-faq details .p-faq-a p{margin:0 0 .8em;color:var(--ink-2,#3b4b5c);line-height:1.6}
.p-faq details .p-faq-a p:last-child{margin-bottom:0}
.p-faq details .p-faq-a ul,
.p-faq details .p-faq-a ol{margin:0 0 1em;padding-left:1.3em;color:var(--ink-2,#3b4b5c);line-height:1.55}
.p-faq details .p-faq-a li{margin:0 0 .35em}
.p-article{max-width:46em}
.p-article-meta{margin:0 0 1.4em;color:var(--ink-2,#3b4b5c);font-size:.95rem}
.p-article p{margin:0 0 1em;color:var(--ink,#123);line-height:1.65}
.p-article h2{margin:1.55em 0 .5em;font-size:1.35rem;line-height:1.3;color:var(--brand,#115B87)}
.p-article ol,.p-article ul{margin:0 0 1.1em;padding-left:1.3em}
.p-article li{margin:0 0 .45em;line-height:1.55;color:var(--ink,#123)}
