/*
Theme Name: YOLIFITDANZ — Blog
Theme URI: https://yolifitdanz.com
Author: YOLIFITDANZ
Author URI: https://yolifitdanz.com
Description: Thème du blog YOLIFITDANZ, calqué sur l'identité du site principal (couleurs, polices, navigation et pied de page identiques). Interface en français. Une seule valeur à modifier dans functions.php : l'URL du site principal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yolifitdanz-journal
Tags: blog, one-column, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* =============================================================================
   1. Variables — couleurs et polices prélevées sur yolifitdanz.com
   ========================================================================== */

:root {
	/* Couleurs exactes du site */
	--yfd-header-bg: #f6e8ef;   /* bande du header (rose pâle)            */
	--yfd-page-bg: #ffffff;     /* fond des pages                          */
	--yfd-text: #1d1e20;        /* texte courant                           */
	--yfd-nav-text: #0d141a;    /* liens du menu                           */
	--yfd-accent: #53236d;      /* violet de la marque (= fond du footer)  */
	--yfd-accent-dark: #3f1a53; /* violet assombri (survol)                */
	--yfd-footer-bg: #53236d;   /* fond du pied de page                    */
	--yfd-footer-text: #ffffff; /* texte du pied de page                   */
	--yfd-button-bg: #000000;   /* boutons du site                         */
	--yfd-button-text: #ffffff;
	--yfd-border: #e6e2e8;
	--yfd-muted: #5f5a64;
	--yfd-soft: #faf5f8;

	/* Polices du site */
	--yfd-font-body: "Inter", "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	--yfd-font-heading: "Outfit", "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	--yfd-font-nav: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

	/* Gabarit */
	--yfd-container: 1224px;
	--yfd-gutter: 16px;
	--yfd-radius: 28px;
}

/* =============================================================================
   2. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--yfd-page-bg);
	color: var(--yfd-text);
	font-family: var(--yfd-font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img,
svg,
video,
iframe,
embed,
object {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: var(--yfd-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	color: var(--yfd-accent-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--yfd-font-heading);
	font-weight: 600;
	line-height: 1.3;
	color: var(--yfd-text);
	margin: 0 0 .6em;
	overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }   /* 64px max, comme le site */
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p, ul, ol, dl, pre, blockquote, table, figure {
	margin: 0 0 1.25rem;
}

figure { margin-inline: 0; }

blockquote {
	margin-inline: 0;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--yfd-accent);
	background: var(--yfd-soft);
	font-style: normal;
}

blockquote > :last-child { margin-bottom: 0; }

code, pre, kbd, samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
}

pre {
	padding: 1rem;
	overflow: auto;
	background: var(--yfd-soft);
	border: 1px solid var(--yfd-border);
	border-radius: 8px;
}

hr {
	border: 0;
	border-top: 1px solid var(--yfd-border);
	margin: 2rem 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	padding: .6rem .75rem;
	border: 1px solid var(--yfd-border);
	text-align: left;
}

th { background: var(--yfd-soft); }

/* Accessibilité */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: .75rem 1.25rem;
	background: var(--yfd-accent);
	color: #fff;
	text-decoration: none;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--yfd-accent);
	outline-offset: 2px;
}

/* =============================================================================
   3. Gabarit
   ========================================================================== */

.yfd-container {
	width: 100%;
	max-width: var(--yfd-container);
	margin-inline: auto;
	padding-inline: var(--yfd-gutter);
}

.site-main {
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 1000px) {
	.layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.no-sidebar .layout--with-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

/* Contenu lisible sur les articles / pages */
.entry-content,
.page-intro {
	max-width: 76ch;
}

/* =============================================================================
   4. Header — bande rose pâle #f6e8ef, logo à gauche, menu à droite.
      Ne casse jamais : logo borné, titre long qui passe à la ligne,
      menu qui s'enroule sans jamais chevaucher la marque.
   ========================================================================== */

.site-header {
	background: var(--yfd-header-bg);
	position: relative;
	z-index: 20;
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	min-height: 96px;
	padding-block: 30px;   /* 30 + logo 114 + 30 = 174px, hauteur du header du site */
}

/* --- Marque / logo --------------------------------------------------------- */

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	min-width: 0;          /* autorise la compression sans débordement */
	max-width: 100%;
	flex: 0 1 auto;
	text-decoration: none;
	color: var(--yfd-nav-text);
}

.site-brand__logo {
	width: auto;
	height: auto;
	max-height: 114px;                  /* hauteur du logo sur le site */
	max-width: min(174px, 46vw);        /* largeur bornée : jamais de débordement */
	object-fit: contain;
}

