/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/* ── Liens globaux ─────────────────────────────── */
a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: 0.1em;
}
 
/* ── Focus ─────────────────────────────────────── */
:where(.wp-site-blocks :focus) {
    outline-width: 2px;
    outline-style: solid;
}
 
/* ── Navigation ────────────────────────────────── */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0px;
}
 
/* ── Typographie globale ───────────────────────── */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
    text-wrap: pretty;
}
 
/* ── Divers ────────────────────────────────────── */
.more-link {
    display: block;
}
:where(pre) {
    overflow-x: auto;
}
 
/* ── Sticky header ─────────────────────────────── */
header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #ffffff;
}
.admin-bar header.wp-block-template-part {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar header.wp-block-template-part {
        top: 46px;
    }
}
 
/* ── Catégories sidebar ────────────────────────── */
 
/* Liens — sans soulignement, couleur #809672 */
.cat-item a {
    text-decoration: none !important;
    color: #809672 !important;
}
.cat-item a:hover {
    color: #5a6b50 !important;
    text-decoration: underline !important;
}
 
/* Puce — couleur #C17A30 */
.cat-item::marker {
    color: #C17A30;
    font-size: 1.2em;
}
 
/* Catégorie dans l'article uniquement (sous le titre) */
.entry-content .wp-block-post-terms a,
.wp-block-post-content .wp-block-post-terms a {
    text-decoration: none !important;
}
 
/* ── Chapeau article ───────────────────────────── */
.chapeau-article .wp-block-post-excerpt__excerpt {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #2C2C2C !important;
    margin-bottom: 2rem !important;
}
.wp-block-post-excerpt__more-text,
.wp-block-post-excerpt__more-link {
    display: none !important;
}
 
/* ── Marges des titres dans les articles ───────── */
.entry-content.wp-block-post-content h2,
.entry-content.wp-block-post-content h3,
.entry-content.wp-block-post-content h4,
.entry-content.wp-block-post-content .wp-block-heading {
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
}
.entry-content.wp-block-post-content h2 {
    margin-top: 2.5rem !important;
    margin-bottom: 0.75rem !important;
}
.entry-content.wp-block-post-content p {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}
.entry-content.wp-block-post-content ul,
.entry-content.wp-block-post-content ol {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}
.entry-content.wp-block-post-content figure {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}