.elementor-546 .elementor-element.elementor-element-798fa51{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-546 .elementor-element.elementor-element-798fa51:not(.elementor-motion-effects-element-type-background), .elementor-546 .elementor-element.elementor-element-798fa51 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F6F8F7;}.elementor-546 .elementor-element.elementor-element-a695736{padding:0px 0px 0px 0px;}/* Start custom CSS for container, class: .elementor-element-798fa51 */.elementor *, .elementor :after, .elementor :before {
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}
.jj-news{
  direction:rtl;
  font-family:'Tajawal',sans-serif;
  background:#f6f8f7;
}

/* HERO */
.jj-hero{
  height:520px;
  background-size:cover;
  background-position:center 30%;
  position:relative;
}

.jj-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to left,
    rgba(0,0,0,.85) 35%,
    rgba(0,0,0,.4) 60%,
    transparent
  );
}

/* BODY */
.jj-container{
  max-width:900px;
  margin:-245px auto 0;
  padding:0 20px;
}

/* CONTENT */
.jj-content{
  background:#fff;
  padding:40px;
  border-radius:20px;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
  position:relative;
  z-index:3;
}

/* TITLE */
.jj-title{
  font-size:28px;
  font-weight:800;
  margin-bottom:10px;
}

/* META */
.jj-meta{
  margin-bottom:15px;
  color:#777;
}

/* ARTICLE */
.jj-article{
  font-size:18px;
  line-height:2.2;
  color:#333;
}

.jj-article p{
  margin-bottom:18px;
}

/* ===== SLIDER PRO (النظيف النهائي) ===== */
.jj-single-slider{
  position:relative;
  margin:30px 0;
  border-radius:20px;        /* 🔥 الحواف */
  overflow:hidden;  
}

.jj-single-slide{
  width:100%;
  max-height:450px;
  object-fit:cover;
  
  display:none;
}

.jj-single-slide.active{
  display:block;
}

/* الأسهم */
.jj-single-slider button{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.45);
  color:#fff;
  border:none;
  width:48px;
  height:58px;
  border-radius:50%;
  cursor:pointer;
  font-size:20px;
  transition:.3s;
  backdrop-filter:blur(6px);
}

.jj-prev{ right:15px; }
.jj-next{ left:15px; }

.jj-single-slider button:hover{
  background:#0f7b50;
}

/* DOTS */
.jj-dots{
  display:flex;
  justify-content:center;
  margin-top:15px;
  gap:8px;
}

.jj-dot{
  width:8px;
  height:8px;
  background:#ccc;
  border-radius:50%;
  cursor:pointer;
  transition:.3s;
}

.jj-dot.active{
  background:#0f7b50;
  transform:scale(1.4);
}

/* RELATED */
.jj-related{
  margin-top:40px;
  padding-top:25px;
  border-top:1px solid #eee;
}

.jj-related-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.jj-related-head h3{
  font-size:22px;
  font-weight:700;
  position:relative;
}

.jj-related-head h3::after{
  content:'';
  width:60px;
  height:3px;
  background:#0f7b50;
  position:absolute;
  bottom:-8px;
  right:0;
}

.jj-related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.jj-related-card{
  display:block;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  text-decoration:none;
  color:#000;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
  transition:.3s;
}

.jj-related-card:hover{
  transform:translateY(-8px);
}

.jj-related-img img{
  width:100%;
  height:180px;
  object-fit:cover;
  transition:.4s;
}

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

.jj-related-content{
  padding:15px;
}

.jj-related-content h4{
  font-size:16px;
  line-height:1.6;
  margin-bottom:10px;
}

.jj-related-meta{
  font-size:13px;
  color:#777;
}

/* LIGHTBOX احترافي */
.jj-lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.95);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  animation:fadeIn .3s;
}

.jj-lightbox img{
  max-width:92%;
  max-height:92%;
  border-radius:14px;
}

@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

/* MOBILE */
@media(max-width:900px){
  .jj-container{
    margin-top:-60px;
  }

  .jj-related-grid{
    grid-template-columns:1fr;
  }
}/* End custom CSS */