/*
Theme Name: Essentialist
Theme URI: https://themeshaper.com/essentialist/
Author: Automattic
Author URI: https://automattic.com
Description: A clean, content-first typographical theme for minimalist thinkers, mindful creators, and writers who believe less truly is more. Built on clarity, rhythm, and intention, it prioritizes text and lets your ideas breathe without visual clutter.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
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: essentialist
Tags: blog, featured-images, wide-blocks, two-columns, three-columns, block-styles, full-site-editing, rtl-language-support, style-variations, threaded-comments, translation-ready

/* Progresive enhancement to reduce widows and orphans.
/* https://github.com/WordPress/gutenberg/issues/55190
*/

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption {
    text-wrap: balance;
}
p {
    text-wrap: pretty;
}

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .025em !important;
	text-underline-offset: .1em;
}