.site-brand--footer .site-brand__logo {
	max-height: 92px;
	max-width: min(150px, 55vw);
}

/* Repli texte : aucun logo défini → titre du site, borné et multi-lignes */
.site-brand__text {
	display: block;
	font-family: var(--yfd-font-heading);
	font-weight: 600;
	font-size: clamp(1.05rem, 2.4vw, 1.5rem);
	line-height: 1.2;
	max-width: min(46ch, 100%);
	overflow-wrap: anywhere;
	hyphens: auto;
	color: var(--yfd-nav-text);
}

.site-brand--footer .site-brand__text {
	color: var(--yfd-footer-text);
}

/* --- Navigation ------------------------------------------------------------ */

.site-nav {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 16px 32px;   /* gap exact du site */
}

.site-nav__list li {
	min-width: 0;
}

.site-nav__link,
.site-nav__list a {
	display: inline-block;
	font-family: var(--yfd-font-nav);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--yfd-nav-text);
	text-decoration: none;
	padding-block: 2px;
}

.site-nav__list a:hover,
.site-nav__list a:focus {
	color: var(--yfd-accent);
}

/* Onglet actif (le blog) — texte en violet de la marque */
.site-nav__item--current > .site-nav__link,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	color: var(--yfd-accent);
	font-weight: 500;
}

/* --- Bouton menu mobile ---------------------------------------------------- */

.site-nav__toggle {
	display: none;
	align-items: center;
	gap: .5rem;
	margin: 0;
	padding: 10px 16px;
	background: transparent;
	border: 1px solid rgba(13, 20, 26, .22);
	border-radius: 999px;
	font-family: var(--yfd-font-nav);
	font-size: 15px;
	color: var(--yfd-nav-text);
	cursor: pointer;
	flex: 0 0 auto;
}

.site-nav__toggle:hover {
	border-color: var(--yfd-accent);
	color: var(--yfd-accent);
}

.site-nav__toggle-bars {
	position: relative;
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.site-nav__toggle-bars::before { top: -6px; }
.site-nav__toggle-bars::after  { top: 6px; }

@media (max-width: 860px) {

	.site-header__inner {
		flex-wrap: nowrap;
		align-items: center;
		gap: 12px;
		min-height: 80px;
	}

	.site-nav__toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		background: var(--yfd-header-bg);
		border-top: 1px solid rgba(13, 20, 26, .08);
		box-shadow: 0 14px 30px rgba(29, 30, 32, .1);
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		max-width: var(--yfd-container);
		margin-inline: auto;
		padding: 8px var(--yfd-gutter) 16px;
	}

	.site-nav__list li + li {
		border-top: 1px solid rgba(13, 20, 26, .08);
	}

	.site-nav__list a {
		display: block;
		padding: 14px 0;
		font-size: 17px;
	}
}

/* =============================================================================
   5. En-tête de page (titre d'archive, de recherche, 404)
   ========================================================================== */

