* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: Frutiger;
    src: url("../fonts/Cairo-SemiBold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --main-color: #01322e;
    --hover-color: #024e48;
    --diffrent-color: #53b7e8;
    --black-color: #272727;
    --black-deep: #000;
    --white-color: #ffffff;
    --gray-color: #5d5d66;
    --white-smoke-color: #ccc;
    --lilake-color: #e50046;
}
.container-fluid {
    padding: 0 20px;
}
body {
    font-family: Frutiger !important;
    background-color: var(--white-color);
}
.bi-search::before {
    color: #888;
}
h1,
h2,
h3,
h3,
h5,
h6 {
    font-family: Frutiger !important;
}
a {
    text-decoration: none;
    font-family: Frutiger !important;
    color: inherit;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul li {
    list-style: none;
}
input::placeholder {
    color: #aba2a8;
    opacity: 1;
}
.social-iconss {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999999;
}

.social-iconss .icon {
    background-color: var(--white-color);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    animation: pulse 1.5s infinite;
}

.social-iconss .icon img {
    width: 70%;
    height: 70%;
    animation: shake 1.5s infinite;
}

/* ألوان خاصة لكل أيقونة */
.whatsapp {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
}


/* نبض */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 currentColor;
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* اهتزاز مثل الاتصال */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(15deg);
    }
    20% {
        transform: rotate(-15deg);
    }
    30% {
        transform: rotate(10deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(5deg);
    }
    60% {
        transform: rotate(-5deg);
    }
    70% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
.fixed-container {
    max-width: 1352px; /* العرض اللي بدك ياه ثابت */
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}
.header-wrapper {
    width: 100%;
    background: #fff;
}
header .container,
.main-navbar .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* ================== HEADER ================== */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--white-color);
    flex-wrap: wrap;
    transition: all 0.4s ease;
}
.main-header.hide {
    opacity: 0;
    transform: translateY(-100%);
}
.main-header .logo {
    width: 137px;
    height: 61px;
}
.main-header .logo img {
    max-width: 100%;
    height: auto;
}

.main-header .live-btn {
    width: 143px;
    background-color: var(--lilake-color);
    color: var(--white-color);
    border: none;
    padding: 4px 20px 6px 0;
    border-radius: 4px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.main-header .search-box {
    position: relative;
}

.main-header .search-box input {
    border-radius: 4px;
    border: 1px solid var(--white-smoke-color);
    padding: 4px 12px 4px 32px;
    width: 267px;
}
.main-header .search-box button {
    position: absolute;
    border: 0;
    background-color: transparent;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--black-color);
}

.main-header .navbar-toggler {
    border: none;
    font-size: 1.8rem;
    color: var(--main-color);
    display: none;
    background: none;
    cursor: pointer;
}
.mobile-search-button {
    width: 100%;
    display: none;
    transition: all 0.5s;
}
.mobile-search-button .mobile-input-search {
    border-radius: 4px;
    border: 1px solid var(--white-smoke-color);
    padding: 4px 12px 4px 32px;
    width: 100%;
}

.mobile-search-button button {
    position: absolute;
    border: 0;
    background-color: transparent;
    left: 36px;
    top: 70px;
    color: var(--black-color);
}
/* ================== NAVBAR ================== */
.banner {
    background-color: var(--main-color);
}
.top-header {
    position: relative;
}
.main-navbar {
    position: relative;
    left: 0;
    right: 0;
    z-index: 5;
    overflow: hidden;
    /* transition:
        all 0.5s ease,
        opacity 0.4s ease; */
}
.hideBtnHome {
    display: none;
}
.banner.scrolled {
    position: fixed;
    background-color: var(--main-color);
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}
/* .main-navbar.scrolled {
    position: fixed;
    background-color: var(--main-color);
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all .5s;
} */

