/* Layout-spezifische Styles importieren */
@import url("big-left.css");
@import url("big-right.css");
@import url("big-middle.css");
@import url("list-layout.css");

.beitragsgruppen-liste {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.beitragsgruppen-liste .titel {
    margin-bottom: 17px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    font-family: "Open Sans", Arial, sans-serif !important;
    padding: 0;
}

.beitragsgruppen-liste .titel a:hover {
    color: #d32f2f;
}

.beitragsgruppe-row {
    margin-bottom: 20px;
    border-bottom: 2px solid #000000;
    padding-bottom: 20px;
}

.beitragsgruppe-row > div .beitrag-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.beitragsgruppe-row:last-child {
    border-bottom: none;
}

.beitragsgruppe-row .titel {
    font-size: 28px;
    font-weight: bold;
    color: #d32f2f;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d32f2f;
}

/* Beitrag-Container */
.beitrag-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    gap: 20px;
    border-bottom: #dddddd 2px solid;
    padding-bottom: 20px;
}

.beitrag-item:last-child {
    margin-bottom: 0;
}

/* Bild-Container */
.beitrag-image {
    flex: 0 0 25%;
}

.beitrag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text-Container */
.beitrag-content {
    flex: 1;
    min-width: 0;
}

.beitrag-content h4 {
    font-family: "Open Sans", Arial, sans-serif !important;
    color: #ca1b22;
    text-transform: uppercase;
    font-style: unset;
    font-weight: 600;
    line-height: 1.3em;
    font-size: 14px;
    margin: 10px 0 0 0;

}

.beitrag-content h3 {
    font-family: 'Merriweather', Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 32px;
    margin: 0px !important;
    font-weight: bold !important;    
}

.beitrag-content h3 a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beitrag-content h3 a:hover {
    color: #000000;
}


.beitrag-content p {
    order: 3;
    margin-top: 0px;
    font-size: 16px;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .beitrag-item {
        flex-direction: column;
        gap: 15px;
    }

    .beitrag-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .beitragsgruppe-row .titel {
        font-size: 24px;
    }

    .beitrag-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .beitragsgruppen-liste {
        padding: 15px;
    }

    .beitragsgruppe-row {
        margin-bottom: 40px;
    }

    .beitragsgruppe-row .titel {
        font-size: 20px;
    }

    .beitrag-content h3 {
        font-size: 16px;
    }

    .beitrag-content p {
        font-size: 14px;
    }
}