/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #1e3a8a;
    --heading-color: #0f0f0f;
    --primary-dark: #0f172a;
    --primary-darker: #020617;
    --primary-light: #3b82f6;
    --text-gray: #1e293b;
    --light-gray: #f1f5f9;
    --border-gray: #3b82f6;
    --accent-gray: #64748b;
    --hover-gray: #1e40af;
    --white: #ffffff;
    --font-english: 'Guardian Text Egyptian Web', Georgia, serif;
}

/* خط الإنجليزية: Guardian Text Egyptian + Georgia (ضع ملفات الخط في /fonts ثم فعّل @font-face أدناه) */
/*
@font-face {
    font-family: 'Guardian Text Egyptian Web';
    src: url('/fonts/GuardianEgyptianWeb-Regular.woff2') format('woff2'),
         url('/fonts/GuardianEgyptianWeb-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
*/

body {
    font-family: var(--font-english);
    color: var(--primary-black);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

/* كل الموقع بالإنجليزي: Guardian Text Egyptian / Georgia */
[dir="ltr"] body,
[dir="ltr"] body * {
    font-family: var(--font-english);
}

/* RTL Support for Arabic + خط Droid Arabic Kufi في كل الموقع */
[dir="rtl"],
[dir="rtl"] body,
[dir="rtl"] body * {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}
[dir="rtl"],
[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

/* الهيدر: نفس خط اللغة + بولد */
.header,
.nav-dropdown,
.nav-dropdown-container {
    font-family: var(--font-english);
}
.nav-list a,
.nav-section-title,
.nav-submenu a,
.dropdown-actions .lang-btn,
.sidebar-nav-list a,
.sidebar-pages-list a,
.search-input-overlay {
    font-weight: 600;
}
[dir="rtl"] .header,
[dir="rtl"] .nav-dropdown,
[dir="rtl"] .nav-dropdown-container,
[dir="rtl"] .nav-list a,
[dir="rtl"] .nav-section-title,
[dir="rtl"] .nav-submenu a,
[dir="rtl"] .dropdown-actions .lang-btn,
[dir="rtl"] .sidebar-nav-list a,
[dir="rtl"] .sidebar-pages-list a,
[dir="rtl"] .sidebar-pages-title,
[dir="rtl"] .search-input-overlay,
[dir="rtl"] .mobile-header-bar,
[dir="rtl"] .mobile-categories-bar,
[dir="rtl"] .mobile-category-title,
[dir="rtl"] .mobile-category-submenu a,
[dir="rtl"] .sidebar-content,
[dir="rtl"] .sidebar-header {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
    font-weight: 600;
}

[dir="rtl"] .mobile-category-submenu a {
    padding: 3px 10px 3px 0;
}

[dir="rtl"] .mobile-category-submenu a::before {
    left: auto;
    right: 0;
}


[dir="rtl"] .news-homepage {
    direction: rtl;
}

[dir="rtl"] .news-grid {
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Dezeen-style Structure */
.header {
    width: 100%;
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.header.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header.header-hidden {
    transform: translateY(-100%) !important;
    transition: transform 0.3s ease;
}

/* Ad Banner Area */
.ad-banner {
    width: 100%;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
}

.ad-banner-content {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ad-banner-content img,
.ad-banner-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.ad-banner-content iframe {
    max-width: 100%;
}

.ad-banner-link {
    display: block;
    width: 100%;
    max-width: 728px;
}

.ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background-color: var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-english);
}

/* Ad Slots - Under Headlines, Under Articles */
.ad-under-headlines,
.ad-under-articles,
.ad-between-sections {
    max-width: 728px;
    margin: 25px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    background-color: var(--light-gray);
    border-radius: 4px;
}

.ad-under-headlines .ad-placeholder,
.ad-under-articles .ad-placeholder,
.ad-between-sections .ad-placeholder {
    max-width: 100%;
    height: 90px;
    border-radius: 4px;
}


/* Article Bottom Ad */
.ad-article-bottom {
    max-width: 728px;
    margin: 40px auto 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    background-color: var(--light-gray);
    border-radius: 4px;
}

.ad-article-bottom .ad-placeholder {
    max-width: 100%;
    height: 90px;
    border-radius: 4px;
}

/* زر فتح المجلة (بدون قسم - يظهر كزر عائم) */
.magazine-open-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--primary-black, #1a1a1a);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.magazine-open-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}
.magazine-open-fab-text {
    font-size: 15px;
}
@media (max-width: 480px) {
    .magazine-open-fab {
        bottom: 16px;
        left: 16px;
        padding: 12px 16px;
        font-size: 14px;
    }
    .magazine-open-fab svg {
        width: 24px;
        height: 24px;
    }
}

/* زر تحميل التطبيق في القائمة الجانبية (للموبايل) */
.sidebar-download-app {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--primary-black, #1a1a1a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}
.sidebar-download-app:hover {
    background: var(--primary-darker, #020617);
    color: #fff;
}
@media (max-width: 768px) {
    .sidebar-download-app {
        display: inline-flex;
    }
}

/* Magazine PDF Popup - ملء الشاشة (موبايل وديسكتوب) */
.magazine-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    overflow: hidden !important;
}
.magazine-popup[hidden] {
    display: none !important;
}
.magazine-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}
.magazine-popup-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    background: #1a1a1a;
    border-radius: 0;
    padding: 4px 4px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden !important;
    overscroll-behavior: none;
}
.magazine-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    z-index: 100;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    line-height: 1;
    transition: background 0.2s;
}
html[dir="rtl"] .magazine-popup-close {
    right: auto;
    left: 12px;
}
.magazine-popup-close:hover {
    background: rgba(255,255,255,0.4);
}

/* Magazine topbar - FlippingBook style */
.magazine-topbar {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 6px 60px 6px 12px;
    background: rgba(0,0,0,0.5);
    margin-bottom: 4px;
    gap: 12px;
}
html[dir="rtl"] .magazine-topbar {
    padding: 6px 12px 6px 60px;
}
.magazine-topbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.magazine-toolbar-sep {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    margin: 0 2px;
}
.magazine-toolbar-btn-action svg {
    flex-shrink: 0;
}
.magazine-topbar-spacer {
    min-width: 0;
}
.magazine-topbar-pager {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.95);
    font-size: 13px;
}
.magazine-topbar-pager input {
    width: 48px;
    padding: 4px 6px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}
.magazine-topbar-pager input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.7);
}
.magazine-pager-sep, .magazine-pager-of {
    color: rgba(255,255,255,0.7);
}

/* عرض الموبايل: صفحة واحدة فقط */
.magazine-popup.magazine-mobile-single-page .magazine-pager-sep {
    display: none;
}

.magazine-popup.magazine-mobile-single-page .magazine-topbar-pager input {
    display: none;
}

.magazine-popup.magazine-mobile-single-page .magazine-viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.magazine-popup.magazine-mobile-single-page .magazine-flip-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    touch-action: pan-x pan-y;
}

.magazine-popup.magazine-mobile-single-page #magazineFlipbook.magazine-mobile-swipe {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1;
}

.magazine-popup.magazine-mobile-single-page .magazine-mobile-swipe-area {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.magazine-popup.magazine-mobile-single-page .magazine-mobile-page-wrap {
    width: 100%;
    max-width: 100%;
}

.magazine-popup.magazine-mobile-single-page .magazine-mobile-page-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}
.magazine-mobile-pdf-view {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.magazine-mobile-pdf-view:active {
    cursor: grabbing;
}

.magazine-popup.magazine-mobile-single-page .magazine-zoom-container {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.magazine-popup.magazine-mobile-single-page .magazine-viewer .magazine-prev,
.magazine-popup.magazine-mobile-single-page .magazine-viewer .magazine-next {
    display: none !important;
}
.magazine-topbar-center .magazine-zoom-value {
    min-width: 44px;
    text-align: center;
    color: rgba(255,255,255,0.95);
    font-size: 13px;
}
.magazine-toolbar-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}
.magazine-toolbar-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}
.magazine-zoom-group {
    gap: 2px;
}
.magazine-zoom-sep {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.3);
    margin: 0 4px;
}
.magazine-zoom-value {
    min-width: 48px;
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}
.magazine-zoom-in, .magazine-zoom-out {
    font-weight: 700;
}
.magazine-popup-content:fullscreen,
.magazine-popup-content:-webkit-full-screen,
.magazine-popup-content:-moz-full-screen,
.magazine-popup-content:-ms-fullscreen {
    border-radius: 0;
    padding: 12px 8px;
}

.magazine-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-height: 70vh;
    min-height: 70dvh;
    cursor: grab;
}
.magazine-viewer:active {
    cursor: grabbing;
}
/* Stripe buttons - FlippingBook style on book edges */
.magazine-stripe-btn {
    flex-shrink: 0;
    width: 20px;
    min-width: 20px;
    height: 100%;
    min-height: 120px;
    border: none;
    background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
html[dir="rtl"] .magazine-prev {
    background: linear-gradient(270deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
}
.magazine-stripe-btn.magazine-next {
    background: linear-gradient(270deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
}
html[dir="rtl"] .magazine-stripe-btn.magazine-next {
    background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
}
.magazine-stripe-btn:hover:not(:disabled) {
    background: rgba(0,0,0,0.25);
    color: #fff;
}
.magazine-stripe-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}
.magazine-canvas-wrapper,
.magazine-flip-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.magazine-flip-wrapper {
    overflow: auto !important;
    touch-action: none;
    -webkit-overflow-scrolling: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
@media (min-width: 769px) {
    .magazine-flip-wrapper {
        min-width: 90%;
    }
}
.magazine-flip-wrapper .stf__parent {
    flex-shrink: 0;
}
.magazine-zoom-container {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.magazine-zoom-container.magazine-panning {
    transition: none;
}
#magazineFlipbook {
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    overflow: hidden !important;
    position: relative;
    background: #2a2a2a;
    flex-shrink: 0;
}
#magazineFlipbook.stf__parent {
    display: block !important;
}
#magazineFlipbook canvas {
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
.magazine-flip-viewer {
    cursor: default;
}
.magazine-flip-wrapper.magazine-can-pan {
    cursor: grab;
}
.magazine-flip-wrapper.magazine-can-pan:active {
    cursor: grabbing;
}
#magazineCanvas {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.magazine-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    z-index: 2;
}

/* Magazine - Mobile Responsive */
@media (max-width: 768px) {
    .magazine-popup-content {
        padding: 6px 4px;
    }
    .magazine-topbar {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 8px 50px 8px 12px;
    }
    html[dir="rtl"] .magazine-topbar {
        padding: 8px 12px 8px 50px;
    }
    .magazine-topbar-pager {
        order: 1;
        justify-content: center;
    }
    .magazine-topbar-center {
        order: 2;
    }
    .magazine-topbar-spacer {
        display: none;
    }
    .magazine-toolbar-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    .magazine-topbar-center {
        gap: 8px;
    }
    .magazine-viewer {
        min-height: 60vh;
        min-height: 60dvh;
        gap: 4px;
    }
    .magazine-stripe-btn {
        width: 44px;
        min-width: 44px;
        min-height: 80px;
    }
    .magazine-canvas-wrapper,
    .magazine-flip-wrapper {
        min-width: 0;
        min-height: 300px;
    }
    #magazineFlipbook {
        min-width: 0;
        min-height: 300px;
    }
    .magazine-loading {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .magazine-popup-content {
        padding: 4px 2px;
    }
    .magazine-popup-close {
        width: 40px;
        height: 40px;
        top: 8px;
        right: 8px;
        font-size: 24px;
    }
    html[dir="rtl"] .magazine-popup-close {
        right: auto;
        left: 8px;
    }
    .magazine-topbar {
        padding: 6px 46px 6px 8px;
        gap: 6px;
    }
    html[dir="rtl"] .magazine-topbar {
        padding: 6px 8px 6px 46px;
    }
    .magazine-topbar-pager {
        font-size: 12px;
    }
    .magazine-topbar-pager input {
        width: 40px;
        padding: 2px 4px;
        font-size: 12px;
    }
    .magazine-topbar-center .magazine-zoom-value {
        min-width: 36px;
        font-size: 12px;
    }
    .magazine-toolbar-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
    .magazine-topbar-center {
        gap: 6px;
    }
    .magazine-viewer {
        min-height: 55vh;
        min-height: 55dvh;
        gap: 2px;
    }
    .magazine-stripe-btn {
        width: 40px;
        min-width: 40px;
        min-height: 60px;
    }
    .magazine-canvas-wrapper,
    .magazine-flip-wrapper {
        min-height: 250px;
    }
    #magazineFlipbook {
        min-height: 250px;
    }
    .magazine-loading {
        font-size: 14px;
    }
}

