@font-face {
  font-family: "Readex";
  src: url("/demo/fonts/ReadexPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Readex";
  src: url("/demo/fonts/ReadexPro-Medium.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Readex";
  src: url("/demo/fonts/ReadexPro-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body{
  font-family: Readex;
}


body{font-family: Readex;}
body.fonts-loaded{font-family: Readex;}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Cairo', sans-serif;
	direction: rtl;
	background: #e2e4e8;
}
.container {
	max-width: 1120px
}
/* Top Bar */
.top-bar {
/*	background-color: #ccc;*/
	padding: 10px 0;
	transition: all 0.3s ease;
}
.top-bar.hidden {
	height: 0;
	padding: 0;
	opacity: 0;
	overflow: hidden;
}
.top-bar-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top-bar-right {
	display: flex;
	gap: 20px;
	align-items: center;
}
.top-bar-right a {
	color: #333;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
}
.top-bar-right a:hover {
	color: #007bff;
}
.top-bar-right .date {
	color: #555;
	font-size: 14px;
}
.social-icons {
	display: flex;
	gap: 15px;
}
.social-icons a {
	color: #333;
	font-size: 16px;
	transition: color 0.3s;
}
.social-icons a:hover {
	color: #007bff;
}
/* Main Header */
.main-header {
	background: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}
.main-header.scrolled {
	box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s ease;
	height: 80px;
}
.main-header.scrolled .header-container {
	height: 60px;
}
/* Logo */
.logo {
	transition: all 0.3s ease;
}
.logo img {
	height: 85px;
	transition: all 0.3s ease;
}
.main-header.scrolled .logo img {
	height: 35px; width:auto;
}
/* Navigation */
.main-nav {
	flex: 1;
	margin-right: 40px;
}
.nav-menu {
	display: flex;
	list-style: none;
	gap: 28px;
	align-items: center; margin-top: 15px;
}
.nav-menu li a {
	color: #333;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: color 0.3s;
	white-space: nowrap;
	font-weight: bold;
}
.nav-menu li a:hover {
	color: #007bff;
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: #333;
	cursor: pointer;
	padding: 10px;
}
.news-carousel-container {
	max-width: 95%;
	margin: 0 auto;
	padding: 0 20px;
}
.section-title {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 10px;

    /*display: flex; */     /* REQUIRED */
    width: 100%;        /* REQUIRED */
    align-items: center;
}
.news-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
/*	background: #f9f9f9;*/
	border-radius: 8px;
	transition: all 0.3s ease;
	height: 120px;
}
.news-item:hover {
/*	background: #f0f0f0;*/
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.news-image {
	flex-shrink: 0;
}
.news-image a {
	display: block;
	width: 105px;
	height: 80px;
	overflow: hidden;
	border-radius: 6px;
}
.news-image img {
	width: 100%;
	height: 100%;
	
	transition: transform 0.3s ease;
}
.news-image a:hover img {
	transform: scale(1.1);
}
.news-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.news-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}
.news-title a {

	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: right;
	direction: rtl;
	
}
.news-title a:hover {
	color: #007bff;
}
/* Owl Carousel Custom Styling */
.owl-carousel {
	direction: ltr; /* Reset direction for carousel */
}
.owl-carousel .owl-item {
	direction: rtl; /* Keep items RTL */
}
.owl-nav {
	margin-top: 20px;
}
.owl-nav button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #333 !important;
	color: #fff !important;
	font-size: 14px !important;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	transition: all 0.3s;
	opacity: 0.8;
}
.owl-nav button:hover {
	background: rgba(0, 123, 255, 1) !important;
}
.owl-nav .owl-prev {
	right: -40px;
}
.owl-nav .owl-next {
	left: -40px;
}
.owl-dots {
	text-align: center;
	margin-top: 15px;
}
.owl-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: #ddd;
	border-radius: 50%;
	margin: 0 5px;
	transition: all 0.3s;
}
.owl-dot.active {
	background: #007bff;
	width: 30px;
	border-radius: 6px;
}
/* Main Stories Section */
.main-stories-section {
/*	background: #f9f9f9;*/
	padding: 10px 0;
}
.main-stories-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}
.stories-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-top: 20px;
}
.main-story {
/*	position: relative;*/
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
}
.main-story img {
	width: 100%;
	height: 235px;
	
	transition: transform 0.5s ease;
	border-radius: 10px !important;
}
.main-story:hover img {
	transform: scale(1);
}


