/* ============================================
   1. Variables
   ============================================ */
:root {
	--ft-bg:             #1a1a2e;
	--ft-bg-top:         #16162a;
	--ft-bg-bottom:      #111124;
	--ft-text:           #c8c8d4;
	--ft-text-muted:     #8888a0;
	--ft-text-heading:   #ffffff;
	--ft-orange:         #ff6600;
	--ft-orange-dark:    #e85d04;
	--ft-orange-glow:    rgba(255, 102, 0, 0.12);
	--ft-border:         rgba(255, 255, 255, 0.08);
	--ft-border-accent:  rgba(255, 102, 0, 0.35);
	--ft-radius-sm:      6px;
	--ft-radius-md:      8px;
	--ft-radius-lg:      12px;
	--ft-font:           'Segoe UI', Tahoma, 'Arial Unicode MS', Arial, sans-serif;
	--ft-transition:     0.2s ease;
}

/* Arabic News Header - Static Design
   Higher specificity to override theme/Bootstrap
--------------------------------------------- */
#masthead.arabic-news-header,
header.arabic-news-header {
	font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
	direction: rtl;
}

/* Top Bar: Logo | Search | Login - HORIZONTAL row */
.header-top-bar {
	background-color: #fff;
	padding: 0.1rem 0;
	border-bottom: 1px solid #eee;
}

.header-top-bar .header-top-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.header-logo {
	flex-shrink: 0;
}

.site-logo-box {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
}

.logo-number {
	display: block;
	background: transparent;
	color: #fff !important;
	font-weight: bold;
	font-size: 1.75rem;
	line-height: 1;
	text-align: center;
}

.logo-text {
	display: block;
	color: #fff;
	font-size: 0.65rem;
	margin-top: 0.25rem;
	white-space: nowrap;
}


/* Search Area */
.header-search-area {
	flex: 1;
	max-width: 50px;
	margin: 0 0;
	min-width: 200px;
}

.search-bar-wrap {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 50px;
	padding: 12px 20px;
	gap: 12px;
	direction: ltr;
}

.search-bar-wrap .search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	flex-shrink: 0;
	font-size: 1.05rem;
}

.search-bar-wrap .search-icon i {
	font-size: inherit;
}

.search-bar-wrap .search-input {
	flex: 1;
	min-width: 0;
	height: auto;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 0.95rem;
	outline: none;
	text-align: right;
	direction: rtl;
	color: #333;
}

.search-bar-wrap .search-input::placeholder {
	color: #555;
}

/* Login Area */
.header-login-area {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.login-text {
	color: #333;
	font-size: 0.9rem;
}

.login-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #ff6600;
	border-radius: 50%;
	color: #fff;
	font-size: 1rem;
}

/* Main Navigation - HORIZONTAL row */
.header-main-nav {
	background-color: #fff;
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
}

.header-main-nav .main-nav-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
}

.header-main-nav .main-nav-inner .nav-link {
	display: inline-flex !important;
}

.main-nav-inner .nav-link {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	padding: 0.4rem 0.9rem;
	border-radius: 20px;
	transition: all 0.2s ease;
}

.main-nav-inner .nav-link:hover {
	color: #ff6600;
	background-color: #fff5f0;
}

.main-nav-inner .nav-urgent {
	background: #ff6600 !important;
	color: #fff !important;
}

.main-nav-inner .nav-urgent:hover {
	background: #e85d04 !important;
	color: #fff !important;
}

/* Breaking News - Static */
.header-breaking-news {
	background: #d93025;
	padding: 0.6rem 0;
}

.header-breaking-news .breaking-news-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
	gap: 1rem;
	padding: 0 1rem;
}

.breaking-news-label,
.breaking-news-label-end {
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}

.breaking-news-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 28px;
	background: #fff;
	border: none;
	border-radius: 6px;
	color: #d93025;
	font-size: 0.75rem;
	cursor: pointer;
	flex-shrink: 0;
	transition: opacity 0.2s;
}

.breaking-news-play:hover {
	opacity: 0.9;
}

.breaking-news-text {
	color: #fff;
	font-weight: 500;
	font-size: 0.95rem;
	line-height: 1.4;
	flex: 1;
	overflow: hidden;
}

.breaking-news-separator {
	width: 4px;
	height: 4px;
	background: #fff;
	border-radius: 50%;
	flex-shrink: 0;
	opacity: 0.8;
}

