/*!
Theme Name: Fatiha News
Theme URI: http://underscores.me/
Author: bulbul bigboss
Author URI: https://www.facebook.com/bulbulbigbossbd/
Description: A news Paper and blog theme for modern news paper
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fatiha-news
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
# Generic / Normalize
--------------------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
    color: #404040;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*--------------------------------------------------------------
# Header Top: Logo left, Latest News Right
--------------------------------------------------------------*/
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
    margin: 0 auto;
    padding: 10px 15px;
    flex-wrap: wrap;
}

/* Logo Left */
.logo-wrap {
    flex: 1;
    text-align: left;
}

.custom-logo {
    max-height: 70px;
    width: auto !important;
}

/* Latest News Right */
.latest-news-wrap {
    flex: 2;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.latest-news-box {
    flex: 1 1 30%;
    padding: 5px;
    text-align: left;
    background: #fff;
}

.latest-news-box img {
	width: 15%;
	height: auto;
	margin-bottom: 5px;
	float: left;
}

.latest-news-box a {
    text-decoration: none;
    color: #111;
}

/*--------------------------------------------------------------
# Menu Below Logo
--------------------------------------------------------------*/
.pa-mainmenu {
    width: 100%;
    border-top: 1px solid #ddd;
    border-bottom: 2px solid #c00;
    background: #fff;
    margin-top: 10px;
}

.pa-menu {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.pa-menu li {
    margin-right: 20px;
}

.pa-menu a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.pa-menu a:hover {
    color: #c00;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .site-header .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .latest-news-wrap {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .latest-news-box {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

    .pa-menu {
        overflow-x: auto;
        white-space: nowrap;
        flex-direction: column;
    }

    .pa-menu li {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/*--------------------------------------------------------------
# Top Bar & Utilities
--------------------------------------------------------------*/
.top-bar {
    background: #f2f2f2;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.pa-topbar {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.pa-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.pa-topbar a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
}

.container {
	width: 80%;
    margin: 0 auto;
    padding: 0 15px;
}
