/**
 * Custom News Grid Stylesheet
 * Primary Color: #e3120b
 * Font Family: 'Economistfonts', sans-serif (Custom theme font)
 */




@font-face {
    font-family: 'Economistfonts';
    src: url('../fonts/Econamistfonts-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Economistfonts';
    src: url('../fonts/Econamistfonts-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Economistfonts';
    src: url('../fonts/Econamistfonts-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* General Utilities & Font Settings */
.cng-container {
    direction: rtl;
    text-align: right;
    font-family: 'Economistfonts', 'Segoe UI', Tahoma, Arial, sans-serif !important;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.cng-container *,
.cng-container h1,
.cng-container h2,
.cng-container h3,
.cng-container h4,
.cng-container h5,
.cng-container h6,
.cng-container p,
.cng-container a,
.cng-container span {
    font-family: 'Economistfonts', 'Segoe UI', Tahoma, Arial, sans-serif !important;
    box-sizing: border-box;
}

/* Color Variables and Shared Classes */
.cng-primary-color {
    color: #e3120b;
}

.cng-primary-bg {
    background-color: #e3120b;
}

/* -----------------------------------------------------------------
   1. Design 1: Classic Grid (grid-classic)
   ----------------------------------------------------------------- */
.Article4BO {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.Article4BO .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

/* Columns Setup */
.Article4BO .rptDocCatsBig {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 10px;
}

.Article4BO .rptDocSmall {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.Article4BO .rptDocHor {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 10px;
    position: relative;
}

/* Card General Design */
.Article4BO .InfoOnCard {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #121212;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.Article4BO .InfoOnCard_Image {
    position: relative;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Hover Effect */
.Article4BO .CardsControls-Hover:hover {
    transform: scale(1.03);
}

/* Image Filter Overlay */
.Article4BO .cssFilter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.Article4BO .CardsControls-Hover:hover::after {
    background: rgba(0, 0, 0, 0);
}

/* Red Indicator Bar */
.Article4BO .Bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background-color: #e3120b;
    z-index: 2;
}

/* Text Overlay and Gradients */
.Article4BO .InfoOnCard_Gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.Article4BO .InfoOnImg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.Article4BO .InfoOnImg_Title {
    margin-bottom: 8px;
}

.Article4BO .InfoOnImg_Title a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.Article4BO .InfoOnImg_Title a:hover {
    color: #e3120b !important;
}

.Article4BO .InfoOnImg_Date {
    font-size: 0.85rem;
    color: #e0e0e0;
}

.Article4BO .MainTitle a {
    font-size: 1.4rem;
}

/* Double Arrow Button inside Tall Post (rptDocHor) */
.Article4BO .center-con {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.Article4BO .round {
    width: 40px;
    height: 40px;
    background: rgba(227, 18, 11, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.Article4BO .round:hover {
    background: #e3120b;
    transform: scale(1.1);
}

.Article4BO .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 16px;
    height: 16px;
}

.Article4BO .arrow.next {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    transition: transform 0.3s ease;
}

.Article4BO .arrow.primera {
    left: 1px;
}

.Article4BO .arrow.segunda {
    left: 7px;
}

.Article4BO .rptDocHorArrowHover:hover .arrow.primera {
    transform: translate(2px, 0) rotate(45deg);
}

.Article4BO .rptDocHorArrowHover:hover .arrow.segunda {
    transform: translate(2px, 0) rotate(45deg);
}

/* Title Header Styles */
.MainControlMediumTitle {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.MainControlMediumTitle a {
    text-decoration: none;
    color: #111;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
}

.MainControlMediumTitle a::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 60px;
    height: 2px;
    background-color: #e3120b;
}

/* Mobile responsive fixes */
.Article4BO .readMoreHightlights {
    display: none;
    text-align: center;
    margin-top: 15px;
}

.Article4BO .readMoreHightlights a {
    color: #e3120b;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid #e3120b;
    padding: 8px 20px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.Article4BO .readMoreHightlights a:hover {
    background-color: #e3120b;
    color: #fff;
}

@media (max-width: 991px) {
    .Article4BO .rptDocCatsBig {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .Article4BO .rptDocSmall {
        flex: 0 0 50%;
        max-width: 50%;
        gap: 15px;
    }

    .Article4BO .rptDocHor {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .Article4BO .rptDocSmall {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .Article4BO .rptDocSmall .DocSmall0,
    .Article4BO .rptDocSmall .DocSmall1 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .Article4BO .rptDocHor {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .Article4BO .readMoreHightlights {
        display: block;
    }

    .Article4BO .center-con,
    .Article4BO .ArrowGoToHighlights {
        display: none !important;
    }
}

/* -----------------------------------------------------------------
   2. Design 2: Modern 3-Column Grid (grid-modern)
   ----------------------------------------------------------------- */
.cng-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    width: 100%;
}

.cng-grid-modern .cng-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.cng-grid-modern .cng-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cng-grid-modern .cng-card-media {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.cng-grid-modern .cng-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cng-grid-modern .cng-card:hover .cng-card-media img {
    transform: scale(1.05);
}

.cng-grid-modern .cng-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e3120b;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(227, 18, 11, 0.3);
}

.cng-grid-modern .cng-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cng-grid-modern .cng-card-date {
    font-size: 0.8rem;
    color: #888888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cng-grid-modern .cng-card-title {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.cng-grid-modern .cng-card-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cng-grid-modern .cng-card-title a:hover {
    color: #e3120b;
}

.cng-grid-modern .cng-card-excerpt {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cng-grid-modern .cng-card-footer {
    margin-top: auto;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cng-grid-modern .cng-read-more {
    color: #e3120b;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.cng-grid-modern .cng-card:hover .cng-read-more {
    gap: 8px;
}

/* -----------------------------------------------------------------
   3. Design 3: Premium Overlay Grid (grid-overlay)
   ----------------------------------------------------------------- */
.cng-grid-overlay {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.cng-grid-overlay .cng-card {
    position: relative;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cng-grid-overlay .cng-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cng-grid-overlay .cng-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.cng-grid-overlay .cng-card:hover .cng-card-bg {
    transform: scale(1.08);
}

.cng-grid-overlay .cng-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: height 0.3s ease;
}

.cng-grid-overlay .cng-card:hover .cng-overlay-gradient {
    height: 90%;
}

.cng-grid-overlay .cng-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e3120b;
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 2;
    font-weight: 500;
}

.cng-grid-overlay .cng-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.cng-grid-overlay .cng-card-date {
    font-size: 0.8rem;
    color: #cccccc;
    margin-bottom: 5px;
}

.cng-grid-overlay .cng-card-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.cng-grid-overlay .cng-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cng-grid-overlay .cng-card-title a:hover {
    color: #e3120b;
}

/* -----------------------------------------------------------------
   4. Design 4: Modern List Layout (list-modern)
   ----------------------------------------------------------------- */
.cng-list-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.cng-list-modern .cng-item {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cng-list-modern .cng-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cng-list-modern .cng-item-media {
    flex: 0 0 240px;
    height: 160px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 600px) {
    .cng-list-modern .cng-item {
        flex-direction: column;
    }

    .cng-list-modern .cng-item-media {
        flex: 0 0 180px;
        width: 100%;
    }
}

.cng-list-modern .cng-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cng-list-modern .cng-item:hover .cng-item-media img {
    transform: scale(1.05);
}

.cng-list-modern .cng-item-content {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.cng-list-modern .cng-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #888888;
}

.cng-list-modern .cng-badge {
    color: #e3120b;
    font-weight: 700;
}

.cng-list-modern .cng-item-title {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.cng-list-modern .cng-item-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cng-list-modern .cng-item-title a:hover {
    color: #e3120b;
}

.cng-list-modern .cng-item-excerpt {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* -----------------------------------------------------------------
   5. Design 5: Minimal List Layout (list-minimal)
   ----------------------------------------------------------------- */
.cng-list-minimal {
    display: flex;
    flex-direction: column;
    border-right: 2px solid #f0f0f0;
    padding-right: 15px;
    width: 100%;
}

.cng-list-minimal .cng-item {
    position: relative;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
    transition: padding-right 0.3s ease;
}

.cng-list-minimal .cng-item::before {
    content: '';
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #dcdcdc;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cng-list-minimal .cng-item:hover::before {
    background-color: #e3120b;
    transform: translateY(-50%) scale(1.5);
}

.cng-list-minimal .cng-item:hover {
    padding-right: 5px;
}

.cng-list-minimal .cng-item:last-child {
    border-bottom: none;
}

.cng-list-minimal .cng-item-meta {
    font-size: 0.75rem;
    color: #999999;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cng-list-minimal .cng-badge {
    color: #e3120b;
    font-weight: 500;
}

.cng-list-minimal .cng-item-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.cng-list-minimal .cng-item-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cng-list-minimal .cng-item-title a:hover {
    color: #e3120b;
}

/* -----------------------------------------------------------------
   6. Old Layouts CSS (Layout 1, Layout 2, Layout 3)
   ----------------------------------------------------------------- */
.cng-old-layout {
    width: 100%;
    margin: 0 0 30px 0;
    box-sizing: border-box;
}

.cng-old-layout * {
    box-sizing: border-box;
}

.cng-old-layout .cng-grid {
    display: grid;
    gap: 15px;
    grid-template-rows: 230px 230px;
}

/* Layout 1: Big Right, 2 Small Left */
.cng-layout-1 .cng-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.cng-layout-1 .card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.cng-layout-1 .card-small-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.cng-layout-1 .card-small-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Layout 2: Big Left, 2 Right */
.cng-layout-2 .cng-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.cng-layout-2 .card-large {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.cng-layout-2 .card-small-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.cng-layout-2 .card-small-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

/* Layout 3: Big Right, 4 Left */
.cng-layout-3 .cng-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.cng-layout-3 .card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.cng-layout-3 .card-small-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.cng-layout-3 .card-small-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.cng-layout-3 .card-small-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.cng-layout-3 .card-small-4 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Inner Card Styles */
.cng-old-layout .cng-card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    background-color: #f1f1f1;
    transition: transform 0.3s ease;
}

.cng-old-layout .cng-card:hover {
    transform: scale(1.02);
}

.cng-old-layout .cng-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.cng-old-layout .cng-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.cng-old-layout .cng-title {
    color: #ffffff !important;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    word-break: break-word;
    text-align: right;
    width: 100%;
    display: block;
}

.cng-old-layout .cng-item:not(.card-large) .cng-title {
    font-size: 15px;
    line-height: 1.4;
}

.cng-old-layout .cng-meta {
    color: #d1d5db;
    font-family: 'Economistfonts', 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    display: block;
    opacity: 1;
    margin-top: 6px;
    line-height: 1.3;
    transition: color 0.3s ease;
    width: 100%;
}

.cng-old-layout .cng-card:hover .cng-meta {
    color: #ffffff;
}

/* -----------------------------------------------------------------
   Hero Slider inside card-large (Layouts 1, 2 & 3)
   ----------------------------------------------------------------- */
.cng-old-layout .card-large {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
}

.cng-old-layout .card-large .cng-content {
    padding: 20px 20px 75px 20px; /* Space at bottom for controls bar */
}

.cng-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.cng-hero-slider-viewport {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    direction: ltr !important;
    text-align: left !important;
}

.cng-hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 100%;
    direction: ltr !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cng-hero-slide {
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: relative;
    direction: rtl !important;
}

.cng-hero-slide .cng-card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #121212;
}

/* Hero Controls at Bottom: Left Arrows & Right Pagination */
.cng-hero-controls {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: ltr !important;
    pointer-events: none;
}

.cng-hero-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

.cng-hero-btn {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e3120b;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    line-height: 1;
}

.cng-hero-btn:hover {
    background: #b50e08;
    box-shadow: 0 6px 14px rgba(227, 18, 11, 0.6);
    transform: scale(1.06);
}

.cng-hero-btn:active {
    transform: scale(0.96);
}

.cng-hero-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    display: block;
}

/* Hero Slider Dots (Capsule on the Right) */
.cng-hero-dots {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.55);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
    pointer-events: auto;
}

.cng-hero-dot {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cng-hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.cng-hero-dot.active {
    background: #e3120b;
    width: 32px;
    height: 4px;
    border-radius: 2px;
    box-shadow: 0 1px 6px rgba(227, 18, 11, 0.6);
}

/* Media Queries for old layouts */
@media (max-width: 991px) {

    .cng-layout-1 .cng-grid,
    .cng-layout-2 .cng-grid,
    .cng-layout-3 .cng-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .cng-old-layout .card-large {
        grid-column: 1 / 3 !important;
        grid-row: auto !important;
        height: 380px;
    }

    .cng-old-layout .card-small-1,
    .cng-old-layout .card-small-2,
    .cng-old-layout .card-small-3,
    .cng-old-layout .card-small-4 {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 220px;
    }
}

@media (max-width: 600px) {

    .cng-layout-1 .cng-grid,
    .cng-layout-2 .cng-grid,
    .cng-layout-3 .cng-grid {
        grid-template-columns: 1fr;
    }

    .cng-old-layout .card-large {
        grid-column: 1 / 2 !important;
        height: 380px;
    }

    .cng-old-layout .card-large .cng-content {
        padding: 16px 14px 70px 14px !important;
    }

    .cng-old-layout .card-large .cng-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .cng-old-layout .card-small-1,
    .cng-old-layout .card-small-2,
    .cng-old-layout .card-small-3,
    .cng-old-layout .card-small-4 {
        grid-column: 1 / 2 !important;
        height: 240px;
    }
}

/* -----------------------------------------------------------------
   7. News Slider Layout (slider)
   ----------------------------------------------------------------- */
.cng-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.cng-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    direction: ltr !important;
    text-align: left !important;
}

.cng-slider-track {
    display: flex;
    direction: ltr !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cng-slider-slide {
    flex-shrink: 0;
    padding: 0 10px;
    direction: ltr !important;
}

/* Card Styling inside Slider */
.cng-slider-slide .cng-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    direction: rtl !important;
    text-align: right !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cng-slider-slide .cng-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.cng-slider-slide .cng-card-media {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.cng-slider-slide .cng-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.cng-slider-slide .cng-card:hover .cng-card-media img {
    transform: scale(1.05);
}

.cng-slider-slide .cng-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e3120b;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    z-index: 2;
}

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

.cng-slider-slide .cng-card-date {
    font-size: 0.75rem;
    color: #888888;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.cng-slider-slide .cng-card-title {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.cng-slider-slide .cng-card-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cng-slider-slide .cng-card-title a:hover {
    color: #e3120b;
}

.cng-slider-slide .cng-card-excerpt {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cng-slider-slide .cng-card-footer {
    margin-top: auto;
    border-top: 1px solid #f5f5f5;
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cng-slider-slide .cng-read-more {
    color: #e3120b;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    /* Moves Read More to the left side in RTL */
    transition: all 0.3s ease;
}

.cng-slider-slide .cng-card:hover .cng-read-more {
    gap: 10px;
    color: #b50e08;
}

/* Slider Controls (Unified Pill with Card Aesthetic) */
.cng-slider-controls-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    padding: 0 10px;
    direction: ltr !important;
}

.cng-slider-controls-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    direction: ltr !important;
    background: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.cng-slider-controls-group:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cng-slider-arrows {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cng-slider-btn {
    position: static;
    transform: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
    color: #1e293b;
}

.cng-slider-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.cng-slider-btn:hover {
    background: #e3120b;
    border-color: #e3120b;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(227, 18, 11, 0.35);
    transform: scale(1.06);
}

.cng-slider-btn:hover svg {
    fill: #ffffff;
}

.cng-slider-controls-divider {
    display: block;
    width: 1px;
    height: 18px;
    background: #e2e8f0;
    margin: 0 2px;
}

/* Dots Indicator */
.cng-slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.cng-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cng-slider-dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.cng-slider-dot.active {
    background: #e3120b;
    width: 20px;
    height: 7px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(227, 18, 11, 0.35);
}

/* -----------------------------------------------------------------
   8. Infographic Layout (infographic)
   ----------------------------------------------------------------- */
.cng-infographic-header .cng-header-icon {
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
}

.cng-infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.cng-info-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.cng-info-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(227, 18, 11, 0.15);
    border-color: rgba(227, 18, 11, 0.3);
}

/* Infographic Image Area - Tall Ratio for Infographics */
.cng-info-media {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: #1a1a1a;
}

.cng-info-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.cng-info-card:hover .cng-info-media img {
    transform: scale(1.08);
}

/* Glassmorphic Overlay & Infographic Tag */
.cng-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.cng-info-card:hover .cng-info-overlay {
    background: linear-gradient(to top, rgba(227, 18, 11, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 1;
}

.cng-info-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cng-info-card:hover .cng-info-icon-badge {
    transform: scale(1.15);
    background: #ffffff;
}

.cng-info-card:hover .cng-info-icon-badge svg path {
    fill: #e3120b;
}

.cng-info-tag {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cng-info-media .cng-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e3120b;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Card Content Area */
.cng-info-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.cng-info-meta {
    font-size: 0.78rem;
    color: #888888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.cng-info-title {
    margin: 0 0 15px 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
}

.cng-info-title a {
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cng-info-title a:hover {
    color: #e3120b !important;
}

.cng-info-footer {
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cng-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    color: #e3120b !important;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    margin-right: auto;
    /* Aligns to left side in RTL */
    transition: all 0.3s ease;
}

.cng-info-card:hover .cng-info-btn {
    background: #e3120b !important;
    color: #ffffff !important;
    border-color: #e3120b !important;
    box-shadow: 0 4px 12px rgba(227, 18, 11, 0.3) !important;
}

/* -----------------------------------------------------------------
   7. Infographic Slider (infographic-slider)
   ----------------------------------------------------------------- */
.cng-info-slider-wrapper {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    direction: ltr !important; /* Ensure slider math works left-to-right */
    padding: 25px 0 15px 0 !important;
    background-color: #262626 !important; 
    border-radius: 4px !important;
}

.cng-info-title-wrap {
    direction: rtl !important;
    padding: 0 45px !important;
    margin-bottom: 18px !important;
}

.cng-info-title-wrap a {
    text-decoration: none !important;
    display: inline-block !important;
}

.cng-info-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.cng-info-title-icon {
    width: 26px !important;
    height: 26px !important;
    fill: #e3120b !important; 
}

.cng-info-slider-viewport {
    overflow: hidden !important;
    margin: 0 45px !important;
}

.cng-info-slider-track {
    display: flex !important;
    align-items: stretch !important;
}

.cng-info-slider-slide {
    padding: 0 6px !important;
    box-sizing: border-box !important;
}

.cng-info-card-slide {
    width: 100% !important;
    max-width: 400px !important;
    height: 450px !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #1a1a1a !important;
    clip-path: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.cng-info-card-slide:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.cng-info-card-slide a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.cng-info-card-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Cover space completely */
    object-position: center !important;
    display: block !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.4s ease !important;
}

.cng-info-card-slide:hover img {
    transform: scale(1.03) !important;
}

/* Arrows */
.cng-info-slider-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: #e3120b !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(227, 18, 11, 0.45) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.cng-info-slider-btn:hover {
    background: #b50e08 !important;
    box-shadow: 0 6px 16px rgba(227, 18, 11, 0.6) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.cng-info-slider-btn:active {
    transform: translateY(-50%) scale(0.96) !important;
}

.cng-info-slider-btn svg {
    width: 22px !important;
    height: 22px !important;
    fill: #ffffff !important;
    display: block !important;
}

.cng-info-prev {
    right: 12px !important;
    left: auto !important;
}

.cng-info-next {
    left: 12px !important;
    right: auto !important;
}

/* Dots */
.cng-info-slider-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 18px !important;
}

.cng-info-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #777777 !important; 
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.cng-info-dot.active {
    background-color: #e3120b !important;
    width: 20px !important;
    border-radius: 4px !important;
}

@media (max-width: 768px) {
    .cng-info-card-slide {
        height: 460px !important;
    }

    .cng-info-slider-viewport {
        margin: 0 35px !important;
    }
}
