/*
Theme Name: قالب مجله ای و خبری بهمن
Author: مرتضی جعفری
Description: A modern news theme for WordPress.
Version: 1.0
Text Domain: news-theme
*/

/* فونت IRANSans */
@font-face {
    font-family: 'Vazirmatn';
    src: url('assets/fonts/Vazirmatn-Medium.woff2') format('woff2'),
         url('assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
}



.popular-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.popular-post-thumbnail {
    flex: 0 0 80px;
    margin-left: 15px;
}

.popular-post-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.popular-post-content {
    flex: 1;
}

.popular-post-content a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.popular-post-content a:hover {
    color: #0073e6;
}

.post-views {
    font-size: 12px;
    color: #666;
}
/* استایل‌های مطالب مرتبط */
.related-posts {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.related-posts h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-post-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.related-post-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail img {
    width: 100%;
    height: 170px; /* ارتفاع ثابت برای همه عکس‌ها */
    object-fit: cover; /* حفظ نسبت تصویر و پر کردن فضای تعیین شده */
    border-radius: 6px; /* گرد کردن گوشه‌های عکس */
}

.related-post-title {
    font-size: 16px;
    margin: 10px;
    text-align: center;
    color: #0073e6;
}

.related-post-title a {
    text-decoration: none;
    color: inherit;
}

.related-post-title a:hover {
    color: #005bb5;
}
/* استایل‌های لینک‌ها */
.login-links, .register-links {
    margin-top: 15px;
    text-align: center;
}

.login-links a, .register-links a {
    color: #0073e6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-links a:hover, .register-links a:hover {
    color: #005bb5;
}

/* استایل‌های آیکن‌ها در منو */
.mega-menu .nav-menu li a .fas {
    margin-left: 5px; /* فاصله بین آیکن و متن */
    font-size: 16px; /* اندازه آیکن */
    color: #0073e6; /* رنگ آیکن */
}

.mega-menu .nav-menu li a:hover .fas {
    color: #005bb5; /* تغییر رنگ آیکن در حالت hover */
}

/* استایل متن منو */
.mega-menu .nav-menu li a .menu-text {
    display: inline-block; /* نمایش متن به صورت inline-block */
}

/* استایل‌های فرم تغییر اطلاعات */
#profile-form {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#profile-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

#profile-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#profile-form input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#profile-form input[type="submit"]:hover {
    background-color: #005bb5;
}
/* استایل‌های فرم‌ها */
#register-form, #login-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

#register-form label, #login-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

#register-form input, #login-form input {
    width: 100%;
    padding-left: 2px;
	   padding-top: 10px;
	   padding-bottom: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#register-form input[type="submit"], #login-form input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#register-form input[type="submit"]:hover, #login-form input[type="submit"]:hover {
    background-color: #005bb5;
}

/* استایل‌های پیام‌های خطا و موفقیت */
.error {
    color: #ff0000;
    margin-bottom: 15px;
    text-align: center;
}

.success {
    color: #008000;
    margin-bottom: 15px;
    text-align: center;
}
/* استایل‌های بخش نظرات */
.comments-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comments-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comment-author {
    font-weight: bold;
    color: #0073e6;
}

.comment-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.comment-content {
    font-size: 14px;
    color: #333;
}

.comment-respond {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comment-respond h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 1px;
    padding-right: 1px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.comment-form input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-color: #005bb5;
}

/* استایل‌های صفحه پروفایل */
.user-info {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.user-info p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
}

.user-info strong {
    color: #0073e6;
}

.login-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.login-link:hover {
    background-color: #005bb5;
}

/* هدر */
.site-header {
    background-color: #fff;
    border-top: 1px solid #dedede;
    border-bottom: 3px solid #dedede;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header-logo img {
    max-width: 150px;
    height: auto;
}

.header-banner img {
    max-width: 728px;
    height: 90px;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8f8;
}

/* منو */
.mega-menu .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 50px;
    align-items: center;
}

.mega-menu .nav-menu li {
    margin: 0 8px;
}

.mega-menu .nav-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
	
}

.mega-menu .nav-menu li a:hover {
    color: #0073e6;
}

