






    :root {
        --ink: #0B1220;
        --ink-soft: #4A5568;
        --paper: #F1F5F9;
        --paper-card: #FFFFFF;
        --accent: #E11D48;
        --navy: #0F172A;
        --rule: #E2E8F0;
        --font-display: 'Cairo', serif;
        --font-body: 'Cairo', sans-serif;
        --radius: 20px;
        --max: 1280px;
        --slider-height: 480px;
    }

    * {
        font-family: 'Cairo', sans-serif;
    }

    .wireframe-box {
        border: 2px solid #d4d5d4cb;
        border-radius: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .wireframe-box-sm {
        border: 2px solid #334155;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .wireframe-box:hover,
    .wireframe-box-sm:hover {
        box-shadow:
            0 10px 25px -5px rgba(0, 0, 0, 0.1),
            0 8px 10px -6px rgba(0, 0, 0, 0.1);
        border-color: #e11d48;
    }

    .standard-news-card {
        background-color: #ffffff;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .standard-news-card:hover {
        border-color: #e11d48;
        transform: translateY(-2px);
        box-shadow:
            0 10px 20px -5px rgba(225, 29, 72, 0.15);
    }

    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 8px;
    }

    ::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 8px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }


    /* =========================================================
       KEYFRAMES & HERO GRID
       ========================================================= */

    @keyframes fillTimer {
        0% {
            width: 0%
        }

        to {
            width: 100%
        }
    }

    @keyframes fillSide3s {
        0% {
            width: 0%
        }

        to {
            width: 100%
        }
    }

    @keyframes blink {
        0%, to {
            opacity: 1
        }

        50% {
            opacity: .3
        }
    }

    @keyframes tickerAnim {
        0% {
            transform: translate3d(0, 0, 0)
        }

        to {
            transform: translate3d(100%, 0, 0)
        }
    }

    .hero-viewport {
        padding: 0;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 2.2fr 1fr;
        gap: 16px;
        height: var(--slider-height);
    }


    /* =========================================================
       MAIN SLIDER
       ========================================================= */

    .v-slider-frame {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        background: var(--navy);
        box-shadow: 0 15px 35px rgba(15, 23, 42, .12);
    }

    .v-slides-container {
        height: 100%;
        transition: transform .6s cubic-bezier(.65, 0, .35, 1);
    }

    .v-slide {
        height: var(--slider-height);
        position: relative;
        display: flex;
        align-items: flex-end;
        margin: 0;
    }

    .v-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }

    .v-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                180deg,
                rgba(15, 23, 42, .05) 0,
                rgba(15, 23, 42, .92) 85%
            );
    }

    .v-slide figcaption {
        position: relative;
        z-index: 2;
        padding: 28px 32px;
        max-width: 620px;
        color: #fff;
    }

    .badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--accent);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 99px;
        margin-bottom: 10px;
    }

    .badge .dot {
        width: 5px;
        height: 5px;
        background: #fff;
        border-radius: 50%;
        animation: blink 1.2s infinite;
    }

    .v-slide figcaption h2 {
        font-family: var(--font-display);
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 8px;
        font-weight: 800;
    }

    .v-slide figcaption p {
        font-size: 14px;
        color: #e2e8f0;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .v-indicators-bar {
        position: absolute;
        left: 16px;
        top: 16px;
        bottom: 16px;
        width: 210px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 10;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .v-thumb-card {
        position: relative;
        flex: 1;
        background: rgba(15, 23, 42, .65);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 12px;
        padding: 6px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        overflow: hidden;
        transition: background .3s, border-color .3s;
    }

    .v-thumb-card:hover {
        background: rgba(15, 23, 42, .85);
        border-color: rgba(255, 255, 255, .3);
    }

    .v-thumb-card.active {
        background: rgba(15, 23, 42, .9);
        border-color: var(--accent);
    }

    .v-thumb-img {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .v-thumb-title {
        color: #f8fafc;
        font-size: 11.5px;
        font-weight: 600;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .v-thumb-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: 0 0;
    }

    .v-thumb-progress-fill {
        height: 100%;
        width: 0%;
        background: var(--accent);
    }

    .v-thumb-card.active .v-thumb-progress-fill {
        animation: fillTimer 4s linear forwards;
    }


    /* =========================================================
       SIDE SLIDER
       ========================================================= */

    .h-slider-card {
        background: var(--paper-card);
        border-radius: var(--radius);
        padding: 14px 16px 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
        border: 1px solid var(--rule);
        overflow: hidden;
        height: var(--slider-height);
        position: relative;
    }

    .h-top-progress {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--rule);
    }

    .h-top-progress-bar {
        height: 100%;
        width: 0%;
        background: var(--accent);
    }

    .h-slider-card.is-running .h-top-progress-bar {
        animation: fillSide3s 3.5s linear infinite;
    }

    .h-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        margin-top: 2px;
    }

    .h-card-header h3,
    .modern-num-box {
        font-weight: 700;
        display: flex;
        align-items: center;
    }

    .h-card-header h3 {
        font-size: 15px;
        color: var(--navy);
        gap: 6px;
    }

    .h-card-header h3::before {
        content: "";
        width: 8px;
        height: 8px;
        background: var(--accent);
        border-radius: 50%;
        display: inline-block;
    }

    .modern-num-box {
        background: #0f172a;
        color: #94a3b8;
        padding: 2px 8px;
        border-radius: 20px;
        font-size: 11px;
        border: 1px solid #1e293b;
        gap: 4px;
        font-feature-settings: "tnum";
    }

    .modern-num-box span.active-num {
        color: #fff;
        font-size: 12px;
        font-weight: 800;
    }

    .h-slider-window {
        overflow: hidden;
        flex: 1;
        position: relative;
        border-radius: 12px;
    }

    .h-track {
        display: flex;
        transition: transform .45s cubic-bezier(.25, 1, .5, 1);
        height: 100%;
    }

    .h-slide-item,
    .h-slide-item figure {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .h-slide-item {
        min-width: 100%;
    }

    .h-slide-item figure {
        margin: 0;
    }

    .h-item-img-wrap {
        height: 70%;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
        display: block;
    }

    .h-item-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

    .h-slide-item:hover .h-item-img-wrap img {
        transform: scale(1.06);
    }

    .h-item-cat,
    .h-item-time {
        position: absolute;
        right: 8px;
        border-radius: 4px;
        backdrop-filter: blur(4px);
        z-index: 2;
    }

    .h-item-cat {
        top: 8px;
        background: rgba(15, 23, 42, .85);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 8px;
        border: 1px solid rgba(255, 255, 255, .15);
    }

    .h-item-time {
        bottom: 8px;
        background: rgba(0, 0, 0, .65);
        color: #e2e8f0;
        font-size: 9.5px;
        font-weight: 500;
        padding: 2px 6px;
    }

    .h-item-body {
        height: 30%;
        padding-top: 6px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
    }

    .h-item-title-link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .h-item-title-link:hover .h-item-title {
        color: var(--accent);
    }

    .h-item-title {
        font-family: var(--font-display);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.25;
        color: var(--navy);
        margin-bottom: 2px;
        transition: color .2s;
    }

    .h-item-desc {
        font-size: 11px;
        color: var(--ink-soft);
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .h-footer-nav,
    .h-pro-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .h-footer-nav {
        padding-top: 6px;
        margin-top: 2px;
        border-top: 1px solid var(--rule);
        gap: 8px;
        flex-shrink: 0;
    }

    .h-pro-controls {
        gap: 6px;
        width: 100%;
    }

    .h-nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 5px 12px;
        margin: 0;
        background: #f1f5f9;
        color: var(--navy);
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 11.5px;
        font-weight: 700;
        transition: all .2s ease;
    }

    .h-nav-btn:hover {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(225, 29, 72, .25);
    }

    .h-nav-btn:active {
        transform: translateY(0);
    }

    .h-nav-btn svg {
        width: 12px;
        height: 12px;
        fill: currentColor;
    }

    .h-dots-scroll {
        display: flex;
        align-items: center;
        gap: 4px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 2px 4px;
        max-width: 130px;
        margin: 0;
        list-style: none;
    }

    .h-dots-scroll::-webkit-scrollbar {
        display: none;
    }

    .h-dot-pill {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #cbd5e1;
        transition: all .3s cubic-bezier(.4, 0, .2, 1);
        cursor: pointer;
        flex-shrink: 0;
    }

    .h-dot-pill.active {
        width: 16px;
        border-radius: 10px;
        background: var(--accent);
    }


    /* =========================================================
       BREAKING NEWS
       ========================================================= */

    .ticker-wrap {
        background-color: #0b192c;
        border-radius: 14px;
        margin-bottom: 0;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .02);
        display: flex;
        align-items: center;
        border: 1px solid var(--rule);
    }

    .ticker-label {
        background-color: #dc3545;
        color: #ffffff !important;
        font-weight: 700;
        font-size: 13px;
        padding: 8px 16px;
        gap: 8px;
        white-space: nowrap;
        z-index: 2;
        display: flex;
        align-items: center;
    }

    .ticker-content {
        flex: 1;
        overflow: hidden;
        position: relative;
        white-space: nowrap;
        background-color: #0b192c;
        color: #ffffff !important;
    }

    .ticker-track {
        display: inline-block;
        padding-right: 100%;
        animation: tickerAnim 28s linear infinite;
        will-change: transform;
        background-color: #0b192c;
        color: #ffffff !important;
    }

    .ticker-track:hover {
        animation-play-state: paused;
    }

    .ticker-item {
        display: inline-block;
        font-size: 13.5px;
        font-weight: 600;
        color: #ffffff !important;
        background-color: #0b192c;
        padding: 0 20px;
    }

    .ticker-item::after {
        content: "•";
        color: var(--accent);
        margin-right: 20px;
    }


    /* =========================================================
       RESPONSIVE
       ========================================================= */

    @media (max-width: 1024px) {

        .hero-grid {
            grid-template-columns: 1fr;
            height: auto;
        }

        .h-slider-card,
        .v-slide,
        .v-slider-frame {
            height: 420px;
        }
    }

    @media (max-width: 768px) {

        .v-slide,
        .v-slider-frame {
            height: 380px;
        }

        .v-slide figcaption {
            padding: 16px 16px 70px;
        }

        .v-slide figcaption h2 {
            font-size: 20px;
        }

        .v-indicators-bar {
            top: auto;
            bottom: 10px;
            left: 10px;
            right: 10px;
            width: auto;
            height: 50px;
            flex-direction: row;
            overflow-x: auto;
            white-space: nowrap;
        }

        .v-thumb-card {
            min-width: 140px;
            flex: 0 0 auto;
            padding: 4px;
        }

        .h-slider-card {
            height: auto;
            min-height: 440px;
            padding: 16px;
        }
    }



