.me-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    background-color: var(--wp--preset--color--custom-sp-rot);
    gap: 0.5rem;
}

.me-filter-bar input[type="checkbox"] {
    display: none;
}

.me-filter-bar input[type="checkbox"]+label {
    background-color: var(--wp--preset--color--custom-sp-rot);
    color: white;
    border: 1px solid white;
    display: inline-block;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
}

.me-filter-bar input[type="checkbox"]:checked+label {
    background-color: white;
    color: var(--wp--preset--color--custom-sp-rot);
    border: 1px solid var(--wp--preset--color--custom-sp-rot);
}

.me-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.me-post {
    display: flex;
    flex-direction: column;
    background-color: var(--wp--preset--color--custom-sp-rot);
    color: white;
    box-sizing: border-box;
}

.me-post-image img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    object-fit: cover;
}

.me-post-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
}

.me-post-content h2 {
    margin: 0;
    color: white;
}

.me-post-link {
    display: block;
    background-color: white;
    color: var(--wp--preset--color--custom-sp-rot);
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}