/* ==========================================================
   مؤسسة الشهداء - Site Stylesheet
   Colors:
     Navy Dark:  #0a1a3a
     Navy:       #0f2552
     Gold:       #d4a943
     Gold Light: #e9c266
     Gold Dark:  #b8862c
========================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
    background-image: url('/images/news-bg.webp');
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============ محتوى الصفحة العام ============ */
.container {
    width: min(1400px, 92%);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* ============ TOP UTILITY BAR ============ */
.top-bar {
    background: rgba(36, 58, 96, 0.75);
    backdrop-filter: blur(14px);
    color: white;
    min-height: 40px;
    padding: 0 40px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    display: flex;
    align-items: center;
}
    /* المحتويات تبدي من اليسار */
    .top-bar .container {
        display: flex;
        justify-content: flex-start;
        direction: ltr; /* يخلي العناصر تبدي من اليسار */
        height: 34px;
        align-items: center;
    }

    .top-bar a {
        color: #fff;
        text-decoration: none;
        opacity: .85;
        transition: .3s;
        font-size: 20px;
        font-weight: 700;
    }

        .top-bar a:hover {
            color: #c8a96b;
            opacity: 1;
        }
/*  النصوص عربي  */
.top-bar-right,
.top-bar-left {
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}


.social-link {
    width: 38px;
    height: 38px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: color .25s ease, transform .25s ease;
    transform: translateY(0);
}

    .social-link:hover {
        color: #c8a96b;
        transform: translateY(-2px);
    }

.lang-switch {
    color: #ffffff;
    font-size: 19px;
    font-weight: 500;
    transition: color .25s ease;
    transform: translateY(0);
    display: inline-block;
}

    .lang-switch:hover {
        color: #c8a96b;
    }

.top-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,.15);
    display: inline-block;
}

.top-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cdd6e4;
    font-size: 18px;
}

    .top-info i {
        color: #c8a96b;
        font-size: 12px;
    }

/* ============ MAIN HEADER ============ */
.main-header {
    width: min(1450px, 95%);
    margin: 10px auto 0;
    border-radius: 18px;
    background: rgba(8, 28, 58, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: visible !important;
    padding: 8px 0;
    position: sticky;
    top: 10px;
    z-index: 99999;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 55px;
    width: 96%;
    max-width: none;
    margin: 0 auto;
    overflow: visible !important;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
}

.brand-text {
    text-align: center;
}

.brand-title {
    color: #ffffff;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-sub {
    display: block;
    text-align: center;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-top: 6px;
    letter-spacing: .3px;
}

.brand-logo {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    animation: logoPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(212,169,67,.25));
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(212,176,106,.2));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 14px rgba(212,176,106,.5));
    }
}

.brand-logo svg {
    width: 100%;
    height: 100%;
}

/* Navigation */
.main-nav {
    order: 2;
    position: relative;
    z-index: 999999;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-list li {
        position: relative;
    }

.nav-link {
    position: relative;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 14px;
    font-weight: 700;
    border-radius: 6px;
    transition: color .25s ease, background-color .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .nav-link:hover {
        color: #c8a96b;
    }

    .nav-link.active {
        color: #c8a96b;
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            left: 16px;
            right: 16px;
            bottom: 2px;
            height: 2px;
            background: #c8a96b;
            border-radius: 2px;
        }

.nav-caret {
    font-size: 14px;
    transition: transform .25s ease;
}

.has-dropdown {
    position: relative;
}

    .has-dropdown:hover .nav-caret {
        transform: rotate(180deg);
    }

.dropdown {
    position: fixed;
    top: 88px;
    right: auto;
    min-width: 280px;
    max-height: 420px;
    overflow-y: auto;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s ease;
    z-index: 9999999;
}

    .dropdown li:last-child {
        margin-bottom: 0;
    }

    .dropdown li a {
        color: #0a1a3a !important;
        display: block;
        padding: 12px 14px;
        border-radius: 10px;
        font-weight: 700;
    }

        .dropdown li a:hover {
            background: rgba(200,169,107,.12);
            color: #b8862c !important;
        }

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}





/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    order: 0;
}











/* =========================
   HERO
========================= */

.hero-banner {
    width: 86% !important;
    max-width: 1460px !important;
    height: 430px !important;
    margin: 18px auto 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #071c3a !important;
}

.hero-main-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
}







/* =========================
   SLIDER
========================= */

.news-slider {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: scrollNews 70s linear infinite;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 22px;
    transform: translateY(-35px);
}

    .section-title h2 {
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 700;
        margin: 0;
    }

    .section-title p {
        color: rgba(255,255,255,.75);
    }
/* =========================
   NEWS SECTION
========================= */

.news-section {
    position: relative;
    overflow: hidden;
    margin: 26px auto 42px;
    padding: 32px 0 26px;
    width: min(1450px, 96%);
    border: none;
    margin-top: 35px;
}

.news-slider-wrapper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding-inline: 35px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: transparent;
    padding: 25px;
}





.news-slider:hover {
    animation-play-state: paused;
}
/* =========================
   CARD
========================= */

.news-card {
    width: 270px;
    height: 430px;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(10,26,58,.10);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,.10);
    display: flex;
    flex-direction: column;
}
    /* تأثير hover */

    .news-card:hover {
        transform: translateY(-8px);
        border-color: rgba(200,169,107,.55);
        box-shadow: 0 18px 40px rgba(0,0,0,.16);
    }
/* =========================
   IMAGE
========================= */

.news-image {
    height: 155px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }
/* زوم للصورة */

.news-card:hover .news-image img {
    transform: scale(1.05);
}
/* =========================
   CONTENT
========================= */

.news-content {
    padding: 14px;
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* التاريخ */

.news-date {
    color: #c8a96b;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}
/* العنوان */

.news-content h3 {
    color: #0a1a3a;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
    font-weight: 700;
}
/* الوصف */

.news-content p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* اقرأ المزيد */

.read-more {
    display: inline-block;
    color: #d4af37 !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    margin-top: auto;
}
/* =========================
   الحركة
========================= */

@keyframes scrollNews {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}






/* ============ اخر فديوات اليوتيوب ============ */


.enhanced-video-section,
.shorts-section {
    background: transparent;
    position: relative;
    overflow: hidden;
    width: min(1450px, 96%);
    margin: 26px auto 42px;
    padding: 32px 0 26px;
    border-radius: 28px;
}

    .enhanced-video-section::before,
    .shorts-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: transparent;
        pointer-events: none;
    }

.video-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.video-frame-container,
.short-card {
    flex: 1 1 45%;
    max-width: 620px;
    min-width: 280px;
    backdrop-filter: blur(10px);
    transition: all .3s ease;
    background: #f7f9fc;
    border: 1px solid rgba(10,26,58,.06);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

    .video-frame-container:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    }


    .video-frame-container iframe {
        width: 100%;
        aspect-ratio: 16/9;
        border: 0;
    }

@media (max-width: 768px) {
    .video-frame-container {
        flex: 1 1 100%;
    }
}
/* ============ شورتس اليوتيوب ============ */
.shorts-section {
    padding: 40px 20px;
    overflow-x: auto;
}

.shorts-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

    .shorts-slider::-webkit-scrollbar {
        height: 8px;
    }

    .shorts-slider::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 20px;
    }

