/* ==========================================
   BIONIC SPORTS WIDGETS - FRONTEND
========================================== */


/* ==========================================
   NEWS GRID
========================================== */

.bsw-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.bsw-news-card {
    background: #ffffff;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.bsw-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.10);
}

.bsw-news-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.bsw-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform .4s ease;
}

.bsw-news-card:hover img {
    transform: scale(1.05);
}

.bsw-news-content {
    padding: 20px 22px 23px;
}

.bsw-news-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    opacity: .6;
    margin-bottom: 10px;
}

.bsw-news-content h3 {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.3;
}

.bsw-news-content h3 a {
    text-decoration: none;
    color: inherit;
}

.bsw-read-more {
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 950px) {
    .bsw-news-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .bsw-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================
   PREMIUM HERO SLIDER — RESPONSIVE EDITION
========================================== */
.bsw-premium-hero {
    position: relative;
    width: 100%;
    height: clamp(520px, 47vw, 760px);
    overflow: hidden;
    background: #06122b;
    color: #fff;
    isolation: isolate;
}
.bsw-premium-hero-track,
.bsw-premium-slide,
.bsw-premium-media,
.bsw-premium-media picture {
    width: 100%;
    height: 100%;
}
.bsw-premium-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .65s ease, visibility .65s ease;
}
.bsw-premium-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}
.bsw-premium-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.bsw-premium-media picture { display:block; }
.bsw-premium-image {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:var(--bsw-desktop-position, center center);
    transform:scale(1.025);
    transition:transform 7s cubic-bezier(.2,.6,.2,1);
}
.bsw-premium-slide.is-active .bsw-premium-image { transform:scale(1); }

