@font-face {
    font-family: 'Tajawal';
    src: url("fonts/Tajawal-Medium.ttf");
}

@font-face {
    font-family: 'Cairo-ExtraBold';
    src: url("fonts/Cairo-ExtraBold.ttf");
}

@font-face {
    font-family: 'IBMPlexSansArabic-Medium';
    src: url("fonts/IBMPlexSansArabic-Medium.ttf");
}

/* RESET */
body{
margin:0;
font-family:'Tajawal', sans-serif;
background:#f4f6f9;
direction:rtl;
}

/* ===== PROGRESS BAR ===== */
.progress-bar{
position:fixed;
top:0;
right:0;
height:4px;
background:#c59d5f;
width:0%;
z-index:9999;
}

/* ===== HERO ===== */
.premium-hero{
position:relative;
height:60vh;
overflow:hidden;
}

.hero-img{
width:100%;
height:100%;
object-fit:cover;
filter:brightness(0.55);
}

/* overlay قوي */
.hero-overlay{
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

/* النص */
.hero-content{
position:absolute;
bottom:60px;
right:80px;
color:white;
z-index:2;
max-width:700px;
}

.hero-content h1{
font-size:40px;
font-weight:700;
margin-bottom:10px;
font-family:Cairo-ExtraBold;
}

.hero-date{
font-size:14px;
opacity:0.8;
}

/* ===== BODY ===== */
.premium-body{
padding:80px 0px;
}

/* الصندوق */
.premium-box{
 all: unset;
}
.premium-box::before{
content:"";
position:absolute;
top:-50px;
left:-50px;
width:200px;
height:00px;
background:radial-gradient(circle, rgba(197,157,95,0.25), transparent);
}
.premium-box:hover{
transform:translateY(-5px);
}

/* النص */
.premium-text{
  direction: rtl;
    text-align: right;
    width: 100%;
    padding: 20px 80px; /* يعطي شوية space من الجوانب */
    font-size: 18px;
    max-width: 1600px;
    line-height: 2.2;
    color: #1e293b;
    font-family: 'Tajawal';
}

/* أول سطر */
.premium-text::first-line{
font-weight:600;
color:#162938;
}

/* fade animation */
.fade-in{
opacity:0;
transform:translateY(30px);
transition:1s;
}

.fade-in.show{
opacity:1;
transform:translateY(0);
}

/* ===== SHARE ===== */
.share-box {
    margin-top: 30px;
    margin-right:72px;
    display: flex;
    justify-content: start;
    gap: 15px;
}

/* icon base */
.share-icon {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1e293b;
    color: white;
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
}

/* hover effect */
.share-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

/* colors */
.facebook:hover {
    background: #1877f2;
}

.whatsapp:hover {
    background: #25d366;
}

/* ===== BUTTON ===== */
.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 40px auto;
    padding: 12px 25px;

    background: #c89b5b;
    color: white;
    font-size: 15px;

    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}
/* باش يكون فالنص */
.premium-btn {
    display: flex;
    justify-content: center;
    width: fit-content;
}

/* hover */
.premium-btn:hover {
    background: #a67c3d;
    transform: translateY(-3px);
}

/* ===== RELATED ===== */
/* ===== RELATED SECTION ===== */
.related-news{
margin-top:100px;
padding:40px 20px;
}

.related-news h3{
font-size:26px;
margin-bottom:30px;
text-align:right;
font-family:Cairo-ExtraBold;
}

/* GRID */
.related-news {
    margin-top: 60px;
    padding: 0 20px;
}

/* title */
.related-news h3 {
    text-align: right;
    margin-right:50px;
    margin-bottom: 30px;
    font-size: 40px;
    color: #1e293b;
}

/* grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 0px 70px;
    gap: 10px;
}

/* card */
.related-card {
    background: white;
    width:90%;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
/* image */
.related-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* content */
.related-content {
    padding: 15px;
    text-align: right;
}

.related-content h4 {
    font-size: 15px;
    margin-bottom: 10px;
    color: #1e293b;
}

/* link */
.related-content a {
    font-size: 13px;
    color: #c89b5b;
    text-decoration: none;
}

/* hover 🔥 */
.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}


.premium-box{
opacity:0;
transform:translateY(60px);
animation:fadeUp 1s ease forwards;
}

@keyframes fadeUp{
to{
opacity:1;
transform:translateY(0);
}
}
/* ============================= */
/* 📱 Single News Responsive */
/* ============================= */

@media (max-width: 768px) {
    .hero-content {
  right: 30px;
  left: 10px; /* يقلل المساحة من اليسار */
    }
    .hero-content h1 {
    font-size: 22px;
    line-height: 1.4;
  }
  .premium-text {
  width: 90%;
  max-width: 100%;
  padding: 0px 15px 0px 0px;
  margin: 0;
}

.premium-box {
  overflow: hidden;
}
.premium-text img {
  width: 100%;
  height: auto;
}

.premium-text table {
  width: 100%;
  display: block;
  overflow-x: auto;
}
  /* الحاوية العامة */
  .single-news,
  .news-details,
  .container {
    
  }

  /* الصورة الرئيسية */
  .single-news img,
  .news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
  }

  /* العنوان فوق الصورة */
  .single-news h1,
  .news-title {
    font-size: 15px;
    text-align: center;
    line-height: 1;
    margin: 15px 0;
  }

  /* النص */
  .single-news p,
  .news-content {
    font-size: 14px;
    line-height: 1.8;
    text-align: right;
    color: #444;
  }

  /* زر الرجوع */
  .back-btn {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 8px 18px;
    font-size: 14px;
  }

  /* أيقونات المشاركة */
  .social-icons {
    text-align: center;
    margin: 15px 0;
  }

  .social-icons i {
    font-size: 18px;
    margin: 0 8px;
  }

  /* أخبار مشابهة */
  .related-news {
    margin-top: 30px;
  }
  
  .related-news h2 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
  }

  /* كروت الأخبار */
  .related-news .news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .related-news .news-card {
    border-radius: 12px;
  }

  .related-news img {
    height: 100px;
  }
.single-news {
  max-width:1000px;
  margin: auto;
}
.single-news {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
}
}