/* Industry application and editorial hub pages.
   The shared classes deliberately stay independent from the global header. */
.industry-hub-page {
  background: #f3f5f9;
  color: #111827;
}

.industry-hub-hero {
  position: relative;
  min-height: clamp(500px, 68vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050814;
  color: #fff;
}

.industry-hub-hero__media,
.industry-hub-hero__shade {
  position: absolute;
  inset: 0;
}

.industry-hub-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-hub-hero__shade {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, .92) 0%, rgba(3, 7, 18, .64) 46%, rgba(3, 7, 18, .22) 78%),
    linear-gradient(0deg, rgba(3, 7, 18, .92) 0%, rgba(3, 7, 18, 0) 60%);
}

.industry-hub-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 160px 28px 84px;
}

.industry-hub-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.industry-hub-hero h1 {
  max-width: 800px;
  color: #fff;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.industry-hub-hero p {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.industry-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.industry-hub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #2f6bff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.industry-hub-button:hover {
  background: #5183ff;
  color: #fff;
}

.industry-hub-button--ghost {
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
}

.industry-hub-button--ghost:hover {
  background: rgba(255, 255, 255, .16);
}

.industry-hub-section {
  padding: clamp(72px, 9vw, 116px) 0;
}

.industry-hub-section--white {
  background: #fff;
}

.industry-hub-section--dark {
  background: #080c18;
}

.industry-hub-container {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0 28px;
}

.industry-hub-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.industry-hub-heading h2 {
  color: #111827;
  font-size: clamp(34px, 4.5vw, 58px);
  letter-spacing: -.045em;
}

.industry-hub-heading p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

.industry-hub-heading--dark h2 {
  color: #fff;
}

.industry-hub-heading--dark p {
  color: rgba(255, 255, 255, .56);
}

.industry-hub-grid {
  display: grid;
  gap: 24px;
}

.industry-hub-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-hub-grid--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.industry-hub-grid--five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.industry-hub-grid--five > :nth-child(1),
.industry-hub-grid--five > :nth-child(2),
.industry-hub-grid--five > :nth-child(3) {
  grid-column: span 2;
}

.industry-hub-grid--five > :nth-child(4),
.industry-hub-grid--five > :nth-child(5) {
  grid-column: span 3;
}

.industry-hub-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5eaf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.industry-hub-card:hover {
  transform: translateY(-5px);
  border-color: #cbd7ec;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .13);
}

.industry-hub-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce4ef;
}

.industry-hub-card__media > picture,
picture.industry-hub-card__media {
  display: block;
  width: 100%;
  height: 100%;
}

.industry-hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.industry-hub-card:hover .industry-hub-card__media img {
  transform: scale(1.035);
}

.industry-hub-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(3, 7, 18, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.industry-hub-card__body {
  padding: 24px 24px 26px;
}

.industry-hub-card__body h3 {
  color: #111827;
  font-size: 23px;
  line-height: 1.35;
}

.industry-hub-card__body p {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
}

.industry-hub-card__link {
  display: inline-flex;
  margin-top: 20px;
  color: #215ee8;
  font-size: 14px;
  font-weight: 750;
}

.industry-hub-card--dark {
  border-color: rgba(255, 255, 255, .09);
  background: #111827;
  box-shadow: none;
}

.industry-hub-card--dark:hover {
  border-color: rgba(93, 139, 255, .5);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .34);
}

.industry-hub-card--dark .industry-hub-card__body h3 {
  color: #fff;
}

.industry-hub-card--dark .industry-hub-card__body p {
  color: rgba(255, 255, 255, .58);
}

.industry-hub-card--dark .industry-hub-card__link {
  color: #7aa2ff;
}

.industry-hub-decision {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid #dfe6f1;
  border-radius: 20px;
  background: #dfe6f1;
}

.industry-hub-decision article {
  padding: 28px;
  background: #f8fafc;
}

.industry-hub-decision h3 {
  color: #111827;
  font-size: 18px;
}

.industry-hub-decision p {
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.industry-hub-note {
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  color: #526176;
  font-size: 14px;
  line-height: 1.75;
}

.industry-news-intro {
  margin-bottom: 64px;
}

.industry-news-library-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.industry-news-library-head__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.industry-news-library-head h2 {
  color: #fff;
  font-size: 25px;
}

.industry-news-library-head p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

@media (max-width: 980px) {
  .industry-hub-heading,
  .industry-hub-grid--three,
  .industry-hub-decision {
    grid-template-columns: 1fr;
  }

  .industry-hub-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-hub-grid--five > :nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .industry-hub-hero {
    min-height: 620px;
  }

  .industry-hub-hero__content {
    padding: 132px 20px 60px;
  }

  .industry-hub-section {
    padding: 68px 0;
  }

  .industry-hub-container {
    padding: 0 18px;
  }

  .industry-hub-heading,
  .industry-hub-grid--featured,
  .industry-hub-grid--five {
    grid-template-columns: 1fr;
  }

  .industry-hub-card__body {
    padding: 22px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-hub-card,
  .industry-hub-card__media img {
    transition: none;
  }
}
