/*
Theme Name: Zoe Couture
Theme URI: https://zoe-couture.fr/blog/
Author: Zoe Couture Wedding
Author URI: https://zoe-couture.fr/
Description: Thème sur mesure du blog Zoe Couture Wedding, aligné sur la direction artistique du site zoe-couture.fr : Playfair Display et Montserrat auto-hébergées, palette crème, noir et or, en-tête et pied de page identiques au site principal. Léger (sans jQuery), accessible, compatible Gutenberg, Elementor et Yoast SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zoe-couture
Tags: blog, one-column, three-columns, custom-menu, custom-logo, featured-images, translation-ready, editor-style, wide-blocks
*/

/* ==========================================================================
   1. Polices auto-hébergées (SIL Open Font License, voir assets/fonts/)
   ========================================================================== */

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/playfair-display-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/playfair-display-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/montserrat-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Montserrat";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/montserrat-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Variables (mêmes valeurs que tailwind.config.ts du site principal)
   ========================================================================== */

:root {
	--zc-cream-50: #fdfbf7;
	--zc-cream-100: #faf6ef;
	--zc-cream-200: #f5ede0;
	--zc-cream-300: #efe3d0;
	--zc-cream-400: #e9d8bf;
	--zc-cream-500: #e3ceaf;
	--zc-black: #1a1a1a;
	--zc-white: #ffffff;
	--zc-gold: #d4af37;
	--zc-gray-200: #e5e7eb;
	--zc-gray-300: #d1d5db;
	--zc-gray-400: #9ca3af;
	--zc-gray-500: #6b7280;
	--zc-gray-600: #4b5563;
	--zc-gray-700: #374151;

	--zc-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--zc-font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	--zc-container: 80rem;
	--zc-content: 45rem;
	--zc-wide: 64rem;
	--zc-gutter: 1.5rem;

	--zc-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	--zc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
	:root {
		--zc-gutter: 3rem;
	}
}

/* ==========================================================================
   3. Base
   ========================================================================== */

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

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

body {
	margin: 0;
	background-color: var(--zc-cream-50);
	color: var(--zc-black);
	font-family: var(--zc-font-sans);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--zc-font-serif);
	font-weight: 400;
	line-height: 1.2;
}

p {
	margin: 0;
}

img,
video,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s var(--zc-ease);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

:focus-visible {
	outline: 2px solid var(--zc-gold);
	outline-offset: 3px;
}

::selection {
	background: var(--zc-cream-300);
	color: var(--zc-black);
}

/* ==========================================================================
   4. Accessibilité
   ========================================================================== */

.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,
.skip-link:focus {
	background-color: var(--zc-white);
	clip: auto !important;
	clip-path: none;
	color: var(--zc-black);
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 1rem;
	padding: 1rem 1.5rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
	box-shadow: var(--zc-shadow-xl);
}

/* ==========================================================================
   5. Composants du site principal (mêmes noms de classes que zoe-couture.fr,
      utilisables dans Gutenberg ou Elementor via "Classes CSS")
   ========================================================================== */

.zc-container,
.container-custom {
	width: 100%;
	max-width: var(--zc-container);
	margin-left: auto;
	margin-right: auto;
}

.zc-container {
	padding-left: var(--zc-gutter);
	padding-right: var(--zc-gutter);
}

.section-padding {
	padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
	.section-padding {
		padding: 6rem 3rem;
	}
}

@media (min-width: 1024px) {
	.section-padding {
		padding-left: 6rem;
		padding-right: 6rem;
	}
}

.heading-primary {
	font-family: var(--zc-font-serif);
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 400;
	letter-spacing: 0.025em;
}

.heading-secondary {
	font-family: var(--zc-font-serif);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 400;
	letter-spacing: 0.025em;
}

@media (min-width: 768px) {
	.heading-primary {
		font-size: 3rem;
		line-height: 1.1;
	}

	.heading-secondary {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.heading-primary {
		font-size: 3.75rem;
		line-height: 1.1;
	}

	.heading-secondary {
		font-size: 3rem;
		line-height: 1.1;
	}
}

h1 > .heading-primary {
	display: block;
}

/* Sous-titre des H1 (même style que "WEDDING" sous le logo) */
.zc-kicker,
.hero-subtitle {
	display: block;
	margin-top: 1rem;
	font-family: var(--zc-font-sans);
	font-size: 0.75rem;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--zc-gold);
}

