/*
Theme Name: Duhamel — Grille Instagram
Template: proton
Theme URI: https://duhamel.dev.comcicomca.com
Author: Boulangerie Duhamel
Author URI: https://duhamel.dev.comcicomca.com
Description: Thème enfant de Proton. La page d'accueil adopte une mise en page façon « grille Instagram » (profil, bulles à la une, grille 3×3, bandeau infos cacao) et la palette crème/cacao est adaptée sur l'ensemble du site.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: boulangerie, patisserie, instagram-grid, two-columns
Text Domain: duhamel-insta
*/

/* ==========================================================================
   1. Palette crème / cacao appliquée à tout le site (pages Proton comprises)
   ========================================================================== */
:root {
	--dh-cream: #f3e6d0;
	--dh-cream-soft: #faf3e6;
	--dh-top-bg: #dcc7a0; /* fond de la zone haute, distinct du crème de la grille */
	--dh-ink: #3a2a18;
	--dh-heading: #43290f;
	--dh-brown: #8a4b1f;
	--dh-brown-2: #9a5a24;
	--dh-mauve: #484060;      /* mauve du logo */
	--dh-mauve-dark: #383050;
	--dh-rule: #a35f1e;
	--dh-line: #e3d3b8;
	--dh-band: #6f3d14;
	--dh-band-text: #f3e6cf;
	--dh-muted: #6b543a;
	--dh-tile: #e9dcc4;
	--dh-blue: #0095f6;
}

/*
 * Proton imprime en pied de page : body, .wrapper header, footer, .loader
 * { background-color: <proton_body_color> !important; }
 * On préfixe donc par « html body » pour passer devant, quel que soit l'ordre.
 */
html {
	background-color: var(--dh-cream);
}

html body {
	background-color: var(--dh-cream) !important;
	color: #5a4632 !important;
}

html body:not(.duhamel-home) h1, html body:not(.duhamel-home) .h1,
html body:not(.duhamel-home) h2, html body:not(.duhamel-home) .h2,
html body:not(.duhamel-home) h3, html body:not(.duhamel-home) .h3,
html body:not(.duhamel-home) h4, html body:not(.duhamel-home) .h4,
html body:not(.duhamel-home) h5, html body:not(.duhamel-home) .h5,
html body:not(.duhamel-home) h6, html body:not(.duhamel-home) .h6,
html body:not(.duhamel-home) strong, html body:not(.duhamel-home) b {
	color: var(--dh-heading) !important;
}

html body:not(.duhamel-home) a,
html body:not(.duhamel-home) a:focus,
html body:not(.duhamel-home) a:hover {
	color: var(--dh-brown) !important;
}

::selection {
	background: var(--dh-brown) !important;
	color: var(--dh-cream) !important;
}

html body .wrapper header .logo,
html body .wrapper header nav ul li a,
html body .wrapper header nav ul li a:after {
	color: var(--dh-heading) !important;
}

html body footer,
html body .wrapper footer {
	background-color: var(--dh-top-bg) !important;
	color: #43290f !important;
}

html body footer p, html body footer a, html body footer li, html body footer span,
html body footer .footer-copyright p, html body footer .footer-widgets .widget_text a {
	color: #43290f !important;
}

html body .vc_btn3, html body .vc_general.vc_btn3,
html body .vc_btn3.vc_btn3-outline {
	background-color: var(--dh-brown) !important;
	border-color: var(--dh-brown) !important;
	color: #fff !important;
}

/* ==========================================================================
   2. Page d'accueil « grille Instagram » (body.duhamel-home)
   ========================================================================== */
.duhamel-home {
	background: var(--dh-cream);
	color: var(--dh-ink);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.duhamel-home a {
	color: var(--dh-ink);
}

/* --- Zone haute (wordmark + profil + chiffres + rubriques) --- */
.dh-top {
	background: var(--dh-top-bg);
	border-bottom: 1px solid rgba(163, 95, 30, .25);
	box-shadow: 0 6px 18px rgba(72, 64, 96, .07);
}

.dh-top-inner {
	max-width: 680px;
	margin: 0 auto;
	padding: 16px 20px 0;
}

/* --- Bandeau wordmark (4 variantes : Personnaliser → Style du titre) --- */
.dh-site-header {
	background: transparent;
	text-align: center;
	padding: 26px 16px 20px;
	border-bottom: 4px solid var(--dh-rule);
}

.dh-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: #5a3a1e;
}

