* {
    box-sizing: border-box;
}

:root {
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --primary-color: #9D2A26;
    --header-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --section-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --input-bg: #f9f9f9;
    --toggle-bg: #e9e9ea;
    --toggle-thumb: #ffffff;
    --toggle-icon-active: #f39c12;
    --toggle-icon-inactive: #999999;
    --footer-bg: #f4f4f4;
    --footer-text: #333333;
    --footer-border: #dddddd;
}

body.dark-mode {
    --bg-body: #1a1a1a;
    --bg-card: #2d2d2d;
    --text-main: #f1f1f1;
    --text-light: #bbbbbb;
    --border-color: #444444;
    --header-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --section-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --input-bg: #3a3a3a;
    --toggle-bg: #4a4a4a;
    --toggle-thumb: #333333;
    --toggle-icon-active: #f1c40f;
    --toggle-icon-inactive: #666666;
    --footer-bg: #151515;
    --footer-text: #e0e0e0;
    --footer-border: #333333;
}

body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    margin-top: 0;
    color: var(--text-main);
}

.site-header {
    background-color: var(--bg-card);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-top: none;
    box-shadow: var(--header-shadow);
    border-radius: 0 0 15px 15px;
    transition: background-color 0.3s, border-color 0.3s;
}

.site-header .container {
    width: 100%;
    padding: 0 20px;
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.header-left-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
}

.header-left-tools {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
}

.menu-toggle {
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.logo {
    flex-shrink: 0;
}

.nav-wrapper {

    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    z-index: 2000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding-top: 60px;
    overflow-y: auto;
    transition: transform 0.5s ease, visibility 0.5s ease;
    transform: translateY(-100%);
    visibility: hidden;
}

.nav-wrapper.active {

    transform: translateY(0);
    visibility: visible;
}

.sidebar-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px;
    z-index: 2001;
}

.sidebar-close-btn:hover {
    color: var(--primary-color);
}

@media (min-width: 769px) {
    .nav-wrapper {
        left: 0;
        right: auto;
        max-width: 300px;
    }
}

@media (min-width: 769px) and (max-width: 1240px) {
    .nav-wrapper {
        left: 0;
    }
}

.main-nav ul {
    flex-direction: column;
    padding: 20px;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin: 0 10px;
    flex-shrink: 0;
    position: relative;
}

.main-nav a {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    padding: 10px 0;
    white-space: nowrap;
    color: var(--text-main);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav .search-menu-item {
    display: none;
}

.main-nav .social-menu-item {
    display: none;
}

.menu-toggle {
    display: block;
    font-size: 1.8rem;
    color: var(--text-main);
    padding: 0 10px;
    cursor: pointer;
    order: 3;
}

.header-left-tools {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-toggle a {
    font-size: 1.3rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    height: 32px;
}

.search-toggle a:hover {
    color: var(--primary-color);
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 68px;
    height: 34px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--toggle-bg);
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    box-sizing: border-box;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--toggle-thumb);
    transition: .4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.slider-icon {
    z-index: 2;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.slider-icon.sun {
    margin-right: 2px;
    color: var(--toggle-icon-active);
}

.slider-icon.moon {
    margin-left: 2px;
    color: var(--toggle-icon-inactive);
}

input:checked+.slider {
    background-color: var(--toggle-bg);
}

input:checked+.slider:before {
    transform: translateX(34px);
}

input:checked+.slider .slider-icon.sun {
    color: var(--toggle-icon-inactive);
}

input:checked+.slider .slider-icon.moon {
    color: var(--toggle-icon-active);
}

.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    min-height: 100px;
    background-color: var(--bg-card);
    z-index: 300;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-container-inner {
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.search-form {
    flex-grow: 1;
    position: relative;
}

.input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-icon-inner {
    position: absolute;
    right: 20px;
    color: var(--text-light);
    font-size: 1.2rem;
    pointer-events: none;
}

.search-overlay input[type="search"] {
    width: 100%;
    height: 60px;
    border: 2px solid var(--border-color);
    background-color: var(--input-bg);
    padding: 0 60px 0 50px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem;
    color: var(--text-main);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
    -webkit-appearance: none;
    appearance: none;
}

.search-overlay input[type="search"]::-webkit-search-decoration,
.search-overlay input[type="search"]::-webkit-search-cancel-button,
.search-overlay input[type="search"]::-webkit-search-results-button,
.search-overlay input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.search-overlay input[type="search"]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.search-overlay input[type="search"]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.search-overlay input[type="search"]:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-card);
    box-shadow: 0 4px 15px rgba(157, 42, 38, 0.1);
}

.clear-content-btn {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: color 0.3s;
    padding: 5px;
}

.clear-content-btn:hover {
    color: var(--primary-color);
}

.clear-content-btn.visible {
    display: block;
}

#close-search-btn {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

#close-search-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.main-nav li.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);

    left: auto !important;
    right: 0 !important;
    width: 600px;
    min-height: auto;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
    display: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -9px;
    right: 20px;

    width: 16px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    z-index: 1051;

}

