/* ===== متغیرها ===== */
:root {
    --primary-color: #2d5016;
    --secondary-color: #c9a84c;
    --accent-color: #1a3c34;
    --cream: #f5f0e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Tahoma', 'Segoe UI', 'B Nazanin', sans-serif;
    background: var(--cream);
    color: #2d2d2d;
    line-height: 1.8;
    direction: rtl;
}
a { text-decoration: none; color: var(--primary-color); transition: all 0.3s ease; }
a:hover { color: var(--secondary-color); }

/* ===== هدر ===== */
.header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 0;
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}
.header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45, 80, 22, 0.85);
}
.header-container {
    width: 90%; max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; position: relative; z-index: 1; gap: 10px;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.header-logo { display: flex; align-items: center; }
.header-logo img {
    max-height: 65px !important; max-width: 220px !important;
    width: auto !important; height: auto !important;
    object-fit: contain !important;
    background: transparent !important; background-color: transparent !important;
    padding: 0 !important; border: none !important; border-radius: 0 !important;
    display: block !important;
}
.header-logo h1 { font-size: 26px; font-weight: 800; font-family: 'B Nazanin', 'Tahoma', sans-serif; }
.header-logo h1 span { color: var(--secondary-color); }
.header-right { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.header .date {
    font-size: 13px; background: rgba(255,255,255,0.12);
    padding: 5px 16px; border-radius: 30px; backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.header .date i { margin-left: 5px; }

/* ===== فرم جستجو ===== */
.search-form {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.15);
    border-radius: 30px; padding: 3px 3px 3px 12px;
    backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.1);
}
.search-form input {
    background: transparent; border: none; padding: 6px 10px;
    color: #fff; font-size: 13px; width: 160px; outline: none;
    font-family: 'Tahoma', sans-serif;
}
.search-form input::placeholder { color: rgba(255,255,255,0.5); }
.search-form button {
    background: var(--secondary-color); border: none; color: var(--accent-color);
    padding: 6px 14px; border-radius: 30px; cursor: pointer;
    font-size: 14px; transition: 0.3s; font-weight: 600;
}
.search-form button:hover { background: #fff; transform: scale(1.03); }
.search-form button i { margin-left: 4px; }

@media (max-width: 768px) {
    .header-container { justify-content: center; text-align: center; }
    .header-left { flex-direction: column; }
    .header-logo img { max-height: 45px !important; max-width: 140px !important; }
    .header-logo h1 { font-size: 20px; }
    .search-form input { width: 120px; font-size: 12px; }
    .search-form button { padding: 4px 12px; font-size: 12px; }
    .header .date { font-size: 11px; padding: 4px 12px; }
}
@media (max-width: 480px) {
    .search-form input { width: 80px; }
    .header-logo img { max-height: 35px !important; max-width: 100px !important; }
    .header-logo h1 { font-size: 16px; }
}

/* ===== تیکر ===== */
.ticker-wrapper {
    width: 100%; background: var(--accent-color);
    border-bottom: 2px solid var(--secondary-color);
    padding: 5px 0; overflow: hidden; position: relative;
    display: flex; align-items: center; height: 45px;
}
.ticker-label {
    flex-shrink: 0; background: var(--secondary-color); color: var(--accent-color);
    font-weight: 800; font-size: 14px; padding: 6px 20px;
    margin-right: 15px; border-radius: 30px; z-index: 2;
    font-family: 'B Nazanin', 'Tahoma', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 8px;
}
.ticker-label i { font-size: 12px; }
.ticker-container {
    flex: 1; overflow: hidden; position: relative;
    height: 100%; direction: ltr; display: flex; align-items: center;
}
.ticker-track {
    display: flex; white-space: nowrap; width: max-content !important;
    will-change: transform; transform: translate3d(0, 0, 0);
}
.ticker-group { display: flex; flex-shrink: 0; }
.ticker-item {
    display: flex; align-items: center; flex-shrink: 0;
    color: #e8e0d0; font-size: 14px; padding: 0 15px;
    direction: rtl; font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.ticker-item a { color: #e8e0d0; text-decoration: none; transition: 0.3s; }
.ticker-item a:hover { color: var(--secondary-color); }
.ticker-separator {
    color: var(--secondary-color); font-weight: bold; font-size: 18px;
    padding: 0 5px; opacity: 0.8;
}
@media (max-width: 768px) {
    .ticker-label { display: none; }
    .ticker-wrapper { height: 35px; }
    .ticker-item { font-size: 12px; }
}

/* ===== منوی ناوبری ===== */
.navbar {
    background: var(--accent-color);
    border-bottom: 3px solid var(--secondary-color);
    position: sticky; top: 0; z-index: 999;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}
.navbar .nav-container {
    width: 90%; max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; padding: 0;
}
.navbar ul {
    list-style: none; display: flex; gap: 5px; padding: 0; flex-wrap: wrap;
}
.navbar ul li { position: relative; }
.navbar ul li a {
    display: block; color: #e8e0d0; font-weight: 600; font-size: 14px;
    padding: 12px 20px; border-radius: 6px 6px 0 0;
    transition: all 0.3s ease; font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.navbar ul li a i { margin-left: 8px; width: 16px; text-align: center; }
.navbar ul li a:hover, .navbar ul li a.active {
    background: var(--secondary-color); color: var(--accent-color);
}
.navbar ul li .dropdown-menu {
    display: none; position: absolute; top: 100%; right: 0;
    background: var(--accent-color); min-width: 220px;
    border-radius: 0 0 8px 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 6px 0; border-top: 3px solid var(--secondary-color);
    opacity: 0; transform: translateY(-8px); transition: all 0.3s ease;
    pointer-events: none; z-index: 1000;
}
.navbar ul li:hover .dropdown-menu, .navbar ul li .dropdown-menu.show {
    display: block; opacity: 1; transform: translateY(0); pointer-events: auto;
}
.navbar ul li .dropdown-menu li { width: 100%; }
.navbar ul li .dropdown-menu li a {
    padding: 10px 22px; font-weight: 400; font-size: 13px;
    border-radius: 0; color: #e8e0d0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar ul li .dropdown-menu li a i { width: 20px; }
.navbar ul li .dropdown-menu li a:hover {
    background: var(--secondary-color); color: var(--accent-color); padding-right: 28px;
}
.navbar ul li .dropdown-menu li:last-child a { border-bottom: none; }
.navbar ul li.has-dropdown > a::after { content: ' ▾'; font-size: 10px; }

/* ===== همبرگری (موبایل) ===== */
.hamburger {
    display: none; background: none; border: none; color: #e8e0d0;
    font-size: 26px; cursor: pointer; padding: 5px 10px;
    transition: 0.3s; border-radius: 6px;
}
.hamburger:hover { color: var(--secondary-color); background: rgba(255,255,255,0.1); }

/* ===== منوی موبایل ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 60, 52, 0.96);
    backdrop-filter: blur(8px);
    padding: 60px 20px 30px;
    overflow-y: auto;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.mobile-menu.open {
    display: flex !important;
}
.mobile-close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
}
.mobile-close-btn:hover { color: var(--secondary-color); transform: rotate(90deg); }
.mobile-menu a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 12px 0;
    width: 80%;
    max-width: 350px;
    text-align: center;
    transition: 0.3s;
    text-decoration: none;
    font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.mobile-menu a:hover { color: var(--secondary-color); transform: translateY(-3px); }

/* ===== حالت ریسپانسیو ===== */
@media (max-width: 992px) {
    .navbar ul {
        display: none !important;
    }
    .hamburger {
        display: block !important;
    }
}
@media (min-width: 993px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ===== صفحه‌بندی ===== */
.pagination-container {
    display: flex; justify-content: center; width: 100%;
    margin-top: 30px; margin-bottom: 10px; gap: 5px; flex-wrap: wrap;
}
.page-link {
    display: inline-block; padding: 8px 16px; background: #fff;
    border: 2px solid var(--primary-color); color: var(--primary-color);
    border-radius: 6px; font-weight: 700; font-size: 14px;
    transition: all 0.3s ease; text-decoration: none; min-width: 40px; text-align: center;
}
.page-link:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.page-link.active { background: var(--secondary-color); color: var(--accent-color); border-color: var(--secondary-color); pointer-events: none; cursor: default; transform: none; }
.page-link.disabled { opacity: 0.5; pointer-events: none; cursor: default; transform: none; }
@media (max-width: 576px) { .page-link { padding: 6px 12px; font-size: 13px; min-width: 30px; } }

/* ===== ساختار اصلی ===== */
.main-container {
    width: 90%; max-width: 1280px; margin: 25px auto;
    display: flex; gap: 30px; flex-wrap: wrap;
    border: none !important; border-top: none !important; border-bottom: none !important;
}
.content { flex: 2.2; min-width: 300px; }
.sidebar { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 25px; }
.sidebar-widget {
    background: #fff; border-radius: 12px; padding: 0 0 15px 0;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06); overflow: hidden;
    border-right: 4px solid var(--secondary-color); transition: all 0.3s ease;
}
.sidebar-widget:hover { box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1); }
.sidebar-widget h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff; padding: 12px 18px; font-size: 16px; font-weight: 700;
    margin: 0; border-radius: 0; font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.sidebar-widget h3 i { margin-left: 8px; color: var(--secondary-color); }
.sidebar-widget ul { list-style: none; padding: 0 15px; }
.sidebar-widget ul li { border-bottom: 1px solid #f0ece4; padding: 10px 0; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
    color: #2d2d2d; font-size: 14px; display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 6px; transition: all 0.3s ease;
}
.sidebar-widget ul li a:hover {
    color: var(--secondary-color); background: rgba(201,168,76,0.12);
    padding-right: 14px; transform: translateX(-4px); box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sidebar-widget .badge {
    background: var(--secondary-color); color: var(--accent-color);
    font-size: 11px; font-weight: 700; padding: 1px 12px; border-radius: 30px;
    margin-right: 6px;
}
.sidebar-widget ul li a img { width: 55px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid #e8e0d0; flex-shrink: 0; background: #f0ece4; }
.sidebar-widget ul li a .no-thumb-icon { width: 55px; height: 40px; display: flex; align-items: center; justify-content: center; background: #f0ece4; border-radius: 6px; color: #b5b0a0; font-size: 18px; flex-shrink: 0; border: 1px solid #e8e0d0; }

/* ===== فوتر ===== */
.footer {
    background: var(--accent-color); color: #c5c0b0;
    padding: 40px 0 25px; margin-top: 40px; border-top: 5px solid var(--secondary-color);
}
.footer-container {
    width: 90%; max-width: 1280px; margin: 0 auto;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 50px;
}
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 {
    color: var(--secondary-color); font-size: 18px; margin-bottom: 15px;
    border-bottom: 2px solid rgba(201, 168, 76, 0.3); padding-bottom: 8px;
    display: inline-block; font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.footer-col h4 i { margin-left: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: #c5c0b0; font-size: 14px; transition: 0.3s; }
.footer-col ul li a i { margin-left: 6px; width: 18px; }
.footer-col ul li a:hover { color: var(--secondary-color); padding-right: 5px; }

/* ===== شبکه‌های اجتماعی ===== */
.footer-social {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; justify-items: center; margin-top: 10px;
}
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; background: rgba(255,255,255,0.1); color: #c5c0b0;
    border-radius: 50%; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.05); text-decoration: none;
}
.footer-social a:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 6px 25px rgba(201, 168, 76, 0.3); color: #fff; }
.footer-social a img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); transition: filter 0.3s ease; }
.footer-social a img:hover { filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(201,168,76,0.5)); }

@media (max-width: 992px) {
    .footer-container { flex-direction: column; align-items: center; gap: 40px; }
    .footer-col { text-align: center; width: 100%; max-width: 400px; }
    .footer-col ul, .footer-col p { text-align: center; margin: 0 auto; }
    .footer-col h4 { display: inline-block; }
    .footer-social { justify-items: center; margin: 0 auto; }
}

/* ===== متن پایین فوتر ===== */
.footer-bottom {
    text-align: center; padding: 25px 20px 15px; margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.07); font-size: 14px; color: #b5b0a0;
    background: rgba(0,0,0,0.2); border-radius: 0;
}
.footer-bottom p { margin: 0; line-height: 1.6; }
.footer-bottom i { color: var(--secondary-color); }

/* ===== اسلایدر اصلی ===== */
.slider-container {
    position: relative; width: 100%; height: 460px;
    border-radius: 16px; overflow: hidden; margin-bottom: 30px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    border: none !important;
}
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.9s ease-in-out;
    display: flex; align-items: flex-end; padding: 40px 50px;
    background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }
.slide::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(26, 60, 52, 0.9) 0%, transparent 60%);
}
.slide-content {
    position: relative; z-index: 2; color: #fff; max-width: 55%;
    animation: slideUp 0.8s ease forwards;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.slide-content .category-badge {
    display: inline-block; background: var(--secondary-color); color: var(--accent-color);
    padding: 4px 20px; border-radius: 30px; font-size: 12px; font-weight: 700;
    font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.slide-content .category-badge i { margin-left: 5px; }
.slide-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5); line-height: 1.3; font-family: 'B Nazanin', 'Tahoma', sans-serif; }
.slide-content h2 a { color: #fff; transition: 0.3s; }
.slide-content h2 a:hover { color: var(--secondary-color); }
.slide-content p { font-size: 16px; opacity: 0.9; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); line-height: 1.8; max-width: 80%; }
.slide-content .slide-meta { font-size: 13px; opacity: 0.6; margin-top: 10px; }
.dots {
    position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 10;
}
.dot {
    width: 14px; height: 14px; background: rgba(255,255,255,0.3);
    border-radius: 50%; cursor: pointer; transition: all 0.3s ease;
    border: 2px solid transparent;
}
.dot.active { background: var(--secondary-color); border-color: #fff; transform: scale(1.3); }
.dot:hover { background: var(--secondary-color); }

/* ===== گرید اخبار ===== */
.news-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px;
}
.news-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05); transition: all 0.4s ease;
    border: none !important;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); }
