.pco-groups-filters {
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin: 3em auto 2em auto;
    padding: 0 1em;
    box-sizing: border-box;
}

.pco-groups-filters select,
.pco-groups-filters input[type="text"] {
    appearance: none;
    background-color: #f8f9fb;
    color: #2c3e50;
    padding: 1em 1.25em;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.07);
    width: auto;
    max-width: none;
    flex: 1 1 0;
    min-width: 0;
    transition: all 0.2s ease;
}

.pco-groups-filters select {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23444' d='M70 85.6 32.8 48.4 48.4 32.8 70 54.4 91.6 32.8 107.2 48.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 0.9em;
    padding-right: 2.5em;
}

.pco-groups-filters select:focus,
.pco-groups-filters input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 75, 110, 0.25);
}

.pco-groups-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5em;
    padding: 0 1em;
}

.pco-group-card {
    background: var(--pco-group-bg, #fff);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1.5px 4px rgba(0,0,0,0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
    text-align: left;
    position: relative;
    cursor: pointer;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.pco-group-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
    z-index: 2;
}

.pco-group-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px 18px 0 0 !important;
    background-color: #eee;
    display: block;
}

.pco-group-card h3 {
    font-size: 1.25em;
    font-weight: 700;
    margin: 0.9em 0 0.4em 0;
    padding: 0 1.1em;
    color: var(--pco-group-title, #1a1a1a);
    line-height: 1.2;
}

.pco-group-card .desc {
    color: var(--pco-group-text, #6b6b6b);
    font-size: 0.95em;
    line-height: 1.45;
    margin: 0 0 1em 0;
    padding: 0 1.1em;
}


.meta-location {
    display: flex;
    align-items: center;
    color: #444;
    font-size: 0.95em;
    font-weight: 400;
    line-height: 1.4;
    margin: 0.9em 0 0.4em 0;
    padding: 0 1.1em;
}

.meta-location::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23444' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.meta-recurrence {
    color: var(--pco-group-text, #6b6b6b);
    font-size: 0.95em;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 0.9em 0;
    padding: 0 1.1em;
}

.pco-group-card .meta {
    margin-top: auto;
    padding: 0 1.1em 1.1em 1.1em;
}

@media (max-width: 600px) {
    .pco-groups-list {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    .pco-group-card {
        min-height: unset;
    }
    .pco-group-image img {
        height: 140px;
    }
    .pco-groups-filters {
        flex-direction: column;
        align-items: stretch;
    }
}