/* Main Navigation Header */
.nav-header {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-gray);
    display: none;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    position: relative;
}

/* Logo - Left Aligned */
.logo {
    flex-shrink: 0;
    z-index: 1001;
    overflow: visible;
}

.logo a {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-black);
    text-transform: uppercase;
    font-family: var(--font-english);
    transition: opacity 0.2s ease;
    display: inline-block;
}

.logo a:hover {
    opacity: 0.7;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    object-position: start center;
    display: block;
    transition: opacity 0.2s ease;
    transform: scale(1.18);
    transform-origin: left center;
}

.logo a:hover .logo-image {
    opacity: 0.8;
}

/* Navigation - Centered - Hidden */
.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none;
    transition: opacity 0.3s ease;
}

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

.nav-list li {
    margin: 0;
}

.nav-list a {
    display: block;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 70px;
    font-family: var(--font-english);
    position: relative;
    text-transform: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 40px);
    height: 2px;
    background-color: var(--primary-black);
    transition: transform 0.3s ease;
    transform-origin: center;
}

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

.nav-list a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-list a.active {
    color: var(--primary-black);
}

.nav-list a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hamburger Menu - Right Aligned (Always Visible) */
.menu-toggle {
    display: flex !important;
    background-color: var(--primary-black);
    border: none;
    cursor: pointer;
    padding: 12px 10px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    gap: 6px;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: auto;
    order: 999;
    border-radius: 2px;
    transition: background-color 0.2s ease;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    background-color: var(--hover-gray);
}

.menu-toggle span {
    display: block !important;
    width: 100%;
    height: 3px;
    background-color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    border-radius: 2px;
    opacity: 1 !important;
    visibility: visible !important;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #ffffff !important;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    background-color: #ffffff !important;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #ffffff !important;
}

.menu-toggle[aria-expanded="true"] {
    position: relative;
}

/* Horizontal Dropdown Menu - Always Visible */
.nav-dropdown {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 8px 0;
    opacity: 1;
    visibility: visible;
    display: block;
}

/* Mobile Header Bar - Only visible on mobile */
.mobile-header-bar {
    display: none;
}

/* Mobile Categories Bar - hidden on desktop, shown on mobile via media query below */
.mobile-categories-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Show mobile header bar */
    .mobile-header-bar {
        display: block;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid var(--border-gray);
        padding: 10px 0;
    }
    
    .mobile-header-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-header-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
        min-width: 0;
    }
    
    .logo-mobile {
        flex-shrink: 0;
        max-width: 120px;
    }
    
    .logo-mobile .logo-image {
        max-width: 100%;
        height: auto;
    }
    
    .mobile-header-lang {
        display: flex !important;
        align-items: center;
        gap: 2px;
        margin-inline-start: 16px;
    }
    
    .mobile-header-lang .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 4px;
        background: none;
        border: 1px solid var(--border-gray, #e0e0e0);
        color: var(--text-gray, #666);
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
    }
    
    .mobile-header-lang .lang-btn:hover {
        color: var(--primary-black, #1a1a1a);
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    .mobile-header-lang .lang-btn.active {
        background-color: var(--primary-black, #1a1a1a);
        color: var(--white, #fff);
        border-color: var(--primary-black, #1a1a1a);
    }
    
    .menu-toggle-mobile {
        display: flex !important;
        background-color: transparent !important;
        border: none !important;
        cursor: pointer;
        padding: 8px 6px;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        gap: 6px;
        transition: background-color 0.2s ease;
    }
    
    .menu-toggle-mobile:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
    }
    
    .menu-toggle-mobile span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: #000000 !important;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform-origin: center;
        border-radius: 2px;
        opacity: 1 !important;
        visibility: visible !important;
        min-height: 3px;
    }
    
    .menu-toggle-mobile.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: #000000 !important;
    }
    
    .menu-toggle-mobile.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
        background-color: #000000 !important;
    }
    
    .menu-toggle-mobile.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: #000000 !important;
    }
    
    /* Mobile Categories Bar - hidden on mobile (highlights moved up in its place) */
    .mobile-categories-bar {
        display: none !important;
    }
    
    .mobile-categories-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .mobile-categories-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 12px;
        align-items: start;
    }
    
    .mobile-category-item {
        margin: 0;
        padding: 0;
        min-width: 0;
    }
    
    .mobile-category-title {
        display: block;
        padding: 4px 0 6px;
        font-size: 13px;
        font-weight: 600;
        color: var(--primary-black);
        text-decoration: none;
        border-top: 2px solid var(--primary-black);
        margin-bottom: 6px;
        font-family: var(--font-english);
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-category-title:hover {
        color: var(--primary-black);
    }
    
    .mobile-category-submenu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .mobile-category-submenu li {
        margin: 0;
    }
    
    .mobile-category-submenu a {
        display: block;
        padding: 3px 0 3px 10px;
        font-size: 11px;
        font-weight: 400;
        color: var(--text-gray);
        text-decoration: none;
        font-family: var(--font-english);
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
    }
    
    .mobile-category-submenu a::before {
        content: '—';
        position: absolute;
        left: 0;
        opacity: 0.6;
    }
    
    .mobile-category-submenu a:hover {
        color: var(--primary-black);
    }
    
    /* Hide horizontal dropdown on mobile */
    .nav-dropdown {
        display: none !important;
    }
    
    .header {
        border-bottom: 1px solid var(--border-gray);
    }
}

.nav-dropdown-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.nav-dropdown-container .nav-dropdown-list {
    margin-inline-start: 28px;
}

.logo-in-dropdown {
    flex-shrink: 0;
    align-self: center;
    overflow: visible;
}

.logo-in-dropdown .logo-image {
    height: 80px;
    max-width: 400px;
    transform: scale(1.18);
    transform-origin: left center;
}

.nav-dropdown-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex: 1;
}

.nav-dropdown-list li {
    margin: 0;
}

/* Navigation Section with Submenu */
.nav-section {
    position: relative;
    margin: 0 8px;
    padding-top: 6px;
    border-top: 0px solid var(--border-gray);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.nav-section:first-child {
    border-top: 0px solid var(--border-gray);
    padding-top: 10px;
}

.nav-section-title {
    display: block;
    padding: 4px 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: var(--font-english);
    text-transform: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
    border-top: 2px solid var(--primary-black);
    margin-bottom: 4px;
    position: relative;
}

.nav-section-title:hover {
    color: var(--primary-black);
}

/* Submenu */
.nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
}

.nav-submenu li {
    margin: 0;
}

.nav-submenu a {
    display: block;
    padding: 4px 15px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-family: var(--font-english);
    text-transform: none;
    letter-spacing: 0.1px;
    white-space: nowrap;
    position: relative;
    padding-left: 15px;
}

.nav-submenu a::before {
    content: '—';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-submenu a:hover {
    color: var(--primary-black);
    padding-left: 20px;
}

.nav-submenu a:hover::before {
    opacity: 1;
}

/* Dropdown Actions */
.dropdown-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.menu-toggle-in-dropdown {
    width: 30px;
    height: 24px;
    padding: 8px 6px;
    gap: 6px;
    background-color: transparent !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    cursor: pointer;
}

.menu-toggle-in-dropdown:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.menu-toggle-in-dropdown span {
    height: 3px !important;
    background-color: #000000 !important;
    width: 100% !important;
    display: block !important;
    border-radius: 2px;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 3px;
}

.menu-toggle-in-dropdown.active span:nth-child(1),
.menu-toggle-in-dropdown.active span:nth-child(3) {
    background-color: #000000 !important;
}

.menu-toggle-in-dropdown.active span:nth-child(2) {
    background-color: #000000 !important;
}

/* Social Icons (in dropdown) */
.dropdown-actions .social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 260px;
}

.dropdown-actions .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--primary-black);
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.dropdown-actions .social-icon:hover {
    color: var(--primary-black);
    opacity: 1;
}

.dropdown-actions .social-icon svg {
    width: 16px;
    height: 16px;
}

/* Footer Widgets (in dropdown) */
.dropdown-actions .footer-widgets {
    display: flex;
    align-items: center;
    gap: 12px 20px;
    flex-wrap: wrap;
}

.dropdown-actions .footer-widgets a {
    font-size: 12px;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-actions .footer-widgets a:hover {
    color: var(--primary-black);
}

.dropdown-actions .footer-widgets a.footer-download-app,
.dropdown-actions .footer-widgets button.footer-download-app {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--primary-black);
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 12px;
}
.dropdown-actions .footer-widgets a.footer-download-app:hover,
.dropdown-actions .footer-widgets button.footer-download-app:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
}
.dropdown-actions .footer-widgets a.footer-download-app::after,
.dropdown-actions .footer-widgets button.footer-download-app::after {
    content: none !important;
}
.pwa-install-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 12px 20px;
    background: var(--primary-black);
    color: var(--white);
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 9999;
}
.pwa-install-toast[hidden] { display: none !important; }

/* زر العودة لأعلى مع بروجرس التمرير */
.back-to-top {
    --progress: 0;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, transform 0.2s;
}
.back-to-top:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.back-to-top[hidden] {
    display: none !important;
}
.back-to-top-progress {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-black) 0deg,
        var(--primary-black) calc(var(--progress, 0) * 3.6deg),
        rgba(0,0,0,0.08) calc(var(--progress, 0) * 3.6deg),
        rgba(0,0,0,0.08) 360deg
    );
}
.back-to-top-progress::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--white);
}
.back-to-top-icon {
    position: relative;
    z-index: 1;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
}
[dir="rtl"] .back-to-top {
    right: auto;
    left: 24px;
}
@media (max-width: 480px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
    [dir="rtl"] .back-to-top {
        right: auto;
        left: 16px;
    }
    .back-to-top-icon svg {
        width: 20px;
        height: 20px;
    }
}

.dropdown-actions .footer-widgets a:not(:last-child)::after {
    content: '|';
    margin-inline-start: 12px;
    color: var(--accent-gray);
    font-weight: 300;
}

/* Language Switcher (in dropdown) */
.dropdown-actions .language-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    padding: 2px;
    background-color: var(--white);
}

.dropdown-actions .lang-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-english);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 32px;
    text-align: center;
}

.dropdown-actions .lang-btn:hover {
    color: var(--primary-black);
}

.dropdown-actions .lang-btn.active {
    background-color: var(--primary-black);
    color: var(--white);
    border-radius: 2px;
}


/* Search Icon (in dropdown) */
.dropdown-actions .search-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.dropdown-actions .search-icon:hover {
    color: var(--primary-black);
    opacity: 1;
}

.dropdown-actions .search-icon svg {
    width: 17px;
    height: 17px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 248px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 20px 40px;
    z-index: 999;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: top 0.3s ease;
}

.search-overlay.active {
    display: block;
}

.header.scrolled .search-overlay {
    top: 248px;
}

.search-overlay-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input-overlay {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: var(--font-english);
    color: var(--primary-black);
    background: transparent;
}

.search-input-overlay::placeholder {
    color: var(--accent-gray);
}

/* Sidebar Menu (appears when scrolled) */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: none;
    pointer-events: none;
}

.sidebar-menu.active {
    display: block !important;
    pointer-events: all;
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-menu.active .sidebar-overlay {
    opacity: 1;
}

.sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-menu.active .sidebar-content {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-gray);
    flex-shrink: 0;
}

.sidebar-header .logo a {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-black);
    text-transform: uppercase;
}

.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
}

.sidebar-close span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-black);
    position: absolute;
    transition: all 0.3s ease;
}

.sidebar-close span:nth-child(1) {
    transform: rotate(45deg);
}

.sidebar-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.sidebar-nav {
    flex: 1;
    min-height: 55vh;
    overflow-y: auto;
    padding: 10px 0;
}

.sidebar-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-section {
    border-bottom: 1px solid var(--border-gray);
    margin-bottom: 0;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section-title {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-black);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-family: var(--font-english);
    border-top: 1px solid var(--border-gray);
    position: relative;
}

.sidebar-section-title:hover {
    background-color: var(--light-gray);
}

.sidebar-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
}

.sidebar-submenu li {
    margin: 0;
}

.sidebar-submenu a {
    display: block;
    padding: 8px 20px 8px 40px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    font-family: var(--font-english);
    position: relative;
}

.sidebar-submenu a::before {
    content: '—';
    position: absolute;
    left: 20px;
    opacity: 0.5;
}

.sidebar-submenu a:hover {
    color: var(--primary-black);
    background-color: rgba(0, 0, 0, 0.05);
}

.sidebar-pages {
    padding: 15px 20px;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    flex-shrink: 0;
}