.dh-wordmark-text {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
}

.dh-wordmark:hover {
	color: var(--dh-brown);
}

/* 1. Classique — serif capitales + filet cacao */
.dh-header--classic .dh-wordmark {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 800;
	font-size: clamp(24px, 5vw, 38px);
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* 2. Signature — calligraphie + double filet */
.dh-header--script {
	border-bottom: 0;
	padding: 22px 16px 16px;
}

.dh-header--script .dh-wordmark {
	font-family: 'Great Vibes', cursive;
	font-weight: 400;
	font-size: clamp(34px, 7vw, 54px);
	line-height: 1.15;
	color: var(--dh-brown);
}

.dh-header--script .dh-header-rule {
	display: block;
	width: min(260px, 60%);
	margin: 8px auto 0;
	height: 6px;
	border-top: 1px solid var(--dh-rule);
	border-bottom: 1px solid var(--dh-rule);
}

/* 3. Empilé — « BOULANGERIE » fin + « DUHAMEL » large */
.dh-header--stacked {
	border-bottom: 1px solid var(--dh-line);
	padding: 22px 16px 16px;
}

.dh-header--stacked .dh-wordmark {
	font-family: 'Playfair Display', Georgia, serif;
}

.dh-header--stacked .dh-wordmark-small {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .42em;
	text-transform: uppercase;
	color: var(--dh-mauve);
	margin-bottom: 3px;
}

.dh-header--stacked .dh-wordmark-main {
	font-size: clamp(30px, 6vw, 44px);
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1;
}

.dh-header--stacked .dh-header-rule {
	display: block;
	width: 70px;
	margin: 10px auto 0;
	border-top: 2px solid var(--dh-rule);
}

/* 5. Maison — petites capitales + grand serif fin + filet dégradé */
.dh-header--chic {
	border-bottom: 0;
	padding: 18px 16px 12px;
}

.dh-header--chic .dh-wordmark {
	flex-direction: column;
	gap: 0;
}

.dh-header--chic .dh-wordmark-text {
	gap: 0;
}

.dh-header--chic .dh-wordmark-small {
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .58em;
	text-indent: .58em; /* recentre le mot malgré l'interlettrage */
	text-transform: uppercase;
	color: #3a3150; /* mauve plus profond, pour le contraste sur sable */
	margin-bottom: 6px;
}

.dh-header--chic .dh-wordmark-main {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(34px, 6.5vw, 56px);
	font-weight: 500;
	letter-spacing: .16em;
	text-indent: .16em;
	text-transform: uppercase;
	line-height: .95;
	color: #3f1f06; /* repli si le dégradé n'est pas supporté */
	background-image: linear-gradient(180deg, #3f1f06 0%, #a8752f 26%, #2e1403 52%, #8f5c22 76%, #3a1c05 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	/* liseré clair : détache les lettres du fond sable */
	filter: drop-shadow(0 1px 0 rgba(250, 243, 230, .55));
}

/* Mention sous le nom */
.dh-header--chic .dh-wordmark-tagline {
	margin-top: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: .44em;
	text-indent: .44em;
	text-transform: uppercase;
	color: var(--dh-muted);
}

.dh-header--chic .dh-header-rule {
	position: relative;
	display: block;
	width: min(440px, 82%);
	height: 1px;
	margin: 11px auto 0;
	background: linear-gradient(to right, transparent, rgba(163, 95, 30, .6) 22%, rgba(163, 95, 30, .6) 78%, transparent);
}

.dh-header--chic .dh-header-rule::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 6px;
	height: 6px;
	background: var(--dh-rule);
	transform: translate(-50%, -50%) rotate(45deg);
}

/* 4. Monogramme — pastille mauve + nom en serif */
.dh-header--monogram {
	border-bottom: 1px solid var(--dh-line);
	padding: 20px 16px 16px;
}

.dh-header--monogram .dh-wordmark {
	gap: 16px;
}

.dh-mono {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--dh-mauve);
	color: #f3e6d0;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .04em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dh-header--monogram .dh-wordmark-main {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(22px, 4.5vw, 30px);
	font-weight: 700;
	letter-spacing: .02em;
	color: #5a3a1e;
}

