/*
Theme Name: Junkiro
Theme URI:
Author: Junnho
Author URI: https://www.junnho.com/
Description: Junkiro is a modern WordPress theme inspired by contemporary design trends.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: junkiro
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Copyright (C) 2025 Junnho

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.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

== Resources and Licenses ==

Font Awesome 6 Free
Copyright (C) 2024 Fonticons, Inc.
License: SIL OFL 1.1 (http://scripts.sil.org/OFL)
Source: https://fontawesome.com/

Font Awesome is included locally in this theme.

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Junkiro Theme is a modern WordPress theme with elegant design and advanced features.
Developed by Junnho (https://www.junnho.com/).

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
# Layouts
	- Container
	- Grid systems
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Homepage Styles
	- Posts grid
	- Post cards
	- Navigation
# Header Styles
	- Site header
	- Branding
	- Navigation
	- Custom buttons
# Footer Styles
	- Site footer
	- Footer content
	- Credits
# Archive Styles
	- Page headers
	- Archive layouts
	- Sticky posts
# Search Styles
	- Search blocks
	- Search widgets
# Custom Block Styles
	- Button blocks
	- Quote blocks
	- Group blocks
	- Cover blocks
# Consent Banner
	- Banner styles
	- Buttons
	- Responsive
# Accessibility
	- Focus styles
	- Screen readers
	- High contrast
	- Reduced motion
# Plugins
	- Jetpack infinite scroll
# Utilities
	- Alignments
	- Responsive helpers
	- Cache buster

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	background: #2c2c2c;
	color: #e0e0e0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
	text-decoration: underline;
	transition: all 0.3s ease;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
	text-decoration: underline;
}

/* Focus styles for accessibility */
a:focus {
	outline: 2px solid #4a9eff;
	outline-offset: 2px;
	background-color: rgba(74, 158, 255, 0.1);
	border-radius: 2px;
}

a:focus:not(:focus-visible) {
	outline: none;
	background-color: transparent;
}

a:focus-visible {
	outline: 2px solid #4a9eff;
	outline-offset: 2px;
	background-color: rgba(74, 158, 255, 0.1);
	border-radius: 2px;
}

a:hover,
a:active {
	outline: 0;
}

/* Skip links for accessibility */
.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
	padding: 8px 16px;
	background: #000;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
	outline: 2px solid #4a9eff;
	outline-offset: 2px;
}

/* Screen reader only text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	cursor: pointer;
	transition: all 0.3s ease;
}

/* Focus styles for buttons and form elements */
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid #4a9eff;
	outline-offset: 2px;
	background-color: rgba(74, 158, 255, 0.1);
}

button:focus:not(:focus-visible),
input[type="button"]:focus:not(:focus-visible),
input[type="reset"]:focus:not(:focus-visible),
input[type="submit"]:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
	outline: none;
	background-color: transparent;
}

button:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid #4a9eff;
	outline-offset: 2px;
	background-color: rgba(74, 158, 255, 0.1);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: flex;
    margin: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.primary-menu-container {
    display: flex;
    width: 100%;
    justify-content: center;
}

.primary-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.primary-menu li {
    margin: 0;
    padding: 0;
}

.primary-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
    padding: 0.5rem 0;
    display: block;
    position: relative;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #e0e0e0;
    transition: width 0.3s ease;
}

.primary-menu a:hover {
    color: #e0e0e0;
}

.primary-menu a:hover::after {
    width: 100%;
}

