.editorial-industry {
  --industry-ink: #252b24;
  --industry-accent: #45553c;
  --industry-rule: #c8cbbd;
  display: grid;
  grid-template-columns: minmax(245px, 34%) minmax(0, 1fr);
  min-block-size: clamp(174px, 14.3vw, 232px);
  background: linear-gradient(105deg, #f8f6ee, #edece3);
  color: var(--industry-ink);
  scroll-margin-block-start: 95px;
}

.editorial-industry__intro {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px clamp(24px, 4.5vw, 72px) 22px var(--editorial-text-inset);
}

.editorial-industry__intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  background:
    linear-gradient(90deg, #1b2927f7 2%, #20302cde 45%, #26383153 100%),
    url("media/industry-banner-production.webp") 65% 59% / cover no-repeat #27332f;
  content: "";
}

.editorial-layout .editorial-industry__intro h2 {
  max-width: 15ch;
  margin: 0;
  color: #fffdf4;
  font-family: Prata, Georgia, serif;
  font-size: clamp(28px, 3.14vw, 49px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.048em;
}

.editorial-layout .editorial-industry__intro p {
  margin: 0;
  color: #edf0e5;
  font-size: clamp(13px, 1.13vw, 16px);
  line-height: 1.42;
}

.editorial-industry__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  column-gap: clamp(15px, 2vw, 32px);
  padding: 16px var(--editorial-text-inset) 16px clamp(16px, 2.2vw, 35px);
}

.editorial-layout .editorial-industry__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 55px;
  padding-block: 9px;
  border-block-end: 1px solid var(--industry-rule);
  color: var(--industry-ink);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 630;
  line-height: 1.22;
  text-decoration: none;
}

.editorial-industry__link img {
  flex: 0 0 auto;
  opacity: .66;
  transition: transform .2s ease, opacity .2s ease;
}

.editorial-layout .editorial-industry__link:hover { color: var(--industry-accent); }
.editorial-industry__link:hover img { transform: translateX(3px); opacity: 1; }

.editorial-layout .editorial-industry__link:focus-visible {
  outline: 2px solid var(--industry-accent);
  outline-offset: 2px;
}

@media (min-width: 961px) {
  .editorial-layout .editorial-industry__link:nth-last-child(-n+3) { border-block-end-color: transparent; }
}

@media (max-width: 960px) {
  .editorial-industry__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-layout .editorial-industry__link:nth-last-child(-n+2) { border-block-end-color: transparent; }
}

@media (max-width: 760px) {
  .editorial-industry { grid-template-columns: minmax(0, 1fr); }

  .editorial-industry__intro {
    min-block-size: 108px;
    padding: 17px clamp(15px, 4.2vw, 27px);
  }

  .editorial-industry__intro::before {
    clip-path: none;
    background:
      linear-gradient(96deg, #1c2927f5 0%, #283731b3 55%, #2d3c2e24 100%),
      url("media/industry-banner-detail.webp") 65% 43% / cover no-repeat #27332f;
  }

  .editorial-layout .editorial-industry__intro h2 { max-width: 22ch; }
  .editorial-industry__links { column-gap: 15px; padding: 4px clamp(15px, 4.2vw, 27px) 8px; }
  .editorial-layout .editorial-industry__link { min-height: 47px; }
  .editorial-industry__link img { width: 13px; height: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-industry__link img { transition: none; }
  .editorial-industry__link:hover img { transform: none; }
}