.dh-header--monogram .dh-header-rule {
	display: none;
}

/* --- Colonne centrale --- */
.dh-main {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 20px;
}

/* --- En-tête compact : logo + distinctions + bouton sur une ligne --- */
.dh-profile {
	display: flex;
	align-items: center;
	gap: 22px;
}

/* Logo affiché sans pastille : pas d'anneau, pas de fond. */
.dh-avatar {
	flex: 0 0 150px;
	width: 150px;
	height: 150px;
	border: 0;
	padding: 0;
	background: none;
	box-sizing: border-box;
}

.dh-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* le logo entier, jamais rogné */
	display: block;
}

.dh-avatar .dh-avatar-fallback {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--dh-tile);
	color: var(--dh-brown-2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dh-avatar .dh-avatar-fallback svg {
	width: 56px;
	height: 56px;
}

.dh-profile-info {
	flex: 1;
	min-width: 0;
}

.dh-topline {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
}

.dh-username {
	font-size: 22px;
	font-weight: 600;
	margin: 0;
	color: #2c1e0e;
	letter-spacing: .01em;
}

.dh-username a {
	color: inherit;
	text-decoration: none;
}

/* Titre présent pour l'accessibilité / le référencement, masqué visuellement. */
.dh-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dh-username a:hover {
	color: var(--dh-mauve);
}

.dh-verified {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

/* Abonnés affichés juste avant le bouton « Suivre » */
.dh-followers {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dh-muted);
	white-space: nowrap;
}

.dh-followers b {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--dh-mauve);
}

.dh-follow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	background: transparent;
	color: var(--dh-mauve) !important;
	border: 1.5px solid var(--dh-mauve);
	border-radius: 999px;
	padding: 7px 18px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.dh-follow .dh-ig {
	width: 14px;
	height: 14px;
}

.dh-follow:hover {
	background: var(--dh-mauve);
	color: #fbf3e3 !important;
	box-shadow: 0 6px 16px rgba(72, 64, 96, .22);
}

.dh-bio {
	flex: 1;
	min-width: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: #4a3520;
}

.dh-bio .dh-tag {
	color: var(--dh-brown);
	font-weight: 600;
}



/* --- Bulles « à la une » --- */
.dh-highlights-wrap {
	position: relative;
}

/* Flèches de défilement : n'apparaissent que si la rangée déborde (voir highlights.js) */
.dh-scroll {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--dh-line);
	border-radius: 50%;
	background: var(--dh-cream-soft);
	color: var(--dh-mauve);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(72, 64, 96, .18);
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.dh-scroll svg {
	width: 18px;
	height: 18px;
}

.dh-scroll:hover,
.dh-scroll:focus-visible {
	background: var(--dh-mauve);
	color: #fbf3e3;
	box-shadow: 0 4px 12px rgba(72, 64, 96, .28);
}

.dh-scroll:focus-visible {
	outline: 2px solid var(--dh-mauve);
	outline-offset: 3px;
}

.dh-scroll[hidden] {
	display: none;
}

.dh-scroll--prev {
	left: -8px;
}

.dh-scroll--next {
	right: -8px;
}

.dh-highlights {
	position: relative;
	display: flex;
	gap: 24px;
	padding: 14px 2px 12px;
	border-bottom: 1px solid var(--dh-line);
	overflow-x: auto;
	scrollbar-width: none;
}

.dh-highlights::-webkit-scrollbar {
	display: none;
}

.dh-highlight {
	flex: 0 0 auto;
	width: 110px; /* largeur identique pour toutes les entrées */
	text-align: center;
	text-decoration: none;
	color: var(--dh-ink);
	cursor: pointer;
	border-radius: 12px;
}