body.dark-mode .dropdown-menu::before {
    background-color: rgba(45, 45, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .dropdown-menu {
    background-color: rgba(45, 45, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dropdown-new.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
}

.dropdown-news-item {
    display: flex;
    flex-direction: column;

    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: none;

    margin: 0;
    overflow: hidden;

}

.dropdown-news-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    transform: translateY(-5px);

}

body.dark-mode .dropdown-news-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-news-item img {
    width: 100%;
    height: 140px;

    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dropdown-news-item:hover img {
    transform: scale(1.02);
}

.dropdown-news-item p {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;

    color: var(--text-main);
    transition: color 0.3s;
    text-align: right;

    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;

    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dropdown-news-item:hover p {
    color: var(--primary-color);
}

.main-nav .reports-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(50%) translateY(10px);
}

.simple-dropdown {
    width: 200px !important;

    min-height: auto !important;
    padding: 10px 0 !important;
    display: flex !important;

    flex-direction: column !important;
}

@media (min-width: 901px) {
    .simple-dropdown {
        display: flex !important;

    }
}

.main-nav .dropdown-item {
    display: block;
    padding: 10px 35px 10px 20px;

    color: var(--text-main);
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.main-nav .dropdown-item:last-child {
    border-bottom: none;
}

.main-nav .dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--input-bg);
    padding-right: 45px;

}

.hero-slider-swiper {
    padding: 20px 0;
    background-color: transparent;
}

.slider-timers {
    display: none;
    width: 100%;
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    z-index: 100;
    padding: 0 15px;
    box-sizing: border-box;
    gap: 5px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .container {
        width: 96%;
        padding: 0 5px;
    }

    .slider-timers {
        display: flex;
    }
}

.timer-bar {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.timer-bar-progress {
    height: 100%;
    width: 0;
    background-color: #ffffff;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.swiper-main {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

.swiper-main .swiper-slide {
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
}

.swiper-main .slider-caption-box {
    padding: 20px;
    width: 100%;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.slider-category-tag {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 5px 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 2px;
}

.swiper-main .slider-caption-box h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 2.5rem;
    color: #222;
    margin: 0;
    line-height: 1.5;
    font-weight: 700;
    transition: color 0.3s ease;
    text-align: right;
}

body.dark-mode .swiper-main .slider-caption-box h2 {
    background-color: transparent;
    color: var(--text-main);
}

.swiper-main .slider-main-image {
    width: 100%;
    order: 1;
    height: 300px;
}

.swiper-main .slider-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    background-color: var(--bg-card);
}

.swiper-thumbs {
    display: none;
}

.swiper-thumbs .swiper-slide {
    width: 100px;
    height: 70px;
    cursor: pointer;
    opacity: 0.8;
    filter: brightness(0.9);
    transition: opacity 0.3s, filter 0.3s, border-color 0.3s;
    box-sizing: border-box;
    border-bottom: 4px solid transparent;
}

.swiper-thumbs .swiper-slide:hover {
    opacity: 1;
    filter: brightness(1);
}

.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    filter: brightness(1);
    border-bottom-color: var(--primary-color);
}

.swiper-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondary-news {
    padding: 0;
    margin-bottom: 40px;
}

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

.news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;

    position: relative;
    border-radius: 15px;
    margin: 0;
}

.secondary-news .news-card {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.secondary-news .news-card-img-wrapper {
    border-radius: 0 !important;
}

.news-card-img-wrapper {
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
    width: 100%;
    height: 250px;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;

}

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

.news-card .card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    color: var(--text-main);
    flex-grow: 1;
}

.news-card .card-content a {
    text-decoration: none;
    color: inherit;
}

.news-card .card-content a:hover h3 {
    color: var(--primary-color);
}

.secondary-category-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 4px 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 3px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: auto;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

.share-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.share-buttons {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
    margin: 30px auto 20px auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.share-buttons .share-btn {
    position: relative;

    width: 70px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-main) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-decoration: none;
}

.share-buttons .share-btn:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -6px;

    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.share-buttons .share-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: #fff !important;
    border-color: transparent;
}

.share-buttons .share-btn.facebook:hover {
    background-color: #3b5998;
}

.share-buttons .share-btn.twitter:hover {
    background-color: #000000;
}

.share-buttons .share-btn.telegram:hover {
    background-color: #0088cc;
}

.share-buttons .share-btn.whatsapp:hover {
    background-color: #25d366;
}

@media (max-width: 480px) {
    .share-buttons {
        gap: 5px;
        padding: 8px;
        width: 100%;
        justify-content: center;
    }

    .share-buttons .share-btn {
        width: 50px;
        height: 40px;
        font-size: 1.2rem;
    }

    .share-buttons .share-btn:not(:last-child)::after {
        left: -3px;

    }
}

.share-buttons .share-btn.instagram:hover {
    background-color: #c13584;
}

