/* ============================= */
/* Bilddarstellung in Blogansicht (z. B. "Aktuelle Angebote") */
/* =============================*/

.blog .kleinbild figure,
.view-category .kleinbild figure {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.blog .kleinbild img,
.view-category .kleinbild img {
    max-width: 180px;
    height: auto;
    display: block;
}

.blog .kleinbild figcaption,
.view-category .kleinbild figcaption {
    display: none;
}


/* ============================= */
/* Bilddarstellung in Einzelansicht (wenn man auf den Beitrag klickt) */
/* ============================= */

.view-article .kleinbild figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.view-article .kleinbild img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}


.view-article .kleinbild figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}





/*SUCHLEISTE*/
@media (max-width: 991.98px) {
  /* Elternelement nicht mehr im Flex-Zwang */
  .menu-with-offcanvas {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Modul sichtbar machen und zentrieren */
  .header-modules.d-none.d-lg-flex {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
    padding: 10px 0;
  }

  /* Formular zentrieren und begrenzen */
  .header-modules form.mod-finder-searchform {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 400px;
  }

  /* Eingabefeld maximal nutzbar, aber nicht zu groß */
  .header-modules input[type="text"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 16px;
  }
}

@media (max-width: 991.98px) {
  .header-modules input[type="text"] {
    padding: 6px 10px !important;
    font-size: 15px !important;
    height: auto !important;
    line-height: 1.3 !important;
  }

  .header-modules form.mod-finder-searchform {
    margin-bottom: 0 !important;
  }
}




