/*
 Theme Name:   Serenity Base
 Theme URI:    https://example.com/serenity-base
 Description:  Classic WordPress theme with Fomantic UI and ACF integration
 Author:       Serenity Development
 Author URI:   https://example.com
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 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;
}