.page-header {
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.page-header__title {
	margin-bottom: .35em;
}

.page-header__subtitle {
	margin: 0;
	color: var(--yfd-muted);
	font-size: 1.0625rem;
}

/* =============================================================================
   6. Liste d'articles
   ========================================================================== */

.post-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.layout--with-sidebar .post-list {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--yfd-border);
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.post-card:hover {
	box-shadow: 0 12px 28px rgba(83, 35, 109, .12);
	transform: translateY(-2px);
}

.post-card__thumb {
	display: block;
	margin: 0;
	aspect-ratio: 16 / 10;
	background: var(--yfd-soft);
	overflow: hidden;
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 1.25rem 1.25rem 1.5rem;
	flex: 1 1 auto;
}

.post-card__title {
	font-size: 1.25rem;
	margin: 0;
}

.post-card__title a {
	color: var(--yfd-text);
	text-decoration: none;
}

.post-card__title a:hover,
.post-card__title a:focus {
	color: var(--yfd-accent);
}

.post-card__excerpt {
	margin: 0;
	color: var(--yfd-muted);
	font-size: .9375rem;
}

.post-card__more {
	margin-top: auto;
	padding-top: .5rem;
	font-size: .9375rem;
	font-weight: 500;
	text-decoration: none;
}

.post-card__more::after {
	content: " →";
}

.entry-meta {
	margin: 0;
	font-size: .8125rem;
	color: var(--yfd-muted);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
}

.entry-meta a {
	color: var(--yfd-muted);
	text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus {
	color: var(--yfd-accent);
	text-decoration: underline;
}

.entry-meta__sep {
	opacity: .6;
}

/* Article épinglé */
.post-card.sticky {
	border-color: var(--yfd-accent);
}

/* =============================================================================
   7. Article seul / page
   ========================================================================== */

.entry-header {
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.entry-title {
	margin-bottom: .5em;
}

.single .entry-title,
.page .entry-title {
	font-size: clamp(1.85rem, 4.4vw, 2.85rem);
}

.entry-thumb {
	margin: 0 0 clamp(1.5rem, 3vw, 2rem);
	border-radius: 16px;
	overflow: hidden;
}

.entry-thumb img {
	width: 100%;
	height: auto;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
}

.entry-content a {
	text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25rem;
}

.entry-content li + li {
	margin-top: .35rem;
}

.entry-content img,
.wp-block-image img {
	border-radius: 12px;
}

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--yfd-border);
	font-size: .9375rem;
	color: var(--yfd-muted);
}

.entry-footer a { text-decoration: none; }
.entry-footer a:hover { text-decoration: underline; }

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags-list a {
	display: inline-block;
	padding: .3rem .75rem;
	background: var(--yfd-soft);
	border: 1px solid var(--yfd-border);
	border-radius: 999px;
	font-size: .8125rem;
	color: var(--yfd-accent);
}

.post-navigation {
	margin-top: 2.5rem;
	display: grid;
	gap: 1rem;
}

@media (min-width: 700px) {
	.post-navigation {
		grid-template-columns: 1fr 1fr;
	}
}

.post-navigation__link {
	display: block;
	padding: 1rem 1.25rem;
	border: 1px solid var(--yfd-border);
	border-radius: 12px;
	text-decoration: none;
	color: var(--yfd-text);
}

.post-navigation__link:hover {
	border-color: var(--yfd-accent);
	color: var(--yfd-text);
}

.post-navigation__label {
	display: block;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--yfd-muted);
	margin-bottom: .25rem;
}

.post-navigation__title {
	font-family: var(--yfd-font-heading);
	font-weight: 600;
}

.post-navigation__link--next {
	text-align: right;
}

/* =============================================================================
   8. Boutons (style du site : pilule noire, texte blanc)
   ========================================================================== */

.yfd-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"],
.comment-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 1.75rem;
	background: var(--yfd-button-bg);
	color: var(--yfd-button-text);
	border: 1px solid var(--yfd-button-bg);
	border-radius: var(--yfd-radius);
	font-family: var(--yfd-font-nav);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease;
}

.yfd-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--yfd-accent);
	border-color: var(--yfd-accent);
	color: #fff;
}

/* =============================================================================
   9. Formulaires
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: .7rem .9rem;
	background: #fff;
	border: 1px solid var(--yfd-border);
	border-radius: 12px;
	font-family: var(--yfd-font-body);
	font-size: 16px;
	color: var(--yfd-text);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--yfd-accent);
	outline: 2px solid rgba(83, 35, 109, .18);
	outline-offset: 0;
}

label {
	display: block;
	margin-bottom: .35rem;
	font-size: .9375rem;
	font-weight: 500;
}

/* Formulaire de recherche */
.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: stretch;
}

.search-form__field {
	flex: 1 1 180px;
	min-width: 0;
}

.search-form__submit {
	flex: 0 0 auto;
	padding-inline: 1.25rem;
}

/* =============================================================================
   10. Pagination
   ========================================================================== */

.navigation.pagination {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 .75rem;
	border: 1px solid var(--yfd-border);
	border-radius: 999px;
	text-decoration: none;
	color: var(--yfd-text);
	font-size: .9375rem;
}

.page-numbers:hover {
	border-color: var(--yfd-accent);
	color: var(--yfd-accent);
}

.page-numbers.current {
	background: var(--yfd-accent);
	border-color: var(--yfd-accent);
	color: #fff;
}

.page-numbers.dots {
	border-color: transparent;
}

/* =============================================================================
   11. Barre latérale et widgets
   ========================================================================== */

.sidebar {
	min-width: 0;
}

.widget {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--yfd-border);
}

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

.widget-title {
	font-size: 1.0625rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 1rem;
}

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

.widget li + li {
	margin-top: .5rem;
}

.widget a {
	text-decoration: none;
	color: var(--yfd-text);
}

.widget a:hover {
	color: var(--yfd-accent);
	text-decoration: underline;
}

/* =============================================================================
   12. Commentaires
   ========================================================================== */

.comments-area {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: clamp(2rem, 4vw, 2.5rem);
	border-top: 1px solid var(--yfd-border);
}

