* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: normal;
}

:root {
    --blue-color: #2954FF;
    --white-eee: #ffffff;
    --white-e5e5: #ffffff;
    --black-2c2f34: #000;
    --black-gray: #ffffff;
    --light-gray: #000000c0;
}

.darkMode {
    --black-2c2f34: #ffffff;
    --white-eee: #1f2024;
    --white-e5e5: #1f2024;
    --black-gray: #292a2d;
    --light-gray: #82828299;
}

body {
    background-color: var(--white-eee);
}

.fa {
    font-family: FontAwesome !important;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

ul {
    list-style: none;
    margin-bottom: 0;
}

p {
    margin: 0;
}

h2,
h3 {
    margin-bottom: 0;
}

.hid {
    display: none;
}
/* dark mode */
#theme-switch {
    border: none;
    background-color: transparent;
    color: #ffffff;
}

    #theme-switch span:last-child {
        display: none;
    }

.darkMode #theme-switch span:first-child {
    display: none;
}

.darkMode #theme-switch span:last-child {
    display: block;
}

#theme-switch svg {
    width: 24px;
    height: 24px;
    color: #222;
}

#theme-switch .light img {
    width: 24px;
    height: 24px;
    color: #222;
}

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

body.darkMode .logo-light {
    display: block;
}

body.darkMode .logo-dark {
    display: none;
}
/* end  dark mode */
@font-face {
    font-family: B-IBMPlexSansArabic;
    src: url(../font/textfonts/IBMPlexSansArabic-Bold.ttf);
}

@font-face {
    font-family: M-IBMPlexSansArabic;
    src: url(../font/textfonts/IBMPlexSansArabic-Medium.ttf);
}

@font-face {
    font-family: R-IBMPlexSansArabic;
    src: url(../font/textfonts/IBMPlexSansArabic-Regular.ttf);
}

@font-face {
    font-family: L-IBMPlexSansArabic;
    src: url(../font/textfonts/IBMPlexSansArabic-Light.ttf);
}

@font-face {
    font-family: SB-IBMPlexSansArabic;
    src: url(../font/textfonts/IBMPlexSansArabic-SemiBold.ttf);
}

.B-IBMPlexSansArabic {
    font-family: B-IBMPlexSansArabic;
}

.M-IBMPlexSansArabic {
    font-family: M-IBMPlexSansArabic;
}

.R-IBMPlexSansArabic {
    font-family: R-IBMPlexSansArabic;
}

.L-IBMPlexSansArabic {
    font-family: L-IBMPlexSansArabic;
}

.SB-IBMPlexSansArabic {
    font-family: SB-IBMPlexSansArabic;
}

.date span {
    font-size: 18px;
}

.container {
    max-width: 1200px;
}

.section-title {
    font-family: SB-IBMPlexSansArabic;
    font-size: 28px;
    margin-bottom: 1.5rem;
    color: var(--black-2c2f34);
}

    .section-title a {
        color: var(--black-2c2f34);
    }

.news-card-meta {
    font-size: 0.85rem;
    color: #888;
}

    .news-card-meta .bi-clock {
        margin-left: 4px;
        font-size: 0.8rem;
    }



/* Start Navbar Responsive  */
.mobile-header .svg-inline--fa {
    display: var(--fa-display, inline-block);
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}

.mobile-header {
    background-color: #fff !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 15px;
    padding: 10px 15px !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1010;
    display: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}



.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
        overflow-x: hidden;
        scrollbar-width: thin;
    }

    .overlay .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 30px;
        cursor: pointer;
    }

#menu-overlay .close-btn {
    color: #000000;
}

.overlay-content {
    width: 100%;
    max-width: 600px;
    margin-top: 100px;
}

#search-overlay {
    background-color: rgba(0,0,0, 0.69);
}

    #search-overlay .search-form {
        display: flex;
        width: 100%;
        border-radius: 10px;
        background-color: #ffffff;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
    }

        #search-overlay .search-form input {
            width: 100%;
            background: none;
            border: none;
            color: #000000;
            font-size: 20px;
            padding: 15px 10px;
            font-family: R-IBMPlexSansArabic;
            outline: none;
        }

            #search-overlay .search-form input::placeholder {
                color: #888;
            }

        #search-overlay .search-form button {
            background: none;
            border: none;
            color: #b2aeae;
            font-size: 1.5rem;
            padding: 15px;
        }