body.dark-mode .share-buttons .share-btn {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
    .share-buttons {
        gap: 10px;
        margin: 20px 0;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.secondary-news .share-btn {
    width: auto;
    height: auto;
    background: none !important;
    border-radius: 0;
    color: var(--text-light) !important;
    font-size: 1.1rem;
    box-shadow: none;
}

.secondary-news .share-btn:hover {
    color: var(--primary-color) !important;
    transform: none;
    box-shadow: none;
}

.main-content-area {
    padding: 20px 0;
}

.main-content-area .container {
    display: block;
}

.main-column {
    flex: 3;
    min-width: 0;
}

.sidebar {
    flex: 1;
    min-width: 280px;
}

.section-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.8rem;
    border-bottom: none;
    padding: 10px 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    display: inline-block;
    border-radius: 5px;
}

.section-title a {
    color: #ffffff;
    text-decoration: none;
}

.section-title a:hover {
    color: inherit !important;
}

.widget-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.4rem;
    border-bottom: 3px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.widget-title a {
    color: inherit;
    text-decoration: none;
}

.widget-title a:hover {
    color: var(--primary-color);
}

body.dark-mode .widget-title {
    color: #ffffff !important;
}

.category-section {
    background-color: var(--bg-card);
    padding: 0 20px 10px 20px;
    border-radius: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--section-shadow);
}

