/* Industry solutions page */
.industry-page .industry-hero-link {
    width: fit-content;
    min-width: 168px;
    margin-top: 24px;
}

.industry-page #industry-title { margin: 0 0 24px; }

.industry-case-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 32px;
}

.industry-case-nav a {
    padding: 8px 16px;
    border: 1px solid #dbe5fd;
    border-radius: 999px;
    background: #f6f9ff;
    color: #264889;
    font-size: 15px;
    line-height: 1.45;
}

.industry-case-nav a:hover { background: #e9f1ff; }

/* Full-width industry sections */
.industry-case-list { border-top: 1px solid #e2e9fa; }

.industry-case {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(32px, 5.5vw, 80px);
    padding: clamp(34px, 4vw, 58px) 0;
    border-bottom: 1px solid #e2e9fa;
}

.industry-case:nth-child(even) .industry-case-copy { grid-column: 2; grid-row: 1; }
.industry-case:nth-child(even) .industry-case-photo { grid-column: 1; grid-row: 1; }

.industry-case:target .industry-case-heading h3 { color: var(--color-primary); }

.industry-case-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.industry-case-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    background: #edf3ff;
}

.industry-case-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.industry-case-heading img { width: 56px; height: 56px; flex: 0 0 56px; }
.industry-case-heading h3 { margin: 0; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.35; }

.industry-case-context {
    width: 100%;
    padding: 13px 16px;
    border-left: 3px solid #a5bcfc;
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, .68);
}

.industry-case-context h4 {
    margin: 0 0 4px;
    color: #31528e;
    font-size: 14px;
}

.industry-case-context p {
    margin: 0;
    color: #515866;
    font-size: 15px;
    line-height: 1.65;
}

.industry-case-capabilities {
    display: grid;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.industry-case-capabilities > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
}

.industry-case-capabilities dt { font-size: 16px; font-weight: 700; }
.industry-case-capabilities dd { margin: 0; color: #515866; font-size: 15px; line-height: 1.65; }

.industry-page .gl-industry-products {
    width: 100%;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e2e9fa;
    gap: 7px 9px;
}

.industry-page .gl-industry-products a {
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf3ff;
    color: #1749bf;
}

.industry-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #e4ebfc;
    border-radius: 20px;
    background: linear-gradient(108deg, #edf3ff, #f8faff);
}

.industry-contact-panel h2 { margin: 0 0 8px; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.35; }
.industry-contact-panel p { margin: 0; color: #515866; }
.industry-contact-panel .btn-pill { flex: 0 0 auto; min-width: 146px; margin: 0; }

.industry-page a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

@media (max-width: 1024px) {
    .industry-page .industry-hero-link { width: fit-content !important; margin-inline: 0; }
    .industry-page .industry-contact-panel .btn-pill { width: fit-content !important; margin: 0; }
}

@media (max-width: 800px) {
    .industry-case {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 22px;
    }
    .industry-case:nth-child(even) .industry-case-copy,
    .industry-case:nth-child(even) .industry-case-photo { grid-area: auto; }
    .industry-case-photo { max-height: 440px; }
}

@media (max-width: 640px) {
    .industry-page .industry-hero-link { margin-top: 16px; }
    .industry-case-nav { margin-bottom: 24px; gap: 8px; }
    .industry-case-nav a { font-size: 14px; padding: 7px 11px; }
    .industry-case-heading { gap: 10px; }
    .industry-case-heading img { width: 48px; height: 48px; flex-basis: 48px; }
    .industry-contact-panel { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 1024px) {
    .industry-page #solutions,
    .industry-page .industry-case { scroll-margin-top: 64px; }
}
@media (max-width: 640px) {
    .industry-page #solutions,
    .industry-page .industry-case { scroll-margin-top: 28px; }
}