@media (min-width: 768px) {
	.zc-kicker,
	.hero-subtitle {
		font-size: 0.875rem;
	}
}

.divider {
	width: 6rem;
	height: 1px;
	margin: 2rem auto;
	border: 0;
	background-color: var(--zc-gold);
}

.divider--left {
	margin-left: 0;
}

.text-gold-accent {
	color: var(--zc-gold);
}

/* Les boutons de blocs sont ciblés avec ".wp-block-button" / "body" : WordPress imprime
   après ce fichier une règle ":root :where(.wp-block-button__link)" de même spécificité. */
.btn-primary,
.btn-secondary,
.wp-block-button .wp-block-button__link,
body .wp-element-button {
	display: inline-block;
	padding: 0.75rem 2rem;
	border: 2px solid transparent;
	border-radius: 0;
	font-family: var(--zc-font-sans);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s var(--zc-ease);
}

.btn-primary,
.wp-block-button .wp-block-button__link,
body .wp-element-button {
	background-color: var(--zc-black);
	border-color: var(--zc-black);
	color: var(--zc-white);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.wp-block-button .wp-block-button__link:hover,
body .wp-element-button:hover {
	background-color: rgb(26 26 26 / 0.8);
	color: var(--zc-white);
	transform: scale(1.05);
}

.btn-secondary,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background-color: transparent;
	border-color: var(--zc-black);
	color: var(--zc-black);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: var(--zc-black);
	color: var(--zc-white);
	transform: none;
}

/* Bouton blanc sur photo (bloc rendez-vous) */
.btn-light {
	background-color: var(--zc-white);
	border-color: var(--zc-white);
	color: var(--zc-black);
}

.btn-light:hover,
.btn-light:focus-visible {
	background-color: var(--zc-cream-100);
	color: var(--zc-black);
	transform: scale(1.05);
}

.zc-link-gold {
	font-family: var(--zc-font-sans);
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--zc-gold);
}

.zc-link-gold:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* ==========================================================================
   6. En-tête (identique au header de zoe-couture.fr)
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: var(--zc-white);
	padding: 1.5rem 0;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	max-width: var(--zc-container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 768px) {
	.site-header__inner {
		padding: 0 3rem;
	}
}

.site-logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: var(--zc-black);
}

.site-logo__name {
	font-family: var(--zc-font-serif);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--zc-black);
}

.site-logo__tagline {
	font-family: var(--zc-font-sans);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--zc-gold);
}

@media (min-width: 768px) {
	.site-logo__name {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

.site-logo img {
	width: auto;
	max-height: 3.5rem;
}

/* Bouton menu (burger) : visible sous 1280 px, comme sur le site principal */
.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.375rem;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.menu-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--zc-black);
	transition: transform 0.3s var(--zc-ease), opacity 0.3s var(--zc-ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
	transform: translateY(0.5rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
	transform: translateY(-0.5rem) rotate(-45deg);
}

.main-nav {
	flex-basis: 100%;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s var(--zc-ease), margin 0.3s var(--zc-ease);
}

.menu-ouvert .main-nav {
	max-height: 30rem;
	margin-top: 1.5rem;
}

.main-nav__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-bottom: 1.5rem;
	list-style: none;
}

.main-nav__list a {
	display: block;
	font-family: var(--zc-font-sans);
	font-size: 0.875rem;
	line-height: 1.25rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--zc-black);
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_item > a,
.main-nav__list .current-menu-ancestor > a,
.main-nav__list a[aria-current="page"] {
	color: var(--zc-gold);
}

/* Sans JavaScript : le menu reste ouvert et le burger disparaît */
.no-js .main-nav {
	max-height: none;
	margin-top: 1.5rem;
}

.no-js .menu-toggle {
	display: none;
}

@media (min-width: 1280px) {
	.menu-toggle {
		display: none;
	}

	.main-nav,
	.no-js .main-nav,
	.menu-ouvert .main-nav {
		flex-basis: auto;
		max-height: none;
		margin-top: 0;
		overflow: visible;
	}

	.main-nav__list {
		flex-direction: row;
		align-items: center;
		gap: 2rem;
		padding-bottom: 0;
	}

	.main-nav__list a {
		display: inline;
	}
}

/* ==========================================================================
   7. Pied de page (identique au footer de zoe-couture.fr)
   ========================================================================== */

.site-footer {
	background-color: var(--zc-black);
	color: var(--zc-white);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

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

.site-footer__brand {
	text-align: center;
}

.site-footer__nav {
	text-align: center;
}

.site-footer__contact {
	text-align: center;
}

@media (min-width: 768px) {
	.site-footer__brand {
		text-align: left;
	}

	.site-footer__contact {
		text-align: right;
	}
}

.site-footer__title {
	margin-bottom: 1rem;
	font-family: var(--zc-font-serif);
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--zc-gold);
}

.site-footer__heading {
	margin-bottom: 1rem;
	font-family: var(--zc-font-sans);
	font-size: 0.875rem;
	line-height: 1.25rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.site-footer__text {
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--zc-gray-300);
}

.site-footer__text + .site-footer__text {
	margin-top: 1rem;
}

.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--zc-gray-300);
	list-style: none;
}

