/* Desktop Suche */

.mls-wrapper {
    background: #094a6a;
    padding: 20px;
}

/* CONTAINER */
.mls-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

/* FELDER */
.mls-container input,
.mls-container select {
    padding: 10px;
    height: 42px;
    border-radius: 20px;
    width: 220px;
    box-sizing: border-box;
    text-align: center;
}

/* BUTTON */
#mls-search-btn {
    width: 70px;
    margin-left: 10px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

/* GRID */
.mls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* CARD */
.mls-card {
    background: #094a6a;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    overflow: hidden;
}

.mls-image img {
    width: 100%;
}

.mls-card-content {
    padding: 15px;
}

.mls-date {
    color: #ffffff;
    font-size: 12px;
}

.mls-title {
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}

.mls-category-btn {
    background: #0f729e;
    color: #ffffff;
    border-radius: 20px;
    padding: 4px 8px;
    font-size: 11px;
    margin: 3px;
    border: none;
    cursor: pointer;
}

.mls-excerpt {
    margin-top: 10px;
}

/* SELECT FIX */
#mls-category {
    appearance: none;
    background: #ffffff;
    padding-right: 30px;
    border: none;
}

/* =========================
   PAGINATION PRO FINAL
========================= */

.mls-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Standard Buttons */
.mls-page-btn {
    padding: 16px 22px;
    background: #0f729e;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    min-width: 50px;
    transition: all 0.2s ease;
}

/* Hover Effekt */
.mls-page-btn:hover {
    background: #0c5d80;
    transform: translateY(-2px);
}

/* Aktive Seite */
.mls-page-btn.active {
    background: #ffffff;
    color: #0f729e;
    transform: scale(1.1);
}

/* Pfeile */
.mls-prev,
.mls-next,
.mls-first,
.mls-last {
    font-size: 18px;
    font-weight: bold;
}

/* Punkte */
.mls-dots {
    color: #ffffff;
    font-size: 18px;
    padding: 0 6px;
}

/* Mobile Fallback */
@media (max-width: 768px) {
    .mls-page-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}
/* =========================
   IMAGE HOVER ZOOM
========================= */

/* Container fixieren */
.mls-image {
    display: block;
    overflow: hidden;
}

/* Bild vorbereiten */
.mls-image img {
    transition: transform 0.4s ease;
}

/* Hover Effekt */
.mls-image:hover img {
    transform: scale(1.08);
}
/* =========================
   RESET BUTTON (X)
========================= */

#mls-reset-btn {
    width: 42px;
    height: 42px;
    background: #0f729e;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mls-reset-btn:hover {
    background: #0c5d80;
}
/* =========================
   RESULT COUNT
========================= */

.mls-result-count {
    min-height: 34px;
    padding: 0 16px;
    background: #0f729e;
    color: #ffffff;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}