.dh-highlight-circle {
	width: 64px;
	height: 64px;
	margin: 0 auto;
	border-radius: 50%;
	background: var(--dh-mauve);
	color: #fbf3e3;
	display: flex;
	align-items: center;
	justify-content: center;
	/* anneau + ombre : signale que la bulle est cliquable */
	box-shadow: 0 0 0 2px var(--dh-cream), 0 0 0 3px rgba(163, 95, 30, .38), 0 3px 8px rgba(72, 64, 96, .22);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dh-highlight:hover .dh-highlight-circle,
.dh-highlight:focus-visible .dh-highlight-circle {
	background: var(--dh-mauve-dark);
	transform: translateY(-3px) scale(1.07);
	box-shadow: 0 0 0 2px var(--dh-cream), 0 0 0 4px var(--dh-mauve), 0 8px 16px rgba(72, 64, 96, .32);
}

.dh-highlight:active .dh-highlight-circle {
	transform: translateY(-1px) scale(.97);
	box-shadow: 0 0 0 2px var(--dh-cream), 0 0 0 3px var(--dh-mauve), 0 2px 6px rgba(72, 64, 96, .3);
}

.dh-highlight:hover .dh-highlight-label,
.dh-highlight:focus-visible .dh-highlight-label {
	color: var(--dh-mauve);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Focus clavier bien visible */
.dh-highlight:focus-visible {
	outline: 2px solid var(--dh-mauve);
	outline-offset: 6px;
}

.dh-highlight-circle svg {
	width: 30px;
	height: 30px;
}

.dh-highlight-label {
	display: block;
	margin-top: 9px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.3;
	white-space: nowrap; /* « Viennoiseries » sur une seule ligne */
	color: var(--dh-muted);
}

/* --- Grille 3×3 --- */
.dh-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	padding-top: 18px;
}

.dh-tile {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--dh-tile);
}

.dh-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .45s ease, opacity .45s ease;
}

.dh-tile:hover img {
	transform: scale(1.06);
	opacity: .92;
}

/* --- Bandeau infos cacao --- */
.dh-band {
	background: var(--dh-band);
	color: var(--dh-band-text);
	margin: 28px 0 48px;
	padding: 20px 24px;
	font-size: 14px;
	line-height: 1.75;
}

.dh-band a {
	color: var(--dh-band-text) !important;
	text-decoration: underline;
}

.dh-band-line {
	display: block;
}

/* --- Ordinateur : mise en page pleine largeur --- */
@media (min-width: 1024px) {
	.dh-main {
		max-width: 1600px;
		padding: 0 56px;
	}

	.dh-top-inner {
		max-width: 1600px;
		padding: 40px 56px 0;
	}

	.dh-profile {
		gap: 26px;
	}

	.dh-avatar {
		flex-basis: 172px;
		width: 172px;
		height: 172px;
	}

	.dh-username {
		font-size: 26px;
	}

	/* La bio reste lisible : on limite la longueur des lignes */
	.dh-bio {
		max-width: 700px;
		font-size: 14.5px;
		line-height: 1.7;
	}

	.dh-followers {
		font-size: 11px;
	}

	.dh-followers b {
		font-size: 19px;
	}

	/* Les bulles se centrent quand elles tiennent dans la largeur */
	.dh-highlights {
		justify-content: safe center;
		gap: 34px;
		padding: 30px 2px 24px;
	}

	.dh-highlight {
		width: 116px;
	}

	.dh-highlight-circle {
		width: 80px;
		height: 80px;
	}

	.dh-highlight-circle svg {
		width: 38px;
		height: 38px;
	}

	.dh-highlight-label {
		font-size: 13px;
		margin-top: 10px;
	}

	.dh-grid {
		gap: 6px;
		padding-top: 30px;
	}

	.dh-band {
		margin: 34px 0 56px;
		padding: 26px 34px;
		font-size: 15px;
	}

	.dh-scroll {
		width: 40px;
		height: 40px;
	}

	.dh-scroll svg {
		width: 20px;
		height: 20px;
	}

	.dh-scroll--prev {
		left: -10px;
	}

	.dh-scroll--next {
		right: -10px;
	}
}

/* --- Lightbox de la grille --- */
body.dh-lb-open {
	overflow: hidden;
}

.dh-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 40px 24px;
	background: rgba(44, 30, 14, .93);
	backdrop-filter: blur(3px);
	animation: dh-lb-fade .18s ease-out;
}

.dh-lightbox[hidden] {
	display: none;
}

@keyframes dh-lb-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.dh-lb-figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: min(1200px, 100%);
}

