/* ===== PREMIUM HORIZONTAL SLIDER ===== */

.magnav-premium-slider {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* TRACK */
.magnav-slider-track {
    display: flex;
    will-change: transform;
}

/* SLIDE */
.magnav-slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* IMAGE RATIO LOCK */
.magnav-slide-image {
    display: block;
    width: 100%;
    aspect-ratio: 1280 / 592;
    overflow: hidden;
}

.magnav-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* LINKS */
.magnav-premium-slider a {
    text-decoration: none !important;
    color: inherit;
}

/* TITLE */
.magnav-slide-title {
    display: block;
    margin-top: 1rem;
    text-align: left;
}

.magnav-slide-title h2 {
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
}

/* HOVER */
.magnav-slide-title:hover h2 {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .magnav-slide-title h2 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .magnav-slide-title h2 {
        font-size: 18px;
    }
}


/**********************************************************************************************************************************************/



/* ===============================
   MAGNAV EDITORIAL GRID (FINAL)
================================ */

/* ===== WRAPPER ===== */
.magnav-editorial-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
}

/* ===== TOP GRID ===== */
.magnav-editorial-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 22px;
    margin-bottom: 26px;
}

/* LEFT BIG POST */
.magnav-hero {
    display: grid;
    grid-template-rows: auto 1fr;
}

.magnav-hero img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.magnav-hero h3 {
    margin-top: 12px;
    font-size: 1.25rem;
    font-weight: 600;
}

/* RIGHT STACK (LOCKED IMAGE HEIGHTS) */
.magnav-side-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
}

.magnav-side {
    display: grid;
    grid-template-rows: auto 1fr;
}

.magnav-side img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.magnav-side h4 {
    margin-top: 8px;
    font-size: 0.95rem;
}

/* ===== BOTTOM GRID ===== */
.magnav-editorial-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.magnav-bottom {
    display: grid;
    grid-template-rows: auto 1fr;
}

.magnav-bottom img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.magnav-bottom h4 {
    margin-top: 8px;
    font-size: 0.95rem;
}

/* ===== LINKS ===== */
.magnav-editorial-wrapper a {
    text-decoration: none;
    color: inherit;
}

.magnav-editorial-wrapper a:hover h3,
.magnav-editorial-wrapper a:hover h4 {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===============================
   TABLET (2 COLUMNS)
================================ */
@media (max-width: 1024px) {

    .magnav-editorial-top {
        grid-template-columns: 1fr 1fr;
    }

    .magnav-editorial-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===============================
   MOBILE (1 COLUMN, CLEAN)
================================ */
@media (max-width: 768px) {

    .magnav-editorial-wrapper {
        padding: 0 16px;
    }

    .magnav-editorial-top,
    .magnav-editorial-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .magnav-editorial-wrapper img {
        aspect-ratio: 4 / 3;
        border-radius: 6px;
    }
}

