/* news_details.css: الأنماط الخاصة بصفحة تفاصيل الخبر */
body {margin:0; background:#f4f7fa; font-family:'Tajawal',Arial,sans-serif; color:#191d28;}

/* Hero Section */
.news-details-hero {
    position:relative; min-height:420px;
    background:#191d28;
    display:flex; align-items:flex-end; justify-content:flex-start;
    overflow:hidden; padding:27px 0;
}
.news-details-hero-bg {
    position:absolute; inset:0; z-index:1;height:700px;
}
.news-details-hero-bg img {
    width:100%; height:100%; object-fit:cover;
    filter:brightness(0.35) grayscale(0.12);
    opacity:0; transition:all 1.2s cubic-bezier(.23,.67,.21,.97);
}
.news-details-hero-bg img.show {opacity:2;}
.news-details-hero-overlay {
    position:absolute; inset:0; z-index:2;
    background:linear-gradient(to top, rgba(25,29,40,0.95), rgba(25,29,40,0.0));
}
.news-details-hero-content {
    position:relative; z-index:3; max-width:1100px;
    margin:auto; padding:0 18px;
}
.news-details-cat {
    display:inline-block; font-size:1.15rem; color:#fff; font-weight:700;
    background:#de852f; padding:5px 12px 3px 12px; border-radius:12px;
    margin-bottom:10px;
}
.news-details-title {
    font-size:2.3rem; font-weight:800; color:#fff; line-height:1.2;
    text-shadow:0 3px 12px #000a; margin-bottom:8px;
}
.news-details-date {
    font-size:1.02rem; color:#eee; font-weight:500;
}

/* Content Section */
.news-details-content {
    background:#f4f7fa; padding:45px 0;
}
.news-details-content-container {
    max-width:850px; margin:auto; padding:0 18px;
    background:#fff; border-radius:22px; box-shadow:0 8px 30px #0000000d;
    padding:40px; transform:translateY(-70px);
}
.news-details-body {
    font-size:1.1rem; color:#232c44; line-height:1.9;
    margin-bottom:28px; font-weight:500;
}

/* Gallery inside Content */
.news-details-gallery {
    display:flex; gap:25px; margin:35px 0; justify-content:center;
}
.details-img {
    width:48%; height:200px; object-fit:cover; border-radius:14px;
    box-shadow:0 4px 18px #00000012;
    opacity:0; transform:scale(0.95); transition:all 1.1s cubic-bezier(.21,.67,.23,.97);
}
.details-img.show {opacity:1; transform:scale(1);}

/* Media Queries */
@media(max-width:900px){
    .news-details-title{font-size:1.65rem;}
    .news-details-hero{min-height:300px;}
    .news-details-content-container{transform:translateY(-50px);padding:25px 18px;}
}
@media(max-width:600px){
    .news-details-hero{min-height:600px;padding:18px 0;}
    .news-details-cat{font-size:.9rem;}
    .news-details-title{font-size:1.25rem;}
    .news-details-date{font-size:.9rem;}
    .news-details-body{font-size:1rem;line-height:1.7;}
    .news-details-content-container{transform:translateY(-20px);padding:18px;}
    .news-details-gallery{flex-direction:column; gap:12px;}
    .details-img{width:100%; height:150px;}
}