@font-face {
  font-family: Vazirmatn;
  /* src: url(Lato-Regular.ttf.woff); */
  src: url(./assets/fonts/vazirmatn/fonts/webfonts/Vazirmatn-Light.woff2);
}

html,
body {
  height: 100%;
  font-family: "Vazirmatn", sans-serif;
}

/* اعمال فونت به کل پروژه یا بخش‌های پشتو */
.lang-text{
  font-family: "Vazirmatn", sans-serif;
}


.farsi-300 {
  font-family: "Vazirmatn", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}


.farsi-400 {
  font-family: "Vazirmatn", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.farsi-600, .number {
font-family: "Vazirmatn", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  direction: rtl;
  /* unicode-bidi: isolate; */
}

body {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 600;
  /* font-size: 22px !important; */
}

p {
  text-align: justify;
  direction: rtl;
  /* unicode-bidi: plaintext; or 'embed' for some cases */
  font-family: "Vazirmatn", sans-serif;
  font-weight: 400;
  font-size: large;
}

/* Top Bar */
.top-bar {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 600; /* Regular */
  font-size: 0.85rem;
}

.top-bar .lang-bar a {
  text-decoration: none;
  font-size: 0.85rem;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500; /* Medium */
}

.top-bar .lang-bar a:hover {
  color: #bb1919;
  font-weight: 600; /* SemiBold on hover */
}
 
/* Footer */
.footer {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 400; /* Regular */
  font-size: 0.85rem;
}

.footer-links .footer-link {
  text-decoration: none;
  color: #333;
 font-family: "Vazirmatn", sans-serif;
  font-weight: 400; /* Medium for Parastoo or Light for Lato */
  transition: 0.2s;
}

.footer-links .footer-link:hover {
  color: #bb1919;
  /* text-decoration: underline; */
  font-family: "Vazirmatn", sans-serif;
  font-weight: 600; /* SemiBold on hover */
}
.btn-primary, .bg-primary{
  background-color: #c40911 !important;
  color: #fff;
}



        .news-hero {
            position: relative;
            height: 400px;
            overflow: hidden;
        }
        
        .hero-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
        }
        
        .news-detail-card {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            background: white;
            margin-top: -100px;
            position: relative;
            z-index: 3;
        }
        
        .news-sidebar {
            background: var(--light-gray);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .news-meta {
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .cart-title{
          color: #000;
          font-size: 22px;
        }
        .news-meta i {
            margin-right: 5px;
            color: var(--accent-color);
        }
        
        .news-tag {
            display: inline-block;
            background: rgba(52, 152, 219, 0.1);
            color: var(--accent-color);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-right: 8px;
            transition: all 0.3s;
        }
        
        .news-tag:hover {
            background: var(--accent-color);
            color: white;
            text-decoration: none;
        }
        
        .news-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 25px 0;
        }
        
        .news-content blockquote {
            border-left: 4px solid var(--accent-color);
            padding-left: 20px;
            margin: 25px 0;
            font-style: italic;
            color: #555;
        }
        
        .sidebar-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 20px;
            font-size: 1.4rem;
        }
        
        .sidebar-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
        }
        
        .latest-news-item {
            display: flex;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .latest-news-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .latest-news-img {
            width: 100px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
            margin-right: 15px;
        }
        
        .latest-news-content {
            flex: 1;
        }
        
        .latest-news-title {
            font-size: 22px;
            margin-bottom: 5px;
            color: black;
            transition: color 0.3s;
        }
        
        .latest-news-title:hover {
            color: var(--accent-color);
            text-decoration: none;
        }
        
        .latest-news-date {
            font-size: 0.8rem;
            color: #6c757d;
        }
        
        .social-sharing {
            display: flex;
            gap: 10px;
            margin-top: 30px;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: transform 0.3s;
        }
        
        .social-icon:hover {
            transform: translateY(-3px);
        }
        
        .facebook-bg { background: #3b5998; }
        .twitter-bg { background: #1da1f2; }
        .linkedin-bg { background: #0077b5; }
        .whatsapp-bg { background: #25d366; }
        
        .news-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }
        
        .nav-btn {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background: var(--light-gray);
            border-radius: 8px;
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .nav-btn:hover {
            background: var(--accent-color);
            color: white;
        }
        
        .nav-btn i {
            margin: 0 5px;
        }
        
        .related-news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .related-news-card {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .related-news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .related-news-img {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }
        
        .related-news-body {
            padding: 20px;
        }
        
        .related-news-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
            transition: color 0.3s;
            color: black;
        }
        
        .related-news-title:hover {
            color: var(--accent-color);
            text-decoration: none;
        }
        
        .related-news-date {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        @media (max-width: 768px) {
            .news-hero {
                height: 100px;
            }
            
            .news-detail-card {
                margin-top: -50px;
            }
            
            .latest-news-item {
                flex-direction: column;
            }
            
            .latest-news-img {
                width: 100%;
                height: 150px;
                margin-right: 0;
                margin-bottom: 15px;
            }
        }
    
 

                .nav-link,
                .dropdown-item {
                  font-size:20px;
                }
