:root {
	/* Charte graphique La Fabrique - Juillet 2026 */
	--lf-orange: #9B4C34;
	--lf-orange-hover: #7d3d2a;
	--lf-orange-rgb: 155, 76, 52;
	--lf-accent: #B56C5B;
	--lf-navy: #262762;
	--lf-navy-dark: #171B51;
	--lf-white: #FFFFFF;
	--lf-cream: #FAF8F5;
	--lf-sand: #FBE4B9;
	--lf-cta-sand: #FBE4B9;
	--lf-muted: #5C5C72;
	--lf-border: #E8E4DF;
	/* Open Sauce partout ; Chilink réservée au logo (.site-title) */
	--lf-font-logo: "Chilink", cursive;
	--lf-font-display: "Open Sauce One", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lf-font-subtitle: "Open Sauce One", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lf-font-body: "Open Sauce One", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lf-max: 75rem;
	--lf-radius: 1rem;
	--lf-radius-sm: 0.75rem;
	--lf-shadow: 0 8px 32px rgba(23, 27, 81, 0.08);
	--lf-quiz-cyan: #0BBBEF;
	--lf-quiz-blue: #004A9B;
	--lf-quiz-yellow: #FFE00C;
	--lf-karaoke-pink: #DDA7A5;
	--lf-ceramique-sand: #FBE4B9;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--lf-font-body);
	font-weight: 400;
	color: var(--lf-navy);
	background: var(--lf-cream);
	line-height: 1.65;
}

h1 {
	font-family: var(--lf-font-display);
	font-weight: 500;
	line-height: 1.15;
}

.lf-font-display {
	font-family: var(--lf-font-display);
	font-weight: 500;
	line-height: 1.15;
}

h2,
h3,
h4,
h5,
h6,
.lf-font-subtitle {
	font-family: var(--lf-font-subtitle);
	font-weight: 500;
	line-height: 1.25;
}

a {
	color: var(--lf-orange);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--lf-orange-hover);
}

a:focus-visible {
	outline: 2px solid var(--lf-orange);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Liens dans le contenu : pas de soulignement, teinte plus foncée au survol */
.entry-content a:not(.lf-btn):not(.wp-block-button__link):not(.lf-activite-actions__more):not(.lf-activite-actions__reserve) {
	text-decoration: none;
}

.entry-content a:not(.lf-btn):not(.wp-block-button__link):not(.lf-activite-actions__more):not(.lf-activite-actions__reserve):hover {
	text-decoration: none;
}

/* WordPress / Gutenberg */
.wp-block-navigation a,
.wp-block-page-list a {
	text-decoration: none;
}

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

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
	width: min(100% - 2rem, var(--lf-max));
	margin: 0 auto;
	padding: 2rem 0 4rem;
}

.lf-full-width .site-content {
	width: 100%;
	max-width: none;
	padding: 0;
}

.lf-full-width .site-main {
	width: 100%;
}

.site-main--activite,
.site-main--front {
	width: 100%;
}

/* Conteneur aligné header / contenu */
.lf-container {
	width: min(100% - 2rem, var(--lf-max));
	margin-inline: auto;
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

.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;
	width: 1px;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	padding: 1rem;
	z-index: 100000;
}

@media (min-width: 768px) {
	body:not(.lf-full-width) .site-content {
		display: grid;
		grid-template-columns: 1fr 16rem;
		gap: 2rem;
	}

	body:not(.lf-full-width) .site-main {
		grid-column: 1;
	}

	body:not(.lf-full-width) .widget-area {
		grid-column: 2;
	}
}
