
/* استایل‌های اصلی صفحه آرشیو */
.archive-page {
  /*  background: #f3fffb;*/
	    background: rgb(186 186 186 / 60%);
    min-height: 100vh;
	margin-bottom: 25px;
		margin-top: 25px;
	
	
	padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 10px;
    padding-left: 10px;

}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumbs {
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 10px 20px;
}

.breadcrumbs-item a {
    color: white;
    text-decoration: none;
}

.breadcrumbs-item.active {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-right: .5rem;
    color: #6c757d;
    content: var(--bs-breadcrumb-divider, "/");
}


/* استایل‌های ویجت‌های سایدبار */
.sidebar-widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 25px;
}

.widget-header {
  /*  background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
	*/
    background: linear-gradient(135deg, #11bcb6 0%, #188682 100%);
    color: white;
    padding: 15px 20px;	
	border-bottom: 1px solid #e2e8f0;
	
}

.widget-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-header h4 i {
    color: #fff;
}

.widget-body {
    padding: 20px;
}

/* دسته‌بندی‌ها */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s;
    border-right: 3px solid transparent;
}

.category-list a:hover,
.category-list a.active {
    background: #11bcb6;
    color: white;
    border-right-color: #4c51bf;
}

.category-list a i {
    margin-left: 10px;
}

.category-list .badge {
    font-size: 0.8rem;
    padding: 3px 8px;
}

/* پست‌های محبوب و آخرین پست‌ها */
.popular-post-item,
.latest-post-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.popular-post-item:last-child,
.latest-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-thumb {
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s;
}

.popular-post-item:hover .post-thumb img,
.latest-post-item:hover .post-thumb img {
    transform: scale(1.1);
}

.post-info {
    flex: 1;
    margin-right: 15px;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-meta {
    font-size: 0.8rem;
    color: #718096;
}

.post-meta i {
    margin-left: 5px;
}

/* قیمت‌ها */
.price-update-item {
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.price-update-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-color: #48bb78;
}

.price-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.price-amount {
    color: #48bb78;
    font-weight: 700;
    font-size: 1.1rem;
}

/* تگ‌ها */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #11bcb6;
    color: white;
    transform: translateY(-2px);
}

.tag-item .badge {
    margin-right: 5px;
    font-size: 0.7rem;
    padding: 2px 6px;
}

/* آگهی‌ها */
.advertisement-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ad-item {
    transition: all 0.3s;
}

.ad-item:hover {
    transform: translateY(-5px);
}

.ad-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.ad-image img {
    width: 100%;
    height: auto;
	  /*  height: 150px;*/

    object-fit: cover;
    transition: transform 0.3s;
}

.ad-item:hover .ad-image img {
    transform: scale(1.05);
}

.ad-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.ad-label {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ad-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin: 10px 0 5px;
}

/* مطالب ویژه */
.featured-posts-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.featured-post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.featured-post-card .post-thumb {
    width: 100%;
    height: 180px;
    position: relative;
}

.featured-post-card .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
    font-size: 2rem;
}

.post-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.post-body {
    padding: 20px;
}

.post-category .category-link {
    font-size: 0.8rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.post-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2d3748;
    margin: 10px 0;
    line-height: 1.4;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:hover {
    color: #667eea;
}

.post-meta {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 10px;
}

.post-meta span {
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
}

.post-meta span i {
    margin-left: 5px;
}

.post-excerpt {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
}

/* پست‌های ثابت */
.pinned-posts-section {
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    border-radius: 15px;
    padding: 25px;
}

.pinned-post-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* تمام مطالب */
.all-posts-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.section-filters .btn-group .btn {
    font-size: 0.85rem;
    padding: 5px 15px;
}

.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.post-card .post-thumb {
    width: 100%;
    height: 200px;
    position: relative;
}

.format-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.post-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #718096;
}

.post-stats span {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
}

.post-stats span i {
    margin-left: 5px;
}

/* صفحه‌بندی */
.pagination .page-link {
    color: #667eea;
    border: 1px solid #e2e8f0;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 6px;
}

.pagination .page-item.active .page-link {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.pagination .page-link:hover {
    background: #f7fafc;
    border-color: #667eea;
}

/* قالب‌های محتوا */
.format-category-card {
    display: block;
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-align: center;
    border: 2px solid transparent;
}

.format-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-format {
    border-color: #f56565;
}

.video-format:hover {
    background: linear-gradient(135deg, #f56565 0%, #ed64a6 100%);
    color: white;
}

.gallery-format {
    border-color: #48bb78;
}

.gallery-format:hover {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
    color: white;
}

.audio-format {
    border-color: #4299e1;
	
}

.audio-format:hover {
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    color: white;
}

.format-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.video-format .format-icon {
    color: #f56565;
}

.gallery-format .format-icon {
    color: #48bb78;
}

.audio-format .format-icon {
    color: #4299e1;
}

.format-category-card:hover .format-icon {
    color: white !important;
}

.format-info h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.format-info p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

.format-category-card:hover .format-info p {
    color: rgba(255,255,255,0.9);
}

/* نوع پست‌ها */
.post-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.post-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-type:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.news-type:hover {
    background: linear-gradient(135deg, #f56565 0%, #ed64a6 100%);
    color: white;
    border-color: #f56565;
}

.tutorial-type:hover {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
    color: white;
    border-color: #48bb78;
}

.review-type:hover {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: white;
    border-color: #f6ad55;
}

.type-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.article-type .type-icon { color: #667eea; }
.news-type .type-icon { color: #f56565; }
.tutorial-type .type-icon { color: #48bb78; }
.review-type .type-icon { color: #f6ad55; }

.post-type-card:hover .type-icon {
    color: white !important;
}

.type-info h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.type-info small {
    font-size: 0.8rem;
    color: #718096;
}

.post-type-card:hover .type-info small {
    color: rgba(255,255,255,0.9);
}

/* رسپانسیو */
@media (max-width: 992px) {
    .page-title {
        font-size: 2rem;
    }
    
    .featured-post-card .post-thumb,
    .post-card .post-thumb {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .archive-page {
        padding: 15px;
    }
    
    .page-header {
        padding: 25px 0;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .advertisement-section,
    .featured-posts-section,
    .all-posts-section {
        padding: 15px;
    }
    
    .widget-body {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .post-card .post-thumb {
        height: 120px;
    }
    
    .featured-post-card .post-thumb {
        height: 120px;
    }
    
    .format-category-card,
    .post-type-card {
        padding: 15px;
    }
}
	
	/************************************************/
	
.text-ads-container {
margin: 2px;
    background: #e2e2e2;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.text-ads-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #11bcb6;
    padding: 11px;
}

.text-ads-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text-ad-item {
   /* display: flex;*/
    align-items: center;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s;
    border-right: 3px solid transparent;
}

.text-ad-item:hover {
    background: #11bcb6;
    color: white;
    border-right-color: #4c51bf;
    transform: translateX(-5px);
}

.text-ad-item i {
    margin-left: 10px;
}

	/**********************************************/