#menu-overlay .overlay-nav {
    width: 100%;
    text-align: center;
    margin-top: 0px;
}

    #menu-overlay .overlay-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #menu-overlay .overlay-nav li {
        text-align: start;
        border-bottom: 1px solid #ffffff00;
    }

    #menu-overlay .overlay-nav a {
        color: #000000;
        text-decoration: none;
        font-size: 19px;
        font-family: B-IBMPlexSansArabic;
        padding: 15px 0 15px 50px;
        display: block;
    }

#menu-overlay .social-icons {
    margin-top: 40px;
}

    #menu-overlay .social-icons a {
        color: #fff;
        margin: 0 9px;
        font-size: 21px;
        padding: 0;
    }


#menu-overlay .overlay-nav li.has-submenu {
    position: relative;
}

#menu-overlay .overlay-nav .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    #menu-overlay .overlay-nav .submenu-toggle a {
        margin-right: 10px;
    }

#menu-overlay .overlay-nav .arrow-icon {
    font-size: 1.2rem;
    color: #0d6efd;
    transition: transform 0.3s ease;
    width: 20px;
}

#menu-overlay .overlay-nav li.has-submenu.active .arrow-icon {
    transform: rotate(180deg);
}

#menu-overlay .overlay-nav .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out;
    background-color: #0d6efd;
}

#menu-overlay .overlay-nav li.has-submenu.active .submenu {
    max-height: 465px;
}

#menu-overlay .overlay-nav .submenu li {
    margin-bottom: 0;
    padding: 10px 0;
}

    #menu-overlay .overlay-nav .submenu li a {
        font-size: 1.2rem;
        font-family: B-IBMPlexSansArabic;
        color: #ffffff;
        padding: 0 20px;
    }

        #menu-overlay .overlay-nav .submenu li a:hover {
            color: #fff;
        }
/* End Navbar Responsive  */


/* navbar */
.navbar-is-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white-eee);
    padding: 10px 20px;
    gap: 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.top-bar {
    font-size: 0.9rem;
}

    .top-bar .social-icons a {
        text-decoration: none;
        font-size: 1.1rem;
        transition: color 0.3s;
    }

        .top-bar .social-icons a:hover {
            color: #ddd !important;
        }

