/* =========================================================
   OUR CLUB
   HOME NEWS SLIDER
========================================================= */


/* =========================================================
   SLIDER
========================================================= */

.featured-news-slider {
    position: relative;

    width: 100%;

    margin: 0 0 42px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            var(--club-primary),
            var(--club-secondary)
        );

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .12);

    isolation: isolate;
}


/* =========================================================
   SLIDES
========================================================= */

.featured-news-slides {
    position: relative;

    width: 100%;

    min-height: 420px;
}


.featured-news-slide {
    position: absolute;

    inset: 0;

    z-index: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}


.featured-news-slide.is-active {
    position: relative;

    z-index: 1;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   LINK
========================================================= */

.featured-news-link {
    position: relative;

    display: block;

    width: 100%;
    height: 420px;

    overflow: hidden;

    color: var(--club-white);

    text-decoration: none;
}


/* =========================================================
   IMAGE
========================================================= */

.featured-news-image {
    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;
}


.featured-news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.01);

    transition:
        transform 7s ease;
}


.featured-news-slide.is-active
.featured-news-image img {
    transform: scale(1.045);
}


/* =========================================================
   OVERLAY
========================================================= */

.featured-news-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(255, 255, 255, .08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .02) 0%,
            rgba(0, 0, 0, .10) 32%,
            rgba(0, 0, 0, .30) 58%,
            rgba(0, 0, 0, .82) 100%
        );
}


/* =========================================================
   CONTENT
========================================================= */

.featured-news-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 3;

    padding:
        38px
        46px
        42px;
}


/* =========================================================
   LABEL
========================================================= */

.featured-news-label {
    display: inline-flex;

    align-items: center;

    min-height: 32px;

    padding:
        0
        14px;

    border: 1px solid rgba(255, 255, 255, .18);

    border-radius: 999px;

    background:
        rgba(0, 0, 0, .28);

    color: var(--club-white);

    font-size: .72rem;

    line-height: 1;

    font-weight: 850;

    letter-spacing: .05em;

    text-transform: uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   TITLE
========================================================= */

.featured-news-title {
    max-width: 850px;

    margin:
        12px
        0
        0;

    color: var(--club-white);

    font-size:
        clamp(
            2rem,
            4vw,
            3.5rem
        );

    line-height: 1.03;

    font-weight: 900;

    letter-spacing: -.045em;

    text-wrap: balance;

    text-shadow:
        0 8px 28px rgba(0, 0, 0, .30);
}


/* =========================================================
   META
========================================================= */

.featured-news-meta {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 18px;
}


.featured-news-meta time {
    color:
        rgba(255, 255, 255, .78);

    font-size: .76rem;

    line-height: 1;

    font-weight: 700;
}


/* =========================================================
   READ MORE
========================================================= */

.featured-news-read {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--club-white);

    font-size: .82rem;

    font-weight: 850;
}


.featured-news-read > span {
    color: var(--club-accent);

    font-size: 1.15rem;

    line-height: 1;

    transition:
        transform .2s ease;
}


.featured-news-link:hover
.featured-news-read > span {
    transform:
        translateX(4px);
}


/* =========================================================
   NO IMAGE
========================================================= */

.featured-news-no-image {
    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 25%,
            color-mix(
                in srgb,
                var(--club-accent) 22%,
                transparent
            ),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--club-primary),
            var(--club-secondary)
        );
}


/* =========================================================
   NO IMAGE PATTERN
========================================================= */

.featured-news-pattern {
    position: absolute;

    inset: 0;

    opacity: .12;

    background:
        linear-gradient(
            135deg,
            transparent 0 46%,
            rgba(255, 255, 255, .16) 46% 47%,
            transparent 47% 100%
        );

    background-size: 80px 80px;

    transform:
        rotate(-8deg)
        scale(1.4);
}


/* =========================================================
   NO IMAGE LOGO
========================================================= */

.featured-news-no-image-logo {
    position: absolute;

    top: 50%;
    right: 8%;

    width: 250px;
    height: 250px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform:
        translateY(-50%)
        rotate(5deg);

    opacity: .16;

    pointer-events: none;
}


.featured-news-no-image-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        saturate(.75)
        brightness(1.15)
        drop-shadow(
            0 20px 35px
            rgba(0, 0, 0, .22)
        );
}


/* =========================================================
   NAVIGATION
========================================================= */

.featured-news-prev,
.featured-news-next {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(255, 255, 255, .20);

    border-radius: 50%;

    background:
        rgba(0, 0, 0, .28);

    color: var(--club-white);

    font-size: 2rem;

    line-height: 1;

    cursor: pointer;

    transform:
        translateY(-50%);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .16);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    transition:
        background .2s ease,
        transform .2s ease;
}


.featured-news-prev {
    left: 18px;
}


.featured-news-next {
    right: 18px;
}


.featured-news-prev:hover,
.featured-news-next:hover {
    background:
        rgba(0, 0, 0, .48);

    transform:
        translateY(-50%)
        scale(1.05);
}


/* =========================================================
   DOTS
========================================================= */

.featured-news-dots {
    position: absolute;

    left: 50%;

    bottom: 18px;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 7px;

    transform:
        translateX(-50%);
}


.featured-news-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .45);

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}


.featured-news-dot.is-active {
    width: 25px;

    background:
        var(--club-accent);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .featured-news-slides {
        min-height: 380px;
    }

    .featured-news-link {
        height: 380px;
    }

    .featured-news-content {
        padding:
            30px
            34px
            36px;
    }

    .featured-news-title {
        font-size:
            clamp(
                1.8rem,
                5vw,
                2.8rem
            );
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .featured-news-slider {
        margin-bottom: 32px;

        border-radius: 18px;
    }

    .featured-news-slides {
        min-height: 330px;
    }

    .featured-news-link {
        height: 330px;
    }

    .featured-news-content {
        padding:
            24px
            22px
            34px;
    }

    .featured-news-label {
        min-height: 29px;

        padding:
            0
            11px;

        font-size: .65rem;
    }

    .featured-news-title {
        margin-top: 10px;

        font-size:
            clamp(
                1.45rem,
                7vw,
                2.15rem
            );

        line-height: 1.07;
    }

    .featured-news-meta {
        gap: 12px;

        margin-top: 13px;
    }

    .featured-news-meta time {
        font-size: .68rem;
    }

    .featured-news-read {
        font-size: .74rem;
    }

    .featured-news-prev,
    .featured-news-next {
        width: 36px;
        height: 36px;

        font-size: 1.55rem;
    }

    .featured-news-prev {
        left: 9px;
    }

    .featured-news-next {
        right: 9px;
    }

    .featured-news-dots {
        bottom: 11px;
    }

    .featured-news-no-image-logo {
        width: 190px;
        height: 190px;

        right: -25px;

        opacity: .11;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .featured-news-slider {
        border-radius: 15px;
    }

    .featured-news-slides {
        min-height: 290px;
    }

    .featured-news-link {
        height: 290px;
    }

    .featured-news-content {
        padding:
            20px
            17px
            30px;
    }

    .featured-news-title {
        font-size: 1.35rem;
    }

    .featured-news-meta {
        margin-top: 10px;
    }

    .featured-news-read {
        font-size: .70rem;
    }

    .featured-news-prev,
    .featured-news-next {
        width: 32px;
        height: 32px;

        font-size: 1.35rem;
    }

    .featured-news-prev {
        left: 7px;
    }

    .featured-news-next {
        right: 7px;
    }

    .featured-news-no-image-logo {
        width: 150px;
        height: 150px;

        right: -35px;
    }

}