.sidebar-pages-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gray);
    margin: 0 0 12px 0;
}

.sidebar-pages-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-pages-list li {
    margin: 0;
}

.sidebar-pages-list a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-family: var(--font-english);
}

.sidebar-pages-list a:hover {
    color: var(--primary-black);
    padding-left: 8px;
}

[dir="rtl"] .sidebar-pages-list a:hover {
    padding-left: 0;
    padding-right: 8px;
}

.sidebar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 20px;
    border-top: 1px solid var(--border-gray);
    flex-shrink: 0;
}
.sidebar-actions .sidebar-download-app {
    order: -1;
    width: 100%;
    margin-bottom: 5px;
}

.sidebar-actions .social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sidebar-actions .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--primary-black);
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.sidebar-actions .social-icon:hover {
    color: var(--primary-black);
    opacity: 1;
}

.sidebar-actions .social-icon svg {
    width: 16px;
    height: 16px;
}

.sidebar-actions .language-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    padding: 2px;
    background-color: var(--white);
}

.sidebar-actions .lang-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-english);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 32px;
    text-align: center;
}

.sidebar-actions .lang-btn:hover {
    color: var(--primary-black);
}

.sidebar-actions .lang-btn.active {
    background-color: var(--primary-black);
    color: var(--white);
    border-radius: 2px;
}

.sidebar-actions .search-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.sidebar-actions .search-icon:hover {
    color: var(--primary-black);
    opacity: 1;
}

.sidebar-actions .search-icon svg {
    width: 17px;
    height: 17px;
}

