/* Layout follows the job: catalogue, reading, photograph or connected diagram. */

/* Home: an open index, followed by a contrasting brand section. */
.home-page .home-service-cards { gap: 0; border-block: 1px solid var(--line); }
.home-page .home-service-cards a { border: 0; border-radius: 0; padding: 24px 22px; min-height: 124px; }
.home-page .home-service-cards li + li { border-left: 1px solid var(--line); }
.home-page .home-service-cards a:hover { background: #f7f7f6; }

/* Product catalogue: one category per horizontal spread, imagery beside links. */
.service-directory-page .service-directory-section { background: #fff; border: 0; }
.service-directory-page .product-directory-grid { display: block; }
.service-directory-page .product-directory-grid > .support-guide-card {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start; column-gap: clamp(32px, 5vw, 80px);
  border: 0; border-top: 1px solid #abb5bf; border-radius: 0;
  padding: clamp(28px, 4vw, 52px) 0; margin: 0; background: none; box-shadow: none;
}
.directory-overview { min-width: 0; }
.service-directory-page .product-directory-grid > .support-guide-card h3 { font-size: clamp(22px, 2.4vw, 34px); }
.service-directory-page .service-category-heading h3 > svg { width: 24px; height: 24px; color: #465866; }
.service-directory-page .service-category-stage { border-radius: 0; margin: 24px 0 0; background: none; overflow: visible; }
.service-directory-page .service-category-stage img { aspect-ratio: 16 / 9; object-fit: contain; }
.service-directory-page .service-category-stage figcaption { background: none; padding: 12px 0 0; color: #626b76; }
.service-directory-page .product-directory-links { margin: 0; border-top: 0; }
.service-directory-page .product-directory-links .text-link { min-height: 74px; padding: 17px 0; }
.service-directory-page .product-directory-links > li:first-child .text-link { border-top: 0; }
.service-directory-page #directory-security .product-directory-purpose { font-size: 16px; }
.service-directory-page .product-directory-nav a { background: none; border: 0; border-bottom: 1px solid #aab7c6; border-radius: 0; padding-inline: 0; }

/* Feature text reads as a compact specification rather than repeated tiles. */
body main .editorial-feature-list {
  display: block; counter-reset: feature; border-top: 1px solid #aeb9c4;
  list-style: none; padding: 0; margin: 0;
}
body main .editorial-feature-list > li {
  display: grid; grid-template-columns: 32px minmax(0, .85fr) minmax(0, 1.3fr);
  align-items: baseline; gap: 12px 24px; min-width: 0;
  margin: 0; padding: 26px 0; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: none; box-shadow: none;
}
.editorial-feature-list > li::before { counter-increment: feature; content: counter(feature, decimal-leading-zero); color: #526171; font: 13px var(--latin); grid-column: 1; grid-row: 1; }
body main .editorial-feature-list > li > span:has(svg) { display: none; }
body main .editorial-feature-list > li > h3,
body main .editorial-feature-list > li > h4 { grid-column: 2; grid-row: 1; margin: 0; font-size: 19px; line-height: 1.7; }
body main .editorial-feature-list > li > p { grid-column: 3; grid-row: 1; margin: 0; color: #526171; font-size: 14px; line-height: 1.95; }
.editorial-feature-list > li > h3 br { display: none; }
body main .editorial-feature-list > li > div:has(h4) { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 24px; }
.editorial-feature-list > li > div h4 { margin: 0; font-size: 19px; line-height: 1.7; }
body main .editorial-feature-list > li > div p { margin: 0; font-size: 14px; line-height: 1.95; }

/* Company business: headings at left and evidence at right. */
.company-page #company-business .about-business-grid { display: block; }
.company-page #company-business .about-business-grid > .support-guide-card {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 70px); padding: 30px 0; background: none;
  border: 0; border-top: 1px solid #abb5bf; border-radius: 0; box-shadow: none;
}
.company-page #company-business .about-business-grid h3 { margin: 0; padding-top: 16px; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.6; }
.company-page #company-business .about-business-list { margin: 0; }
.company-page #company-business .about-business-list li:first-child .about-business-entry { border-top: 0; }
.company-page #company-business .about-business-mark { border: 0; border-radius: 0; }
.company-page #company-business .about-business-mark--product { border-radius: 0; }
.company-page #offices { background: #f6f6f4; }
.company-page #offices .about-office-grid { display: block; border-top: 1px solid #abb5bf; }
.company-page #offices .about-office-grid li { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px; padding: 28px 0; border: 0; border-bottom: 1px solid #d8dbdc; background: none; }
.company-page #offices .about-office-grid h3 { font-size: 21px; }
.company-page #offices .about-office-grid address { margin: 0; font-size: 15px; line-height: 1.9; }
.company-page #company-relations { background: #fff; }
.company-page #company-partners .company-partner-grid { gap: 0; border-top: 1px solid #abb5bf; }
.company-page #company-partners .company-partner-card { padding: 30px 30px 0 0; border: 0; border-radius: 0; background: none; }
.company-page #company-partners .company-partner-card + .company-partner-card { padding-left: 30px; padding-right: 0; border-left: 1px solid var(--line); }
.company-page .company-partner-illustration { background: none; border: 0; border-radius: 0; }
.company-page .company-partner-illustration .partner-illustration-wash { fill: #f1f2f2; }
.company-page .company-partner-button { color: #1745bc; background: none; border-bottom: 1px solid #abb5bf; padding-inline: 0; }
.company-page .company-partner-button:hover { color: #081622; background: none; border-color: currentColor; }

/* Photo stories: let the image set the scale and keep captions outside it. */
.cloud-use .cloud-use-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: 24px; align-items: start; }
.cloud-use .cloud-use-card { border: 0; border-radius: 0; background: none; overflow: visible; }
.cloud-use .cloud-use-card + .cloud-use-card { margin-top: 48px; }
.cloud-use .cloud-use-card img { aspect-ratio: 4 / 3; }
.cloud-use .cloud-use-card figcaption { padding: 16px 0 0; border: 0; gap: 6px; }
.cloud-use .cloud-use-card figcaption strong { font-size: 20px; }
.cloud-benefits .cloud-feature-grid { display: block; margin-top: 22px; border-top: 1px solid #abb5bf; }
.cloud-benefits .cloud-benefit { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 24px 0; background: none; grid-template-columns: 44px minmax(0, 1fr); }
.cloud-benefits .cloud-flow-icon { background: none; border-radius: 0; }
.cloud-benefits .cloud-mini-flow { grid-column: 2; }

/* A diagram needs connections and contrast, not a second frame around it. */
.cloud-protection { padding: 26px 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: none; }
.cloud-protection .cloud-flow-step { padding: 20px 14px; border: 0; border-radius: 0; background: #f5f5f2; }
.cloud-protection .cloud-flow-inspection { background: #e7eff8; border-top: 2px solid #245ca7; }
.reason-section .reason-figure { padding: 24px 0; border: 0; border-top: 1px solid #abb5bf; border-radius: 0; background: none; }
.reason-section--tint { background: #f6f6f4; border: 0; }
.reason-product-list { display: block; }
.reason-product-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 18px; align-items: center; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.reason-product-list a:hover { background: #f3f5f7; }
.reason-product-list .reason-product-arrow { margin: 0; }
.reason-product-icon { background: none; border-radius: 0; }
.reason-product-label { gap: 4px; }
.reason-hub .reason-hub-center { border-radius: 0; }
.reason-hub .reason-hub-topics li { border: 0; border-top: 2px solid #6b8baa; border-radius: 0; background: #fff; }
.reason-figure .reason-steps li { border: 0; border-top: 2px solid #a2afbc; border-radius: 0; background: none; padding-inline: 4px; }
.reasons-credentials { background: #f6f6f4; }
.reasons-credentials .reasons-proof { border: 0; border-radius: 0; background: none; padding-inline: 0; }
.reasons-credentials .reasons-proof-stat { border-left: 1px solid #ccd0d3; padding-left: 32px; }
.reasons-hero .reasons-jump-list a { border: 0; border-bottom: 1px solid #ffffff45; border-radius: 0; background: none; padding-inline: 0; }

/* Equipment: alternate image placement and present options as a comparison. */
.equipment-guide { padding: 32px 0; border: 0; border-top: 1px solid #abb5bf; border-radius: 0; background: none; }
.equipment-guide .equipment-guide-photo { border: 0; border-radius: 0; }
.equipment-guide .equipment-options { gap: 0; margin-top: 28px; }
.equipment-guide .equipment-options li { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 22px 20px 18px 0; }
.equipment-guide .equipment-options li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.equipment-guide .equipment-option-icon { background: none; border-radius: 0; }
@media (min-width: 901px) {
  #printers .equipment-guide-photo { grid-column: 2; }
  #printers .equipment-guide-heading > p:last-child { grid-column: 1; }
}

/* Small diagrams retain their internal meaning but lose repeated tile frames. */
.apx-feature-grid > li { border: 0; border-radius: 0; padding: 0 16px 22px 0; background: none; }
.apx-feature-grid > li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.apx-feature-grid .apx-feature-visual { border-radius: 0; }
.zd-case-grid > .zd-case { border: 0; border-radius: 0; background: none; padding: 0 20px 20px 0; }
.zd-case-grid > .zd-case + .zd-case { border-left: 1px solid var(--line); padding-left: 20px; }
.zd-support-grid .zd-support-card { border: 0; border-top: 1px solid #abb5bf; border-radius: 0; background: none; padding: 24px 0; }

@media (max-width: 1000px) {
  .service-directory-page .product-directory-grid > .support-guide-card { gap: 28px; }
  .service-directory-page .product-directory-grid > .support-guide-card h3 { font-size: 23px; }
  body main .editorial-feature-list > li { gap: 12px 18px; }
  .company-page #company-business .about-business-grid > .support-guide-card { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 28px; }
  .company-page #company-partners .company-partner-card { padding-right: 22px; }
  .company-page #company-partners .company-partner-card + .company-partner-card { padding-left: 22px; }
}
@media (max-width: 767px) {
  .home-page .home-service-cards { display: block; }
  .home-page .home-service-cards a { min-height: 94px; padding: 18px 0; }
  .home-page .home-service-cards li + li { border-left: 0; border-top: 1px solid var(--line); }
  .service-directory-page .product-directory-grid > .support-guide-card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0 36px; }
  .service-directory-page .service-category-stage { margin-top: 18px; }
  .service-directory-page .product-directory-links .text-link { min-height: 72px; padding: 16px 0; }
  body main .editorial-feature-list > li { grid-template-columns: 26px minmax(0, 1fr); padding: 22px 0; gap: 8px 14px; }
  body main .editorial-feature-list > li > h3,
  body main .editorial-feature-list > li > h4 { grid-column: 2; grid-row: 1; font-size: 18px; }
  body main .editorial-feature-list > li > p { grid-column: 2; grid-row: 2; }
  body main .editorial-feature-list > li > div:has(h4) { display: block; grid-column: 2; }
  body main .editorial-feature-list > li > div p { margin-top: 8px; }
  .editorial-feature-list > li > div h4 { font-size: 18px; }
  .company-page #company-business .about-business-grid > .support-guide-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 26px 0; }
  .company-page #company-business .about-business-grid h3 { padding: 0; font-size: 22px; }
  .company-page #offices .about-office-grid li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 0; }
  .company-page #offices .about-office-grid h3 { font-size: 19px; }
  .company-page #offices .about-office-grid address { font-size: 14px; }
  .company-page #company-partners .company-partner-card,
  .company-page #company-partners .company-partner-card + .company-partner-card { padding: 24px 0; border: 0; }
  .company-page #company-partners .company-partner-card + .company-partner-card { border-top: 1px solid var(--line); }
  .cloud-use .cloud-use-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cloud-use .cloud-use-card + .cloud-use-card { margin-top: 0; }
  .cloud-use .cloud-use-card img { aspect-ratio: 16 / 10; }
  .cloud-use .cloud-use-card figcaption strong { font-size: 18px; }
  .reason-section .reason-figure { padding: 20px 0; }
  .reason-figure .reason-steps li { padding: 16px 0; }
  .reasons-credentials .reasons-proof-stat { border-left: 0; border-top: 1px solid #ccd0d3; padding-left: 0; }
  .equipment-guide { padding-block: 26px; }
  .equipment-guide .equipment-options { display: block; }
  .equipment-guide .equipment-options li,
  .equipment-guide .equipment-options li + li { padding: 20px 0; border-left: 0; }
  .apx-feature-grid > li,
  .apx-feature-grid > li + li,
  .zd-case-grid > .zd-case,
  .zd-case-grid > .zd-case + .zd-case { padding: 0 0 24px; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .home-page .home-service-cards a { transition: none; } }