.news-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-card .no-img { width: 100%; height: 200px; background: var(--cream); display: flex; align-items: center; justify-content: center; color: #b5b0a0; font-size: 14px; }
.news-card .card-body { padding: 18px 22px 22px; }
.news-card .card-body h4 {
    font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.5;
    font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.news-card .card-body h4 a { color: #2d2d2d; }
.news-card .card-body h4 a:hover { color: var(--secondary-color); }
.news-card .card-body p { color: #6c7065; font-size: 13px; line-height: 1.8; margin-bottom: 10px; text-align: justify !important; }
.news-card .card-body .meta { color: #b5b0a0; font-size: 12px; display: flex; gap: 15px; flex-wrap: wrap; }
.news-card .card-body .meta i { margin-left: 3px; }

/* ===== جزئیات مقاله ===== */
.article-detail {
    background: #fff; padding: 35px 40px; border-radius: 16px;
    box-shadow: 0 3px 25px rgba(0, 0, 0, 0.05); border-right: 4px solid var(--secondary-color);
}
.article-detail .category-tag {
    display: inline-block; background: var(--secondary-color); color: var(--accent-color);
    padding: 4px 20px; border-radius: 30px; font-size: 12px; font-weight: 700;
    font-family: 'B Nazanin', 'Tahoma', sans-serif;
}
.article-detail .category-tag i { margin-left: 5px; }
.article-detail h1 { font-size: 28px; font-weight: 800; margin: 12px 0 10px; line-height: 1.3; color: var(--accent-color); font-family: 'B Nazanin', 'Tahoma', sans-serif; }
.article-detail .meta-info { color: #7a7a6a; font-size: 13px; display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid #f0ece4; padding-bottom: 15px; }
.article-detail .meta-info i { margin-left: 4px; }
.article-detail img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; margin-bottom: 25px; border: 3px solid var(--cream); }
.article-detail .body-text { font-size: 16px; line-height: 2.2; color: #2d2d2d; text-align: justify; }

/* ===== هدر دسته‌بندی ===== */
.category-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff; padding: 25px 30px; border-radius: 14px; margin-bottom: 25px;
    border-right: 6px solid var(--secondary-color);
}
.category-header h2 { font-size: 26px; font-weight: 800; font-family: 'B Nazanin', 'Tahoma', sans-serif; }
.category-header h2 i { margin-left: 10px; color: var(--secondary-color); }
.category-header p { opacity: 0.85; font-size: 14px; }

/* ===== گالری و ویدئو گرید ===== */
.gallery-grid, .video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.gallery-item, .video-item {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05); transition: all 0.4s ease;
    border: none !important;
}
.gallery-item:hover, .video-item:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); }
.gallery-item img, .video-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gallery-item .info, .video-item .info { padding: 15px 20px; }
.gallery-item .info h4, .video-item .info h4 { font-size: 16px; font-weight: 700; font-family: 'B Nazanin', 'Tahoma', sans-serif; }
.gallery-item .info h4 a, .video-item .info h4 a { color: #2d2d2d; }
.gallery-item .info h4 a:hover, .video-item .info h4 a:hover { color: var(--secondary-color); }
.gallery-item .info p, .video-item .info p { color: #6c7065; font-size: 13px; line-height: 1.8; }
.gallery-item .info .meta, .video-item .info .meta { color: #b5b0a0; font-size: 12px; }
.gallery-item .info .meta i, .video-item .info .meta i { margin-left: 3px; }
.video-item .play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(201,168,76,0.85);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px; transition: all 0.3s ease;
}
.video-item:hover .play-icon { background: var(--secondary-color); transform: translate(-50%, -50%) scale(1.1); }

/* ===== اسلایدر گالری ===== */
.gallery-slider {
    position: relative; width: 100%; height: 500px;
    border-radius: 16px; overflow: hidden; margin-bottom: 30px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    border: none !important;
}
.gallery-slider .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.9s ease-in-out;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 40px 50px;
}
.gallery-slider .slide.active { opacity: 1; }
.gallery-slider .slide::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(26, 60, 52, 0.8) 0%, transparent 60%);
}
.gallery-slider .slide .caption { position: relative; z-index: 2; color: #fff; }
.gallery-slider .slide .caption h3 { font-size: 24px; font-weight: 700; font-family: 'B Nazanin', 'Tahoma', sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ===== نتایج جستجو ===== */
.search-result-item {
    background: #fff; padding: 20px 25px; border-radius: 12px; margin-bottom: 15px;
    border-right: 4px solid var(--secondary-color); box-shadow: 0 2px 15px rgba(0,0,0,0.04); transition: 0.3s;
}
.search-result-item:hover { box-shadow: 0 4px 25px rgba(0,0,0,0.08); }
.search-result-item h3 { font-size: 18px; font-weight: 700; font-family: 'B Nazanin', 'Tahoma', sans-serif; }
.search-result-item h3 a { color: var(--accent-color); }
.search-result-item h3 a:hover { color: var(--secondary-color); }
.search-result-item p { color: #6c7065; font-size: 14px; margin-top: 5px; }
.search-result-item .meta { color: #b5b0a0; font-size: 12px; margin-top: 8px; }
.search-result-item .meta i { margin-left: 3px; }

/* ===== واکنش‌گرا ===== */
@media (max-width: 992px) {
    .news-grid, .gallery-grid, .video-grid { grid-template-columns: 1fr 1fr; }
    .slider-container { height: 340px; }
    .gallery-slider { height: 350px; }
    .slide-content { max-width: 80%; }
    .slide-content h2 { font-size: 24px; }
}
@media (max-width: 576px) {
    .news-grid, .gallery-grid, .video-grid { grid-template-columns: 1fr; }
    .slider-container { height: 260px; }
    .gallery-slider { height: 250px; }
    .slide-content { max-width: 95%; }
    .slide-content h2 { font-size: 18px; }
    .slide-content p { font-size: 13px; max-width: 100%; }
    .article-detail { padding: 20px; }
    .article-detail h1 { font-size: 22px; }
    .gallery-slider .slide .caption h3 { font-size: 18px; }
}