/* =========================
   Industries
   Page-specific styles
   ========================= */

.split-heading {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.industries-showcase {
  padding-top: 90px;
}

.industry-list {
  border-top: 1px solid var(--line);
}

/* Industry listing rows */
.industry-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 320px 220px;
  align-items: center;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.industry-number {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.industry-row h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.industry-row p {
  margin: 0;
  color: var(--muted);
}

/* Real industry images
   Wide, shallow format matching the original design */
.industry-visual {
  position: relative;
  width: 320px;
  height: 120px;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
}

.industry-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* Disable the original placeholder decoration */
.industry-visual::before,
.industry-visual::after {
  content: none;
  display: none;
}

.industry-visual > span,
.industry-visual > small {
  display: none;
}

/* Industry detail pages */
.industry-detail-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  align-items: center;
  gap: 80px;
}

/* Retained for any pages still using the original callout */
.industry-callout {
  padding: 50px;
  color: var(--white);
  background: var(--ink);
  border-radius: 18px;
}

.industry-callout strong {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-light);
  font-size: 1.5rem;
}

/* Where we add value */
.editorial-panels {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.editorial-panels article {
  min-height: 260px;
  padding: 35px;
  background: var(--paper);
  border-top: 3px solid var(--blue);
}

.editorial-panels span {
  color: #aab7c3;
  font-size: 2rem;
}

/* Finance landscape */
.industry-landscape-factors {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.landscape-factor {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.landscape-factor h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landscape-factor p {
  margin: 0;
  color: #263746;
  font-size: 1rem;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 1100px) {
  .industry-row {
    grid-template-columns: 50px minmax(0, 1fr) 260px 180px;
    gap: 28px;
  }

  .industry-visual {
    width: 260px;
    height: 105px;
  }

  .industry-detail-grid {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .split-heading,
  .industry-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .industry-row {
    grid-template-columns: 50px minmax(0, 1fr) 220px;
  }

  .industry-row .card-link {
    grid-column: 2 / 4;
  }

  .industry-visual {
    width: 220px;
    height: 95px;
  }

  .editorial-panels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .industries-showcase {
    padding-top: 60px;
  }

  .industry-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .industry-number,
  .industry-row .card-link {
    grid-column: auto;
  }

  .industry-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
  }

  .editorial-panels {
    grid-template-columns: 1fr;
  }

  .industry-callout {
    padding: 32px;
  }
}
