/* Audace — Editor styles */

h1 {
    font-size: 2em;
}

/* Clean no margin */
:where(.wp-site-blocks) > *,
:root :where(.is-layout-constrained) > *  {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Clean no margin */
:where(.wp-site-blocks) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Lock column widths in the editor too */
@media (min-width: 782px) {
    .wp-block-columns > .wp-block-column[style*="width"] {
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word;
    }
}

.wp-block-navigation-item.is-style-audace-button > .wp-block-navigation-item__content {
    background: var(--wp--preset--color--primary, #1f5fff);
    color: var(--wp--preset--color--base, #fff);
    padding: 0.6rem 1.2rem;
    font-weight: 600;
}

/* Match the front-end overlay link styling in the editor: no underline,
 * and links inherit the surrounding text color (so white text on the
 * blue overlay stays white). Covers both the live overlay wrapper and
 * the standalone template-part preview (no wrapper). */
.audace-menu-overlay a,
.audace-overlay-content a,
.audace-overlay-nav a {
    text-decoration: none;
    color: inherit;
}
.audace-menu-overlay a:hover,
.audace-overlay-content a:hover,
.audace-overlay-nav a:hover {
    text-decoration: none;
    color: inherit;
}


.is-style-slides-container .wp-block-columns {
    height: 100vh;         /* lets it grow beyond viewport if needed */
}

.has-audace-full-height .wp-block-cover {
    height: 100vh;
}

.wp-block-column.is-style-full-height-image {
    height: 90vh;
}

.wp-block-column.is-style-full-height-image figure,
.wp-block-column.is-style-full-height-image figure img {
    height: 100%;
    width: auto;
    max-height: 100%;
}

@media (max-width: 782px) {
    .wp-block-column.is-style-mobile-50vh {
        height: 50vh;
    }
}

.audace-site-footer a {
    text-decoration: none;
}
.audace-site-footer a:hover,
.audace-site-footer a:focus-visible {
    color: var(--wp--preset--color--contrast, #000);
}
