/* =====================================
   MULTIPRESS NEWS HEADER
===================================== */

.mp-header{
    position:sticky;
    top:0;
    width:100%;
    z-index:11000;
    background:#B91C1C;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
}

.mp-header__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:72px;
}

.mp-header__logo img{
    display:block;
    max-height:60px;
    width:auto;
}

.site-title{
    color:#fff;
    text-decoration:none;
    font-size:24px;
    font-weight:700;
}

.mp-header__nav{
    display:flex;
    align-items:center;
    gap:25px;
}

.mp-header__menu{
    display:flex;
    align-items:center;
    gap:30px;
    margin:0;
    padding:0;
    list-style:none;
}

.mp-header__menu > li{
    position:relative;
}

.mp-header__menu > li > a{
    display:block;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:15px;
    padding:26px 0;
    transition:.25s;
}

.mp-header__menu > li > a:hover{
    color:#ffd4d4;
}

.mp-header__menu > .current-menu-item > a,
.mp-header__menu > .current-menu-parent > a{
    color:#fff;
    position:relative;
}

.mp-header__menu > .current-menu-item > a::after,
.mp-header__menu > .current-menu-parent > a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:18px;
    width:100%;
    height:3px;
    background:#fff;
}

/* DROPDOWN */

.mp-header__menu ul{
    position:absolute;
    top:100%;
    left:0;
    min-width:260px;
    background:#fff;
    list-style:none;
    padding:10px 0;
    margin:0;
    border-radius:8px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.25s;
}

.mp-header__menu li:hover > ul{
    opacity:1;
    visibility:visible;
    transform:none;
}

.mp-header__menu ul li a{
    display:block;
    padding:12px 18px;
    color:#111827;
    text-decoration:none;
}

.mp-header__menu ul li a:hover{
    background:#f5f5f5;
}

/* SEARCH */

.mp-header__search{
    border:0;
    background:transparent;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}

/* MOBILE TOGGLE */

.mp-header__toggle{
    display:none;
    border:0;
    background:none;
    cursor:pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after{
    display:block;
    width:28px;
    height:3px;
    background:#fff;
    position:relative;
    transition:.3s;
}

.menu-icon::before,
.menu-icon::after{
    content:"";
    position:absolute;
    left:0;
}

.menu-icon::before{
    top:-8px;
}

.menu-icon::after{
    top:8px;
}

/* MOBILE */

@media (max-width:992px){

    .mp-header__toggle{
        display:block;
    }

    .mp-header__nav{
        position:fixed;
        top:0;
        right:-320px;
        width:320px;
        height:100vh;
        background:#991B1B;
        flex-direction:column;
        align-items:flex-start;
        padding:90px 20px 30px;
        transition:.3s;
        overflow-y:auto;
        z-index:12000;
    }

    .mp-header__nav.active{
        right:0;
    }

    .mp-header__menu{
        flex-direction:column;
        align-items:flex-start;
        width:100%;
        gap:0;
    }

    .mp-header__menu li{
        width:100%;
    }

    .mp-header__menu li a{
        width:100%;
        padding:14px 0;
    }

    .mp-header__menu ul{
        position:relative;
        opacity:1;
        visibility:visible;
        transform:none;
        display:none;
        background:transparent;
        box-shadow:none;
        min-width:100%;
    }

    .mp-header__menu li.active > ul{
        display:block;
    }

    .mp-header__menu ul li a{
        color:#fff;
        padding-left:20px;
    }
}

@media (max-width:480px){

    .mp-header__logo img{
        max-height:50px;
    }

    .site-title{
        font-size:20px;
    }
}

/* =====================================
   MOBILE MENU REFINEMENTS
===================================== */

.mp-header__logo{
    flex-shrink:0;
}

.mp-header__logo img{
    max-width:180px;
    width:auto;
    height:auto;
}

.mp-header__close{
    display:none;
}

@media (max-width:992px){

    .mp-header__nav{
        width:300px;
        right:-300px;
        backdrop-filter:blur(10px);
    }

    .mp-header__menu li{
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .mp-header__menu > .current-menu-item > a::after,
    .mp-header__menu > .current-menu-parent > a::after{
        display:none;
    }

    .mp-header__menu > .current-menu-item > a,
    .mp-header__menu > .current-menu-parent > a{
        color:#ffd4d4;
        font-weight:700;
    }

    .mp-header__close{
        display:block;
        position:absolute;
        top:20px;
        right:20px;
        background:none;
        border:0;
        color:#fff;
        font-size:34px;
        line-height:1;
        cursor:pointer;
    }

}

@media (max-width:480px){

    .mp-header__logo img{
        max-width:140px;
    }

}

/* SEARCH OVERLAY */

.mp-search-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    z-index:13000;
    display:none;
    padding:100px 20px;
}

.mp-search-overlay.active{
    display:block;
}

.mp-search-form{
    max-width:700px;
    margin:0 auto;
    display:flex;
    gap:10px;
}

.mp-search-form input{
    flex:1;
    height:56px;
    border:0;
    border-radius:6px;
    padding:0 20px;
    font-size:18px;
}

.mp-search-form button{
    border:0;
    padding:0 25px;
    border-radius:6px;
    background:#B91C1C;
    color:#fff;
    cursor:pointer;
}

.mp-search-close{
    position:absolute;
    top:25px;
    right:30px;
    background:none;
    border:0;
    color:#fff;
    font-size:42px;
    cursor:pointer;
}

#live-search-results{
    max-width:700px;
    margin:20px auto 0;
    background:#fff;
    border-radius:6px;
    overflow:hidden;
}

@media (max-width:768px){

    .mp-search-form{
        flex-direction:column;
    }

    .mp-search-form button{
        width:100%;
        height:56px;
    }

}
