.cgf-container {
    width: 100%;
    margin: 20px 0;
}

.cgf-filter-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.cgf-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.cgf-btn.active,
.cgf-btn:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.cgf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    transition: opacity 0.3s ease;
}

.cgf-grid.cgf-loading {
    opacity: 0.4;
    pointer-events: none;
}

.cgf-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cgf-item a {
    display: block;
    text-decoration: none;
}

.cgf-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cgf-item:hover img {
    transform: scale(1.05);
}

.cgf-item-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    padding: 20px 15px 10px;
}

.cgf-item-hover h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
}
/* Page Template Wrapper Styles */
.cgf-page-wrapper {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.cgf-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cgf-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.cgf-page-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
