/* SteelToe Case Study Slider v1.1.0 — case-slider.css */

/* ── Wrapper ── */
.stl-cs-wrap {
    background-color: #0f1923;
    padding: 72px 40px 64px;
    box-sizing: border-box;
    font-family: inherit;
}

/* ── Header ── */
.stl-cs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.stl-cs-kicker-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.stl-cs-kicker-dash {
    width: 36px;
    height: 2px;
    background-color: #4a9fd5;
    flex-shrink: 0;
    display: inline-block;
}

.stl-cs-kicker {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #4a9fd5;
}

.stl-cs-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
    letter-spacing: .02em;
    margin: 0;
}

.stl-cs-all-link {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #4a9fd5;
    padding-bottom: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 8px;
    transition: color .2s ease, border-color .2s ease;
}
.stl-cs-all-link:hover { color: #4a9fd5; }

/* ── Stage ── */
.stl-cs-stage { position: relative; }

.stl-cs-slide {
    display: none;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

.stl-cs-slide.stl-cs-slide--active {
    display: grid;
    animation: stl-fadein .35s ease;
}

@keyframes stl-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Image box ── */
.stl-cs-img-box {
    background-color: #1a2535;
    border: 1px solid #243040;
    border-radius: 6px;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stl-cs-img-box::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 18px;
    height: 18px;
    border-top: 2px solid #4a9fd5;
    border-left: 2px solid #4a9fd5;
    pointer-events: none;
    z-index: 2;
}

.stl-cs-img-box::after {
    content: '';
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    border-bottom: 2px solid #4a9fd5;
    border-right: 2px solid #4a9fd5;
    pointer-events: none;
    z-index: 2;
}

.stl-cs-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.stl-cs-img-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.stl-cs-img-label-wrap {
    border: 1px solid #4a9fd5;
    padding: 7px 18px;
}

.stl-cs-img-label {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4a9fd5;
}

/* ── Content ── */
.stl-cs-content {
    display: flex;
    flex-direction: column;
}

.stl-cs-stat {
    font-size: 64px;
    font-weight: 900;
    color: #4a9fd5;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -.02em;
    font-family: inherit;
}

.stl-cs-stat-label {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6b8399;
    margin-bottom: 28px;
}

.stl-cs-quote {
    font-size: 18px;
    color: #d4dde8;
    line-height: 1.65;
    margin: 0 0 20px;
    font-weight: 400;
    font-family: inherit;
    font-style: normal;
    border: none;
    padding: 0;
    background: none;
}

.stl-cs-attr {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6b8399;
}

.stl-cs-case-link {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #4a9fd5;
    text-decoration: none;
    border-bottom: 1px solid #4a9fd5;
    padding-bottom: 2px;
    transition: opacity .2s;
}
.stl-cs-case-link:hover { opacity: .75; }

/* ── Bottom ── */
.stl-cs-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 36px;
    flex-wrap: wrap;
    gap: 12px;
}

.stl-cs-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.stl-cs-dot {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: #243040;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color .2s ease;
    flex-shrink: 0;
}

.stl-cs-dot.active { background-color: #4a9fd5; }
.stl-cs-dot:focus-visible { outline: 2px solid #4a9fd5; outline-offset: 2px; }

.stl-cs-navs { display: flex; gap: 6px; }

.stl-cs-nav-btn {
    width: 52px;
    height: 52px;
    background-color: #4a9fd5;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color .2s ease;
    flex-shrink: 0;
}
.stl-cs-nav-btn:hover         { background-color: #357fb5; }
.stl-cs-nav-btn:focus-visible  { outline: 2px solid #ffffff; outline-offset: 2px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .stl-cs-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .stl-cs-slide.stl-cs-slide--active {
        grid-template-columns: 1fr;
    }
    .stl-cs-img-box { height: 240px; }
    .stl-cs-stat { font-size: 48px; }
    .stl-cs-wrap { padding: 48px 20px 48px; }
    .stl-cs-title { font-size: 2rem; }
    .stl-cs-header { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
    .stl-cs-stat { font-size: 40px; }
    .stl-cs-quote { font-size: 15px; }
    .stl-cs-nav-btn { width: 44px; height: 44px; font-size: 16px; }
    .stl-cs-title { font-size: 1.7rem; }
}
