.news-image-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 24px;
}

.news-link-indicator {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: #1d3557;
    font-size: 0.85rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, background-color 0.3s ease;
    pointer-events: none;
}

.news-image-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.news-image-card:hover img {
    transform: scale(1.1); /* تأثير بسيط للصورة عند الهوفر */
}

.news-info-box {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: white;
    padding: 15px 11px;
    transition: all 0.7s ease;
    z-index: 2;
    overflow: hidden;
    border-radius: 24px;
}

html:lang(en) .news-title {
    font-size: calc(50 / 16 * 1rem);
}

.news-h5 {
    font-weight: 700;
    font-size: calc(24 / 16 * 1rem);
    color: var(--main);
}

.news-small {
    color: var(--text);
    max-width: 856px;
    line-height: 1.5;
    font-size: 1rem;
}

.news-btn-light-custom {
    background-color: var(--sec);
    color: var(--main);
    border: none;
    width: 100%;
    padding: 10px 0;
    border-radius: 24px;
    cursor: pointer;
    font-weight: bold;
}

.news-card-link {
    text-decoration: none; /* لإزالة الخط تحت النص */
    color: inherit; /* لكي يرث النص الألوان الأصلية من الكلاسات الداخلية */
    display: block; /* ليأخذ الرابط حجم الكارت بالكامل */
}

.news-card-link:hover {
    text-decoration: none; /* التأكد من عدم ظهور خط عند تمرير الماوس */
}

.news-card-link:hover .news-link-indicator {
    transform: translateY(-2px) scale(1.08);
    background: #ffffff;
}

html:lang(ar) .news-link-indicator {
    right: auto;
    left: 0.85rem;
}
