/* STL guide hero follows the Material Selection Guide image layout. */
body.resource-page > section.hero-stl.resource-photo-hero {
  --resource-section-text: #171717;
  --resource-section-accent: #e05c2a;
  padding: 100px 0 60px;
  background: #f8f8f8 !important;
}

body.resource-page > section.hero-stl.resource-photo-hero::before {
  display: none;
}

.hero-stl .container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.hero-stl .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(280px, 380px);
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-stl .hero-content {
  max-width: 700px;
}

.hero-stl .eyebrow {
  margin-bottom: 20px;
  color: #b7471f;
  font: 600 12px/1.3 'DM Mono', monospace;
  letter-spacing: .2em;
}

.hero-stl h1 {
  margin: 0 0 22px;
  color: #111 !important;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-transform: none;
}

.hero-stl h1 span {
  color: #e05c2a !important;
}

.hero-stl .hero-sub {
  max-width: 52ch;
  margin-bottom: 26px;
  color: #292929 !important;
  font-size: 17px;
  line-height: 1.75;
}

.hero-stl .hero-tags {
  gap: 8px;
}

.hero-stl .htag {
  padding: 7px 11px;
  border: 1px solid rgba(20, 20, 20, .18);
  border-radius: 2px;
  background: rgba(255, 255, 255, .7);
  color: #222 !important;
  font: 500 10px/1.3 'DM Mono', monospace;
  letter-spacing: .08em;
}

.hero-stl .hero-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 13px 17px;
  border: 1px solid #e05c2a;
  background: #e05c2a;
  color: #111 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.hero-stl .hero-guide-link:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #111 !important;
}

.hero-stl .hero-visual {
  min-width: 0;
}

.hero-stl .stl-badge {
  position: static;
  width: 100%;
  padding: 18px 20px 14px;
  border-left: 4px solid #e05c2a;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.hero-stl .stl-badge::before {
  display: none;
}

body.resource-page > section.hero-stl .stl-badge :is(span, li) {
  color: #111 !important;
}

.hero-stl .stl-ext {
  color: #d35400 !important;
  font-size: 31px;
  letter-spacing: -.05em;
}

.hero-stl .stl-label {
  margin-top: 2px;
  color: #444 !important;
  font: 500 9px/1.4 'DM Mono', monospace;
  letter-spacing: .11em;
}

.hero-stl .stl-divider {
  width: 100%;
  height: 1px;
  margin: 7px 0 2px;
  background: #d9d9d4;
}

.hero-stl .stl-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
}

.hero-stl .stl-specs li {
  gap: 7px;
  padding: 4px 0;
  border-bottom: 1px solid #e8e6e1;
  color: #111 !important;
  font-size: 11px;
  line-height: 1.35;
}

.hero-stl .stl-specs li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-stl .stl-specs i {
  color: #d35400;
}

@media (max-width: 991px) {
  body.resource-page > section.hero-stl.resource-photo-hero {
    padding: 100px 0 60px;
  }

  .hero-stl .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-stl .hero-content {
    max-width: 700px;
  }

  .hero-stl .hero-visual {
    width: min(100%, 700px);
  }
}

@media (max-width: 600px) {
  body.resource-page > section.hero-stl.resource-photo-hero {
    padding: 94px 0 42px;
  }

  .hero-stl .container {
    width: min(100% - 32px, 1240px);
  }

  .hero-stl h1 {
    font-size: clamp(39px, 12vw, 54px);
    letter-spacing: -.04em;
  }

  .hero-stl .hero-sub {
    font-size: 15px;
  }

  .hero-stl .stl-specs {
    column-gap: 8px;
  }

  .hero-stl .stl-specs li {
    font-size: 10px;
    padding: 3px 0;
  }
}
