:root {
    --primary-green: #028040;
    --accent-gold: #faa400;
    --accent-gold-light: #f3e5ab;
    --bg-white: #ffffff;
    --bg-light: #f2f7f4;
    --border-gray: #cbd5e1;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --radius-classic: 2px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Almarai", "Tajawal", sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #028040 #e8f5e9;
}

/* ═══════════════════ Custom Scrollbar (Global) ═══════════════════ */

/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #e8f5e9 0%, #f0f4f0 100%);
    border-right: 1px solid #c8dcc8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #028040 0%, #01a050 40%, #faa400 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #016830 0%, #028040 40%, #e09500 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #014d25 0%, #016830 40%, #cc8800 100%);
    border-radius: 20px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: #e8f5e9;
}

/* Horizontal scrollbars (smaller) */
*::-webkit-scrollbar:horizontal {
    height: 7px;
}

*::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(90deg, #028040 0%, #faa400 100%);
    border-radius: 20px;
}

*::-webkit-scrollbar-thumb:horizontal:hover {
    background: linear-gradient(90deg, #016830 0%, #e09500 100%);
}

/* Inner elements scrollbars (thinner) */
div::-webkit-scrollbar,
section::-webkit-scrollbar,
aside::-webkit-scrollbar,
nav::-webkit-scrollbar,
ul::-webkit-scrollbar,
ol::-webkit-scrollbar,
textarea::-webkit-scrollbar,
pre::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

div::-webkit-scrollbar-track,
section::-webkit-scrollbar-track,
aside::-webkit-scrollbar-track,
nav::-webkit-scrollbar-track,
ul::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
    background: #f5f8f5;
    border-radius: 10px;
}

div::-webkit-scrollbar-thumb,
section::-webkit-scrollbar-thumb,
aside::-webkit-scrollbar-thumb,
nav::-webkit-scrollbar-thumb,
ul::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #028040, #03a050);
    border-radius: 10px;
}

div::-webkit-scrollbar-thumb:hover,
section::-webkit-scrollbar-thumb:hover,
aside::-webkit-scrollbar-thumb:hover,
nav::-webkit-scrollbar-thumb:hover,
ul::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover,
pre::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #016830, #028040);
}

/* Firefox scrollbar colors for inner elements */
*,
*::before,
*::after {
    scrollbar-width: thin;
    scrollbar-color: #028040 #e8f5e9;
}

body {
    background: #fff;
    color: var(--text-dark);
    min-height: 100vh;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    overflow-x: visible;
}

/* شريط تمرير الصفحة الرئيسي بتصميم عصري ونحيف وفخم */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.page-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Sidebars (Sticky 100% Fixed Scrolling) */
.sidebar-right,
.sidebar-left {
    width: 15% !important;
    max-width: 240px !important;
    min-width: 140px;
    background: var(--primary-green);
    padding: 0.75rem 0.5rem;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    z-index: 40;
}

.sidebar-right {
    border-left: 3px solid #fff;
}

.sidebar-left {
    border-right: 3px solid #fff;
}

.skyscraper-ad-box {
    flex: 1;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skyscraper-ad-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Header & Top Bar */
.top-social-bar {
    background: var(--bg-light);
    border-bottom: 2px solid #fff;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    font-size: .84rem;
}

.date-time-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 700;
}

.date-time-item i {
    color: var(--primary-green);
}

.top-very-first-search-form {
    display: flex;
    align-items: center;
    height: 30px;
    max-width: 260px;
    width: 100%;
    margin-right: auto;
    margin-left: .75rem;
}

.top-very-first-search-input {
    height: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 0 3px 3px 0;
    border-left: none;
    color: #0f172a;
    font-size: .78rem;
    padding: 0 .65rem;
    outline: none;
    width: 100%;
    font-weight: 600;
    background: #fff;
    transition: all .2s ease;
}

.top-very-first-search-input:focus {
    border-color: #0b3b24;
    box-shadow: 0 0 0 2px rgba(11, 59, 36, .1);
}

.top-very-first-search-btn {
    height: 30px;
    background: #d4af37;
    color: #0f172a;
    border: 1px solid #d4af37;
    border-radius: 3px 0 0 3px;
    padding: 0 .75rem;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    flex-shrink: 0;
}

.top-very-first-search-btn:hover {
    background: #0b3b24;
    color: #fff;
    border-color: #0b3b24;
}

.top-bar-social-icons {
    display: flex;
    gap: .35rem;
    align-items: center;
}

.top-social-pill {
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    color: var(--accent-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .85rem;
    border-radius: 4px;
    border: 1px solid var(--accent-gold);
    transition: all .25s ease;
}

.top-social-pill:hover {
    background: var(--accent-gold);
    color: #0f172a;
}

.logo-ads-row {
    padding: .5rem 1.5rem;
    border-bottom: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 135px;
}

.logo-box {
    display: inline-flex;
    align-items: center;
    height: 135px;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.logo-box:hover {
    transform: scale(1.02);
}

.logo-box img {
    height: 135px;
    max-height: 135px;
    width: auto;
    object-fit: contain;
}

.hero-read-more-wrapper {
    margin-top: auto;
    padding-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--primary-green);
    color: #fff !important;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-classic);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 2px 6px rgba(2, 128, 64, 0.2);
    transition: all 0.25s ease;
}

.hero-read-more-btn:hover {
    background: var(--accent-gold);
    color: #0b3b24 !important;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(250, 164, 0, 0.35);
}

.hero-read-more-btn i {
    transition: transform 0.25s ease;
    font-size: 0.78rem;
}

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

.category-header-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.cat-header-main {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary-green);
}

.cat-header-main i {
    color: var(--accent-gold);
}

.cat-view-all-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: underline !important;
    text-decoration-color: var(--accent-gold) !important;
    text-underline-offset: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cat-view-all-link:hover {
    color: var(--primary-green);
    text-decoration-color: var(--primary-green) !important;
    transform: translateX(-3px);
}

.cat-view-all-link i {
    font-size: 0.74rem;
    color: var(--accent-gold);
    transition: transform 0.2s ease;
}

.cat-view-all-link:hover i {
    transform: translateX(-2px);
    color: var(--primary-green);
}