/* RTL Support for Sidebar */
[dir="rtl"] .sidebar-content {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

[dir="rtl"] .sidebar-menu.active .sidebar-content {
    transform: translateX(0);
}

[dir="rtl"] .sidebar-submenu a {
    padding: 12px 50px 12px 30px;
}

[dir="rtl"] .sidebar-submenu a::before {
    left: auto;
    right: 30px;
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-gray);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-close:hover {
    color: var(--primary-black);
}

/* Highlights Slider Section */
.highlights-section {
    width: 100%;
    background-color: var(--light-gray);
    border-top: 3px solid var(--primary-black);
    border-bottom: 3px solid var(--primary-black);
    padding: 40px 0;
    overflow: hidden;
    margin-top: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.highlights-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.highlights-title {
    font-family: var(--font-english);
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[dir="rtl"] .highlights-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.highlights-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-slider {
    display: flex;
    gap: 15px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 5px;
}

.highlights-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.highlight-card {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    position: relative;
    overflow: hidden;
    background-color: var(--light-gray);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.highlight-card:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.highlight-link {
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.highlight-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.highlight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 1;
}

/* Override lazy-load opacity for above-the-fold highlight images */
.highlight-card .highlight-image {
    opacity: 1;
}

.highlight-card:hover .highlight-image {
    transform: scale(1.1);
}

.highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    padding: 15px 12px 12px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.highlight-category {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    opacity: 0.9;
    font-family: var(--font-english);
}

.highlight-title {
    font-family: var(--font-english);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.6em;
    transition: all 0.3s ease;
}

.highlight-slide:hover .highlight-title {
    -webkit-line-clamp: unset;
    max-height: none;
    overflow: visible;
}

.highlight-meta {
    font-size: 10px;
    opacity: 0.92;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-items: center;
    margin-top: 4px;
}

.highlight-meta span:nth-child(odd) {
    color: rgba(255, 255, 255, 0.98);
}

.highlight-meta .author-link {
    color: rgba(255, 255, 255, 0.98);
    text-decoration: none;
}

.highlight-meta .author-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.highlight-meta span:nth-child(even) {
    opacity: 0.65;
}

/* Desktop: Scrollable */
@media (min-width: 1025px) {
    .highlights-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .highlight-card {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

/* Tablet: Allow scrolling */
@media (min-width: 769px) and (max-width: 1024px) {
    .highlights-container {
        padding: 0 30px;
    }
    
    .highlights-title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .highlights-slider {
        gap: 14px;
    }
    
    .highlight-card {
        width: 160px;
        height: 160px;
    }
    
    .highlight-title {
        font-size: 13px;
    }
    
    .highlight-category {
        font-size: 8px;
    }
}

/* Mobile: Horizontal scrolling with hidden scrollbar - highlights below fixed header */
@media (max-width: 768px) {
    .highlights-section {
        margin-top: 120px;
        padding: 50px 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .highlights-container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .highlights-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .highlights-slider {
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .highlight-card {
        width: 150px;
        height: 150px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    .highlight-overlay {
        padding: 12px 10px 10px;
    }
    
    .highlight-title {
        font-size: 12px;
    }
    
    .highlight-category {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .highlights-section {
        padding: 50px 0;
    }
    
    .highlights-container {
        padding: 0 15px;
    }
    
    .highlights-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .highlights-slider {
        gap: 10px;
    }
    
    .highlight-card {
        width: 140px;
        height: 140px;
    }
    
    .highlight-overlay {
        padding: 10px 8px 8px;
    }
    
    .highlight-title {
        font-size: 11px;
    }
    
    .highlight-category {
        font-size: 7px;
    }
}

/* Highlight Arrow Buttons */
.highlight-arrow {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-dark) 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.highlight-arrow:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-black) 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.highlight-arrow:active {
    transform: scale(0.95);
}

.highlight-arrow svg {
    width: 20px;
    height: 20px;
}

.highlight-arrow-prev {
    order: -1;
}

.highlight-arrow-next {
    order: 1;
}

/* Hide arrows on very small screens */
@media (max-width: 480px) {
    .highlight-arrow {
        width: 35px;
        height: 35px;
    }
    
    .highlight-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Hero Carousel - Enhanced */
.hero {
    width: 100%;
    margin-top: 0;
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 60px 40px 40px;
    color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.carousel-title {
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-excerpt {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.carousel-link {
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.carousel-link:hover {
    opacity: 0.8;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: var(--white);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--white);
}

/* News Container */
.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.news-main {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Featured News */
.featured-news {
    width: 100%;
}

.featured-article {
    width: 100%;
}

.featured-link {
    display: block;
    color: inherit;
}

.featured-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: var(--light-gray);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-article:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    padding: 0;
}

.featured-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gray);
    margin-bottom: 15px;
}

.featured-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--heading-color);
    letter-spacing: -0.5px;
}

.featured-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--accent-gray);
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

/* News Cards Section */
.news-cards-section {
    width: 100%;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.news-card-link {
    display: block;
    color: inherit;
}

.news-card-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--light-gray);
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-card-content {
    padding: 0;
}

.news-card-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gray);
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--accent-gray);
    padding-top: 15px;
    border-top: 1px solid var(--border-gray);
}

/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    padding: 30px;
    background-color: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.widget-title {
    font-family: var(--font-english);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-black);
    text-transform: none;
    letter-spacing: -0.3px;
    border-bottom: 2px solid var(--primary-black);
    padding-bottom: 12px;
    display: inline-block;
    width: 100%;
}

.popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-posts li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts a {
    color: inherit;
    text-decoration: none;
}

.popular-post-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popular-post-title {
    font-family: var(--font-english);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading-color);
    transition: color 0.2s ease;
}

.popular-posts a:hover .popular-post-title {
    color: var(--hover-gray);
}

.popular-post-date {
    font-size: 13px;
    color: var(--accent-gray);
}

.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categories-list li {
    margin-bottom: 12px;
}

.categories-list a {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.categories-list a:hover {
    color: var(--primary-black);
    padding-left: 10px;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-title {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--heading-color);
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    background: none;
    border: 1px solid var(--border-gray);
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-gray);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

/* Three-Column News Homepage Layout */
.news-homepage {
    width: 100%;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Column: Secondary News Articles */
.left-column {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.column-title {
    font-family: var(--font-english);
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 16px;
    padding: 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[dir="rtl"] .column-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.secondary-article {
    margin-bottom: 0;
    padding: 16px;
    transition: background-color 0.2s ease;
}

.secondary-article:nth-child(odd) {
    background-color: #fafafa;
}

.secondary-article:nth-child(even) {
    background-color: #ffffff;
}

.secondary-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s ease;
}

.secondary-link:hover {
    opacity: 0.7;
}

.secondary-headline {
    font-family: var(--font-english);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.drop-cap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #E6B800;
    color: var(--heading-color);
    font-family: var(--font-english);
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.secondary-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 8px;
    flex-wrap: wrap;
}

.secondary-author {
    font-weight: 600;
    color: var(--primary-black);
}

.secondary-author .author-link {
    color: inherit;
}

.secondary-author .author-link:hover {
    color: var(--primary-light);
}

.secondary-sep {
    color: #c0c0c0;
    font-size: 10px;
    user-select: none;
}

.secondary-date {
    color: var(--accent-gray);
    font-weight: 500;
}

.secondary-views {
    color: var(--accent-gray);
}

.secondary-location {
    color: var(--accent-gray);
}

.article-separator {
    display: none;
}

/* Center Column: Hero News Section */
.center-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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


.center-column-title {
    font-family: var(--font-english);
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

[dir="rtl"] .center-column-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.see-more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.see-more-link:hover {
    opacity: 0.8;
}

.featured-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.featured-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--primary-black);
}

.featured-nav-btn:hover {
    background: var(--primary-blue-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.featured-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.featured-carousel-container {
    flex: 1;
    overflow: hidden;
}

.featured-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.featured-carousel-page {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-article {
    width: 100%;
}

.featured-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
}

.featured-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Full width container for subcategories after sidebars */
.subcategories-full-width {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 20px;
}

/* تميز خاص: فعاليات ومعارض — شخصيات وقادة */
.special-subcategories-section {
    width: 100%;
    max-width: 1400px;
    margin: 48px auto 0;
    padding: 0 20px;
}
.special-subcategories-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 28px 24px;
    background: linear-gradient(135deg, #f8f6f3 0%, #f0ede8 100%);
    border: 2px solid var(--primary-black);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.special-subcategory-block {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.special-subcategory-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-black);
}
.special-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-black);
    color: var(--white);
    border-radius: 6px;
}
.special-subcategory-title {
    font-family: var(--font-english);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    flex: 1;
}
[dir="rtl"] .special-subcategory-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}
.special-see-more {
    font-size: 13px;
    font-weight: 600;
}
.special-subcategory-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.special-article-card {
    margin: 0;
}
.special-article-link {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.special-article-link:hover {
    opacity: 0.85;
}
.special-article-img {
    width: 90px;
    min-width: 90px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--border-gray);
}
.special-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.special-article-body {
    flex: 1;
    min-width: 0;
}
.special-article-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
    color: var(--heading-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.special-article-date {
    font-size: 12px;
    color: var(--text-gray, #666);
}
[dir="rtl"] .special-article-link {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .special-subcategories-section {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
    .special-subcategories-inner {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    .special-subcategory-articles {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .special-subcategories-section {
        margin-top: 32px;
        padding: 0 15px;
    }
    .special-subcategories-inner {
        padding: 20px 16px;
        gap: 20px;
    }
    .special-subcategory-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .special-article-img {
        width: 72px;
        min-width: 72px;
    }
    .special-article-title {
        font-size: 13px;
    }
}

.subcategory-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-gray);
    width: 100%;
    max-width: 100%;
}

.subcategory-section:first-child {
    margin-top: 0;
    border-top: none;
}

.special-subcategories-section + .subcategories-full-width .subcategory-section:first-child {
    border-top: none;
}

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

.subcategory-title {
    font-family: var(--font-english);
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

[dir="rtl"] .subcategory-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

[dir="rtl"] .hero-headline,
[dir="rtl"] .opinion-headline {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.subcategory-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.subcategory-article {
    width: 100%;
}

.subcategory-article-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s ease;
}

.subcategory-article-link:hover {
    opacity: 0.8;
}

.subcategory-article-image {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    overflow: hidden;
    background-color: var(--light-gray);
    margin-bottom: 15px;
}

.subcategory-article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcategory-article-title {
    font-family: var(--font-english);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.subcategory-article-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--text-gray);
}

.subcategory-article-author {
    font-weight: 500;
}

.subcategory-article-author .author-link {
    color: inherit;
}

.subcategory-article-author .author-link:hover {
    color: var(--primary-light);
}

.subcategory-article-date {
    color: var(--accent-gray);
}

.subcategory-article-sep {
    color: #c0c0c0;
    font-size: 10px;
    user-select: none;
}

.subcategory-article-views {
    color: var(--accent-gray);
}

/* ========== تخطيطات مختلفة لكل قسم ========== */

/* Layout 1: خبر كبير + خبرين تحت بعض (يمين) ثم خبر رابع بالعرض كامل */
.subcategory-section.layout-hero-stack .subcategory-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 20px;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 3;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(1) .subcategory-article-image {
    padding-bottom: 75%;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(1) .subcategory-article-title {
    font-size: 19px;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(2) .subcategory-article-image,
.subcategory-section.layout-hero-stack .subcategory-article:nth-child(3) .subcategory-article-image {
    padding-bottom: 55%;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) .subcategory-article-link {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) .subcategory-article-image {
    width: 280px;
    min-width: 280px;
    padding-bottom: 0;
    height: 160px;
    margin-bottom: 0;
}

.subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) .subcategory-article-title {
    font-size: 18px;
}

/* Layout 2: Bento - شبكة 2x2 مع أول خبر أكبر */
.subcategory-section.layout-bento .subcategory-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(1) {
    grid-column: 1 / -1;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(1) .subcategory-article-link {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(1) .subcategory-article-image {
    width: 45%;
    min-width: 320px;
    padding-bottom: 0;
    height: 220px;
    margin-bottom: 0;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(1) .subcategory-article-title {
    font-size: 20px;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(2),
.subcategory-section.layout-bento .subcategory-article:nth-child(3),
.subcategory-section.layout-bento .subcategory-article:nth-child(4) {
    display: flex;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(2) .subcategory-article-link,
.subcategory-section.layout-bento .subcategory-article:nth-child(3) .subcategory-article-link,
.subcategory-section.layout-bento .subcategory-article:nth-child(4) .subcategory-article-link {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(2) .subcategory-article-image,
.subcategory-section.layout-bento .subcategory-article:nth-child(3) .subcategory-article-image,
.subcategory-section.layout-bento .subcategory-article:nth-child(4) .subcategory-article-image {
    width: 140px;
    min-width: 140px;
    padding-bottom: 0;
    height: 100px;
    margin-bottom: 0;
}

.subcategory-section.layout-bento .subcategory-article:nth-child(2) .subcategory-article-title,
.subcategory-section.layout-bento .subcategory-article:nth-child(3) .subcategory-article-title,
.subcategory-section.layout-bento .subcategory-article:nth-child(4) .subcategory-article-title {
    font-size: 15px;
}

/* Layout 3: Cards - 4 أعمدة متساوية (الافتراضي الحالي) */
.subcategory-section.layout-cards .subcategory-articles-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Layout 4: List - قائمة أفقية (صورة صغيرة يسار + محتوى) */
.subcategory-section.layout-list .subcategory-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border-gray);
}

.subcategory-section.layout-list .subcategory-article {
    border-bottom: 1px solid var(--border-gray);
}

.subcategory-section.layout-list .subcategory-article-link {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
}

.subcategory-section.layout-list .subcategory-article-image {
    width: 160px;
    min-width: 160px;
    padding-bottom: 0;
    height: 100px;
    margin-bottom: 0;
    border-radius: 6px;
    overflow: hidden;
}

.subcategory-section.layout-list .subcategory-article-title {
    font-size: 17px;
    margin-bottom: 6px;
}

.subcategory-section.layout-list .subcategory-article-meta {
    margin-top: 0;
}

/* RTL: عكس اتجاه الصورة في التخطيطات الأفقية */
[dir="rtl"] .subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) .subcategory-article-link,
[dir="rtl"] .subcategory-section.layout-bento .subcategory-article:nth-child(1) .subcategory-article-link,
[dir="rtl"] .subcategory-section.layout-bento .subcategory-article .subcategory-article-link,
[dir="rtl"] .subcategory-section.layout-list .subcategory-article-link {
    flex-direction: row-reverse;
}

/* استجابة تخطيطات الأقسام للشاشات الصغيرة */
@media (max-width: 900px) {
    .subcategory-section.layout-hero-stack .subcategory-articles-grid {
        grid-template-columns: 1fr;
    }
    .subcategory-section.layout-hero-stack .subcategory-article:nth-child(1),
    .subcategory-section.layout-hero-stack .subcategory-article:nth-child(2),
    .subcategory-section.layout-hero-stack .subcategory-article:nth-child(3),
    .subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
    }
    .subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) .subcategory-article-link {
        flex-direction: column;
        align-items: stretch;
    }
    .subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) .subcategory-article-image {
        width: 100%;
        min-width: 0;
        height: auto;
        padding-bottom: 56.25%;
    }
    [dir="rtl"] .subcategory-section.layout-hero-stack .subcategory-article:nth-child(4) .subcategory-article-link {
        flex-direction: column;
    }
    .subcategory-section.layout-bento .subcategory-article:nth-child(1) .subcategory-article-link {
        flex-direction: column;
    }
    .subcategory-section.layout-bento .subcategory-article:nth-child(1) .subcategory-article-image {
        width: 100%;
        min-width: 0;
        height: 200px;
    }
    .subcategory-section.layout-bento .subcategory-article:nth-child(2) .subcategory-article-link,
    .subcategory-section.layout-bento .subcategory-article:nth-child(3) .subcategory-article-link,
    .subcategory-section.layout-bento .subcategory-article:nth-child(4) .subcategory-article-link {
        flex-direction: column;
    }
    .subcategory-section.layout-bento .subcategory-article:nth-child(2) .subcategory-article-image,
    .subcategory-section.layout-bento .subcategory-article:nth-child(3) .subcategory-article-image,
    .subcategory-section.layout-bento .subcategory-article:nth-child(4) .subcategory-article-image {
        width: 100%;
        min-width: 0;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .subcategory-section.layout-list .subcategory-article-link {
        flex-direction: column !important;
        align-items: flex-start;
    }
    .subcategory-section.layout-list .subcategory-article-image {
        width: 100% !important;
        min-width: 0 !important;
        height: 180px !important;
    }
}

/* ========== تخطيطات الأقسام الجديدة (من أول subcategories) ========== */

/* Layout 1: عمود 5 عناوين | 4 أخبار صورة+عنوان+ملخص | 4 أخبار عنوان+ملخص */
.subcategory-section.layout-1-three-cols .sub-layout-1 {
    display: grid;
    grid-template-columns: 1fr 2fr 1.2fr;
    gap: 24px;
    align-items: start;
}

.sub-l1-col-titles {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-inline-end: 16px;
    border-inline-end: 2px solid var(--border-gray);
}

.sub-l1-title-item {
    font-family: var(--font-english);
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.4;
    transition: color 0.2s;
}

.sub-l1-title-item:hover {
    color: var(--primary-light);
}

[dir="rtl"] .sub-l1-title-item {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l1-col-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 16px;
}

.sub-l1-card-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s;
}

.sub-l1-card-link:hover {
    opacity: 0.85;
}

.sub-l1-card-img {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
    background: var(--light-gray);
    margin-bottom: 10px;
}

.sub-l1-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l1-card-title {
    font-family: var(--font-english);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

[dir="rtl"] .sub-l1-card-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l1-card-excerpt {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-l1-col-summaries {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-l1-summary-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s;
}

.sub-l1-summary-link:hover {
    opacity: 0.85;
}

.sub-l1-summary-title {
    font-family: var(--font-english);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

[dir="rtl"] .sub-l1-summary-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l1-summary-excerpt {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Layout 2: صورة كبيرة نص العرض + 3 أخبار صغيرة */
.subcategory-section.layout-2-big-small .sub-layout-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.sub-l2-big-img {
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--light-gray);
    margin-bottom: 14px;
    position: relative;
}

.sub-l2-big-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l2-big-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s;
}

.sub-l2-big-link:hover {
    opacity: 0.9;
}

.sub-l2-big-title {
    font-family: var(--font-english);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

[dir="rtl"] .sub-l2-big-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l2-big-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-l2-small {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-l2-small-link {
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--heading-color);
    transition: opacity 0.2s;
}

.sub-l2-small-link:hover {
    opacity: 0.85;
}

[dir="rtl"] .sub-l2-small-link {
    flex-direction: row-reverse;
}

.sub-l2-small-img {
    width: 120px;
    min-width: 120px;
    height: 80px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
}

.sub-l2-small-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l2-small-title {
    font-family: var(--font-english);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    flex: 1;
}

[dir="rtl"] .sub-l2-small-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

/* Layout 3: يسار 6 عناوين | يمين خبر كبير + 4 صغيرين */
.subcategory-section.layout-3-left-right .sub-layout-3 {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: start;
}

[dir="rtl"] .subcategory-section.layout-3-left-right .sub-layout-3 {
    direction: ltr;
}

.sub-l3-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-inline-end: 20px;
    border-inline-end: 2px solid var(--border-gray);
}

.sub-l3-title-item {
    font-family: var(--font-english);
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.4;
    transition: color 0.2s;
}

.sub-l3-title-item:hover {
    color: var(--primary-light);
}

[dir="rtl"] .sub-l3-title-item {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l3-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-l3-big-img {
    width: 100%;
    padding-bottom: 55%;
    overflow: hidden;
    background: var(--light-gray);
    margin-bottom: 12px;
    position: relative;
}

.sub-l3-big-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l3-big-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s;
}

.sub-l3-big-link:hover {
    opacity: 0.9;
}

.sub-l3-big-title {
    font-family: var(--font-english);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}

[dir="rtl"] .sub-l3-big-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l3-big-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-l3-small-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-l3-small-link {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--heading-color);
    transition: opacity 0.2s;
}

.sub-l3-small-link:hover {
    opacity: 0.85;
}

[dir="rtl"] .sub-l3-small-link {
    flex-direction: row-reverse;
}

.sub-l3-small-img {
    width: 100px;
    min-width: 100px;
    height: 68px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
}

.sub-l3-small-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l3-small-title {
    font-family: var(--font-english);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    flex: 1;
}

[dir="rtl"] .sub-l3-small-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

/* Layout 4: شبكة 4×2 */
.subcategory-section.layout-4-grid .sub-layout-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sub-l4-card-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s;
}

.sub-l4-card-link:hover {
    opacity: 0.9;
}

.sub-l4-card-img {
    width: 100%;
    padding-bottom: 66.67%;
    overflow: hidden;
    background: var(--light-gray);
    margin-bottom: 12px;
    position: relative;
}

.sub-l4-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l4-card-title {
    font-family: var(--font-english);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

[dir="rtl"] .sub-l4-card-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l4-card-excerpt {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Layout 5: Magazine احترافي */
.subcategory-section.layout-5-magazine .sub-layout-5 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
}

.sub-l5-cover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sub-l5-cover-link {
    display: block;
    color: var(--heading-color);
    transition: transform 0.2s;
}

.sub-l5-cover-link:hover {
    transform: scale(1.01);
}

.sub-l5-cover-img {
    width: 100%;
    padding-bottom: 70%;
    overflow: hidden;
    background: var(--light-gray);
    position: relative;
}

.sub-l5-cover-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l5-cover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(15,23,42,0.92));
    color: #fff;
}

.sub-l5-cover-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    opacity: 0.9;
}

.sub-l5-cover-title {
    font-family: var(--font-english);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

[dir="rtl"] .sub-l5-cover-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l5-cover-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-l5-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
}

.sub-l5-item-link {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    color: var(--heading-color);
    transition: background 0.2s;
    border-bottom: 1px solid var(--light-gray);
}

.sub-l5-item:last-child .sub-l5-item-link {
    border-bottom: none;
}

.sub-l5-item-link:hover {
    background: var(--light-gray);
}

[dir="rtl"] .sub-l5-item-link {
    flex-direction: row-reverse;
}

.sub-l5-item-img {
    width: 100px;
    min-width: 100px;
    height: 70px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
    border-radius: 4px;
}

.sub-l5-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-l5-item-text {
    flex: 1;
    min-width: 0;
}

.sub-l5-item-title {
    font-family: var(--font-english);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

[dir="rtl"] .sub-l5-item-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.sub-l5-item-date {
    font-size: 12px;
    color: var(--accent-gray);
}

/* Responsive: تخطيطات الأقسام الجديدة */
@media (max-width: 1100px) {
    .subcategory-section.layout-1-three-cols .sub-layout-1 {
        grid-template-columns: 1fr 1fr;
    }
    .sub-l1-col-titles {
        grid-column: 1 / -1;
        border-inline-end: none;
        border-bottom: 2px solid var(--border-gray);
        padding-inline-end: 0;
        padding-bottom: 16px;
    }
    .subcategory-section.layout-2-big-small .sub-layout-2 {
        grid-template-columns: 1fr;
    }
    .subcategory-section.layout-3-left-right .sub-layout-3 {
        grid-template-columns: 1fr;
    }
    .sub-l3-left {
        border-inline-end: none;
        border-bottom: 2px solid var(--border-gray);
        padding-inline-end: 0;
        padding-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .subcategory-section.layout-1-three-cols .sub-layout-1 {
        grid-template-columns: 1fr;
    }
    .sub-l1-col-titles {
        flex-direction: column;
    }
    .sub-l1-col-images {
        grid-template-columns: 1fr;
    }
    .subcategory-section.layout-4-grid .sub-layout-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .subcategory-section.layout-5-magazine .sub-layout-5 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .subcategory-section.layout-4-grid .sub-layout-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-homepage {
        padding: 16px 10px;
    }
    .subcategories-full-width {
        padding: 0 10px;
    }
    .hero-headline {
        font-size: 22px;
    }
    .hero-description {
        font-size: 15px;
    }
    .article-page {
        padding-top: 160px;
    }
    .article-page-container {
        padding: 24px 12px 40px;
    }
}

.hero-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s ease;
}

.hero-link:hover {
    opacity: 0.95;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%; /* Compact aspect ratio */
    overflow: hidden;
    background-color: var(--light-gray);
    margin-bottom: 0;
    border-radius: 8px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
    z-index: 2;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.hero-headline {
    font-family: var(--font-english);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-headline .drop-cap {
    width: 50px;
    height: 50px;
    font-size: 36px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-gray);
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.hero-content {
    padding: 12px 0 0;
}

.hero-category {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 4px;
}

.hero-title {
    font-family: var(--font-english);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
    margin: 0 0 8px 0;
}

[dir="rtl"] .hero-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.hero-summary {
    font-family: var(--font-english);
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-gray);
    margin: 0 0 8px 0;
}

[dir="rtl"] .hero-summary {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.hero-meta {
    font-size: 13px;
    color: var(--accent-gray);
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-author {
    font-weight: 600;
    color: var(--primary-black);
}

.hero-author .author-link {
    color: inherit;
}

.hero-author .author-link:hover {
    color: var(--primary-light);
}

.hero-sep {
    color: #c0c0c0;
    font-size: 10px;
    user-select: none;
}

.hero-date {
    color: var(--accent-gray);
    font-weight: 500;
}

.hero-views {
    color: var(--accent-gray);
}

/* Right Column: Analysis & Opinion Sidebar */
.right-column {
    display: flex;
    flex-direction: column;
}

.ad-sidebar-square {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 24px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.ad-sidebar-square img {
    width: 100%;
    height: auto;
    display: block;
}

.opinion-article {
    margin-bottom: 0;
    padding: 16px;
    transition: background-color 0.2s ease;
}

.opinion-article:nth-child(odd) {
    background-color: #fafafa;
}

.opinion-article:nth-child(even) {
    background-color: #ffffff;
}

.opinion-link {
    display: block;
    color: var(--heading-color);
    transition: opacity 0.2s ease;
}

.opinion-link:hover {
    opacity: 0.7;
}

.opinion-headline {
    font-family: var(--font-english);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading-color);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.opinion-headline .drop-cap {
    width: 28px;
    height: 28px;
    font-size: 18px;
}

.opinion-meta {
    font-size: 11px;
    color: var(--accent-gray);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.opinion-author {
    font-weight: 600;
    color: var(--primary-black);
}

.opinion-author .author-link {
    color: inherit;
}

.opinion-author .author-link:hover {
    color: var(--primary-light);
}

.opinion-sep {
    color: #c0c0c0;
    font-size: 10px;
    user-select: none;
}

.opinion-date {
    color: var(--accent-gray);
    font-weight: 500;
}

.opinion-views {
    color: var(--accent-gray);
}

/* Chart/Graphic Widget */
.chart-widget {
    margin: 20px 0;
}

.chart-title {
    font-family: var(--font-english);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.chart-placeholder {
    width: 100%;
    background-color: var(--light-gray);
    border: 1px solid var(--border-gray);
    margin-bottom: 12px;
}

.chart-caption {
    font-size: 12px;
    color: var(--accent-gray);
    line-height: 1.5;
    font-style: italic;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.article-card {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-card.hidden {
    display: none;
}

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

.article-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--light-gray);
}

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

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

.article-content {
    padding: 0;
}

.article-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gray);
    margin-bottom: 10px;
}

.article-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.35;
    color: var(--heading-color);
}

.article-excerpt {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--accent-gray);
    padding-top: 15px;
    border-top: 1px solid var(--border-gray);
}

/* Simple Article Page Styles - direction from html[dir] so layout flips with language */
.article-page {
    background-color: #ffffff;
    min-height: 100vh;
    padding-top: 300px;
    width: 100%;
}

.article-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-areas: "article-area sidebar-area";
    gap: 50px;
    align-items: start;
    direction: inherit;
    width: 100%;
    box-sizing: border-box;
}

.article-content-wrapper {
    grid-area: article-area;
    max-width: 800px;
    background-color: #ffffff;
    min-width: 0;
}

.article-sidebar-slider {
    grid-area: sidebar-area;
}

/* موبايل: صفحة المقال بعرض الشاشة كامل - أولاً هنا لضمان التطبيق */
@media (max-width: 768px) {
    .article-page {
        padding-top: 200px;
        max-width: 100%;
    }
    .article-page-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 10px 40px !important;
        grid-template-columns: unset !important;
        grid-template-areas: unset !important;
    }
    .article-page-container .article-sidebar-slider {
        display: none !important;
    }
    .article-page-container .article-content-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Article Breadcrumb */
.article-breadcrumb {
    font-size: 13px;
    color: var(--accent-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.article-breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: var(--primary-black);
}

.breadcrumb-sep {
    color: var(--accent-gray);
    user-select: none;
}

.breadcrumb-current {
    color: var(--primary-black);
    font-weight: 500;
}

/* Section Page Breadcrumb */
.section-breadcrumb {
    font-size: 13px;
    color: var(--accent-gray);
    margin-bottom: 15px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.section-breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-breadcrumb a:hover {
    color: var(--primary-black);
}

.section-breadcrumb .breadcrumb-sep {
    color: var(--accent-gray);
}

.section-breadcrumb .breadcrumb-current {
    color: var(--primary-black);
}

/* Article Headline - Large and Bold */
.article-headline {
    font-family: 'Droid Arabic Kufi', 'Arial', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 20px 0;
    color: var(--heading-color);
    text-align: start;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

[dir="ltr"] .article-headline {
    font-family: var(--font-english);
}

/* Article Meta Info - Author + Date/Time + Views (inside article only) */
.article-meta-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
    color: var(--accent-gray);
    text-align: start;
    flex-wrap: wrap;
}

.article-writer {
    font-weight: 600;
    color: var(--primary-black);
}

.author-link {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.meta-separator {
    color: #b0b0b0;
    font-weight: 300;
    user-select: none;
}

.article-publish-date {
    color: var(--accent-gray);
    font-weight: 500;
}

/* Featured Image - Full Width */
.article-featured-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 35px;
    overflow: hidden;
}

.article-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Social Share + Ad Row */
.article-share-ad-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.article-share-ad-slot {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-share-beside {
    min-width: 280px;
    max-width: 320px;
    min-height: 90px;
    max-height: 100px;
    background: var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-share-beside img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ad-share-beside .ad-placeholder {
    width: 100%;
    min-height: 90px;
    max-height: 100px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--accent-gray);
}

/* Social Share Buttons */
.article-share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: start;
}

.share-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin-inline-start: 15px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

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

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

.share-x {
    background-color: var(--primary-black);
}

.share-button svg {
    width: 22px;
    height: 22px;
}

/* Article Body Text - Comfortable Reading Width */
.article-body-text {
    font-family: 'Droid Arabic Kufi', 'Arial', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-gray);
    text-align: start;
    max-width: 100%;
    margin: 0 auto;
}

[dir="ltr"] .article-body-text {
    font-family: var(--font-english);
}

.article-body-text p {
    margin: 0 0 24px 0;
    text-align: justify;
    text-align-last: start;
}

.article-body-text h2 {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 32px 0 14px 0;
    color: var(--heading-color);
    text-align: start;
}

[dir="ltr"] .article-body-text h2 {
    font-family: var(--font-english);
}

.article-body-text h3 {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 28px 0 12px 0;
    color: var(--heading-color);
    text-align: start;
}

[dir="ltr"] .article-body-text h3 {
    font-family: var(--font-english);
}

.article-body-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
    border-radius: 8px;
}

.article-body-text .ql-align-left img { margin-left: 0; margin-right: auto; }
.article-body-text .ql-align-right img { margin-left: auto; margin-right: 0; }
.article-body-text .ql-align-center img { margin-left: auto; margin-right: auto; }

/* Legacy styles - kept for compatibility */
.article-content-main {
    font-family: var(--font-english);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-gray);
    text-align: start;
}

[dir="rtl"] .article-content-main {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.article-content-main p {
    margin-bottom: 28px;
    font-weight: 400;
    text-align: justify;
    text-align-last: start;
}

.article-content-main h2 {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 36px;
    margin-bottom: 14px;
    color: var(--heading-color);
    text-align: start;
}

[dir="ltr"] .article-content-main h2 {
    font-family: var(--font-english);
}

.article-content-main h3 {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--heading-color);
    text-align: start;
}

[dir="ltr"] .article-content-main h3 {
    font-family: var(--font-english);
}

.article-content-main img {
    width: 100%;
    margin: 50px 0;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-content-main img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-top: 35px;
    border-top: 2px solid var(--border-gray);
}

.tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--light-gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-gray);
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag:hover {
    background-color: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
    transform: translateY(-2px);
}

/* Article Social Share */
.article-social-share {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 35px 0;
    padding: 25px 0;
    border-top: 2px solid var(--border-gray);
    border-bottom: 2px solid var(--border-gray);
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

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

.share-btn:hover {
    transform: translateY(-4px) scale(1.05);
    opacity: 0.95;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* Article Highlight */
.article-highlight {
    margin: 50px 0;
}

.highlight-quote {
    margin: 0;
    padding: 50px 45px;
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    border-left: 5px solid var(--primary-light);
    position: relative;
    border-radius: 4px;
}

.highlight-quote::before {
    content: '"';
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 120px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--font-english);
    font-weight: 700;
}

.highlight-quote p {
    font-family: var(--font-english);
    font-size: 28px;
    line-height: 1.5;
    font-style: italic;
    color: var(--white);
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: -0.3px;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-widget .widget-title {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 15px;
}

.newsletter-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
    font-family: var(--font-english);
    border-radius: 2px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 12px 20px;
    background-color: var(--white);
    color: var(--primary-black);
    border: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: var(--font-english);
}

.newsletter-btn:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

/* Comments Section */
.comments-section {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 60px 20px;
    border-top: 2px solid var(--border-gray);
    background-color: var(--white);
}

.comments-title {
    font-family: var(--font-english);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 45px;
    letter-spacing: -1px;
    color: var(--heading-color);
}

.comments-container {
    max-width: 800px;
}

.comment-form-wrapper {
    margin-bottom: 50px;
    padding: 40px;
    background-color: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-gray);
    font-size: 14px;
    font-family: var(--font-english);
    color: var(--primary-black);
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-submit-btn {
    padding: 14px 35px;
    background-color: var(--primary-black);
    color: var(--white);
    border: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: var(--font-english);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.comment-submit-btn:hover {
    background-color: var(--hover-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-gray);
    background-color: var(--light-gray);
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.comment-item:hover {
    background-color: #fafafa;
    transform: translateX(5px);
}

.comment-item:last-child {
    border-bottom: 2px solid var(--border-gray);
    padding-bottom: 25px;
    margin-bottom: 0;
}

.comment-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 500;
    color: var(--primary-black);
    font-size: 15px;
}

.comment-date {
    font-size: 13px;
    color: var(--accent-gray);
}

.comment-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.comment-reply {
    background: none;
    border: none;
    color: var(--primary-black);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.comment-reply:hover {
    color: var(--hover-gray);
}

/* Related Articles - Modern Professional Style */
.related-articles {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid #e4e6eb;
    position: relative;
}

.related-articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

.related-articles .container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-articles h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 16px;
    border-bottom: 2px solid #e4e6eb;
}

.related-articles h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary-black);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.related-articles .article-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e4e6eb;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-articles .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-black), #666);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.related-articles .article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-black);
}

.related-articles .article-card:hover::before {
    transform: scaleX(1);
}

.related-articles .article-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e6eb 100%);
    position: relative;
}

.related-articles .article-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.related-articles .article-card:hover .article-image-wrapper::after {
    opacity: 1;
}

.related-articles .article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-articles .article-card:hover .article-image {
    transform: scale(1.1);
}

.related-articles .article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-articles .article-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #65676b;
    margin-bottom: 12px;
    font-weight: 600;
}

.related-articles .article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.related-articles .article-card:hover .article-title {
    color: var(--heading-color);
}

.related-articles .article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #65676b;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
    margin-top: auto;
}

.related-articles .article-author {
    font-weight: 600;
    color: #050505;
}

.related-articles .article-author .author-link {
    color: inherit;
}

.related-articles .article-author .author-link:hover {
    color: var(--primary-light);
}

.related-articles .article-date {
    color: #65676b;
    font-weight: 500;
}

.related-articles .article-views-count {
    color: #65676b;
}

/* Footer */
.footer {
    background-color: var(--white);
    margin-top: 80px;
    position: relative;
    z-index: 100;
}

.footer.header {
    position: relative;
}

.footer-nav-dropdown {
    border-top: 1px solid var(--border-gray);
}

.footer-nav-sections .nav-dropdown-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
}

