/* SAJA_RELATED_CARDS_IMAGE_THEN_TEXT_V1 */
.news-detail-stack .news-card-grid,
.news-feature-detail-shell .news-card-grid,
.content-feature-detail-section .news-card-grid,
.news-feature-detail-section .news-card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.news-detail-stack .news-list-card,
.news-feature-detail-shell .news-list-card,
.content-feature-detail-section .news-list-card,
.news-feature-detail-section .news-list-card,
.news-detail-stack .news-list-card-link,
.news-feature-detail-shell .news-list-card-link,
.content-feature-detail-section .news-list-card-link,
.news-feature-detail-section .news-list-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: #080808 !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    text-decoration: none !important;
    color: #fff !important;
    position: relative !important;
}

.news-detail-stack .news-list-card::before,
.news-detail-stack .news-list-card::after,
.news-feature-detail-shell .news-list-card::before,
.news-feature-detail-shell .news-list-card::after,
.content-feature-detail-section .news-list-card::before,
.content-feature-detail-section .news-list-card::after,
.news-feature-detail-section .news-list-card::before,
.news-feature-detail-section .news-list-card::after {
    display: none !important;
    content: none !important;
}

.news-detail-stack .news-list-card .card-image,
.news-feature-detail-shell .news-list-card .card-image,
.content-feature-detail-section .news-list-card .card-image,
.news-feature-detail-section .news-list-card .card-image,
.news-detail-stack .news-list-card img,
.news-feature-detail-shell .news-list-card img,
.content-feature-detail-section .news-list-card img,
.news-feature-detail-section .news-list-card img {
    position: static !important;
    width: 100% !important;
    height: 235px !important;
    min-height: 235px !important;
    max-height: 235px !important;
    flex: 0 0 235px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    transform: none !important;
}

.news-detail-stack .news-list-card .card-body,
.news-feature-detail-shell .news-list-card .card-body,
.content-feature-detail-section .news-list-card .card-body,
.news-feature-detail-section .news-list-card .card-body {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px 20px !important;
    background: #080808 !important;
    color: #fff !important;
    text-align: center !important;
    transform: none !important;
}

.news-detail-stack .news-list-card h2,
.news-detail-stack .news-list-card h3,
.news-feature-detail-shell .news-list-card h2,
.news-feature-detail-shell .news-list-card h3,
.content-feature-detail-section .news-list-card h2,
.content-feature-detail-section .news-list-card h3,
.news-feature-detail-section .news-list-card h2,
.news-feature-detail-section .news-list-card h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: clamp(20px, 1.6vw, 28px) !important;
    line-height: 1.35 !important;
    text-shadow: none !important;
    max-height: 76px !important;
}

.news-detail-stack .news-list-card p,
.news-feature-detail-shell .news-list-card p,
.content-feature-detail-section .news-list-card p,
.news-feature-detail-section .news-list-card p {
    display: none !important;
}

html[lang="ar"] .news-detail-stack .news-list-card,
html[lang="ar"] .news-feature-detail-shell .news-list-card,
html[lang="ar"] .content-feature-detail-section .news-list-card,
html[lang="ar"] .news-feature-detail-section .news-list-card {
    direction: rtl !important;
}

html[lang="en"] .news-detail-stack .news-list-card,
html[lang="en"] .news-feature-detail-shell .news-list-card,
html[lang="en"] .content-feature-detail-section .news-list-card,
html[lang="en"] .news-feature-detail-section .news-list-card {
    direction: ltr !important;
}