/* Hero Section
--------------------------------------------- */
.hero-section {
	position: relative;
	min-height: 420px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 16px !important;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding-bottom: 2.5rem;
	margin: 20px 40px !important;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 40%, transparent 70%);
	pointer-events: none;
}

.hero-section .container {
	position: relative;
	z-index: 1;
}

.hero-content {
	max-width: 700px;
}

.hero-title {
	color: #fff;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 0.75rem;
}

.hero-subtitle {
	color: rgba(255, 255, 255, 0.95);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 1.25rem;
}

.hero-btn {
	display: inline-block;
	background: #ff6600;
	color: #fff !important;
	padding: 0.6rem 1.5rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background 0.2s ease;
}

.hero-btn:hover {
	background: #e85d04;
	color: #fff !important;
}

/*--------------------------------------------------------------
# Homepage Sections
--------------------------------------------------------------*/
.home-main-content {
	padding: 2rem 0 3rem;
}

/* Section Titles */
.section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #222;
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.section-title i {
	color: #ff6600;
}

.section-title-tab {
	margin: 0 0 1rem;
}

.section-title-tab .tab-active {
	display: inline-block;
	background: #ff6600;
	color: #fff;
	padding: 0.5rem 1.25rem;
	border-radius: 8px 8px 0 0;
	font-size: 1rem;
	font-weight: 600;
}

/* News Cards */
.section-latest-news,
.section-category {
	margin-bottom: 2rem;
}

.news-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.2s, transform 0.2s;
	height: 100%;
}

.news-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.news-card-img-link {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.news-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.news-card:hover .news-card-img {
	transform: scale(1.05);
}

.news-card-body {
	padding: 1rem;
}

.news-card-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	line-height: 1.45;
}

.news-card-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.2s;
}

.news-card-title a:hover {
	color: #ff6600;
}

.news-card-description {
	font-size: 0.84rem;
	color: #555;
	line-height: 1.4;
	margin: 0 0 0.75rem;
}

.news-card-time {
	font-size: 0.8rem;
	color: #777;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

/* Video Cards */
.video-card .news-card-img-link {
	position: relative;
}

.video-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	background: rgba(255, 102, 0, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.25rem;
	transition: transform 0.2s;
}

.video-card:hover .video-play-icon {
	transform: translate(-50%, -50%) scale(1.1);
}

/* Footer Section */
/* ============================================
   2. Footer Base
   ============================================ */
.site-footer {
	direction: rtl;
	font-family: var(--ft-font);
	color: var(--ft-text);
	line-height: 1.6;
	margin-top: auto;
}

/* ============================================
   3. Footer Container
   ============================================ */
.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* ============================================
   4. Footer Top
   ============================================ */
.footer-top {
	background: var(--ft-bg-top);
	padding: 3rem 0 2.5rem;
	border-top: 3px solid var(--ft-orange);
}

.footer-top__grid {
	display: flex;
	align-items: flex-start;
	gap: 3rem;
}

/* ============================================
   5. Brand Block
   ============================================ */
.footer-brand {
	flex: 1 1 0;
	min-width: 0;
}

.footer-brand__logo-link {
	display: inline-block;
	margin-bottom: 0.75rem;
}

.footer-brand__logo {
	display: block;
	height: 42px;
	width: auto;
	filter: brightness(0) invert(1);
}

.footer-brand__name {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ft-text-heading);
	margin-bottom: 0.75rem;
	letter-spacing: 0.3px;
}

.footer-brand__desc {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--ft-text-muted);
	margin: 0 0 1.25rem;
	max-width: 380px;
}

/* ============================================
   6. Social Links
   ============================================ */
.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--ft-radius-sm);
	background: rgba(255, 255, 255, 0.06);
	color: var(--ft-text);
	text-decoration: none;
	transition: all var(--ft-transition);
}

.footer-social__link:hover {
	background: var(--ft-orange);
	color: #fff;
	transform: translateY(-2px);
}

/* ============================================
   7. Newsletter Block
   ============================================ */
.footer-newsletter {
	flex: 0 0 380px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius-lg);
	padding: 1.75rem 2rem;
}

.footer-newsletter__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ft-text-heading);
	margin: 0 0 0.5rem;
}