/* ================================================================
   CATEGORY PAGE
================================================================ */

.category-page {
    width: 100%;
}


/* ================================================================
   CATEGORY TOP TITLE
================================================================ */

.category-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;

    padding-right: 16px;

    border-right: 5px solid #dc3545;
}

.category-page-header h1 {
    margin: 0;

    font-size: 28px;
    font-weight: 900;

    color: #0f172a;
}

.category-breadcrumb {
    color: #64748b;
    font-size: 13px;
}

.category-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    color: #dc3545;
}


/* ================================================================
   CATEGORY TOP
================================================================ */

.category-top-section {
    margin-bottom: 32px;
}


.category-top-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 1fr);

    gap: 18px;
}


/* ================================================================
   CATEGORY TOP MAIN
================================================================ */

.category-top-main {
    position: relative;

    min-height: 390px;

    overflow: hidden;

    background: #0f172a;

    border-radius: 14px;
}


.category-top-main-link {
    display: block;

    width: 100%;
    height: 100%;

    text-decoration: none;
}


.category-top-main-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.category-top-main-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 28px;

    background:
        linear-gradient(
            to top,
            rgba(15, 23, 42, .95),
            rgba(15, 23, 42, .30) 60%,
            rgba(15, 23, 42, 0)
        );
}


.category-top-badge {
    display: inline-flex;

    align-items: center;

    width: fit-content;

    margin-bottom: 12px;

    padding: 5px 11px;

    background: #dc3545;

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    border-radius: 4px;
}