/* Suppression du menu mobile et du sous-menu */
.menu-toggle,
.main-navigation ul ul {
    display: none !important;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

/* Sticky post styling */
.post-card.sticky {
	position: relative;
	border: 2px solid #e0e0e0;
	box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
	background: #1a1a1a;
}

.post-card.sticky::before {
	content: 'PINNED';
	position: absolute;
	top: 14px;
	left: 14px;
	background: #232323;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	border-radius: 8px;
	padding: 3px 12px;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	opacity: 0.95;
}

.post-card.sticky .post-card-category {
	background: #fff;
	color: #000 !important;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    background: #232323;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.widget-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #404040;
    position: relative;
}

.widget-title::after {
    display: none;
}

/* Style spécifique pour le widget des articles récents */
.recent-posts-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-widget li {
    padding: 10px 0;
    border-bottom: 1px solid #404040;
}

.recent-posts-widget li:last-child {
    border-bottom: none;
}

.recent-posts-widget a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.recent-posts-widget a:hover {
    color: #e0e0e0;
    transform: translateX(5px);
}

/* Style pour le widget de recherche */
.widget_search .search-form {
    display: flex;
    gap: 10px;
}

.widget_search input[type="search"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #404040;
    border-radius: 4px;
    background: #2c2c2c;
    color: #e0e0e0;
}

.widget_search input[type="submit"] {
    background: #404040;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.widget_search input[type="submit"]:hover {
    background: #505050;
}

/* Style pour le widget des catégories */
.widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_categories li {
    padding: 8px 0;
    border-bottom: 1px solid #404040;
}

.widget_categories li:last-child {
    border-bottom: none;
}

.widget_categories a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.widget_categories a:hover {
    color: #e0e0e0;
    transform: translateX(5px);
}

/* Style pour le widget des archives */
.widget_archive select {
    width: 100%;
    padding: 8px;
    border: 1px solid #404040;
    border-radius: 4px;
    background: #2c2c2c;
    color: #e0e0e0;
}

/* Style pour le widget des tags */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget_tag_cloud a {
    display: inline-block;
    padding: 4px 12px;
    background: #2c2c2c;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9em !important;
    transition: all 0.3s ease;
    border: 1px solid #404040;
}

.widget_tag_cloud a:hover {
    background: #404040;
    color: #fff;
    border-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Style pour le widget des pages */
.widget_pages a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.widget_pages a:hover {
    color: #e0e0e0;
    transform: translateX(5px);
}

/* Style pour le widget des commentaires récents */
.widget_recent_comments a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget_recent_comments a:hover {
    color: #e0e0e0;
}

/* Style pour le widget des méta */
.widget_meta a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.widget_meta a:hover {
    color: #e0e0e0;
    transform: translateX(5px);
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Homepage Styles
--------------------------------------------------------------*/

/* Styles pour la page d'accueil */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    align-items: stretch; /* Force toutes les cartes à avoir la même hauteur */
}

/* --- Bloc d'article type "carte" moderne --- */
.post-card {
    background: #232323;
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: none;
    padding: 0;
    margin: 0;
    transition: box-shadow 0.2s, transform 0.2s;
    min-width: 0;
    height: 100%; /* Force la carte à prendre toute la hauteur disponible */
}
.post-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transform: translateY(-4px) scale(1.01);
}

.post-card-image,
.post-card-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 0;
    background: #232323;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.post-card-noimage-icon {
    color: #444;
    font-size: 2.5rem;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Bloc d'image par défaut pour les tuiles d'articles - Aligné avec le carrousel */
.post-card-default-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-default-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.post-card-default-content i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.post-card-default-content span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
}

/* Conteneur pour la catégorie, aligné à gauche */
.post-card-category-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 0rem !important;
}

/* Badge catégorie compact, largeur auto stricte, texte noir, sans hover */
.post-card-category {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 1rem 0 0.7rem 1.2rem;
    position: relative;
    left: 0;
    background: #f3f3f3;
    color: #111 !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 16px;
    padding: 4px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    z-index: 15; /* Permet à la catégorie de rester cliquable même quand toute la carte est cliquable (z-index: 10) */
}