.footer-nav-sections .nav-section {
    flex: 1;
    margin: 0 10px;
    padding-top: 10px;
    border-top: 0px solid var(--border-gray);
}

.footer-nav-sections .nav-section:first-child {
    border-top: none;
    padding-top: 0;
}

.footer-nav-sections .nav-section-title {
    border-top: 0px solid var(--primary-black);
    margin-bottom: 6px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.footer-nav-sections .nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-nav-sections .nav-submenu a {
    padding: 8px 15px;
    font-size: 12px;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    position: relative;
    padding-left: 25px;
}

.footer-nav-sections .nav-submenu a::before {
    content: '—';
    position: absolute;
    left: 10px;
    color: var(--accent-gray);
}

.footer-nav-sections .nav-submenu a:hover {
    color: var(--primary-black);
}

.footer-nav-sections .dropdown-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Ad Banner - responsive on mobile */
    .ad-banner {
        min-height: 60px;
    }

    .ad-banner-content {
        padding: 0 16px;
        min-width: 0;
    }

    .ad-banner-content > *,
    .ad-banner-content > a {
        max-width: 100%;
    }

    .ad-banner-link {
        max-width: 100%;
    }

    .ad-placeholder {
        max-width: 100%;
        height: 60px;
        font-size: 10px;
    }

    /* Navigation Header */
    .nav-container {
        padding: 0 20px;
        height: 60px;
    }

    .logo a {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .logo-image {
        height: 70px;
        max-width: 280px;
        transform: scale(1.18);
        transform-origin: left center;
    }

    /* Center Navigation - Hide on mobile, show in dropdown */
    .nav {
        display: none;
    }


    /* Dropdown Menu - Hidden on mobile, sidebar only */
    .nav-dropdown {
        display: none !important;
    }
    
    .nav-dropdown-container {
        padding: 0 20px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .logo-in-dropdown {
        flex-shrink: 0;
    }

    .nav-dropdown-list {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        flex: 1;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-dropdown-list::-webkit-scrollbar {
        display: none;
    }

    .nav-section {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-gray);
        border-top: 0px solid var(--border-gray);
        padding: 6px 0;
    }

    .nav-section:first-child {
        border-top: none;
    }

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

    .nav-section-title {
        padding: 0;
        margin-bottom: 4px;
        font-size: 14px;
        border-bottom: none;
    }

    .nav-submenu {
        min-width: 100%;
        padding-left: 0;
    }

    .nav-submenu a {
        padding: 4px 0 4px 20px;
        font-size: 12px;
    }

    .nav-submenu a:hover {
        padding-left: 22px;
    }

    .dropdown-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        padding-top: 6px;
        margin-top: 4px;
    }

    /* Search Overlay */
    .search-overlay {
        top: 200px;
        padding: 15px 20px;
    }

    /* Sidebar Menu on Mobile */
    .sidebar-content {
        width: 100%;
        max-width: 100%;
    }

    .sidebar-header {
        padding: 15px 20px;
    }

    .sidebar-section-title {
        padding: 15px 20px;
        font-size: 15px;
    }

    .sidebar-submenu a {
        padding: 12px 20px 12px 40px;
    }

    .sidebar-submenu a::before {
        left: 20px;
    }

    .sidebar-actions {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Three-Column News Layout - Mobile */
    .news-homepage {
        padding: 20px 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* ترتيب الأعمدة على الموبايل: المقال المميز أولاً ثم آخر التحديثات ثم التحليل */
    .news-grid .center-column,
    .news-grid .left-column,
    .news-grid .right-column {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .news-grid .center-column {
        order: 1;
    }
    .news-grid .left-column {
        order: 2;
    }
    .news-grid .right-column {
        order: 3;
    }

    .subcategories-full-width {
        padding: 0 12px;
        margin-top: 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .subcategory-section {
        max-width: 100%;
        min-width: 0;
    }

    .column-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .secondary-headline {
        font-size: 16px;
    }

    .secondary-headline .drop-cap {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .hero-headline .drop-cap {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .opinion-headline {
        font-size: 15px;
    }

    .opinion-headline .drop-cap {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    
    /* Center Column Mobile */
    .center-column {
        gap: 30px;
    }
    
    .center-column-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .center-column-title {
        font-size: 22px;
    }
    
    .featured-articles-single .hero-article {
        max-width: 100%;
    }
    
    .subcategory-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    @media (max-width: 480px) {
        .subcategory-articles-grid {
            grid-template-columns: 1fr;
        }
    }
    
    .subcategory-section {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .subcategory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .subcategory-title {
        font-size: 20px;
    }
    
    .subcategory-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .play-button svg {
        width: 50px;
        height: 50px;
    }

    .news-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .news-sidebar {
        position: static;
    }

    .news-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .featured-title {
        font-size: 32px;
    }

    .featured-image-wrapper {
        height: 350px;
    }


    .hero {
        height: 400px;
        margin-top: 0;
    }

    /* Three-Column News Layout - Tablet */
    @media (min-width: 769px) and (max-width: 1024px) {
        .news-grid {
            grid-template-columns: 1fr 1.5fr 1fr;
            gap: 30px;
        }

        .hero-headline {
            font-size: 32px;
        }

        .secondary-headline {
            font-size: 17px;
        }

        .opinion-headline {
            font-size: 15px;
        }
    }

    .carousel-content {
        padding: 40px 20px 30px;
    }

    .carousel-title {
        font-size: 32px;
    }

    .carousel-excerpt {
        font-size: 16px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-title-main {
        font-size: 28px;
    }

.article-content-main {
    font-size: 17px;
}

.article-content-main h2 {
    font-size: 28px;
    margin-top: 40px;
}

.article-content-main h3 {
    font-size: 22px;
    margin-top: 35px;
}

    .related-articles {
        padding: 60px 15px;
        margin-top: 60px;
    }

    .related-articles h3 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .related-articles .article-image-wrapper {
        height: 200px;
    }

    .related-articles .article-content {
        padding: 20px;
    }

    .article-header {
        margin-top: 0;
    }

    /* Footer Navigation - Mobile */
    .footer-nav-container {
        padding: 0 20px;
    }

    .footer-nav-sections .nav-dropdown-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .footer-nav-sections .nav-section {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-gray);
        border-top: 0px solid var(--border-gray);
        padding: 12px 0;
    }

    .footer-nav-sections .nav-section:first-child {
        border-top: none;
        padding-top: 12px;
    }

    .footer-nav-sections .nav-section:last-child {
        border-bottom: none;
    }

    .footer-nav-sections .nav-section-title {
        padding: 0;
        margin-bottom: 8px;
        font-size: 16px;
        border-top: none;
    }

    .footer-nav-sections .nav-submenu {
        min-width: 100%;
        padding-left: 0;
    }

    .footer-nav-sections .nav-submenu a {
        padding: 8px 0 8px 20px;
        font-size: 14px;
    }

    .footer-nav-sections .nav-submenu a:hover {
        padding-left: 25px;
    }

    .footer-nav-sections .dropdown-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    /* Ad Banner - compact on small screens */
    .ad-banner {
        min-height: 50px;
    }

    .ad-banner-content {
        padding: 0 12px;
    }

    .ad-placeholder {
        height: 50px;
        font-size: 9px;
    }

    /* Navigation Header */
    .nav-container {
        padding: 0 15px;
        height: 56px;
    }

    .logo a {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
    
    .logo-image {
        height: 58px;
        max-width: 240px;
        transform: scale(1.18);
        transform-origin: left center;
    }

    /* Dropdown */
    .nav-dropdown-container {
        padding: 0 15px;
        flex-direction: row;
        gap: 10px;
    }
    
    .logo-in-dropdown {
        flex-shrink: 0;
    }
    
    .logo-in-dropdown a {
        font-size: 11px;
    }

    .nav-dropdown-list a {
        font-size: 14px;
    }

    /* Sidebar Menu on Small Mobile */
    .sidebar-header {
        padding: 12px 15px;
    }

    .sidebar-section-title {
        padding: 12px 15px;
        font-size: 14px;
    }

    .sidebar-submenu a {
        padding: 10px 15px 10px 35px;
        font-size: 13px;
    }

    .sidebar-submenu a::before {
        left: 15px;
    }

    .sidebar-actions {
        padding: 12px 15px;
        gap: 12px;
    }

    /* Search Overlay */
    .search-overlay {
        top: 180px;
        padding: 12px 15px;
    }

    .carousel-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-header {
        height: 400px;
    }
    
    .article-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 20px 40px;
        margin-top: -80px;
    }

    .article-title-main {
        font-size: 26px;
    }
    
    /* Simple Article Page - Responsive: المقالة بعرض الشاشة كامل على الموبايل */
    .article-page {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        padding-top: 200px;
        box-sizing: border-box;
    }
    .article-page-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-areas: none !important;
        gap: 24px;
        padding: 16px 12px 50px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
    }
    
    /* على الموبايل: إخفاء أهم الأخبار - تبقى المقالة والباقي فقط */
    .article-page-container .article-sidebar-slider {
        display: none !important;
    }
    
    .article-page-container .article-content-wrapper {
        padding: 0;
        max-width: none !important;
        min-width: 0;
        width: 100% !important;
        flex: 1 1 auto;
        box-sizing: border-box;
    }
    
    /* نص المقالة بعرض كامل على الموبايل */
    .article-page .article-content-wrapper .article-breadcrumb,
    .article-page .article-content-wrapper .article-headline,
    .article-page .article-content-wrapper .article-meta-info,
    .article-page .article-content-wrapper .article-featured-image,
    .article-page .article-content-wrapper .article-share-ad-row,
    .article-page .article-content-wrapper .article-body-text,
    .article-page .article-content-wrapper .article-content-main {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .article-page .article-content-wrapper .article-featured-image img,
    .article-page .article-content-wrapper .article-body-text img,
    .article-page .article-content-wrapper .article-body-text p,
    .article-page .article-content-wrapper .article-body-text h2,
    .article-page .article-content-wrapper .article-body-text h3,
    .article-page .article-content-wrapper .article-body-text ul,
    .article-page .article-content-wrapper .article-body-text ol,
    .article-page .article-content-wrapper .article-body-text blockquote,
    .article-page .article-content-wrapper .article-body-text div {
        max-width: 100% !important;
    }
    .article-body-text,
    .article-content-main {
        max-width: 100% !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .article-body-text img,
    .article-content-main img {
        max-width: 100% !important;
        height: auto;
    }

    .article-share-ad-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .article-share-ad-slot {
        width: 100%;
    }

    .ad-share-beside {
        min-width: 100%;
        max-width: 100%;
    }
    
    .article-headline {
        font-size: 28px;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .article-meta-info {
        font-size: 13px;
        margin-bottom: 25px;
        padding-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .meta-separator {
        display: none;
    }
    
    .article-share-buttons {
        margin-bottom: 30px;
        padding: 15px 0;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .share-button {
        width: 38px;
        height: 38px;
    }
    
    .share-button svg {
        width: 20px;
        height: 20px;
    }
    
    .article-body-text {
        font-size: 16px;
        line-height: 1.75;
    }
    
    .article-body-text p {
        margin-bottom: 20px;
    }
    
    .article-body-text h2 {
        font-size: 20px;
        margin: 26px 0 12px 0;
    }
    
    .article-body-text h3 {
        font-size: 17px;
        margin: 22px 0 10px 0;
    }
}

/* Mobile - Extra Small */
@media (max-width: 480px) {
    .article-content-wrapper {
        padding: 25px 12px 40px;
    }
    
    .article-headline {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 16px;
    }
    
    .article-meta-info {
        font-size: 12px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .article-share-buttons {
        margin-bottom: 25px;
        padding: 12px 0;
        gap: 10px;
    }
    
    .share-title {
        width: 100%;
        margin-bottom: 10px;
        margin-left: 0;
    }
    
    .share-button {
        width: 36px;
        height: 36px;
    }
    
    .share-button svg {
        width: 18px;
        height: 18px;
    }
    
    .article-body-text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .article-body-text p {
        margin-bottom: 18px;
    }
    
    .article-body-text h2 {
        font-size: 18px;
        margin: 22px 0 10px 0;
    }
    
    .article-body-text h3 {
        font-size: 16px;
        margin: 18px 0 8px 0;
    }
    
    .article-sidebar-slider {
        margin-top: 20px;
        position: static !important;
        max-height: none;
        padding: 25px 20px;
        border-width: 1px;
        width: 100%;
    }
    
    .sidebar-slider-title {
        font-size: 22px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .news-slider-container {
        height: auto;
        max-height: none;
        padding: 3px;
    }
    
    .news-slider-track {
        height: auto;
        transform: none !important;
        gap: 20px;
    }
    
    .news-slide-item {
        height: auto;
    }
    
    .news-slide-image {
        height: 180px;
    }
    
    .news-slide-content {
        padding: 12px;
    }
    
    .news-slide-title {
        font-size: 15px;
    }
    
    .news-slider-controls {
        margin-top: 20px;
        gap: 15px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .article-sidebar-slider {
        padding: 20px 15px;
        border-width: 1px;
    }
    
    .sidebar-slider-title {
        font-size: 20px;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom-width: 2px;
    }
    
    .news-slider-container {
        padding: 3px;
    }
    
    .news-slider-track {
        gap: 18px;
    }
    
    .news-slide-image {
        height: 160px;
    }
    
    .news-slide-content {
        padding: 10px;
    }
    
    .news-slide-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .news-slide-date {
        font-size: 12px;
    }
    
    .news-slider-controls {
        padding-top: 20px;
        gap: 12px;
    }
    
    .slider-arrow {
        width: 38px;
        height: 38px;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* About Page Styles */
.about-page {
    direction: rtl;
    background-color: #ffffff;
    min-height: 100vh;
    padding: 60px 20px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 40px 0;
    color: var(--heading-color);
    text-align: right;
}

.about-intro {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.about-intro-text {
    font-family: 'Droid Arabic Kufi', 'Arial', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: right;
    margin: 0;
}

.about-section {
    margin-bottom: 50px;
}

.about-section-title {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 20px 0;
    color: var(--heading-color);
    text-align: right;
}

.about-section-text {
    font-family: 'Droid Arabic Kufi', 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: right;
    margin: 0 0 20px 0;
    text-align: justify;
    text-align-last: right;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.about-value-item {
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-value-title {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--heading-color);
    text-align: right;
}

.about-value-text {
    font-family: 'Droid Arabic Kufi', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    text-align: right;
    margin: 0;
}

.about-contact-info {
    margin-top: 25px;
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.about-contact-info p {
    font-family: 'Droid Arabic Kufi', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0 0 12px 0;
    text-align: right;
}

.about-contact-info p:last-child {
    margin-bottom: 0;
}

.about-contact-info strong {
    color: var(--primary-black);
    font-weight: 600;
}

.about-contact-info a {
    color: var(--primary-black);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-black);
    transition: opacity 0.2s ease;
}

.about-contact-info a:hover {
    opacity: 0.7;
}

/* محتوى الصفحات القابل للتعديل من لوحة التحكم (من نحن / الخصوصية) */
.page-custom-content {
    line-height: 1.7;
}
.page-custom-content h1 { font-size: 2rem; margin: 0 0 1rem; font-weight: 600; }
.page-custom-content h2 { font-size: 1.35rem; margin: 1.5rem 0 0.75rem; font-weight: 600; }
.page-custom-content h3, .page-custom-content h4 { font-size: 1.15rem; margin: 1.25rem 0 0.5rem; font-weight: 600; }
.page-custom-content p { margin: 0 0 1rem; }
.page-custom-content ul, .page-custom-content ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.page-custom-content li { margin-bottom: 0.35rem; }
.page-custom-content a { color: var(--primary-black); text-decoration: underline; }
.page-custom-content a:hover { opacity: 0.8; }
[dir="rtl"] .page-custom-content ul, [dir="rtl"] .page-custom-content ol { padding-left: 0; padding-right: 1.5rem; }

/* About Page - Responsive */
@media (max-width: 768px) {
    .about-page {
        padding: 40px 15px;
    }
    
    .about-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .about-intro {
        margin-bottom: 40px;
        padding-bottom: 25px;
    }
    
    .about-intro-text {
        font-size: 18px;
    }
    
    .about-section {
        margin-bottom: 40px;
    }
    
    .about-section-title {
        font-size: 26px;
    }
    
    .about-section-text {
        font-size: 16px;
    }
    
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }
    
    .about-value-item {
        padding: 20px;
    }
    
    .about-value-title {
        font-size: 20px;
    }
    
    .about-value-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-page {
        padding: 30px 12px;
    }
    
    .about-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .about-intro-text {
        font-size: 16px;
    }
    
    .about-section-title {
        font-size: 22px;
    }
    
    .about-section-text {
        font-size: 15px;
    }
    
    .about-contact-info {
        padding: 20px;
    }
    
    .about-contact-info p {
        font-size: 15px;
    }
}

/* Ad: Above Top News - Square */
.ad-top-news-above {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ad-top-news-above .ad-square-box,
.ad-top-news-above .ad-slot {
    max-width: 300px;
    max-height: 250px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}
.ad-top-news-above .ad-placeholder {
    min-width: 250px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Slider Styles - sticky فقط على الديسكتوب، static على الموبايل */
.article-sidebar-slider {
    position: static;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid var(--primary-black);
    border-radius: 8px;
    padding: 30px;
    height: fit-content;
    min-height: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
    .article-sidebar-slider {
        position: sticky;
        top: 80px;
    }
}

@media (max-width: 768px) {
    .article-sidebar-slider {
        display: none !important;
    }
    .ad-top-news-above .ad-placeholder {
        min-width: 0;
        max-width: 100%;
    }
}

.sidebar-slider-title {
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 30px 0;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--heading-color);
    text-align: start;
    position: relative;
}

.sidebar-slider-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    inset-inline-end: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-light);
}

.news-slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    height: 790px;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 5px;
}

.news-slider-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.news-slide-item {
    flex-shrink: 0;
    width: 100%;
    height: 250px;
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.news-slide-item:hover {
    border-color: var(--primary-black);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.news-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease;
}

.news-slide-link:hover {
    transform: none;
}

.news-slide-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
    background-color: #f5f5f5;
    position: relative;
}

.news-slide-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.news-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-slide-item:hover .news-slide-image img {
    transform: scale(1.08);
}

.news-slide-content {
    text-align: start;
    padding: 12px 14px;
    background-color: #ffffff;
}

.news-slide-title {
    font-family: 'Droid Arabic Kufi', 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--heading-color);
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-slide-item:hover .news-slide-title {
    color: var(--text-gray);
}

.news-slide-content .news-slide-date {
    display: inline-block;
    font-size: 12px;
    color: var(--accent-gray);
    font-weight: 500;
    padding-top: 8px;
}

.news-slide-views {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    margin-inline-start: 10px;
    padding-inline-start: 10px;
    border-inline-start: 1px solid #e5e5e5;
}

.news-slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

.slider-arrow {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-black);
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background-color: var(--primary-black);
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-arrow:active {
    transform: scale(1.05);
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #cccccc;
}

.slider-arrow:disabled:hover {
    transform: none;
    background-color: #ffffff;
    color: var(--primary-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow svg {
    width: 22px;
    height: 22px;
}

/* Article Page Responsive */
@media (max-width: 768px) {
    .article-sidebar {
        position: static;
    }

    .article-social-share {
        flex-wrap: wrap;
        gap: 12px;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }

    .share-btn svg {
        width: 18px;
        height: 18px;
    }

    .highlight-quote {
        padding: 35px 25px;
    }

    .highlight-quote p {
        font-size: 20px;
    }

    .highlight-quote::before {
        font-size: 80px;
        top: 15px;
        left: 20px;
    }
    
    .article-content-main h2 {
        font-size: 20px;
        margin-top: 28px;
    }
    
    .article-content-main h3 {
        font-size: 17px;
        margin-top: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .comments-section {
        padding: 40px 20px;
    }

    .comment-form-wrapper {
        padding: 20px;
    }
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Section Page Styles */
.section-page {
    padding: 300px 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 60vh;
}

.section-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Author Profile Page */
.author-profile-header {
    margin-bottom: 40px;
}

.author-profile-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.author-profile-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-gray);
}

.author-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-profile-info {
    flex: 1;
    min-width: 0;
}

.author-profile-name {
    font-family: var(--font-english);
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 8px 0;
}

.author-profile-email {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-light);
    text-decoration: none;
    margin-bottom: 15px;
}

.author-profile-email:hover {
    text-decoration: underline;
}

.author-profile-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0 0 12px 0;
}

.author-articles-count {
    font-size: 13px;
    color: var(--accent-gray);
    font-weight: 600;
    margin: 0;
}

.author-articles-title {
    font-family: var(--font-english);
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--heading-color);
}

@media (max-width: 768px) {
    .author-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.section-header-with-ad {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 32px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--border-gray);
    position: relative;
}

.section-header-with-ad::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.section-header-with-ad .section-header {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    position: static;
    text-align: start;
}

.section-header-with-ad .section-header::after {
    display: none;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 3px solid var(--border-gray);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
}

.section-header-ad {
    flex-shrink: 0;
}

.section-header-ad .ad-beside-section,
.section-header-ad .ad-under-headlines {
    max-width: 100%;
    margin: 0;
    min-height: 90px;
}

.section-header-with-ad .section-header-ad {
    max-width: 728px;
    min-width: 468px;
}

.section-header-with-ad .section-header-ad .ad-under-headlines img,
.section-header-with-ad .section-header-ad .ad-under-headlines .ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: auto;
    min-height: 90px;
    object-fit: contain;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--heading-color);
    font-family: var(--font-english);
}

[dir="rtl"] .section-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
    max-width: 700px;
}

.section-header-with-ad .section-description {
    max-width: 100%;
}

.section-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 50px 40px;
    margin-top: 50px;
}

.section-article-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--hover-gray));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.section-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.section-article-card:hover::before {
    transform: scaleX(1);
}

.section-article-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.section-article-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e2e8f0 100%);
    position: relative;
}

.section-article-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.section-article-card:hover .section-article-image-wrapper::after {
    opacity: 1;
}

.section-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-article-card:hover .section-article-image {
    transform: scale(1.1);
}

.section-article-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-article-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    margin-bottom: 16px;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    align-self: flex-start;
}

.section-article-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--heading-color);
    transition: color 0.3s ease;
    flex: 1;
    font-family: var(--font-english);
}

[dir="rtl"] .section-article-title {
    font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

.section-article-card:hover .section-article-title {
    color: var(--primary-light);
}

.section-article-excerpt {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--accent-gray);
    padding-top: 20px;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    margin-top: auto;
}

.section-article-author {
    font-weight: 600;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-article-author .author-link {
    color: inherit;
}

.section-article-author .author-link:hover {
    color: var(--primary-light);
}

.section-article-author::before {
    content: '✍';
    font-size: 16px;
}

.section-article-sep {
    color: #c0c0c0;
    font-size: 12px;
    user-select: none;
}

.section-article-date {
    color: var(--accent-gray);
    font-size: 13px;
}

.section-article-views {
    color: var(--accent-gray);
    font-size: 13px;
}

.loading-message,
.no-articles-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-gray);
}

/* RTL Support for Section Page */
[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .section-header-with-ad .section-header {
    text-align: right;
}

[dir="rtl"] .section-header::after {
    transform: translateX(50%);
}

[dir="rtl"] .section-article-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .section-article-author::before {
    order: 1;
    margin-left: 8px;
    margin-right: 0;
}

/* Responsive Styles for Section Page */
@media (max-width: 1024px) {
    .section-news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    .section-page {
        padding: 300px 15px 40px;
    }

    .section-header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .section-header-with-ad {
        gap: 20px;
        margin-bottom: 40px;
    }

    .section-header-with-ad .section-header-ad {
        max-width: 468px;
        min-width: 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
    }

    .section-news-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 40px;
    }

    .section-article-image-wrapper {
        height: 240px;
    }

    .section-article-content {
        padding: 24px;
    }

    .section-article-title {
        font-size: 22px;
    }

    .section-article-excerpt {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .section-page {
        padding: 300px 10px 30px;
    }

    .section-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .section-header-with-ad {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 30px;
    }

    .section-header-with-ad .section-header-ad {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .section-header-with-ad .section-header-ad .ad-under-headlines {
        max-width: 100%;
    }

    .section-title {
        font-size: 24px;
        letter-spacing: -0.3px;
    }

    .section-description {
        font-size: 15px;
    }

    .section-news-grid {
        gap: 30px;
        margin-top: 30px;
    }

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

    .section-article-content {
        padding: 20px;
    }

    .section-article-title {
        font-size: 20px;
    }

    .section-article-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .section-article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Newsletter Page Styles */
.newsletter-page {
    padding: 80px 20px;
    min-height: 70vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.newsletter-container {
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 60px;
}

.newsletter-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.newsletter-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.newsletter-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    padding: 14px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--white);
    color: var(--primary-black);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-black);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.newsletter-submit-btn {
    padding: 16px 32px;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.newsletter-submit-btn:hover {
    background: var(--hover-gray);
    transform: translateY(-2px);
}

.newsletter-submit-btn:active {
    transform: translateY(0);
}

.newsletter-success {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
}

.newsletter-success h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.newsletter-success p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

.newsletter-benefits {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.benefits-title {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefits-list li h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.benefits-list li p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* RTL Support for Newsletter Page */
[dir="rtl"] .newsletter-content {
    direction: rtl;
}

[dir="rtl"] .checkbox-label {
    flex-direction: row-reverse;
}

[dir="rtl"] .benefits-list li {
    flex-direction: row-reverse;
}

/* Responsive Styles for Newsletter Page */
@media (max-width: 768px) {
    .newsletter-page {
        padding: 60px 15px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-subtitle {
        font-size: 16px;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter-form-wrapper,
    .newsletter-benefits {
        padding: 30px 20px;
    }

    .benefits-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .newsletter-page {
        padding: 40px 10px;
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-subtitle {
        font-size: 14px;
    }

    .newsletter-form-wrapper,
    .newsletter-benefits {
        padding: 25px 15px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"] {
        padding: 12px 14px;
        font-size: 14px;
    }

    .newsletter-submit-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .benefits-list li {
        gap: 15px;
    }

    .benefit-icon {
        font-size: 24px;
    }

    .benefits-list li h3 {
        font-size: 16px;
    }

    .benefits-list li p {
        font-size: 13px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 20px;
    min-height: 70vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--white);
    color: var(--primary-black);
    resize: vertical;
}

.contact-form .form-group textarea {
    min-height: 120px;
    line-height: 1.6;
}

.contact-form .form-group input[type="text"]:focus,
.contact-form .form-group input[type="email"]:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-black);
}

.contact-phone-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-phone-code {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 14px 12px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    color: var(--primary-black);
}

.contact-phone-number {
    flex: 1;
    min-width: 160px;
    padding: 14px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    color: var(--primary-black);
}

.contact-phone-code:focus,
.contact-phone-number:focus {
    outline: none;
    border-color: var(--primary-black);
}

.contact-submit-btn {
    padding: 16px 32px;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    align-self: flex-start;
}

.contact-submit-btn:hover {
    background: var(--hover-gray);
    transform: translateY(-2px);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-success {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-success .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
}

.contact-success h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.contact-success p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-gray);
}

.contact-info-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.contact-info-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 4px 0;
}

.contact-info-item a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: var(--accent-gray);
    text-decoration: underline;
}

.contact-social {
    margin-top: 10px;
    padding-top: 25px;
    border-top: 1px solid var(--border-gray);
}

.contact-social h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--heading-color);
}

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

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--primary-black);
    background: var(--light-gray);
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-social-icon:hover {
    background: var(--primary-black);
    color: var(--white);
    transform: translateY(-2px);
}

/* RTL Support for Contact Page */
[dir="rtl"] .contact-content {
    direction: rtl;
}

[dir="rtl"] .contact-info-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-submit-btn {
    align-self: flex-end;
}

/* Responsive Styles for Contact Page */
@media (max-width: 768px) {
    .contact-page {
        padding: 60px 15px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 40px 10px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 25px 15px;
    }

    .contact-form-title {
        font-size: 20px;
    }

    .contact-form .form-group input[type="text"],
    .contact-form .form-group input[type="email"],
    .contact-form .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .contact-submit-btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
    }

    .contact-info-item {
        gap: 15px;
    }

    .contact-info-icon {
        font-size: 24px;
        width: 35px;
    }

    .contact-info-item h3 {
        font-size: 15px;
    }

    .contact-info-item p {
        font-size: 13px;
    }
}

/* Privacy Notice Page Styles */
.privacy-page {
    padding: 80px 20px;
    min-height: 70vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-gray);
}

.privacy-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.privacy-last-updated {
    font-size: 14px;
    color: var(--accent-gray);
    font-style: italic;
}

.privacy-content {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--heading-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-gray);
}

.privacy-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.privacy-list li {
    padding: 10px 0 10px 25px;
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.privacy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-black);
    font-weight: bold;
    font-size: 20px;
}