.category-top-main-title {
    margin: 0 0 10px;

    color: #fff;

    font-size: 24px;

    line-height: 1.55;

    font-weight: 900;
}


.category-top-main-excerpt {
    margin: 0;

    color: #e2e8f0;

    font-size: 14px;

    line-height: 1.8;
}


/* ================================================================
   CATEGORY TOP SMALL GRID
================================================================ */

.category-top-small-grid {
    display: grid;

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

    gap: 16px;
}


.category-top-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.category-top-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .08);
}


.category-top-card a {
    display: block;

    text-decoration: none;
}


.category-top-card-image {
    width: 100%;

    height: 150px;

    object-fit: cover;

    display: block;
}


.category-top-card-content {
    padding: 13px;
}


.category-top-card-category {
    display: block;

    margin-bottom: 6px;

    color: #dc3545;

    font-size: 11px;

    font-weight: 800;
}


.category-top-card-title {
    margin: 0;

    color: #1e293b;

    font-size: 14px;

    line-height: 1.6;

    font-weight: 800;
}


/* ================================================================
   EMPTY ZONE
================================================================ */

.category-zone-empty {
    padding: 30px;

    text-align: center;

    background: #fff;

    border: 1px dashed #cbd5e1;

    color: #64748b;

    border-radius: 10px;

    font-size: 14px;
}


