/* Homepage industry showcase only. Uses the existing Profilent colour tokens. */
.profilent-industry-showcase .section-heading {
  max-width: 860px; margin: 0 auto clamp(24px, 3vw, 40px); text-align: center;
}
.profilent-industry-showcase .section-heading h2,
.profilent-industry-showcase .section-heading p { max-width: 100%; margin-inline: auto; }
.profilent-industry-showcase .section-heading p { max-width: 720px; }
.profilent-industry-showcase .section-heading .eyebrow { justify-content: center; }
.profilent-industry-showcase .pi-showcase { --pi-accent: var(--color-teal-dark, #087f89); --pi-border: #dce8f0; --pi-ink: var(--color-navy, #10263d); }
/* Progressive enhancement: with JavaScript disabled, every industry remains readable. */
.profilent-industry-showcase .pi-industry-choice { display: none; }
.profilent-industry-showcase .pi-industry-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; min-width: 0; }
.profilent-industry-showcase .pi-industry-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; padding: 24px; border: 1px solid var(--pi-border); border-radius: 18px; background: #fff; }
.profilent-industry-showcase .pi-industry-panel[hidden] { display: none !important; }
.profilent-industry-showcase .pi-industry-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; color: var(--pi-accent); background: #e5f8f8; font-size: 22px; line-height: 1; overflow: hidden; }
.profilent-industry-showcase .pi-industry-icon svg,
.profilent-industry-showcase .pi-industry-icon img { display: block; width: 25px; height: 25px; object-fit: contain; }
.profilent-industry-showcase .pi-industry-icon-large { flex: 0 0 auto; width: 66px; height: 66px; border-radius: 16px; font-size: 33px; }
.profilent-industry-showcase .pi-industry-icon-large svg,
.profilent-industry-showcase .pi-industry-icon-large img { width: 38px; height: 38px; }
.profilent-industry-showcase .pi-industry-panel h3 { color: var(--pi-ink); font-size: clamp(1.4rem,2.25vw,1.95rem); letter-spacing: -.035em; line-height: 1.22; overflow-wrap: anywhere; }
.profilent-industry-showcase .pi-industry-panel p { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--color-ink-soft); overflow-wrap: anywhere; white-space: pre-line; }
.profilent-industry-showcase .pi-industry-panel-image { width: 100%; }
.profilent-industry-showcase .pi-industry-panel-image img { display: block; width: 100%; max-height: 200px; object-fit: contain; border-radius: 10px; }
.profilent-industry-showcase .pi-industry-link { display: inline-flex; gap: 10px; align-items: center; align-self: flex-start; margin-top: auto; padding-block: 4px; color: var(--pi-accent); font-size: .92rem; font-weight: 750; border-bottom: 1px solid var(--color-teal); line-height: 1.5; overflow-wrap: anywhere; }
.profilent-industry-showcase .pi-industry-link:hover { color: var(--pi-ink); }
.profilent-industry-showcase .pi-industry-link span { flex: none; font-size: 1.15em; transition: transform .18s ease; }
.profilent-industry-showcase .pi-industry-link:hover span { transform: translateX(3px); }
/* Selected central tile with equal-weight compact selectors around it. */
.profilent-industry-showcase .pi-showcase.is-ready { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr); grid-template-rows: repeat(var(--pi-rows),minmax(66px,auto)); gap: 12px 20px; align-items: stretch; }
.profilent-industry-showcase .is-ready .pi-industry-choice { grid-column: var(--pi-col); grid-row: var(--pi-row); display: flex; align-items: center; gap: 12px; text-align: left; min-width: 0; width: 100%; padding: 12px 14px; background: rgba(255,255,255,.94); border: 1px solid var(--pi-border); border-radius: 13px; color: var(--pi-ink); cursor: pointer; box-shadow: 0 4px 15px rgba(16,43,78,.04); transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.profilent-industry-showcase .pi-industry-choice:hover,
.profilent-industry-showcase .pi-industry-choice.is-selected { background: #edfafa; border-color: var(--color-teal); box-shadow: 0 5px 16px rgba(9,181,193,.08); }
.profilent-industry-showcase .pi-industry-choice.is-selected .pi-industry-icon { background: #d4f3f4; }
.profilent-industry-showcase .pi-industry-name { min-width: 0; flex: 1; font-size: .88rem; font-weight: 740; line-height: 1.35; overflow-wrap: anywhere; }
.profilent-industry-showcase .pi-industry-arrow { flex: none; color: var(--pi-accent); font-size: 1.2rem; line-height: 1; }
.profilent-industry-showcase .is-ready .pi-industry-details { grid-column: 2; grid-row: 1 / span var(--pi-rows); display: flex; align-items: center; align-self: stretch; min-width: 0; }
.profilent-industry-showcase .is-ready .pi-industry-panel { width: 100%; min-height: min(100%, 320px); padding: clamp(24px,3vw,38px); gap: 17px; background: linear-gradient(140deg,#fff 0%,#effbfc 100%); border: 1px solid var(--color-teal); border-radius: 20px; box-shadow: 0 14px 34px rgba(9,181,193,.07); }
.profilent-industry-showcase .is-ready .pi-industry-panel .pi-industry-link { margin-top: 10px; }
@media (max-width: 980px) {
  .profilent-industry-showcase .pi-showcase.is-ready { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; gap: 10px; }
  .profilent-industry-showcase .is-ready .pi-industry-choice { grid-column: auto; grid-row: auto; min-height: 64px; }
  .profilent-industry-showcase .is-ready .pi-industry-details { grid-column: 1/-1; grid-row: auto; }
  .profilent-industry-showcase .is-ready .pi-industry-panel { min-height: 0; }
  .profilent-industry-showcase .pi-industry-details { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .profilent-industry-showcase .pi-showcase.is-ready { grid-template-columns: minmax(0,1fr); }
  .profilent-industry-showcase .pi-industry-details { grid-template-columns: minmax(0,1fr); }
  .profilent-industry-showcase .is-ready .pi-industry-details { grid-column: 1; }
  .profilent-industry-showcase .is-ready .pi-industry-panel { padding: 22px; gap: 12px; }
  .profilent-industry-showcase .is-ready .pi-industry-choice { min-height: 60px; padding: 10px 14px; }
  .profilent-industry-showcase .pi-industry-name { font-size: .95rem; }
  .profilent-industry-showcase .section-heading { text-align: left; }
  .profilent-industry-showcase .section-heading .eyebrow { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .profilent-industry-showcase .pi-industry-choice, .profilent-industry-showcase .pi-industry-link span { transition: none; }
}
