/* Compact headings on the approved service cards. */
.knok2-page :is([data-knok-block="stikery-06-prepress"],
[data-knok-block="stikery-06b-bleeds"],
[data-knok-block="stikery-07-output-compare"],
[data-knok-block="stikerpaki-02-types"],
[data-knok-block="stikerpaki-04-composition"],
[data-knok-block="stikerpaki-06-layers"],
[data-knok-block="stikerpaki-08-artwork"],
[data-knok-block="stikerpaki-11-composition-guide"],
[data-knok-block="uvdtf-06-color"],
[data-knok-block="uvdtf-08-effects"],
[data-knok-block="uvdtf-08b-sets"]) article.kh-feature {
 display:grid !important; grid-template-columns:clamp(48px,6vw,74px) minmax(0,1fr);
 grid-template-rows:auto 1fr; align-content:start; align-items:center; gap:12px 14px;
}
.knok2-page :is([data-knok-block="stikery-06-prepress"],
[data-knok-block="stikery-06b-bleeds"],
[data-knok-block="stikery-07-output-compare"],
[data-knok-block="stikerpaki-02-types"],
[data-knok-block="stikerpaki-04-composition"],
[data-knok-block="stikerpaki-06-layers"],
[data-knok-block="stikerpaki-08-artwork"],
[data-knok-block="stikerpaki-11-composition-guide"],
[data-knok-block="uvdtf-06-color"],
[data-knok-block="uvdtf-08-effects"],
[data-knok-block="uvdtf-08b-sets"]) article.kh-feature > .kh-feature__icon {
 grid-area:1/1; position:static; box-sizing:border-box; width:100%; aspect-ratio:1;
 height:auto; min-width:0; margin:0; padding:0; border-radius:9px; overflow:hidden;
}
.knok2-page :is([data-knok-block="stikery-06-prepress"],
[data-knok-block="stikery-06b-bleeds"],
[data-knok-block="stikery-07-output-compare"],
[data-knok-block="stikerpaki-02-types"],
[data-knok-block="stikerpaki-04-composition"],
[data-knok-block="stikerpaki-06-layers"],
[data-knok-block="stikerpaki-08-artwork"],
[data-knok-block="stikerpaki-11-composition-guide"],
[data-knok-block="uvdtf-06-color"],
[data-knok-block="uvdtf-08-effects"],
[data-knok-block="uvdtf-08b-sets"]) article.kh-feature > h3 {grid-area:1/2; align-self:center; min-width:0; margin:0;}
.knok2-page :is([data-knok-block="stikery-06-prepress"],
[data-knok-block="stikery-06b-bleeds"],
[data-knok-block="stikery-07-output-compare"],
[data-knok-block="stikerpaki-02-types"],
[data-knok-block="stikerpaki-04-composition"],
[data-knok-block="stikerpaki-06-layers"],
[data-knok-block="stikerpaki-08-artwork"],
[data-knok-block="stikerpaki-11-composition-guide"],
[data-knok-block="uvdtf-06-color"],
[data-knok-block="uvdtf-08-effects"],
[data-knok-block="uvdtf-08b-sets"]) article.kh-feature > p {grid-area:2/1/3/3; align-self:start; margin:0;}
.knok2-page [data-knok-block="stikery-03-usage"] .kh-solution > img {
 display:block; width:100%; height:clamp(140px,15vw,190px) !important; flex:none;
 object-fit:contain !important; background:#edf4fa;
}