.footer-newsletter__desc {
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--ft-text-muted);
	margin: 0 0 1rem;
}

.footer-newsletter__form {
	margin: 0;
}

.footer-newsletter__row {
	display: flex;
	gap: 0.5rem;
}

.footer-newsletter__input {
	flex: 1 1 0;
	min-width: 0;
	padding: 0.65rem 1rem;
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius-sm);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 0.88rem;
	font-family: var(--ft-font);
	outline: none;
	transition: border-color var(--ft-transition);
}

.footer-newsletter__input::placeholder {
	color: var(--ft-text-muted);
}

.footer-newsletter__input:focus {
	border-color: var(--ft-orange);
	background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter__btn {
	flex-shrink: 0;
	padding: 0.65rem 1.5rem;
	background: var(--ft-orange);
	color: #fff;
	border: none;
	border-radius: var(--ft-radius-sm);
	font-size: 0.9rem;
	font-weight: 600;
	font-family: var(--ft-font);
	cursor: pointer;
	transition: background var(--ft-transition);
	white-space: nowrap;
}

.footer-newsletter__btn:hover {
	background: var(--ft-orange-dark);
}

.footer-newsletter__note {
	font-size: 0.75rem;
	color: var(--ft-text-muted);
	margin: 0.65rem 0 0;
}

/* ============================================
   8. Footer Middle (Link Columns)
   ============================================ */
.footer-middle {
	background: var(--ft-bg);
	padding: 2.5rem 0;
	border-top: 1px solid var(--ft-border);
}

.footer-middle__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.footer-col__title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ft-text-heading);
	margin: 0 0 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--ft-orange);
	display: inline-block;
}

.footer-col__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col__list li {
	margin-bottom: 0.55rem;
}

.footer-col__list li:last-child {
	margin-bottom: 0;
}

.footer-col__list a {
	font-size: 0.88rem;
	color: var(--ft-text);
	text-decoration: none;
	transition: color var(--ft-transition), padding-right var(--ft-transition);
	display: inline-block;
}

.footer-col__list a:hover {
	color: var(--ft-orange);
	padding-right: 4px;
}

/* ============================================
   9. Contact Column
   ============================================ */
.footer-col__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 0.75rem;
}

.footer-col__list--contact li:last-child {
	margin-bottom: 0;
}

.footer-col__list--contact svg {
	flex-shrink: 0;
	color: var(--ft-orange);
	margin-top: 0.2rem;
}

.footer-col__list--contact span {
	font-size: 0.88rem;
	color: var(--ft-text);
	line-height: 1.5;
}

/* ============================================
   10. Footer Bottom
   ============================================ */
.footer-bottom {
	background: var(--ft-bg-bottom);
	padding: 1.15rem 0;
	border-top: 1px solid var(--ft-border);
}

.footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.footer-bottom__copy {
	font-size: 0.82rem;
	color: var(--ft-text-muted);
	margin: 0;
}

.footer-bottom__links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-bottom__links a {
	font-size: 0.8rem;
	color: var(--ft-text-muted);
	text-decoration: none;
	transition: color var(--ft-transition);
}

.footer-bottom__links a:hover {
	color: var(--ft-orange);
}

.footer-bottom__sep {
	color: rgba(255, 255, 255, 0.15);
	font-size: 0.75rem;
}

.footer-bottom__tagline {
	font-size: 0.78rem;
	color: var(--ft-text-muted);
	margin: 0;
	font-style: italic;
}


/* Responsive: stack sidebars below main on mobile */
@media (max-width: 991.98px) {
	.section-most-read,
	.section-newsletter .newsletter-card:first-child {
		margin-bottom: 0;
	}
}

/* ============================================
   12. Responsive — Mobile
   ============================================ */
@media (max-width: 640px) {
	.footer-top {
		padding: 2rem 0 1.75rem;
	}

	.footer-container {
		padding: 0 1rem;
	}

	.footer-brand__desc {
		max-width: none;
	}

	.footer-newsletter {
		padding: 1.25rem 1.25rem;
	}

	.footer-newsletter__row {
		flex-direction: column;
	}

	.footer-newsletter__btn {
		width: 100%;
	}

	.footer-middle {
		padding: 2rem 0;
	}

	.footer-middle__grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.footer-bottom__inner {
		flex-direction: column;
		text-align: center;
		gap: 0.5rem;
	}
}