/* Industry pages reserve their bottom-right cell for a stationary contact tile. */
.sptg-themed .home .tiles.industries { margin: 0; overflow: visible; cursor: auto; }
.sptg-themed .home .sptg-industry-cards { --industry-gap: 24px; --industry-columns: 3; display: grid; grid-template-columns: repeat(var(--industry-columns), minmax(0, 1fr)); gap: var(--industry-gap); width: 100%; margin: 0; }
.sptg-themed .home .sptg-industry-cards > [class*="col-"] { float: none; width: auto; min-width: 0; padding: 0; margin: 0; }
.sptg-themed .home .sptg-industry-cards.sptg-industries-carousel { display: block; }
.sptg-themed .home .sptg-industry-board { position: relative; }
.sptg-themed .home .sptg-industry-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.sptg-themed .home .sptg-industry-viewport::-webkit-scrollbar { display: none; }
.sptg-themed .home .sptg-industry-viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.sptg-themed .home .sptg-industry-track { display: flex; align-items: stretch; }
.sptg-themed .home .sptg-industry-page { display: grid; flex: 0 0 100%; min-width: 0; grid-template-columns: repeat(var(--industry-columns), minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); gap: var(--industry-gap); scroll-snap-align: start; scroll-snap-stop: always; }
.sptg-themed .home .sptg-industry-card { min-width: 0; }
.sptg-themed.sptg-wide-desktop .home .industries .sptg-industry-cards .sptg-industry-card .tile { width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; isolation: isolate; z-index: 0; }
.sptg-themed .home .industries .sptg-industry-cards .tile-inner,
.sptg-themed .home .industries .sptg-industry-cards .tile-img-container { position: absolute; inset: 0; width: 100% !important; height: 100% !important; margin: 0; padding: 0; display: block; box-sizing: border-box; }
.sptg-themed .home .industries .sptg-industry-cards .tile-img-container picture { display: block; width: 100%; height: 100%; }
.sptg-themed .home .industries .sptg-industry-cards .tile-img-container img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; margin: 0; }
.sptg-themed .home .industries .sptg-industry-cards .tile-caption { top: calc(100% - 54px) !important; padding: 0 18px; transition: top 640ms ease; }
.sptg-themed .home .industries .sptg-industry-cards .tile-caption h3 { padding: 13px 0; font-size: 22px; line-height: 28px; }
.sptg-themed .home .industries .sptg-industry-cards .tile-caption h5 { padding: 0; line-height: 20px; margin: 4px 0 10px; }
.sptg-themed .home .industries .sptg-industry-cards .tile-caption ul { padding-left: 15px; }
.sptg-themed .home .industries .sptg-industry-cards .tile-caption li { line-height: 20px; padding-bottom: 6px; }
.sptg-themed .home .industries .sptg-industry-cards .tile:focus-within .tile-caption,
.sptg-themed .home .industries .sptg-industry-cards .is-expanded .tile-caption { top: 0 !important; }
@media (hover: hover) {
    .sptg-themed .home .industries .sptg-industry-cards .tile:hover .tile-caption { top: 0 !important; }
}
.sptg-themed .home .industries .sptg-industry-cards .tile-caption a:focus-visible { outline: 2px solid #79d5ef; outline-offset: 3px; }
.sptg-themed .home .industries .sptg-industry-cards .tile-caption a:not(.tile-item-readmore-btn):not(.tile-item-readmore-btn-mobile):hover { text-decoration: underline; text-underline-offset: 4px; }
.sptg-themed .home .industries .sptg-industries-carousel .sptg-industry-contact { float: none; width: calc((100% - (var(--industry-columns) - 1) * var(--industry-gap)) / var(--industry-columns)); height: calc((100% - var(--industry-gap)) / 2); position: absolute; right: 0; bottom: 0; margin: 0; padding: 0 !important; z-index: 1; }
.sptg-themed.sptg-wide-desktop .home .industries .sptg-industry-cards .sptg-industry-contact .tile.empty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; width: 100% !important; height: 100% !important; margin: 0 !important; min-height: 0; aspect-ratio: auto; padding: 20px; border: 1px solid #cbd9df; background: #f1f6f8; box-sizing: border-box; z-index: 0; }
.sptg-themed .home .industries .sptg-industry-cards .sptg-industry-contact .tile-head { padding: 0; text-align: center; font-size: 24px; line-height: 1.3; }
.sptg-themed .home .industries .sptg-industry-cards .sptg-industry-contact .tile-body { padding: 0; }
.sptg-themed .home .industries .sptg-industry-cards .sptg-industry-contact .tile-body img { width: 52px; height: 38px; object-fit: contain; margin: 0; }
.sptg-themed .home .industries .sptg-industry-cards .sptg-industry-contact .tile-footer { display: none; }
.sptg-themed .home .industries .sptg-industry-cards .sptg-industry-contact .sptg-industry-contact-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 14px; line-height: 22px; }
.sptg-themed .home .sptg-industry-controls { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; }
.sptg-themed .home .sptg-industry-controls button { display: grid; place-items: center; flex: none; width: 36px; height: 44px; padding: 0; border: 0; background: transparent; color: #1688b4; font-size: 24px; cursor: pointer; }
.sptg-themed .home .sptg-industry-controls button:focus-visible { outline: 2px solid #1688b4; outline-offset: -3px; }
.sptg-themed .home .sptg-industry-controls .sptg-industry-pause { font-size: 18px; margin-left: 8px; border-left: 1px solid #b7c8d2; }
.sptg-themed .home .sptg-industry-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.sptg-themed .home .sptg-industry-dots button { width: 22px; }
.sptg-themed .home .sptg-industry-dots button[aria-pressed="true"] { width: 24px; }
.sptg-themed .home .sptg-industry-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #74838d; }
.sptg-themed .home .sptg-industry-dots button[aria-pressed="true"]::before { width: 10px; height: 10px; border: 1px solid #1688b4; background: transparent; }
.sptg-themed.sptg-dark.sptg-wide-desktop .home .industries .sptg-industry-cards .sptg-industry-contact .tile.empty { background: #14232f; border-color: #2b414f; }
.sptg-dark .home .sptg-industry-controls button { color: #79d5ef; }
.sptg-dark .home .sptg-industry-dots button::before { background: #889caa; }
.sptg-dark .home .sptg-industry-dots button[aria-pressed="true"]::before { border-color: #79d5ef; background: transparent; }
.sptg-dark .home .sptg-industry-controls .sptg-industry-pause { border-color: #405563; }
.sptg-dark .home .sptg-industry-controls button:focus-visible { outline-color: #79d5ef; }
@media (min-width: 1600px) { .sptg-themed .home .sptg-industry-cards { --industry-columns: 4; } }
@media (min-width: 768px) and (max-width: 991px) { .sptg-themed .home .sptg-industry-cards { --industry-columns: 2; } }
@media (max-width: 767px) {
    .sptg-themed .home > .industries-section { padding-bottom: 40px; margin-bottom: 0; }
    .sptg-themed .home .sptg-industry-cards { --industry-columns: 1; --industry-gap: 20px; }
    /* Use intrinsic photo dimensions instead of percentage-height cycles. */
    .sptg-themed .home .sptg-industry-track { align-items: flex-start; }
    .sptg-themed .home .sptg-industry-page { display: block; height: auto; min-height: 0; }
    .sptg-themed.sptg-wide-desktop .home .industries .sptg-industry-cards .sptg-industry-card .tile { height: auto !important; aspect-ratio: auto; }
    .sptg-themed .home .industries .sptg-industry-cards .tile-inner,
    .sptg-themed .home .industries .sptg-industry-cards .tile-img-container,
    .sptg-themed .home .industries .sptg-industry-cards .tile-img-container picture { position: static; width: 100% !important; height: auto !important; }
    .sptg-themed .home .industries .sptg-industry-cards .tile-img-container img { width: 100% !important; height: auto !important; max-width: 100%; object-fit: contain; }
    .sptg-themed .home .industries .sptg-industries-carousel .sptg-industry-contact { position: static; width: 100%; height: auto; aspect-ratio: auto; }
    .sptg-themed.sptg-wide-desktop .home .industries .sptg-industry-cards .sptg-industry-contact .tile.empty { height: auto !important; aspect-ratio: 4 / 3; }
    .sptg-themed .home .industries .sptg-industry-cards .tile-caption h3 { font-size: clamp(17px, 5vw, 22px); }
    .sptg-themed .home .sptg-industry-controls { display: grid; grid-template-columns: 1fr 36px 36px 36px 1fr; gap: 0 8px; }
    .sptg-themed .home .sptg-industry-dots { grid-column: 1 / -1; grid-row: 1; }
    .sptg-themed .home .sptg-industry-previous { grid-column: 2; grid-row: 2; }
    .sptg-themed .home .sptg-industry-next { grid-column: 4; grid-row: 2; }
    .sptg-themed .home .sptg-industry-controls .sptg-industry-pause { grid-column: 3; grid-row: 2; margin: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .sptg-themed .home .industries .sptg-industry-cards .tile-caption { transition: none; } }
