@font-face {
  font-family: "Vazirmatn";
  src: url("https://cdn.jsdelivr.net/npm/vazirmatn@33.003/fonts/webfonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  direction: rtl;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background: #f5f7fa;
  line-height: 1.9;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
}

body {
    direction: rtl;
    font-family: Vazirmatn, Tahoma, sans-serif;
    background: #f5f6f8;
    margin: 0;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.blog-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    padding: 20px;
    transition: transform .2s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.article-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}

.single-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    padding: 30px;
}

.single-article h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.article-content {
    line-height: 2.1;
    font-size: 15px;
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    margin-bottom: 15px;
}
/* Related Articles Styles */
.related-articles {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ccc;
}
.related-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #007bff;
}
.related-articles ul {
    list-style: none;
    padding: 0;
}
.related-articles ul li {
    margin-bottom: 0.5rem;
}
.related-articles ul li a {
    text-decoration: none;
    color: #333;
}
.related-articles ul li a:hover {
    text-decoration: underline;
    color: #0056b3;
}