.privacy-contact-info {
    margin-top: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 4px;
}

.privacy-contact-info p {
    margin: 10px 0;
    font-size: 16px;
    color: var(--text-gray);
}

.privacy-contact-info strong {
    color: var(--primary-black);
    font-weight: 600;
}

.privacy-contact-info a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-contact-info a:hover {
    color: var(--accent-gray);
    text-decoration: underline;
}

/* RTL Support for Privacy Page */
[dir="rtl"] .privacy-list li {
    padding-right: 25px;
    padding-left: 0;
}

[dir="rtl"] .privacy-list li::before {
    left: auto;
    right: 0;
}

/* Responsive Styles for Privacy Page */
@media (max-width: 768px) {
    .privacy-page {
        padding: 60px 15px;
    }

    .privacy-title {
        font-size: 32px;
    }

    .privacy-content {
        padding: 40px 30px;
    }

    .privacy-section-title {
        font-size: 20px;
    }

    .privacy-text,
    .privacy-list li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-page {
        padding: 40px 10px;
    }

    .privacy-title {
        font-size: 28px;
    }

    .privacy-content {
        padding: 30px 20px;
    }

    .privacy-section {
        margin-bottom: 30px;
    }

    .privacy-section-title {
        font-size: 18px;
    }

    .privacy-text,
    .privacy-list li {
        font-size: 14px;
        line-height: 1.7;
    }

    .privacy-contact-info {
        padding: 15px;
    }

    .privacy-contact-info p {
        font-size: 14px;
    }
}

