/* V16: clear hero image and accessible industry-card lightbox */
.hero {
  background-image: url('./assets/donghong-campus-hero-v16.png');
  background-position: center center;
  background-size: cover;
}

.hero::before {
  background: linear-gradient(180deg, rgba(8, 24, 36, .18) 0%, rgba(8, 24, 36, .08) 62%, rgba(8, 24, 36, .18) 100%);
}

.hero::after {
  background: linear-gradient(180deg, transparent 58%, rgba(247, 249, 250, .5));
}

.hero-copy {
  text-shadow: 0 2px 18px rgba(255, 255, 255, .7);
}

.industry-card figcaption {
  flex-wrap: wrap;
  padding-block: 9px;
}

.industry-card figcaption > span {
  margin-left: auto;
}

.industry-zoom-link {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 8px 0 2px;
  color: #8a6d3b;
  border-top: 1px solid rgba(155, 135, 105, .22);
  cursor: pointer;
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: color .25s ease;
}

.industry-zoom-link:hover,
.industry-zoom-link:focus-visible {
  color: #b98a3d;
}

.industry-zoom-link:focus-visible,
.industry-lightbox-close:focus-visible {
  outline: 2px solid #e9d09f;
  outline-offset: 3px;
}

.industry-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(7, 14, 19, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.industry-lightbox[hidden] {
  display: none;
}

.industry-lightbox-dialog {
  position: relative;
  max-width: min(92vw, 980px);
  max-height: 92vh;
  margin: 0;
}

.industry-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 86vh;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.industry-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #202b32;
  background: rgba(255, 255, 255, .96);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero {
    background-position: 52% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8, 24, 36, .2), rgba(8, 24, 36, .09) 60%, rgba(8, 24, 36, .2));
  }
}

@media (max-width: 620px) {
  .hero {
    background-position: 58% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8, 24, 36, .24), rgba(8, 24, 36, .11) 56%, rgba(8, 24, 36, .24));
  }

  .industry-lightbox {
    padding: 20px;
  }

  .industry-lightbox-close {
    top: -14px;
    right: -10px;
  }
}

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