.andelsgaarde-arrangementer-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.andelsgaarde-filter-felt {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    flex: 1 1 180px;
}

.andelsgaarde-filter-felt label {
    font-size: 0.8rem;
    font-weight: 600;
}

.andelsgaarde-filter-felt select {
    width: 100%;
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23405143' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 10px 7px;
}

.andelsgaarde-filter-reset {
    justify-content: flex-end;
}

.andelsgaarde-filter-reset button {
    width: 100%;
    max-width: 200px;
    padding: 8px 18px !important;
    background-color: #E9A8FF !important;
    color: #000 !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    border-radius: 5px;
    border: none!important;
}

.andelsgaarde-arrangementer-status {
    font-size: 0.85rem;
    color: #fff;
    min-height: 1.2em;
}

.andelsgaarde-arrangementer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .andelsgaarde-arrangementer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .andelsgaarde-arrangementer-grid { grid-template-columns: 1fr; }
}

.andelsgaarde-arrangement-kort {
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.andelsgaarde-arrangement-kort-billede {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 20px 20px 0;
}

.andelsgaarde-arrangement-kort-billede img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.andelsgaarde-arrangement-kort-billede-placeholder {
    width: 100%;
    height: 100%;
    background: #e8e8e2;
}

.andelsgaarde-arrangement-kort-indhold {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.andelsgaarde-arrangement-kort-titel { margin: 0; font-size: 1.3rem; color: #000;}
.andelsgaarde-arrangement-kort-titel a { text-decoration: none; color: #000;}
.andelsgaarde-arrangement-kort-tid { font-weight: 600; margin: 0; color: #000;}
.andelsgaarde-arrangement-kort-intro { margin: 0; color: #555; }

.andelsgaarde-arrangement-kort-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #666;
}

.andelsgaarde-arrangement-kort-knap {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    background: #405143;
    color: #fff!important;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.andelsgaarde-arrangementer-loadmore-wrapper { text-align: center; margin-top: 2rem; }

.andelsgaarde-arrangementer-loadmore-wrapper button { 
    width: 100%;
    max-width: 200px;
    padding: 8px 18px !important;
    background-color: #E9A8FF !important;
    color: #000 !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    border-radius: 50px 50px 50px 50px;
    border: none!important;
}

.andelsgaarde-arrangementer-loadmore {
    padding: 0.75rem 2rem;
    background: #405143;
    color: #fff;
    border: none;
    cursor: pointer;
}


.andelsgaarde-arrangement-kort-meta button.andelsgaarde-meta-filter {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.andelsgaarde-arrangement-kort-meta button.andelsgaarde-meta-filter:hover,
.andelsgaarde-arrangement-kort-meta button.andelsgaarde-meta-filter:focus-visible {
    color: #405143;
    text-decoration-color: currentColor;
}

.andelsgaarde-arrangementer-loadmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.andelsgaarde-arrangementer-loadmore.is-loading .andelsgaarde-spinner {
    margin-left: 0.5rem;
}

.andelsgaarde-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: andelsgaarde-spin 0.6s linear infinite;
}

@keyframes andelsgaarde-spin {
    to {
        transform: rotate(360deg);
    }
}