.bsw-premium-shade {
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(90deg, rgba(3,12,35,var(--bsw-overlay-strength,.55)) 0%, rgba(3,12,35,.58) 34%, rgba(3,12,35,.12) 70%, rgba(3,12,35,0) 100%),
        linear-gradient(0deg, rgba(3,10,28,.88) 0%, rgba(3,10,28,.25) 36%, rgba(3,10,28,0) 68%);
}
.bsw-premium-inner {
    position:relative;
    z-index:5;
    width:min(1440px, calc(100% - 96px));
    height:100%;
    margin:0 auto;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
    padding-bottom:112px;
    box-sizing:border-box;
}
.bsw-premium-copy { width:min(820px, 72%); }
.bsw-premium-kicker {
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:15px;
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:1.6px;
    text-transform:uppercase;
    color:#fff;
}
.bsw-premium-kicker::before { content:""; width:28px; height:2px; background:currentColor; }
.bsw-premium-title {
    margin:0;
    max-width:850px;
    font-size:clamp(42px, 5.1vw, 78px);
    line-height:.98;
    font-weight:900;
    letter-spacing:-2.5px;
    color:#fff;
}
.bsw-premium-description {
    max-width:620px;
    margin:20px 0 0;
    font-size:clamp(15px, 1.35vw, 19px);
    line-height:1.55;
    color:rgba(255,255,255,.88);
}
.bsw-premium-link {
    display:inline-flex;
    align-items:center;
    gap:14px;
    margin-top:24px;
    padding-bottom:6px;
    color:#fff;
    font-size:13px;
    line-height:1;
    font-weight:800;
    letter-spacing:.7px;
    text-transform:uppercase;
    text-decoration:none;
    border-bottom:2px solid rgba(255,255,255,.9);
}
.bsw-premium-link:hover { gap:20px; color:#fff; }
.bsw-premium-counter {
    flex-shrink:0;
    display:flex;
    align-items:baseline;
    gap:8px;
    color:rgba(255,255,255,.62);
    font-size:13px;
    font-weight:700;
}
.bsw-current { font-size:25px; color:#fff; }
.bsw-premium-nav {
    position:absolute;
    z-index:20;
    left:50%;
    bottom:34px;
    width:min(1440px, calc(100% - 96px));
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:16px;
}
.bsw-premium-prev,.bsw-premium-next {
    appearance:none;
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(255,255,255,.42);
    border-radius:50%;
    background:rgba(3,12,35,.25);
    color:#fff;
    font-size:18px;
    cursor:pointer;
    backdrop-filter:blur(8px);
}
.bsw-premium-progress { position:relative; flex:1; height:2px; overflow:hidden; background:rgba(255,255,255,.28); }
.bsw-premium-progress-bar { position:absolute; inset:0 auto 0 0; width:0; background:#fff; }
.bsw-premium-copy > * { opacity:0; transform:translateY(20px); transition:opacity .65s ease, transform .65s ease; }
.bsw-premium-slide.is-active .bsw-premium-copy > * { opacity:1; transform:none; }
.bsw-premium-slide.is-active .bsw-premium-title { transition-delay:.10s; }
.bsw-premium-slide.is-active .bsw-premium-description { transition-delay:.18s; }
.bsw-premium-slide.is-active .bsw-premium-link { transition-delay:.24s; }

@media (min-width: 1600px) {
    .bsw-premium-hero { height:720px; }
}

@media (max-width: 1100px) {
    .bsw-premium-hero { height:clamp(520px, 62vw, 680px); }
    .bsw-premium-inner,.bsw-premium-nav { width:calc(100% - 56px); }
    .bsw-premium-copy { width:min(720px, 82%); }
}

@media (max-width: 767px) {
    .bsw-premium-hero {
        height:min(78svh, 720px);
        min-height:570px;
        max-height:none;
    }
    .bsw-premium-image {
        object-position:var(--bsw-mobile-position, center center);
        transform:none;
    }
    .bsw-premium-shade {
        background:
            linear-gradient(0deg, rgba(3,10,28,.96) 0%, rgba(3,10,28,.78) 28%, rgba(3,10,28,.28) 55%, rgba(3,10,28,.04) 78%),
            linear-gradient(90deg, rgba(3,10,28,.25), rgba(3,10,28,0));
    }
    .bsw-premium-inner {
        width:calc(100% - 32px);
        padding-bottom:92px;
        align-items:flex-end;
    }
    .bsw-premium-copy { width:100%; max-width:100%; }
    .bsw-premium-kicker { margin-bottom:10px; font-size:10px; }
    .bsw-premium-kicker::before { width:18px; }
    .bsw-premium-title {
        max-width:95%;
        font-size:clamp(34px, 10.5vw, 48px);
        line-height:1;
        letter-spacing:-1.4px;
    }
    .bsw-premium-description {
        max-width:92%;
        margin-top:12px;
        font-size:14px;
        line-height:1.45;
    }
    .bsw-premium-link { margin-top:18px; font-size:12px; }
    .bsw-premium-counter { display:none; }
    .bsw-premium-nav {
        width:calc(100% - 32px);
        bottom:24px;
        gap:11px;
    }
    .bsw-premium-prev,.bsw-premium-next { width:38px; height:38px; flex-basis:38px; }
}

@media (max-width: 480px) {
    .bsw-premium-hero { min-height:540px; }
}

@media (prefers-reduced-motion: reduce) {
    .bsw-premium-slide,.bsw-premium-image,.bsw-premium-copy > * { transition:none !important; }
    .bsw-premium-image { transform:none !important; }
    .bsw-premium-copy > * { opacity:1; transform:none; }
}

/* ==========================================
   HERO HEADING SIZE OPTIONS
========================================== */

.bsw-premium-copy.bsw-heading-small .bsw-premium-title {
    font-size: clamp(30px, 3vw, 48px);
}

.bsw-premium-copy.bsw-heading-medium .bsw-premium-title {
    font-size: clamp(36px, 4vw, 60px);
}

.bsw-premium-copy.bsw-heading-large .bsw-premium-title {
    font-size: clamp(42px, 5.1vw, 78px);
}

.bsw-premium-copy.bsw-heading-xlarge .bsw-premium-title {
    font-size: clamp(50px, 6.5vw, 100px);
}


/* ==========================================
   HERO TEXT ALIGNMENT OPTIONS
========================================== */

.bsw-premium-copy.bsw-align-left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.bsw-premium-copy.bsw-align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.bsw-premium-copy.bsw-align-right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.bsw-premium-copy.bsw-align-left .bsw-premium-description {
    margin-left: 0;
    margin-right: auto;
}

.bsw-premium-copy.bsw-align-center .bsw-premium-description {
    margin-left: auto;
    margin-right: auto;
}

.bsw-premium-copy.bsw-align-right .bsw-premium-description {
    margin-left: auto;
    margin-right: 0;
}

.bsw-premium-copy.bsw-align-left .bsw-premium-kicker {
    justify-content: flex-start;
}

.bsw-premium-copy.bsw-align-center .bsw-premium-kicker {
    justify-content: center;
}

.bsw-premium-copy.bsw-align-right .bsw-premium-kicker {
    justify-content: flex-end;
}

.bsw-premium-copy.bsw-align-center .bsw-premium-link {
    margin-left: auto;
    margin-right: auto;
}

.bsw-premium-copy.bsw-align-right .bsw-premium-link {
    margin-left: auto;
    margin-right: 0;
}


/* ==========================================
   MOBILE HEADING SIZE OPTIONS
========================================== */

@media (max-width: 767px) {

    .bsw-premium-copy.bsw-heading-small .bsw-premium-title {
        font-size: 28px;
    }

    .bsw-premium-copy.bsw-heading-medium .bsw-premium-title {
        font-size: 34px;
    }

    .bsw-premium-copy.bsw-heading-large .bsw-premium-title {
        font-size: 40px;
    }

    .bsw-premium-copy.bsw-heading-xlarge .bsw-premium-title {
        font-size: 48px;
    }

}