/*==================================================
PROGRESNEWS THEME
Header Module
Version : 1.0
==================================================*/


/*==================================================
HEADER
==================================================*/

/*--------------------------------------
Site Header
--------------------------------------*/

.site-header{
    background:var(--progres-header-bg,#2046d0);
}


/*--------------------------------------
Header Container
--------------------------------------*/

.header-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 0;
}


/*--------------------------------------
Logo
--------------------------------------*/

.site-logo img{
    max-height:70px;
    width:auto;
}


/*--------------------------------------
Header Right
--------------------------------------*/

.header-right{
    display:flex;
    align-items:center;
    gap:15px;
}


/*--------------------------------------
Search Form
--------------------------------------*/

.search-form{
    display:flex;
    gap:10px;
}

.search-form input{
    width:220px;
    padding:10px;
    border:1px solid #ddd;
}

.search-form button{

    padding:10px 15px;

    border:0;

    cursor:pointer;

    background:var(
        --progres-menu-bg,
        #0f2f97
    );

    color:#fff;

    transition:.25s;

}

.search-form button:hover{

    opacity:.9;

}


/*--------------------------------------
Header Advertisement
--------------------------------------*/

.header-ads{

    text-align:center;

    margin:15px auto;

}


/*--------------------------------------
Desktop Advertisement
--------------------------------------*/

.desktop-ads{

    display:block;

}


/*--------------------------------------
Mobile Advertisement
--------------------------------------*/

.mobile-ads{

    display:none;

}


/*==================================================
RESPONSIVE
==================================================*/

@media (max-width:768px){

    .header-wrap{

        flex-direction:column;

        gap:15px;

    }

    .site-logo img{

        max-width:250px;

        height:auto;

    }

    .search-form{

        width:100%;

    }

    .search-form input{

        width:100%;

    }

    .desktop-ads{

        display:none;

    }

    .mobile-ads{

        display:block;

    }

}

/* =================================
   MOBILE FIX PROGRES NEWS
================================= */

@media (max-width:768px){

    /* Header */

    .header-wrap{
        flex-direction:column;
        gap:15px;
    }

    .site-logo img{
        max-width:250px;
        height:auto;
    }

    .header-search{
        width:100%;
    }

    .header-search form{
        display:flex;
    }

    .header-search input{
        flex:1;
    }
}