/* BOK Overview Pages Styles */
.bok-overview-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}

/* Filters */
.bok-filters {
    display: none !important;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
}

.bok-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bok-filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.bok-filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    font-size: 14px;
    min-width: 180px;
}

/* Grid Layout */
.bok-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

/* Post Cards */
.bok-post-card {
    background: #ffffff;
    border-radius: 1.875rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 300px;
}

.bok-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bok-post-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.bok-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bok-post-card:hover .bok-post-image img {
    transform: scale(1.05);
}

.bok-no-image {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 48px;
}

/* Post Content */
.bok-post-content {
    padding: 15px 25px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bok-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bok-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}
.bok-categories i {
    color: #C2A777 !important;
}

.bok-categories i {
    color: #007cba;
}

.bok-post-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.bok-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bok-post-title a:hover {
    color: #007cba;
}

.bok-post-excerpt {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bok-read-more {
    display: inline-flex;
    align-items: center;
    color: #007cba;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.bok-read-more:hover {
    color: #005a87;
}

.bok-read-more i {
    margin-left: 5px;
    font-size: 12px;
}

/* Loading State */
.bok-loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
}

/* Pagination Styles */
.bok-pagination {
    margin-top: 40px;
    margin-bottom: 20px;
}

.bok-pagination-nav {
    display: flex;
    justify-content: center;
}

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

.bok-page-item {
    margin: 0;
}

.bok-page-item a,
.bok-page-item .current {
    display: inline-block;
    padding: 12px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.bok-pagination .page-numbers {
    background-color: #C2A777 !important;
}
.bok-pagination .page-numbers:hover {
    background-color: #fff !important;
}
.bok-page-item a:hover {
    background-color: #C2A777;
    color: white;
    border-color: #C2A777;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.2);
}

.bok-page-item.active a,
.bok-page-item .current {
    background-color: #C2A777;
    color: white;
    border-color: #C2A777;
    font-weight: 600;
}

.bok-page-item .dots {
    padding: 12px 8px;
    color: #fff;
    border: none;
    background: none;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .bok-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .bok-overview-container {
        padding: 15px;
    }
    
    .bok-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .bok-filter-group select {
        min-width: 100%;
    }
    
    .bok-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
        gap: 20px;
        justify-content: center;
    }
    
    .bok-post-image {
        height: 200px;
    }
    
    .bok-post-content {
        padding: 20px;
    }
    
    .bok-post-title {
        font-size: 18px;
    }
    
    .bok-post-card {
        background-color: #ffffff;
        border-radius: 1.875rem;
    }
}

@media (max-width: 480px) {
    .bok-post-card {
        border-radius: 15px;
    }
    
    .bok-post-content {
        padding: 15px;
        gap: 12px;
    }
    
    .bok-post-title {
        font-size: 16px;
    }
    
    .bok-post-image {
        height: 180px;
    }
}

/* Animation for content changes */
.bok-posts-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.bok-posts-grid {
    transition: opacity 0.3s ease;
}

/* Clean modern look */
* {
    box-sizing: border-box;
}

.bok-overview-container * {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}