.blog-list-page {
    direction: rtl;
}

.blog-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--bs-heading-color, #1e293b);
}

.blog-subtitle {
    color: #64748b;
    font-size: 1.05rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    display: block;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.blog-card-category {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(37, 99, 235, 0.9);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.btn-read-more {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-read-more:hover {
    color: #1d4ed8;
}