.short-card {
    min-width: 250px;
    max-width: 250px;
    height: 420px; /* صغر الطول */

    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    flex-shrink: 0;
}

    .short-card iframe {
        width: 100%;
        height: 100%;
        border: 0;
        transition: transform .35s ease;
    }

    .short-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,.35);
    }

    .short-card iframe {
        width: 100%;
        height: 450px;
        border: 0;
        transition: transform .35s ease;
    }

    .short-card:hover iframe {
        transform: scale(1.03);
    }



/* ============ FOOTER ============ */



.site-footer {
    background: transparent;
    color: #cdd6e4;
    padding-top: 10px !important;
    padding-bottom: 4px !important;
    margin-top: 10px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr;
    gap: 10px;
    padding-bottom: 2px;
}

.footer-title {
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
    padding-bottom: 2px;
    position: relative;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 30px;
        height: 2px;
        background: #c8a96b;
    }

.footer-text {
    font-size: 12px;
    line-height: 1.2;
    max-width: 380px;
}

.footer-social {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

    .footer-social a {
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 8px;
        color: #ffffff;
        transition: background-color .25s ease, color .25s ease, border-color .25s ease;
    }

        .footer-social a:hover {
            background: #c8a96b;
            color: #0a1a3a;
            border-color: #c8a96b;
        }

.footer-links li, .footer-contacts li {
    margin-bottom: 1px;
    font-size: 12px;
}

.footer-links a {
    transition: color .25s ease, padding-right .25s ease;
}

    .footer-links a:hover {
        color: #c8a96b;
        padding-right: 6px;
    }

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts i {
    color: #c8a96b;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    padding: 2px 0;
    font-size: 12px;
    color: #98a2b8;
}

.footer-status-bar {
    background: rgba(8, 45, 82, 0.95);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    transition: .3s ease;
}

    .status-pill:hover {
        background: rgba(255,255,255,.09);
        transform: translateY(-2px);
    }

    .status-pill i {
        color: #d4af37;
        font-size: 13px;
    }

    .status-pill span {
        color: white;
        font-weight: 700;
    }

.social-list a {
    color: #cdd6e4;
    transition: .25s ease;
}

    .social-list a:hover {
        color: #d4af37;
        padding-right: 4px;
    }

.social-list i {
    color: #d4af37;
    width: 18px;
}
/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 56px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .brand-title {
        font-size: 22px;
    }
}

@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-row {
        grid-template-columns: 1fr;
    }

    .news-all-btn {
        justify-self: end;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-contacts a {
        color: #cdd6e4;
        transition: .3s ease;
    }

        .footer-contacts a:hover {
            color: #c8a96b;
        }
}



/* ===== أخبار المديريات فقط ===== */

.directorate-details-page .directorate-hero {
    width: 78%;
    max-width: 1050px;
    margin: 28px auto 34px;
    padding: 20px 30px 24px;
}

    .directorate-details-page .directorate-hero h1 {
        font-size: 26px;
        color: #d4b06a;
    }

    .directorate-details-page .directorate-hero p {
        font-size: 15px;
        color: rgba(255,255,255,.85);
    }

.directorate-details-page .department-news-title {
    text-align: center;
    margin: 34px auto 24px;
}

    .directorate-details-page .department-news-title h2 {
        color: #d4b06a;
        font-size: 28px;
        font-weight: 900;
        margin: 0;
    }

.directorate-details-page .department-news-grid {
    width: min(1180px, 90%);
    margin: 36px auto 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
    justify-content: center;
    gap: 28px;
}

.directorate-details-page .directorate-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    transition: .3s ease;
}

    .directorate-details-page .directorate-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 38px rgba(0,0,0,.16);
    }

.directorate-details-page .directorate-image {
    width: 100%;
    height: 195px;
    background: linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
    padding: 10px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    border-bottom: 1px solid #edf0f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .directorate-details-page .directorate-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        display: block;
        background: #fff;
        border-radius: 12px;
    }

.directorate-details-page .directorate-card:hover .directorate-image img {
    transform: none !important;
}

.directorate-details-page .directorate-content {
    background: #fff;
    padding: 20px 22px 24px;
    text-align: right;
}

.directorate-details-page .directorate-date {
    color: #c8a96b;
    font-size: 13px;
    display: block;
    margin-bottom: 12px;
}

.directorate-details-page .directorate-content h3 {
    color: #0f2641;
    font-size: 22px;
    line-height: 1.8;
    margin: 0 0 12px;
    font-weight: 800;
}

.directorate-details-page .directorate-content p {
    color: #666;
    line-height: 2;
    font-size: 15px;
    margin: 0;
}

.directorate-details-page .directorate-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: #c8a96b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

    .directorate-details-page .directorate-readmore:hover {
        color: #b8862c;
        transform: translateX(-3px);
    }









/*لصفحة عرض   الخبر من كارد الخبر */

.news-details-page {
    padding: 60px 20px;
}

.news-details-container {
    max-width: 1100px;
    margin: auto;
    background: rgba(255,255,255,.92);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
}

.details-image {
    width: 100%;
    height: 420px;
    object-fit: contain;
    background: #f4f7fb;
    padding: 30px;
}

.details-content {
    padding: 35px;
}

.details-date {
    color: #c8a96b;
    font-size: 14px;
}

.details-content h1 {
    color: #0f2641;
    font-size: 36px;
    margin: 18px 0;
    line-height: 1.7;
    font-weight: 800;
}

.details-content p {
    color: #374151;
    line-height: 2.2;
    font-size: 18px;
}






/* =========================
   أخبار الدوائر فقط
========================= */

.department-details-page .department-hero {
    width: 78%;
    max-width: 1050px;
    margin: 28px auto 34px;
    padding: 20px 30px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(212,176,106,.11), transparent 28%), radial-gradient(circle at bottom left, rgba(212,176,106,.07), transparent 30%), rgba(12, 34, 68, 0.52);
    border: 1px solid rgba(212,176,106,.28);
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

    .department-details-page .department-hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 3px;
        background: #d4b06a;
        border-radius: 10px;
    }

    .department-details-page .department-hero h1 {
        font-size: 25px;
        font-weight: 900;
        margin: 0 0 10px;
        color: #d4b06a;
    }

    .department-details-page .department-hero p {
        max-width: 760px;
        margin: 0 auto;
        line-height: 1.7;
        color: rgba(255,255,255,.86);
        font-size: 14.5px;
    }

.department-details-page .department-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 720px;
    margin: 18px auto 0;
}

.department-details-page .info-card {
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212,176,106,.22);
    border-radius: 15px;
    padding: 12px 18px;
}

    .department-details-page .info-card span {
        display: block;
        color: rgba(255,255,255,.65);
        margin-bottom: 6px;
        font-size: 13px;
    }

    .department-details-page .info-card strong {
        display: block;
        color: #fff;
        font-size: 16px;
        font-weight: 800;
    }

