/* Minimal Text Banner - leichtgewichtiger Text-Banner mit CTA */

.section-minimal-text-banner {
    padding-top: clamp(1.5rem, 4vw, 3rem);
    padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

/* Background presets */
.section-minimal-text-banner.mtb--bg-white { background-color: #ffffff; }
.section-minimal-text-banner.mtb--bg-light { background-color: var(--bs-light, #f8f9fa); }
.section-minimal-text-banner.mtb--bg-brand {
    background-color: var(--bs-primary, #0d6efd);
    color: #ffffff;
}
/* Brand banner: keep heading/text readable on primary background */
.section-minimal-text-banner.mtb--bg-brand .mtb-heading,
.section-minimal-text-banner.mtb--bg-brand .mtb-body {
    color: #ffffff;
}

/* Dividers */
.section-minimal-text-banner.mtb--div-top { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.section-minimal-text-banner.mtb--div-bottom { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.section-minimal-text-banner.mtb--bg-brand.mtb--div-top { border-top-color: rgba(255, 255, 255, 0.25); }
.section-minimal-text-banner.mtb--bg-brand.mtb--div-bottom { border-bottom-color: rgba(255, 255, 255, 0.25); }

/* Full width: add inline padding so content doesn't touch screen edges */
.section-minimal-text-banner .mtb-fluid {
    width: 100%;
    padding-left: clamp(1rem, 4vw, 4rem);
    padding-right: clamp(1rem, 4vw, 4rem);
}

/* Inner flex layout */
.section-minimal-text-banner .mtb-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem 2rem;
    flex-wrap: wrap;
}

.section-minimal-text-banner .mtb-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.section-minimal-text-banner .mtb-icon img {
    display: block;
    max-height: 56px;
    width: auto;
}
.section-minimal-text-banner .mtb-icon--font {
    font-size: 2.25rem;
    line-height: 1;
}

.section-minimal-text-banner .mtb-text {
    flex: 1 1 320px;
    min-width: 0;
}
.section-minimal-text-banner .mtb-heading { margin-bottom: 0.25rem; }
.section-minimal-text-banner .mtb-body { line-height: 1.5; }
.section-minimal-text-banner .mtb-body > :last-child { margin-bottom: 0; }

.section-minimal-text-banner .mtb-actions {
    flex: 0 0 auto;
}

/* CTA position: right (default) -> CTA sits on the same row, pushed to the end */
.section-minimal-text-banner.mtb--cta-right .mtb-actions {
    margin-left: auto;
}

/* CTA position: below -> force the actions onto their own row under the text */
.section-minimal-text-banner.mtb--cta-below .mtb-actions {
    flex-basis: 100%;
}

/* Mobile: stack everything, CTA always below */
@media (max-width: 768px) {
    .section-minimal-text-banner .mtb-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-minimal-text-banner.mtb--cta-right .mtb-actions {
        margin-left: 0;
    }
}