.dh-lb-image {
	max-width: 100%;
	max-height: calc(100vh - 150px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
	background: #2c1e0e;
}

.dh-lb-caption {
	color: #f3e6cf;
	font-size: 13px;
	letter-spacing: .04em;
	text-align: center;
}

.dh-lb-counter {
	position: absolute;
	top: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: #f3e6cf;
	font-size: 12px;
	letter-spacing: .12em;
	opacity: .8;
}

.dh-lb-close,
.dh-lb-nav {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(243, 230, 207, .35);
	border-radius: 50%;
	background: rgba(243, 230, 207, .1);
	color: #f3e6cf;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}

.dh-lb-close:hover,
.dh-lb-nav:hover,
.dh-lb-close:focus-visible,
.dh-lb-nav:focus-visible {
	background: rgba(243, 230, 207, .25);
	border-color: rgba(243, 230, 207, .7);
	outline: none;
}

.dh-lb-close svg,
.dh-lb-nav svg {
	width: 20px;
	height: 20px;
}

.dh-lb-close {
	top: 16px;
	right: 16px;
}

.dh-lb-prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.dh-lb-next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.dh-lb-nav[hidden] {
	display: none;
}

@media (max-width: 640px) {
	.dh-lightbox {
		padding: 56px 12px 24px;
	}

	.dh-lb-image {
		max-height: calc(100vh - 180px);
	}

	.dh-lb-close,
	.dh-lb-nav {
		width: 38px;
		height: 38px;
	}

	.dh-lb-prev {
		left: 8px;
	}

	.dh-lb-next {
		right: 8px;
	}
}

/* ==========================================================================
   3. Pages intérieures (body.duhamel-inner)
   ========================================================================== */
.duhamel-inner {
	background: var(--dh-cream);
	color: #4a3520;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.duhamel-inner a {
	color: var(--dh-mauve);
}

/* --- Navigation --- */
.dh-nav {
	background: var(--dh-cream);
	border-bottom: 1px solid var(--dh-line);
}

.dh-nav ul {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin: 0;
	padding: 14px 20px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.dh-nav ul::-webkit-scrollbar {
	display: none;
}

.dh-nav li {
	margin: 0;
	flex: 0 0 auto;
}

.dh-nav a {
	display: inline-block;
	padding-bottom: 3px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--dh-muted) !important;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}

.dh-nav a:hover {
	color: var(--dh-mauve) !important;
	border-bottom-color: rgba(72, 64, 96, .35);
}

.dh-nav a.is-current {
	color: var(--dh-mauve) !important;
	border-bottom-color: var(--dh-mauve);
}

/* --- Conteneur --- */
.dh-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 44px 20px 64px;
}

.dh-inner--center {
	text-align: center;
}

/* Pages à grille (Créateur de gourmandises) : plus large */
.dh-inner--wide {
	max-width: 1240px;
}

/* La grille portfolio garde sa mise en page d'origine : on neutralise nos styles de contenu */
.dh-content .portfolio .row {
	margin-left: 0;
	margin-right: 0;
}

.dh-content .portfolio h3,
.dh-content .portfolio .meta-tags-outside h3 {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
	color: inherit;
}

.dh-content .portfolio img {
	border-radius: 0;
}

.dh-inner-head {
	text-align: center;
	margin-bottom: 34px;
}

.dh-inner-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(28px, 4.5vw, 44px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	color: #43290f;
	margin: 0;
}

.dh-inner-rule {
	display: block;
	width: 64px;
	height: 2px;
	margin: 18px auto 0;
	background: var(--dh-rule);
}

.dh-inner-intro {
	max-width: 640px;
	margin: 16px auto 0;
	font-size: 15px;
	color: var(--dh-muted);
}

.dh-404-code {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 64px;
	line-height: 1;
	margin: 0 0 8px;
	color: var(--dh-rule);
	opacity: .55;
}

/* --- Contenu rédactionnel --- */
.dh-content {
	font-size: 16px;
	line-height: 1.85;
	color: #4a3520;
}

.dh-content h1,
.dh-content h2,
.dh-content h3,
.dh-content h4 {
	font-family: 'Playfair Display', Georgia, serif;
	color: #43290f;
	line-height: 1.3;
	margin: 1.8em 0 .6em;
}

.dh-content h2 {
	font-size: 26px;
}

.dh-content h3 {
	font-size: 21px;
}

.dh-content p {
	margin: 0 0 1.1em;
}

.dh-content ul,
.dh-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.3em;
}

.dh-content li {
	margin-bottom: .55em;
}

.dh-content ul li::marker {
	color: var(--dh-mauve);
}