@media (max-width: 640px) {
    .news-detail-stack .news-card-grid,
    .news-feature-detail-shell .news-card-grid,
    .content-feature-detail-section .news-card-grid,
    .news-feature-detail-section .news-card-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .news-detail-stack .news-list-card,
    .news-feature-detail-shell .news-list-card,
    .content-feature-detail-section .news-list-card,
    .news-feature-detail-section .news-list-card,
    .news-detail-stack .news-list-card-link,
    .news-feature-detail-shell .news-list-card-link,
    .content-feature-detail-section .news-list-card-link,
    .news-feature-detail-section .news-list-card-link {
        height: 345px !important;
        min-height: 345px !important;
        max-height: 345px !important;
        border-radius: 22px !important;
    }

    .news-detail-stack .news-list-card .card-image,
    .news-feature-detail-shell .news-list-card .card-image,
    .content-feature-detail-section .news-list-card .card-image,
    .news-feature-detail-section .news-list-card .card-image,
    .news-detail-stack .news-list-card img,
    .news-feature-detail-shell .news-list-card img,
    .content-feature-detail-section .news-list-card img,
    .news-feature-detail-section .news-list-card img {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        flex-basis: 220px !important;
    }

    .news-detail-stack .news-list-card h2,
    .news-detail-stack .news-list-card h3,
    .news-feature-detail-shell .news-list-card h2,
    .news-feature-detail-shell .news-list-card h3,
    .content-feature-detail-section .news-list-card h2,
    .content-feature-detail-section .news-list-card h3,
    .news-feature-detail-section .news-list-card h2,
    .news-feature-detail-section .news-list-card h3 {
        font-size: 21px !important;
        max-height: 60px !important;
    }
}
/* SAJA_RELATED_DESKTOP_TEXT_FIX_V2 */
@media (min-width: 769px) {
    .news-detail-stack .news-card-grid,
    .news-feature-detail-shell .news-card-grid,
    .content-feature-detail-section .news-card-grid,
    .news-feature-detail-section .news-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 28px !important;
        align-items: stretch !important;
    }

    .news-detail-stack .news-list-card,
    .news-feature-detail-shell .news-list-card,
    .content-feature-detail-section .news-list-card,
    .news-feature-detail-section .news-list-card,
    .news-detail-stack .news-list-card-link,
    .news-feature-detail-shell .news-list-card-link,
    .content-feature-detail-section .news-list-card-link,
    .news-feature-detail-section .news-list-card-link {
        height: 420px !important;
        min-height: 420px !important;
        max-height: 420px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        justify-content: flex-start !important;
    }

    .news-detail-stack .news-list-card .card-image,
    .news-feature-detail-shell .news-list-card .card-image,
    .content-feature-detail-section .news-list-card .card-image,
    .news-feature-detail-section .news-list-card .card-image,
    .news-detail-stack .news-list-card img,
    .news-feature-detail-shell .news-list-card img,
    .content-feature-detail-section .news-list-card img,
    .news-feature-detail-section .news-list-card img {
        position: static !important;
        width: 100% !important;
        height: 215px !important;
        min-height: 215px !important;
        max-height: 215px !important;
        flex: 0 0 215px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        transform: none !important;
    }

    .news-detail-stack .news-list-card .card-body,
    .news-feature-detail-shell .news-list-card .card-body,
    .content-feature-detail-section .news-list-card .card-body,
    .news-feature-detail-section .news-list-card .card-body {
        position: static !important;
        inset: auto !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 22px 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #111 !important;
        overflow: hidden !important;
        transform: none !important;
    }

    .news-detail-stack .news-list-card h2,
    .news-detail-stack .news-list-card h3,
    .news-feature-detail-shell .news-list-card h2,
    .news-feature-detail-shell .news-list-card h3,
    .content-feature-detail-section .news-list-card h2,
    .content-feature-detail-section .news-list-card h3,
    .news-feature-detail-section .news-list-card h2,
    .news-feature-detail-section .news-list-card h3 {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 76px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        font-size: 22px !important;
        line-height: 1.45 !important;
        text-align: center !important;
        text-shadow: none !important;
        transform: none !important;
    }

    .news-detail-stack .news-list-card p,
    .news-feature-detail-shell .news-list-card p,
    .content-feature-detail-section .news-list-card p,
    .news-feature-detail-section .news-list-card p {
        display: none !important;
    }
}
