/*
Theme Name: Twenty Twenty-Five
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.8
Requires PHP: 7.2
Version: 1.3
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
*/

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

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* 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;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* 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;
}
/* Désactive les styles de liste par défaut */
ul, ol {
    list-style: none !important;
    padding-left: 1.5em !important; /* Espace pour le marqueur personnalisé */
}

/* Ajoute un marqueur personnalisé avec ::before */
ul li, ol li {
    position: relative !important;
    padding-left: 1.5em !important; /* Espace supplémentaire pour le texte */
}

/* Style du marqueur personnalisé */
ul li::before, ol li::before {
    content: "✝";
    position: absolute !important;
    left: 0 !important;
    color: var(--wp--preset--color--custom-orange-braise) !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    transform: rotate(180deg) !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Pour les listes numérotées (ol), ajoute le numéro après le symbole*/
ol li::before {
    content: counter(list-item) ""; /* Numéro + point */
	    transform: rotate(0deg) !important;

}

/* Réinitialise le compteur pour les listes numérotées*/
ol {
    counter-reset: list-item;
}

details summary{
	color: var(--wp--preset--color--custom-orange-braise);
	font-family: var(--wp--preset--font-family--hellfont-2026);
    font-size: var(--wp--preset--font-size--x-large);
}

/* 1. Supprime le marqueur par défaut */
.wp-block-details summary {
    list-style: none !important;
    padding-left: 0em !important;
    padding-right: 1.5em !important;
    position: relative !important;
}
/* 3. Ajoute un marqueur personnalisé avec ::before */
.wp-block-details summary::before {
    content: "✘"; /* Symbole de base */
    position: absolute !important;
    right: 0 !important;
    top: 0.2em !important; /* Alignement vertical */
    font-size: 1em !important;
    transform: rotate(45deg) !important;
    display: inline-block !important;
    line-height: 1 !important;
}
/* 4. Change le marqueur à l'ouverture */
.wp-block-details[open] summary::before {
    transform: rotate(0deg) !important;
}
.entry-content {
    background-color: #0e0e10B0 !important;
	max-width:1000px;
	margin: 15px auto !important; /* Centrage + espacement */
	padding: 1em !important; /* Espacement interne */
	border-radius: 4px;
}
.texte-justifie {
	text-align: justify !important;
	text-justify: inter-word !important; /* Meilleure répartition */
}