.post-card-category span {
    display: block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Suppression du hover */
.post-card-category:hover {
    background: #f3f3f3;
    color: #111 !important;
    text-decoration: none;
}

/* Conteneur d'image pour les cartes d'articles */
.post-card-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.post-card-reading-time {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    padding: 3px 12px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bloc du corps de la carte, padding top réduit, alignement à gauche */
.post-card-body {
    padding: 0rem 1.2rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
}

/* Suppression totale des marges/paddings entre titre et extrait */
.post-card-title,
.post-card-title a,
.post-card-excerpt,
.post-card-excerpt p {
    margin-top: 0.2rem !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0.4rem !important;
}
.post-card-title {
    line-height: 1.2 !important;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    text-align: left !important;
    display: block;
    position: relative;
    z-index: 20;
    width: 100%;
}

.post-card-title a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    right: 0;
    background-color: #e0e0e0;
    transition: width 0.3s ease;
    z-index: 20;
}

.post-card-title a:hover {
    color: #e0e0e0;
}

.post-card-title a:hover::after {
    width: 100%;
}

/* Espace réduit entre titre et extrait */
.post-card-excerpt {
    margin-top: 0;
    margin-bottom: 0.7rem;
    color: #d0d0d0;
    font-size: 0.97rem;
    line-height: 1.5;
    flex-shrink: 0; /* Empêche l'extrait de rétrécir */
}

/* Groupe stats (vues + commentaires) côte à côte */
.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.97rem;
    color: #b0b0b0;
    gap: 1.2rem;
    margin-top: auto;
}
.post-card-meta .meta-stats {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}
.post-card-meta .meta-views,
.post-card-meta .meta-comments {
    display: flex;
    align-items: center;
    gap: 0.3em;
    white-space: nowrap;
}
.post-card-meta .fa-solid {
    font-size: 1.08em;
    color: #fff !important;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 1200px) {
    .post-card-body {
        padding: 1rem 1rem 0.9rem 1rem;
    }
    .post-card-title {
        font-size: 1.05rem;
    }
    .post-card-category {
        margin: 1rem 0 0.7rem 1rem; /* Alignement avec le padding du corps */
    }
}
@media (max-width: 767px) {
    .post-card-body {
        padding: 0.9rem 0.7rem 0.8rem 0.7rem;
    }
    .post-card-title {
        font-size: 0.98rem;
    }
    .post-card-category {
        margin: 1rem 0 0.7rem 0.7rem; /* Alignement avec le padding du corps */
    }
}

