/* ============================================================
   Expertise Bière Widgets — CSS
   ============================================================ */

/* ── Grid ── */
.eb-team-grid {
	display: grid;
	gap: 20px;
}

.eb-team-grid--cols-1 { grid-template-columns: 1fr; }
.eb-team-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.eb-team-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.eb-team-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Carte ── */
.eb-team-card {
	display: flex;
	flex-direction: row;
	border-radius: 16px;
	overflow: hidden;
	min-height: 300px;
}

/* ── Image ── */
.eb-team-card__image {
	width: 42%;
	flex-shrink: 0;
	padding: 16px 0 16px 16px;
}

.eb-team-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top; /* fallback — surchargé par le style inline par carte */
	display: block;
	border-radius: 8px;
}

/* ── Contenu ── */
.eb-team-card__content {
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex: 1;
	min-width: 0;
}

/* ── Nom ── */
.eb-team-card__name {
	font-size: 1.25em;
	font-weight: 700;
	margin: 0 0 4px;
	line-height: 1.2;
}

/* ── Métier ── */
.eb-team-card__job {
	font-style: italic;
	margin: 0 0 12px;
	font-size: 0.95em;
}

/* ── Description ── */
.eb-team-card__description {
	font-size: 0.85em;
	line-height: 1.55;
	flex: 1;
}

.eb-team-card__description p {
	margin: 0;
}

/* ── Logo / Badge ── */
.eb-team-card__logo {
	margin-top: 16px;
}

.eb-team-card__logo img {
	width: 65px;
	height: auto;
	display: block;
}

/* ============================================================
   EB Marquee Widget
   ============================================================ */

.eb-marquee-wrapper {
	overflow: hidden;
	width: 100%;
	line-height: 1;
}

.eb-marquee-track {
	display: flex;
	align-items: center;
	width: max-content;
	will-change: transform;
}

.eb-marquee-inner {
	display: flex;
	align-items: center;
	white-space: nowrap;
	line-height: 1;
}

.eb-marquee-item,
.eb-marquee-sep {
	display: flex;
	align-items: center;
	white-space: nowrap;
	line-height: 1;
}