.site-footer__list a {
	color: var(--zc-gray-300);
}

.site-footer__list a:hover,
.site-footer__social a:hover,
.site-footer__legal a:hover {
	color: var(--zc-gold);
}

.site-footer address {
	font-style: normal;
}

.site-footer__social {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

@media (min-width: 768px) {
	.site-footer__social {
		justify-content: flex-end;
	}
}

.site-footer__social svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
}

.site-footer__bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--zc-gray-700);
	text-align: center;
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--zc-gray-400);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin-top: 0.75rem;
	list-style: none;
}

.site-footer__legal a {
	color: var(--zc-gray-400);
}

/* ==========================================================================
   8. En-têtes de pages (blog, archives, recherche, 404)
   ========================================================================== */

.zc-page-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--zc-white);
	text-align: center;
}

.zc-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.zc-page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zc-page-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgb(255 255 255 / 0.85);
}

.zc-page-hero__content {
	position: relative;
	z-index: 1;
	max-width: 56rem;
	margin: 0 auto;
}

.zc-page-hero__text {
	max-width: 48rem;
	margin: 0 auto;
	font-size: 1.125rem;
	line-height: 1.625;
	color: var(--zc-gray-600);
}

.zc-page-hero .search-form {
	margin-top: 2rem;
}

/* Navigation par catégories */
.zc-cat-nav {
	background-color: var(--zc-white);
	padding: 0 1.5rem 3rem;
}

.zc-page-hero--image + .zc-cat-nav {
	padding-top: 2.5rem;
}

.zc-cat-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	max-width: var(--zc-container);
	margin: 0 auto;
	list-style: none;
}

.zc-cat-nav__list a {
	display: inline-block;
	padding: 0.5rem 1rem;
	border: 1px solid var(--zc-gray-300);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--zc-black);
	transition: all 0.3s var(--zc-ease);
}

.zc-cat-nav__list a:hover {
	border-color: var(--zc-gold);
	color: var(--zc-gold);
}

.zc-cat-nav__list a[aria-current="page"] {
	background-color: var(--zc-black);
	border-color: var(--zc-black);
	color: var(--zc-white);
}

/* ==========================================================================
   9. Grille d'articles et cartes
   ========================================================================== */

.zc-posts {
	background-color: var(--zc-cream-100);
}

.post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

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

@media (min-width: 1024px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-card {
	display: flex;
	flex-direction: column;
	background-color: var(--zc-white);
	transition: box-shadow 0.3s var(--zc-ease);
}

.post-card:hover {
	box-shadow: var(--zc-shadow-xl);
}

.post-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: var(--zc-cream-200);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--zc-ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.05);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.75rem;
	padding: 2rem;
}

.post-card__cat,
.entry-cat {
	font-family: var(--zc-font-sans);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--zc-gold);
}

.post-card__cat a:hover,
.entry-cat a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.post-card__title {
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--zc-black);
}

.post-card__title a:hover {
	color: var(--zc-gold);
}

.post-card__excerpt {
	font-size: 0.9375rem;
	line-height: 1.625;
	color: var(--zc-gray-600);
}

.post-card__more {
	margin-top: auto;
	padding-top: 0.5rem;
}

.zc-empty {
	max-width: 40rem;
	margin: 0 auto;
	text-align: center;
	color: var(--zc-gray-600);
	font-size: 1.125rem;
	line-height: 1.625;
}

.zc-empty .search-form {
	margin-top: 2rem;
}

.zc-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 3rem;
}

/* Pagination */
.pagination {
	margin-top: 4rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid var(--zc-gray-300);
	background-color: var(--zc-white);
	font-size: 0.875rem;
	color: var(--zc-black);
	transition: all 0.3s var(--zc-ease);
}

