body {
	background:url(../img/bgmain.jpg);
	background-repeat:no-repeat;
	background-size:100%;
}
.archive-title {
	color:#01A29C;
	font-weight: 700;
	margin-bottom:20px;
	font-size:48px;
}

.tag {
	/* color:#01A29C; */
	/* background:rgba(1, 162, 156, 0.1); */
}

/* FIXED PAGINATION STYLES */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 0;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers.dots {
    padding: 8px 4px;
    color: #6c757d;
    pointer-events: none;
}



.taxonomy-archive {
    min-height: 100vh;
    /* padding: 40px 0 60px; */
    padding: 0px 0 60px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 30px;
}

.breadcrumb-nav a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover { color: #0066cc; }

.breadcrumb-nav .current {
    color: #0066cc;
    font-weight: 600;
}


/* Featured Post Hero */
.featured-post-hero {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 52% 48%;
    gap: 0;
    min-height: 400px;
}

.featured-content {
	padding: 0px 50px;
	display: block;
	align-items: center;
	align-self: center;
}

.featured-category {
    display: inline-block;
    background-color: #e7f3ff;
    color: #0066cc;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
   /* margin-bottom: 20px;*/
}

.featured-subtitle {
    font-size: 16px;
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-title {
    font-weight: 700;
    margin-bottom: 15px;
	line-height: 1.1;
}

.featured-hashtag {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 20px;
}

.featured-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, #00a19a 0%, #0066cc 100%);
    overflow: hidden;
	border-radius: 16px;
	    display: flex;
    align-items: center;
	justify-content: center;
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
	max-height: 400px;
}

.featured-excerpt-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.featured-excerpt-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.featured-excerpt-text {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #868e96;
    margin-bottom: 20px;
}

/* Filters Section */
.filters-section {
    padding: 20px 0px 0px;
    margin-bottom: 40px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-dropdowns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 400;
    color: #868e96;

    text-transform: uppercase;
}

.filter-select {
    padding: 10px 35px 10px 15px;
    border-radius: 999px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230066cc' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    min-width: 180px;
    appearance: none;
	border-color:#e7e7e7;
}

.filter-select:focus {
    outline: none;
    border-color: #00a19a;
}

.search-box { margin-left: auto;    position: relative; }

.search-form {
    position: relative;
    display: flex;
}

.search-input {
    padding: 10px 45px 10px 15px;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    font-size: 14px;
    width: 300px;
    transition: all 0.3s;
	border-radius:999px;
	
}

.search-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-input::placeholder { color: #adb5bd; }

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #868e96;
    padding: 8px 12px;
    cursor: pointer;
    transition: color 0.3s;
}

.search-button:hover { color: #0066cc; }

/* Post Cards */
.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.post-thumbnail {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    /* background-color: #e9ecef; */
    background-color: #1a1a1a;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position:center center;
}

.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
	    align-items: flex-start;
}

.category-badge {
    display: inline-block;
    background-color: #e7f3ff;
    color: #0066cc;
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 11px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.post-title {
    font-size: 20px;
    font-weight: 600;
    /* color: #2c3e50; */
    margin-bottom: 12px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt {
    font-size: 15px;
    /* color: #6c757d; */
	color: #79797A;
    line-height: 1.28;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #868e96;
    padding-top: 15px;
    border-top: 1px solid #f1f3f5;
}

.post-stats { display: flex; gap: 12px; }

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    border: 2px solid #0066cc;
    color: #0066cc;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 15px;
}

.read-more-btn:hover {
    background-color: #0066cc;
    color: white;
}

.pagination { 
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #2B343B;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

/* Page numbers in the middle */
.pagination .page-numbers:not(.prev):not(.next) {
/*min-width: 24px; */
    padding: 10px 10px;
}

.pagination .page-numbers:not(.prev):not(.next):hover {
    color: #8AC646;
}

.pagination .page-numbers.current {
    color: #8AC646;
    font-weight: 600;
    line-height: 24px;
}

/* Previous and Next buttons */
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    color: #8AC646;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    color: #7AB536;
}

.pagination .page-numbers.disabled {
    color: #BEBEBE;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    cursor: not-allowed;
    pointer-events: none;
}

/* Container for page numbers in the middle */
.pagination-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.no-posts i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

a { text-decoration: none; color: inherit; }

@media (max-width: 992px) {
    .featured-post-hero { grid-template-columns: 1fr; }
    .featured-image-wrapper { min-height: 300px; }
}

@media (max-width: 768px) {
    .archive-title { font-size: 32px; }
    .featured-content { padding: 30px; }
    .featured-title { font-size: 28px; }
    .filter-bar { flex-direction: column; }
    .search-box { margin-left: 0; width: 100%; }
    .search-input { width: 100%; }
	.page-numbers.hide-mobile {
        display: none;
    }
	 .pagination {
        gap: 4px;
        padding: 0 10px;
    }
    
    .pagination-numbers {
        gap: 2px;
    }
    
    .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 8px;
        font-size: 14px;
    }
    
    .page-numbers.prev,
    .page-numbers.next {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .page-numbers.prev i,
    .page-numbers.next i {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .pagination {
        gap: 2px;
    }
    
    .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 6px;
        font-size: 13px;
    }
    
    .page-numbers.prev span,
    .page-numbers.next span {
        display: none;
    }
    
    .page-numbers.prev,
    .page-numbers.next {
        padding: 6px 10px;
    }
}