/* Breadcrumb */
.breadcrumb {
	background-color: transparent;
	padding: 10px 0;
}

.breadcrumb-item a {
	color: var(--primary-color);
	text-decoration: none;
}

/* Archive Header */
.archive-header {
	background: linear-gradient(rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.8)), url('https://cdn.sarvjobs.com/uploads/1404/08/13/sarvjobs.com_14040813193112_600604232.jpg') center/cover no-repeat;
	color: white;
	padding: 40px 0;
	margin-bottom: 30px;
	border-radius: 10px;
}

.archive-title {
	font-weight: 700;
	margin-bottom: 10px;
}

/* Sidebar */
.sidebar {
	background: white;
	border-radius: 10px;
	padding: 25px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	margin-bottom: 30px;
}

.sidebar-title {
	color: var(--primary-color);
	font-weight: 600;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary-light);
}

.sidebar-search {
	margin-bottom: 25px;
}

.form-control:focus {
	border-color: var(--primary-light);
	box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

.categories-list, .tags-list {
	list-style: none;
	padding: 0;
	margin-bottom: 25px;
}

.categories-list li, .tags-list li {
	margin-bottom: 10px;
}

.categories-list a, .tags-list a {
	color: var(--text-color);
	text-decoration: none;
	transition: all 0.3s;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.categories-list a:hover, .tags-list a:hover {
	color: var(--primary-color);
	transform: translateX(-5px);
}

.categories-list .badge, .tags-list .badge {
	background-color: rgba(46, 125, 50, 0.1);
	color: var(--primary-color);
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tags-list li {
	margin-bottom: 5px;
}

.tags-list a {
	background-color: #f0f0f0;
	color: var(--text-color);
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
}

.tags-list a:hover {
	background-color: var(--primary-color);
	color: white;
	transform: translateY(-3px);
}

.recent-posts {
	list-style: none;
	padding: 0;
}

.recent-post {
	display: flex;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.recent-post:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.recent-post-img {
	width: 70px;
	height: 70px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	margin-left: 15px;
	flex-shrink: 0;
}

.recent-post-content {
	flex: 1;
}

.recent-post-title {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 5px;
}

.recent-post-title a {
	color: var(--text-color);
	text-decoration: none;
}

.recent-post-title a:hover {
	color: var(--primary-color);
}

.recent-post-date {
	font-size: 0.8rem;
	color: var(--light-text);
}

/* Articles Grid */
.articles-grid {
	margin-bottom: 40px;
}

.article-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
	height: 100%;
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
}

.article-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.article-image {
	height: 200px;
	background-color: #f5f5f5;
	background-size: cover;
	background-position: center;
	position: relative;
}

.article-category {
	position: absolute;
	top: 15px;
	right: 15px;
	background-color: var(--primary-color);
	color: white;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
}

.article-content {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.article-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.4;
}

.article-title a {
	color: var(--text-color);
	text-decoration: none;
	transition: color 0.3s;
}

.article-title a:hover {
	color: var(--primary-color);
}

.article-excerpt {
	color: var(--light-text);
	margin-bottom: 20px;
	line-height: 1.6;
	flex: 1;
}

.article-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

.article-date {
	color: var(--light-text);
	font-size: 0.85rem;
}

.article-read-more {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	transition: all 0.3s;
}

.article-read-more:hover {
	color: var(--primary-dark);
	transform: translateX(-5px);
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
	display: none;
	margin-bottom: 20px;
}

/* Offcanvas */
.offcanvas-header {
	border-bottom: 1px solid #dee2e6;
}

.offcanvas-title {
	color: var(--primary-color);
	font-weight: 600;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
	margin-bottom: 30px;
}

.page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    direction: rtl;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a, 
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-numbers a {
    color: var(--primary-color);
    background-color: white;
}

.page-numbers a:hover {
    color: var(--primary-dark);
    background-color: #f8f9fa;
    border-color: var(--primary-light);
}

.page-numbers .current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
	.mobile-sidebar-toggle {
		display: block;
	}
	
	.sidebar {
		display: none;
	}
}

@media (max-width: 768px) {
	.archive-header {
		padding: 30px 0;
	}
	
	.article-image {
		height: 180px;
	}
}

@media (max-width: 576px) {
	.article-content {
		padding: 20px;
	}
}