/*
Theme Name: Logotel Weconomy
Author: Logotel
Author URI: https://www.logotel.it/
Description: A custom block theme for Weconomy Magazine designed and developed by Logotel
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: logotel-weconomy
Tags: 
*/

* {
    box-sizing: border-box;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

:where(.wp-site-blocks)>* {
    margin-top: 0;
    margin-bottom: 0;
}

:where(:focus) {
    /* inner indicator */
    outline: 2px solid var(--wp--preset--color--ink);
    outline-offset: 2px;
    /* outer indicator */
    box-shadow: 0 0 0 4px var(--wp--preset--color--snow);
}

a:where(:not(.wp-element-button)):hover {
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
    text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
    display: block;
}