/* آیکن‌ها */
.mega-menu .nav-menu li a .menu-icon {
    margin-right: 8px !important; /* فاصله بین آیکن و متن */
    font-size: 18px; /* اندازه آیکن */
    color: #0073e6; /* رنگ آیکن */
	
}

.mega-menu .nav-menu li a .menu-text {
    display: inline-block; /* نمایش متن به صورت inline-block */
}

/* آیکن‌های جستجو و ورود */
.header-icons {
    display: flex;
    align-items: center;
}

.header-icons a {
    margin-left: 15px;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-icons a:hover {
    color: #0073e6;
}

/* اسلایدر */
.full-width-slider {
    width: 100%;
    margin-top: 20px;
}

/* بخش اصلی محتوا */
.main-content {
    display: flex;
    margin-top: 20px;
    gap: 20px;
    padding: 0 60px 0 30px;
}

.content-area {
    width: 75%;
}

.sidebar {
    width: 25%;
}

/* بخش آخرین مطالب */
.latest-posts {
    margin-top: 20px;
}

.latest-posts .section-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #dedede;
    padding-bottom: 10px;
}

.post-item {
    display: flex;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 5px !important;
    box-shadow: 0 8px 11px rgba(0, 0, 0, .1);
    overflow: hidden;
    transition: .3s;
    background-color: #fff;
    margin-right: 60px;
}

.post-item:hover {
    box-shadow: 0 10px 13px rgba(0, 0, 0, .2);
}

.post-thumbnail {
    flex: 0 0 262px;
    margin-left: 15px;
}

.post-thumbnail img {
    width: 262px; /* عرض ثابت */
    height: 174.667px; /* ارتفاع ثابت */
    object-fit: cover; /* حفظ نسبت تصویر و پر کردن فضای تعیین شده */
    border-radius: 10px; /* گرد کردن گوشه‌های عکس */
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #0073e6;
}

.post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #005bb5;
}

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a, .pagination span {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #0073e6;
    color: #fff;
}

.pagination .current {
    background-color: #0073e6;
    color: #fff;
}

/* فوتر */
.site-footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    border-top: 1px solid #dedede;
    margin-top: 40px;
}

.footer-widgets {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.footer-widget {
    flex: 1;
    padding: 12px;
    border-radius: 5px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    overflow: hidden;
    transition: .3s;
    background-color: #fff;
}

.footer-widget:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid #dedede;
}

/* صفحه هر مطلب */
.post-thumbnail {
   position: relative;
    margin-bottom: 30px; /* فاصله بین عکس و محتوای بعدی */
}

.post-thumbnail img {
   width: 100%; /* عرض عکس ۱۰۰٪ والد خود باشد */
    height: auto; /* ارتفاع به صورت خودکار تنظیم شود */
    border-radius: 12px; /* گرد کردن گوشه‌های عکس */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* سایه ملایم برای عکس */
	
}
.post-meta-box {
    position: absolute;
    bottom: -20px; /* موقعیت کادر نسبت به عکس */
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95); /* پس‌زمینه سفید با شفافیت */
    padding: 4px;
    border-radius: 12px; /* گرد کردن گوشه‌های کادر */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* سایه ملایم برای کادر */
    border: 1px solid rgba(0, 0, 0, 0.05); /* حاشیه نازک با شفافیت */
    backdrop-filter: blur(8px); /* افکت بلور برای پس‌زمینه */
    z-index: 1;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px; /* فاصله بین آیکون و متن */
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9); /* پس‌زمینه سفید با شفافیت */
    backdrop-filter: blur(5px); /* افکت بلور */
    transition: all 0.3s ease; /* انیمیشن برای hover */
}

.meta-item:hover {
    background: rgba(0, 115, 230, 0.1); /* تغییر رنگ پس‌زمینه در hover */
    transform: translateY(-2px); /* حرکت کوچک به بالا */
}

.meta-icon {
    font-size: 16px; /* اندازه آیکون */
    color: #0073e6; /* رنگ آیکون */
}

.meta-text {
    font-weight: 500; /* وزن فونت متن */
    color: #333; /* رنگ متن */
}
.post-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 13px rgba(0, 0, 0, .1);
    margin-bottom: 20px;
}

.post-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0073e6;
}

.post-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 8px 11px rgba(0, 0, 0, .1);
    margin: 20px 0;
}

