/* ==========================================================================
   Macaw Bytes - Industries listing + detail (corporate dark mood)
   body.page-industries / body.page-industry
   ========================================================================== */

.ind-hero {
  position: relative;
  min-height: min(68svh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background:
    linear-gradient(165deg, #0a1218 0%, #0b0d10 45%, #0c1410 100%);
}

.ind-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 14% 22%, rgba(74, 168, 224, 0.28), transparent 62%),
    radial-gradient(ellipse 48% 45% at 88% 16%, rgba(46, 174, 78, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 95%, rgba(240, 180, 41, 0.12), transparent 55%);
}

.ind-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ind-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  font-size: 0.85rem;
  color: var(--home-muted);
}

.ind-breadcrumb a {
  color: var(--home-muted) !important;
  text-decoration: none;
}

.ind-breadcrumb a:hover {
  color: var(--home-green) !important;
}

.ind-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  margin: 0.65rem auto 1.15rem;
  max-width: 16ch;
}

.ind-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--home-muted);
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}

.ind-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ind-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 100%;
}

.ind-card:hover {
  border-color: rgba(46, 174, 78, 0.4);
  transform: translateY(-2px);
}

.ind-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--home-blue);
  margin-bottom: 0.85rem;
}

.ind-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.ind-card__title a {
  color: var(--home-ink) !important;
  text-decoration: none;
}

.ind-card__title a:hover {
  color: var(--home-green) !important;
}

.ind-card__desc {
  margin: 0 0 1.15rem;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.ind-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--home-green) !important;
  text-decoration: none;
}

.ind-card:hover .ind-card__link i {
  transform: translateX(3px);
}

.ind-card__link i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

/* Detail */
.ind-detail {
  max-width: 46rem;
  margin-inline: auto;
}

.ind-detail h2 {
  margin: 0.4rem 0 1rem;
}

.ind-detail__lead {
  margin: 0 0 1rem;
  color: var(--home-ink);
  font-size: 1.08rem;
  line-height: 1.7;
}

.ind-detail__body {
  margin: 0 0 1.35rem;
  color: var(--home-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.ind-detail__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.ind-detail__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ind-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-green);
}

.ind-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ind-detail__related {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ind-detail__related a {
  color: var(--home-green) !important;
}

@media (max-width: 980px) {
  .ind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ind-hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .ind-hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .ind-hero__actions .btn,
  .ind-detail__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ind-grid {
    grid-template-columns: 1fr;
  }

  .ind-card:hover {
    transform: none;
  }
}