.department-details-page .department-news-title {
    text-align: center;
    margin: 34px auto 24px;
}

    .department-details-page .department-news-title h2 {
        color: #d4b06a;
        font-size: 28px;
        font-weight: 900;
        margin: 0;
    }

        .department-details-page .department-news-title h2::after {
            content: "";
            display: block;
            width: 75px;
            height: 3px;
            background: #d4b06a;
            border-radius: 10px;
            margin: 12px auto 0;
        }

.department-details-page .department-news-grid {
    width: min(1180px, 90%);
    margin: 36px auto 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 360px));
    justify-content: center;
    gap: 28px;
}

.department-details-page .directorate-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    transition: .3s ease;
}

    .department-details-page .directorate-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 38px rgba(0,0,0,.16);
    }

.department-details-page .directorate-image {
    width: 100%;
    height: 205px;
    background: #f4f7fb;
    overflow: hidden;
}

    .department-details-page .directorate-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        background: #f4f7fb;
    }

.department-details-page .directorate-content {
    background: #fff;
    padding: 20px 22px 24px;
    text-align: right;
}

.department-details-page .directorate-date {
    color: #c8a96b;
    font-size: 13px;
    display: block;
    margin-bottom: 12px;
}

.department-details-page .directorate-content h3 {
    color: #0f2641;
    font-size: 22px;
    line-height: 1.8;
    margin: 0 0 12px;
    font-weight: 800;
}

.department-details-page .directorate-content p {
    color: #666;
    line-height: 2;
    font-size: 15px;
    margin: 0;
}

.department-details-page .directorate-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: #c8a96b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

    .department-details-page .directorate-readmore:hover {
        color: #b8862c;
        transform: translateX(-3px);
    }

/* صفحة اعلانات المؤسسة   */


.announcement-grid {
    width: min(1200px, 92%);
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 28px;
}

.announcement-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    border: 1px solid rgba(15,38,65,.08);
}

.announcement-image {
    height: 230px;
    background: #f4f7fb;
}

    .announcement-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.announcement-content {
    padding: 22px;
    text-align: right;
}

    .announcement-content span {
        color: #c8a96b;
        font-size: 13px;
    }

    .announcement-content h3 {
        color: #0f2641;
        font-size: 22px;
        line-height: 1.8;
        font-weight: 800;
    }

    .announcement-content p {
        color: #555;
        line-height: 2;
    }
/* عنوان صفحة الإعلانات */

.announcement-title {
    text-align: center;
    margin-bottom: 25px;
}

    .announcement-title h2 {
        color: #fff;
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .announcement-title p {
        color: rgba(255,255,255,.8);
        font-size: 15px;
        margin: 0;
    }



/* =========================
   EMPLOYEE CVS
========================= */

.employee-cv-page {
    width: 86%;
    max-width: 1180px;
    margin: 0 auto 70px;
    direction: rtl;
}

    .employee-cv-page .section-title {
        text-align: center;
        margin: 35px 0 42px;
    }

        .employee-cv-page .section-title h2 {
            color: #d4b06a;
            font-size: 34px;
            font-weight: 900;
            margin-bottom: 10px;
        }

        .employee-cv-page .section-title p {
            color: rgba(255,255,255,.78);
            font-size: 16px;
        }

.employee-cv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.employee-cv-card {
    background: radial-gradient(circle at top right, rgba(212,176,106,.13), transparent 28%), radial-gradient(circle at bottom left, rgba(212,176,106,.08), transparent 30%), linear-gradient(180deg, rgba(14, 39, 78, 0.90) 0%, rgba(8, 28, 58, 0.94) 100%);
    border: 1px solid rgba(212,176,106,.28);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.20);
    position: relative;
    transition: .3s ease;
}

    .employee-cv-card::before {
        content: "";
        position: absolute;
        top: -55px;
        right: -55px;
        width: 170px;
        height: 170px;
        border: 1px solid rgba(212,176,106,.16);
        border-radius: 50%;
        box-shadow: 0 0 0 18px rgba(212,176,106,.035), 0 0 0 36px rgba(212,176,106,.025);
        pointer-events: none;
        z-index: 1;
    }

    .employee-cv-card::after {
        content: "";
        position: absolute;
        left: -45px;
        bottom: -45px;
        width: 135px;
        height: 135px;
        background: linear-gradient(135deg, rgba(212,176,106,.14), transparent 65%);
        border-radius: 34px;
        transform: rotate(18deg);
        opacity: .45;
        pointer-events: none;
        z-index: 1;
    }

    .employee-cv-card:hover {
        transform: translateY(-7px);
        border-color: rgba(212,176,106,.55);
        box-shadow: 0 18px 42px rgba(0,0,0,.28);
    }

.employee-cv-image {
    height: 260px;
    padding: 12px;
    background: rgba(255,255,255,.04);
    position: relative;
    z-index: 2;
}

    .employee-cv-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        border-radius: 18px;
        border: 1px solid rgba(212,176,106,.18);
        background: #fff;
    }

.employee-cv-content {
    padding: 20px 18px 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

    .employee-cv-content h3 {
        color: #d4b06a;
        font-size: 20px;
        font-weight: 900;
        line-height: 1.6;
        margin: 0 0 10px;
    }

    .employee-cv-content p {
        color: rgba(255,255,255,.84);
        font-size: 14.5px;
        line-height: 1.8;
        margin: 0;
    }

@media (max-width: 1200px) {
    .employee-cv-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .employee-cv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .employee-cv-page {
        width: 90%;
    }
}

@media (max-width: 560px) {
    .employee-cv-grid {
        grid-template-columns: 1fr;
    }

    .employee-cv-image {
        height: 260px;
    }
}




/* ارشيف الاخبار  */


.archive-page {
    min-height: 100vh;
    /* background: url('/images/news-bg.webp') center center / cover no-repeat;
    background-size: 100% auto;*/
    background-attachment: fixed;
    padding: 40px 0;
}

.archive-box {
    max-width: 1100px;
    margin: auto;
    background: transparent;
    border-radius: 24px;
    padding: 35px;
}

.archive-search {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 30px 0;
    color: #fff;
    font-size: 16px;
}

    .archive-search input {
        width: min(520px, 100%);
        padding: 14px 18px;
        border-radius: 10px;
        border: 1px solid #ddd;
        text-align: right;
    }

    .archive-search button {
        background: #0f4f8f;
        color: #fff;
        border: 0;
        padding: 0 28px;
        border-radius: 10px;
        font-weight: 700;
    }

.archive-list {
    display: grid;
    gap: 16px;
}

.archive-item {
    display: block;
    padding: 20px;
    border-radius: 12px;
    background: rgba(248,250,252,.86);
    border-right: 4px solid #c8a96b;
    text-decoration: none;
    transition: .3s;
}

    .archive-item:hover {
        background: #cdd6e4;
        transform: translateX(-4px);
    }

    .archive-item span {
        color: #c8a96b;
        font-size: 13px;
    }

    .archive-item h3 {
        color: #0f2641;
        font-size: 22px;
        margin: 8px 0;
        line-height: 1.7;
    }

    .archive-item p {
        color: #555;
        line-height: 2;
        margin: 0;
    }






/* مواقع الدوائر والمديريات على الخارطة  */

.map-title {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 14px 30px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    text-shadow: 0 3px 10px rgba(0,0,0,.4);
}

.map-sub-title {
    font-size: 16px;
    color: #fff;
    margin-top: 10px;
}

.map-title-wrapper {
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
}

.iraq-leaflet-card {
    width: min(1200px, 95%);
    margin: 40px auto;
    padding: 24px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,.13);
}