.menu-toggle {
    display: none; /* پیش‌فرض مخفی */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px; /* فاصله بین عناصر */
}

#search-form {
    display: flex;
    align-items: center;
	
}

#search-input {
    width: 200px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

#search-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

#search-button:hover {
    color: #0073e6;
}

.login-icon {
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex; /* استفاده از flex برای وسط‌چین بهتر */
    align-items: center; /* وسط‌چین عمودی */
}

.login-icon:hover {
    color: #0073e6;
}

/* استایل کلی ویجت‌ها */
.widget {
    margin-bottom: 30px;
    padding: 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073e6;
    color: #333;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: #0073e6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #005bb5;
    text-decoration: underline;
}

  .menu-close {
        display: none; /* مخفی کردن دکمه بستن */
    }


/* استایل‌های ریسپانسیو برای موبایل */
@media (max-width: 767px) {
    /* هدر */
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-logo img {
        max-width: 100%;
    }

    .header-banner img {
        max-width: 100%;
        height: auto;
    }
	
.header-icons {
        display: flex; /* نمایش آیکن ورود */
        order: 3; /* ترتیب نمایش: سوم */
    }	
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 1px;
    padding-right: 1px;
  }
	.header-left {
        order: 2; /* بخش سمت چپ به خط دوم */
        width: 100%; /* عرض کامل */
        justify-content: center; /* وسط‌چین افقی */
		margin-right: 5px; /* فاصله از سمت چپ */
        margin-top: 5px; /* فاصله از بالا */
    }
	
    .header-bottom {
        display: flex;
        flex-direction: row; /* نمایش افقی */
        align-items: center; /* وسط‌چین عمودی */
        justify-content: space-between; /* فاصله بین عناصر */
        padding: 10px; /* فاصله داخلی */
    }
.login-icon {
	       margin-right: 2px;
        font-size: 20px; /* اندازه آیکن ورود */
        color: #333; /* رنگ آیکن ورود */
        text-decoration: none; /* حذف زیرخط */
        transition: color 0.3s ease; /* انیمیشن تغییر رنگ */
    }
	
	 .login-icon:hover {
        color: #0073e6; /* تغییر رنگ در حالت hover */
    }
	
	site-header {
        background-color: #fff; /* پس‌زمینه سفید */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* سایه ملایم */
        position: fixed; /* هدر ثابت در بالای صفحه */
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000; /* اطمینان از نمایش هدر روی سایر عناصر */
    }

    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px; /* فاصله داخلی */
    }

    .header-logo img {
        max-width: 150px; /* عرض لوگو */
        height: auto;
    }
	
    /* منوی همبرگری */
    .menu-toggle {
        display: flex; /* نمایش دکمه منو */
        order: 1; /* ترتیب نمایش: اول */
    }
	
	.menu-toggle span {
        width: 25px; /* عرض خطوط */
        height: 3px; /* ارتفاع خطوط */
        background-color: #333; /* رنگ خطوط */
        margin: 4px 0; /* فاصله بین خطوط */
        transition: all 0.3s ease; /* انیمیشن */
    }
	.menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px); /* انیمیشن تبدیل به ضربدر */
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0; /* مخفی کردن خط وسط */
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px); /* انیمیشن تبدیل به ضربدر */
    }

	
	.related-posts-grid {
        grid-template-columns: repeat(1, 1fr) !important; /* فقط یک ستون در موبایل */
    }

    .related-post-item {
        display: none; /* مخفی کردن همه مطالب مرتبط */
    }

    .related-post-item:nth-child(-n+2) {
        display: block; /* نمایش فقط دو مطلب مرتبط */
    }