.banner .logo-with-nav {
    display: none;
}
.main-navbar a {
    font-size: 15px;
    color: var(--white-color);
    font-weight: 500;
    padding: 10px 18px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.main-navbar a:hover {
    background-color: var(--hover-color);
}

.main-navbar .dropdown-menu {
    text-align: right;
}
.btn-search-nav,
.btn-live-nav,
.btn-close-menu {
    display: none;
}

.banner.scrolled .logo-with-nav {
    display: inline;
    background-color: var(--white-color);
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .mobile-search-active {
        display: block;
        transition: all 0.5s;
    }
    .btn-open-menu {
        position: absolute;
        top: 24px;
        right: 23px;
        display: block;
        border: none;
        background: transparent;
    }
    .btn-live-nav {
        position: absolute;
        top: 24px;
        left: 20px;
        width: 30px;
        height: 30px;
        background-color: var(--lilake-color);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        cursor: pointer;
        color: var(--white-color);
    }
    .btn-search-nav {
        position: absolute;
        top: 23px;
        left: 70px;
        width: 35px;
        height: 35px;
        /* background-color: #2222; */
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        cursor: pointer;
    }
    .btn-search-nav i {
        font-size: 19px;
    }
    .main-header .search-box {
        display: none;
    }
    .main-header {
        justify-content: space-between;
        /* gap: 10px; */
        padding: 16px 16px 10px 16px;
    }

    .main-header .action_div_left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 10px;
    }

    .main-header .search-box input {
        width: 100%;
    }

    .main-header .live-btn {
        display: none;
        width: 100%;
        justify-content: center;
    }

    .main-header .navbar-toggler {
        position: absolute;
        top: 24px;
        display: block;
        /* margin-right: 1rem; */
    }
    .main-header .logo {
        position: relative;
        right: 60px;
        top: 3px;
        width: 86px;
        height: 38px;
    }
    .main-navbar {
        position: absolute;
        display: flex;
        flex-direction: column;
        text-align: right;
        height: 0;
        opacity: 0;
    }

    .main-navbar.active {
        position: fixed;
        background-color: var(--main-color);
        left: 0;
        right: 0;
        top: 73px;
        z-index: 2;
        height: 39vh;
        opacity: 1;
        overflow-y: auto;
        transition: height 0.3s ease-in-out;
    }

    .main-navbar a {
        display: block;
        padding: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ============ ACTION DIV LEFT ============ */
.top-header .action_div_left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-header .action_div_left .search_btn {
    position: absolute;
    left: 196px;
    top: 39px;
    padding-left: 8px;
    color: var(--black-color);
}

/* لجعل البحث وزر البث مناسبين على الشاشات الصغيرة */
@media (max-width: 576px) {
    .top-header .action_div_left {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .top-header .action_div_left .search-box {
        width: 100%;
    }

    .top-header .action_div_left .search-box input {
        width: 100%;
    }

    .main-header .live-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
@media (max-width: 992px) {
    .top-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--white-color);
    }

    body {
        padding-top: 100px;
    }
}
/* ================== VIEW SECTION ================== */
.section_one {
    margin-top: 1rem;
}
.section_one .view-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap; /* يسمح بالتفاف العناصر عند صغر الشاشة */
}

.section_one .view_box_main {
    width: 66%;
    height: fit-content;
    position: relative;
}

.section_one .view_box_main img {
    width: 100%;
    height: 488px;
    object-fit: cover;
    border-radius: 4px;
}

.section_one .view_text_main {
    margin-top: 10px;
}
.section_one .view_text_main p {
    color: var(--gray-color);
}
.section_one .sub_view_box_main {
    width: 32.33%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section_one .sub_view_box {
    width: 100%;
}

.section_one .sub_view_box img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 5px;
}

.section_one .sub_view_text h5 {
    font-size: 16px;
    margin-top: 5px;
}

/* للشاشات المتوسطة (أجهزة التابلت) */
@media (max-width: 992px) {
    .section_one .view_box_main img {
        height: 209px;
    }
    .section_one .view_box_main {
        width: 100%;
        height: auto;
    }

    .section_one .sub_view_box_main {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .section_one .sub_view_box {
        width: calc(50% - 5px);
    }

    .section_one .sub_view_box img {
        height: 180px;
    }
}

/* للشاشات الصغيرة (الموبايل) */
@media (max-width: 576px) {
    .section_one .view-content {
        flex-direction: column;
    }

    .section_one .view_box_main {
        width: 100%;
        height: auto;
    }
    .section_one .sub_view_box {
        width: calc(100% - 5px);
    }

    .section_one .sub_view_box_main {
        width: 100%;
        flex-direction: column;
    }

    .section_one .sub_view_box img {
        height: 209px;
    }

    .section_one .view_text_main h2 {
        font-size: 20px;
    }

    .section_one .sub_view_text h5 {
        font-size: 14px;
    }
}

/* section two */

.section_two {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 26px;
    direction: rtl;
    font-family: "Tajawal", sans-serif;
    padding: 30px 0;
}

.section_two .news-category {
    flex: 0 0 65.8%;
}
.section_two .news-category-side {
    flex: 0 0 32.2%;
}

.section_two .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section_two .category-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.section_two .category-header .show-all {
    color: var(--hover-color);
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.section_two .category-header .show-all i {
    font-size: 22px;
}

.section_two .news-content {
    display: flex;
    /* justify-content: space-between; */
    gap: 20px;
    flex-wrap: wrap;
}

/* الخبر الرئيسي */
.section_two .main-news {
    flex: 0 0 50%;
}

.section_two .main-news img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section_two .main-news h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section_two .main-news a :hover h4 {
    color: var(--hover-color) !important;
}

.section_two .main-news p {
    color: var(--gray-color);
    font-size: 14px;
}

/* الأخبار الفرعية */
.section_two .sub-news {
    flex: 0 0 47.55%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.section_two .news-category-side .sub-news {
    flex: 0 0 100%;
}
.section_two .sub-item a {
    display: flex;
    gap: 10px;
    align-items: center;
}
.section_two .sub-item a:hover {
    color: var(--hover-color);
}

.section_two .sub-item img {
/*     width: 180px; */
	width:auto;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
}

.section_two .sub-item h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* -------- التصميم المتجاوب -------- */
@media (max-width: 992px) {
    .section_two {
        flex-direction: column;
    }
    .section_two .news-content {
        display: block;
    }

    .section_two .news-category {
        flex: 0 0 100%;
    }

    .section_two .main-news img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .section_two.main-news img {
        height: 180px;
    }

    .section_two .sub-item img {
        width: 90px;
        height: 65px;
    }

    .section_two .sub-item h5 {
        font-size: 13px;
    }

    .section_two .category-header h3 {
        font-size: 18px;
    }
}

/* section three */

.section-three {
    padding: 26px 0;
    width: 100%;
    overflow: hidden;
}

.section-three .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-three .section-header h2 {
    font-size: 24px;
    color: var(--black-color);
}

.section-three .view-all {
    color: var(--hover-color);
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.section-three .view-all i {
    font-size: 28px;
}

.section-three .news-grid {
    display: grid;
    grid-template-columns: 3fr 3fr;
    gap: 20px;
}

.section-three .left-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: fit-content;
}
.section-three .left-news .news-item {
    width: 368px;
}
.section-three .left-news a {
    display: block;
    width: 100%;
}
.section-three .left-news .news-item:hover h3 {
    color: var(--hover-color);
}
.section-three .news-item img {
    width: 368px;
    min-height: 207px;
    object-fit: cover;
    border-radius: 5px;
}

.section-three .news-item h3 {
    font-size: 16px;
    margin-top: 8px;
    line-height: 18px;
    color: var(--black-color);
}

.section-three .main-news {
    position: relative;
    max-height: 100%;
    overflow: hidden;
    border-radius: 8px;
}
/* .section-three .main-news a {
    display: block;
    width: 535px;
    height: 311px;
} */
.section-three .main-news img {
    position: absolute;
    width: 100%;
    height: 312px;
    object-fit: cover;
    z-index: 1;
}

.section-three .main-news-content {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--main-color);
    color: var(--white-color);
    padding: 15px 20px 20px 20px;
    border-radius: 0 0 10px 10px;
}
.section-three .main-news-content .text-section-three {
    position: absolute;
    bottom: 55px;
    left: 0;
    right: 0;
    margin: 0 20px;
}

.section-three .main-news-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    width: fit-content;
}

.section-three .main-news-content p {
    font-size: 13px;
    line-height: 1.4;
    color: var(--white-color);
}

.section-three .badge {
    background-color: var(--white-color);
    color: var(--black-color);
    font-size: 12px;
    width: max-content;
    height: 34px;
    padding: 10px 11px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 20px;
}

/* التجاوب */
@media (max-width: 992px) {
    .section-three .left-news .news-item {
        width: 100%;
    }
    .section-three .news-item img {
        width: 100%;
    }
    .section-three .news-item h3 {
        font-size: 18px;
    }
    .section-three .main-news-content .text-section-three {
        bottom: 10px;
    }
    .section-three .main-news img {
        position: absolute;
        height: max-content !important;
    }
    .section-three .badge {
        padding: 10px 14px;
    }
    .section-three .main-news-content {
        bottom: 0;
    }
    .section-three .news-grid {
        /* grid-template-columns: 1fr; */
        display: flex;
        flex-direction: column;
    }

    .section-three .left-news {
        grid-template-columns: 1fr 1fr;
    }

    .section-three .main-news {
        order: -1;
        margin-bottom: 20px;
    }
    .section-three .main-news a {
        display: block;
        width: 100%;
        /* height: 382px; */
        /* border-radius: 0 0 10px 10px; */
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .section-three .left-news {
        grid-template-columns: 1fr;
    }

    .section-three .section-header h2 {
        font-size: 20px;
    }

    .section-three .main-news-content h3 {
        font-size: 15px;
    }
}
@media (max-width: 600px) {
    /* تصغير حجم الصورة بشكل صحيح */
    .section-three .main-news {
        height: auto;
    }

    .section-three .main-news img {
        position: relative;
        width: 100%;
        height: auto !important;
        max-height: 260px;
        object-fit: cover;
    }

    /* تعديل مكان النص */
    .section-three .main-news-content {
        position: relative;
        background: var(--main-color);
        padding: 15px 20px;
        border-radius: 0 0 10px 10px;
        height: auto;
    }

    .section-three .main-news-content .text-section-three {
        position: relative;
        bottom: auto;
        margin: 0;
    }

    .section-three .main-news-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .section-three .main-news-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .section-three .badge {
        margin-bottom: 10px;
        padding: 7px 12px;
        font-size: 11px;
    }
}

/* section four */

.fourreports-section {
    padding: 40px 0;
    direction: rtl;
}

.fourreports-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.fourreports-section .report-item a {
    display: block;
    width: 100%;
}
.fourreports-section .report-item:hover h3 {
    color: var(--hover-color);
}
.fourreports-section .section-header h2 {
    font-size: 24px;
    color: var(--black-color);
}

.fourreports-section .view-all {
    color: var(--hover-color);
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
}
.fourreports-section .view-all i {
    font-size: 28px;
}

.fourreports-section .reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.fourreports-section .report-item {
    background-color: var(--white-color);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.fourreports-section .report-item:hover {
    transform: translateY(-5px);
}

.fourreports-section .image-wrapper {
    position: relative;
}

.fourreports-section .image-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}
.fourreports-section .report-item h3 {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.6;
    margin: 12px;
    text-align: justify;
}

/*  التجاوب */
@media (max-width: 992px) {
    .fourreports-section .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fourreports-section .image-wrapper img {
        height: 200px;
    }

    .fourreports-section .report-item h3 {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .fourreports-section .reports-grid {
        grid-template-columns: 1fr;
    }

    .fourreports-section .image-wrapper img {
        height: 180px;
    }

    .fourreports-section .section-header h2 {
        font-size: 20px;
    }

    .fourreports-section .report-item h3 {
        font-size: 14px;
    }
}

/* ##### Section Five ######## */
.section-five {
    padding: 40px 0;
    direction: rtl;
}

/* Header */
.section-five .section-header .view-all {
    color: var(--hover-color);
    font-size: 18px;
    display: flex;
    align-items: center;
}

.section-five .section-header .view-all i {
    font-size: 28px;
}

/* Layout */
.section-five .block-region-content-box {
    display: grid;
    grid-template-columns: 2fr 1fr; /* جعل القسم الأيمن أكبر والرمادي أصغر */
    gap: 25px;
    align-items: start;
}

/* Right Part */
.section-five .block-region-part-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.section-five .block-region-column-one,
.section-five .block-region-column-two {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 1.5rem;
}

.section-five .block-region-item {
    display: flex;
    gap: 12px;
}

.section-five .block-region-item a {
    display: flex;
    gap: 12px;
    width: 100%;
}

.section-five .block-region-item a:hover h4 {
    color: var(--hover-color);
}

.section-five .block-region-item img {
    width: 180px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.section-five .block-region-item h4 {
    font-size: 15px;
    line-height: 1.4;
    color: var(--black-color);
}

/* Left Section (الصندوق الرمادي) */
.section-five .block-region-section-five-left {
    border: 1px solid #d1d1d3;
    background: #f9f9fa; /* رمادي كاشف */
    padding: 15px 20px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    border-radius: 6px;
}

.section-five .block-region-section-five-left .block-region-item a {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 0.9rem;
}

.section-five .block-region-section-five-left .block-region-item img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
}

.section-five .block-region-section-five-left .block-region-item h4 {
    font-size: 15px;
    line-height: 1.4;
    color: var(--black-color);
}

/* ##### Responsive ##### */
@media (max-width: 992px) {
    .section-five .block-region-section-five-left .block-region-item h4 {
        width: 100%;
    }
    .section-five .block-region-section-five-left .block-region-item img {
        width: 130px;
        height: 67.5px;
    }
    .section-five .block-region-section-five-left .block-region-item a {
        flex-direction: row;
    }
    .section-five .block-region-item a {
        flex-direction: column;
    }
    .section-five .block-region-content-box {
        grid-template-columns: 1fr;
    }

    .section-five .block-region-part-right {
        grid-template-columns: 1fr;
    }

    .section-five .block-region-item img {
        width: 150px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .section-five .block-region-item {
        flex-direction: column;
    }

    .section-five .block-region-item img {
        width: 100%;
        height: auto;
    }

    .section-five .block-region-item h4 {
        font-size: 18px;
    }
}

/* ======= Footer ======== */
.footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    direction: rtl;
}

footer .contain-footer {
    display: flex;
    flex-wrap: wrap;
    /* padding: 30px 0 20px 0; */
    gap: 20px;
}

footer .contain-footer .footer-section {
    flex: 0 0 23%;
}

/* جعل الروابط داخل عمودين */
.footer ul {
    /* column-count: 2;
    column-gap: 30px; */
    display: grid;
    grid-template-columns: 1fr 175px;
}
.footer ul li {
    margin-bottom: 8px;
}

/* العناوين */
.footer h3 {
    color: var(--main-color);
    font-size: 16px;
}

/* الروابط */
.footer ul a {
    font-size: 14px;
}

/* اللوجو */
footer .logo-section .logo {
    max-width: 100px;
    max-height: 35px;
    margin-bottom: 20px;
}
footer .logo-section .logo img {
    width: 100%;
    height: 100%;
}

footer .logo-desc {
    font-size: 14px;
    font-weight: 400;
    color: #74747c;
    margin-bottom: 20px;
}

footer .newsletter {
    display: flex;
    flex-direction: column;
    flex: 1 !important;
    margin-bottom: 2rem;
}
footer .newsletter h3 {
    margin-bottom: 20px;
    color: var(--black-deep);
}
footer .newsletter form {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
}
footer .newsletter input[type="email"] {
    padding: 0.375rem 0.75rem;
    text-align: right;
    border-radius: 4px;
    border: 1px solid var(--white-smoke-color);
    flex: auto;
    max-width: 220px;
    height: 50px;
    font-size: 15px;
    font-weight: 100;
}
footer .newsletter button {
    width: 100px;
    height: 50px;
    background: var(--main-color);
    color: var(--white-color);
    font-weight: normal;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
}
footer .newsletter .social-icons {
    display: flex;
    margin-top: 30px;
}
footer .newsletter .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--main-color);
    color: var(--white-color);
    margin-left: 15px;
}
footer .copyright {
    width: 100%;
    background-color: var(--main-color);
    padding: 12px 0;
}

footer .copyright-wrapper {
    max-width: 1352px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}

footer .copyright p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

/* ======= Responsive ======= */

/* شاشة تابليت */
@media (max-width: 992px) {
    footer .contain-footer .footer-section {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer ul {
        column-count: 1;
    }
}

/* شاشة موبايل */
@media (max-width: 576px) {
    footer .contain-footer .footer-section {
        flex: 0 0 100%;
        max-width: 100%;
    }

    footer ul {
        grid-template-columns: 1fr; /* عمود واحد */
    }
    footer .copyright-wrapper {
        justify-content: center;
    }
    footer .copyright {
        padding: 26px 0;
    }
}

/*======== News Page (View) =======*/
.news-page .section-title-newsPage h1 {
    font-size: 48px;
    margin-bottom: 20px;
    max-width: 65%;
}
.news-page .section-title-newsPage hr {
    opacity: 0.05;
}
.news-page .contain-row {
    display: grid;
    grid-template-columns: 1fr 424px;
    gap: 20px;
    max-width: 1352px;
    /* padding: 0 15px;*/
}

/* محتوى الخبر */
.news-page .contain-row .news-content {
    background-color: var(--white-color);
    padding: 5px;
}

.news-page .contain-row .news-content h1 {
    font-size: 28px;
    line-height: 1.5;
    color: var(--black-color);
    margin-bottom: 15px;
}

.news-page .contain-row .news-date {
    color: var(--gray-color);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.news-page .contain-row .news-date .div-share-social ul {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.news-page .contain-row .news-date .div-share-social ul li i {
    font-size: 24px;
    color: var(--gray-color);
    cursor: pointer;
}
.news-page .contain-row .news-date .div-share-social ul .link-copy::after {
    content: "";
    position: relative;
    display: block;
    width: 1px;
    height: 36px;
    background-color: #d8d8d8;
    margin-left: 15px;
    margin-right: 7.5px;
    bottom: 35px;
    left: 13px;
}

.news-page .contain-row .news-image {
    width: 100%;
    height: 490px;
    border-radius: 7px;
    margin-bottom: 20px;
}

.news-page .contain-row .news-text {
    font-size: 18px;
    color: var(--gray-color);
    line-height: 1.9;
}

/* الصندوق الجانبي */
.news-page .contain-row .sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-page .contain-row .sidebar-box {
    border-radius: 10px;
    border: solid 1px #d1d1d3;
    padding: 20px;
    margin-bottom: 20px;
    max-height: fit-content;
    background-color: #ffffff;
}
.news-page .divNewsBig a {
    width: 100%;
}
.news-page .divNewsBig hr {
    opacity: 0.05;
}
.news-page .sidebar-item-small {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-page .sidebar-item-small hr {
    opacity: 0.05;
}
.news-page .divNewsBig .sidebar-item-big img {
    width: 100%;
    height: 213px;
    object-fit: cover;
    border-radius: 8px;
}
.news-page .divNewsBig .sidebar-item-big p {
    width: 100%;
    margin-top: 10px;
}

.news-page .contain-row .sidebar-box h3 {
    font-size: 32px;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 8px;
    margin-bottom: 24px;
    color: var(--main-color);
}
.news-page .contain-row .sidebar-box .sidebar-item img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}
.news-page .contain-row .sidebar-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.news-page .contain-row .sidebar-item img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.news-page .contain-row .sidebar-item p {
    font-size: 15px;
    color: #222;
    margin: 0;
}

/* part viewNews Page */
.news-page .contain-row .sidebar-box ul {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.news-page .contain-row .sidebar-box ul li {
    font-size: 25px;
}
.news-page .contain-row .sidebar-box ul li i {
    color: var(--main-color);
}
.most-read-first {
    margin-bottom: 20px;
    border-bottom: 1px solid #d1d1d1;
}

.most-read-first a {
    display: block;
    width: 100%;
}

.most-read-first .image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.most-read-first .image-wrapper img {
    width: 100%;
    height: 213px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* عنوان أول خبر */
.most-read-first .title-most-read-one h2 {
    font-size: 18px;
    color: var(--black-color);
    line-height: 1.5;
    margin: 0;
}

.most-read-first .title-most-read-one h2:hover {
    color: var(--hover-color);
}
.news-page .social-head-side {
    font-size: 18px !important;
    border: none !important;
    text-align: center;
    margin-bottom: 12px !important;
}
/* متجاوب */
@media (max-width: 992px) {
	.news-page .section-title-newsPage h1 {
    	font-size: 30px;
    	max-width: 100%;
	}
	.news-page .contain-row .news-image{
		height: auto;
	}
    .news-page .contain-row {
        grid-template-columns: 1fr;
    }
    .news-page .contain-row .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    .news-page .contain-row .sidebar-box {
        flex: 1 1 100%;
    }
}
@media (max-width: 600px) {
    .most-read-first .image-wrapper img {
        height: 200px;
    }

    .most-read-first .title-most-read-one h2 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .news-page .contain-row .news-content h1 {
        font-size: 22px;
    }
    .news-page .contain-row .news-text {
        font-size: 16px;
    }
}
.news-page .contain-row .news-tags {
    background: var(--white-color);
    padding: 15px 0px;
    border-radius: 10px;
    margin-top: 25px;
}

.news-page .contain-row .news-tags h4 {
    font-size: 18px;
    color: var(--main-color);
    margin-bottom: 10px;
}

.news-page .contain-row .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-page .contain-row .tags-list a {
    background-color: #f0f4ff;
    color: var(--main-color);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.news-page .contain-row .tags-list a:hover {
    background-color: var(--main-color);
    color: var(--white-color);
}

/* متجاوب */
@media (max-width: 576px) {
    .news-page .contain-row .news-tags h4 {
        font-size: 16px;
    }
    .news-page .contain-row .tags-list a {
        font-size: 14px;
        padding: 5px 12px;
    }
}

/*=========== Category Page ============*/
.content-news-category {
    overflow: hidden;
    width: 100%;
}
.content-news-category .field-published-date {
    font-size: 12px;
    color: #a2a2a8;
    font-family: monospace;
}
.content-news-category .title-cate {
    font-size: 48px;
    padding: 28px 0;
    margin: 0;
}
.content-news-category .all-main-content {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.content-news-category .box-news-category {
    display: flex;
    flex-direction: column;
    flex: 0 0 66%;
    gap: 10px;
}
.content-news-category .sidebar-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.sidebar-box p {
    width: 212px;
    line-height: 28px;
}
.content-news-category .news-main {
    width: auto;
    height: 447px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.content-news-category .news-main .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.content-news-category .news-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* النص فوق الصورة (ديسكتوب) */
.content-news-category .title-news-main-one {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
}

.content-news-category .title-news-main-one h2 {
    font-size: 36px;
    padding: 0 21px 22px 41px;
    line-height: 4rem;
    margin: 0;
}

/* 🎯 موبايل: خلي النص يطلع تحت الصورة */
@media (max-width: 992px) {
    .sidebar-box p {
        width: 100%;
    }
    .content-news-category .all-main-content {
        flex-direction: column;
    }
    .content-news-category .news-main {
        height: auto;
    }
    .content-news-category .box-news-category,
    .content-news-category .sidebar-box {
        width: 100%;
    }

    .content-news-category .news-mainو .content-news-category .news-main .image-wrapper {
        height: auto;
    }
    .content-news-category .news-main img {
        height: auto;
    }

    /* العنوان يصبح تحت الصورة */
    .content-news-category .title-news-main-one {
        position: static;
        background: none;
        color: #000;
    }
    .content-news-category .title-news-main-one h2 {
        font-size: 22px;
        line-height: 1.6;
        padding: 0;
    }

    /* .content-news-category .title-news-main-one h2 {
        font-size: 18px;
        line-height: 1.8rem;
        padding: 0;
    } */
    /* ترتيب two-news-box عمودي */
    .content-news-category .two-news-box {
        flex-direction: column;
        gap: 20px;
    }
    .content-news-category .two-news-box .boxnews-cate img {
        width: 100% !important;
        height: auto !important;
    }
    /* الأخبار القائمة تحت */
    .content-news-category .news-item {
        flex-direction: column;
    }

    .content-news-category .news-item img {
        width: 100%;
        height: 220px;
    }
    .content-news-category .sidebar-box {
        width: 100%;
    }
    /* .content-news-category .two-news-box .boxnews-cate img {
        height: auto;
        width: 100%;
    } */
}
.content-news-category .two-news-box {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    border-radius: 5px;
    overflow: hidden;
    height: fit-content;
}
.content-news-category .two-news-box .boxnews-cate {
    border-radius: 5px;
    max-width: min-content;
    overflow: hidden;
}
.content-news-category .two-news-box .boxnews-cate h2 {
    font-size: 20px;
    line-height: 35px;
}
.content-news-category .two-news-box .boxnews-cate a {
    display: block;
    width: 100%;
    /* height: 100%; */
}
.content-news-category .two-news-box .boxnews-cate a:hover {
    color: var(--hover-color);
}
.content-news-category .two-news-box .boxnews-cate img {
    width: 423px;
    height: 235px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}
/* .content-news-category .sidebar-box {
    border-radius: 10px;
    border: solid 1px #d1d1d3;
    padding: 23px;
    margin-bottom: 30px;
    max-height: fit-content;
} */
.content-news-category .content-aside,
.content-news-category .content-aside-social {
    border-radius: 10px;
    border: solid 1px #d1d1d3;
    padding: 20px;
    margin-bottom: 30px;
    max-height: fit-content;
    background-color: #f9f9fa;
}
.content-news-category .content-aside .sidebar-item img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}
.content-news-category .content-aside-social h3 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 1.5rem;
}
.content-news-category .content-aside-social ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.content-news-category .content-aside-social ul li {
    width: 32px;
    height: 32px;
    background-color: var(--main-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
}
.content-news-category .sidebar-box .title-most-read {
    font-size: 32px;
    color: var(--main-color);
    border-bottom: 1px solid var(--black-color);
    margin: 0 0 30px;
    padding: 0 0 20px;
}

/* باقي الأخبار */
.content-news-category .news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 1.5rem;
}

.content-news-category .news-item {
    display: flex;
    gap: 15px;
}

.content-news-category .news-item img {
    width: 290px;
    height: 175px;
    border-radius: 5px;
    object-fit: cover;
}

.content-news-category .news-item-content {
    flex: 1;
    border-bottom: 1px solid #d1d1d1;
    height: fit-content;
}

.content-news-category .news-item-content h4 {
    font-size: 20px;
    margin-bottom: 11px;
    color: var(--black-color);
    line-height: 32px;
    min-height: 56px;
    max-height: 56px;
}
.content-news-category .news-item-content h4:hover {
    color: var(--hover-color) !important;
}

.content-news-category .news-item-content p {
    color: var(--gray-color);
    font-size: 16px;
    line-height: 1.7;
}
@media (max-width: 992px) {
    .content-news-category .two-news-box .boxnews-cate {
        max-width: max-content;
    }
    .content-news-category .news-item-content h4 {
        margin-bottom: 0;
    }
    .content-news-category .content-aside .sidebar-item img {
        width: 130px;
        height: 80px;
    }
    .content-news-category .news-item {
        flex-direction: column;
    }

    .content-news-category .news-item img {
        width: 100%;
        height: 200px;
    }
}
/* ترقيم الصفحات */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.page-item {
    list-style: none;
}

.page-link {
    color: var(--main-color);
    background-color: var(--white-color);
    border: 1px solid var(--white-smoke-color);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background-color: var(--main-color);
    color: var(--white-color);
    border-color: var(--main-color);
}

.page-link:hover {
    background-color: var(--main-color);
    color: var(--white-color);
    border-color: var(--main-color);
}

.page-item.disabled .page-link {
    color: var(--gray-color);
    background-color: var(--white-smoke-color);
    border-color: var(--white-smoke-color);
    pointer-events: none;
}

/* متجاوب */
@media (max-width: 576px) {
    .page-link {
        padding: 6px 10px;
        font-size: 14px;
    }
}
