/*
 Theme Name:   Serenity Base
 Description:  Classic WordPress theme with Fomantic UI and ACF integration
 Author:       Serenity Digital
 Author URI:   https://serenitydigital.com/
 Version:      1.0.0
 Text Domain:  serenity-base
 Requires at least: 6.0
 Requires PHP: 8.0
*/

/* Custom styles go below this line */

/* Prevent links from intercepting block selection clicks in the editor */
.editor-styles-wrapper .link-wrap a {
    pointer-events: none;
}

.editor-styles-wrapper .link-wrap a {
    pointer-events: all !important;
}

/* Show carousel items in a row in the editor */
.editor-styles-wrapper .widget.carousel {
    display: flex;
    overflow: hidden;
    gap: 1em;
}

.editor-styles-wrapper .widget.carousel > .card {
    flex: 0 0 calc((100% - (var(--slides-to-show) - 1) * 1em) / var(--slides-to-show));
}

.editor-styles-wrapper .gallery.carousel {
    display: flex;
    overflow: hidden;
    gap: 1em;
}

.editor-styles-wrapper .gallery.carousel > .gallery_item {
    flex: 0 0 calc((100% - (var(--slides-to-show) - 1) * 1em) / var(--slides-to-show));
}


/* Hide breadcrumbs in editor */
.editor-styles-wrapper .breadcrumbs {
    display: none;
}

/* Show white text in editor */
.mce-content-body .text_ice,
.mce-content-body .text_white {
    background-color: black;
}

/* Show font awesome icons in editor */
:where(.editor-styles-wrapper) .fa-solid {
    font-family: 'Font Awesome 6 Pro' !important;
}