.header-ad-box {
    max-width: 420px;
    width: 100%;
    height: 60px;
    border-radius: var(--radius-classic);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-ad-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav Bar */
.nav-bar {
    background: var(--primary-green);
    padding: 0 1.25rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
    min-height: 48px;
}

.nav-links {
    display: flex;
    gap: .25rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links-right {
    flex-wrap: nowrap;
}

.nav-links-left {
    flex-wrap: nowrap;
    margin-right: auto;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: .83rem;
    padding: .45rem .65rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid transparent;
    border-radius: var(--radius-classic);
    transition: all .2s ease;
    white-space: nowrap;
}

.nav-links a i {
    color: var(--accent-gold-light);
    font-size: .82rem;
}

.nav-links a:hover:not(.active) {
    color: var(--accent-gold-light);
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-links a.active {
    color: #0b3b24;
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    font-weight: 800;
}

.nav-links a.active i {
    color: #0b3b24;
}

/* القوائم المنسدلة الاحترافية المتكاملة للترويسة */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown-wrapper .dropdown-toggle-btn {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.nav-dropdown-wrapper .chevron-icon {
    font-size: 0.65rem;
    margin-right: 0.25rem;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.nav-dropdown-wrapper:hover .chevron-icon,
.nav-dropdown-wrapper.is-open .chevron-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: fixed;
    background: var(--primary-green);
    border: 1px solid var(--accent-gold);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    width: max-content;
    min-width: auto;
    max-width: calc(100vw - 20px);
    z-index: 999999;
    list-style: none;
    padding: 0.35rem;
    margin: 0;
}

.nav-dropdown-menu.dropdown-grid-2 {
    min-width: auto;
    width: max-content;
}

.nav-dropdown-menu li {
    width: 100%;
    list-style: none;
}

.nav-dropdown-menu li a {
    padding: 0.55rem 0.85rem;
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    width: 100%;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
}

.nav-dropdown-menu li a i {
    color: var(--accent-gold);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.18);
    color: var(--accent-gold-light);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(-3px);
}

.nav-dropdown-menu li a:hover i {
    transform: scale(1.15);
    color: #fff;
}

.nav-dropdown-menu li a.active-sub {
    background: var(--accent-gold);
    color: #0b3b24;
    font-weight: 800;
    border-color: var(--accent-gold);
}

.nav-dropdown-menu li a.active-sub i {
    color: #0b3b24;
}

/* ==========================================================================
   Smart Dynamic Navbar (Greedy Navigation & More Menu)
   ========================================================================== */
.greedy-nav-item {
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-more-wrapper {
    position: relative;
    flex-shrink: 0;
}

.nav-more-wrapper .dropdown-toggle-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid var(--accent-gold) !important;
    font-weight: 800 !important;
}

.nav-more-wrapper:hover .dropdown-toggle-btn {
    background: var(--accent-gold) !important;
    color: #0b3b24 !important;
}

.nav-more-wrapper:hover .dropdown-toggle-btn i {
    color: #0b3b24 !important;
}

.nav-more-dropdown-menu {
    min-width: 270px;
    max-height: 75vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) #062316;
}

.nav-more-dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.nav-more-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

.nav-more-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 0.2rem;
    margin-bottom: 0.2rem;
}

.nav-more-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.nav-more-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-more-item-link {
    flex: 1;
    padding: 0.5rem 0.75rem;
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-more-item-link:hover {
    background: rgba(250, 164, 0, 0.15);
    color: var(--accent-gold-light);
}

.nav-more-sub-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.25rem;
    transition: all 0.25s ease;
}

.nav-more-sub-toggle:hover,
.nav-more-sub-toggle.open {
    background: var(--accent-gold);
    color: #062316;
}

.nav-more-sub-toggle.open i {
    transform: rotate(180deg);
}

.nav-more-sub-list {
    list-style: none;
    padding: 0.25rem 0.5rem 0.25rem 1rem;
    margin: 0.2rem 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.nav-more-sub-list li a {
    padding: 0.35rem 0.6rem;
    font-size: 0.78rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.nav-more-sub-list li a:hover {
    color: var(--accent-gold-light);
    background: rgba(255, 255, 255, 0.08);
}

/* زر القائمة للشاشات الصغيرة */
.mobile-nav-toggle-btn {
    display: none;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.mobile-nav-toggle-btn:hover {
    background: var(--accent-gold);
    color: #0b3b24;
}

/* الدرج الجانبي الكامل للهواتف (Mobile Offcanvas Drawer) */
.mobile-nav-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: auto;
    right: -320px;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    background: #062316;
    border-left: 2px solid var(--accent-gold);
    z-index: 99999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.5);
    transition: right 0.32s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav-drawer.active {
    right: 0 !important;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    background: #ef4444;
    color: #fff;
}

.drawer-body {
    padding: 1rem 0.75rem;
    flex: 1;
}

.drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drawer-list li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    color: #f1f5f9;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.drawer-list li a:hover {
    background: rgba(250, 164, 0, 0.15);
    color: var(--accent-gold);
}

.drawer-list li a i {
    color: var(--accent-gold);
    width: 20px;
    text-align: center;
}


/* View All Writers Button */
.view-all-writers-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-top: .85rem;
    padding: .7rem 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--accent-gold);
    color: var(--primary-green) !important;
    border-radius: 4px;
    font-weight: 800;
    font-size: .88rem;
    text-decoration: none !important;
    transition: all .25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.view-all-writers-btn:visited {
    color: var(--primary-green) !important;
}

.view-all-writers-btn:hover,
.view-all-writers-btn:visited:hover {
    background: var(--primary-green);
    color: var(--accent-gold-light) !important;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 59, 36, .25);
}

.view-all-writers-btn i {
    color: var(--accent-gold);
}

.view-all-writers-btn:hover i {
    color: var(--accent-gold-light);
}

.full-nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: .5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Nav Dropdown Menu */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown-wrapper::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 12px;
    z-index: 1000;
}



.nav-dropdown-menu li {
    width: 100%;
}

.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem 1.1rem;
    color: #fff;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
    transition: all .2s ease;
    border: none;
    border-radius: 0;
    width: 100%;
}

.nav-dropdown-menu li a:hover {
    background: var(--accent-gold);
    color: #0f172a;
}

/* Ad Banners */
.double-ads-row {
    padding: 0.75rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

/* إذا كان الإعلان مفرداً يأخذ 100% من العرض */
.double-ads-row:has(> .double-ad-box:only-child) {
    grid-template-columns: 1fr !important;
}

/* إذا وجد إعلانان يظلان جنباً إلى جنب دائماً */
.double-ads-row:has(> .double-ad-box:nth-child(2)) {
    grid-template-columns: 1fr 1fr !important;
}

.double-ad-box {
    width: 100%;
    min-width: 0;
    height: auto;
    border-radius: var(--radius-classic);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
}

.double-ad-box a {
    display: block;
    width: 100%;
}

.double-ad-box img {
    width: 100%;
    height: auto;
    max-height: 220px;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.full-ad-box {
    width: 100%;
    min-height: 90px;
    height: auto;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
}

.full-ad-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
    .news-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

.news-card-item,
.news-item {
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-classic);
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-card-item:hover,
.news-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 22px rgba(11, 59, 36, .12);
    transform: translateY(-4px);
}

.news-card-image,
.news-item-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--border-gray);
}

.news-card-cat-tag,
.news-item-cat {
    position: absolute;
    top: .65rem;
    right: .65rem;
    background: var(--primary-green);
    color: #fff;
    padding: .2rem .65rem;
    border-radius: 2px;
    font-size: .72rem;
    font-weight: 800;
    border: 1px solid var(--accent-gold);
    z-index: 2;
}

.news-card-body,
.news-item-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
}

.news-card-title,
.news-item-title {
    font-size: .95rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.45;
}

.news-card-item:hover .news-card-title,
.news-item:hover .news-item-title {
    color: var(--primary-green);
}

.news-card-excerpt {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    margin-top: auto;
    border-top: 1px solid var(--bg-light);
    padding-top: .6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--text-muted);
}

.news-card-author {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    color: var(--primary-green);
}

.news-card-date,
.news-item-date {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    color: var(--text-muted);
}

/* Article Content Layout */
.article-wrapper {
    padding: 1.5rem 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
}