.reports-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.reports-col-left {
    order: 2;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.reports-col-right {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-item-small-link {
    display: flex;
    align-items: stretch;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.report-item-small-link img {
    width: 140px;
    height: 100%;
    min-height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 5px;
}

.report-item-small-link p {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    font-weight: 700;
}

.report-item-small-link:hover p {
    color: var(--primary-color);
}

.report-item-stacked-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1 1 0;
    height: 100%;
    justify-content: space-between;
}

.report-item-stacked-link:hover h3 {
    color: var(--primary-color);
}

.report-item-stacked-link img {
    width: 100%;
    height: 0;
    min-height: 200px;
    flex: 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.report-item-stacked-link h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    margin: 10px 0 0 0;
    line-height: 1.4;
    color: var(--text-main);
    transition: color 0.3s;
    font-weight: 700;
}

.files-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.files-layout .news-card {
    margin: 0;
}

.widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.most-read {
    padding-right: 20px;
}

.most-read li {
    margin-bottom: 15px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.most-read li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.most-read li a:hover {
    color: var(--primary-color);
}

.opinion-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opinion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.opinion-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.opinion-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.opinion-content h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.opinion-content span {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.opinion-content span a {
    color: var(--primary-color);
}

.full-wid.category-section {
    margin-top: 10px;
    margin-bottom: 40px;
}

.full-width-section {
    padding: 0;
    margin-bottom: 20px;
}

.full-width-section .container {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
}

.videos-section {
    background-color: #cf9f81;
}

body.dark-mode .videos-section .video-main-link h3,
body.dark-mode .videos-section .video-item-small-link p {
    color: #000000 !important;
}

.video-layout {
    display: flex;
    gap: 20px;
}

.video-main-link {
    flex: 0.8;
    order: 1;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.video-main-link:hover h3 {
    color: var(--primary-color);
}

.video-main-link .video-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
    height: auto;
}

.video-main-link img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.video-list {
    flex: 1.2;
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}

.video-item-small-link {
    display: flex;
    gap: 10px;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.video-item-small-link:hover p {
    color: var(--primary-color);
}

.video-item-small-link .video-imag.news-meta .date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-source {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0;
}

.news-image {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.news-image-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
    padding: 5px;
    background: #f9f9f9;
    border-radius: 0 0 10px 10px;
}

body.dark-mode .news-image-caption {
    background: var(--bg-card);
    color: var(--text-light);
}

.video-item-small-link .video-image-wrapper {
    position: relative;
    width: 180px;
    height: 100%;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.video-item-small-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-image-wrapper {
    position: relative;
    overflow: hidden;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 4rem;
    color: #ffffff;
    opacity: 0.7;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s, transform 0.3s;
}

.play-icon.small {
    font-size: 2.5rem;
}

.video-main-link:hover .play-icon,
.video-item-small-link:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.infographic-layout {
    display: none;
}

.pre-footer-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.social-icons-widget {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons-widget a {
    font-size: 2rem;
    color: var(--text-light);
}

.social-icons-widget a:hover {
    color: var(--primary-color);
}

.styled-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--section-shadow);
    height: 100%;
}

.styled-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    transition: background-color 0.2s;
}

.styled-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.styled-news-item img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.styled-news-item h4 {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s;
    color: var(--text-main);
    font-weight: 700;
}

.styled-news-item:hover h4 {
    color: var(--primary-color);
}

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 0;
    margin-top: 0;
    border-top: 1px solid var(--footer-border);
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer-col h4 {
    font-family: 'Tajawal', sans-serif;
    color: var(--footer-text);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--footer-text);
    font-weight: 500;
    opacity: 0.8;
}

.footer-col a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-col .footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
    font-size: 0.9rem;
    opacity: 0.8;
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    background-color: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.infographic-slider-wrapper {
    position: relative;
    padding: 0 0 40px 0;
    width: 100%;
    overflow: visible;
    background: transparent;
}

.swiper-infographics {
    width: 100%;
    padding-top: 0;
    padding-bottom: 50px;
    overflow: visible;
}

.swiper-infographics .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 350px;
    height: auto;
    background: transparent;
    display: flex;
    align-items: flex-start;
    user-select: none;
}

.swiper-infographics .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.swiper-infographics img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: none;
    transition: transform 0.4s ease;
}

.swiper-infographics,
.swiper-infographics .swiper-wrapper,
.swiper-infographics .swiper-slide,
.swiper-infographics img {
    cursor: pointer !important;
}

.swiper-infographics .swiper-slide-active img {
    transform: none;
    z-index: 10;
    position: relative;
    border: none;
    box-shadow: none;
    border-radius: 20px;
}

.infographic-nav-btn {
    color: #555;
    background: #ffffff;
    width: 50px;
    height: 50px;
    transition: all 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
}

.infographic-nav-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.infographic-nav-btn i {
    font-size: 1.2rem;
}

.info-next {
    right: 30px;
}

.info-prev {
    left: 30px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

@media (min-width: 901px) {

    .dropdown-menu {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }

    .main-nav li.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);

    }

    .swiper-main .swiper-slide {
        display: block;
        height: 500px;
    }

    .swiper-main .slider-caption-box {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 10;
        width: 40%;
        height: 100%;
        order: unset;
        padding: 30px;
        overflow: hidden;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .swiper-main .slider-main-image {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        order: unset;
    }

    .swiper-main .slider-caption-box h2 {
        font-size: 2rem;
        line-height: 1.4;
    }

    .main-content-area .container {
        flex-direction: row;
    }

    .sidebar {
        min-width: 280px;
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .site-header .container {
        padding: 0 10px;
    }

    .header-left-tools {
        gap: 10px;
    }

    .main-nav a {
        font-size: 0.85rem;
    }

    .main-nav li {
        margin: 0 3px;
    }

    .search-toggle a {
        font-size: 1.1rem;
    }

    .logo img {
        height: 50px;
    }

    .theme-switch {
        width: 58px;
        height: 30px;
    }

    .theme-switch .slider:before {
        height: 22px;
        width: 22px;
    }

    .theme-switch input:checked+.slider:before {
        transform: translateX(28px);
    }

    .swiper-infographics .swiper-slide {
        width: 45%;
    }

    .swiper-infographics img {
        height: 550px;
    }

    .swiper-main .slider-caption-box h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .dropdown-menu {
        width: 500px;
    }
}

@media (min-width: 901px) {
    .main-content-area .container {
        flex-direction: row;
    }

    .sidebar {
        min-width: 280px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .site-header {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }

    .section-title {
        font-size: 1.3rem;
        padding: 8px 12px;
    }

    .hero-slider-swiper {
        padding-bottom: 5px;
    }

    .secondary-news {
        padding-top: 5px;
    }

    .site-header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .logo {
        order: 1;
    }

    .header-left-section {
        order: 2;
    }

    .nav-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 200;
        border-top: 1px solid var(--border-color);
    }

    .nav-wrapper.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: right;
        width: 100%;
        padding: 10px;
    }

    .main-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 15px 10px;
        font-size: 1.1rem;
        white-space: normal;
    }

    .main-nav .search-menu-item {
        display: block;
    }

    .secondary-news .container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .secondary-news .news-card {
        display: grid;
        grid-template-columns: 50% 50%;

        background-color: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #ccc;
        height: auto;
        align-items: stretch;

    }

    .secondary-news .news-card:last-child {
        border-bottom: none;
    }

    .secondary-news .secondary-category-tag {
        display: none;
    }

    .secondary-news .news-card>a:not(.secondary-category-tag) {
        grid-column: 1;
        width: 100%;
        height: auto;

        margin: 0;
        padding: 0;
        display: block;
        position: relative;
    }

    .secondary-news .news-card-img-wrapper {
        grid-column: 1;
        width: 100%;
        height: auto !important;
        margin: 0;
        padding: 0;
        display: block;
        position: relative;
    }

    .secondary-news .news-card img {
        width: 97% !important;

        height: auto !important;

        min-height: 100px;
        display: block;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .secondary-news .news-card .card-content {
        grid-column: 2;
        width: 100%;
        padding: 0 10px 0 10px;
        margin: 0;
        display: flex;
        flex-direction: column;

    }

    .secondary-news .news-card h3 {
        font-size: 1rem;
        margin: 0;
        padding: 0;
        padding-top: 3px !important;

        line-height: 1.4;
    }

    .secondary-news .card-meta {
        display: none;
    }

    .swiper-main .slider-category-tag {
        display: none !important;

    }

    .main-content-area .container {
        flex-direction: column;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .slider-timers {
        display: none;
    }

    .swiper-thumbs {
        display: none;
    }

    .swiper-main .swiper-slide {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .swiper-main .slider-main-image {
        height: 450px;
        width: 100%;
        position: relative;
        order: 1;
    }

    .swiper-main .slider-caption-box {
        padding: 15px;
        justify-content: flex-start;
        background-color: var(--bg-card);
        align-items: flex-start;
        width: 100%;
        height: auto;
        position: relative;
        order: 2;
        box-sizing: border-box;
    }

    .swiper-main .slider-caption-box h2 {
        font-size: 1.8rem;
        line-height: 1.4;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        display: block;
        text-align: right;
        color: var(--text-main);
    }

    .reports-layout-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .reports-col-left {
        order: 2;
    }

    .reports-col-right {
        order: 1;
    }

    .files-layout {
        grid-template-columns: 1fr;
    }

    .video-layout {
        flex-direction: column;
    }

    .video-main-link {
        order: 1;
    }

    .video-list {
        order: 2;
    }

    .video-item-small-link {
        align-items: center;
    }

    .video-item-small-link .video-image-wrapper {
        width: 40% !important;
    }

    .video-item-small-link img {
        width: 100%;
        height: auto;
    }

    .pre-footer-layout {
        grid-template-columns: 1fr;
        gap: 0;

    }

    .pre-footer-layout>div {
        margin-bottom: 25px;
    }

    .pre-footer-layout>div:last-child {
        margin-bottom: 0;
    }

    .pre-footer-layout .styled-box {
        height: auto;

    }

    .footer-col {
        text-align: center;
    }

    .search-overlay {
        height: 85px;
        top: 100%;
        padding: 0 10px;
        align-items: center;
        border-radius: 0;
        width: 100%;
        margin-top: 0;
    }

    .search-overlay input[type="search"] {
        font-size: 1.5rem;
        padding: 10px 60px 10px 50px;
        height: 100%;
    }

    .search-overlay #close-search-btn {
        margin-right: 10px;
        padding-top: 0;
    }

    .infographic-slider-wrapper {
        padding: 20px 0;
    }

    .swiper-infographics {
        padding-left: 0;
        padding-right: 0;
        touch-action: pan-y;
    }

    .swiper-infographics .swiper-slide {
        width: 100%;
        margin: 0;
        padding: 0 20px;

        box-sizing: border-box;
    }

    .swiper-infographics img {
        width: 100%;
        height: auto;
        max-height: 600px;
    }

    .swiper-infographics .swiper-slide:not(.swiper-slide-active) {
        opacity: 0.5;
        visibility: visible;
    }

    .swiper-infographics .swiper-slide.swiper-slide-visible {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .swiper-infographics .swiper-slide.swiper-slide-visible a {
        pointer-events: auto !important;
    }

    .swiper-infographics .swiper-slide-active {
        opacity: 1;
        visibility: visible;
    }

    .swiper-infographics .swiper-slide-active a {
        position: relative;
        z-index: 1000;
        display: block;
        pointer-events: auto !important;
    }

    .infographic-nav-btn {
        display: flex;
    }

    .info-next {
        right: 10px;
    }

    .info-prev {
        left: 10px;
    }

    .main-nav .fa-chevron-down {
        display: none;
    }
}

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

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color) !important;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(157, 42, 38, 0.1);
}

.more-btn:hover {
    background-color: #b17957;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(177, 121, 87, 0.25);
}

.more-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.more-btn:hover i {
    transform: translateX(-3px);
}

.more-btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-width: 1.5px;
}