/* ============================================
   Comments Section Styles
   ============================================ */

.comments-section {
    padding: 60px 0;
    background: #f0f2f5;
}

.comments-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e4e6eb;
}

.comments-title {
    font-size: 20px;
    font-weight: 600;
    color: #050505;
    margin: 0;
    display: inline-block;
}

.comments-count {
    font-size: 15px;
    font-weight: 400;
    color: #65676b;
    margin-left: 8px;
}

.comments-section .container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Comment Form - Facebook/YouTube Style */
.comment-form-wrapper {
    background: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #e4e6eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.comment-form .form-group {
    margin-bottom: 0;
}

.comment-form label {
    display: none;
}

.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccd0d5;
    border-radius: 20px;
    font-size: 15px;
    font-family: inherit;
    background: white;
    transition: all 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus {
    outline: none;
    border-color: #1877f2;
    background: white;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd0d5;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: white;
    resize: vertical;
    min-height: 100px;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #1877f2;
    background: white;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

.comment-form textarea::placeholder {
    color: #8a8d91;
}

.comment-form-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
}

.btn-submit-comment {
    background: #1877f2;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.btn-submit-comment:hover {
    background: #166fe5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-submit-comment:active {
    transform: translateY(0);
    background: #1565c0;
}

.btn-submit-comment:disabled {
    background: #e4e6eb;
    color: #bcc0c4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-cancel-reply {
    background: #e4e6eb;
    color: #050505;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-reply:hover {
    background: #d8dadf;
}

