/* =========================================================
   Music FM V2 — Updates / Breaking News Page
========================================================= */

.mf-updates-page{
    direction:rtl;
    padding:24px 0 64px;
    color:#071225;
}

.mf-updates-hero{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
    padding:24px;
    border:1px solid rgba(20,124,255,.18);
    border-radius:5px;
    background:
        radial-gradient(circle at 10% 12%,rgba(89,199,255,.16),transparent 34%),
        linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);
    box-shadow:0 14px 34px rgba(15,35,70,.06);
}

.mf-updates-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:30px;
    padding:0 10px;
    border:1px solid #dbeafe;
    border-radius:4px;
    background:#eef6ff;
    color:#147cff;
    font-size:13px;
    font-weight:950;
}

.mf-updates-hero h1{
    margin:12px 0 8px;
    font-size:clamp(28px,4vw,46px);
    line-height:1.05;
    font-weight:950;
    letter-spacing:-.6px;
}

.mf-updates-hero p{
    max-width:760px;
    margin:0;
    color:#64748b;
    font-size:16px;
    line-height:1.7;
    font-weight:750;
}

.mf-updates-back{
    align-self:flex-start;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border-radius:4px;
    border:1px solid #dbeafe;
    background:#fff;
    color:#147cff;
    text-decoration:none;
    font-weight:950;
    white-space:nowrap;
}

.mf-updates-shell{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:18px;
    align-items:start;
}

.mf-updates-filters,
.mf-updates-list{
    border:1px solid #dbe5f1;
    border-radius:5px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,35,70,.045);
}

.mf-updates-filters{
    position:sticky;
    top:calc(var(--mf-header-h, 86px) + 16px);
    padding:14px;
}

.mf-updates-filters h2,
.mf-updates-list header h2{
    margin:0;
    font-size:18px;
    font-weight:950;
}

.mf-updates-filters h2{
    padding:0 2px 12px;
}

.mf-updates-filters nav{
    display:grid;
    gap:7px;
}

.mf-updates-filters a{
    min-height:42px;
    display:flex;
    align-items:center;
    padding:0 12px;
    border-radius:4px;
    color:#071225;
    background:#f8fbff;
    border:1px solid transparent;
    text-decoration:none;
    font-weight:900;
}

.mf-updates-filters a:hover,
.mf-updates-filters a.active{
    color:#147cff;
    border-color:#b9d8ff;
    background:#eef6ff;
}

.mf-updates-list{
    overflow:hidden;
}

.mf-updates-list header{
    min-height:64px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 18px;
    border-bottom:1px solid #e7edf6;
    background:#fff;
}

.mf-updates-list header small{
    color:#64748b;
    font-weight:850;
}

.mf-updates-timeline{
    display:grid;
    gap:0;
}

.mf-update-card{
    position:relative;
    display:grid;
    grid-template-columns:46px minmax(0,1fr);
    gap:12px;
    padding:18px;
    border-bottom:1px solid #edf2f7;
    background:#fff;
}

.mf-update-card:last-child{
    border-bottom:0;
}

.mf-update-card:hover{
    background:#fbfdff;
}

.mf-update-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:4px;
    color:#147cff;
    background:#eef6ff;
    border:1px solid #dbeafe;
}

.mf-update-meta{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:5px;
}

.mf-update-meta span{
    color:#147cff;
    font-size:12px;
    font-weight:950;
}

.mf-update-meta time{
    color:#94a3b8;
    font-size:12px;
    font-weight:850;
}

.mf-update-card h3{
    margin:0 0 6px;
    font-size:18px;
    line-height:1.28;
    font-weight:950;
    letter-spacing:-.2px;
}

.mf-update-card p{
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.65;
    font-weight:700;
}

.mf-update-link{
    margin-top:10px;
    display:inline-flex;
    align-items:center;
    color:#147cff;
    font-size:13px;
    font-weight:950;
    text-decoration:none;
}

.mf-update-link:hover{
    text-decoration:underline;
}

.mf-updates-empty{
    min-height:260px;
    display:grid;
    place-items:center;
    align-content:center;
    text-align:center;
    padding:30px;
    color:#64748b;
}

.mf-updates-empty i{
    width:56px;
    height:56px;
    display:grid;
    place-items:center;
    border-radius:4px;
    color:#147cff;
    background:#eef6ff;
    border:1px solid #dbeafe;
    font-size:22px;
    margin-bottom:12px;
}

.mf-updates-empty h3{
    margin:0 0 6px;
    color:#071225;
    font-size:20px;
    font-weight:950;
}

.mf-updates-empty p{
    margin:0;
    font-weight:750;
}

@media(max-width:900px){
    .mf-updates-page{
        padding-top:14px;
        padding-bottom:calc(var(--mf-bottom-nav-h, 72px) + 38px);
    }

    .mf-updates-hero{
        display:block;
        padding:18px;
    }

    .mf-updates-hero h1{
        font-size:30px;
    }

    .mf-updates-back{
        margin-top:14px;
        width:100%;
    }

    .mf-updates-shell{
        grid-template-columns:1fr;
    }

    .mf-updates-filters{
        position:static;
    }

    .mf-updates-filters nav{
        display:flex;
        gap:8px;
        overflow:auto;
        padding-bottom:2px;
        scrollbar-width:none;
    }

    .mf-updates-filters nav::-webkit-scrollbar{
        display:none;
    }

    .mf-updates-filters a{
        flex:0 0 auto;
        min-height:38px;
    }

    .mf-update-card{
        grid-template-columns:40px minmax(0,1fr);
        gap:10px;
        padding:15px 12px;
    }

    .mf-update-icon{
        width:38px;
        height:38px;
    }

    .mf-update-card h3{
        font-size:16px;
    }
}