/* ================================================================
   MAIN CONTENT
================================================================ */

.category-main-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 24px;

    align-items: start;
}


/* ================================================================
   CATEGORY NEWS
================================================================ */

.category-news-section {
    min-width: 0;
}


.category-section-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 18px;

    padding-right: 12px;

    border-right: 4px solid #dc3545;

    color: #0f172a;

    font-size: 20px;

    font-weight: 900;
}


.category-section-title span {
    color: #64748b;

    font-size: 12px;

    font-weight: 600;
}


/* ================================================================
   NEWS GRID
================================================================ */

.category-news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.category-news-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.category-news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .08);
}


.category-news-card a {
    text-decoration: none;
}


.category-news-image-wrap {
    position: relative;

    width: 100%;

    height: 175px;

    overflow: hidden;
}


.category-news-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .25s ease;
}


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


.category-news-content {
    padding: 14px;
}


.category-news-meta {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 7px;

    color: #64748b;

    font-size: 11px;
}


.category-news-category {
    color: #dc3545;

    font-weight: 800;
}


.category-news-title {
    margin: 0;

    color: #1e293b;

    font-size: 14px;

    line-height: 1.65;

    font-weight: 800;
}


.category-news-excerpt {
    margin: 8px 0 0;

    color: #64748b;

    font-size: 12px;

    line-height: 1.7;
}


/* ================================================================
   SIDEBAR
================================================================ */

.category-sidebar {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


.category-sidebar-box {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;
}


.category-sidebar-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 16px;

    border-bottom: 1px solid #e2e8f0;
}


.category-sidebar-title {
    margin: 0;

    color: #0f172a;

    font-size: 16px;

    font-weight: 900;
}


.category-sidebar-title::before {
    content: "";

    display: inline-block;

    width: 4px;
    height: 18px;

    margin-left: 8px;

    vertical-align: -3px;

    background: #dc3545;
}


.category-sidebar-list {
    padding: 0 16px;
}


/* ================================================================
   SIDEBAR ARTICLE
================================================================ */

.category-sidebar-item {
    display: grid;

    grid-template-columns: 72px minmax(0, 1fr);

    gap: 12px;

    padding: 13px 0;

    border-bottom: 1px solid #f1f5f9;
}


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


.category-sidebar-item-image {
    width: 72px;
    height: 62px;

    object-fit: cover;

    border-radius: 7px;
}


.category-sidebar-item-number {
    display: block;

    margin-bottom: 3px;

    color: #cbd5e1;

    font-size: 12px;

    font-weight: 900;
}


.category-sidebar-item-title {
    margin: 0;

    color: #1e293b;

    font-size: 12px;

    line-height: 1.6;

    font-weight: 800;
}


.category-sidebar-item-time {
    display: block;

    margin-top: 4px;

    color: #94a3b8;

    font-size: 10px;
}


/* ================================================================
   PAGINATION
================================================================ */

.category-pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    margin-top: 30px;
}


