.custom-grid-wrapper {
    margin: 20px 0;
    font-family: inherit;
}
.custom-grid-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}
.custom-grid-filter-btn {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    padding: 5px 0;
    text-transform: uppercase;
    transition: color 0.3s;
}
.custom-grid-filter-btn:hover,
.custom-grid-filter-btn.active {
    color: #1a2b49; /* adjust active color if needed */
}

.custom-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.custom-grid-item {
    display: block; 
    margin-bottom: 20px;
}

.custom-grid-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.custom-grid-image-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 15px;
}

.custom-grid-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.custom-grid-item:hover .custom-grid-image-wrapper img {
    transform: scale(1.03);
}

.custom-grid-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2b49;
    margin: 0;
    text-align: left;
}