.widget-header {
    align-items: flex-start;
    margin-bottom: 15px;
}

.widget-header .widget-title {
    margin: 0;
}

.pre-footer-col .section-header {
    align-items: flex-start;
}

@media (max-width: 992px) {
    .reports-col-left {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .report-item-small-link {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .report-item-small-link:last-child {
        border-bottom: none;
    }

    .report-item-small-link img {
        width: 100px;
        height: 70px;
    }

}

@media (max-width: 768px) {
    .swiper-main .slider-main-image {
        height: 250px !important;
    }

    .swiper-main .slider-caption-box h2 {
        font-size: 1.5rem !important;
        margin-bottom: 5px !important;
    }

    .hero-slider-swiper {
        padding: 5px 0 0 0 !important;
    }

    .secondary-news .container {
        grid-template-columns: 1fr;
    }

    .secondary-news {
        padding: 0 0 10px 0 !important;
    }

    .slider-summary {
        display: none !important;
    }

    .swiper-thumbs {
        display: none !important;
    }

    .slider-category-tag,
    a.slider-category-tag,
    div.slider-category-tag,
    span.slider-category-tag {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

}

@media (min-width: 768px) {
    .swiper-main .swiper-slide {
        display: flex !important;
        flex-direction: row !important;
        height: 500px !important;
    }

    .swiper-main .slider-main-image {
        width: 60% !important;
        position: relative !important;
        order: 2 !important;
        left: auto !important;
        top: auto !important;
        height: 100% !important;
    }

    .swiper-main .slider-caption-box {
        width: 40% !important;
        position: relative !important;
        order: 1 !important;
        right: auto !important;
        top: auto !important;
        height: 100% !important;
        background-color: var(--bg-card) !important;
    }
}

.news-full-width {
    background-color: var(--footer-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    width: auto;
}

.news-full-width .section-title a {
    color: var(--primary-color) !important;
}

body.dark-mode .news-full-width .section-title a {
    color: #ffffff !important;
}

.news-full-width .more-btn {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 5px;
}

.news-full-width .more-btn i {
    color: #ffffff !important;
}

.news-full-width .section-title {
    background: transparent;
    padding: 0;
    margin: 0 0 20px 0;
}

.news-full-width .reports-col-left {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.news-full-width .report-item-small-link img {
    height: 100%;
    object-fit: cover;
}

.news-full-width .report-item-stacked-link img {
    height: 100%;
    min-height: 0;
    flex: 1;
}

.news-full-width .report-item-small-link p {
    color: var(--text-main);
}

.news-full-width .report-item-stacked-link h3 {
    color: var(--text-main);
}

.files-section {
    background-color: #ffffff !important;
}

body.dark-mode .files-section {
    background-color: var(--bg-card) !important;
}

.content-row {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    align-items: stretch;
}

.col-reports {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.col-opinion {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.col-half {
    flex: 1;
}

.opinion-section {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 0;
}

.opinion-title {
    background-color: transparent !important;
    color: var(--text-main) !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    border-radius: 0 !important;
}

.opinion-title a {
    color: var(--text-main) !important;
}

.opinion-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opinion-more-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: var(--text-light);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 !important;
}

.opinion-more-btn:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    box-shadow: none !important;
    transform: none !important;
}

.col-reports .category-section {
    flex-grow: 1;
    height: auto;
    padding-bottom: 20px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.col-reports .reports-layout-grid {
    flex-grow: 1;
}

.col-reports .report-item-stacked-link img {
    height: 260px;
}

.col-opinion .category-section {
    flex-grow: 1;
    height: auto;
    padding-bottom: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.col-opinion .opinion-list {
    flex-grow: 1;
}

.col-reports .reports-layout-grid,
.col-opinion .reports-layout-grid {
    margin-bottom: 0;
}

.col-opinion .opinion-list {
    margin-bottom: 0;
}

.col-reports .category-section>*:last-child,
.col-opinion .category-section>*:last-child {
    margin-bottom: 0 !important;
}

.col-half .category-section {
    padding-bottom: 20px;
    overflow: hidden;
}

.col-half .styled-box-content {
    margin-bottom: 0;
}

.col-half .category-section>*:last-child {
    margin-bottom: 0 !important;
}

.follow-us-strip {
    background-color: var(--bg-card);
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.follow-us-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons-strip {
    display: flex;
    gap: 50px;
}

.social-icons-strip a {
    font-size: 2.5rem;
    color: var(--text-main);
}

.social-icons-strip a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .secondary-news .news-card {
        border: none;
        box-shadow: none;
        border-bottom: 2px solid #000;
        border-radius: 0;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .secondary-news .news-card:last-child {
        border-bottom: none;
    }

    .content-row {
        flex-direction: column;
    }

    .follow-us-content {
        flex-direction: column;
        gap: 15px;
    }

    .social-icons-strip {
        gap: 20px;
    }

    .social-icons-strip a {
        font-size: 1.5rem;
    }

    .swiper-main .slider-main-image img {
        border-radius: 10px;
    }

    .secondary-news .news-card:hover img {
        transform: none !important;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: #88251D !important;
    background: #e0e0e0;
    width: 100px;
    height: 100px;
    border-radius: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 50 !important;

    cursor: pointer;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    pointer-events: auto !important;
    cursor: default;
    opacity: 0.5;
    background-color: #f0f0f0;

}

.swiper-button-prev {
    right: calc(40% + 10px) !important;
    left: auto !important;
}

.swiper-button-next {
    left: 10px !important;
    right: auto !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #d0d0d0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.6rem;

    font-weight: bold;
    display: block !important;
    color: #88251D !important;
}

.page-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .page-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .main-content {
        flex: 1;
        width: 0;

    }

    .main-sidebar {
        width: 350px;
        flex-shrink: 0;
        position: sticky;
        top: 100px;
    }
}

.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--section-shadow);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.sidebar-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.sidebar-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-item-link {
    display: flex !important;
    flex-direction: row !important;

    flex-wrap: nowrap !important;

    gap: 15px;
    align-items: flex-start;
}

.sidebar-item-img {
    width: 80px;
    height: 60px;
    flex-shrink: 0;

    flex-grow: 0;

    border-radius: 8px;
    overflow: hidden;
}

.sidebar-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sidebar-item-link:hover .sidebar-item-img img {
    transform: scale(1.1);
}

.sidebar-item-info {
    flex: 1;
    min-width: 0;

    text-align: right;

}

.sidebar-item-info h4 {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    line-height: 1.4;
    color: var(--text-main);
    transition: color 0.3s;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item-link:hover .sidebar-item-info h4 {
    color: var(--primary-color);
}

.sidebar-item-info .date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;

}

.latest-news-widget .sidebar-item-info .date {
    display: none;
}

.latest-news-widget .sidebar-item-info h4 {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.news-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-main);
}

.news-content {
    overflow: hidden;
}

.fb-post,
.fb-video,
.fb-post span,
.fb-video span,
.fb-post iframe,
.fb-video iframe {
    max-width: 100% !important;
    width: 100% !important;
}

.news-content,
.news-content p,
.news-content span,
.news-content div,
.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    font-family: 'Almarai', sans-serif !important;
}

body.dark-mode .news-content,
body.dark-mode .news-content p,
body.dark-mode .news-content span,
body.dark-mode .news-content div,
body.dark-mode .news-content h1,
body.dark-mode .news-content h2,
body.dark-mode .news-content h3,
body.dark-mode .news-content h4,
body.dark-mode .news-content h5,
body.dark-mode .news-content h6 {
    color: #ffffff !important;
}

.news-content h3,
.news-content h3 * {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
}

.news-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.related-content {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-content .section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;

    position: relative;

}

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

.related-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-item h4 {
    padding: 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
}

.related-item:hover h4 {
    color: var(--primary-color);
}

.video-related-item .video-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-related-item .play-icon.small {
    font-size: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
}

.video-related-item:hover .play-icon.small {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.article-related-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 220px;
}

.article-card-body {
    padding: 20px;
    flex-grow: 1;
    text-align: center;
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.quote-icon {
    font-size: 2rem;
    color: #eee;
    margin-bottom: 15px;
    display: block;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-main);
    margin: 0;
    transition: color 0.3s;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link:hover .article-title {
    color: var(--primary-color);
}

.article-link:hover .quote-icon {
    color: var(--primary-color);
    opacity: 0.2;
}

.article-card-footer {
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.writer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s;
}

.writer-link:hover {
    color: var(--primary-color);
}

.writer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.writer-name {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.sidebar-writer-name {
    margin-top: 5px;
    font-size: 0.85rem;
}

.sidebar-writer-name a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-writer-name a:hover {
    text-decoration: underline;
}

.share-wrapper {
    position: relative;
    display: inline-block;
    z-index: 10;

}

.share-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;

    border: 1px solid #eee;
}

.share-wrapper.active .share-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.share-dropdown::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.share-link:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.share-link i {
    width: 20px;
    text-align: center;
}

.share-link.whatsapp i {
    color: #25D366;
}

.share-link.facebook i {
    color: #1877F2;
}

.share-link.twitter i {
    color: #000;
}

.share-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1.1rem;
    padding: 5px;
    transition: color 0.3s;
}

.share-btn:hover,
.share-wrapper.active .share-btn {
    color: var(--primary-color);
}

.articles-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.article-card {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--section-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.article-info h3 a {
    color: var(--text-main);
    transition: color 0.3s;
}

.article-info h3 a:hover {
    color: var(--primary-color);
}

.article-info .author {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.article-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex-grow: 1;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-info .date {
    font-size: 0.85rem;
    color: #999;
    margin-top: auto;
    display: flex;
    align-items: center;
}

.article-info .date::before {
    content: '\f017';

    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .articles-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-img {
        height: 200px;
    }
}

.video-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

.infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.video-item-card,
.infographic-item {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--section-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.video-item-card:hover,
.infographic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-image-wrapper,
.infographic-item img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-image-wrapper img,
.infographic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item-card:hover .video-image-wrapper img,
.infographic-item:hover img {
    transform: scale(1.05);
}

.video-item-card h3,
.infographic-item h3 {
    padding: 15px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-main);
    transition: color 0.3s;
    text-align: right;
}

.video-item-card:hover h3,
.infographic-item:hover h3 {
    color: var(--primary-color);
}

.video-image-wrapper .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.video-item-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: #fff;
}

.infographic-item img {
    height: auto;
    aspect-ratio: 1 / 1;

}

@media (max-width: 768px) {

    .video-list-grid,
    .infographic-grid {
        grid-template-columns: 1fr;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;

    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
    border-radius: 10px;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.infographic-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.infographic-modal.show {
    display: flex;
    opacity: 1;
}

.infographic-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.infographic-modal.show .infographic-modal-content {
    transform: scale(1);
}

.infographic-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.infographic-modal-close:hover,
.infographic-modal-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.infographic-full-image img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.infographic-full-image img:hover {
    transform: scale(1.01);
}

.x-embed-container {
    width: 100%;
    display: block;
    overflow: hidden;
}

.x-embed-container .twitter-tweet,
.x-embed-container .twitter-tweet-rendered,
.x-embed-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
}

#reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
    display: none;

}

#reading-progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s ease;
}

.infographic-header {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(157, 42, 38, 0.95) 0%,
            rgba(122, 31, 28, 0.95) 100%);
    padding: 40px 30px;
    box-shadow:
        0 4px 6px rgba(157, 42, 38, 0.1),
        0 8px 16px rgba(157, 42, 38, 0.15),
        0 16px 32px rgba(157, 42, 38, 0.2),
        0 24px 48px rgba(157, 42, 38, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.infographic-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.infographic-header-content {
    position: relative;
    z-index: 2;
}

.infographic-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.infographic-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.infographic-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.infographic-title-section {
    flex: 1;
}

.infographic-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.infographic-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.meta-item i {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .infographic-header {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .infographic-title-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .infographic-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .infographic-main-title {
        font-size: 1.5rem;
    }

    .infographic-meta {
        gap: 10px;
    }

    .meta-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

body.dark-mode .infographic-header {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode .infographic-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .meta-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.video-header {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(157, 42, 38, 0.95) 0%,
            rgba(122, 31, 28, 0.95) 100%);
    padding: 40px 30px;
    box-shadow:
        0 4px 6px rgba(157, 42, 38, 0.1),
        0 8px 16px rgba(157, 42, 38, 0.15),
        0 16px 32px rgba(157, 42, 38, 0.2),
        0 24px 48px rgba(157, 42, 38, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.video-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.video-header-content {
    position: relative;
    z-index: 2;
}

.video-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.video-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.video-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-title-section {
    flex: 1;
}

.video-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.video-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .video-header {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .video-title-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .video-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .video-main-title {
        font-size: 1.5rem;
    }
}

body.dark-mode .video-header {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode .video-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.content-swiper {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;

}

.content-swiper .swiper-slide {
    text-align: center;
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    position: relative;
}

.content-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;

    object-fit: contain;
    border-radius: 10px;
}

.content-swiper .swiper-caption {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.content-swiper .swiper-button-next,
.content-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;

}

.content-swiper .swiper-button-next {
    right: 10px !important;
    left: auto !important;
}

.content-swiper .swiper-button-prev {
    left: 10px !important;
    right: auto !important;
}

.content-swiper .swiper-button-next:after,
.content-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.content-swiper .swiper-pagination {
    top: 10px;
    bottom: auto;
    font-weight: bold;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.breaking-news-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #d32f2f;

    color: #ffffff;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
    transition: height 0.3s ease;
}

.breaking-news-bar .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.breaking-label {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    animation: pulse-red 2s infinite;
    height: fit-content;
}

.breaking-content-wrapper {
    flex-grow: 1;
    position: relative;
    min-height: 30px;
}

.breaking-item {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    flex-wrap: wrap;
}

.breaking-item.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.breaking-text {
    font-weight: 600;
    font-size: 1.2rem;
    white-space: normal;

    flex: 1;
    line-height: 1.4;
}

.breaking-time {
    font-size: 0.85rem;
    opacity: 0.9;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    height: fit-content;
}

@keyframes pulse-red {
    0% {
        background-color: rgba(0, 0, 0, 0.2);
    }

    50% {
        background-color: rgba(0, 0, 0, 0.4);
    }

    100% {
        background-color: rgba(0, 0, 0, 0.2);
    }
}

body {
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .breaking-news-bar .container {
        align-items: flex-start;

    }

    .breaking-text {
        font-size: 1.1rem;
    }

    .breaking-time {
        font-size: 0.75rem;
    }

    .breaking-label {
        padding: 2px 8px;
        font-size: 0.9rem;
        margin-top: 3px;

    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px auto;
    flex-wrap: wrap;

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    border-radius: 16px;
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.pagination a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;

    background-color: #f0f2f5;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination a:hover {
    background-color: #e4e6eb;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.pagination a.active {
    background-color: #4a4a4a;

    color: #ffffff;
    border-color: #4a4a4a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

body.dark-mode .pagination {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

body.dark-mode .pagination a {
    background-color: #2d2d2d;
    color: #e4e6eb;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .pagination a:hover {
    background-color: #3a3a3a;
    color: var(--primary-color);
}

body.dark-mode .pagination a.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

@media (max-width: 480px) {
    .pagination {
        gap: 5px;
        padding: 10px;
        width: 100%;
        border-radius: 12px;
        margin: 30px auto;
    }

    .pagination a {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {

    .swiper-main .swiper-button-next,
    .swiper-main .swiper-button-prev {
        display: flex !important;
        position: absolute !important;
        top: 125px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: rgba(224, 224, 224, 0.9) !important;
        z-index: 999999 !important;
        opacity: 1 !important;
        visibility: visible !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .swiper-main .swiper-button-prev {
        right: 10px !important;
    }

    .swiper-main .swiper-button-next {
        left: 10px !important;
    }

    .swiper-main .swiper-button-next:after,
    .swiper-main .swiper-button-prev:after {
        font-size: 1.2rem !important;
        display: block !important;
        color: #88251D !important;
    }
}