.featured-story img { height: 491px !important;}

.story-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
	padding: 20px;
	transition: background 0.3s ease; border-radius: 10px;
}
.main-story:hover .story-overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}
.story-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;

}
/* Featured Story (Main Large) */
.featured-story {
	height: 500px;
}
.featured-story .story-title {
	font-size: 28px;
	text-align: right; direction: rtl;
}
/* Secondary Stories Grid */
.secondary-stories {
margin-bottom: 20px; border-radius: 20px; position: relative;
}
.secondary-story {
	height: 200px; 
}
.secondary-story .story-title {
	font-size: 16px;
	text-align: right;
	direction: rtl;
}
/* Jordan News & Economy Section */
.news-economy-section {
/*	background: #f9f9f9;*/
	padding: 30px 0;
}
.section-header {
	margin-bottom: 0px;
	text-align: right;
	font-weight: bold;
}
/* Jordan News Grid */
.jordan-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.jordan-article {
	/*background: #fff;*/
    
	overflow: hidden;
	transition: all 0.3s ease;
	border-radius: 8px;
}
.jordan-article:hover {
	transform: translateY(0px);
}
.article-image-link {
	display: block;
	overflow: hidden;
	height: 175px;
}
.article-image-link img {
	border-radius: 8px;
	width: 100%;
	height: 100%;
	
	transition: transform 0.5s ease;
}
.jordan-article:hover .article-image-link img {
	transform: scale(1.1);
}
.article-title {
	padding: 15px;
	margin: 0;
}
.article-title a {
	color: #333;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s;
	text-align: right;
	direction: rtl;font-weight: bold;
}
.article-title a:hover {
	color: #000; font-weight: bold;
}
/* Economy Articles */
.economy-articles {
	background: #fff;
	border-radius: 8px;
	padding: 20px;
/*	box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
}
.economy-article {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	transition: all 0.3s ease;
}
.economy-article:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.economy-article:first-child {
	padding-top: 0;
}
.economy-article:hover {
	background: #f9f9f9;
	padding-right: 10px;
	padding-left: 10px;
	margin-right: -10px;
	margin-left: -10px;
	border-radius: 5px;
}
.economy-thumb {
	flex-shrink: 0;
	width: 95px;
	height: 70px;
	overflow: hidden;
	border-radius: 6px;
}
.economy-thumb img {
	width: 100%;
	height: 100%;
	
	transition: transform 0.5s ease;
}
.economy-article:hover .economy-thumb img {
	transform: scale(1.1);
}
.economy-content {
	flex: 1;
	display: flex;
	align-items: center;
}
.economy-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	text-align: right;
	direction: rtl;
}
.economy-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden; font-weight: bold;
}
.economy-title a:hover {
	color: #333;
}
.mobile-close {
	display: none;
}



	footer { border-top: 1px solid #ccc; padding: 15px; background-color: #fff;}
	
	.footer-box {}
	.footer-box h2 { text-align: right; font-size: 16px; font-weight: bold}
	.footer-box ul { list-style: none; margin: 0px; padding: 0px;}
	.footer-box ul li { text-align: right; font-size: 14px;}
	.footer-box ul li a { color:#333; text-decoration: none;}
	
	.footer-logo { text-align: center;}


.news-item .writer { text-align:right }
.news-item .writer a {  font-size: 11px; font-weight: bold; color:#fb762f}
.section-title a { color:#000 ; text-decoration: none !important; border-right: 10px solid #21c45d;padding-right: 15px;}
.no-brd { border:none !important; padding-right: 0px !important;}


.post-box {
	overflow: hidden;
	width:100%;
	    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post-box h1 { text-align: right; font-size: 25px; font-weight: bold; direction: rtl; line-height: 37px;}
.post-content { text-align: right; direction: rtl; font-size: 18px; line-height: 30px; font-weight: bold;}
.post-image { text-align: center;}
.post-image img { width:75%; margin-left: auto; margin-right: auto; border-radius: 10px; margin-bottom: 15px;}
.post-meta { font-size: 15px; text-align: right; direction: rtl;}
.post-meta ul { list-style: none;}

.post-image .featured {
    width: 75%;
    height: auto;             /* يمنع التشويه */
    aspect-ratio: 658 / 370;  /* يحجز المساحة */
           /* يقطع الزائد بدون تمديد */
    display: block;
    background: #f2f2f2;
}


