#blog-view-container {
    min-height: 90vh;
    padding: 48px 0;
    background: #ffffff;
    color: #212529;
}

#blog-view-container .container {
    max-width: 1240px;
    width: 100%;
    padding: 0 20px;
}

/* Featured Article Section */
.featured-article {
    display: flex;
    margin-bottom: 64px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 50%;
    padding-right: 9px;
}

.featured-article a.featured-image-link {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding-left: 31px;
}

.category-tag {
    display: inline-block;
    background: #EFFFE9;
    color: #45A631;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
}

.category-tags-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.featured-date-wrapper {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.preview-date-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.featured-date {
    font-size: 12px !important;
    letter-spacing: 0px;
    font-family: 'Poppins';
    font-style: SemiBold;
    font-weight: 600;
    line-height: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-date i {
    font-size: 14px;
    color: #6c757d;
}

.featured-title {
    font-size: 32px !important;
    font-family: 'Glacial Indifference';
    font-style: bold;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
}

.read-article-btn {
    width: 195px;
    angle: 0 deg;
    opacity: 1;
    gap: 12px;
    padding-top: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 20px;
    border-radius: 50px;
    background: #f0f0f0;
    font-family: 'Glacial Indifference';
    font-style: bold;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0px;
    font-size: 16px;
}

.read-article-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #212529;
    text-decoration: none;
}

.read-article-btn i {
    font-size: 14px;
    color: #ffffff;
    background: #529A3A;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    rotate: -50deg;
    font-style: normal;
}

.featured-image-wrapper {
    width: 100%;
    max-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.featured-article:hover .featured-image-wrapper {
    transform: scale(1.05);
}

.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.featured-article:hover .featured-image-wrapper img {
    transform: scale(1.1);
}

/* Hover "View" overlay */
.blog-card-view-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #28a745;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Glacial Indifference', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.featured-article:hover .blog-card-view-badge,
.blog-preview-card:hover .blog-card-view-badge {
    opacity: 1;
}

/* Grid Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.blog-preview-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-preview-card:hover {
    text-decoration: none;
    color: inherit;
}

.preview-image-wrapper {
    width: 100%;
    /* max-height: 200px; */
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.blog-preview-card:hover .preview-image-wrapper {
    transform: translateY(-4px);
}

.preview-image-wrapper img {
    width: 100%;
    height: 100%;
    /* max-height: 200px; */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-preview-card:hover .preview-image-wrapper img {
    transform: scale(1.1);
}

.preview-date {
    font-size: 14px !important;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0px;
    font-family: 'Glacial Indifference';
    font-style: Regular;
    font-weight: 400;
    line-height: 100%;
}

.preview-date i {
    font-size: 14px;
    color: #6c757d;
}

.preview-title {
    font-size: 16px;
    font-family: 'Glacial Indifference';
    font-style: bold;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.pagination .page-link {
    padding: 12px 20px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #ffffff;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 40px;
    justify-content: center;
}

.pagination .page-link:hover:not(.disabled) {
    background: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.pagination .page-item.active .page-link {
    background: #28a745;
    color: #ffffff;
    border-color: #28a745;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0px;
    font-size: 14px;
    font-family: 'Glacial Indifference';
    font-style: bold;
    font-weight: 700;
}

.pagination .page-item.disabled .page-link {
    color: #9FA4A0;
    cursor: not-allowed;
    font-family: 'Glacial Indifference';
    font-style: Regular;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0px;
    font-size: 14px;
    border: 0;
    box-shadow: none;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #dee2e6;
}

.pagination .page-link[rel="prev"], .pagination .page-link[rel="next"] {
    border: 0 !important;
    padding: 0;
    padding-left: 10px;
    font-family: Glacial Indifference;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;
    background: white !important;
    color: #0A122C !important;
}

/* Search and Filter Section */
.search-filter-section {
    margin-bottom: 48px;
}

.search-filter-form {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}

.category-select-option {
    font-family: Glacial Indifference;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0px;
    
}

.search-input {
    width: 50%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #28a745;
    background: #ffffff;
}

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

.category-select-wrapper {
    flex: 0 0 auto;
    min-width: 250px;
}

.category-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-select:focus {
    outline: none;
    border-color: #28a745;
    background: #ffffff;
}

/* No blogs message */
.no-blogs {
    text-align: center;
    padding: 64px 32px;
    color: #6c757d;
}

.no-blogs i {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
    .search-filter-form {
        flex-direction: column;
    }

    .search-input-wrapper,
    .category-select-wrapper {
        width: 100%;
        min-width: 100%;
    }

    .featured-article {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .featured-title {
        font-size: 40px;
    }

    .preview-title {
        font-size: 20px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 575.98px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-title {
        font-size: 32px;
    }

    .preview-title {
        font-size: 18px;
    }
}