.pagination a.page-numbers:hover {
	border-color: var(--zc-gold);
	color: var(--zc-gold);
}

.pagination .page-numbers.current {
	background-color: var(--zc-black);
	border-color: var(--zc-black);
	color: var(--zc-white);
}

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

/* ==========================================================================
   10. Article
   ========================================================================== */

.entry-header {
	background-color: var(--zc-white);
	padding: 3rem 0 1rem;
	text-align: center;
}

@media (min-width: 768px) {
	.entry-header {
		padding-top: 4.5rem;
	}
}

.entry-header__inner {
	max-width: 56rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.zc-breadcrumbs {
	margin-bottom: 2rem;
	font-size: 0.75rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--zc-gray-500);
}

.zc-breadcrumbs a {
	color: var(--zc-gray-600);
	text-decoration: underline;
	text-decoration-color: var(--zc-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.zc-breadcrumbs a:hover {
	color: var(--zc-gold);
}

.zc-breadcrumbs .breadcrumb_last,
.zc-breadcrumbs [aria-current="page"] {
	color: var(--zc-gray-500);
}

.zc-breadcrumbs__sep {
	margin: 0 0.5rem;
	color: var(--zc-gold);
}

.entry-cat {
	margin-bottom: 1.25rem;
}

.entry-title {
	font-size: 2rem;
	line-height: 1.2;
	letter-spacing: 0.025em;
	color: var(--zc-black);
}

@media (min-width: 768px) {
	.entry-title {
		font-size: 2.75rem;
	}
}

@media (min-width: 1024px) {
	.entry-title {
		font-size: 3.25rem;
	}
}

.entry-meta {
	margin-top: 1.5rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--zc-gray-500);
}

.entry-meta a {
	color: var(--zc-gray-700);
	text-decoration: underline;
	text-decoration-color: var(--zc-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.entry-meta a:hover {
	color: var(--zc-gold);
}

.entry-meta__sep {
	margin: 0 0.5rem;
	color: var(--zc-gold);
}

/* L'image à la une chevauche le bandeau blanc du titre et le fond crème du texte */
.entry-thumbnail-wrap {
	background: linear-gradient(to bottom, var(--zc-white) 50%, transparent 50%);
}

.entry-thumbnail {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.entry-thumbnail img {
	width: 100%;
	max-height: 42rem;
	object-fit: cover;
}

/* Contenu : grille centrée avec gestion des blocs larges / pleine largeur */
.entry-content {
	display: grid;
	grid-template-columns:
		[full-start] minmax(1.5rem, 1fr)
		[wide-start] minmax(0, calc((var(--zc-wide) - var(--zc-content)) / 2))
		[content-start] min(var(--zc-content), calc(100% - 3rem))
		[content-end] minmax(0, calc((var(--zc-wide) - var(--zc-content)) / 2))
		[wide-end] minmax(1.5rem, 1fr) [full-end];
	padding: 3.5rem 0 1rem;
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--zc-gray-700);
}

.entry-content > * {
	grid-column: content;
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.entry-content > .alignwide {
	grid-column: wide;
}

.entry-content > .alignfull {
	grid-column: full;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--zc-black);
	scroll-margin-top: 7rem;
}

.entry-content h2 {
	margin-top: 3rem;
	margin-bottom: 1.25rem;
	font-size: 1.875rem;
	line-height: 1.25;
}

.entry-content h3 {
	margin-top: 2.25rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	line-height: 1.3;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	font-family: var(--zc-font-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.entry-content h2 {
		font-size: 2.25rem;
	}

	.entry-content h3 {
		font-size: 1.625rem;
	}
}

.entry-content a:not(.wp-block-button__link):not(.btn-primary):not(.btn-secondary) {
	color: var(--zc-black);
	text-decoration: underline;
	text-decoration-color: var(--zc-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.entry-content a:not(.wp-block-button__link):not(.btn-primary):not(.btn-secondary):hover {
	color: var(--zc-gold);
}

.entry-content strong {
	color: var(--zc-black);
	font-weight: 600;
}

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

.entry-content li {
	margin: 0.5rem 0;
	padding-left: 0.25rem;
}

.entry-content ul li::marker {
	color: var(--zc-gold);
}

.entry-content ol li::marker {
	color: var(--zc-gold);
	font-family: var(--zc-font-serif);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin: 2.5rem 0;
	padding: 0.5rem 0 0.5rem 2rem;
	border-left: 2px solid var(--zc-gold);
	font-family: var(--zc-font-serif);
	font-style: italic;
	font-size: 1.375rem;
	line-height: 1.6;
	color: var(--zc-black);
}

.entry-content blockquote p:last-of-type {
	margin-bottom: 0;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite,
.entry-content .wp-block-pullquote cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--zc-font-sans);
	font-size: 0.75rem;
	font-style: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--zc-gray-500);
}

.entry-content .wp-block-pullquote {
	margin: 3rem 0;
	padding: 2.5rem 0;
	border-top: 1px solid var(--zc-gold);
	border-bottom: 1px solid var(--zc-gold);
	text-align: center;
}

.entry-content .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.75rem;
}

.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}

.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-embed {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	text-align: center;
	color: var(--zc-gray-500);
}

.entry-content hr,
.entry-content .wp-block-separator {
	width: 6rem;
	height: 1px;
	margin: 3rem auto;
	border: 0;
	background-color: var(--zc-gold);
	opacity: 1;
}

.entry-content .wp-block-separator.is-style-wide {
	width: 100%;
	background-color: var(--zc-gray-300);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--zc-gray-200);
	text-align: left;
	vertical-align: top;
}

.entry-content th,
.entry-content thead td {
	background-color: var(--zc-cream-100);
	font-weight: 600;
	color: var(--zc-black);
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content code,
.entry-content pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.875em;
	background-color: var(--zc-cream-100);
}

.entry-content code {
	padding: 0.15em 0.35em;
}

.entry-content pre {
	padding: 1.25rem;
	overflow-x: auto;
}

.entry-content .has-drop-cap:not(:focus)::first-letter {
	float: left;
	margin: 0.1em 0.12em 0 0;
	font-family: var(--zc-font-serif);
	font-size: 4.5em;
	line-height: 0.8;
	color: var(--zc-gold);
}

.entry-content .wp-block-buttons {
	gap: 1rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.entry-content .wp-block-cover,
.entry-content .wp-block-group.has-background {
	padding: 2.5rem;
}

/* Compositions « Le conseil de Zoé » et « Rendez-vous à l'atelier » */
.entry-content .zc-tip {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	padding: 2rem;
	border-left: 2px solid var(--zc-gold);
	background-color: var(--zc-cream-100);
}

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

.entry-content .zc-tip h3 {
	margin-top: 0;
}

.entry-content .zc-tip--cta {
	border-left: 0;
	border-top: 1px solid var(--zc-gold);
	border-bottom: 1px solid var(--zc-gold);
	background-color: var(--zc-white);
	text-align: center;
}

.entry-content .zc-tip--cta .wp-block-buttons {
	justify-content: center;
	margin-bottom: 0;
}

.entry-content .wp-block-details {
	padding: 1rem 1.25rem;
	border: 1px solid var(--zc-gray-200);
	background-color: var(--zc-white);
}

.entry-content .wp-block-details summary {
	font-family: var(--zc-font-serif);
	font-size: 1.125rem;
	color: var(--zc-black);
	cursor: pointer;
}

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

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

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	text-align: center;
	color: var(--zc-gray-500);
}

/* Réponse de l'autrice dans les commentaires */
.bypostauthor > .comment-body {
	border-left: 2px solid var(--zc-gold);
}

.sticky .post-card__title::before {
	content: "★ ";
	color: var(--zc-gold);
}

.page-links {
	clear: both;
	font-size: 0.875rem;
}

/* Pied d'article : étiquettes */
.entry-footer {
	max-width: calc(var(--zc-content) + 3rem);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
}

.entry-tags a {
	display: inline-block;
	padding: 0.375rem 0.875rem;
	border: 1px solid var(--zc-gray-300);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--zc-gray-600);
}

