.tydal-banner-slider {
    --banner-accent: #36a6c5;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0;
    padding: clamp(18px, 2.2vw, 30px);
    overflow: hidden;
    color: #fff;
    background: #071e30;
}

.tydal-banner-viewport {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: #0b2c42;
    box-shadow: 0 18px 50px rgba(4, 21, 34, .24);
}

.tydal-banner-track {
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: transform .55s cubic-bezier(.22, .74, .2, 1);
    will-change: transform;
}

.tydal-banner-slide {
    position: relative;
    display: grid;
    flex: 0 0 100%;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    min-width: 0;
    min-height: clamp(300px, 28vw, 410px);
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 12%, rgba(54, 166, 197, .2), transparent 34%),
        linear-gradient(135deg, #0b2c42 0%, #092337 100%);
}

.tydal-banner-slide-2 { --banner-accent: #78b35a; }
.tydal-banner-slide-3 { --banner-accent: #e5a848; }

.tydal-banner-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, .62);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 18px);
}

.tydal-banner-media::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(255, 255, 255, .28);
    border-radius: 13px;
}

.tydal-banner-media.has-image::before {
    display: none;
}

.tydal-banner-media.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 62%, rgba(7, 30, 48, .28) 100%),
        linear-gradient(0deg, rgba(7, 30, 48, .2), transparent 46%);
}

.tydal-banner-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tydal-banner-media span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tydal-banner-media span::before {
    content: "";
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 0 2px, transparent 3px);
}

.tydal-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(30px, 4vw, 64px);
}

.tydal-banner-content::before {
    content: "";
    position: absolute;
    inset: 12% auto 12% 0;
    width: 2px;
    border-radius: 2px;
    background: var(--banner-accent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--banner-accent) 62%, transparent);
}

.tydal-banner-kicker {
    margin-bottom: 13px;
    color: var(--banner-accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.tydal-banner-content h2 {
    max-width: 520px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(32px, 4vw, 56px);
    line-height: .98;
    letter-spacing: -.04em;
}

.tydal-banner-content p {
    max-width: 440px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.5;
}

.tydal-banner-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 16px;
    min-height: 46px;
    box-sizing: border-box;
    padding: 10px 17px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    font-size: 13px;
    font-weight: 800;
}

.tydal-banner-cta b {
    color: var(--banner-accent);
    font-size: 18px;
}

.tydal-banner-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    max-width: 1500px;
    margin: 17px auto 0;
}

.tydal-banner-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tydal-banner-dots button {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
}

.tydal-banner-dots button[aria-current="true"] {
    width: 48px;
    background: #36a6c5;
}

.tydal-banner-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tydal-banner-count {
    margin-right: 8px;
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .08em;
}

.tydal-banner-count b { color: #fff; }

.tydal-banner-controls button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    font-size: 17px;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.tydal-banner-controls button:hover {
    border-color: #36a6c5;
    background: #36a6c5;
    transform: translateY(-2px);
}

.tydal-banner-controls button:focus-visible,
.tydal-banner-dots button:focus-visible {
    outline: 3px solid #72d0e9;
    outline-offset: 3px;
}

@media (max-width: 800px) {
    .tydal-banner-slider {
        padding: 14px 14px 18px;
    }

    .tydal-banner-slide {
        grid-template-columns: 1fr;
        min-height: 440px;
    }

    .tydal-banner-media {
        min-height: 218px;
    }

    .tydal-banner-media::before { inset: 15px; }

    .tydal-banner-content {
        justify-content: flex-start;
        padding: 24px 22px 28px;
    }

    .tydal-banner-content::before {
        inset: 0 22px auto;
        width: auto;
        height: 2px;
    }

    .tydal-banner-content h2 {
        margin-bottom: 10px;
        font-size: clamp(28px, 9vw, 38px);
    }

    .tydal-banner-content p {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .tydal-banner-navigation {
        margin-top: 13px;
    }

    .tydal-banner-count { display: none; }
}

@media (max-width: 480px) {
    .tydal-banner-slide { min-height: 405px; }
    .tydal-banner-media { min-height: 185px; }
    .tydal-banner-content { padding: 21px 18px 24px; }
    .tydal-banner-content p { display: none; }
    .tydal-banner-cta { margin-top: 4px; }
    .tydal-banner-controls button { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .tydal-banner-track,
    .tydal-banner-controls button,
    .tydal-banner-dots button {
        transition: none;
    }
}
