/* Context icons replace category numbering. Ordered project steps keep their
   existing number styles. Also loaded inside the Home hero's shadow root. */
.et-content-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  color: var(--et-icon-color, #006bbb);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.et-icon-marker {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: normal;
}

body[data-design="v2"] #main .eyebrow.et-icon-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow.et-icon-label::before {
  content: none;
}

.home-markets .market-copy .et-icon-label {
  --et-icon-color: #9bdcff;
}

body:is([data-page="unternehmen"], [data-page="kontakt"]) #main
.innovation-pillars article:nth-child(2) .et-icon-label {
  --et-icon-color: #9bdcff;
}

body[data-design="v2"] #main :is(.br-scale, .br-applications) .br-number.et-icon-marker {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 8px;
  background: #e8f3fb;
  color: #006bbb;
}

body[data-page="engineering"] #main .eng-card-number.et-icon-marker {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #e5f1fa;
  color: #006bbb;
}

body[data-page="engineering"] #main .eng-card:first-child .eng-card-number.et-icon-marker {
  --et-icon-color: #9bdcff;
  background: #9bdcff14;
  color: #9bdcff;
}

.ir-safe-index.et-icon-marker {
  --et-icon-color: #9bdcff;
}

body[data-page="plattform"] #main .dr-photo-pair .ed-visual-index.et-icon-marker {
  display: inline-grid;
  width: 28px;
  height: 28px;
  border: 1px solid #d1e4f0;
  border-radius: 7px;
  background: #f5faff;
  color: #006bbb;
}

body[data-page="plattform"] #main .dr-photo-pair .ed-visual-index.et-icon-marker > .et-content-icon {
  width: 20px;
  height: 20px;
}

/* Caption placement keeps the marker away from the original product image. */
body[data-page="plattform"] #main .dr-photo-pair figcaption > .ed-visual-index.et-icon-marker {
  position: static;
  margin-right: 8px;
  vertical-align: middle;
}

.map-number.et-icon-marker > .et-content-icon {
  width: 22px;
  height: 22px;
}

/* A single existing icon now identifies each Portfolio card. */
.v3-nav-card .v3-nav-card-top {
  height: auto;
  min-height: 25px;
  justify-content: flex-start;
}

.v3-nav-card .v3-nav-card-icon {
  position: static;
  color: #9bdcff;
}

.v3-nav-card .v3-nav-card-title {
  padding-right: 0;
}

/* Facts remain a compact horizontal group on desktop and stack as before
   on narrow screens. The SVG has its own colour to avoid text-colour rules. */
:host .hero.hero-home-editorial .hero-facts li {
  align-items: center;
}

:host .hero.hero-home-editorial .hero-facts li > .et-icon-marker {
  --et-icon-color: #9bdcff;
  display: inline-grid !important;
  width: 20px !important;
  height: 20px !important;
  line-height: 1 !important;
}

:host .hero.hero-home-editorial .hero-facts .et-content-icon {
  width: 20px;
  height: 20px;
}

@media (forced-colors: active) {
  .et-content-icon,
  .v3-nav-card .v3-nav-card-icon {
    color: CanvasText;
  }
}

@media print {
  :host .hero.hero-home-editorial .hero-facts .et-content-icon {
    color: #006bbb;
  }
}
