/* KeyCords — category content-block library.
   The block markup reuses the design-system + .kcblog-* rules already in
   kc.css; this file only adds what those don't cover: the image-placeholder
   box (empty image states) and a few image-fit guards for block media wrappers.
   Loaded after kc.css. */

.kc-imgph{
  background:repeating-linear-gradient(135deg,var(--kc-surface-2),var(--kc-surface-2) 11px,#E4E9F0 11px,#E4E9F0 22px);
  display:flex;align-items:center;justify-content:center;
  color:var(--kc-muted-2);font-family:ui-monospace,monospace;font-size:11.5px;
  letter-spacing:.04em;text-align:center;padding:16px;
}
.kc-imgph span{
  background:rgba(255,255,255,.82);padding:5px 11px;border-radius:6px;border:1px solid var(--kc-border);
}

/* Real images dropped into the block media wrappers fill their box cleanly. */
.kc-arch-textimg .kc-imgwrap img{width:100%;height:100%;display:block;object-fit:cover;}
.kcblog-quote .by .av img{width:100%;height:100%;display:block;object-fit:cover;}
.kcblog-product .pimg img{width:100%;height:100%;display:block;object-fit:cover;}
.kc-arch-related a.kc-card > div:first-child{overflow:hidden;}
.kc-arch-related a.kc-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .4s cubic-bezier(.2,.7,.2,1);}
.kc-arch-related a.kc-card:hover img{transform:scale(1.05);}

/* Mobile: collapse the block multi-column grids to a single column. */
@media (max-width:860px){
  .kc-arch-2col,
  .kc-arch-benefits,
  .kc-arch-textimg,
  .kc-arch-faq,
  .kc-arch-cta{grid-template-columns:1fr!important;gap:28px!important;}
  .kc-arch-usp{grid-template-columns:1fr 1fr!important;}
  .kc-arch-steps{grid-template-columns:1fr 1fr!important;}
  .kc-arch-related{grid-template-columns:1fr!important;}
}
@media (max-width:520px){
  .kc-arch-usp,
  .kc-arch-steps{grid-template-columns:1fr!important;}
}
