/*
Theme Name: Lente
Theme URI: https://themeshaper.com/lente
Author: Automattic
Author URI: https://automattic.com
Description: Lente is a magazine theme designed with a clean, flexible layout that adapts effortlessly to a wide range of topics, with a strong focus on imagery. It offers thoughtfully designed single post templates, available both with and without a sidebar, alongside an expressive header section that gives each article a strong introduction. Modern and vibrant in character, Lente pairs a monospaced font with a refined sans-serif typeface to ensure excellent readability while adding subtle personality to the design. A set of carefully curated color variations allows you to adjust the tone of your publication, making it easy to shape a look that feels distinctly your own.
Requires at least: 6.8
Tested up to: 6.9
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: lente
Tags: blog, one-column, featured-images, full-site-editing, block-patterns, rtl-language-support, threaded-comments, translation-ready, wide-blocks

Lente WordPress Theme, (C) 2025 Automattic, Inc.
Lente is distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: max(0.045em) !important;
    text-underline-offset: max(0.08em, 1px);
}

/* Font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 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; /* Safari fallback */ 
    text-wrap: pretty;
}
p {
    text-wrap: pretty;
}

/* Post Author */
.wp-block-post-author-name__link {
    text-decoration: none;
}

.wp-block-post-author-name__link:hover {
    text-decoration: underline;
}

/* Pull quote Block */
.wp-block-pullquote p::before {
  content: "“";
}

.wp-block-pullquote p::after {
  content: "”";
}

.wp-block-pullquote cite {
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
}