/*----------------- Social Media Icons */

/* Social icons on the gray top bar (far left in RTL layout) */
.top-bar-container{
  position: relative;
}

/* خليها مثبتة أقصى اليسار */
.topbar-social{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

/* شكل الأيقونات */
.topbar-social .si{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.10);
}

.topbar-social .si svg{
  width: 18px;
  height: 18px;
  fill: #444;
}

/* Hover */
.topbar-social .si:hover svg{
  fill: #000;
}

/* base */
.topbar-social .si{
  background:#ddd;      /* fallback */
  border-radius:6px;
}
.topbar-social .si svg{
  fill:#fff;
}

/* brand colors */
.topbar-social .si[aria-label="Facebook"]{ background:#1877f2; }
.topbar-social .si[aria-label="X"]{ background:#000; }
.topbar-social .si[aria-label="YouTube"]{ background:#ff0000; }
.topbar-social .si[aria-label="Telegram"]{ background:#229ED9; }
.topbar-social .si[aria-label="WhatsApp"]{ background:#25D366; }
.topbar-social .si[aria-label="RSS"]{ background:#FF8C00; }

/* optional hover polish */
.topbar-social .si:hover{
  filter:brightness(1.1);
}




.share-bar{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
  position:relative;
  flex-wrap:wrap;
}
.share-btn{
  width:44px;
  height:44px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:0;
  cursor:pointer;
  transition:transform .12s ease, filter .12s ease;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
}
.share-btn svg{
  width:22px;
  height:22px;
  fill:#fff;
}
.share-btn:hover{ transform:translateY(-1px); filter:brightness(1.03); }
.share-btn:active{ transform:translateY(0); }

.share-btn.fb{ background:#1877F2; }
.share-btn.x{ background:#111; }
.share-btn.msgr{ background:#0A7CFF; }
.share-btn.wa{ background:#25D366; }
.share-btn.tg{ background:#229ED9; }

.share-toast{
  position:absolute;
  left:0;
  top:100%;
  margin-top:8px;
  font:14px/1.3 Arial, sans-serif;
  background:#111;
  color:#fff;
  padding:6px 10px;
  border-radius:6px;
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .15s ease, transform .15s ease;
  pointer-events:none;
  white-space:nowrap;
}
.share-toast.show{
  opacity:1;
  transform:translateY(0);
}



.ad-slot{
  width:100%;
  display:block;
  margin:12px 0;
  background:#f3f3f3;       /* placeholder */
  overflow:hidden;
  border-radius:8px;
}

/* Force all in-article ads to be box only */
.ad-slot.adsense{
    max-height: 300px !important;
    min-height: 250px !important;
    height: auto !important;
    overflow: hidden !important;
    display: block;
}




/* أمثلة أحجام ثابتة (اختار حسب مكانك) */
.ad-300x250{ min-height:250px; max-width:300px; margin-left:auto; margin-right:auto; }
.ad-336x280{ min-height:280px; max-width:336px; margin-left:auto; margin-right:auto; }
.ad-728x90{  min-height:90px;  max-width:728px; margin-left:auto; margin-right:auto; }
.ad-320x100{ min-height:100px; max-width:320px; margin-left:auto; margin-right:auto; }

.post-photos { padding: 10px;}
.post-photos img { width:100%; border-radius: 10px; margin-bottom: 25px;}


.post-tags { overflow: hidden; margin-bottom: 20px; margin-top: 20px;}

.keywords {
padding-top: 15px;
padding-bottom: 15px;
overflow: hidden; 
}
.keyword {
width: auto;padding: 6px;float: right;margin-left: 10px;border-radius: 4px;background-color: #ff5600; margin-bottom: 10px;}
.keyword a {
color: #fff;}
.keywords h2 {
font-size: 24px!important;

}

/*---------------- Category Paging --------------*/
.paging{display:flex;justify-content:center;align-items:center;margin:22px 0;direction:ltr}
.paging__list{list-style:none;display:flex;gap:6px;padding:0;margin:0;flex-wrap:wrap}
.paging__btn,.paging__num{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 10px;
  border-radius:8px;border:1px solid rgba(0,0,0,.12);
  text-decoration:none;font:600 14px/1 Arial,sans-serif;color:#111;
  background:#fff;transition:.15s
}
.paging__btn:hover,.paging__num:hover{transform:translateY(-1px);filter:brightness(0.98)}
.paging__num.is-active{
  background:#111;color:#fff;border-color:#111;cursor:default;transform:none
}
.paging__btn.is-disabled{
  opacity:.4;cursor:not-allowed;transform:none
}

.search-box{
    position: relative;
    display: inline-block;
}

.search-field{
    border: none;
    border-radius: 6px;
    background-color: #fff;
    padding: 8px 15px 8px 10px;   /* مساحة للأيقونة داخل الحقل */
    width: 350px;
    text-align: right;
    font-size: 15px;
    outline: none;
}

.search-btn{
    position: absolute;
    left: 8px;                 /* لأن الحقل RTL */
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

.search-btn svg{
    width: 20px;
    height: 20px;
    fill: #666;
    transition: 0.2s;
}

.search-btn:hover svg{
    fill: #111;
}


.owl-theme .owl-nav [class*='owl-'] { border-radius: 50% !important}

/* mobile */
@media (max-width:768px){
  .ad-300x250,.ad-336x280{ max-width:100%; }
}



/* Mobile Styles */
@media (max-width: 768px) {
	.main-stories-container { max-width:100%}
	
	.top-bar { display: block;}
	.post-content { font-size: 16px;}
	.post-box h1 { font-size: 20px;}
	
	
.post-image .featured {
    width: 100%;
    height: auto;             /* يمنع التشويه */
    aspect-ratio: 658 / 370;  /* يحجز المساحة */
           /* يقطع الزائد بدون تمديد */
    display: block;
    background: #f2f2f2;
}
	
	
.top-bar-container {
	flex-direction: column;
	gap: 10px;
	text-align: center;
}
.top-bar-right {
	flex-direction: column;
	gap: 10px;
}
.mobile-menu-toggle {
	display: block;
}
.main-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 280px;
	height: 100vh;
	background: #f5f5f5;
	transition: right 0.3s ease;
	margin: 0;
	z-index: 2000;
	overflow-y: auto;
}
.main-nav.active {
	right: 0;
}
.nav-menu {
	flex-direction: column;
	gap: 0;
	padding: 80px 20px 20px;
	align-items: flex-start;
}
.nav-menu li {
	width: 100%;
	border-bottom: 1px solid #ddd;
}
.nav-menu li a {
	display: block;
	padding: 15px 10px;
	width: 100%;
}
.mobile-close {
	position: absolute;
	top: 20px;
	left: 20px;
	background: none;
	border: none;
	font-size: 28px;
	color: #333;
	cursor: pointer;
	display: block;
}
.mobile-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.5);
	z-index: 200;
}
.mobile-overlay.active {
	display: block;
}
.header-container {
	height: 70px;
}
.main-header.scrolled .header-container {
	height: 70px;
}
.logo img {
	height: 85px;
	
}
.main-header.scrolled .logo img {
	height: 60px;
}
.news-item {
	height: 100px;
}
.news-image a {
	width: 100px;
	height: 75px;
}
.news-title {
	font-size: 14px;
}
.section-title {
	font-size: 20px;
}

.owl-nav button {
	display: none !important;
}
/* Main Stories Mobile */
.stories-grid {
	grid-template-columns: 1fr;
	gap: 15px;
}
.featured-story {
	height: 300px;
}
.featured-story .story-title {
	font-size: 20px;
}
.secondary-stories {
	grid-template-columns: 1fr;
	grid-template-rows: repeat(4, 1fr);
}
.secondary-story {
	height: 200px;
}
.secondary-story .story-title {
	font-size: 16px;
}
/* Jordan News & Economy Mobile */
.jordan-news-grid {
	grid-template-columns: 1fr;
	gap: 15px;
}
.article-image-link {
	height: 180px;
}
.economy-thumb {
	width: 100px;
	height: 75px;
}
.economy-title {
	font-size: 14px;
}
	
/*----------------------------- Update Bootstrap ----------*/
	.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto{
		
		padding-left: 10px;
		padding-right: 10px;
	}
	
	
	
}
/* Demo Content */
.demo-content {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
}
.content-section {
	background: #fff;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.content-section h2 {
	margin-bottom: 15px;
	color: #333;
}
.content-section {
	line-height: 1.8;
	margin-bottom: 15px;
	color: #555;
}