/* Natural edition refinements. Load after natural-readability-20261023.css.
   Both existing edition markers are checked so shared corporate CSS is untouched.
   The extra marker also matches the specificity of the reading layer's :is(). */

body:has(.natural-brand):not(:has(.site-layout)) .header-top {
  min-height: 140px;
  padding-block: 24px 22px;
  align-items: center;
}
body:has(.natural-brand):not(:has(.site-layout)) .natural-brand {
  flex: 1 1 auto;
  min-width: 0;
  gap: 28px;
}
body:has(.natural-brand):not(:has(.site-layout)) .natural-logos {
  flex: 0 0 240px;
  width: 240px;
  max-width: 100%;
}
body:has(.natural-brand):not(:has(.site-layout)) .natural-logos img {
  display: block;
  width: 100%;
  height: 80px;
  max-height: 80px;
  object-fit: contain;
}
body:has(.natural-brand):not(:has(.site-layout)) .natural-company {
  min-width: 0;
  max-width: 480px;
  padding-left: 26px;
  gap: 5px;
  font-size: 16px;
  line-height: 1.7;
}
body:has(.natural-brand):not(:has(.site-layout)) .natural-company > span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Formal footer names retain their two desktop columns and can wrap naturally. */
body:has(.natural-brand):not(:has(.site-layout)) .footer-companies {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  font-size: 18px;
  line-height: 1.85;
}
body:has(.natural-brand):not(:has(.site-layout)) .footer-companies > div {
  min-width: 0;
  gap: 8px;
}
body:has(.natural-brand):not(:has(.site-layout)) .footer-companies strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.75;
  overflow-wrap: break-word;
}
body:has(.natural-brand):not(:has(.site-layout)) .footer-companies > div > span:not(.footer-label) {
  font-size: 18px;
  line-height: 1.85;
  overflow-wrap: break-word;
}
body:has(.natural-brand):not(:has(.site-layout)) .footer-companies .footer-label {
  font-size: 16px;
  line-height: 1.8;
}

body:has(.natural-brand):not(:has(.site-layout)) .standards-list p {
  font-size: 20px;
  line-height: 1.95;
  overflow-wrap: break-word;
}
body:has(.natural-brand):not(:has(.site-layout)) .standards-list h2 {
  font-size: 32px;
  line-height: 1.6;
}
body:has(.natural-brand):not(:has(.site-layout)) .standard-number {
  font-size: 30px;
  line-height: 1.5;
}

/* Increase the complete certification strip without cropping individual marks. */
body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide {
  width: 100%;
  max-width: 1120px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
  margin: 0 auto 60px;
  padding: 32px 22px;
}
body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide figure {
  min-width: 0;
  height: 130px;
}
body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide img {
  width: 100%;
  height: 112px;
  max-width: 220px;
  object-fit: contain;
}

body:has(.natural-brand):not(:has(.site-layout)) .office h2 {
  font-size: 32px;
  line-height: 1.6;
}
body:has(.natural-brand):not(:has(.site-layout)) .office :is(p, address) {
  font-size: 20px;
  line-height: 1.95;
  overflow-wrap: break-word;
}
body:has(.natural-brand):not(:has(.site-layout)) .office .email-link {
  max-width: 100%;
  font-size: 20px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
body:has(.natural-brand):not(:has(.site-layout)) .office .tel-link {
  max-width: 100%;
  font-size: 24px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
body:has(.natural-brand):not(:has(.site-layout)) .office > .eyebrow {
  font-size: 14px;
  line-height: 1.8;
}

/* The derived HIKARI file keeps its own path colors on transparent paper.
   If an original white mark must be retained, root may add logo-on-dark. */
body:has(.natural-brand):not(:has(.site-layout)) .equipment-logos img[src*="hikari"] {
  padding: 0;
  background: transparent;
  object-fit: contain;
}
body:has(.natural-brand):not(:has(.site-layout)) .equipment-logos img.logo-on-dark {
  padding: 12px 16px;
  background: var(--ink, #2c2925);
  filter: none;
  object-fit: contain;
}

/* Keep the supplied official colored KÜHL shield centered; never recolor it. */
body:has(.natural-brand):not(:has(.site-layout)) .client-logo.emblem-client {
  align-items: center;
  justify-content: center;
  gap: 0;
}
body:has(.natural-brand):not(:has(.site-layout)) .client-logo.emblem-client > img[src$="/kuhl-shield-official.svg"] {
  width: 76px;
  max-width: 76px;
  height: 70px;
  padding: 0;
  background: transparent;
  filter: none;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 701px) and (max-width: 1100px) {
  body:has(.natural-brand):not(:has(.site-layout)) .header-top { gap: 18px; }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-brand { gap: 22px; }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-logos {
    flex-basis: 220px;
    width: 220px;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-logos img { height: 74px; }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-company {
    flex: 1 1 auto;
    max-width: 420px;
    padding-left: 18px;
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide {
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide figure { height: 124px; }
  body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide img {
    height: 108px;
    max-width: 210px;
  }
}
@media (max-width: 760px) {
  body:has(.natural-brand):not(:has(.site-layout)) .offices-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
}
@media (max-width: 700px) {
  body:has(.natural-brand):not(:has(.site-layout)) .header-top {
    min-height: 0;
    padding-block: 20px;
    align-items: flex-start;
    gap: 12px;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-brand { display: block; }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-logos { width: 220px; }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-logos img {
    height: auto;
    max-height: none;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .natural-company {
    width: 100%;
    max-width: none;
    padding: 11px 0 0;
    border-left: 0;
    gap: 5px;
    font-size: 15px;
    line-height: 1.65;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .menu-toggle {
    flex: 0 0 44px;
    min-width: 44px;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .footer-companies {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .footer-companies strong { font-size: 18px; }
  body:has(.natural-brand):not(:has(.site-layout)) .footer-companies .footer-label { font-size: 15px; }
  body:has(.natural-brand):not(:has(.site-layout)) .standards-list p { font-size: 18px; }
  body:has(.natural-brand):not(:has(.site-layout)) .standards-list h2 { font-size: 28px; }
  body:has(.natural-brand):not(:has(.site-layout)) .standard-number { font-size: 25px; }
  body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide {
    gap: 24px 22px;
    padding: 24px 0;
    margin-bottom: 44px;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide figure { height: 110px; }
  body:has(.natural-brand):not(:has(.site-layout)) .standard-logos.wide img {
    height: 94px;
    max-width: 180px;
  }
  body:has(.natural-brand):not(:has(.site-layout)) .office h2 { font-size: 30px; }
  body:has(.natural-brand):not(:has(.site-layout)) .office :is(p, address) { font-size: 18px; }
  body:has(.natural-brand):not(:has(.site-layout)) .office .email-link { font-size: 18px; }
  body:has(.natural-brand):not(:has(.site-layout)) .office .tel-link { font-size: 23px; }
  body:has(.natural-brand):not(:has(.site-layout)) .client-logo.emblem-client > img[src$="/kuhl-shield-official.svg"] {
    width: 68px;
    max-width: 68px;
    height: 64px;
  }
}
@media (max-width: 370px) {
  body:has(.natural-brand):not(:has(.site-layout)) .natural-company { font-size: 14px; }
}
