/* common/industries-grid.css */
.industries-page-shell .industries-served-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 95, 63, 0.05) 0%, rgba(138, 143, 135, 0.08) 35%, rgba(255, 255, 255, 0.95) 70%, rgba(0, 95, 63, 0.03) 100%);
    padding-top: 100px;
    padding-bottom: 4.5rem;
}

.industries-page-shell .industries-served-header {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    text-align: center;
}



.industries-page-shell .industries-served-subtitle {
    margin: 0 auto;
    max-width: 780px;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #475569;
    text-align: center;
}

.industries-page-shell .industries-served-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: transparent;
}

.industries-page-shell .industries-served-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
}

.industries-page-shell .industries-served-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .industries-page-shell .industries-served-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .industries-page-shell .industries-served-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .industries-page-shell .industries-served-gallery {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.industries-page-shell .industry-spot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 360px;
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
    will-change: transform, box-shadow;
    overflow: hidden;
}

.industries-page-shell .industry-card-link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    padding: 16px;
    overflow: hidden;
}

.industries-page-shell .industry-spot__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    flex: 1;
}

.industries-page-shell .industry-spot.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.industries-page-shell .industry-spot:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 142, 90, 0.18);
    transform: translateY(-8px);
}

.industries-page-shell .industry-spot:hover {
    transform: translateY(-8px);
    border-color: #0f766e;
    box-shadow: 0 46px 110px rgba(15, 23, 42, 0.2), 0 22px 50px rgba(15, 118, 110, 0.14);
    cursor: pointer;
}

.industries-page-shell .industry-spot__media {
    position: relative;
    width: 100%;
    height: 192px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 16px;
    background: #f8fafb;
    flex-shrink: 0;
}

.industries-page-shell .industry-spot__media img,
.industries-page-shell .industry-spot__media-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.industries-page-shell .industry-spot__media-fallback {
    background: #eef2ff;
}

.industries-page-shell .industry-spot__media img {
    transition: transform 300ms ease;
}

.industries-page-shell .industry-spot:hover .industry-spot__media img {
    transform: scale(1.05);
}

.industries-page-shell .industry-spot__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.industries-page-shell .industry-spot__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    color: #111827;
    transition: color 300ms ease;
    word-break: keep-all;
}

.industries-page-shell .industry-spot:hover .industry-spot__title {
    color: #0f766e;
}

.industries-page-shell .industry-spot__description {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.industries-page-shell .industry-spot__cta {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    color: #0f766e;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 300ms ease, transform 300ms ease;
    will-change: opacity, transform;
    pointer-events: none;
}

.industries-page-shell .industry-spot:hover .industry-spot__cta {
    opacity: 1;
    transform: translateX(8px);
}

@media (max-width: 1024px) {
    .industries-page-shell .industry-card-link {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .industries-page-shell .industry-card-link {
        padding: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industries-page-shell .industry-spot,
    .industries-page-shell .industry-spot__icon img,
    .industries-page-shell .industry-spot__title,
    .industries-page-shell .industry-spot__cta {
        transition: none !important;
    }

    .industries-page-shell .industry-spot {
        opacity: 1 !important;
        transform: none !important;
    }
}
