/* ============================================================
   Industry Slider — Public CSS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
 @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..900;1,9..40,100..900&display=swap');

.is-slider {
    width: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 0;
    position: relative;
}

/* Viewport — clips overflow */
.is-viewport {
    overflow: hidden;
    width: 100%;
}

/* Track — flex row of slides */
.is-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Slide — width set by JS */
.is-slide {
    flex-shrink: 0;
    padding: 0 6px;
}

/* Portrait card */
.is-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background-color: #2a2a3a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.3s ease;
}
.is-card:hover { transform: scale(1.02); }

/* Overlay */
.is-overlay {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
}

/* Centered name */
.is-card-name {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(13px, 1.4vw, 18px);
    font-weight: 700;
    text-align: center;
    padding: 12px 14px;
    font-family: "DM Sans", sans-serif;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    pointer-events: none;
}

/* Centered state — when fewer cards than visible slots */
.is-track--centered {
    justify-content: center;
}

/* ============================================================
   Responsive handled by JS data attributes
   ============================================================ */
@media (max-width: 600px) {
    .is-slide { padding: 0 4px; }
    .is-card { border-radius: 10px; }
    .is-card-name { font-size: 13px; padding: 8px 10px; }
}
