
/*
 * ROSENGARTEN – GLOBALE ÜBERSCHRIFTEN
 *
 * Gemeinsame Klasse: rg-home-news-intro
 *
 * 1. rg-heading-line       Rose mit geraden Linien
 * 2. rg-heading-curved     Rose mit Wellenlinien
 * 3. rg-heading-no-line    Rose ohne Linien
 * 4. rg-heading-text-only  Nur Text
 */

.rg-home-news-intro.et_pb_row {
    width: calc(100% - 48px) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center;
}

.rg-home-news-intro > .et_pb_column {
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rg-home-news-intro :is(
    .rg-home-news-ornament,
    .rg-home-news-heading,
    .rg-home-news-subline
) {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.rg-home-news-intro .rg-home-news-ornament {
    max-width: 420px !important;
}

.rg-home-news-intro .rg-home-news-ornament .et_pb_image_wrap {
    display: flex !important;
    align-items: center;
    gap: 16px;
    width: 100% !important;
}

.rg-home-news-intro .rg-home-news-ornament
.et_pb_image_wrap::before,
.rg-home-news-intro .rg-home-news-ornament
.et_pb_image_wrap::after {
    content: "";
    flex: 1 1 0;
    height: 1px;
    background-color: #A07D65;
    opacity: 0.45;
}

.rg-home-news-intro .rg-home-news-ornament img {
    display: block;
    flex: 0 0 auto;
    width: 48px !important;
    height: auto !important;
}

.rg-home-news-intro .rg-home-news-heading {
    margin-top: 16px !important;
}

.rg-home-news-intro.et_pb_row .rg-home-news-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #B32248 !important;
    font-family: "Poppins", Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}

.rg-home-news-intro .rg-home-news-subline {
    margin-top: 10px !important;
}

.rg-home-news-intro .rg-home-news-subline p {
    margin: 0 !important;
    padding: 0 !important;
    color: #A07D65 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    letter-spacing: 1px;
    white-space: normal;
}

/* Variante 1: Rose mit geraden Linien */
/* Verwendet die gemeinsame Grundgestaltung. */

/* Variante 2: Rose mit Wellenlinien */

.rg-heading-curved .rg-home-news-ornament
.et_pb_image_wrap::before,
.rg-heading-curved .rg-home-news-ornament
.et_pb_image_wrap::after {
    height: 32px !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    opacity: 1 !important;
}

.rg-heading-curved .rg-home-news-ornament
.et_pb_image_wrap::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 32'%3E%3Cpath d='M0 16 C45 38 100 -6 180 16' fill='none' stroke='%23A07D65' stroke-width='1'/%3E%3C/svg%3E") !important;
}

.rg-heading-curved .rg-home-news-ornament
.et_pb_image_wrap::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 32'%3E%3Cpath d='M0 16 C80 -6 135 38 180 16' fill='none' stroke='%23A07D65' stroke-width='1'/%3E%3C/svg%3E") !important;
}

/* Variante 3: Rose ohne Linien */

.rg-home-news-intro.rg-heading-no-line
.rg-home-news-ornament {
    margin-left: auto !important;
    margin-right: auto !important;
}

.rg-home-news-intro.rg-heading-no-line
.rg-home-news-ornament .et_pb_image_wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.rg-home-news-intro.rg-heading-no-line
.rg-home-news-ornament .et_pb_image_wrap::before,
.rg-home-news-intro.rg-heading-no-line
.rg-home-news-ornament .et_pb_image_wrap::after {
    display: none !important;
}

.rg-home-news-intro.rg-heading-no-line
.rg-home-news-ornament img {
    margin: 0 auto !important;
}

/* Variante 4: Nur Text */

.rg-heading-text-only .rg-home-news-ornament {
    display: none !important;
}

.rg-heading-text-only .rg-home-news-heading {
    margin-top: 0 !important;
}

/* Ausschließlich die Überschriftssektion des Impressums symmetrisch ausrichten. */
.rg-imprint-heading-section.et_pb_section {
    min-height: auto !important;
    padding-block: 56px !important;
}

@media (max-width: 980px) {
    .rg-imprint-heading-section.et_pb_section {
        padding-block: 44px !important;
    }
}

@media (max-width: 767px) {
    .rg-imprint-heading-section.et_pb_section {
        padding-block: 36px !important;
    }
}

/* Smartphone */

@media (max-width: 767px) {
    .rg-home-news-intro .rg-home-news-ornament img {
        width: 40px !important;
    }

    .rg-home-news-intro.et_pb_row
    .rg-home-news-heading h2 {
        font-size: 25px !important;
    }
}