.category-pagination a,
.category-pagination span {
    min-width: 36px;

    height: 36px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 10px;

    border: 1px solid #e2e8f0;

    border-radius: 6px;

    background: #fff;

    color: #334155;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}


.category-pagination .active {
    background: #dc3545;

    border-color: #dc3545;

    color: #fff;
}


.category-pagination a:hover {
    border-color: #dc3545;

    color: #dc3545;
}


/* ================================================================
   RESPONSIVE
================================================================ */

@media (max-width: 1100px) {

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

    .category-sidebar {
        display: grid;

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

}


@media (max-width: 900px) {

    .category-top-grid {
        grid-template-columns: 1fr;
    }

    .category-top-main {
        min-height: 350px;
    }

    .category-news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .category-page-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .category-page-header h1 {
        font-size: 23px;
    }

    .category-top-small-grid {
        grid-template-columns: 1fr;
    }

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

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

    .category-top-main-title {
        font-size: 20px;
    }

}

/* ============================================================
   CATEGORY PAGE
   المنصة الإخبارية
============================================================ */


/* ============================================================
   1 — PAGE CONTAINER
============================================================ */

.category-page-container {
    width: 95%;
    max-width: 1280px;
    margin: 0 auto 50px auto;
    direction: rtl;
    font-family: inherit;
}


/* ============================================================
   2 — COMMON NEWS CARD
============================================================ */

.news-card-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    text-decoration: none;
    color: #0F172A;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.news-card-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.06);

    border-color: #E11D48;
}


/* ============================================================
   3 — NEWS CARD IMAGE
============================================================ */

.news-card-img {
    width: 100%;
    height: 180px;

    position: relative;

    background: #0F172A;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

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


/* ============================================================
   4 — NEWS CARD CONTENT
============================================================ */

.news-card-content {
    padding: 12px 15px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    flex: 1;
}

.news-card-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    color: #0F172A;
    
    /* البديل الحديث والمعياري لإزالة التنبيه */
    overflow: hidden;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    
    /* دعم تحديد عدد الأسطر (مع وبدون البادئة) */
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.news-card-meta {
    font-size: 11px;
    color: #64748B;

    margin-top: 8px;

    display: flex;
    align-items: center;

    gap: 5px;
}


/* ============================================================
   5 — HERO SECTION
   الخبر الرئيسي + أربعة أخبار
============================================================ */

.hero-layout-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 20px;

    margin-bottom: 35px;
}


/* الخبر الرئيسي */

.hero-main-card {
    background: #0F172A;

    border-radius: 16px;

    overflow: hidden;

    position: relative;

    height: 100%;
    min-height: 380px;

    display: block;

    text-decoration: none;
}

.hero-main-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.85;
}

.hero-main-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 40%,
            rgba(15, 23, 42, 0.95) 100%
        );

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-main-title {
    color: #FFFFFF;

    font-size: 22px;
    font-weight: 900;

    line-height: 1.4;

    margin-bottom: 10px;
}


/* ============================================================
   6 — FOUR SMALL HERO CARDS
============================================================ */

.hero-four-grid {
    display: grid;

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

    gap: 15px;
}


/* ============================================================
   7 — SECTION WITH SIDEBAR
============================================================ */

.section-with-sidebar {
    display: grid;

    grid-template-columns: 1fr 320px;

    gap: 25px;

    margin-bottom: 35px;

    align-items: start;
}


/* ============================================================
   8 — THREE COLUMNS NEWS GRID
============================================================ */

.three-cols-news-grid {
    display: grid;

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

    gap: 20px;
}


/* ============================================================
   9 — SIDEBAR
============================================================ */

.sidebar-block {
    background: #FFFFFF;

    border: 2px solid #E2E8F0;

    border-radius: 16px;

    padding: 20px;
}

.sidebar-block-title {
    font-size: 16px;
    font-weight: 800;

    color: #E11D48;

    border-bottom: 2px solid #E2E8F0;

    padding-bottom: 8px;

    margin-bottom: 15px;
}


/* ============================================================
   10 — SIDEBAR ADVERTISEMENT
============================================================ */

.sidebar-ad-box {
    background:
        linear-gradient(
            180deg,
            #0F172A 0%,
            #1E293B 100%
        );

    border-radius: 16px;

    min-height: 380px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #FFFFFF;

    font-size: 24px;
    font-weight: 900;

    border: 2px solid #E2E8F0;
}


/* ============================================================
   11 — INFOGRAPHIC
============================================================ */

.infographic-banner-section {
    background: #0F172A;

    color: #FFFFFF;

    border-radius: 16px;

    padding: 25px;

    text-align: center;

    margin-bottom: 35px;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.15);
}

.infographic-banner-section h3 {
    font-size: 22px;
    font-weight: 900;

    margin-bottom: 20px;

    color: #F8FAFC;
}

.infographic-numbers-grid {
    display: grid;

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

    gap: 15px;
}

.info-num-card {
    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 12px;

    padding: 15px;
}


/* ============================================================
   12 — PAGINATION
============================================================ */

.pagination-wrapper {
    display: flex;

    justify-content: center;

    gap: 8px;

    margin-top: 40px;

    direction: ltr;
}

