.gallery-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.series-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 40px;

}

.series-nav-btn {
    padding: 12px 24px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.series-nav-btn:hover {
    background: #f0f0f0;
    border-color: #1F3E5D;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.series-nav-btn.active {
    background: #1F3E5D;
    color: white;
    border-color: #1F3E5D;
    box-shadow: 0 6px 15px rgba(1, 20, 78, 0.2);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
}

.section-header h1 {
    font-size: 36px;
    color: #1F3E5D;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.image-counter {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 500;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.grid-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #1F3E5D;
}

.image-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}



.image-info {
    padding: 20px;
}

.image-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.image-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.category-tag {
    display: none;
}

.series-tag {
    display: none;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-message i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-message h3 {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

.empty-message p {
    font-size: 16px;
    color: #999;
}

@media (max-width: 768px) {
    .series-navigation {
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
		 -webkit-overflow-scrolling: touch;
    }
    
    .series-nav-btn {
        min-width: 100px;
        padding: 10px 18px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .section-header h1 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .image-container {
        height: 180px;
    }
    
    .image-info {
        padding: 15px;
    }
    
    .image-info h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .series-navigation {
        gap: 8px;
    }
    
    .series-nav-btn {
        min-width: 90px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .image-container {
        height: 150px;
    }
    
    .category-tag,
    .series-tag {
        font-size: 10px;
        padding: 4px 8px;
    }
}

