/*!
custom.css file for Fatiha News Theme
*/

/*--------------------------------------------------------------
# Container
--------------------------------------------------------------*/
.container {
	width: 80%;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Header Top: Logo left, Latest News Right
--------------------------------------------------------------*/
.header-top {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin: 30px auto;
}

/* Logo section: 30% */
.logo-wrap {
	flex: 0 0 30%;
	display: flex;
	align-items: center;
}

.logo-wrap .custom-logo {
	max-height: 70px;
	width: auto !important;
}

/* Latest news section: 70% */
.latest-news-wrap {
    flex: 0 0 67%;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap; /* এক লাইনে রাখবে */
    box-sizing: border-box;
}

/* Each news box */
.latest-news-box {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    height: 60px;
    background: transparent;
    padding: 5px 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* News image left */
.news-image img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	margin-right: 10px;
	flex-shrink: 0;
}

/* News title right, 2 lines max */
.news-title {
	display: flex;
	align-items: center;
}

.news-title .video-icon {
	margin-right: 5px;
	font-size: 14px; /* আইকনের সাইজ */
	color: #c00;     /* আইকনের রঙ */
}

.news-title a {
	font-size: 14px;
	line-height: 1.2em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-grow: 1;
	color: #111;
	text-decoration: none;
	padding: 5px;
}

/*--------------------------------------------------------------
# Navigation: Menu + Date + Search
--------------------------------------------------------------*/
.main-navigation {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #000;
	margin-top: 10px;
	padding: 10px;
}

/* Menu container flex: menu 80%, datetime 15%, search 5% */
.main-navigation .menu-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

/* Menu 80% */
.menu-wrap {
	flex: 0 0 80%;
}

/* Date & Time 15% */
.datetime-wrap {
	flex: 0 0 20%;
	text-align: left;
	font-size: 14px;
	color: #111;
	border-right: ;
}

/* Search 5% */
.search-wrap {
	text-align: right;
}

/* Primary menu */
#menu-header-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	border-right: 3px double #ccc;
}

#menu-header-menu li {
	margin-right: 20px;
}

#menu-header-menu li a {
	text-decoration: none;
	color: #111;
	padding: 10px 0;
}

#menu-header-menu li a:hover {
	color: #404040;
}

/* Search form */
.search-wrap form {
	display: inline-block;
}

.search-wrap input[type="search"] {
	padding: 5px 10px;
	font-size: 14px;
	width: 80%;
	max-width: 150px;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.search-wrap button {
	padding: 5px 10px;
	background: #c00;
	color: #fff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}


.site-main{
	width: 80%;
	margin: 0 auto;
}




/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
	.header-top {
		flex-direction: column;
	}

	.latest-news-wrap {
		flex-direction: column;
		width: 100%;
		margin-top: 10px;
	}

	.latest-news-box {
		width: 100%;
		margin-bottom: 10px;
	}

	.main-navigation .menu-container {
		flex-direction: column;
		align-items: flex-start;
	}

	.menu-wrap,
	.datetime-wrap,
	.search-wrap {
		flex: 0 0 100%;
		text-align: left;
		margin-bottom: 10px;
	}

	#menu-header-menu li {
		margin-right: 10px;
		margin-bottom: 5px;
	}
}