.page-num-btn {
    width: 38px;
    height: 38px;

    border: 1px solid #CBD5E1;

    background: #FFFFFF;

    color: #0F172A;

    font-weight: 800;

    border-radius: 6px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.page-num-btn:hover,
.page-num-btn.active {
    background: #0F172A;

    color: #FFFFFF;

    border-color: #0F172A;
}


/* ============================================================
   13 — TABLET
============================================================ */

@media (max-width: 992px) {

    .hero-layout-grid,
    .section-with-sidebar {
        grid-template-columns: 1fr;
    }

    .three-cols-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infographic-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   14 — MOBILE
============================================================ */

@media (max-width: 600px) {

    .category-page-container {
        width: 94%;
        margin-bottom: 35px;
    }

    .hero-layout-grid {
        gap: 15px;
    }

    .hero-main-card {
        min-height: 300px;
    }

    .hero-main-title {
        font-size: 18px;
    }

    .hero-four-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .three-cols-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-card-img {
        height: 190px;
    }

    .infographic-numbers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .info-num-card {
        padding: 12px 8px;
    }

    .sidebar-block {
        padding: 15px;
    }

    .sidebar-ad-box {
        min-height: 250px;
    }

    .pagination-wrapper {
        margin-top: 30px;
    }

}
/* ==========================================================
   TRENDING SIDEBAR
   Placement Zone: trending_sidebar
   بدون Tailwind
========================================================== */

.trending-widget {
    background: var(--article-card);
    border: 2px solid var(--article-rule);
    border-radius: var(--article-radius-lg);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

/* ==========================================================
   TRENDING HEADER
========================================================== */

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--article-rule);
}

.trending-title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--article-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trending-title i {
    color: var(--article-accent);
}

.trending-label {
    font-size: 11px;
    background: #f1f5f9;
    color: #64748b;
    padding: 5px 8px;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================================================
   TRENDING LIST
========================================================== */

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ==========================================================
   TRENDING CARD
========================================================== */

.trending-card {
    display: block;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    border-radius: var(--article-radius-md);
    background: #e2e8f0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ==========================================================
   TRENDING IMAGE
========================================================== */

.trending-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.trending-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* ==========================================================
   TRENDING IMAGE PLACEHOLDER
========================================================== */

.trending-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 36px;
}

/* ==========================================================
   TRENDING OVERLAY
========================================================== */

.trending-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.40) 50%,
        transparent 100%
    );
    pointer-events: none;
}

/* ==========================================================
   TRENDING CONTENT
========================================================== */

.trending-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 16px;
    z-index: 2;
}

.trending-card-title {
    margin: 0;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
    
    /* البديل الحديث والمعياري */
    overflow: hidden;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    
    /* دعم تحديد عدد الأسطر (مع وبدون البادئة) */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
/* ==========================================================
   TRENDING EMPTY STATE
========================================================== */

.trending-empty {
    padding: 35px 10px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

/* ==========================================================
   RESPONSIVE — TABLET & MOBILE
========================================================== */

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .trending-widget {
        padding: 15px;
    }
    .trending-card-title {
        font-size: 14px;
        line-height: 1.5;
    }
    .trending-content {
        padding: 12px;
    }
}.super-ad-banner {
    position: relative;
    /* خلفية متدرجة داكنة متطابقة مع هوية الموقع في الصورة */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px dashed rgba(225, 29, 72, 0.6); /* إطار متقطع بلون مميز وناعم */
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    margin: 20px auto;
    width: 100%;
    max-width: 1280px; /* ليتوافق مع عرض حاوية الموقع */
}

/* شريط صغير يوضح أن هذه مساحة إعلانية (مطابق للصورة) */
.super-ad-banner .ad-tag {
    position: absolute;
    top: 0;
    right: 20px;
    background-color: #e11d48;
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    font-weight: 700;
}

.super-ad-banner .ad-content {
    margin-top: 6px;
}

.super-ad-banner .ad-title {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-left: 10px;
}

.super-ad-banner .ad-link {
    display: inline-block;
    color: #38bdf8; /* لون أزرق فاتح جذاب للنصوص التفاعلية */
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* التأثير البصري عند تمرير الماوس (Hover Effect) */
.super-ad-banner:hover {
    transform: translateY(-3px);
    border-color: #e11d48;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.25);
}

.super-ad-banner:hover .ad-link {
    color: #f43f5e;
    text-decoration: underline;
}