﻿:root {
    --brand-red: #D92228;
}

/* Card */
.article-box {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(16,24,40,.06);
}

/* Two columns */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 32px;
}

/* List reset */
.article-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Full-row clickable item */
.article-item {
    display: grid;
    grid-template-columns: auto 1fr; /* icon | title (LTR) */
    align-items: center;
    column-gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none; /* no underline */
    background: transparent;
    color: #1f2937;
    transition: background .18s ease, transform .1s ease, color .18s ease;
    cursor: pointer;
}

    .article-item:hover {
        background: var(--brand-red);
        transform: translateY(-1px);
    }

        .article-item:hover .article-title,
        .article-item:hover .article-icon {
            color: #fff !important; /* text & icon turn white on hover */
        }

/* Icon */
.article-icon {
    font-size: 16px;
    opacity: .9;
    color: var(--brand-red);
}

/* Title cell */
.article-title {
    font-size: 17px;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    color: #1f2937;
}

/* Separator */
.article-sep {
    height: 1px;
    background: #eef0f3;
    margin: 6px 0 2px;
}

/* RTL: icon on the correct side, right-aligned text */
.article-box[dir="rtl"] .article-item {
    grid-template-columns: 1fr auto; /* title | icon */
    text-align: right;
}

/* Mobile (Razor requires @@) */
@media (max-width:768px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

<style >
.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

[dir="rtl"] .text-left {
    text-align: right;
}

[dir="rtl"] .text-right {
    text-align: left;
}

@media (max-width: 990px) {
    .text-left, .text-right {
        text-align: center !important;
        padding-bottom: 20px;
    }
}