.entry-tags a:hover {
	border-color: var(--zc-gold);
	color: var(--zc-gold);
}

/* Encadré créatrice (E-E-A-T) */
.zc-author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	max-width: calc(var(--zc-content) + 3rem);
	margin: 3rem auto 4rem;
	padding: 2rem 1.5rem;
	background-color: var(--zc-cream-100);
	text-align: center;
}

@media (min-width: 640px) {
	.zc-author {
		flex-direction: row;
		align-items: center;
		padding: 2rem;
		text-align: left;
	}
}

.zc-author__photo {
	flex-shrink: 0;
	width: 6rem;
	height: 6rem;
	border-radius: 9999px;
	object-fit: cover;
}

.zc-author__name {
	font-family: var(--zc-font-serif);
	font-size: 1.375rem;
	line-height: 1.3;
	color: var(--zc-black);
}

.zc-author__role {
	margin-top: 0.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--zc-gold);
}

.zc-author__bio {
	margin-top: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.625;
	color: var(--zc-gray-600);
}

.zc-author__link {
	display: inline-block;
	margin-top: 0.75rem;
}

/* ==========================================================================
   11. Bloc rendez-vous (même rendu que les "Call to Action" du site)
   ========================================================================== */

.zc-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 26rem;
	overflow: hidden;
	color: var(--zc-white);
	text-align: center;
}