.dh-content a {
	color: var(--dh-mauve);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dh-content strong,
.dh-content b {
	color: #43290f;
}

.dh-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.dh-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--dh-rule);
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	color: var(--dh-muted);
}

.dh-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.4em;
}

.dh-content th,
.dh-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--dh-line);
	text-align: left;
}

/* Nettoyage des restes de mise en page de l'ancien thème */
.dh-content .blog-post,
.dh-content .blog-info {
	all: unset;
	display: block;
}

/* --- Article : texte à gauche, photos à droite --- */
.dh-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 44px;
	align-items: start;
}

.dh-single-layout .dh-content {
	min-width: 0;
}

@media (max-width: 900px) {
	.dh-single-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

/* --- Photos d'article (galerie Proton) --- */
.dh-post-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	position: sticky;
	top: 24px;
}

@media (max-width: 900px) {
	.dh-post-gallery {
		position: static;
	}
}

/* Les photos s'empilent en colonne, quelle que soit leur nombre */
.dh-post-gallery--multi {
	grid-template-columns: 1fr;
}

.dh-post-photo {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	background: var(--dh-cream-soft);
	border: 1px solid var(--dh-line);
}

.dh-post-photo img {
	display: block;
	width: 100%;
	height: auto;
}



/* --- Bouton --- */
.dh-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 11px 28px;
	border: 1.5px solid var(--dh-mauve);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dh-mauve) !important;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

.dh-btn:hover {
	background: var(--dh-mauve);
	color: #fbf3e3 !important;
}

/* --- Retour --- */
.dh-inner-back {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--dh-line);
}

.dh-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dh-muted) !important;
	text-decoration: none;
}

.dh-back-link svg {
	width: 15px;
	height: 15px;
}

.dh-back-link:hover {
	color: var(--dh-mauve) !important;
}

/* --- Cartes (listes, archives, recherche) --- */
.dh-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.dh-card {
	background: var(--dh-cream-soft);
	border: 1px solid var(--dh-line);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dh-card:hover {
	border-color: var(--dh-mauve);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(72, 64, 96, .12);
}

.dh-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

.dh-card-media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.dh-card-body {
	padding: 18px 20px 22px;
}

.dh-card-title {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	color: #43290f;
	margin-bottom: 6px;
}

.dh-card-excerpt {
	display: block;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--dh-muted);
}

/* --- Pagination --- */
.dh-pagination {
	margin-top: 36px;
	text-align: center;
}

.dh-pagination .nav-links {
	display: inline-flex;
	gap: 6px;
}

.dh-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--dh-line);
	border-radius: 999px;
	font-size: 13px;
	text-decoration: none;
	color: var(--dh-muted) !important;
}

.dh-pagination .page-numbers.current,
.dh-pagination .page-numbers:hover {
	background: var(--dh-mauve);
	border-color: var(--dh-mauve);
	color: #fbf3e3 !important;
}

/* --- Pied de page --- */
.dh-site-footer {
	background: var(--dh-top-bg);
	color: #43290f;
	padding: 44px 20px 34px;
	border-top: 1px solid rgba(163, 95, 30, .25);
}

.dh-footer-inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.dh-footer-shops {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(67, 41, 15, .18);
}

.dh-footer-city {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 4px;
	color: #43290f;
}

.dh-footer-address {
	font-size: 13px;
	line-height: 1.6;
	color: #4a3520 !important;
	text-decoration: none;
	opacity: .85;
}

.dh-footer-address:hover {
	opacity: 1;
	text-decoration: underline;
}

.dh-footer-meta {
	display: flex;
	justify-content: center;
	gap: 26px;
	margin-top: 24px;
}

.dh-footer-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dh-mauve) !important;
	text-decoration: none;
}

.dh-footer-link svg {
	width: 15px;
	height: 15px;
}

.dh-footer-link:hover {
	text-decoration: underline;
}

.dh-footer-copy {
	margin: 26px 0 0;
	font-size: 11.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .65;
}