.iraq-map-shape {
    height: 680px;
    overflow: hidden;
    background: #eef3f7;
    border-radius: 24px;
    border: 1px solid rgba(15,38,65,.08);
}

#iraqMap {
    width: 100%;
    height: 100%;
}

.gov-glow-marker {
    background: transparent;
    border: 0;
}

    .gov-glow-marker span {
        width: 16px;
        height: 16px;
        display: block;
        border-radius: 50%;
        background: radial-gradient(circle, #fff7c2 0%, #ffd76a 35%, #c8a96b 70%);
        border: 2px solid #fff;
        box-shadow: 0 0 8px rgba(255,215,0,.95), 0 0 20px rgba(200,169,107,.85), 0 0 38px rgba(200,169,107,.55);
        animation: mapGlow 1.8s infinite ease-in-out;
        position: relative;
    }

        .gov-glow-marker span::after {
            content: "";
            position: absolute;
            inset: -8px;
            border: 2px solid rgba(255,215,0,.65);
            border-radius: 50%;
            animation: mapRing 1.8s infinite ease-out;
        }

@keyframes mapGlow {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

@keyframes mapRing {
    from {
        transform: scale(.5);
        opacity: .9;
    }

    to {
        transform: scale(2.2);
        opacity: 0;
    }
}

.map-popup {
    text-align: right;
    direction: rtl;
    min-width: 220px;
}

    .map-popup h3 {
        color: #0f2641;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .map-popup p {
        color: #c8a96b;
        font-weight: 800;
        margin: 0 0 6px;
    }

    .map-popup small,
    .map-popup span {
        color: #555;
    }








/* SIDE GOLD LINES */

body {
    position: relative;
    overflow-x: hidden;
}

    body::before,
    body::after {
        content: "";
        position: fixed;
        top: 110px;
        width: 2px;
        height: calc(100vh - 110px);
        pointer-events: none;
        z-index: 0;
        opacity: 30;
        background: linear-gradient( to bottom, transparent, rgba(200,169,107,.15), rgba(200,169,107,.85), rgba(224,199,141,.65), rgba(200,169,107,.85), rgba(200,169,107,.15), transparent );
        box-shadow: 0 0 14px rgba(200,169,107,.35);
    }

    body::before {
        left: 38px;
    }

    body::after {
        right: 38px;
    }

.main-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    body::before,
    body::after {
        display: block;
        width: 1px;
        top: 92px;
        height: calc(100vh - 92px);
        opacity: .55;
    }

    body::before {
        left: 8px;
    }

    body::after {
        right: 8px;
    }

    body {
        background-size: cover;
        background-position: center top;
    }
}

.main-header {
    position: sticky !important;
    top: 0;
    z-index: 99999999 !important;
    overflow: visible !important;
}

.header-container,
.main-nav,
.nav-list,
.has-dropdown {
    overflow: visible !important;
    z-index: 99999999 !important;
}

.dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 999999999 !important;
}

.hero-banner,
.news-section,
.news-slider-wrapper,
.news-slider {
    position: relative;
    z-index: 1 !important;
}













/* صفحة منصات التواصل الاجتماعي */

.social-media-page {
    max-width: 1150px;
    margin: auto;
    padding: 55px 20px 90px;
}