@media (min-width: 768px) {
	.zc-cta {
		min-height: 0;
		aspect-ratio: 21 / 9;
	}
}

.zc-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.zc-cta__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zc-cta__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgb(26 26 26 / 0.4);
}

.zc-cta__content {
	position: relative;
	z-index: 1;
	max-width: 48rem;
	padding: 3rem 1rem;
}

.zc-cta__title {
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
	line-height: 2rem;
	letter-spacing: 0.025em;
	color: var(--zc-white);
}

.zc-cta__text {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	line-height: 1.625;
}

.zc-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem 1.5rem;
}

.zc-cta__secondary {
	color: var(--zc-white);
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: var(--zc-gold);
	text-underline-offset: 0.3em;
}

.zc-cta__secondary:hover {
	color: var(--zc-gold);
}

@media (min-width: 768px) {
	.zc-cta__content {
		padding: 3rem 1.5rem;
	}

	.zc-cta__title {
		margin-bottom: 1.5rem;
		font-size: 2.25rem;
		line-height: 2.5rem;
	}

	.zc-cta__text {
		margin-bottom: 2rem;
		font-size: 1.125rem;
	}
}

@media (min-width: 1024px) {
	.zc-cta__title {
		font-size: 3rem;
		line-height: 1;
	}
}

/* ==========================================================================
   12. Articles similaires
   ========================================================================== */

.zc-related {
	background-color: var(--zc-cream-100);
}

.zc-related__header {
	margin-bottom: 3rem;
	text-align: center;
}

.zc-related__header .divider {
	margin-bottom: 0;
}

/* ==========================================================================
   13. Formulaires : recherche et commentaires
   ========================================================================== */

.search-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	max-width: 36rem;
	margin: 0 auto;
}

.search-form__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--zc-gray-300);
	border-radius: 0;
	background-color: var(--zc-white);
	transition: border-color 0.3s var(--zc-ease);
}

.search-form__input {
	flex: 1 1 14rem;
	width: auto;
}

.search-form__input:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--zc-gold);
	outline: none;
}

.comments-area {
	max-width: calc(var(--zc-content) + 3rem);
	margin: 0 auto;
	padding: 4rem 1.5rem;
}

.comments-title,
.comment-reply-title {
	margin-bottom: 2rem;
	font-size: 1.875rem;
	line-height: 1.25;
	text-align: center;
}

.comment-list {
	list-style: none;
}

.comment-list .children {
	margin-left: 1.5rem;
	list-style: none;
}

.comment-body {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	background-color: var(--zc-white);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	color: var(--zc-gray-500);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--zc-font-serif);
	font-size: 1.0625rem;
	color: var(--zc-black);
}

.comment-author .avatar {
	border-radius: 9999px;
}

.comment-author .says {
	display: none;
}

.comment-content {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--zc-gray-700);
}

.comment-content p + p {
	margin-top: 1rem;
}

.reply {
	margin-top: 0.75rem;
}

.comment-reply-link {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--zc-gold);
}

.comment-form {
	display: grid;
	gap: 1.25rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--zc-black);
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-size: 0.875rem;
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	color: var(--zc-gray-600);
}

.comment-form .form-submit {
	text-align: center;
}

.comment-notes,
.logged-in-as {
	font-size: 0.875rem;
	color: var(--zc-gray-600);
}

/* ==========================================================================
   14. Pages et modèle pleine largeur
   ========================================================================== */

.zc-page .entry-header {
	padding-bottom: 0;
}

.zc-fullwidth {
	width: 100%;
}

/* ==========================================================================
   15. Préférences de mouvement réduit
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