.main-nav {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.main-link-block {
    margin-left: 0rem;
}

    .main-link-block a {
        display: block;
        width: 100px;
        height: 70px;
    }

        .main-link-block a img {
            width: 100%;
            /*height: 100%;*/
        }

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

body.darkMode .logo-light {
    display: block;
}

body.darkMode .logo-dark {
    display: none;
}

.navbar-collapse {
    justify-content: space-around;
}

.navbar-nav {
    width: 100%;
    justify-content: space-evenly;
}

    .navbar-nav .nav-link {
        color: #706e6ecc;
        font-family: SB-IBMPlexSansArabic;
        font-size: 18px;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

        .navbar-nav .nav-link:hover {
            color: var(--black-2c2f34);
        }

    .navbar-nav .nav-item {
        position: relative;
    }

        .navbar-nav .nav-item .nav-link.active {
            font-family: SB-IBMPlexSansArabic;
            color: var(--black-2c2f34);
        }

            .navbar-nav .nav-item .nav-link.active::before {
                content: "";
                position: absolute;
                bottom: 0;
                width: 50%;
                right: 0;
                height: 4px;
                background-color: var(--blue-color);
            }

        .navbar-nav .nav-item .nav-link::before {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            height: 4px;
            width: 0;
            background-color: var(--blue-color);
            transition: width 0.3s ease-in-out;
            -webkit-transition: width 0.3s ease-in-out;
            -moz-transition: width 0.3s ease-in-out;
            -ms-transition: width 0.3s ease-in-out;
            -o-transition: width 0.3s ease-in-out;
        }

        .navbar-nav .nav-item .nav-link:hover::before {
            width: 50%;
        }

.search-form {
    position: relative;
}

    .search-form .form-control {
        border-radius: 8px;
        padding: 14px 10px;
        padding-right: 2.9rem;
        background-color: var(--white-eee);
        border: 1px solid #ffffff;
        font-size: 0.9rem;
        color: var(--black-2c2f34);
    }

        .search-form .form-control::placeholder {
            color: var(--black-2c2f34);
            font-size: 18px;
            font-family: R-IBMPlexSansArabic;
        }

    .search-form .btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
        padding: 0.375rem 0.75rem;
    }

    .search-form .form-control:focus {
        background-color: var(--white-eee);
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }


/* start economy news section */
.economy-news-section {
    background-color: #000829;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

    .economy-news-section .section-title a {
        color: #fff;
    }

.economy-card {
    margin-bottom: 1rem;
}

.card-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

    .card-image-wrapper img {
        border-top-left-radius: 50px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.post-format-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 40px;
    z-index: 2;
    bottom: -15px;
    left: -4px;
    border-width: 0 0 4px 7px;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #ffffff;
    border-bottom-left-radius: 12px;
}


.card-content .post-title {
    font-size: 22px;
    font-family: SB-IBMPlexSansArabic;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    min-height: calc(1.1rem * 1.5 * 2);
}

    .card-content .post-title a {
        text-decoration: none;
        color: #fff;
        transition: color 0.3s;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
    }

        .card-content .post-title a:hover {
            color: var(--blue-color);
        }

.card-content .post-meta {
    font-size: 0.85rem;
    color: #FFFFFF99;
}

    .card-content .post-meta .bi-clock {
        margin-left: 5px;
        font-size: 0.8rem;
    }

/* end economy-news-section */
/* start most read */

.most-read-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


.custom-tabs-pills .nav-item {
    margin-left: 0.5rem;
}

.custom-tabs-pills .nav-link {
    border: 1px solid #ddd;
    background-color: var(--white-eee);
    color: #555;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.4rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: SB-IBMPlexSansArabic;
}

    .custom-tabs-pills .nav-link .custom-radio-circle {
        width: 20px;
        height: 20px;
        border: 3px solid #aaa;
        border-radius: 50%;
        margin-right: 8px;
        position: relative;
        transition: all 0.3s ease;
    }

    .custom-tabs-pills .nav-link.active {
        background-color: var(--black-gray);
        border-color: var(--blue-color);
        color: var(--black-2c2f34);
    }

        .custom-tabs-pills .nav-link.active .custom-radio-circle {
            border-color: #ADBEFF;
        }

            .custom-tabs-pills .nav-link.active .custom-radio-circle::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 13px;
                height: 13px;
                border-radius: 50%;
                background-color: var(--blue-color);
            }

.post-card {
    background-color: var(--white-eee);
    border: 1px solid #00000033;
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
}

    .post-card .post-title {
        font-size: 16px;
        font-family: M-IBMPlexSansArabic;
        line-height: 1.5;
        color: #000000;
        margin-bottom: 0.75rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
    }

        .post-card .post-title a {
            text-decoration: none;
            color: var(--black-2c2f34);
            transition: color 0.3s;
        }

            .post-card .post-title a:hover {
                color: var(--blue-color);
            }

    .post-card .post-image img {
        width: 214px;
        height: 107px;
        object-fit: cover;
        border-radius: 8px;
    }

.views-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--black-gray);
    color: var(--blue-color);
    font-size: 18px;
    padding: 5px 12px;
    border-radius: 9px;
    gap: 10px;
    font-family: M-IBMPlexSansArabic;
}

    .views-badge .bi {
        margin-left: 5px;
        font-size: 1rem;
    }

/* end most read */
/*  start timeline */
.timeline-widget {
    background: var(--white-eee);
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 2px;
    padding: 10px;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline-title {
    font-size: 20px;
    font-family: B-IBMPlexSansArabic;
    text-align: right;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, .1);
    position: relative;
    color: var(--black-2c2f34);
}

    .timeline-title::after {
        content: '';
        display: block;
        width: 50px;
        right: 0;
        height: 2px;
        background-color: var(--black-2c2f34);
        margin-top: 5px;
        position: absolute;
        border-radius: 2px;
        top: 23px;
    }

