/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/


/* Startseite > Beitragsübersicht > Zwei Spalten START ----------------------------------------------------------------------------- */
/* Wrapper für zentrierten Inhaltsbereich */
/* Seitenvorschau: Bereich begrenzen */
.bm-page-preview-wrapper .container {
    max-width: 760px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* Wichtig: Enfold clearfix-Pseudo-Elemente aus dem Grid entfernen */
.bm-page-preview-wrapper .entry-content-wrapper::before,
.bm-page-preview-wrapper .entry-content-wrapper::after {
    content: none !important;
    display: none !important;
}

/* Zwei-Spalten-Grid */
.bm-page-preview-wrapper .entry-content-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

/* Enfold-Spaltenlogik neutralisieren */
.bm-page-preview-wrapper .entry-content-wrapper>.flex_column {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    clear: none !important;
    box-sizing: border-box;
}

/* Karte */
.bm-page-preview-wrapper .entry-content-wrapper>.flex_column {
    /*
    border: 1px solid #ddd;
    background: #fff;
    padding: 24px;
    */
}

/* Bild voll breit */
.bm-page-preview-wrapper .avia-image-container,
.bm-page-preview-wrapper .avia-image-container-inner,
.bm-page-preview-wrapper .avia-image-overlay-wrap {
    width: 100%;
}

.bm-page-preview-wrapper img.avia_image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Bildabstand */
.bm-page-preview-wrapper .avia-image-container {
    margin-bottom: 18px;
}

/* Titel */
.bm-page-preview-wrapper .flex_column>.av_textblock_section:first-of-type .avia_textblock p {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 12px;
}

/* Beschreibung */
.bm-page-preview-wrapper .flex_column>.av_textblock_section:nth-of-type(2) .avia_textblock p {
    margin: 0 0 20px;
}

.bm-page-preview-wrapper .avia-button-wrap {
    text-align: left;
    margin-top: 20px;
}

.bm-page-preview-wrapper .avia-button-wrap .avia-button {
    background: #fff !important;
    color: inherit !important;
    border: 1px solid currentColor !important;
    padding: 5px 10px !important;
    min-width: 0 !important;
    line-height: 1.3 !important;
}

.bm-page-preview-wrapper .avia-button-wrap .avia-button:hover {
    background: #fff !important;
    color: inherit !important;
    border-color: currentColor !important;
}


/* Mobil */
@media (max-width: 767px) {
    .bm-page-preview-wrapper .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bm-page-preview-wrapper .entry-content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Startseite > Beitragsübersicht > Zwei Spalten END ----------------------------------------------------------------------------- */