.comments-title,
.comment-reply-title {
	font-size: 1.4rem;
	margin-bottom: 1.25rem;
}

.comment-list {
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
}

.comment-list ol.children {
	list-style: none;
	margin: 1.25rem 0 0;
	padding-left: clamp(.75rem, 3vw, 2rem);
	border-left: 2px solid var(--yfd-border);
}

.comment-body {
	padding: 1.25rem;
	margin-bottom: 1.25rem;
	background: var(--yfd-soft);
	border-radius: 12px;
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem;
	margin-bottom: .75rem;
	font-size: .875rem;
	color: var(--yfd-muted);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-weight: 600;
	color: var(--yfd-text);
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata a {
	color: var(--yfd-muted);
	text-decoration: none;
}

.comment-content > :last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: .75rem;
	font-size: .875rem;
}

.reply a {
	text-decoration: none;
	font-weight: 500;
}

.comment-respond {
	max-width: 720px;
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-notes,
.comment-form-cookies-consent label,
.form-submit {
	font-size: .9375rem;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
}

.comment-form-cookies-consent input {
	width: auto;
	min-height: 0;
	margin-top: .3rem;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.no-comments {
	color: var(--yfd-muted);
}

/* =============================================================================
   13. 404 / aucun résultat
   ========================================================================== */

.not-found__inner {
	max-width: 640px;
}

.not-found__code {
	font-family: var(--yfd-font-heading);
	font-size: clamp(3.5rem, 12vw, 6rem);
	font-weight: 700;
	line-height: 1;
	color: var(--yfd-accent);
	margin: 0 0 .5rem;
}

.not-found__links {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.75rem;
	padding: 0;
	list-style: none;
}

/* =============================================================================
   14. Footer — fond violet #53236d, mêmes informations que le site
   ========================================================================== */

.site-footer {
	background: var(--yfd-footer-bg);
	color: var(--yfd-footer-text);
	font-family: var(--yfd-font-nav);
	padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.75rem, 4vw, 2.5rem);
	margin-top: clamp(3rem, 6vw, 5rem);
}

.site-footer a {
	color: var(--yfd-footer-text);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 700px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.site-footer__grid {
		grid-template-columns: 1.2fr .9fr 1fr;
	}
}

.site-footer__col {
	min-width: 0;
}

.site-footer__title {
	font-family: var(--yfd-font-heading);
	font-weight: 600;
	font-size: 26px;
	line-height: 1.25;
	color: var(--yfd-footer-text);
	margin: 0 0 1rem;
}

.site-footer__label {
	margin: 0 0 .75rem;
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--yfd-footer-text);
}

.site-footer__text {
	margin: 0 0 .25rem;
	font-size: 14px;
	line-height: 1.6;
	color: var(--yfd-footer-text);
}

.site-footer__email {
	font-size: 16px;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.site-footer__email:hover {
	text-decoration: underline;
}

.site-footer__brand {
	margin-bottom: 1.25rem;
}

/* Réseaux sociaux */
.social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--yfd-footer-text);
	transition: opacity .18s ease;
}

.social-links a:hover,
.social-links a:focus {
	opacity: .72;
}

/* Liens légaux */
.legal-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal-links li + li {
	margin-top: 1.25rem;
}

.legal-links a {
	font-size: 14px;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.legal-links a:hover {
	opacity: .78;
}

@media (min-width: 1000px) {
	.site-footer__col--legal {
		text-align: right;
	}
}

/* Bas du footer */
.site-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin-top: clamp(2rem, 5vw, 3.25rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .18);
}

@media (min-width: 700px) {
	.site-footer__bottom {
		grid-template-columns: 1fr auto;
		align-items: end;
	}
}

.site-footer__credential,
.site-footer__copyright {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--yfd-footer-text);
}

@media (min-width: 700px) {
	.site-footer__copyright {
		text-align: right;
	}
}

.site-footer__copyright strong {
	font-weight: 700;
}

/* =============================================================================
   15. Blocs WordPress — garde-fous
   ========================================================================== */

.alignwide  { max-width: min(1100px, 100%); }
.alignfull  { max-width: 100%; }

.aligncenter {
	margin-inline: auto;
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

@media (max-width: 600px) {
	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 1.25rem;
	}
}

.wp-caption-text,
.wp-element-caption,
figcaption {
	font-size: .8125rem;
	color: var(--yfd-muted);
	margin-top: .5rem;
}

.wp-block-embed iframe {
	max-width: 100%;
}

/* Impression */
@media print {
	.site-header,
	.site-footer,
	.sidebar,
	.comments-area,
	.post-navigation {
		display: none !important;
	}
}