@media (max-width: 640px) {
	.dh-inner {
		padding: 30px 18px 48px;
	}

	.dh-nav ul {
		justify-content: flex-start;
		gap: 20px;
		padding: 12px 16px;
	}

	.dh-footer-shops {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.dh-cards {
		grid-template-columns: 1fr;
	}
}

/* --- Bloc « Julien Duhamel » --- */
.dh-about {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 44px;
	align-items: center;
	margin-top: 52px;
	padding-top: 44px;
	border-top: 1px solid var(--dh-line);
}

.dh-about-media {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: var(--dh-cream-soft);
	border: 1px solid var(--dh-line);
}

.dh-about-media img {
	display: block;
	width: 100%;
	height: auto;
}

.dh-about-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 600;
	letter-spacing: .06em;
	color: #43290f;
	margin: 0 0 18px;
}

.dh-about-text {
	font-size: 15px;
	line-height: 1.9;
	font-style: italic;
	color: #4a3520;
}

.dh-about-text p {
	margin: 0 0 1em;
}

.dh-about-text p:last-child {
	margin-bottom: 0;
}

.dh-about-signature {
	font-family: 'Great Vibes', cursive;
	font-style: normal;
	font-size: 26px;
	line-height: 1.2;
	color: var(--dh-brown);
	margin-top: 14px;
}

@media (max-width: 900px) {
	.dh-about {
		grid-template-columns: 1fr;
		gap: 26px;
		margin-top: 38px;
		padding-top: 32px;
	}

	.dh-about-media {
		max-width: 320px;
		margin: 0 auto;
	}

	.dh-about-text {
		font-size: 14.5px;
	}
}

/* --- Section « Nos boutiques » --- */
.dh-shops {
	margin-top: 40px;
	padding: 8px 0 56px;
	border-top: 1px solid var(--dh-line);
}

.dh-shops-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #43290f;
	text-align: center;
	margin: 34px 0 26px;
}

.dh-shops-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.dh-shop {
	background: var(--dh-cream-soft);
	border: 1px solid var(--dh-line);
	border-radius: 10px;
	padding: 22px 24px;
	text-align: center;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dh-shop:hover {
	border-color: var(--dh-mauve);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(72, 64, 96, .12);
}

.dh-shop-city {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--dh-mauve);
}

.dh-shop-address {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: #4a3520;
}

.dh-shop-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--dh-brown);
	text-decoration: none;
}

.dh-shop-link svg {
	width: 14px;
	height: 14px;
	transition: transform .2s ease;
}

.dh-shop-link:hover {
	color: var(--dh-mauve);
}

.dh-shop-link:hover svg {
	transform: translateX(3px);
}

/* --- Responsive --- */
@media (max-width: 640px) {
	.dh-top-inner {
		padding-top: 20px;
	}

	.dh-grid {
		padding-top: 18px;
	}

	/* Sur mobile : logo + distinctions, puis le bouton en dessous */
	.dh-profile {
		align-items: flex-start;
		gap: 14px;
	}

	.dh-avatar {
		flex-basis: 96px;
		width: 96px;
		height: 96px;
	}

	.dh-topline {
		flex-wrap: wrap;
		gap: 10px;
	}

	.dh-username {
		font-size: 19px;
	}

	.dh-bio {
		flex: 1 1 100%;
		font-size: 12.5px;
		line-height: 1.6;
	}

	.dh-followers {
		margin-left: 0;
		font-size: 9.5px;
		letter-spacing: .06em;
	}

	.dh-followers b {
		font-size: 15px;
	}

	.dh-follow {
		padding: 6px 14px;
		font-size: 10.5px;
	}

	.dh-highlights {
		gap: 16px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}

	.dh-scroll {
		width: 30px;
		height: 30px;
	}

	.dh-scroll svg {
		width: 15px;
		height: 15px;
	}

	.dh-scroll--prev {
		left: -4px;
	}

	.dh-scroll--next {
		right: -4px;
	}

	.dh-highlight {
		width: 92px;
		scroll-snap-align: start;
	}

	.dh-highlight-label {
		font-size: 9.5px;
		letter-spacing: .04em;
	}

	.dh-highlight-circle {
		width: 56px;
		height: 56px;
	}

	.dh-highlight-circle svg {
		width: 26px;
		height: 26px;
	}

	.dh-band {
		font-size: 13px;
		padding: 16px 18px;
	}

	.dh-shops {
		padding-bottom: 40px;
	}

	.dh-shops-title {
		font-size: 22px;
		margin: 28px 0 20px;
	}

	.dh-shops-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.dh-shop {
		padding: 18px 20px;
	}
}