.comment-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.comment-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.comment-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Comments List - Facebook/YouTube Style */
.comments-list {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: #65676b;
    font-size: 15px;
    background: white;
    border-radius: 8px;
}

.comment-item {
    padding: 12px;
    border-bottom: none;
    display: flex;
    gap: 12px;
    transition: background 0.2s ease;
    border-radius: 8px;
    margin-bottom: 4px;
    background: white;
    border: 1px solid transparent;
}

.comment-item:hover {
    background: #f0f2f5;
    border-color: #e4e6eb;
}

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

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    flex: 1;
}

.comment-author {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.comment-author-name {
    font-weight: 600;
    color: #050505;
    font-size: 15px;
    line-height: 1.33;
}

.comment-date {
    font-size: 12px;
    color: #65676b;
    line-height: 1.33;
}

.btn-reply {
    background: transparent;
    border: none;
    color: #65676b;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: -2px;
}

.btn-reply:hover {
    background: #e4e6eb;
    color: #050505;
}

.comment-body {
    margin-top: 4px;
    color: #050505;
    line-height: 1.5;
    font-size: 15px;
    padding-right: 40px;
    word-wrap: break-word;
}

.comment-body p {
    margin: 0;
    white-space: pre-wrap;
}

/* Comment Replies - Facebook Style */
.comment-replies {
    margin-top: 12px;
    margin-right: 44px;
    padding-right: 0;
    border-right: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-reply {
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    background: #f0f2f5;
    border-radius: 8px;
    margin: 0;
    border: none;
}

.comment-reply:hover {
    background: #e4e6eb;
}

.comment-reply .comment-header {
    margin-bottom: 4px;
    flex: 1;
}

.comment-reply .comment-author {
    gap: 8px;
}

.comment-reply .comment-avatar {
    width: 24px;
    height: 24px;
    font-size: 11px;
    flex-shrink: 0;
}

.comment-reply .comment-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #050505;
}

.comment-reply .comment-date {
    font-size: 11px;
    color: #65676b;
}

.comment-reply .comment-body {
    font-size: 14px;
    padding-right: 0;
    margin-top: 4px;
    color: #050505;
    line-height: 1.5;
}

.comment-reply .comment-body p {
    margin: 0;
    white-space: pre-wrap;
}

/* Meta Views - Eye icon + count (used across all article cards) */
.meta-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-gray);
    font-size: inherit;
    font-weight: 500;
}

.meta-views svg {
    flex-shrink: 0;
    opacity: 0.85;
}

/* Article Views (article page) */
.article-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-gray);
    font-size: 14px;
}

.article-views svg {
    opacity: 0.85;
}

/* Responsive Styles for Comments */
@media (max-width: 768px) {
    .comments-section {
        padding: 40px 0;
    }

    .comment-form-wrapper {
        padding: 12px;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
    }

    .comment-body {
        padding-right: 0;
    }

    .comment-replies {
        margin-right: 0;
        padding-right: 0;
    }
    
    .comment-reply {
        padding: 8px;
    }

    .comment-header {
        flex-wrap: wrap;
    }

    .btn-reply {
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .comments-title {
        font-size: 18px;
    }

    .comment-form-wrapper {
        padding: 8px;
    }

    .comment-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .comment-author-name {
        font-size: 14px;
    }

    .comment-body {
        font-size: 14px;
    }

    .comment-reply {
        padding: 6px;
    }
    
    .comment-reply .comment-avatar {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .comment-reply .comment-author-name {
        font-size: 12px;
    }
    
    .comment-reply .comment-body {
        font-size: 13px;
    }
}

/* Responsive Styles for Related Articles */
@media (max-width: 768px) {
    .related-articles {
        padding: 50px 15px;
        margin-top: 50px;
    }

    .related-articles h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .related-articles .article-image-wrapper {
        height: 200px;
    }

    .related-articles .article-content {
        padding: 20px;
    }

    .related-articles .article-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .related-articles {
        padding: 40px 10px;
        margin-top: 40px;
    }

    .related-articles h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .related-articles .article-image-wrapper {
        height: 180px;
    }

    .related-articles .article-content {
        padding: 16px;
    }

    .related-articles .article-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .related-articles .article-meta {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* إجبار عرض المقالة كامل على الموبايل - آخر قاعدة لتفوق على أي سابقة */
@media (max-width: 768px) {
    body main.article-page {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    body main.article-page .article-page-container {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body main.article-page .article-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    body main.article-page .article-content-wrapper .article-body-text,
    body main.article-page .article-content-wrapper .article-body-text *,
    body main.article-page .article-content-wrapper .article-body-text p,
    body main.article-page .article-content-wrapper .article-body-text div {
        max-width: 100% !important;
        box-sizing: border-box;
    }
}
