/*
Theme Name: CUBESITES Child Theme Boilerplate
Theme URI: https://cubesites.de
Description: Boilerplate für CubeSites Kundenprojekte.
Author: CubeSites
Author URI: https://cubesites.de
Template: cubesites-theme
Version: 1.0
Text Domain: cubesites-child
*/

/* Custom CSS hier einfügen */

/* Global Button Styles (Standard / Primary) */
.wp-block-button__link {
    box-shadow: 0 10px 15px -3px rgba(142, 53, 74, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

.wp-block-button__link:hover {
    color: var(--wp--preset--color--polar-white) !important;
    opacity: 0.9;
}

.wp-block-button__link:active {
    transform: scale(0.98);
}

/* Schmaler Content-Bereich - nur auf Desktop begrenzt */
.narrow-content {
    max-width: 48rem;
    /* ~768px */
    margin-inline: auto;
}

@media (max-width: 768px) {
    .narrow-content {
        max-width: 100%;
    }
}

/* Kontrast-Regeln: Weißer Text auf Beere-Hintergrund (Primary) */
.has-primary-background-color,
section.has-primary-background-color {
    color: var(--wp--preset--color--polar-white) !important;
}

.has-primary-background-color :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
section.has-primary-background-color :is(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
    color: var(--wp--preset--color--polar-white) !important;
}

/* H1 Highlights: Kursive Wörter in accent-dark */
h1 em,
h1 i {
    color: var(--wp--preset--color--accent-dark) !important;
    font-family: inherit !important;
}