/*
 * 行业网络页构图：开篇三联图 + 十条产业带图文对开 + 城市横幅。
 * 只作用于本页注入的结构，不改其它路由。
 */

.industry-stage-band {
  width: min(98rem, calc(100% - (var(--gutter, 1.5rem) * 2)));
  margin: clamp(1.75rem, 3vw, 2.75rem) auto 0;
}

.industry-stage-band__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.4rem;
  height: clamp(17rem, 34vw, 27rem);
}

.industry-stage-band__shot {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: #d5cfc4;
}

.industry-stage-band__shot--lead {
  grid-row: 1 / span 2;
}

.industry-stage-band__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html body [data-rusliaotong-network] > h3.wp-block-heading {
  margin: 0.25rem 0 0.85rem;
  font-size: clamp(1.55rem, 1.6vw, 1.9rem);
  line-height: 1.25;
  font-weight: 560;
}

html body [data-rusliaotong-industries] {
  list-style: none;
  margin: 0;
  padding: 0;
}

html body [data-rusliaotong-industries] > li::before,
html body [data-rusliaotong-industries] > li::marker {
  content: none !important;
  display: none !important;
}

html body [data-rusliaotong-industries] > li:has(.industry-stage__photo) {
  display: grid;
  grid-template-columns: minmax(15.5rem, 22rem) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1.35rem, 2.6vw, 2.6rem);
  row-gap: 0.85rem;
  padding: 1.55rem 0 1.65rem;
  border-top: 1px solid rgba(26, 24, 20, 0.14);
}

html body [data-rusliaotong-industries] > li:nth-child(even):has(.industry-stage__photo) {
  grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 22rem);
}

html body [data-rusliaotong-industries] > li:nth-child(even):has(.industry-stage__photo) > .industry-stage__photo {
  grid-column: 2;
  grid-row: 1;
}

html body [data-rusliaotong-industries] > li:nth-child(even):has(.industry-stage__photo) > .industry-stage__copy {
  grid-column: 1;
  grid-row: 1;
}

html body [data-rusliaotong-industries] > li:last-child:has(.industry-stage__photo) {
  border-bottom: 1px solid rgba(26, 24, 20, 0.14);
}

.industry-stage__photo {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: start;
}

.industry-stage__copy {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  row-gap: 0.85rem;
  align-items: start;
  align-content: center;
  min-width: 0;
  align-self: center;
  padding: 0.35rem 0.2rem 0.35rem 0;
}

.industry-stage__photo a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d5cfc4;
  color: inherit;
}

.industry-stage__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.industry-stage__photo a:hover img,
.industry-stage__photo a:focus-visible img {
  transform: scale(1.045);
}

.industry-stage__photo a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(to top, rgba(14, 12, 10, 0.55), transparent);
  pointer-events: none;
}

.industry-stage__index {
  position: absolute;
  z-index: 1;
  left: 0.8rem;
  bottom: 0.55rem;
  color: #f7f3ec;
  font-family: var(--ff-title, "Iowan Old Style", Palatino, serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.industry-stage__photo a:focus-visible {
  outline: 2px solid #1a1814;
  outline-offset: 3px;
}

html body .industry-stage__copy > .industry-detail-head,
html body .industry-stage__copy > .industry-network__title {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

html body .industry-stage__copy > .industry-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.75rem;
}

html body .industry-stage__copy > .industry-detail-head > .industry-detail-toggle {
  margin-left: 0;
}

html body .industry-stage__copy .industry-network__title {
  flex: 0 1 auto;
  color: #241c18;
  font-size: clamp(1.45rem, 1.7vw, 1.95rem);
  line-height: 1.3;
  font-weight: 640;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

html body .industry-stage__copy .industry-network__title:hover,
html body .industry-stage__copy .industry-network__title:focus-visible {
  color: #9c2f24;
}

html body .industry-stage__copy .industry-detail-toggle {
  color: #9c2f24;
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  text-decoration: none;
}

html body .industry-stage__copy .industry-detail-toggle:hover,
html body .industry-stage__copy .industry-detail-toggle:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

html body .industry-stage__copy > .industry-row__lead {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 46rem;
  margin: 0.15rem 0 0;
  color: #3f3832;
  font-size: 1.05rem;
  line-height: 1.8;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html body .industry-stage__copy > .industry-row__meta {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  cursor: pointer;
}

html body .industry-stage__copy > .industry-row__meta:empty {
  display: none;
}

html body .industry-stage__copy > .industry-row__meta span {
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(92, 42, 36, 0.22);
  background: rgba(156, 47, 36, 0.05);
  color: #5c2a24;
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

html body .industry-stage__copy > .industry-row__lead:empty {
  display: none;
  min-height: 0;
}

html body .industry-stage__copy > .btn.industry-network__button {
  --btn-bg: transparent;
  --btn-bg-hover: transparent;
  --btn-border: transparent;
  --btn-border-hover: transparent;
  --btn-fill: transparent;
  --btn-radius: 0;
  --btn-padding-block: 0;
  --btn-padding-inline: 0;
  --btn-gap: 0.35rem;
  --btn-font-size: 0.875rem;
  --btn-text: rgba(26, 24, 20, 0.55);
  --btn-text-hover: var(--clr-primary, #9c2f24);
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(26, 24, 20, 0.55);
  font-size: 0.875rem;
  font-weight: 500;
}

html body .industry-stage__copy > .btn.industry-network__button:hover,
html body .industry-stage__copy > .btn.industry-network__button:focus-visible {
  background: transparent;
  color: var(--clr-primary, #9c2f24);
}

html body [data-rusliaotong-industries] > li:has(.industry-stage__photo) > .industry-detail-panel,
html body [data-rusliaotong-industries] > li:has(.industry-stage__photo) > .network-intro-panel {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .industry-stage-band__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 14rem 9rem 9rem;
    height: auto;
  }

  .industry-stage-band__shot--lead {
    grid-row: auto;
  }

  html body [data-rusliaotong-industries] > li:has(.industry-stage__photo),
  html body [data-rusliaotong-industries] > li:nth-child(even):has(.industry-stage__photo) {
    grid-template-columns: 1fr;
    row-gap: 0.85rem;
  }

  html body [data-rusliaotong-industries] > li:nth-child(even):has(.industry-stage__photo) > .industry-stage__photo,
  html body [data-rusliaotong-industries] > li:has(.industry-stage__photo) > .industry-stage__photo {
    grid-column: 1;
    grid-row: 1;
  }

  html body [data-rusliaotong-industries] > li:nth-child(even):has(.industry-stage__photo) > .industry-stage__copy,
  html body [data-rusliaotong-industries] > li:has(.industry-stage__photo) > .industry-stage__copy {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-stage__photo img {
    transition: none;
  }

  .industry-stage__photo a:hover img,
  .industry-stage__photo a:focus-visible img {
    transform: none !important;
  }
}