/* Navigation des articles */
.posts-navigation {
    margin: 2.5rem 0 0 0;
    padding: 1.2rem 0 0.5rem 0;
    border-top: 2px solid #303030;
    background: linear-gradient(90deg, rgba(40,40,40,0.95) 0%, rgba(30,30,30,0.95) 100%);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.posts-navigation .nav-previous,
.posts-navigation .nav-next {
    flex: 1;
    text-align: center;
}

.posts-navigation a {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #232323;
    border-radius: 6px;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.25s, color 0.25s, transform 0.18s;
    border: 1px solid #353535;
}

.posts-navigation a:hover {
    background: #4a4a4a;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    border-color: #666;
}

.posts-navigation .nav-subtitle {
    display: block;
    font-size: 0.92em;
    color: #b0b0b0;
    margin-bottom: 0.1em;
    letter-spacing: 0.02em;
}

.posts-navigation .nav-title {
    font-size: 1.08em;
    color: #e0e0e0;
    font-weight: 700;
}

@media (max-width: 767px) {
    .posts-navigation {
        margin: 2rem 0 0 0;
        padding: 1rem 0 0.3rem 0;
        border-radius: 0 0 8px 8px;
    }
    .posts-navigation .nav-links {
        flex-direction: column;
        gap: 0.7rem;
    }
    .posts-navigation .nav-previous,
    .posts-navigation .nav-next {
        text-align: center;
    }
    .posts-navigation a {
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 0.5rem;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-card .entry-title {
        font-size: 1.3rem;
    }
    
    .post-card-category span {
        max-width: 100px;
    }
}

@media (max-width: 767px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-card .entry-title {
        font-size: 1.2rem;
    }
    
    .post-card .post-thumbnail img {
        height: 200px;
    }
    
    .post-card-category span {
        max-width: 80px;
    }
}

/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/

/* Header Styles */
.site-header {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 1800px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border: 2px solid #262626;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(.22,1.2,.4,1);
}

body.admin-bar .site-header {
    margin-top: 2rem;
}

@media screen and (min-width: 768px) {
    .site-header {
        background: #000;
        padding: 1rem 2.5rem;
    }
}

@media screen and (max-width: 767px) {
    .site-header {
        padding: 0.35rem 1rem;
    }
}

.site-header.scrolled {
    border-radius: 19px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
    height: 100%;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform 0.2s;
}

.custom-logo-link:hover {
    transform: scale(1.1);
}

.custom-logo-link img {
    max-height: 35px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    display: block;
}

@media screen and (max-width: 767px) {
    .custom-logo-link img {
        max-height: 35px !important;
    }
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    user-select: none;
}

.site-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.site-title a:hover {
    color: #e5e5e5;
}

/* Styles pour les éléments de droite dans l'en-tête */
.header-right-element {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Styles pour les boutons de l'en-tête */
.header-custom-button,
.header-random-post {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--header-custom-button-bg-color, #ffffff) !important;
    color: var(--header-custom-button-text-color, #000000) !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer;
}

.header-custom-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--button-bg-color, #ffffff) !important;
    color: var(--button-text-color, #000000) !important;
}

.header-custom-button:hover {
    background-color: var(--button-hover-bg-color, #f0f0f0) !important;
    color: var(--button-hover-text-color, #000000) !important;
}

.header-custom-button i {
    font-size: 0.9em;
    line-height: 1;
    vertical-align: middle;
}

.header-custom-button .button-text {
    line-height: 1;
}

.header-random-post {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background-color: var(--header-random-post-bg-color, #ffffff) !important;
    color: var(--header-random-post-text-color, #000000) !important;
}

/* Contenu personnalisé */
.header-custom-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-custom-content i {
    font-size: 1.2rem;
    color: #fff;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .header-right-element {
        display: none;
    }
}

/* Layout de la page d'accueil */
.site-main .container {
    padding: 2rem 0;
    max-width: 1600px;
    margin: 0 auto;
    width: 95%;
}

.site-main .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.site-main .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 15px;
}

.site-main .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

/* Styles de la barre latérale */
.widget-area {
    background: #2c2c2c;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #e0e0e0;
    position: sticky;
    top: 100px;
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #404040;
    color: #ffffff;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #404040;
    font-size: 0.9rem;
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.widget a:hover {
    color: #e0e0e0;
}

.widget a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #e0e0e0;
    transition: width 0.3s ease;
}

.widget a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .site-main .col-md-9,
    .site-main .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .widget-area {
        margin-top: 2rem;
        position: static;
    }
    
    /* Retirer les bords arrondis des cartes d'articles sur mobile, partout */
    .post-card {
        border-radius: 0;
    }
    
    /* Retirer l'effet de survol des cartes d'articles sur mobile */
    .post-card:hover {
        transform: none !important;
        box-shadow: 0 4px 24px rgba(0,0,0,0.12) !important;
    }
    
    /* Ajouter du padding gauche et droite au texte des cartes sur mobile */
    .post-card-body {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    /* Réduire la marge entre la catégorie et le titre sur mobile */
    .post-card-category {
        margin-bottom: 0.4rem !important;
    }
    
    /* Retirer l'espace entre le carrousel et la grille d'articles sur mobile */
    .posts-grid {
        margin-top: 0 !important;
    }
    
    /* Retirer aussi la marge du carrousel sur les pages d'archives sur mobile */
    .archive .featured-carousel {
        margin-bottom: 0 !important;
    }
    
    /* Retirer les espaces entre les blocs d'articles sur mobile */
    .posts-grid {
        gap: 0 !important;
    }
    
    /* Ajouter du padding en bas des cartes sur mobile */
    .post-card-body {
        padding-bottom: 2.5rem !important;
    }
}

/* Styles de la barre latérale en bas de page */
.bottom-sidebar {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #404040;
}

.bottom-sidebar .widget-area {
    position: static;
    background: #2c2c2c;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #e0e0e0;
}

.bottom-sidebar .widget {
    margin-bottom: 2rem;
}

.bottom-sidebar .widget:last-child {
    margin-bottom: 0;
}

.bottom-sidebar .widget-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #404040;
    color: #ffffff;
}

.bottom-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bottom-sidebar .widget ul li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #404040;
    font-size: 0.9rem;
}

.bottom-sidebar .widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bottom-sidebar .widget a {
    color: #4a9eff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bottom-sidebar .widget a:hover {
    color: #fff;
}

.bottom-sidebar .widget a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #4a9eff;
    transition: width 0.3s ease;
}

.bottom-sidebar .widget a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 767px) {
    .bottom-sidebar {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .bottom-sidebar .widget-area {
        padding: 1rem;
    }
}

/* Marge sous le titre uniquement si pas d'extrait */
.no-excerpt .post-card-title {
    margin-bottom: 1.5rem !important;
}

/* Bloc d'article entièrement cliquable */
.card-clickable {
    position: relative;
    cursor: pointer;
}

.card-clickable .post-card-link-full {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    background: none;
    border: none;
    cursor: pointer;
    pointer-events: auto;
}

.card-clickable:hover,
.card-clickable:focus-within {
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    transform: translateY(-4px) scale(1.01);
}

.card-clickable .post-card-link-full:focus {
    outline: 2px solid #e0e0e0;
    outline-offset: 2px;
}

/* Card bouton "ajouter un article" discrète */
.add-post-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    height: 100%;
    width: 100%;
    border: 2px dashed #444;
    color: inherit;
    background: #232323;
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    font-size: 2.8rem;
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
    position: relative;
    margin: 0;
    cursor: pointer;
    min-width: 0;
    padding: 0;
}
.add-post-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
}
.add-post-card-link i.fa-plus {
    font-size: 2.8rem;
    color: #fff;
    opacity: 0.5;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Supprime le soulignement sous l'icône + */
.add-post-card-link,
.add-post-card-link i.fa-plus {
    text-decoration: none !important;
}

/* Effet de soulignement pour les titres d'articles */
.post-card-title a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    right: 0;
    background-color: #e0e0e0;
    transition: width 0.3s ease;
    z-index: 20;
}

/* Classe pour désactiver l'effet de soulignement */
.no-underline-effect .post-card-title a::after,
.no-underline-effect .primary-menu a::after,
.no-underline-effect .widget a::after,
.no-underline-effect .widget-title::after,
.no-underline-effect .bottom-sidebar .widget a::after,
.no-underline-effect .recent-posts-widget a::after,
.no-underline-effect .widget_categories a::after,
.no-underline-effect .widget_pages a::after,
.no-underline-effect .widget_meta a::after {
    display: none !important;
}

/* Effet de survol classique quand l'effet de soulignement est désactivé */
.no-underline-effect .widget a,
.no-underline-effect .bottom-sidebar .widget a,
.no-underline-effect .recent-posts-widget a,
.no-underline-effect .widget_categories a,
.no-underline-effect .widget_pages a,
.no-underline-effect .widget_meta a,
.no-underline-effect .widget_recent_comments a {
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.no-underline-effect .widget a:hover,
.no-underline-effect .bottom-sidebar .widget a:hover,
.no-underline-effect .recent-posts-widget a:hover,
.no-underline-effect .widget_categories a:hover,
.no-underline-effect .widget_pages a:hover,
.no-underline-effect .widget_meta a:hover,
.no-underline-effect .widget_recent_comments a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Search Styles
--------------------------------------------------------------*/

/* Style moderne et cohérent pour le bloc natif de recherche WordPress (Junkiro Theme) */
.wp-block-search {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #232323;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin-bottom: 2rem;
    border: 1px solid #262626;
    max-width: 100%;
}
.wp-block-search__input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #404040;
    border-radius: 6px;
    background: #2c2c2c;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
}
.wp-block-search__input:focus {
    border-color: #e0e0e0;
    outline: none;
    box-shadow: 0 0 0 2px #404040;
    background: #232323;
}
.wp-block-search__button {
    background: #404040;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: none;
    letter-spacing: 0.03em;
}
.wp-block-search__button:hover, .wp-block-search__button:focus {
    background: #505050;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Icône FontAwesome dans le bouton si ajoutée manuellement */
.wp-block-search__button i.fa-search {
    margin-right: 0.3em;
}

/* Responsive : largeur 100% sur mobile */
@media (max-width: 600px) {
    .wp-block-search {
        flex-direction: column;
        gap: 8px;
        padding: 10px 8px;
    }
    .wp-block-search__button, .wp-block-search__input {
        width: 100%;
        min-width: 0;
    }
}

/* Bloc natif de recherche : label au-dessus et style titre */
.wp-block-search__label {
    display: block;
    margin-bottom: 0.7em;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #404040;
    letter-spacing: 0.01em;
    line-height: 1.2;
    font-family: inherit;
}

.wp-block-search {
    flex-direction: column;
    align-items: stretch;
}

.wp-block-search__inside-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Uniformisation champ et bouton dans .wp-block-search__inside-wrapper */
.wp-block-search__inside-wrapper .wp-block-search__input,
.wp-block-search__inside-wrapper .wp-block-search__button {
    height: 44px;
    font-size: 1rem;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
}
.wp-block-search__inside-wrapper .wp-block-search__input {
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 6px 0 0 6px;
}
.wp-block-search__inside-wrapper .wp-block-search__button {
    padding-left: 22px;
    padding-right: 22px;
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Pour les variantes verticales (mobile ou colonne) : arrondis uniformes */
@media (max-width: 600px) {
    .wp-block-search__inside-wrapper {
        flex-direction: column;
    }
    .wp-block-search__inside-wrapper .wp-block-search__input,
    .wp-block-search__inside-wrapper .wp-block-search__button {
        border-radius: 6px;
        width: 100%;
    }
}

/* Bouton de recherche blanc, texte sombre, arrondi pill */
.wp-block-search__inside-wrapper .wp-block-search__button,
.wp-block-search__button {
    background: #fff !important;
    color: #232323 !important;
    border-radius: 999px !important;
    border: none;
    font-weight: 700;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.wp-block-search__inside-wrapper .wp-block-search__button:hover,
.wp-block-search__button:hover,
.wp-block-search__inside-wrapper .wp-block-search__button:focus,
.wp-block-search__button:focus {
    background: #e0e0e0 !important;
    color: #111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Champ arrondi pill aussi pour cohérence */
.wp-block-search__inside-wrapper .wp-block-search__input,
.wp-block-search__input {
    border-radius: 999px !important;
}

@media (max-width: 600px) {
    .wp-block-search__inside-wrapper .wp-block-search__input,
    .wp-block-search__inside-wrapper .wp-block-search__button {
        border-radius: 999px !important;
    }
}

/* Styles pour le widget de recherche personnalisé Junkiro */
/* Les styles ont été déplacés dans assets/css/widgets/widgets.css */

/* Suppression des styles de recherche par défaut qui entrent en conflit */
/* .search-form,
.search-field,
.search-submit {
    display: none;
} */

/* Style commun pour les badges de vues et commentaires */
.meta-stats {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}

.meta-views,
.meta-comments {
    display: flex;
    align-items: center;
    gap: 0.3em;
    white-space: nowrap;
    font-size: 0.85rem;
    color: #b0b0b0;
}

.meta-views i,
.meta-comments i {
    font-size: 1.08em;
    color: #fff !important;
    vertical-align: middle;
}

/* Style spécifique pour les badges sur l'image de l'article */
.single-article-image-badges {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 0.7rem;
    background: rgba(10,10,10,0.85);
    border-radius: 16px;
    padding: 0.35em 1.1em;
    align-items: center;
    z-index: 10;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}

.single-article-image-badges span {
    display: flex;
    align-items: center;
    gap: 0.4em;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.95rem;
}

.single-article-image-badges i {
    color: #fff;
    font-size: 0.95em;
    opacity: 0.9;
}

/* Sticky post styling for archive pages */
.archive .post-card.sticky,
.search .post-card.sticky {
	position: relative;
	border: none;
	box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
	background: #1a1a1a;
}

/* Sticky post styling for home page */
body.home .post-card.sticky {
	position: relative;
	border: none;
	box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
	background: #1a1a1a;
}

.archive .post-card.sticky::before,
.search .post-card.sticky::before,
body.home .post-card.sticky::before {
	content: 'PINNED';
	position: absolute;
	top: 14px;
	left: 14px;
	background: #232323;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	border-radius: 8px;
	padding: 3px 12px;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	opacity: 0.95;
}

.archive .post-card.sticky .post-card-category,
.search .post-card.sticky .post-card-category,
body.home .post-card.sticky .post-card-category {
	background: #232323;
	color: #fff !important;
}

/*--------------------------------------------------------------
# Archive Styles
--------------------------------------------------------------*/

.archive .page-header {
    margin-bottom: 3rem;
    background: #f3f3f3;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid #e0e0e0;
    margin-top: 4.5rem;
    margin-bottom:1.5rem;
}

.archive .page-title {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: none;
    line-height: 1.2;
}

.archive .archive-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: none;
}

/* Styles responsive pour l'en-tête d'archive */
@media (max-width: 1200px) {
    .archive .page-header {
        padding: 2rem 1.5rem;
        margin-bottom: 2.5rem;
        margin-top: 3.5rem;
        border-radius: 10px;
    }
    
    .archive .page-title {
        font-size: 2.2rem;
    }
    
    .archive .archive-description {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .archive .page-header {
        padding: 6rem 1.2rem 1.8rem 1.2rem;
        margin-bottom: 0;
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
        margin-top: -2rem;
        box-shadow: none;
        border-bottom: none;
    }
    
    .archive .page-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
        text-align: center;
        text-transform: uppercase;
    }
    
    .archive .archive-description {
        font-size: 0.95rem;
        text-align: center;
    }
}

.archive .featured-carousel {
    margin-bottom: 3rem;
}

/* Gestion de l'en-tête avec la barre d'administration WordPress sur mobile */
@media screen and (max-width: 767px) {
    body.admin-bar .site-header {
        margin-top: 3rem;
    }
}

/*--------------------------------------------------------------
# Footer Styles
--------------------------------------------------------------*/

/* ===============================================
   FOOTER STYLES
=============================================== */

.site-footer {
    background-color: var(--footer-bg-color, #1a1a1a);
    color: var(--footer-text-color, #ffffff);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section principale du footer */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Logo et nom du site */
.footer-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    max-height: 45px;
    width: auto;
    filter: brightness(1.1);
}

.footer-site-name h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.2;
}

.footer-site-description {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Menu du footer */
.footer-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 200px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.footer-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.footer-menu a:hover::after {
    width: 100%;
}

/* Section des crédits */
.footer-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-credits p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.4;
}

.footer-credits a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-credits a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 2rem;
        padding: 2rem 0 1rem 0;
    }
    
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-branding {
        flex-direction: column;
        text-align: center;
        min-width: auto;
    }
    
    .footer-navigation {
        justify-content: center;
        min-width: auto;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-site-name h3 {
        font-size: 1.3rem;
    }
    
    .footer-credits {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-branding {
        gap: 0.5rem;
    }
    
    .footer-logo img {
        max-height: 35px;
    }
    
    .footer-site-name h3 {
        font-size: 1.2rem;
    }
    
    .footer-menu {
        gap: 0.8rem;
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
}

/*--------------------------------------------------------------
# Custom Block Styles
--------------------------------------------------------------*/

/* ============================================
   Custom Block Styles
   ============================================ */

/* Button Block Styles */
.wp-block-button.is-style-junkiro-primary .wp-block-button__link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.wp-block-button.is-style-junkiro-primary .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.wp-block-button.is-style-junkiro-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 25px;
    padding: 10px 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.wp-block-button.is-style-junkiro-outline .wp-block-button__link:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Quote Block Styles */
.wp-block-quote.is-style-junkiro-quote {
    border-left: 4px solid #667eea;
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-size: 1.1em;
    line-height: 1.7;
    position: relative;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.wp-block-quote.is-style-junkiro-quote::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.wp-block-quote.is-style-junkiro-quote cite {
    color: #667eea;
    font-weight: 600;
    margin-top: 1rem;
    display: block;
    font-style: normal;
}

/* Group Block Styles */
.wp-block-group.is-style-junkiro-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.wp-block-group.is-style-junkiro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Cover Block Styles */
.wp-block-cover.is-style-junkiro-hero {
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.wp-block-cover.is-style-junkiro-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

.wp-block-cover.is-style-junkiro-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments for block styles */
@media (max-width: 768px) {
    .wp-block-quote.is-style-junkiro-quote {
        padding: 1.5rem;
        font-size: 1em;
    }
    
    .wp-block-group.is-style-junkiro-card {
        padding: 1.5rem;
    }
    
    .wp-block-button.is-style-junkiro-primary .wp-block-button__link,
    .wp-block-button.is-style-junkiro-outline .wp-block-button__link {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Cache buster - Force cache reload - 10/07/2025 23:48:33 */


/*--------------------------------------------------------------
# Consent Banner Styles
--------------------------------------------------------------*/

/* ========================================
   CONSENT BANNER STYLES
   ======================================== */

.junkiro-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #ffffff;
    padding: 20px;
    z-index: 9999;
    border-top: 2px solid #333;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.junkiro-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.junkiro-consent-text {
    flex: 1;
    min-width: 300px;
}

.junkiro-consent-text p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.junkiro-consent-text a {
    color: #4a9eff;
    text-decoration: none;
    font-size: 13px;
}

.junkiro-consent-text a:hover {
    text-decoration: underline;
}

.junkiro-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.junkiro-consent-accept,
.junkiro-consent-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
}

.junkiro-consent-accept {
    background: #4a9eff;
    color: #ffffff;
}

.junkiro-consent-accept:hover {
    background: #3a8eef;
    transform: translateY(-1px);
}

.junkiro-consent-decline {
    background: transparent;
    color: #cccccc;
    border: 1px solid #666;
}

.junkiro-consent-decline:hover {
    background: #333;
    color: #ffffff;
    border-color: #888;
}

.junkiro-consent-accept:disabled,
.junkiro-consent-decline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .junkiro-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .junkiro-consent-text {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .junkiro-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .junkiro-consent-accept,
    .junkiro-consent-decline {
        flex: 1;
        max-width: 150px;
    }
}

/*--------------------------------------------------------------
# Accessibility Styles
--------------------------------------------------------------*/

/* ========================================
   ACCESSIBILITY STYLES
   ======================================== */

/* Navigation accessibility */
.main-navigation a,
.mobile-primary-menu a,
.site-title a {
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation a:focus,
.mobile-primary-menu a:focus,
.site-title a:focus {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
    background-color: rgba(74, 158, 255, 0.1);
    border-radius: 2px;
}

.main-navigation a:focus:not(:focus-visible),
.mobile-primary-menu a:focus:not(:focus-visible),
.site-title a:focus:not(:focus-visible) {
    outline: none;
    background-color: transparent;
}

.main-navigation a:focus-visible,
.mobile-primary-menu a:focus-visible,
.site-title a:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
    background-color: rgba(74, 158, 255, 0.1);
    border-radius: 2px;
}

/* Content links - ensure they are clearly distinguished */
.entry-content a,
.post-content a,
.page-content a,
.comment-content a {
    color: #4a9eff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.entry-content a:hover,
.post-content a:hover,
.page-content a:hover,
.comment-content a:hover {
    color: #3a8eef;
    text-decoration-thickness: 2px;
}

.entry-content a:focus,
.post-content a:focus,
.page-content a:focus,
.comment-content a:focus {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
    background-color: rgba(74, 158, 255, 0.1);
    border-radius: 2px;
    text-decoration: none;
}

.entry-content a:focus:not(:focus-visible),
.post-content a:focus:not(:focus-visible),
.page-content a:focus:not(:focus-visible),
.comment-content a:focus:not(:focus-visible) {
    outline: none;
    background-color: transparent;
    text-decoration: underline;
}

.entry-content a:focus-visible,
.post-content a:focus-visible,
.page-content a:focus-visible,
.comment-content a:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
    background-color: rgba(74, 158, 255, 0.1);
    border-radius: 2px;
    text-decoration: none;
}

/* Button accessibility */
.mobile-menu-button,
.mobile-menu-close,
.header-custom-button,
.junkiro-consent-accept,
.junkiro-consent-decline {
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-button:focus,
.mobile-menu-close:focus,
.header-custom-button:focus,
.junkiro-consent-accept:focus,
.junkiro-consent-decline:focus {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
    background-color: rgba(74, 158, 255, 0.1);
    border-radius: 2px;
}

.mobile-menu-button:focus:not(:focus-visible),
.mobile-menu-close:focus:not(:focus-visible),
.header-custom-button:focus:not(:focus-visible),
.junkiro-consent-accept:focus:not(:focus-visible),
.junkiro-consent-decline:focus:not(:focus-visible) {
    outline: none;
    background-color: transparent;
}

.mobile-menu-button:focus-visible,
.mobile-menu-close:focus-visible,
.header-custom-button:focus-visible,
.junkiro-consent-accept:focus-visible,
.junkiro-consent-decline:focus-visible {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
    background-color: rgba(74, 158, 255, 0.1);
    border-radius: 2px;
}


/* High contrast mode support */
@media (prefers-contrast: high) {
    a {
        text-decoration: underline !important;
        text-decoration-thickness: 2px !important;
    }
    
    a:focus,
    button:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 3px solid !important;
        outline-offset: 2px !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}