.article-inline-image {
    width: 100%;
    border-radius: var(--radius-classic);
    overflow: hidden;
    margin: 1.75rem 0 1.25rem;
    border: 1px solid var(--border-gray);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.article-inline-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.article-inline-caption {
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: .8rem;
    font-weight: 700;
    padding: .65rem 1rem;
    border-top: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.article-inline-caption i {
    color: var(--accent-gold);
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

.article-gallery-item {
    border-radius: var(--radius-classic);
    overflow: hidden;
    border: 1px solid var(--border-gray);
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.article-gallery-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.article-gallery-item:hover img {
    transform: scale(1.04);
}

.article-gallery-cap {
    padding: .6rem .85rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary-green);
    border-top: 1px solid var(--border-gray);
    background: #fff;
    display: flex;
    align-items: center;
    gap: .35rem;
}

/* Video Section Styles */
.video-news-section {
    padding: .75rem 1.5rem 1.5rem;
}

.video-section-box {
    border: 1px solid #1e293b;
    border-radius: var(--radius-classic);
    background: linear-gradient(145deg, #0a2316 0%, #05150d 100%);
    color: #fff;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.video-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(212, 175, 55, .3);
    padding-bottom: .75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-section-header-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.video-grid-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-video-card {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, .4);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
    transition: all .3s ease;
}

.main-video-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 14px 35px rgba(212, 175, 55, .2);
}

.main-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
}

.video-top-badges {
    display: flex;
    gap: .5rem;
    align-items: center;
    z-index: 2;
}

.video-category-tag {
    background: var(--primary-green);
    color: #fff;
    padding: .2rem .65rem;
    border-radius: 2px;
    font-size: .75rem;
    font-weight: 800;
    border: 1px solid var(--accent-gold);
}

.video-meta-pill {
    background: rgba(0, 0, 0, .65);
    color: var(--accent-gold-light);
    padding: .2rem .65rem;
    border-radius: 2px;
    font-size: .75rem;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, .3);
}

.video-play-pulse-btn {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    padding-left: 4px;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, .6);
    animation: pulseGlow 2s infinite;
    z-index: 3;
    transition: all .3s ease;
}

.main-video-card:hover .video-play-pulse-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: #fff;
    color: var(--primary-green);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, .7);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.video-info-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 40, 24, .95) 85%);
    margin: -1.25rem;
    padding: 2rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.video-action-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .78rem;
}

.watch-video-action-pill {
    background: var(--accent-gold);
    color: #0f172a;
    padding: .2rem .65rem;
    border-radius: 2px;
    font-weight: 800;
}

.video-meta-date {
    color: rgba(255, 255, 255, .75);
    font-weight: 600;
}

.main-video-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-top: .2rem;
}

/* Video Grid List (3 Columns Below) */
.side-video-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    width: 100%;
}

.side-playlist-header {
    font-size: .92rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: .4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: .6rem;
    margin-bottom: .75rem;
}

.side-video-grid-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.side-video-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;
}

.side-video-item:hover {
    background: rgba(212, 175, 55, .12);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.side-video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.side-video-thumb-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.3rem;
    transition: all .25s ease;
}

.side-video-item:hover .side-video-thumb-play {
    background: rgba(11, 59, 36, .65);
    color: #fff;
    transform: scale(1.15);
}

.side-video-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, .85);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.side-video-info {
    padding: .85rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}

.side-video-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .2rem;
}

.side-video-cat {
    font-size: .74rem;
    color: var(--accent-gold);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.side-video-watch-btn {
    font-size: .7rem;
    color: rgba(255, 255, 255, .9);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: rgba(255, 255, 255, .1);
    padding: .15rem .5rem;
    border-radius: 3px;
    transition: all .2s ease;
}

.side-video-item:hover .side-video-watch-btn {
    background: var(--accent-gold);
    color: #0f172a;
}

.side-video-title {
    font-size: .86rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin-top: .1rem;
}

.side-video-meta {
    font-size: .72rem;
    color: rgba(255, 255, 255, .6);
    margin-top: auto;
    padding-top: .4rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* Video Modal Backdrop & Popup Window */
.video-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.video-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal-content {
    width: 100%;
    max-width: 860px;
    background: #0f172a;
    border-radius: 8px;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
    overflow: hidden;
}

.video-modal-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #062818;
    border-bottom: 1px solid rgba(212, 175, 55, .3);
}

.video-modal-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.video-modal-close {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: all .2s ease;
}

.video-modal-close:hover {
    color: #fff;
    transform: scale(1.2);
}

.video-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Infographics Card Overlay Styles */
.infographic-photo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.infographic-photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 59, 36, .65);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity .3s ease;
    z-index: 3;
}

.view-infographic-btn {
    background: var(--accent-gold);
    color: #0f172a;
    padding: .45rem .95rem;
    border-radius: 2px;
    font-weight: 800;
    font-size: .82rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    cursor: pointer;
}

.stack-card:hover .infographic-photo-overlay {
    opacity: 1;
}

/* Infographic Lightbox Modal */
.infographic-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.infographic-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.infographic-modal-content {
    max-width: 90vw;
    max-height: 92vh;
    background: #0b3b24;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.infographic-modal-header {
    padding: .85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #062818;
    border-bottom: 1px solid var(--accent-gold);
    color: #fff;
    font-weight: 800;
}

.infographic-modal-close {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.infographic-modal-close:hover {
    color: #fff;
    transform: scale(1.2);
}

.infographic-modal-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: auto;
    background: #04190f;
}

.infographic-modal-body img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

/* Fixed Bottom Ticker */
.fixed-bottom-ticker {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    z-index: 9999;
    border-top: 3px solid var(--accent-gold);
    font-size: .88rem;
    font-weight: 700;
    overflow: hidden;
}

.ticker-badge-btn {
    background: var(--accent-gold);
    color: #0f172a;
    height: 100%;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: -4px 0 12px rgba(0, 0, 0, .25);
}