/* Bandana order details and production checks. */
.knok2-page :is([data-knok-block="bandany-08-request"], [data-knok-block="bandany-09-kh-benefits"]) article.kh-feature:has(> .kh-feature__icon > img) {
  display: grid !important;
  grid-template-columns: clamp(44px, 5vw, 56px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  align-items: center;
  gap: 10px 12px;
}
.knok2-page :is([data-knok-block="bandany-08-request"], [data-knok-block="bandany-09-kh-benefits"]) article.kh-feature:has(> .kh-feature__icon > img) > .kh-feature__icon {
  grid-area: 1 / 1;
  position: static;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 9px;
}
.knok2-page :is([data-knok-block="bandany-08-request"], [data-knok-block="bandany-09-kh-benefits"]) article.kh-feature:has(> .kh-feature__icon > img) > .kh-feature__icon > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.knok2-page :is([data-knok-block="bandany-08-request"], [data-knok-block="bandany-09-kh-benefits"]) article.kh-feature:has(> .kh-feature__icon > img) > h3 {
  grid-area: 1 / 2;
  min-width: 0;
  margin: 0;
}
.knok2-page :is([data-knok-block="bandany-08-request"], [data-knok-block="bandany-09-kh-benefits"]) article.kh-feature:has(> .kh-feature__icon > img) > p {
  grid-area: 2 / 1 / 3 / 3;
  align-self: start;
  margin: 0;
}

/* Add to service-card-layout-73.css with the matching page update. */
.knok2-page :is([data-knok-block="tolstovki-s02"], [data-knok-block="tolstovki-s05"]) .kh-feature__icon:has(> img) {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 14px;
  overflow: hidden;
}
.knok2-page :is([data-knok-block="tolstovki-s02"], [data-knok-block="tolstovki-s05"]) .kh-feature__icon > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.knok2-page :is([data-knok-block="tolstovki-s03"], [data-knok-block="tolstovki-s06"]) .kh-finishing__card .kh-finishing__visual:has(> img) {
  height: clamp(210px, 24vw, 280px);
  background: #edf4fa;
}
.knok2-page :is([data-knok-block="tolstovki-s03"], [data-knok-block="tolstovki-s06"]) .kh-finishing__card .kh-finishing__visual > img {
  object-fit: contain;
}

.knok2-page :is([data-knok-block="knok-zhilety-04-material"], [data-knok-block="knok-zhilety-09-request"], [data-knok-block="knok-zhilety-10-estimate"]) article.kh-feature:has(> .kh-feature__icon > img) {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 10px 12px;
}
.knok2-page :is([data-knok-block="knok-zhilety-04-material"], [data-knok-block="knok-zhilety-09-request"], [data-knok-block="knok-zhilety-10-estimate"]) .kh-feature > .kh-feature__icon:has(> img) {
  grid-area: 1 / 1;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 9px;
  overflow: hidden;
}
.knok2-page :is([data-knok-block="knok-zhilety-04-material"], [data-knok-block="knok-zhilety-09-request"], [data-knok-block="knok-zhilety-10-estimate"]) .kh-feature:has(> .kh-feature__icon > img) > h3 {
  grid-area: 1 / 2;
  min-width: 0;
  margin: 0;
}
.knok2-page :is([data-knok-block="knok-zhilety-04-material"], [data-knok-block="knok-zhilety-09-request"], [data-knok-block="knok-zhilety-10-estimate"]) .kh-feature:has(> .kh-feature__icon > img) > p {
  grid-area: 2 / 1 / 3 / 3;
  align-self: start;
  margin: 0;
}
.knok2-page [data-knok-block="knok-zhilety-07-artwork"] .kh-feature > .kh-feature__icon:has(> img) {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 14px;
  overflow: hidden;
}
.knok2-page :is([data-knok-block="knok-zhilety-04-material"], [data-knok-block="knok-zhilety-09-request"], [data-knok-block="knok-zhilety-10-estimate"], [data-knok-block="knok-zhilety-07-artwork"]) .kh-feature__icon > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.knok2-page :is([data-knok-block="lenty-files"], [data-knok-block="lenty-request-details"]) .kh-feature:has(> .kh-feature__icon > img) {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 10px 12px;
}
.knok2-page :is([data-knok-block="lenty-files"], [data-knok-block="lenty-request-details"]) .kh-feature > .kh-feature__icon:has(> img) {
  grid-area: 1 / 1;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 9px;
  overflow: hidden;
}
.knok2-page :is([data-knok-block="lenty-files"], [data-knok-block="lenty-request-details"]) .kh-feature > .kh-feature__icon > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.knok2-page :is([data-knok-block="lenty-files"], [data-knok-block="lenty-request-details"]) .kh-feature:has(> .kh-feature__icon > img) > h3 {
  grid-area: 1 / 2;
  min-width: 0;
  margin: 0;
}
.knok2-page :is([data-knok-block="lenty-files"], [data-knok-block="lenty-request-details"]) .kh-feature:has(> .kh-feature__icon > img) > p {
  grid-area: 2 / 1 / 3 / 3;
  align-self: start;
  margin: 0;
}

.knok2-page [data-knok-block="spetsodezhda-s03"] .kh-finishing__visual:has(img[src$="/workwear-placement.webp"]) {
  background: #e9f1fc;
}
.knok2-page [data-knok-block="spetsodezhda-s03"] .kh-finishing__visual img[src$="/workwear-placement.webp"] {
  object-fit: contain;
}

/* Readable instructions without reserving a large empty card body. */
.knok2-page [data-knok-block="bannery-09"] .kh-knowledge__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.knok2-page [data-knok-block="bannery-09"] .kh-knowledge__card-link:has(> .kh-knowledge__art) {
  display: grid !important;
  grid-template-columns: minmax(105px, 28%) minmax(0, 1fr);
  align-items: start;
}
.knok2-page [data-knok-block="bannery-09"] .kh-knowledge__art {
  height: auto;
  margin: 18px 0 18px 18px;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
}
.knok2-page [data-knok-block="bannery-09"] .kh-knowledge__art img {
  object-fit: contain !important;
}
.knok2-page [data-knok-block="bannery-09"] .kh-knowledge__body {
  min-height: 0;
  min-width: 0;
  padding: 17px 19px;
  gap: 7px;
}
.knok2-page [data-knok-block="bannery-09"] .kh-knowledge__body h3 {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.3;
}
.knok2-page [data-knok-block="bannery-09"] .kh-knowledge__body p {
  margin: 0;
  flex: none;
  font-size: 17px;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .knok2-page [data-knok-block="bannery-09"] .kh-knowledge__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .knok2-page [data-knok-block="bannery-09"] .kh-knowledge__card-link:has(> .kh-knowledge__art) {
    grid-template-columns: 1fr;
  }
  .knok2-page [data-knok-block="bannery-09"] .kh-knowledge__art {
    width: min(100% - 36px, 230px);
    margin: 14px 18px 0;
  }
}

/* Small photographic icons help locate the order details. */
.knok2-page [data-knok-block="bannery-08"] .kh-feature:has(> .kh-feature__icon > img) {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 10px 12px;
}
.knok2-page [data-knok-block="bannery-08"] .kh-feature > .kh-feature__icon:has(> img) {
  grid-area: 1 / 1;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 9px;
  overflow: hidden;
}
.knok2-page [data-knok-block="bannery-08"] .kh-feature > .kh-feature__icon > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.knok2-page [data-knok-block="bannery-08"] .kh-feature:has(> .kh-feature__icon > img) > h3 {
  grid-area: 1 / 2;
  min-width: 0;
  margin: 0;
}
.knok2-page [data-knok-block="bannery-08"] .kh-feature:has(> .kh-feature__icon > img) > p {
  grid-area: 2 / 1 / 3 / 3;
  align-self: start;
  margin: 0;
}

/* Only this page's tools block gets these images. The tool links stay in the page. */
.knok2-page [data-knok-block="bannery-09"] ~ [data-knok-block="wide-free-tools"] img[src$="/wide/file-zones.webp"] {
  content: url("../img/banners/tools/check-file.webp");
  object-fit: contain !important;
}
.knok2-page [data-knok-block="bannery-09"] ~ [data-knok-block="wide-free-tools"] img[src$="/wide/raster-detail.webp"] {
  content: url("../img/banners/tools/check-resolution.webp");
  object-fit: contain !important;
}
.knok2-page [data-knok-block="bannery-09"] ~ [data-knok-block="wide-free-tools"] .kh-tool__art {
  background: #dceaf4;
}

.knok2-page [data-knok-block="bannery-07"] img.knok-section-image[src$="/wide/banner-panels.webp"] {
  content: url("../img/banners/panels.webp");
}

.knok2-page [data-knok-block="sport-s06"] .kh-finishing__visual:has(img[src$="/sport-player-kit.webp"]) {
  background: #dceaf4;
}
.knok2-page [data-knok-block="sport-s06"] .kh-finishing__visual img[src$="/sport-player-kit.webp"] {
  object-fit: contain;
}
