 /* ========== هدر صفحه ========== */
 
 .page-header {
     max-width: 1400px;
     margin: 0 auto 3rem;
     text-align: center;
 }
 
 .page-header h1 {
     font-size: 2.5rem;
     color: #0f2b3d;
     font-weight: 800;
     margin-bottom: 0.5rem;
 }
 
 .page-header h1 span {
     color: #dc2626;
 }
 
 .page-header .underline {
     width: 80px;
     height: 4px;
     background: #dc2626;
     margin: 0.5rem auto 1rem;
     border-radius: 4px;
 }
 
 .page-header p {
     color: #4a627a;
     font-size: 1rem;
 }
 /* ========== ساختار دو ستونی ========== */
 
 .blog-container {
     max-width: 1400px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1fr 360px;
     gap: 2rem;
 }
 /* ========== بخش اصلی مقالات ========== */
 
 .main-articles {
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }
 /* مقاله بزرگ (اولین مقاله) */
 
 .featured-article {
     background: white;
     border-radius: 28px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     transition: all 0.3s;
     text-decoration: none;
     display: block;
 }
 
 .featured-img {
     width: 100%;
     background: #f0f4f8;
     display: flex;
     align-items: center;
     justify-content: center;
     max-height: 450px;
     overflow: hidden;
 }
 
 .featured-img img {
     width: 100%;
     display: block;
 }
 
 .featured-content {
     padding: 2rem;
 }
 
 .article-category {
     display: inline-block;
     background: #fee2e2;
     color: #dc2626;
     padding: 0.3rem 1.2rem;
     border-radius: 30px;
     font-size: 0.75rem;
     font-weight: 600;
     margin-bottom: 1rem;
 }
 
 .featured-content h2 {
     font-size: 1.8rem;
     color: #0f2b3d;
     margin-bottom: 0.8rem;
 }
 
 .article-meta {
     display: flex;
     gap: 1.5rem;
     margin-bottom: 1rem;
     font-size: 0.8rem;
     color: #94a3b8;
 }
 
 .article-meta i {
     margin-left: 5px;
     color: #dc2626;
 }
 
 .featured-content p {
     color: #3a4852;
     text-align: justify;
     line-height: 1.8;
     margin-bottom: 1.5rem;
 }
 /* ========== بخش کناری (مقالات منتخب) ========== */
 
 .sidebar {
     position: sticky;
     top: 100px;
     align-self: start;
 }
 /* باکس مقالات منتخب */
 
 .selected-box {
     background: white;
     border-radius: 24px;
     padding: 1.5rem;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     margin-bottom: 2rem;
 }
 
 .selected-box h3 {
     font-size: 1.3rem;
     color: #0f2b3d;
     margin-bottom: 1rem;
     padding-bottom: 0.8rem;
     border-bottom: 2px solid #fee2e2;
     display: flex;
     align-items: center;
     gap: 10px;
 }
 
 .selected-box h3 i {
     color: #dc2626;
     font-size: 1.2rem;
 }
 
 .selected-list {
     list-style: none;
 }
 
 .selected-list li {
     margin-bottom: 1rem;
     padding-bottom: 1rem;
     border-bottom: 1px solid #f0f0f0;
 }
 
 .selected-list li:last-child {
     border-bottom: none;
     margin-bottom: 0;
     padding-bottom: 0;
 }
 
 .selected-list a {
     text-decoration: none;
     display: flex;
     gap: 12px;
     transition: all 0.2s;
 }
 
 .selected-list a:hover {
     transform: translateX(-5px);
 }
 
 .selected-img {
     width: 70px;
     height: 70px;
     background: #f0f4f8;
     border-radius: 12px;
     overflow: hidden;
     flex-shrink: 0;
 }
 
 .selected-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }
 
 .selected-info h4 {
     font-size: 0.9rem;
     color: #0f2b3d;
     margin-bottom: 0.3rem;
     line-height: 1.4;
 }
 
 .selected-info span {
     font-size: 0.7rem;
     color: #94a3b8;
     display: flex;
     align-items: center;
     gap: 5px;
 }
 
 .comment-header {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 1.8rem;
     padding-bottom: 1rem;
     border-bottom: 2px solid #fee2e2;
 }
 
 .comment-header i {
     font-size: 1.8rem;
     color: #dc2626;
 }
 
 .comment-header h3 {
     font-size: 1.5rem;
     color: #0f2b3d;
     font-weight: 700;
 }
 
 .form-group {
     margin-bottom: 1.5rem;
 }
 
 .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.5rem;
 }
 
 .form-group label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 600;
     color: #0f2b3d;
     font-size: 0.85rem;
 }
 
 .form-group label i {
     color: #dc2626;
     margin-left: 5px;
 }
 
 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 0.9rem 1rem;
     border: 1.5px solid #e2e8f0;
     border-radius: 16px;
     font-family: inherit;
     font-size: 0.9rem;
     transition: all 0.2s;
     background: #fafcff;
 }
 
 .form-group input:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: #dc2626;
     background: white;
     box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
 }
 
 .form-group textarea {
     resize: vertical;
     min-height: 130px;
 }
 
 .submit-btn {
     background: linear-gradient(135deg, #dc2626, #b91c1c);
     color: white;
     border: none;
     padding: 0.9rem 2rem;
     border-radius: 50px;
     font-size: 0.8rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s;
     display: inline-flex;
     align-items: center;
     gap: 10px;
 }
 
 .submit-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
     gap: 15px;
 }
 
 .form-note {
     font-size: 0.75rem;
     color: #94a3b8;
     margin-top: 1rem;
     text-align: center;
 }
 
 .notification-container {
     position: fixed;
     top: 30px;
     left: 30px;
     /* برای راست به چپ، از چپ میاد */
     z-index: 1000;
 }
 /* استایل خود باکس */
 
 .notification-box {
     background: #10b981;
     color: white;
     padding: 16px 24px;
     border-radius: 12px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
     font-size: 16px;
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 12px;
     min-width: 280px;
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.3);
     /* انیمیشن پیش‌فرض (پنهان) */
     transform: translateX(-150%);
     opacity: 0;
     transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
 }
 
 .comment-error-box {
     background: #b91b10;
 }
 /* کلاس active برای نمایش باکس با انیمیشن */
 
 .notification-box.active {
     transform: translateX(0);
     opacity: 1;
 }
 /* کلاس hide برای مخفی شدن با انیمیشن */
 
 .notification-box.hide {
     transform: translateX(-150%);
     opacity: 0;
 }
 /* آیکون تیک سبز */
 
 .check-icon {
     width: 24px;
     height: 24px;
     background: white;
     border-radius: 50%;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     color: #10b981;
     font-weight: bold;
     font-size: 16px;
 }
 /* دکمه بستن */
 
 .close-btn {
     background: rgba(255, 255, 255, 0.2);
     border: none;
     color: white;
     cursor: pointer;
     font-size: 18px;
     border-radius: 50%;
     width: 24px;
     height: 24px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     transition: background 0.2s;
     margin-right: auto;
 }
 
 .close-btn:hover {
     background: rgba(255, 255, 255, 0.4);
 }
 
 .message-text {
     flex: 1;
 }
 
 tbody tr td {
     padding: 0px 20px;
     border: 1px solid #e5dbdb;
 }
 /* ریسپانسیو */
 
 @media (max-width: 992px) {
     .blog-container {
         grid-template-columns: 1fr;
     }
     .sidebar {
         position: static;
     }
     .articles-grid {
         grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     }
     .form-row {
         grid-template-columns: 1fr;
         gap: 1rem;
     }
 }
 
 @media (max-width: 768px) {
     .featured-content h2 {
         font-size: 1.4rem;
     }
     .featured-content {
         padding: 1.5rem;
     }
     .article-meta {
         flex-wrap: wrap;
         gap: 0.8rem;
     }
     .comment-section {
         padding: 1.5rem;
     }
 }