.timeline-item {
    position: relative;
    padding-right: 30px;
    padding-left: 30px;
    margin-bottom: 20px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-headline {
    display: block;
    text-decoration: none;
    color: var(--black-2c2f34);
    font-family: M-IBMPlexSansArabic;
    font-size: 18px;
    line-height: 1.8;
    transition: color .3s ease;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: 2px solid #fff;
    transition: background-color .3s ease;
    -webkit-transition: background-color .3s ease;
    -moz-transition: background-color .3s ease;
    -ms-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
}

.timeline-item:hover::after {
    background-color: var(--blue-color);
}

.timeline-item:hover .timeline-headline {
    color: var(--blue-color);
}
/*  end timeline */
/* start footer */
.site-footer {
    background-color: #0d1a2f;
    color: #fff;
    padding-top: 3rem;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}

.live-news-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    text-transform: uppercase;
}

.footer-nav {
    text-align: center;
    margin-bottom: 2rem;
}

    .footer-nav a {
        color: #fff;
        text-decoration: none;
        font-family: M-IBMPlexSansArabic;
        font-size: 24px;
        padding: 0 1rem;
        border-left: 1px solid #3a4b6c;
        transition: color 0.3s;
    }

.footer-nav-links {
    text-align: center;
}

    .footer-nav-links a {
        color: #ffffff;
        padding: 10px;
        border-left: 1px solid #3a4b6c;
        font-size: 17px;
    }

        .footer-nav a:last-child,
        .footer-nav-links a:last-child {
            border-left: none;
        }

.footer-nav a:hover {
    color: #0d6efd;
}

.footer-hr {
    border-top: 1px solid #3a4b6c;
    opacity: 0.5;
    max-width: 80%;
    margin: 0 auto;
}

.social-section {
    text-align: center;
    padding: 2.2rem 0;
}

    .social-section h2 {
        font-size: 1rem;
        color: #ccc;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }



.footer-bottom {
    background-color: #ffffff;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #ccc;
}



.site-footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url(../images/Group17.svg);
    background-size: cover;
    width: 49px;
    height: 240px;
}

/* end footer */

.main-story-image {
    width: 100%;
    border-radius: 16px;
    height: 100%;
    object-fit: cover;
}

.category-tag-text a {
    color: #fff;
}
/* responsive */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item .nav-link.active::after, .navbar-nav .nav-item .nav-link:hover::after {
        width: 4%;
    }

    .search-form {
        width: 100%;
        margin-top: 1rem;
    }

    .main-link-block {
        margin-left: 0;
        display: inline-block;
    }

    .card-image-wrapper img {
        width: 100%;
    }

    .mobile-header {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .top-bar {
        margin-top: 65px !important;
    }

    .main-link-block a {
        height: 50px;
    }
}

@media (max-width: 767.98px) {
    .date span {
        font-size: 13px;
    }

    .top-bar .social-icons img {
        width: 20px;
        height: 20px;
    }

    .main-link-block a img {
        /* width: 85%;*/
    }

    .navbar-is-sticky {
        padding: 0;
    }


    .main-story-card .row {
        flex-direction: column-reverse;
    }

    .story-content h3 {
        font-size: 25px;
    }

    .nav-pills {
        flex-wrap: nowrap;
        overflow: auto;
    }

    .card-image-wrapper img {
        width: 100%;
    }

    .tab-pane .post-card .post-image, .tab-pane .post-card .post-image img {
        width: 100%;
        height: auto;
    }

    .section-title {
        font-size: 25px;
        padding-bottom: 25px;
    }

    .footer-nav a {
        display: inline-block;
        padding: 0 0.5rem;
        font-size: 1rem;
    }

    .footer-bottom {
        text-align: center;
    }

        .footer-bottom .row .align-items-center {
            justify-content: center;
        }

        .footer-bottom .text-start,
        .footer-bottom .text-end {
            text-align: center !important;
        }

        .footer-bottom .text-end {
            margin-top: 0.5rem;
        }

    .footer-nav-links a {
        font-size: 14px;
    }
}

ul.dropdown-menu.dropdownMenuNav.text-right.dropdown_0.show {
    text-align: right;
}