.post-meta-box {
        flex-direction:  ; /* نمایش عمودی در موبایل */
        align-items: flex-start;
        gap: 10px; /* فاصله بین آیتم‌ها */
        padding: 6px;
        left: 6px;
        right: 6px;
        bottom: -10px;
    }

    .meta-item {
        width: 90%; /* عرض کامل برای هر آیتم */
        padding: 6px;
    }

    .meta-icon {
        font-size: 12px; /* اندازه آیکون در موبایل */
    }

    .meta-text {
        font-size: 9px; /* اندازه متن در موبایل */
    }
    .mega-menu {
        display: none; /* مخفی کردن منو در حالت عادی */
        position: fixed; /* موقعیت ثابت برای منو */
        top: 0; /* فاصله از بالای صفحه */
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.95); /* پس‌زمینه سفید با شفافیت */
        z-index: 1000; /* اطمینان از نمایش منو روی سایر عناصر */
        padding: 20px;
        overflow-y: auto; /* امکان اسکرول منو */
        animation: slideIn 0.3s ease-in-out; /* انیمیشن باز شدن منو */
    }

    .mega-menu.active {
        display: block; /* نمایش منو وقتی فعال است */
    }
	
	@keyframes slideIn {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }
	
	/* استایل دکمه بستن */
    .menu-close {
        text-align: right; /* چینش دکمه به سمت راست */
        font-size: 24px; /* اندازه فونت دکمه */
        cursor: pointer; /* تغییر شکل نشانگر ماوس */
        padding: 10px; /* فاصله داخلی دکمه */
        color: #333; /* رنگ متن دکمه */
		 display: block; /* نمایش دکمه بستن */
    }

    .mega-menu .nav-menu {
        flex-direction: column; /* نمایش منو به صورت عمودی */
        height: auto; /* ارتفاع خودکار */
        margin-top: 20px; /* فاصله از بالای منو */
    }

    .mega-menu .nav-menu li {
      margin: 10px 0; /* فاصله بین آیتم‌های منو */
    }

    .mega-menu .nav-menu li a {
        padding: 12px; /* padding برای آیتم‌های منو */
        color: #333; /* رنگ متن آیتم‌ها */
        text-decoration: none; /* حذف زیرخط */
        display: flex; /* نمایش به صورت Flex */
        align-items: center; /* وسط‌چین عمودی */
        font-size: 16px; /* اندازه فونت آیتم‌ها */
        transition: all 0.3s ease; /* انیمیشن hover */
        border-radius: 5px; /* گرد کردن گوشه‌ها */
    }
	
	.mega-menu .nav-menu li a:hover {
        ccolor: #0073e6; /* تغییر رنگ متن در حالت hover */
        background-color: rgba(0, 115, 230, 0.1); /* پس‌زمینه روشن در حالت hover */
        border-radius: 5px; /* گرد کردن گوشه‌ها */
    }

	
	.mega-menu .nav-menu li a .menu-icon {
        margin-left: 12px; /* فاصله بین آیکن و متن */
        font-size: 18px; /* اندازه آیکن */
        color: #0073e6; /* رنگ آیکن */
    }
	
    /* محتوای اصلی */
    .main-content {
        flex-direction: column;
        padding: 0 15px;
    }

    .content-area, .sidebar {
        width: 100%;
    }

    /* پست‌ها */
    .post-item {
        flex-direction: column;
        margin-right: 0;
    }

    .post-thumbnail {
        flex: 0 0 100%;
        margin-left: 0;
        margin-bottom: 15px;
    }


    /* فوتر */
    .site-footer {
        display: none; /* پنهان کردن فوتر در موبایل */
    }
	
	

    /* فرم‌ها */
    #search-form {
       display: flex;
        order: 2; /* ترتیب نمایش: دوم */
        flex-grow: 1; /* گسترش فرم جستجو */
        margin: 0 10px; /* فاصله از منو و آیکن ورود */
        max-width: 60%; /* محدودیت عرض برای فرم جستجو */
    }

    #search-input {
	  
       width: 100%; /* عرض کامل */
        margin-right: 10px; /* فاصله از دکمه جستجو */
        border: 1px solid #ddd; /* حاشیه */
        border-radius: 5px; /* گرد کردن گوشه‌ها */
    }

    #search-button {
	    flex-shrink: 0; /* جلوگیری از کوچک شدن دکمه */
        background: none; /* حذف پس‌زمینه */
        border: none; /* حذف حاشیه */
        cursor: pointer; /* تغییر شکل نشانگر ماوس */
        font-size: 20px; /* اندازه آیکن جستجو */
        color: #333; /* رنگ آیکن جستجو */
    }
	
	#search-button:hover {
        color: #0073e6; /* تغییر رنگ آیکن جستجو در حالت hover */
    }

    /* ویجت‌ها */
    .widget {
        padding: 45px;
    }

    .widget-title {
        font-size: 16px;
    }

    .widget ul li {
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
	
}