.ticker-scroll-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-scroll-track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.ticker-scroll-items,
.ticker-clone-items {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.ticker-scroll-items span {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 0 1.5rem;
    color: #fff;
    white-space: nowrap;
}

.ticker-scroll-items span:first-child {
    padding-right: 1.5rem;
}

.ticker-scroll-items span i {
    color: var(--accent-gold);
    font-size: .45rem;
}

/* Professional Enterprise Pearl Footer */
.site-footer {
    background: linear-gradient(180deg, #fafcfa 0%, #eef5f0 100%);
    border-top: 4px solid var(--accent-gold);
    color: #334155;
    padding: 2.5rem 2rem 1.5rem;
    margin-top: 1rem;
    position: relative;
}

.footer-newsletter-row {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.newsletter-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.newsletter-info p {
    font-size: .82rem;
    color: #cbd5e1;
    margin-top: .2rem;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: .5rem;
    max-width: 420px;
    width: 100%;
}

.newsletter-input {
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 0, 0, .3);
    border-radius: 3px;
    padding: 0 .85rem;
    color: #fff;
    font-size: .84rem;
    outline: none;
    flex: 1;
}

.newsletter-input:focus {
    border-color: var(--accent-gold);
}

.newsletter-btn {
    height: 40px;
    background: var(--accent-gold);
    color: #0f172a;
    border: 1px solid var(--accent-gold);
    padding: 0 1.2rem;
    border-radius: 3px;
    font-weight: 800;
    font-size: .85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s ease;
}

.newsletter-btn:hover {
    background: #fff;
    color: var(--primary-green);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(11, 59, 36, 0.12);
    margin-bottom: 1.5rem;
}

.footer-col-title {
    font-size: .95rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    border-right: 3px solid var(--accent-gold);
    padding-right: .5rem;
}

.footer-about-p {
    font-size: .86rem;
    color: #475569;
    line-height: 1.75;
    margin-top: .85rem;
    font-weight: 500;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-links-list a {
    color: #334155;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: all .2s ease;
}

.footer-links-list a i {
    font-size: .7rem;
    color: var(--accent-gold);
}

.footer-links-list a:hover {
    color: var(--primary-green);
    transform: translateX(-4px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    font-size: .85rem;
    color: #334155;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.contact-item i {
    color: var(--primary-green);
    width: 20px;
}

.footer-social-icons {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
}

.footer-social-pill {
    width: 34px;
    height: 34px;
    background: var(--primary-green);
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fef9c3;
    text-decoration: none;
    font-size: .88rem;
    transition: all .25s ease;
}

.footer-social-pill:hover {
    background: var(--accent-gold);
    color: #0b3b24;
    transform: translateY(-3px);
}

.site-footer {
    background: linear-gradient(180deg, #fafcfa 0%, #eef5f0 100%);
    color: #334155;
    width: 100%;
    margin-top: auto;
    padding: 2.5rem 1.5rem 0;
    border-top: 4px solid var(--accent-gold);
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    font-size: .86rem;
    color: #1e293b;
    font-weight: 700;
    padding-top: 1.25rem;
    padding-bottom: 3.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(11, 59, 36, 0.12);
    background: #e2ede5;
}

.footer-bottom-bar div {
    text-align: center;
    width: 100%;
}


.back-to-top-btn {
    color: var(--accent-gold-light);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: all .2s ease;
    cursor: pointer;
}

.back-to-top-btn:hover {
    color: #fff;
}

@media(max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 640px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-row {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-info h4 {
        justify-content: center;
    }
}

@media(max-width: 1024px) {

    .sidebar-right,
    .sidebar-left {
        display: none;
    }

    .double-ads-row {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .top-very-first-search-form {
        max-width: 200px;
    }
}

@media(max-width: 640px) {
    .top-very-first-search-form {
        display: none;
    }
}

/* حماية استجابة وأبعاد جميع المساحات الإعلانية بالموقع لمنع أي تمدد أو تشوه بالتنسيق */
.sidebar-right,
.sidebar-left {
    max-width: 285px !important;
    overflow: hidden !important;
}

.skyscraper-ad-box {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.skyscraper-ad-box a {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.skyscraper-ad-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.header-ad-box img,
.double-ad-box img,
.full-ad-box img,
.inter-cat-ad-box img,
.article-ad-box img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Live Search Suggestions Dropdown Styles */
.top-very-first-search-form {
    position: relative;
}

.live-search-dropdown-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 480px;
    max-width: 90vw;
    max-height: 500px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 99999;
    direction: rtl;
    text-align: right;
}

/* حاوية الأخبار: عرض تلقائي جنباً لجنب أو قائمة حسب المساحة */
.suggestion-articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.suggestion-section-title {
    padding: 0.45rem 0.85rem;
    background: #f8fafc;
    color: var(--primary-green);
    font-size: 0.74rem;
    font-weight: 800;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.suggestion-item-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    border-left: 1px solid #f1f5f9;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.2s ease;
    /* عرض تلقائي: إذا توفر مساحة يصطف عنصران جنباً لجنب، وإلا ينزل */
    flex: 1 1 220px;
    min-width: 0;
    box-sizing: border-box;
}

.suggestion-item-card:hover {
    background: #f1f5f9;
}

.suggestion-thumb {
    width: 44px;
    height: 34px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.suggestion-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-cat-tag {
    font-size: 0.68rem;
    color: var(--accent-gold);
    font-weight: 800;
}

.suggestion-view-all-btn {
    display: block;
    padding: 0.65rem;
    text-align: center;
    background: #fafaf9;
    color: var(--primary-green);
    font-weight: 800;
    font-size: 0.78rem;
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.suggestion-view-all-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
}

/* ==========================================================================
   Market Prices & Indicators Section
   ========================================================================== */
.market-prices-section {
    padding: 0.75rem 1.5rem 1.5rem;
    width: 100%;
}

.market-prices-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-classic);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 1.25rem;
}

.market-prices-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.market-prices-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.market-prices-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-status-pill {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.market-sector-tabs {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.sector-tab-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sector-tab-btn:hover {
    color: var(--primary-green);
    background: #e2e8f0;
}

.sector-tab-btn.active {
    background: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(11, 59, 36, 0.25);
}

.view-all-prices-link {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.view-all-prices-link:hover {
    color: var(--accent-gold);
}

.market-tab-panel {
    display: none;
    animation: fadeInPrices 0.3s ease;
}

.market-tab-panel.active {
    display: block;
}

@keyframes fadeInPrices {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.price-item-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.25s ease;
}

.price-item-card:hover {
    border-color: var(--primary-green);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.price-item-card.gold-card-border:hover {
    border-color: var(--accent-gold);
}

.price-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.price-item-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.price-icon {
    font-size: 1.15rem;
    color: var(--primary-green);
    width: 32px;
    height: 32px;
    background: #e6f4ea;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-icon.gold-icon {
    color: #d97706;
    background: #fef3c7;
}

.price-icon.green-icon {
    color: #059669;
    background: #ecfdf5;
}

.price-item-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.price-city-tag {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.15rem;
}

.change-tag {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.change-up {
    background: #ecfdf5;
    color: #059669;
}

.change-down {
    background: #fef2f2;
    color: #dc2626;
}

.change-stable {
    background: #f1f5f9;
    color: #64748b;
}

.price-values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem;
}

.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.25rem;
}

.buy-box {
    border-left: 1px solid #f1f5f9;
}

.price-lbl {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.price-val {
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
}

.price-val.highlight-val {
    color: var(--primary-green);
}

.price-val.highlight-gold {
    color: #b45309;
}

.price-val.highlight-green {
    color: #059669;
}

.price-unit {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
}

.single-price-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.single-price-lbl {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 700;
}

.single-price-val-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.single-price-val {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-green);
}

.single-price-unit {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
}

.price-card-footer-note {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.5rem;
}

@media (max-width: 768px) {
    .market-prices-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .market-sector-tabs {
        width: 100%;
        overflow-x: auto;
    }
}

/* ==========================================================================
   4 Market Price Navigation Cards (Homepage)
   ========================================================================== */
.price-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* أيقونات أسعار السوق المجردة مرتبة في 4 أعمدة متساوية */
.price-pure-icons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0.75rem 0 1rem;
    width: 100%;
}

.price-pure-icon-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    width: 100%;
}

.price-pure-icon-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: none !important;
}

/* إلغاء تأثير تكبير الهفر تماماً */
.price-pure-icon-item:hover,
.price-pure-icon-item:hover img {
    transform: none !important;
    filter: none !important;
}

.price-pure-icon-item .price-item-click-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.price-pure-icon-item:hover .price-item-click-label {
    color: var(--accent-gold);
}

.price-pure-icon-item .price-item-click-label i {
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}

.price-pure-icon-item:hover .price-item-click-label i {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .price-pure-icons-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
        padding: 0.5rem 0 1rem;
    }

    .price-pure-icon-item {
        padding: 0.4rem 0.2rem;
    }

    .price-pure-icon-item img {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 auto;
    }

    .price-pure-icon-item .price-item-click-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .price-pure-icons-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.4rem 0 0.85rem;
    }

    .price-pure-icon-item {
        padding: 0.35rem 0.15rem;
    }

    .price-pure-icon-item img {
        width: 100%;
        max-width: 185px;
        height: auto;
        margin: 0 auto;
    }

    .price-pure-icon-item .price-item-click-label {
        font-size: 0.82rem;
    }
}

.price-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.price-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.price-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--primary-green);
    transition: height 0.2s ease;
}

.price-nav-card.currency-card::before {
    background: #059669;
}

.price-nav-card.gold-card::before {
    background: #d97706;
}

.price-nav-card.meat-fish-card::before {
    background: #0284c7;
}

.price-nav-card.veg-fruit-card::before {
    background: #16a34a;
}

.price-nav-card:hover::before {
    height: 4px;
}

.price-nav-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-nav-card:hover .price-nav-icon-wrap {
    transform: scale(1.14);
}

.currency-icon {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.gold-icon {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.meat-fish-icon {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.veg-fruit-icon {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.price-nav-info {
    flex: 1;
    min-width: 0;
}

.price-nav-title {
    font-size: 0.96rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.price-nav-preview {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.price-preview-line {
    font-size: 0.76rem;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-preview-line strong {
    color: #0f172a;
    font-weight: 800;
}

.price-nav-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.65rem;
    font-size: 0.74rem;
    font-weight: 800;
    color: #64748b;
    transition: color 0.2s ease;
}

.price-nav-card:hover .price-nav-action-bar {
    color: var(--primary-green);
}

.price-nav-card.gold-card:hover .price-nav-action-bar {
    color: #b45309;
}

.price-nav-card.meat-fish-card:hover .price-nav-action-bar {
    color: #0284c7;
}

.price-nav-card.veg-fruit-card:hover .price-nav-action-bar {
    color: #16a34a;
}

.action-arrow {
    transition: transform 0.25s ease;
}

.price-nav-card:hover .action-arrow {
    transform: translateX(-4px);
    /* ==========================================================================
   Comprehensive Mobile Responsiveness System (Down to 280px)
   ========================================================================== */

    /* 1. Global Box-Sizing & Viewport Protection */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    img,
    video,
    iframe,
    canvas {
        max-width: 100% !important;
        height: auto;
    }

    .page-container {
        display: flex;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        min-height: 100vh;
    }

    .main-content {
        flex: 1;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        display: flex;
        flex-direction: column;
        background: #fff;
    }

    .homepage-categories-wrapper {
        padding: 0.75rem 1.5rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .parallel-categories-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .price-cards-nav-section {
        padding: 0.5rem 1.5rem 1.25rem;
        width: 100%;
    }

    .mobile-sidebars-ad-row {
        display: none !important;
        padding: 0 1.5rem;
        margin-bottom: 1rem;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        width: 100%;
    }

    .mobile-side-ad-box {
        width: 100%;
        overflow: hidden;
        border-radius: var(--radius-classic);
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
    }

    .mobile-side-ad-box a {
        display: block;
        width: 100%;
    }

    .mobile-side-ad-box img {
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: contain;
        display: block;
        border-radius: 4px;
    }

    /* Tablet & Laptop Navigation Spacing (1025px - 1320px) */
    @media (min-width: 1025px) and (max-width: 1320px) {
        .nav-links a {
            padding: 0.4rem 0.5rem;
            font-size: 0.78rem;
            gap: 0.25rem;
        }
    }

    /* 2. Breakpoint: <= 1024px (Tablets & Small Laptops) */
    @media (max-width: 1024px) {

        .sidebar-right,
        .sidebar-left {
            display: none !important;
            width: 0 !important;
        }

        .hero-container {
            grid-template-columns: 1fr !important;
            min-height: auto !important;
        }

        .hero-photo-box {
            min-height: 280px !important;
            height: 320px !important;
        }

        .hero-text-box {
            border-left: none !important;
            border-top: 1px solid var(--border-gray) !important;
            padding: 1.25rem 1rem !important;
        }

        .price-nav-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 1rem !important;
        }

        .double-ads-row {
            grid-column: span 1 !important;
            padding: 0.75rem 1rem !important;
            gap: 0.75rem !important;
        }

        .side-video-grid-items {
            grid-template-columns: repeat(2, 1fr) !important;
        }

        .footer-main-grid {
            grid-template-columns: 1fr 1fr !important;
        }

        .mobile-sidebars-ad-row {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 1rem !important;
            padding: 0 1rem !important;
        }

        /* 1. ضبط ريسبونسف خط شريط التاريخ والأسعار في الجوال والتابلت */
        .top-social-bar {
            padding: 0.25rem 0.75rem !important;
            min-height: 34px !important;
            height: auto !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            flex-wrap: nowrap !important;
            gap: 0.4rem !important;
        }

        .date-time-item {
            font-size: clamp(0.68rem, 2.5vw, 0.78rem) !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .top-social-pill {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 28px !important;
            height: 28px !important;
            font-size: 0.76rem !important;
            border-radius: 4px !important;
            flex-shrink: 0 !important;
        }

        /* 2. شريط التنقل المتكيف مع سهمين للتنقل يمين ويسار وشريط تمرير ظاهر */
        .nav-bar-outer-wrapper {
            position: sticky !important;
            top: 0 !important;
            z-index: 90 !important;
            background: var(--primary-green) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            padding: 0 0.5rem !important;
            width: 100% !important;
            gap: 0.35rem !important;
        }

        .nav-scroll-arrow {
            width: 32px !important;
            height: 32px !important;
            min-width: 32px !important;
            border-radius: 50% !important;
            background: rgba(255, 255, 255, 0.15) !important;
            border: 1.5px solid var(--accent-gold) !important;
            color: var(--accent-gold) !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            cursor: pointer !important;
            flex-shrink: 0 !important;
            transition: all 0.2s ease !important;
            font-size: 0.85rem !important;
            z-index: 5 !important;
            padding: 0 !important;
        }

        .nav-scroll-arrow:hover,
        .nav-scroll-arrow:active {
            background: var(--accent-gold) !important;
            color: #0b3b24 !important;
            transform: scale(1.08) !important;
        }

        .nav-bar {
            flex: 1 !important;
            min-width: 0 !important;
            background: transparent !important;
            padding: 0.35rem 0.25rem !important;
            overflow-x: auto !important;
            overflow-y: hidden !important;
            white-space: nowrap !important;
            -webkit-overflow-scrolling: touch !important;
            scroll-behavior: smooth !important;
            overscroll-behavior-x: contain !important;
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
            cursor: grab !important;
        }

        .nav-bar:active {
            cursor: grabbing !important;
        }

        .nav-bar,
        .nav-bar * {
            -webkit-user-drag: none !important;
            user-drag: none !important;
        }

        .nav-bar a {
            -webkit-user-drag: none !important;
            user-drag: none !important;
            -webkit-user-select: none !important;
            user-select: none !important;
        }

        .nav-bar::-webkit-scrollbar {
            display: none !important;
            height: 0 !important;
            width: 0 !important;
        }

        .nav-bar-inner {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 0.35rem !important;
            padding: 0.25rem 0 !important;
            width: max-content !important;
            min-width: 100% !important;
        }

        .nav-links-right {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            white-space: nowrap !important;
            align-items: center !important;
            gap: 0.35rem !important;
            width: auto !important;
            flex: none !important;
        }

        .nav-links-left {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            white-space: nowrap !important;
            align-items: center !important;
            gap: 0.35rem !important;
            width: auto !important;
            flex: none !important;
        }

        .nav-links a {
            padding: 0.45rem 0.85rem !important;
            font-size: 0.84rem !important;
            white-space: nowrap !important;
            flex-shrink: 0 !important;
        }
    }

    /* 3. Breakpoint: <= 768px (Mobile Devices) */
    @media (max-width: 768px) {
        .nav-scroll-arrow {
            width: 28px !important;
            height: 28px !important;
            min-width: 28px !important;
            font-size: 0.75rem !important;
        }

        .top-social-bar {
            padding: 0.25rem 0.75rem !important;
            height: auto !important;
            min-height: 34px !important;
            flex-wrap: nowrap !important;
            gap: 0.4rem !important;
        }

        .logo-ads-row {
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0.75rem 1rem !important;
            min-height: auto !important;
            gap: 0.75rem !important;
        }

        .logo-box {
            height: auto !important;
            max-height: 95px !important;
        }

        .logo-box img {
            height: 95px !important;
            max-height: 95px !important;
            width: auto !important;
        }

        .header-ad-box {
            max-width: 100% !important;
            width: 100% !important;
            height: auto !important;
        }

        /* Mobile Navigation Bar */
        .nav-bar {
            padding: 0 0.75rem !important;
            overflow: visible !important;
        }

        .nav-bar-inner {
            flex-direction: row !important;
            align-items: center !important;
            gap: 0.45rem !important;
            padding: 0.35rem 0 !important;
        }

        .nav-links-right {
            flex: 1 !important;
            min-width: 0 !important;
            width: 100% !important;
            overflow-x: auto !important;
            white-space: nowrap !important;
            -webkit-overflow-scrolling: touch !important;
            scrollbar-width: none !important;
            padding-bottom: 0.3rem !important;
            display: flex !important;
            flex-wrap: nowrap !important;
            gap: 0.35rem !important;
        }

        .nav-links-right::-webkit-scrollbar {
            display: none !important;
        }

        .nav-links-left {
            display: none !important;
        }

        .nav-dropdown-menu {
            max-width: calc(100vw - 20px) !important;
        }

        .nav-dropdown-menu.dropdown-grid-2 {
            grid-template-columns: 1fr !important;
            min-width: 270px !important;
        }

        /* Sections */
        .hero-section {
            padding: 0.5rem 0.75rem 1rem !important;
        }

        .price-cards-nav-section {
            padding: 0.5rem 0.75rem 1rem !important;
        }

        .homepage-categories-wrapper {
            padding: 0.5rem 0.75rem 1rem !important;
            gap: 1.25rem !important;
        }

        .parallel-categories-row {
            grid-template-columns: 1fr !important;
            gap: 1.25rem !important;
        }

        .double-ads-row {
            padding: 0.5rem 0.75rem !important;
        }

        .video-news-section,
        .infographics-news-section {
            padding: 0.5rem 0.75rem 1rem !important;
        }

        .video-section-box {
            padding: 0.85rem 0.65rem !important;
            border-radius: 6px !important;
        }

        .video-section-header {
            padding-bottom: 0.5rem !important;
            margin-bottom: 0.85rem !important;
        }

        .video-section-header-title {
            font-size: 0.98rem !important;
        }

        .video-header-more-link {
            font-size: 0.78rem !important;
        }

        .main-video-card {
            border-radius: 6px !important;
        }

        .main-video-thumb {
            padding: 0.65rem !important;
            aspect-ratio: 16 / 9 !important;
        }

        .video-top-badges {
            gap: 0.35rem !important;
        }

        .video-category-tag, .video-meta-pill {
            font-size: 0.68rem !important;
            padding: 0.15rem 0.45rem !important;
        }

        .video-play-pulse-btn {
            width: 44px !important;
            height: 44px !important;
            font-size: 1.15rem !important;
        }

        .video-info-overlay {
            margin: -0.65rem !important;
            padding: 1.25rem 0.65rem 0.65rem !important;
            gap: 0.25rem !important;
        }

        .video-action-bar {
            font-size: 0.7rem !important;
            gap: 0.4rem !important;
        }

        .watch-video-action-pill {
            font-size: 0.66rem !important;
            padding: 0.12rem 0.45rem !important;
        }

        .video-meta-date {
            font-size: 0.68rem !important;
        }

        .main-video-title {
            font-size: 0.92rem !important;
            line-height: 1.35 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
        }

        .side-video-list {
            gap: 0.55rem !important;
        }

        .side-playlist-header {
            font-size: 0.84rem !important;
            padding-bottom: 0.4rem !important;
            margin-bottom: 0.5rem !important;
        }

        .side-video-grid-items {
            display: flex !important;
            flex-direction: column !important;
            gap: 0.6rem !important;
        }

        .side-video-item {
            flex-direction: row !important;
            align-items: center !important;
            gap: 0.65rem !important;
            padding: 0.45rem !important;
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 6px !important;
        }

        .side-video-thumb {
            width: 108px !important;
            min-width: 108px !important;
            max-width: 108px !important;
            height: 64px !important;
            aspect-ratio: 16 / 9 !important;
            border-radius: 4px !important;
            flex-shrink: 0 !important;
        }

        .side-video-thumb-play {
            font-size: 0.9rem !important;
            background: rgba(0, 0, 0, 0.35) !important;
        }

        .side-video-info {
            padding: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            gap: 0.2rem !important;
            min-width: 0 !important;
            flex: 1 !important;
        }

        .side-video-top-meta {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            margin-bottom: 0 !important;
        }

        .side-video-cat {
            font-size: 0.68rem !important;
        }

        .side-video-watch-btn {
            font-size: 0.62rem !important;
            padding: 0.1rem 0.35rem !important;
        }

        .side-video-title {
            font-size: 0.78rem !important;
            line-height: 1.35 !important;
            margin-top: 0 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .video-footer-more {
            margin-top: 0.85rem !important;
            padding-top: 0.75rem !important;
        }

        .video-more-btn {
            padding: 0.45rem 1.4rem !important;
            font-size: 0.82rem !important;
        }

        .footer-main-grid {
            grid-template-columns: 1fr !important;
            gap: 1.5rem !important;
        }

        .mobile-sidebars-ad-row {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 0.75rem !important;
            padding: 0 0.75rem !important;
        }

        .mobile-side-ad-box img {
            max-height: 180px !important;
        }
    }

    /* 4. Breakpoint: <= 480px (Compact Mobile) */
    @media (max-width: 480px) {
        .top-social-bar {
            padding: 0.3rem 0.5rem !important;
            font-size: 0.76rem !important;
        }

        .top-very-first-search-form {
            display: none !important;
        }

        .price-nav-grid {
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 0.5rem !important;
        }

        .price-nav-card {
            min-height: 65px !important;
            padding: 0.5rem !important;
        }

        .price-nav-icon-wrap {
            width: 44px !important;
            height: 44px !important;
            font-size: 1.35rem !important;
        }

        .sub-news-grid {
            grid-template-columns: 1fr !important;
            gap: 0.75rem !important;
        }

        .hero-photo-box {
            min-height: 200px !important;
            height: 220px !important;
        }

        .photo-title-overlay {
            padding: 1.5rem 0.75rem 1.25rem !important;
        }

        .photo-title-text {
            font-size: 0.96rem !important;
            line-height: 1.35 !important;
        }

        .carousel-btn {
            width: 34px !important;
            height: 34px !important;
            font-size: 0.82rem !important;
        }

        .carousel-btn.prev {
            right: 0.5rem !important;
        }

        .carousel-btn.next {
            left: 0.5rem !important;
        }

        .hero-title-text {
            font-size: 1.05rem !important;
            line-height: 1.35 !important;
        }

        .hero-description-text {
            font-size: 0.82rem !important;
            line-height: 1.6 !important;
        }

        .category-column-box {
            padding: 0.85rem 0.65rem !important;
        }

        .writer-item-card {
            padding: 0.65rem 0.75rem !important;
            gap: 0.75rem !important;
        }

        .writer-avatar {
            width: 56px !important;
            height: 56px !important;
        }

        .writer-author-name {
            font-size: 0.86rem !important;
        }

        .writer-article-title {
            font-size: 0.78rem !important;
        }

        .video-section-box {
            padding: 0.65rem 0.5rem !important;
        }

        .main-video-title {
            font-size: 0.86rem !important;
        }

        .video-play-pulse-btn {
            width: 38px !important;
            height: 38px !important;
            font-size: 1rem !important;
        }

        .side-video-thumb {
            width: 95px !important;
            min-width: 95px !important;
            max-width: 95px !important;
            height: 56px !important;
        }

        .side-video-title {
            font-size: 0.75rem !important;
        }

        .stack-cards-wrapper {
            height: 330px !important;
        }

        .stack-card {
            width: 230px !important;
            height: 310px !important;
        }

        .stack-side-nav-btn {
            width: 34px !important;
            height: 34px !important;
            font-size: 0.82rem !important;
        }

        .stack-side-nav-btn.prev-side-btn {
            right: 0.35rem !important;
        }

        .stack-side-nav-btn.next-side-btn {
            left: 0.35rem !important;
        }

        .fixed-bottom-ticker {
            height: 30px !important;
            min-height: 30px !important;
            font-size: 0.72rem !important;
            border-top: 2px solid var(--accent-gold) !important;
        }

        .ticker-badge-btn {
            padding: 0 0.5rem !important;
            font-size: 0.68rem !important;
            gap: 0.25rem !important;
        }

        .ticker-badge-btn i {
            font-size: 0.62rem !important;
        }

        .ticker-scroll-items span,
        .ticker-clone-items span {
            padding: 0 0.65rem !important;
            font-size: 0.7rem !important;
        }

        .ticker-scroll-items span i,
        .ticker-clone-items span i {
            font-size: 0.35rem !important;
        }

        .site-footer {
            padding: 1.5rem 0.75rem 1rem !important;
        }

        .footer-bottom-bar {
            padding-bottom: 4rem !important;
            font-size: 0.78rem !important;
        }
    }

    /* 5. Breakpoint: <= 320px & down to 280px (Galaxy Fold folded / Tiny Screens) */
    @media (max-width: 320px) {

        /* Safe padding to prevent edge overflow */
        .hero-section,
        .price-cards-nav-section,
        .homepage-categories-wrapper,
        .double-ads-row,
        .video-news-section,
        .infographics-news-section,
        .site-footer {
            padding-left: 0.35rem !important;
            padding-right: 0.35rem !important;
        }

        .top-social-bar {
            padding: 0.25rem !important;
            font-size: 0.68rem !important;
        }

        .date-time-item {
            font-size: 0.68rem !important;
        }

        .top-social-pill {
            width: 24px !important;
            height: 24px !important;
            font-size: 0.72rem !important;
        }

        .logo-box img {
            height: 75px !important;
            max-height: 75px !important;
            max-width: 240px !important;
        }

        .nav-links a {
            padding: 0.35rem 0.5rem !important;
            font-size: 0.76rem !important;
        }

        .hero-photo-box {
            min-height: 170px !important;
            height: 175px !important;
        }

        .photo-title-text {
            font-size: 0.84rem !important;
            line-height: 1.28 !important;
        }

        .hero-title-text {
            font-size: 0.92rem !important;
            line-height: 1.3 !important;
        }

        .hero-text-box {
            padding: 0.75rem 0.4rem !important;
        }

        .price-nav-card {
            padding: 0.75rem 0.55rem 0.65rem !important;
        }

        .price-nav-icon-wrap {
            width: 36px !important;
            height: 36px !important;
            font-size: 1.1rem !important;
        }

        .price-nav-title {
            font-size: 0.88rem !important;
        }

        .price-preview-line {
            font-size: 0.72rem !important;
        }

        .category-column-box {
            padding: 0.65rem 0.4rem !important;
        }

        .category-header-title {
            font-size: 0.92rem !important;
        }

        .featured-title {
            font-size: 0.88rem !important;
        }

        .featured-excerpt {
            font-size: 0.75rem !important;
        }

        .writer-item-card {
            padding: 0.5rem 0.4rem !important;
            gap: 0.5rem !important;
        }

        .writer-avatar {
            width: 44px !important;
            height: 44px !important;
        }

        .writer-author-name {
            font-size: 0.8rem !important;
        }

        .writer-article-title {
            font-size: 0.72rem !important;
        }

        .main-video-title {
            font-size: 0.85rem !important;
        }

        .video-play-pulse-btn {
            width: 40px !important;
            height: 40px !important;
            font-size: 1rem !important;
        }

        .stack-cards-wrapper {
            height: 275px !important;
        }

        .stack-card {
            width: 190px !important;
            height: 260px !important;
        }

        .view-infographic-btn {
            font-size: 0.72rem !important;
            padding: 0.35rem 0.6rem !important;
        }

        .fixed-bottom-ticker {
            height: 26px !important;
            min-height: 26px !important;
            font-size: 0.65rem !important;
            border-top: 1.5px solid var(--accent-gold) !important;
        }

        .ticker-badge-btn {
            padding: 0 0.35rem !important;
            font-size: 0.62rem !important;
            gap: 0.2rem !important;
        }

        .ticker-badge-btn i {
            font-size: 0.55rem !important;
        }

        .ticker-scroll-items span,
        .ticker-clone-items span {
            padding: 0 0.45rem !important;
            font-size: 0.64rem !important;
        }

        .ticker-scroll-items span i,
        .ticker-clone-items span i {
            font-size: 0.3rem !important;
        }

        .footer-logo img {
            height: 65px !important;
            max-height: 65px !important;
            max-width: 100px !important;
        }

        .footer-about-p {
            font-size: 0.78rem !important;
        }

        .footer-links-list a {
            font-size: 0.78rem !important;
        }

        .footer-contact-info {
            font-size: 0.78rem !important;
        }

        .footer-social-pill {
            width: 28px !important;
            height: 28px !important;
            font-size: 0.78rem !important;
        }

        .footer-bottom-bar {
            font-size: 0.7rem !important;
            padding-bottom: 4rem !important;
        }

        .mobile-sidebars-ad-row {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 0.35rem !important;
            padding: 0 0.35rem !important;
        }

        .mobile-side-ad-box img {
            max-height: 135px !important;
        }
    }

    /* ==========================================================
   Global Unified Pagination Style
   ========================================================== */
    .pagination-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        margin: 2.5rem 0 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        flex-wrap: wrap;
        direction: rtl;
    }

    .page-btn {
        min-width: 40px;
        height: 40px;
        padding: 0 0.85rem;
        border: 1.5px solid #cbd5e1;
        background: #ffffff;
        color: #0b3b24;
        text-decoration: none !important;
        font-weight: 800;
        font-size: 0.92rem;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        transition: all 0.2s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        user-select: none;
    }

    .page-btn:hover:not(.disabled):not(.active) {
        background: #f0fdf4;
        color: #028040;
        border-color: #028040;
        transform: translateY(-1px);
    }

    .page-btn.active {
        background: #028040 !important;
        color: #ffffff !important;
        border-color: #028040 !important;
        font-weight: 900;
        box-shadow: 0 3px 8px rgba(2, 128, 64, 0.3);
        cursor: default;
    }

    .page-btn.disabled {
        opacity: 0.4;
        cursor: not-allowed;
        background: #f8fafc;
        color: #94a3b8;
        border-color: #e2e8f0;
        pointer-events: none;
    }

    .page-nav-prev,
    .page-nav-next {
        padding: 0 1.1rem;
        font-weight: 800;
    }

    @media (max-width: 640px) {
        .page-btn {
            min-width: 36px;
            height: 36px;
            padding: 0 0.6rem;
            font-size: 0.85rem;
        }
    }

/* ========================================================
   Subtle & Elegant Animations for News Portal
   ======================================================== */
@keyframes softFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseLive {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.88); }
}

.article-card, .news-card, .price-card-item, .category-column-box, .featured-category-item {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}
.article-card:hover, .news-card:hover, .price-card-item:hover, .featured-category-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 22px rgba(11, 59, 36, 0.1) !important;
}

.article-image-box img, .news-card-img img, .featured-photo-box {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.article-card:hover .article-image-box img, .news-card:hover .news-card-img img, .featured-category-item:hover .featured-photo-box {
    transform: scale(1.03) !important;
}

.main-content {
    animation: softFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ========================================================
   Enhanced Top Social Bar Responsive Styling
   ======================================================== */
.top-social-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    padding: 0 1.25rem;
    background: var(--bg-light);
    border-bottom: 2px solid #fff;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.top-bar-right-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 auto;
}

.date-time-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-quick-nav-links {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.83rem;
    font-weight: 800;
    white-space: nowrap;
}

.top-link-sep {
    color: #cbd5e1;
    font-weight: 300;
    font-size: 0.85rem;
    user-select: none;
    display: inline-block;
    padding: 0 0.1rem;
}

.top-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.2rem 0.4rem;
    cursor: pointer;
    font-size: 0.83rem;
    font-weight: 800;
}

.top-nav-btn:hover {
    color: var(--accent-gold);
}

.top-bar-social-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

/* Tablet & Mobile: max-width 900px */
@media (max-width: 900px) {
    .top-social-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        min-height: auto !important;
        height: auto !important;
        padding: 0.35rem 0.5rem 0.3rem !important;
        gap: 0.25rem !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 100 !important;
    }

    /* السطر الأول: التاريخ يمين وأيقونات التواصل يسار */
    .top-bar-first-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 32px !important;
    }

    .top-bar-date-group {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .date-time-item {
        font-size: clamp(0.68rem, 2.7vw, 0.78rem) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        white-space: nowrap !important;
    }

    .top-very-first-search-form {
        display: none !important;
    }

    .top-bar-social-icons {
        display: flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        flex-shrink: 0 !important;
    }

    .top-social-pill {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
    }

    /* السطر الثاني: سطر أنيق ومستقل يتوسط الشاشة بفاصل ناعم، ومريح جداً للأصابع على شاشات اللمس */
    .top-quick-nav-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        border-right: none !important;
        border-top: 1px solid #e2e8f0 !important;
        padding: 0.35rem 0 0.15rem !important;
        margin-top: 0.15rem !important;
        gap: 0.25rem !important;
        background: transparent !important;
        position: relative !important;
        z-index: 250 !important;
        pointer-events: auto !important;
    }

    .top-link-sep {
        display: inline-block !important;
        color: #cbd5e1 !important;
        font-weight: 300 !important;
        font-size: 0.9rem !important;
        user-select: none !important;
        padding: 0 0.15rem !important;
    }

    .top-nav-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        padding: 0.2rem 0.35rem !important;
        color: var(--primary-green) !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        text-decoration: none !important;
        position: relative !important;
        z-index: 260 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        box-shadow: none !important;
        transition: color 0.18s ease !important;
        white-space: nowrap !important;
        -webkit-tap-highlight-color: rgba(11, 59, 36, 0.1) !important;
    }

    .top-nav-btn:active,
    .top-nav-btn:hover {
        background: transparent !important;
        color: var(--accent-gold) !important;
        border: none !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .logo-ads-row {
        padding: 0.35rem 0.25rem !important;
        min-height: auto !important;
        height: auto !important;
    }

    .logo-box {
        height: 70px !important;
    }

    .logo-box img {
        height: 70px !important;
        max-height: 70px !important;
    }
}

/* Small Mobile Screens: max-width 480px */
@media (max-width: 480px) {
    .top-social-bar {
        padding: 0.25rem 0.35rem 0.2rem !important;
        gap: 0.2rem !important;
    }
    .date-time-item {
        font-size: 0.68rem !important;
    }
    .top-quick-nav-links {
        gap: 0.15rem !important;
        padding: 0.25rem 0 0.1rem !important;
    }
    .top-nav-btn {
        font-size: 0.77rem !important;
        padding: 0.15rem 0.25rem !important;
    }
    .top-link-sep {
        font-size: 0.82rem !important;
        padding: 0 0.05rem !important;
    }
    .top-social-pill {
        width: 25px !important;
        height: 25px !important;
        font-size: 0.7rem !important;
    }
}

/* Extra Small Screens: max-width 360px */
@media (max-width: 360px) {
    .date-time-item {
        font-size: 0.62rem !important;
    }
    .top-nav-btn {
        font-size: 0.72rem !important;
        padding: 0.1rem 0.2rem !important;
    }
    .top-link-sep {
        font-size: 0.75rem !important;
        padding: 0 !important;
    }
    .top-social-pill {
        width: 23px !important;
        height: 23px !important;
        font-size: 0.65rem !important;
    }
}

.writer-role-badge {
    font-size: 0.74rem;
    background: transparent !important;
    color: var(--primary-green) !important;
    padding: 0 0.15rem 0.2rem !important;
    font-weight: 800;
    border: none !important;
    border-bottom: 2px solid var(--accent-gold) !important;
    display: inline-block;
}

/* ==========================================================
   Mobile Padding-Inline Optimization (Small / Almost Nonexistent)
   للاستفادة القصوى من مساحة شاشات الجوال في جميع الصفحات
   ========================================================== */
@media (max-width: 768px) {
    /* كل حاويات الصفحات الرئيسية والأرشيف والأقسام */
    .news-archive-wrapper,
    .category-page-wrapper,
    .editorial-page-wrapper,
    .contact-page-wrapper,
    .writers-page-wrapper,
    .videos-page-wrapper,
    .info-page-wrapper,
    .homepage-categories-wrapper,
    .hero-section,
    .price-cards-nav-section,
    .video-news-section,
    .infographics-news-section,
    .prices-page-body,
    .mobile-sidebars-ad-row,
    .double-ads-row {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
        box-sizing: border-box !important;
    }

    /* صفحة تفاصيل الخبر: مسافة بادئة مريحة تمنع خروج أسهم السلايدر وظهور شريط التمرير الأفقي */
    .article-wrapper {
        padding-left: 1.15rem !important;
        padding-right: 1.15rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* كروت المقالات والأخبار والحاويات الفرعية */
    .news-item-body,
    .cat-news-content,
    .related-card-body {
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
    }

    /* بانرات وترويسات الصفحات */
    .archive-page-header,
    .category-header-banner,
    .editorial-header-banner,
    .filter-panel-card {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /* صفحة تفاصيل الخبر */
    .article-meta-bar,
    .article-body-content,
    .highlight-quote-box {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }
}

@media (max-width: 480px) {
    .news-archive-wrapper,
    .category-page-wrapper,
    .editorial-page-wrapper,
    .contact-page-wrapper,
    .writers-page-wrapper,
    .videos-page-wrapper,
    .info-page-wrapper,
    .homepage-categories-wrapper,
    .hero-section,
    .price-cards-nav-section,
    .video-news-section,
    .infographics-news-section,
    .prices-page-body,
    .mobile-sidebars-ad-row,
    .double-ads-row {
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }

    .article-wrapper {
        padding-left: 0.95rem !important;
        padding-right: 0.95rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .archive-page-header,
    .category-header-banner,
    .editorial-header-banner,
    .filter-panel-card,
    .contact-form-card,
    .contact-info-card {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }

    .article-body-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ==========================================================
   Smooth & Subtle On-Scroll Reveal System (News Portal Spec)
   أنيميشن هادئ وخفيف جداً لظهور الأخبار عند التمرير
   ========================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}