.so-8edf3ad5-container {
    font-family: inherit;
    color: #333;
}

.so-8edf3ad5-filters-wrapper {
    background-color: #f2ede4; /* Beige background */
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 8px; /* Added subtle radius */
}

.so-8edf3ad5-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 2rem;
    color: #000;
}

.so-8edf3ad5-filters-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.so-8edf3ad5-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 150px;
}

.so-8edf3ad5-tab-btn {
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2em;
    cursor: pointer;
    color: #555;
    padding: 0;
    outline: none;
    font-family: 'Times New Roman', serif; /* Matching visual style */
}

.so-8edf3ad5-tab-btn:hover {
    color: #000;
}

.so-8edf3ad5-tab-btn.active {
    font-weight: bold;
    color: #000;
}

.so-8edf3ad5-reset-btn {
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1em;
    cursor: pointer;
    color: #999;
    padding: 0;
    margin-top: 1rem;
    outline: none;
    font-family: inherit;
}

.so-8edf3ad5-reset-btn:hover {
    text-decoration: underline;
    color: #555;
}

.so-8edf3ad5-checkboxes-container {
    flex-grow: 1;
    max-width: 400px;
}

.so-8edf3ad5-checkbox-group {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.so-8edf3ad5-checkbox-group.active {
    display: grid;
}

.so-8edf3ad5-checkbox-group label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 1rem;
}

.so-8edf3ad5-checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    position: relative;
    border-radius: 2px;
}

.so-8edf3ad5-checkbox-group input[type="checkbox"]:checked {
    background: #555;
    border-color: #555;
}

.so-8edf3ad5-checkbox-group input[type="checkbox"]:checked + span {
    color: #333;
    font-weight: 500;
}


/* Results styling */
.so-8edf3ad5-results-wrapper {
    padding: 0 2rem;
}

.so-8edf3ad5-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.so-8edf3ad5-card {
    border: 1px solid #dcdcdc;
    padding: 2.5rem 2rem;
    background: #fff; /* White background */
    display: flex;
    flex-direction: column;
}

.so-8edf3ad5-card.hidden {
    display: none;
}

.so-8edf3ad5-card-type {
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #555;
}

.so-8edf3ad5-card-title {
    font-size: 1.6em;
    margin: 0 0 1.5rem 0;
    font-family: 'Times New Roman', serif;
    color: #000;
}

.so-8edf3ad5-card-excerpt {
    flex-grow: 1;
    margin-bottom: 2rem;
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}

.so-8edf3ad5-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.so-8edf3ad5-card-location {
    background: #e8e8e8;
    padding: 0.6rem 1.2rem;
    font-size: 0.85em;
    font-weight: 600;
    color: #333;
}

.so-8edf3ad5-card-btn {
    border: 1px solid #000;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: #000;
    border-radius: 20px; /* Pill shape */
    font-size: 0.75em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.so-8edf3ad5-card-btn:hover {
    background: #000;
    color: #fff;
}