/* Directions */
@keyframes eb-scroll-left {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
@keyframes eb-scroll-right {
	0%   { transform: translateX(-50%); }
	100% { transform: translateX(0); }
}

.eb-marquee-left  { animation: eb-scroll-left  linear infinite; }
.eb-marquee-right { animation: eb-scroll-right linear infinite; }

/* Pause au survol */
.eb-marquee--pause-hover:hover .eb-marquee-track {
	animation-play-state: paused;
}

/* ============================================================
   EB Réalisations Widget
   ============================================================ */

/* ── Navigation onglets ── */
.eb-real__nav-outer {
	display: flex;
	justify-content: center;
	margin-bottom: 32px;
}

.eb-real__nav {
	display: inline-flex;
	align-items: stretch;
	gap: 0;
}

.eb-real__tab {
	flex: 0 0 auto;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.eb-real__tab span {
	font-size: 0.75em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.3;
	color: #888;
	transition: color 0.2s;
}

.eb-real__tab.is-active span {
	color: #E9AF1C;
	font-weight: 700;
}

.eb-real__tab-line {
	width: 100%;
	height: 2px;
	background-color: #555;
	transition: background-color 0.2s;
}

.eb-real__tab.is-active .eb-real__tab-line {
	background-color: #E9AF1C;
}

/* ── Slider ── */
.eb-real__slider {
	display: flex;
	align-items: center;
	gap: 16px;
}

.eb-real__track {
	flex: 1;
	position: relative;
	min-height: 400px;
}

/* ── Slide ── */
.eb-real__slide {
	display: none;
	gap: 24px;
}

.eb-real__slide.is-active {
	display: flex;
	align-items: stretch;
	height: 500px;
}

/* ── Image ── */
.eb-real__image {
	flex: 1;
	border-radius: 16px;
	overflow: hidden;
}

.eb-real__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Contenu (carte + CTA) ── */
.eb-real__content {
	flex: 0 0 440px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 0;
}

/* ── Carte blanche ── */
.eb-real__card {
	flex: 1;
	background: #fff;
	border-radius: 20px;
	padding: 28px;
	overflow-y: auto;
	min-height: 0;
}

.eb-real__card-title {
	font-size: clamp(0.75rem, 1.1vw, 0.95em);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.15;
	margin: 0 0 20px;
	color: #1a1a1a;
}

.eb-real__section {
	margin-bottom: 16px;
}

.eb-real__section-title {
	font-size: 0.95em;
	font-weight: 700;
	margin: 0 0 8px;
	padding-bottom: 4px;
	border-bottom: 2px solid #1a1a1a;
	display: inline-block;
	color: #1a1a1a;
}

.eb-real__section-body {
	font-size: 0.9em;
	line-height: 1.6;
	color: #333;
}

.eb-real__section-body p {
	margin: 0 0 8px;
}

/* ── Bouton CTA ── */
.eb-real__cta-wrap {
	display: flex;
	justify-content: center;
}

.eb-real__cta-btn,
.eb-real__cta-btn:hover,
.eb-real__cta-btn:focus,
.eb-real__cta-btn:active,
.eb-portfolio__cta,
.eb-portfolio__cta:hover,
.eb-portfolio__cta:focus,
.eb-portfolio__cta:active,
.eb-portfolio__cta-wrap a,
.eb-portfolio__cta-wrap a:hover,
.eb-portfolio__cta-wrap a:focus,
.eb-portfolio__cta-wrap a:active {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border: 2px solid #E9AF1C;
	border-radius: 50px;
	color: #E9AF1C;
	background: transparent;
	font-weight: 700;
	font-size: 0.95em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-sizing: border-box;
	box-shadow: none !important;
	transition: opacity 0.2s;
	cursor: pointer;
}

a.eb-real__cta-btn {
	cursor: pointer;
}

a.eb-real__cta-btn:hover {
	opacity: 0.8;
}

/* ── Reset pseudo-éléments Salient sur tous les boutons du widget ── */
.eb-real__arrow::before,
.eb-real__arrow::after,
.eb-real__cta-btn::before,
.eb-real__cta-btn::after,
.eb-real__tab::before,
.eb-real__tab::after {
	display: none !important;
	content: none !important;
}

/* ── Flèches ── */
.eb-real__arrow,
.eb-real__arrow:hover,
.eb-real__arrow:focus,
.eb-real__arrow:active {
	all: unset;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #E9AF1C;
	flex-shrink: 0;
	padding: 4px;
	transition: opacity 0.2s;
	z-index: 1;
	flex-shrink: 0;
}

.eb-real__arrow:hover {
	opacity: 0.7;
}

/* ============================================================
   EB Testimonials Widget
   ============================================================ */

.eb-testi-grid {
	display: grid;
	gap: 24px;
}

.eb-testi-grid--cols-1 { grid-template-columns: 1fr; }
.eb-testi-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.eb-testi-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }

.eb-testi-card {
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	padding: 32px 32px 24px;
	background-color: var(--eb-testi-card-bg, #ffffff);
}

/* ── Corps : texte + guillemet ── */
.eb-testi-body {
	position: relative;
	flex: 1;
	padding-bottom: 72px; /* espace réservé pour le SVG */
}

.eb-testi-text {
	font-style: italic;
	line-height: 1.65;
	margin: 0;
	color: #1a1a1a;
}

.eb-testi-mark {
	position: absolute;
	bottom: 0;
	right: 0;
	color: #E9AF1C;
	user-select: none;
	pointer-events: none;
}

.eb-testi-mark svg {
	width: 56px;
	height: auto;
	display: block;
}

/* ── Auteur ── */
.eb-testi-card .eb-testi-author {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 16px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #d0ccc7;
}

.eb-testi-card .eb-testi-logo {
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
}

.eb-testi-card .eb-testi-logo img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	display: block;
}

.eb-testi-card .eb-testi-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.eb-testi-card .eb-testi-company {
	font-weight: 700;
	font-size: 1em;
	margin: 0 !important;
	color: #1a1a1a;
}

.eb-testi-card .eb-testi-contact {
	font-size: 0.85em;
	margin: 0 !important;
	padding-bottom: 0 !important;
	color: #666;
	line-height: 1.4;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablette */
@media (max-width: 1024px) {
	.eb-team-grid--cols-3,
	.eb-team-grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.eb-team-grid--tablet-cols-1 {
		grid-template-columns: 1fr !important;
	}
	.eb-team-grid--tablet-cols-2 {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* Dots (cachés sur desktop) */
.eb-real__dots {
	display: none;
}

.eb-real__dot::before,
.eb-real__dot::after {
	display: none !important;
	content: none !important;
}

/* Réalisations — Mobile */
@media (max-width: 767px) {
	/* Cacher la nav par onglets */
	.eb-real__nav-outer {
		display: none;
	}

	/* Slider pleine largeur */
	.eb-real__slider {
		gap: 0;
	}

	.eb-real__slide.is-active {
		flex-direction: column;
		gap: 16px;
	}

	.eb-real__image {
		flex: none;
		height: 260px;
		border-radius: 16px;
	}

	.eb-real__content {
		gap: 12px;
	}

	.eb-real__arrow {
		display: none;
	}

	/* Dots */
	.eb-real__dots {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
		padding: 4px 0;
	}

	.eb-real__dot {
		all: unset;
		width: 10px;
		height: 10px;
		border-radius: 50%;
		background: #cccccc;
		cursor: pointer;
		transition: background 0.2s, transform 0.2s;
		flex-shrink: 0;
	}

	.eb-real__dot.is-active {
		background: #E9AF1C;
		transform: scale(1.2);
	}
}

/* Mobile — slider horizontal */
@media (max-width: 767px) {
	.eb-team-grid,
	.eb-team-grid--cols-2,
	.eb-team-grid--cols-3,
	.eb-team-grid--cols-4 {
		display: flex !important;
		grid-template-columns: unset !important;
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 16px;
		padding: 8px 20px 20px;
		scroll-padding-left: 20px;
		/* Masquer la scrollbar */
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.eb-team-grid::-webkit-scrollbar,
	.eb-team-grid--cols-2::-webkit-scrollbar,
	.eb-team-grid--cols-3::-webkit-scrollbar,
	.eb-team-grid--cols-4::-webkit-scrollbar {
		display: none;
	}

	.eb-team-card {
		flex: 0 0 85%;
		display: grid !important;
		grid-template-columns: 38% 1fr;
		grid-template-rows: auto 1fr auto;
		min-height: unset;
		scroll-snap-align: start;
	}

	/* Rend .eb-team-card__content transparent → ses enfants deviennent des items directs de la grille */
	.eb-team-card__content {
		display: contents;
	}

	.eb-team-card__image {
		grid-column: 1;
		grid-row: 1;
		width: 100% !important;
		padding: 16px 0 0 16px;
		align-self: start;
	}

	.eb-team-card__image img {
		width: 72px;
		height: 72px;
		object-fit: cover;
		border-radius: 8px;
	}

	/* Nom + Métier → colonne droite, ligne 1 */
	.eb-team-card__header {
		grid-column: 2;
		grid-row: 1;
		padding: 16px 16px 0 12px;
		align-self: start;
	}

	/* Description → pleine largeur, ligne 2 */
	.eb-team-card__description {
		grid-column: 1 / 3;
		grid-row: 2;
		padding: 12px 16px 0;
	}

	/* Logo → pleine largeur, ligne 3 */
	.eb-team-card__logo {
		grid-column: 1 / 3;
		grid-row: 3;
		padding: 0 16px 16px;
		margin-top: 12px;
	}
}

/* Témoignages — Mobile slider horizontal */
@media (max-width: 767px) {
	.eb-testi-grid,
	.eb-testi-grid--cols-2,
	.eb-testi-grid--cols-3 {
		display: flex !important;
		grid-template-columns: unset !important;
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 16px;
		padding: 8px 20px 20px;
		scroll-padding-left: 20px;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.eb-testi-grid::-webkit-scrollbar,
	.eb-testi-grid--cols-2::-webkit-scrollbar,
	.eb-testi-grid--cols-3::-webkit-scrollbar {
		display: none;
	}

	.eb-testi-card {
		flex: 0 0 85%;
		scroll-snap-align: start;
	}
}

/* ============================================================
   EB Portfolio Widget
   ============================================================ */

/* ── Typo globale ── */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&display=swap');

.eb-portfolio {
	font-family: 'Roboto Condensed', sans-serif;
}

/* ── Bouton toggle mobile ── */
.eb-portfolio__mobile-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin-bottom: 20px;
	font-size: 0.9em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: inherit;
}

/* ── Overlay ── */
.eb-portfolio__overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
}

.eb-portfolio__overlay.is-open {
	display: block;
}

/* ── Layout principal ── */
.eb-portfolio__inner {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

/* ── Sidebar ── */
.eb-portfolio__sidebar {
	width: 200px;
	flex-shrink: 0;
	align-self: flex-start;
	padding: 32px 20px;
}

/* Sidebar en mode sticky (géré par JS) */
.eb-portfolio__sidebar.is-sticky {
	position: fixed;
	z-index: 100;
}

.eb-portfolio__sidebar-close {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
	font-size: 1.2em;
	margin-bottom: 16px;
	padding: 0;
}

/* ── Nav buttons ── */
.eb-portfolio__nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.eb-portfolio__nav-btn.eb-portfolio__nav-btn {
	all: unset;
	display: block;
	width: 100%;
	box-sizing: border-box;
	cursor: pointer;
	padding: 14px 16px;
	border-top: 2px solid #1a1a1a;
	border-right: 2px solid #1a1a1a;
	border-left: 2px solid #1a1a1a;
	border-bottom: 4px solid #1a1a1a;
	border-radius: 16px !important;
	background: #ffffff;
	color: #1a1a1a;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.eb-portfolio__nav-btn.eb-portfolio__nav-btn.is-active {
	background-color: #E9AF1C;
	border-top-color: #E9AF1C;
	border-right-color: #E9AF1C;
	border-left-color: #E9AF1C;
	border-bottom-color: #E9AF1C;
	color: #1a1a1a;
}

/* La ligne indicateur est masquée dans ce style pill */
.eb-portfolio__nav-line {
	display: none;
}

.eb-portfolio__nav-btn.eb-portfolio__nav-btn::before,
.eb-portfolio__nav-btn.eb-portfolio__nav-btn::after {
	display: none !important;
	content: none !important;
}

/* ── Contenu ── */
.eb-portfolio__content {
	flex: 1;
	min-width: 0;
}

/* ── Sections ── */
.eb-portfolio__section {
	display: block;
}

.eb-portfolio__section + .eb-portfolio__section {
	margin-top: 80px;
}

.eb-portfolio__section-title {
	font-size: 60px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.15;
	color: #1a1a1a;
	margin: 0 0 32px;
	scroll-margin-top: 100px;
}

/* ── Liste projets ── */
.eb-portfolio__projects {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* ── Projet ── */
.eb-portfolio__project {
	display: flex;
	align-items: stretch;
	gap: 24px;
}

/* Image à droite */
.eb-portfolio__project--img-right {
	flex-direction: row-reverse;
}

/* ── Visuels (image + thumbs) ── */
.eb-portfolio__visuals {
	flex: 0 0 55%;
}

.eb-portfolio__main-image {
	border-radius: 16px;
	overflow: hidden;
	width: 100%;
}

.eb-portfolio__main-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Miniatures ── */
.eb-portfolio__thumbs {
	display: flex;
	gap: 6px;
	margin-top: -40px;
	margin-left: 10px;
}

.eb-portfolio__thumb.eb-portfolio__thumb {
	all: unset;
	cursor: pointer;
	border-radius: 16px !important;
	overflow: hidden;
	border: 3px solid transparent;
	box-shadow: 0px 4px 8px 0px #00000080 !important;
	transition: border-color 0.2s;
	flex-shrink: 0;
}

.eb-portfolio__thumb.is-active {
	border-color: #E9AF1C;
}

.eb-portfolio__thumb::before,
.eb-portfolio__thumb::after {
	display: none !important;
	content: none !important;
}

/* ── Vignette vidéo : overlay play ── */
.eb-portfolio__thumb--video {
	position: relative;
}

.eb-portfolio__thumb-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.eb-portfolio__thumb-play svg {
	filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
	transition: transform 0.15s;
}

.eb-portfolio__thumb--video:hover .eb-portfolio__thumb-play svg {
	transform: scale(1.15);
}

.eb-portfolio__thumb-no-cover {
	width: 80px;
	height: 60px;
	background: #333;
	border-radius: 12px;
}

/* ── Lecteur vidéo dans la zone principale ── */
.eb-portfolio__video-iframe,
.eb-portfolio__video-player {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	display: block;
	background: #000;
}

.eb-portfolio__thumb img {
	width: 68px;
	height: 54px;
	object-fit: cover;
	display: block;
}

/* ── Carte ── */
.eb-portfolio__card.eb-portfolio__card {
	flex: 1;
	background: #ffffff !important;
	border-radius: 20px;
	padding: 28px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.eb-portfolio__project-title {
	font-size: 55px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.15;
	color: #1a1a1a;
	margin: 0;
}

.eb-portfolio__subtitle {
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #E9AF1C;
	margin: 6px 0 0;
}

/* ── Blocs Brief / Réponse ── */
.eb-portfolio__section-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.eb-portfolio__section-label {
	display: inline;
	font-size: 23px;
	font-weight: 500;
	color: #1a1a1a;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.eb-portfolio__section-body {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	color: #333333;
}

.eb-portfolio__section-body p {
	margin: 0 0 8px;
}

/* ── CTA Ressource ── */
.eb-portfolio__cta-wrap {
	margin-top: auto;
	display: flex;
}


a.eb-portfolio__cta:hover,
.eb-portfolio__cta-wrap a:hover {
	opacity: 0.8;
}

.eb-portfolio__cta::before,
.eb-portfolio__cta::after,
.eb-portfolio__cta-wrap a::before,
.eb-portfolio__cta-wrap a::after {
	display: none !important;
	content: none !important;
}

/* ============================================================
   EB Portfolio — Responsive
   ============================================================ */

/* Tablette */
@media (max-width: 1024px) {
	.eb-portfolio__visuals {
		flex: 0 0 50%;
	}
}

/* Mobile */
@media (max-width: 767px) {

	/* Bouton toggle visible */
	.eb-portfolio__mobile-toggle {
		display: inline-flex;
	}

	/* Overlay inner : single column */
	.eb-portfolio__inner {
		display: block;
	}

	/* Sidebar en overlay fixe */
	.eb-portfolio__sidebar {
		position: fixed;
		top: 0;
		left: -100%;
		width: 260px;
		height: 100%;
		border-radius: 0;
		z-index: 9999;
		overflow-y: auto;
		transition: left 0.3s ease;
		padding-top: 48px;
	}

	.eb-portfolio__sidebar.is-open {
		left: 0;
	}

	.eb-portfolio__sidebar-close {
		display: block;
		position: absolute;
		top: 16px;
		right: 16px;
	}

	/* Projets en colonne */
	.eb-portfolio__project,
	.eb-portfolio__project--img-right {
		flex-direction: column;
	}

	.eb-portfolio__visuals {
		flex: none;
	}

	.eb-portfolio__main-image {
		height: 240px;
	}

	.eb-portfolio__thumb img {
		width: 60px;
		height: 48px;
	}

	.eb-portfolio__section-title {
		font-size: 1.2em;
		margin-bottom: 20px;
	}
}

/* ============================================================
   Widget : Article Single
   ============================================================ */

.eb-article {
	max-width: 100%;
	font-family: 'Roboto Condensed', sans-serif;
}

.eb-article__category {
	display: block;
	font-size: 0.85em;
	font-weight: 600;
	color: #888;
	text-transform: capitalize;
	letter-spacing: 0.03em;
	margin-bottom: 10px;
}

.eb-article__title {
	font-size: 2em;
	font-weight: 800;
	line-height: 1.2;
	color: #1a1a1a;
	margin: 0 0 16px;
}

.eb-article__meta {
	font-size: 1em;
	font-weight: 700;
	color: #E9AF1C;
	margin-bottom: 32px;
}

.eb-article__content {
	font-size: 1em;
	line-height: 1.7;
	color: #1a1a1a;
}

.eb-article__content h2,
.eb-article__content h3 {
	font-weight: 700;
	margin-top: 2em;
	margin-bottom: 0.5em;
	color: #1a1a1a;
}

.eb-article__content p {
	margin-bottom: 1.2em;
}

.eb-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.5em 0;
}

.eb-article__content a {
	color: #E9AF1C;
	text-decoration: underline;
}

/* ============================================================
   Widget : Blog Sidebar
   ============================================================ */

.eb-blog-sidebar {
	display: flex;
	flex-direction: column;
	gap: 28px;
	font-family: 'Roboto Condensed', sans-serif;
}

/* ── Recherche ── */
.eb-blog-sidebar__search {
	display: block;
}

.eb-blog-sidebar__search-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 0.95em;
	color: #555;
	background: #f5f5f5;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.2s;
}

.eb-blog-sidebar__search-input:focus {
	border-color: #E9AF1C;
	background: #fff;
}

/* ── Articles récents ── */
.eb-blog-sidebar__title {
	font-size: 1.5em;
	font-weight: 800;
	color: #1a1a1a;
	margin: 0 0 12px;
}

.eb-blog-sidebar__posts {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.eb-blog-sidebar__posts li::before,
.eb-blog-sidebar__posts li::marker {
	display: none !important;
	content: none !important;
}

.eb-blog-sidebar__post a {
	font-size: 0.95em;
	color: #1a1a1a;
	text-decoration: none;
	line-height: 1.4;
	display: block;
}

.eb-blog-sidebar__post a:hover {
	color: #E9AF1C;
}

/* ============================================================
   Widget : Posts Grid
   ============================================================ */

.eb-posts-grid {
	display: grid;
	gap: 20px;
}

.eb-posts-grid--cols-1 { grid-template-columns: 1fr; }
.eb-posts-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.eb-posts-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.eb-posts-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Carte ── */
.eb-posts-grid__card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s;
}

.eb-posts-grid__card:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}

.eb-posts-grid__card-link {
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	color: inherit;
	height: 100%;
}

/* ── Image ── */
.eb-posts-grid__thumb {
	width: calc(100% - 24px);
	margin: 12px 12px 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 10px;
	flex-shrink: 0;
}

.eb-posts-grid__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.eb-posts-grid__card:hover .eb-posts-grid__thumb img {
	transform: scale(1.04);
}

/* ── Corps ── */
.eb-posts-grid__body {
	padding: 14px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.eb-posts-grid__title {
	font-size: 1em;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.3;
}

.eb-posts-grid__meta {
	font-size: 0.88em;
	font-weight: 600;
	color: #E9AF1C;
	margin: 0;
	line-height: 1.4;
}

.eb-posts-grid__excerpt {
	font-size: 0.9em;
	color: #555;
	margin: 0;
	line-height: 1.5;
}

.eb-posts-grid__date {
	font-size: 0.85em;
	font-style: italic;
	color: #888;
	margin-top: auto;
	padding-top: 4px;
}

/* ── Bouton CTA ── */
.eb-posts-grid__cta-wrap {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.eb-posts-grid__cta.eb-posts-grid__cta,
.eb-posts-grid__cta:hover,
.eb-posts-grid__cta:focus,
.eb-posts-grid__cta:active {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 32px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	border-left: 2px solid currentColor;
	border-bottom: 4px solid currentColor;
	border-radius: 50px !important;
	color: #E9AF1C;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none !important;
	transition: opacity 0.2s;
}

.eb-posts-grid__cta:hover {
	opacity: 0.8;
}

/* ── Responsive ── */
@media (max-width: 767px) {

	/* -- Mode horizontal : image à gauche, contenu à droite -- */
	.eb-posts-grid--mobile-horizontal.eb-posts-grid--cols-1,
	.eb-posts-grid--mobile-horizontal.eb-posts-grid--cols-2,
	.eb-posts-grid--mobile-horizontal.eb-posts-grid--cols-3,
	.eb-posts-grid--mobile-horizontal.eb-posts-grid--cols-4 {
		grid-template-columns: 1fr;
	}

	.eb-posts-grid--mobile-horizontal .eb-posts-grid__card-link {
		flex-direction: row;
		align-items: center;
	}

	.eb-posts-grid--mobile-horizontal .eb-posts-grid__thumb {
		width: 110px;
		min-width: 110px;
		aspect-ratio: 1 / 1;
		margin: 12px 0 12px 12px;
		flex-shrink: 0;
	}

	.eb-posts-grid--mobile-horizontal .eb-posts-grid__body {
		padding: 12px 14px;
		min-width: 0;
	}

	.eb-posts-grid--mobile-horizontal .eb-posts-grid__title {
		font-size: 0.95em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.eb-posts-grid--mobile-horizontal .eb-posts-grid__excerpt {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* -- Mode carousel : scroll horizontal -- */
	.eb-posts-grid--mobile-carousel.eb-posts-grid--cols-1,
	.eb-posts-grid--mobile-carousel.eb-posts-grid--cols-2,
	.eb-posts-grid--mobile-carousel.eb-posts-grid--cols-3,
	.eb-posts-grid--mobile-carousel.eb-posts-grid--cols-4 {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		gap: 14px;
		padding-bottom: 4px;
	}

	.eb-posts-grid--mobile-carousel::-webkit-scrollbar {
		display: none;
	}

	.eb-posts-grid--mobile-carousel .eb-posts-grid__card {
		flex: 0 0 78%;
		min-width: 0;
		scroll-snap-align: start;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.eb-posts-grid--cols-3,
	.eb-posts-grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================================================
   EB Menu Mobile
   ============================================================ */

/* ── Barre ── */
.eb-mmenu__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	height: 70px;
}

.eb-mmenu__logo {
	display: block;
	width: 160px;
	height: auto;
}

.eb-mmenu__trigger {
	all: unset;
	cursor: pointer;
	display: flex;
	align-items: center;
	padding: 4px;
}

.eb-mmenu__trigger svg {
	width: 28px;
	height: 28px;
	color: #1a1a1a;
}

/* ── Panel (position fixed plein écran) ── */
.eb-mmenu__panel {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.eb-mmenu__panel.is-open {
	transform: translateX(0);
}

/* ── Header du panel ── */
.eb-mmenu__panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	height: 70px;
	flex-shrink: 0;
	border-bottom: 1px solid #eee;
}

.eb-mmenu__close {
	all: unset;
	cursor: pointer;
	display: flex;
	align-items: center;
	padding: 4px;
}

/* ── Navigation ── */
.eb-mmenu__nav {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eb-mmenu__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.eb-mmenu__nav-list li {
	padding: 18px 0;
}

.eb-mmenu__nav-list li a {
	display: block;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	color: #1a1a1a;
	text-decoration: none;
}

.eb-mmenu__nav-list li a:hover {
	opacity: 0.6;
}

/* Reset pseudo-éléments Salient sur les liens nav mobile */
.eb-mmenu__nav-list li a::before,
.eb-mmenu__nav-list li a::after {
	display: none !important;
	content: none !important;
}

/* ── Footer (CTA + extra) ── */
.eb-mmenu__footer {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 30px 20px;
}

.eb-mmenu__cta {
	display: inline-block;
	text-decoration: none;
	text-align: center;
	letter-spacing: 0.05em;
	transition: opacity 0.2s;
}

.eb-mmenu__cta:hover {
	opacity: 0.7;
}

.eb-mmenu__extra {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

/* ── Bloquer le scroll body quand ouvert ── */
body.eb-mmenu-open {
	overflow: hidden;
}

/* ── Preview Elementor editor : panel en absolu dans le widget ── */
.elementor-edit-mode .eb-mmenu {
	position: relative;
}
.elementor-edit-mode .eb-mmenu__panel {
	position: absolute !important;
	z-index: 100 !important;
}