.section-title {
    text-align: center;
    margin-bottom: 38px;
}

    .section-title h1 {
        color: #ffffff !important;
        font-size: 38px;
        font-weight: 900;
        margin-bottom: 12px;
    }

    .section-title p {
        color: rgba(255,255,255,.75);
        font-size: 17px;
    }

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.social-card {
    min-height: 190px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(215,180,106,.35);
    border-radius: 22px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .social-card:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,.14);
        border-color: #d7b46a;
    }

    .social-card i {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(215,180,106,.14);
        color: #d7b46a;
        font-size: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .social-card span {
        color: #fff;
        font-size: 18px;
        font-weight: 800;
    }

    .social-card small {
        color: rgba(255,255,255,.68);
        margin-top: 8px;
        font-size: 13px;
    }

@media(max-width:1000px) {
    .social-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media(max-width:650px) {
    .social-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .section-title h1 {
        font-size: 28px;
    }
}

.social-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 780px;
    margin: 0 auto 45px;
}

.stat-box {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(215,180,106,.35);
    border-radius: 20px;
    padding: 18px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

    .stat-box strong {
        display: block;
        color: #d7b46a;
        font-size: 28px;
        font-weight: 900;
        margin-bottom: 6px;
    }

    .stat-box span {
        color: rgba(255,255,255,.78);
        font-size: 14px;
        font-weight: 700;
    }

@media(max-width:650px) {
    .social-stats {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }
}

.social-note {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 18px 25px;
    background: rgba(215,180,106,.10);
    border: 1px solid rgba(215,180,106,.35);
    border-radius: 18px;
    text-align: center;
    color: #fff;
    line-height: 2;
    font-size: 15px;
    backdrop-filter: blur(10px);
}

    .social-note i {
        color: #d7b46a;
        font-size: 20px;
        margin-left: 10px;
    }





/* =========================
   ستايل جميع صفحات قسم من نحن
========================= */

/* حتى ينزل عنوان الصفحة شوي عن الهيدر */
.about-page {
    padding-top: 45px;
}

    /* عنوان الصفحة الرئيسي مثل: الرؤية والرسالة / من نحن / الهيكل التنظيمي */
    .about-page .section-title {
        text-align: center;
        margin-bottom: 55px;
    }

        .about-page .section-title h1,
        .about-page .section-title h2 {
            color: #d4b06a !important;
            font-size: 30px;
            font-weight: 900;
            margin: 0 0 10px;
        }

        .about-page .section-title p {
            color: rgba(255,255,255,.82) !important;
            font-size: 16.5px;
            line-height: 1.8;
            margin: 0;
        }

.about-page-section {
    width: 100%;
    margin: 0 auto 24px;
}

.about-card {
    width: 58%;
    max-width: 820px;
    margin: 0 auto 22px;
    padding: 22px 30px;
    background: radial-gradient(circle at top right, rgba(212,176,106,.13), transparent 28%), radial-gradient(circle at bottom left, rgba(212,176,106,.08), transparent 30%), linear-gradient(180deg, rgba(14, 39, 78, 0.90) 0%, rgba(8, 28, 58, 0.94) 100%);
    border: 1px solid rgba(212, 176, 106, 0.28);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    position: relative;
    overflow: hidden;
    text-align: center;
}

    /* الزخرفة داخل الكارد */
    .about-card::before {
        content: "";
        position: absolute;
        top: -55px;
        right: -55px;
        width: 190px;
        height: 190px;
        border: 1px solid rgba(212,176,106,.18);
        border-radius: 50%;
        box-shadow: 0 0 0 18px rgba(212,176,106,.035), 0 0 0 38px rgba(212,176,106,.025);
        pointer-events: none;
    }

    .about-card::after {
        content: "";
        position: absolute;
        left: -40px;
        bottom: -40px;
        width: 150px;
        height: 150px;
        background: linear-gradient(135deg, rgba(212,176,106,.16), transparent 65%);
        border-radius: 35px;
        transform: rotate(18deg);
        opacity: .45;
        pointer-events: none;
    }

    /* عناوين الكاردات h2 و h3 و h4 */
    .about-card h2,
    .about-card h3,
    .about-card h4,
    .about-card .card-title {
        color: #d4b06a !important;
        font-size: 24px;
        font-weight: 900;
        text-align: center !important;
        margin: 0 auto 16px;
        line-height: 1.6;
        position: relative;
        z-index: 2;
        display: block;
    }

    /* نصوص الكاردات */
    .about-card p,
    .about-card li {
        color: rgba(255,255,255,.88) !important;
        font-size: 15.5px;
        line-height: 1.9;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .about-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .about-card li {
        margin-bottom: 8px;
    }

        .about-card li::before {
            content: "•";
            color: #d4b06a;
            margin-left: 10px;
        }

    /* الكلمات المهمة داخل النص */
    .about-card strong,
    .about-card b {
        color: #d4b06a !important;
        font-weight: 900;
    }

@media (max-width: 900px) {
    .about-page {
        padding-top: 30px;
    }

        .about-page .section-title {
            margin-bottom: 35px;
        }

            .about-page .section-title h1,
            .about-page .section-title h2 {
                font-size: 25px;
            }

    .about-card {
        width: 88%;
        max-width: none;
        padding: 22px 18px;
    }

        .about-card h2,
        .about-card h3,
        .about-card h4,
        .about-card .card-title {
            font-size: 22px;
        }

        .about-card p,
        .about-card li {
            font-size: 14.5px;
        }
}
/* تثبيت ألوان عناوين كاردات صفحات عن المؤسسة */
.about-card h2,
.about-card h3,
.about-card h4,
.about-card .card-title,
.about-card .section-title,
.about-card strong,
.about-card b {
    color: #d4b06a !important;
    font-weight: 900;
    text-align: center !important;
}

/* نصوص الكاردات */
.about-card p,
.about-card li,
.about-card span {
    color: rgba(255,255,255,.88) !important;
    text-align: center !important;
}

/* الروابط داخل الكارد */
.about-card a {
    color: #e2c88a !important;
    text-decoration: none;
}

    .about-card a:hover {
        color: #fff !important;
    }


/* ======================================================
   MOBILE FINAL OVERRIDES
   مؤسسة الشهداء - Mobile Responsive
====================================================== */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
    }

    .container {
        width: 94%;
    }

    /* ================= Header ================= */

    .top-bar {
        display: none;
    }

    .main-header {
        width: 100%;
        margin: 0;
        top: 0;
        border-radius: 0;
        padding: 6px 0;
    }

    .header-container {
        width: 96%;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .brand-logo {
        width: 54px;
        height: 54px;
    }

    .brand-title {
        font-size: 19px;
        line-height: 1.15;
    }

    .brand-sub {
        font-size: 12px;
        margin-top: 2px;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

        .main-nav::-webkit-scrollbar {
            display: none;
        }

    .nav-list {
        width: max-content;
        min-width: 100%;
        justify-content: center;
        gap: 2px;
        flex-wrap: nowrap;
        padding: 0 4px;
    }

    .nav-link {
        font-size: 13px;
        padding: 7px 9px;
        white-space: nowrap;
    }

        .nav-link.active::after {
            left: 10px;
            right: 10px;
            bottom: 0;
        }

    .dropdown {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
        min-width: 230px;
        max-width: 280px;
        max-height: 320px;
        padding: 8px;
        border-radius: 14px;
    }

        .dropdown li a {
            font-size: 13px;
            padding: 10px 12px;
        }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* ================= Hero ================= */

    .hero-banner {
        width: 94%;
        margin: 18px auto 28px;
        border-radius: 18px;
        height: 165px;
        box-shadow: 0 10px 28px rgba(0,0,0,.20);
    }



    /* ================= Section titles ================= */

    .section-title {
        transform: none !important;
        margin: 18px auto 20px;
        padding: 0 12px;
    }

        .section-title h1,
        .section-title h2 {
            font-size: 22px !important;
            line-height: 1.5;
        }

        .section-title p {
            font-size: 14px;
            line-height: 1.8;
        }

    /* ================= Latest News Slider ================= */

    .news-section {
        width: 100%;
        margin: 18px auto 30px;
        padding: 18px 0 20px;
        overflow: hidden;
    }

    .news-slider-wrapper {
        width: 100%;
        padding: 8px 10px 14px;
        border-radius: 18px;
        overflow-x: auto;
        overflow-y: hidden;
    }

        .news-slider-wrapper::-webkit-scrollbar {
            display: none;
        }

    .news-slider {
        animation: none !important;
        gap: 14px;
        width: max-content;
        padding: 0 6px;
    }

    .news-card {
        width: 245px;
        height: 390px;
        border-radius: 18px;
    }

    .news-image {
        height: 145px;
    }

    .news-content {
        padding: 12px;
    }

        .news-content h3 {
            font-size: 15px;
            line-height: 1.65;
        }

        .news-content p {
            font-size: 12.5px;
            line-height: 1.7;
            -webkit-line-clamp: 3;
            line-clamp: 3;
        }

    .read-more {
        font-size: 12.5px;
    }

    /* ================= YouTube ================= */

    .enhanced-video-section,
    .shorts-section {
        width: 94%;
        margin: 22px auto;
        padding: 20px 0;
        border-radius: 18px;
    }

    .video-wrapper {
        gap: 14px;
    }

    .video-frame-container {
        flex: 1 1 100%;
        max-width: 100%;
        border-radius: 18px;
    }

    .shorts-slider {
        justify-content: flex-start;
        overflow-x: auto;
        padding-inline: 8px;
    }

    .short-card {
        min-width: 210px;
        max-width: 210px;
        height: 360px;
    }

        .short-card iframe {
            height: 100%;
        }

    /* ================= Footer ================= */

    .site-footer {
        margin-top: 20px;
        padding: 18px 0 6px !important;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

        .footer-title::after {
            right: 50%;
            transform: translateX(50%);
        }

    .footer-text {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.8;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contacts li {
        justify-content: center;
        font-size: 12px;
    }

    .footer-status-bar {
        gap: 6px;
        padding: 8px;
    }

    .status-pill {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* ================= Social Media Page ================= */

    .social-media-page {
        width: 94%;
        padding: 28px 0 45px;
    }

    .social-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .social-card {
        min-height: 145px;
        padding: 18px 10px;
        border-radius: 18px;
    }

        .social-card i {
            width: 54px;
            height: 54px;
            font-size: 26px;
            margin-bottom: 12px;
        }

        .social-card span {
            font-size: 15px;
        }

        .social-card small {
            font-size: 11px;
        }

    .social-note {
        padding: 14px;
        font-size: 13px;
        line-height: 1.8;
    }

    /* ================= About Pages ================= */

    .about-page {
        padding-top: 28px;
    }

        .about-page .section-title {
            margin-bottom: 28px;
        }

    .about-card {
        width: 92%;
        padding: 20px 16px;
        border-radius: 18px;
    }

        .about-card h2,
        .about-card h3,
        .about-card h4,
        .about-card .card-title {
            font-size: 21px;
            line-height: 1.5;
        }

        .about-card p,
        .about-card li {
            font-size: 14px;
            line-height: 1.9;
        }

    /* ================= Departments / Directorates Details ================= */

    .department-details-page .department-hero,
    .directorate-details-page .directorate-hero {
        width: 92%;
        padding: 18px 14px 22px;
        margin: 22px auto 26px;
        border-radius: 18px;
    }

        .department-details-page .department-hero h1,
        .directorate-details-page .directorate-hero h1 {
            font-size: 22px;
            line-height: 1.6;
        }

        .department-details-page .department-hero p,
        .directorate-details-page .directorate-hero p {
            font-size: 13.5px;
            line-height: 1.8;
        }

    .department-details-page .department-info-grid {
        max-width: 100%;
        margin-top: 14px;
    }

    .department-details-page .info-card {
        padding: 12px;
    }

    .department-details-page .department-news-title h2,
    .directorate-details-page .department-news-title h2 {
        font-size: 23px;
    }

    .department-details-page .department-news-grid,
    .directorate-details-page .department-news-grid {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 26px auto 45px;
    }

    .department-details-page .directorate-card,
    .directorate-details-page .directorate-card {
        border-radius: 18px;
    }

    .department-details-page .directorate-image,
    .directorate-details-page .directorate-image {
        height: 190px;
    }

    .department-details-page .directorate-content,
    .directorate-details-page .directorate-content {
        padding: 16px;
    }

        .department-details-page .directorate-content h3,
        .directorate-details-page .directorate-content h3 {
            font-size: 18px;
            line-height: 1.7;
        }

        .department-details-page .directorate-content p,
        .directorate-details-page .directorate-content p {
            font-size: 13.5px;
            line-height: 1.8;
        }

    /* ================= Employee CVs ================= */

    .employee-cv-page {
        width: 92%;
        margin-bottom: 45px;
    }

        .employee-cv-page .section-title {
            margin: 25px 0 28px;
        }

            .employee-cv-page .section-title h2 {
                font-size: 24px;
            }

    .employee-cv-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .employee-cv-card {
        border-radius: 20px;
    }

    .employee-cv-image {
        height: 250px;
    }

    .employee-cv-content h3 {
        font-size: 18px;
    }

    .employee-cv-content p {
        font-size: 13.5px;
    }

    /* ================= News Details ================= */

    .news-details-page {
        padding: 28px 12px;
    }

    .news-details-container {
        border-radius: 18px;
    }

    .details-image {
        height: 260px;
        padding: 12px;
    }

    .details-content {
        padding: 20px 16px;
    }

        .details-content h1 {
            font-size: 22px;
            line-height: 1.7;
        }

        .details-content p {
            font-size: 15px;
            line-height: 2;
        }

    /* ================= Archive ================= */

    .archive-page {
        padding: 28px 0;
    }

    .archive-box {
        width: 92%;
        padding: 20px 0;
    }

    .archive-search {
        flex-direction: column;
        gap: 10px;
    }

        .archive-search input,
        .archive-search button {
            width: 100%;
            height: 46px;
        }

    .archive-item {
        padding: 16px;
    }

        .archive-item h3 {
            font-size: 18px;
        }

    /* ================= Map ================= */

    .iraq-leaflet-card {
        width: 94%;
        padding: 12px;
        border-radius: 18px;
    }

    .iraq-map-shape {
        height: 420px;
        border-radius: 16px;
    }

    .map-title {
        font-size: 16px;
        padding: 10px 18px;
    }

    .map-sub-title {
        font-size: 13px;
    }
}


/* أصغر شاشات */
@media (max-width: 420px) {

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-title {
        font-size: 17px;
    }

    .brand-sub {
        font-size: 11px;
    }

    .nav-link {
        font-size: 12px;
        padding: 7px 8px;
    }

    .hero-banner {
        height: 145px;
        border-radius: 16px;
    }

    .news-card {
        width: 230px;
        height: 375px;
    }

    .social-grid {
        grid-template-columns: 1fr 1fr;
    }

    .short-card {
        min-width: 190px;
        max-width: 190px;
        height: 330px;
    }
}
/* ======================================================
   FIX MOBILE HERO ONLY
====================================================== */

@media (max-width: 768px) {
    .hero-banner {
        width: calc(100% - 24px) !important;
        height: 230px !important;
        margin: 12px auto 20px !important;
        border-radius: 14px !important;
    }

    .hero-main-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}


/* ======================================================
   MOBILE FIX - زخارف + سحب كاردات الأخبار
====================================================== */
/*@media (max-width: 768px) {

    .news-section {
        width: 100%;
        margin: 20px auto 30px;
        padding: 18px 0 10px;
    }

    .section-title {
        margin-bottom: 14px;
        transform: none;
    }

        .section-title h2 {
            font-size: 28px !important;
            color: #fff !important;
        }

        .section-title p {
            font-size: 14px;
            color: rgba(255,255,255,.78);
        }

    .news-slider-wrapper {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding: 0 12px 14px;
        border-radius: 18px;
    }

        .news-slider-wrapper::-webkit-scrollbar {
            display: none;
        }

    .news-slider {
       
        display: flex;
        gap: 14px;
        width: max-content;
        padding: 0;
    }

    .news-card {
        width: 235px;
        min-width: 235px;
        height: auto;
        scroll-snap-align: start;
        border-radius: 18px;
    }

    .news-image {
        height: 130px;
    }

        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .news-content {
        padding: 12px;
    }

        .news-content h3 {
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 8px;
        }

        .news-content p {
            font-size: 12px;
            line-height: 1.8;
            -webkit-line-clamp: 3;
        }

    .news-date {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .read-more {
        font-size: 12px;
    }
}*/
/* ======================================================
   FIX MOBILE NEWS AUTO SLIDER
====================================================== */

@media (max-width: 768px) {

    .news-slider-wrapper {
        overflow: hidden !important;
        padding: 0 12px 14px !important;
    }

    .news-slider {
        display: flex !important;
        gap: 14px !important;
        width: max-content !important;
        animation: mobileNewsMove 35s linear infinite !important;
        transform: translateX(0);
    }

        /* مهم: لا توقف الحركة بالهوفر داخل الموبايل */
        .news-slider:hover {
            animation-play-state: running !important;
        }

    .news-card {
        width: 235px !important;
        min-width: 235px !important;
        flex-shrink: 0 !important;
    }
}

@keyframes mobileNewsMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}


/* ==============================
   QR Martyr Details Page
   ============================== */

.qr-martyr-page {
    direction: rtl;
    min-height: calc(100vh - 120px);
    padding: 55px 0 80px;
    background: radial-gradient(circle at top right, rgba(184, 149, 69, 0.16), transparent 34%), linear-gradient(180deg, #f8f4ea 0%, #efe6d4 100%);
    color: #10243d;
}

.qr-martyr-container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.qr-martyr-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 38px;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(184, 149, 69, 0.35);
    border-radius: 30px;
    padding: 36px;
    box-shadow: 0 18px 45px rgba(8, 28, 58, 0.16);
    position: relative;
    overflow: hidden;
}

    .qr-martyr-card::before {
        content: "";
        position: absolute;
        inset: 18px;
        border: 1px dashed rgba(184, 149, 69, 0.28);
        border-radius: 24px;
        pointer-events: none;
    }

.qr-photo-side,
.qr-info-side {
    position: relative;
    z-index: 2;
}

.qr-photo-side {
    text-align: center;
}

.qr-photo-frame {
    width: 300px;
    height: 360px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 28px;
    background: linear-gradient(180deg, #d7b76a, #8b6b28);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.qr-martyr-photo {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 22px;
    object-fit: cover;
    background: #eee;
}

.qr-badge {
    width: fit-content;
    margin: 16px auto 0;
    padding: 8px 18px;
    border-radius: 999px;
    background: #0b2b4c;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(8, 28, 58, 0.18);
}

.qr-foundation-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #9b7627;
    font-size: 15px;
    font-weight: 800;
}

.qr-info-side h1 {
    margin: 0;
    color: #071f3d;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.35;
}

.qr-short-title {
    margin: 10px 0 18px;
    color: #6c5b38;
    font-size: 18px;
    font-weight: 700;
}

.qr-quote {
    margin: 20px 0 24px;
    padding: 18px 22px;
    border-right: 5px solid #b89545;
    border-radius: 18px;
    background: #fbf7ee;
    color: #263a55;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.9;
}

.qr-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.qr-meta-item {
    min-height: 82px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8f1df, #fff);
    border: 1px solid rgba(184, 149, 69, 0.24);
}

    .qr-meta-item span {
        display: block;
        color: #8a6a27;
        font-size: 13px;
        font-weight: 800;
        margin-bottom: 7px;
    }

    .qr-meta-item strong {
        display: block;
        color: #10243d;
        font-size: 15px;
        line-height: 1.7;
    }

.qr-story-card {
    margin-top: 26px;
    padding: 36px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(184, 149, 69, 0.28);
    box-shadow: 0 14px 35px rgba(8, 28, 58, 0.12);
}

    .qr-story-card h2 {
        margin: 0 0 20px;
        color: #071f3d;
        font-size: 28px;
        font-weight: 900;
        position: relative;
    }

        .qr-story-card h2::after {
            content: "";
            display: block;
            width: 70px;
            height: 4px;
            margin-top: 10px;
            border-radius: 999px;
            background: #b89545;
        }

    .qr-story-card p {
        color: #233a55;
        font-size: 18px;
        line-height: 2.15;
        margin-bottom: 16px;
        text-align: justify;
    }

/* Mobile */
@media (max-width: 768px) {
    .qr-martyr-page {
        padding: 32px 0 55px;
    }

    .qr-martyr-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 18px;
        border-radius: 24px;
    }

    .qr-photo-frame {
        width: 230px;
        height: 285px;
        border-radius: 24px;
    }

    .qr-martyr-photo {
        border-radius: 18px;
    }

    .qr-info-side {
        text-align: center;
    }

        .qr-info-side h1 {
            font-size: 27px;
        }

    .qr-short-title {
        font-size: 16px;
    }

    .qr-quote {
        text-align: center;
        font-size: 16px;
        padding: 15px;
        border-right: 0;
        border-top: 4px solid #b89545;
    }

    .qr-meta-grid {
        grid-template-columns: 1fr;
    }

    .qr-story-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

        .qr-story-card h2 {
            font-size: 24px;
            text-align: center;
        }

            .qr-story-card h2::after {
                margin-left: auto;
                margin-right: auto;
            }

        .qr-story-card p {
            font-size: 16px;
            line-height: 2;
            text-align: right;
        }
}
/* ==============================
   QR Print Page - Fixed
   ============================== */

.qr-print-page {
    direction: rtl;
    min-height: calc(100vh - 95px);
    padding: 45px 16px 70px;
    background: linear-gradient(180deg, #f7f1e4, #eee3cf);
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
}

.qr-print-card {
    width: min(420px, 92vw) !important;
    max-width: 420px !important;
    min-height: 560px;
    margin: 0 auto !important;
    padding: 28px 24px;
    background: linear-gradient(180deg, #ffffff, #f8f1e2);
    border: 3px solid #b89545;
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
    position: relative;
    overflow: hidden;
}

    .qr-print-card::before {
        content: "";
        position: absolute;
        inset: 14px;
        border: 1px dashed rgba(184, 149, 69, 0.45);
        border-radius: 20px;
        pointer-events: none;
    }

.qr-print-header,
.qr-print-name,
.qr-print-code,
.qr-print-text,
.qr-print-decision,
.qr-print-url {
    position: relative;
    z-index: 2;
}

    .qr-print-header img {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
        object-fit: contain !important;
        display: block;
        margin: 0 auto 8px;
    }

    .qr-print-header h1 {
        margin: 0;
        color: #0b2b4c;
        font-size: 25px;
        font-weight: 900;
    }

    .qr-print-header p {
        margin: 8px 0 18px;
        color: #8a6a27;
        font-size: 17px;
        font-weight: 800;
    }

.qr-print-name {
    margin: 16px 0;
    padding: 12px 16px;
    background: #0b2b4c;
    color: #fff;
    border-radius: 16px;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.7;
}

.qr-print-code {
    width: 250px !important;
    height: 250px !important;
    margin: 20px auto !important;
    padding: 14px;
    background: #fff;
    border: 2px solid #d8bb6a;
    border-radius: 22px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .qr-print-code img {
        width: 215px !important;
        height: 215px !important;
        max-width: 215px !important;
        max-height: 215px !important;
        object-fit: contain !important;
        display: block;
    }

.qr-print-text {
    color: #0b2b4c;
    font-size: 18px;
    font-weight: 900;
    margin-top: 12px;
}

.qr-print-decision {
    margin-top: 12px;
    color: #58441e;
    font-size: 14px;
    font-weight: 700;
}

.qr-print-url {
    margin-top: 14px;
    color: #777;
    font-size: 11px;
    word-break: break-all;
    direction: ltr;
}

.qr-print-btn {
    margin-top: 22px;
    padding: 11px 34px;
    border: 0;
    border-radius: 12px;
    background: #0b2b4c;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

@media print {
    header,
    footer,
    .main-header,
    .site-footer,
    .qr-print-btn {
        display: none !important;
    }

    .qr-print-page {
        padding: 0 !important;
        min-height: auto !important;
        background: #fff !important;
    }

    .qr-print-card {
        box-shadow: none !important;
        margin: 0 auto !important;
    }
}


/* ==============================
   QR Martyrs Search Page
   ============================== */

.qr-index-page {
    min-height: calc(100vh - 110px);
    padding: 55px 0 80px;
    background: radial-gradient(circle at top right, rgba(184, 149, 69, 0.15), transparent 34%), linear-gradient(180deg, #f8f4ea 0%, #efe6d4 100%);
    direction: rtl;
    color: #10243d;
}

.qr-index-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.qr-index-header {
    text-align: center;
    margin-bottom: 28px;
}

    .qr-index-header span {
        color: #9b7627;
        font-size: 15px;
        font-weight: 900;
    }

    .qr-index-header h1 {
        margin: 8px 0 10px;
        color: #071f3d;
        font-size: clamp(32px, 4vw, 48px);
        font-weight: 900;
    }

    .qr-index-header p {
        margin: 0;
        color: #5e6b7a;
        font-size: 17px;
    }

.qr-search-box {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(184, 149, 69, 0.28);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(8, 28, 58, 0.10);
    margin-bottom: 18px;
}

    .qr-search-box input {
        width: min(620px, 100%);
        height: 48px;
        border: 1px solid rgba(184, 149, 69, 0.35);
        border-radius: 14px;
        padding: 0 16px;
        font-size: 15px;
        outline: none;
        color: #10243d;
        background: #fff;
    }

        .qr-search-box input:focus {
            border-color: #b89545;
            box-shadow: 0 0 0 4px rgba(184, 149, 69, 0.14);
        }

    .qr-search-box button,
    .qr-search-box a {
        height: 48px;
        padding: 0 22px;
        border: 0;
        border-radius: 14px;
        font-size: 15px;
        font-weight: 900;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .qr-search-box button {
        background: #0b2b4c;
        color: #fff;
    }

    .qr-search-box a {
        background: #f3ead7;
        color: #7a5b20;
    }

.qr-results-count {
    color: #6d5b36;
    font-size: 14px;
    font-weight: 800;
    margin: 12px 4px 20px;
}

.qr-martyrs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.qr-martyr-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(184, 149, 69, 0.28);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(8, 28, 58, 0.11);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qr-martyr-thumb {
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    background: #efe8d8;
    border: 1px solid rgba(184, 149, 69, 0.28);
}

    .qr-martyr-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.qr-martyr-item-body h2 {
    margin: 0;
    color: #071f3d;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.55;
}

.qr-martyr-item-title {
    margin: 6px 0 10px;
    color: #8a6a27;
    font-size: 14px;
    font-weight: 800;
}

.qr-martyr-small-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

    .qr-martyr-small-info span {
        padding: 6px 10px;
        border-radius: 999px;
        background: #f7f0df;
        color: #58441e;
        font-size: 12px;
        font-weight: 800;
    }

.qr-martyr-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

    .qr-martyr-actions a {
        flex: 1;
        min-height: 43px;
        border-radius: 13px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .qr-martyr-actions .view-btn {
        background: #0b2b4c;
        color: #fff;
    }

    .qr-martyr-actions .print-btn {
        background: #b89545;
        color: #fff;
    }

.qr-no-results {
    padding: 35px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(184, 149, 69, 0.25);
    text-align: center;
    color: #7a5b20;
    font-size: 18px;
    font-weight: 900;
}

@media (max-width: 992px) {
    .qr-martyrs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .qr-index-page {
        padding: 35px 0 60px;
    }

    .qr-search-box {
        flex-direction: column;
    }

        .qr-search-box input,
        .qr-search-box button,
        .qr-search-box a {
            width: 100%;
        }

    .qr-martyrs-grid {
        grid-template-columns: 1fr;
    }

    .qr-martyr-thumb {
        height: 230px;
    }

    .qr-martyr-actions {
        flex-direction: column;
    }
}


/* ======================================================
   FINAL MOBILE HEADER + DROPDOWN + HERO FIX
   تم توحيد هذا القسم لمنع تعارضات الموبايل
====================================================== */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* الهيدر */
    .main-header {
        position: relative !important;
        top: 0 !important;
        z-index: 10000 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 7px 0 5px !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .header-container {
        position: relative !important;
        z-index: 10001 !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 6px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        overflow: visible !important;
    }

    .brand {
        width: 100% !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .brand-logo {
        width: 52px !important;
        height: 52px !important;
    }

    .brand-title {
        font-size: 19px !important;
    }

    .brand-sub {
        font-size: 12px !important;
        margin-top: 2px !important;
    }

    /* القائمة الرئيسية: بدون سحب أفقي حتى لا تُقص القائمة المنسدلة */
    .main-nav {
        position: relative !important;
        z-index: 10002 !important;
        width: 100% !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .nav-list {
        position: relative !important;
        z-index: 10003 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 2px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0 !important;
        overflow: visible !important;
    }

        .nav-list > li {
            position: relative !important;
            flex: 0 1 auto !important;
            min-width: 0 !important;
            overflow: visible !important;
        }

    .nav-link {
        font-size: 11.5px !important;
        padding: 7px 4px !important;
        gap: 3px !important;
        white-space: nowrap !important;
    }

    .nav-caret {
        font-size: 11px !important;
    }

    /* القائمة المنسدلة الفعلية في المشروع اسمها dropdown */
    .dropdown {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        right: 0 !important;
        left: auto !important;
        z-index: 20000 !important;
        min-width: 210px !important;
        max-width: min(280px, 88vw) !important;
        max-height: 320px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 8px !important;
        border-radius: 14px !important;
        background: rgba(255,255,255,.98) !important;
        box-shadow: 0 14px 35px rgba(0,0,0,.28) !important;
    }

        .dropdown li a {
            font-size: 13px !important;
            padding: 10px 12px !important;
        }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* الهيرو */
    .hero-banner {
        position: relative !important;
        z-index: 1 !important;
        width: calc(100% - 20px) !important;
        max-width: 420px !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        margin: 14px auto 16px !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        background: #071c3a !important;
    }

    .hero-main-image {
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        transform: none !important;
    }

    /* عنوان آخر الأخبار */
    .news-section {
        width: 100% !important;
        margin: 0 auto 28px !important;
        padding: 12px 0 20px !important;
    }

    .section-title {
        transform: none !important;
        margin: 8px auto 18px !important;
        padding: 4px 0 6px !important;
        line-height: 1.6 !important;
        overflow: visible !important;
        height: auto !important;
    }

        .section-title h2 {
            font-size: 24px !important;
            line-height: 1.6 !important;
        }
}

@media (max-width: 420px) {
    .nav-link {
        font-size: 10.5px !important;
        padding: 7px 3px !important;
    }

    .brand-logo {
        width: 48px !important;
        height: 48px !important;
    }

    .hero-banner {
        width: calc(100% - 16px) !important;
    }
}
