/* Décib'Elles – Portail public 1.1.1 */

.dbc-public-cheffes-page .content-area,
.dbc-public-jenny-page .content-area,
.dbc-public-ariel-page .content-area,
.dbc-public-history-page .content-area,
.dbc-public-join-page .content-area {
	margin-top: 0;
}

.dbc-cheffes-page,
.dbc-cheffe-profile,
.dbc-history-page,
.dbc-join-page {
	max-width: 1120px;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3.5rem, 7vw, 6rem);
}

.dbc-public-eyebrow {
	margin: 0 0 .5rem;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--global-palette2, #107784);
}

.dbc-cheffes-page h1,
.dbc-cheffe-profile h1,
.dbc-history-page h1,
.dbc-join-page h1 {
	margin: 0 0 .65rem;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: -.035em;
}

.dbc-cheffes-intro,
.dbc-cheffe-role,
.dbc-history-intro,
.dbc-join-intro {
	color: var(--global-palette5, #61717c);
}

.dbc-cheffes-intro,
.dbc-history-intro,
.dbc-join-intro {
	max-width: 820px;
	margin-bottom: 2.5rem;
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.65;
}

/* Cheffes */
.dbc-cheffe-card {
	align-items: center !important;
	gap: clamp(1.5rem, 4vw, 3.25rem) !important;
	margin-bottom: 1.6rem !important;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid rgba(28, 39, 49, .08);
	border-radius: 24px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 18px 50px rgba(28, 39, 49, .08);
}

.dbc-cheffe-card h2 {
	margin: 0 0 .4rem;
}

.dbc-cheffe-card h2 a,
.dbc-public-more a,
.dbc-cheffe-back a,
.dbc-home-card-link,
.dbc-home-cheffes-link {
	color: var(--global-palette1, #214469);
	text-decoration: none;
}

.dbc-cheffe-card h2 a:hover,
.dbc-public-more a:hover,
.dbc-cheffe-back a:hover,
.dbc-home-card-link:hover,
.dbc-home-cheffes-link:hover {
	color: var(--global-palette2, #107784);
	text-decoration: underline;
	text-underline-offset: .16em;
}

.dbc-cheffe-card__photo,
.dbc-cheffe-profile__photo {
	text-align: center;
}

.dbc-cheffe-card__photo img,
.dbc-cheffe-profile__photo img,
.dbc-cheffe-photo__placeholder {
	display: block;
	width: min(100%, 360px);
	aspect-ratio: 1 / 1;
	margin-inline: auto;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 18px 45px rgba(28, 39, 49, .13);
}

.dbc-cheffe-photo__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, var(--global-palette7, #edf3f4), var(--global-palette8, #f7f9f9));
	color: var(--global-palette1, #214469);
	border: 1px solid rgba(33, 68, 105, .12);
}

.dbc-cheffe-photo__placeholder span {
	font-family: var(--global-heading-font-family, inherit);
	font-size: clamp(3.4rem, 8vw, 6.5rem);
	font-weight: 700;
	letter-spacing: -.05em;
}

.dbc-cheffe-photo__placeholder small {
	margin-top: .25rem;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--global-palette5, #61717c);
}

.dbc-cheffe-role {
	margin: 0 0 1.4rem;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 600;
}

.dbc-public-more {
	margin-bottom: 0;
	font-weight: 800;
}

.dbc-cheffe-back {
	margin: 0 0 1.75rem;
	font-size: .95rem;
	font-weight: 700;
}

.dbc-cheffe-profile__grid {
	gap: clamp(2rem, 5vw, 4.5rem) !important;
	align-items: flex-start !important;
}

.dbc-cheffe-profile__photo {
	position: sticky;
	top: 2rem;
}

.dbc-cheffe-profile__content > p:not(.dbc-public-eyebrow):not(.dbc-cheffe-role):not(.dbc-cheffe-conclusion) {
	font-size: 1.04rem;
	line-height: 1.78;
}

.dbc-cheffe-tags {
	gap: .55rem !important;
	margin: 0 0 1.85rem !important;
}

.dbc-cheffe-tags p {
	margin: 0;
	padding: .45rem .75rem;
	border-radius: 999px;
	background: var(--global-palette7, #edf3f4);
	color: var(--global-palette3, #1c2731);
	font-size: .88rem;
	font-weight: 700;
}

.dbc-cheffe-conclusion {
	margin-top: 2rem;
	padding: 1.2rem 1.35rem;
	border-left: 4px solid var(--global-palette2, #107784);
	border-radius: 0 14px 14px 0;
	background: var(--global-palette7, #edf3f4);
	font-size: 1.06rem;
}

/* Histoire */
.dbc-history-page > p,
.dbc-history-page > .wp-block-heading {
	max-width: 900px;
}

.dbc-history-page > p:not(.dbc-public-eyebrow):not(.dbc-history-intro) {
	font-size: 1.04rem;
	line-height: 1.78;
}

.dbc-history-page h2 {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.dbc-history-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 2.5rem 0 3.5rem;
	padding-top: 1rem;
}

.dbc-history-timeline::before {
	content: "";
	position: absolute;
	top: 1.43rem;
	left: 7%;
	right: 7%;
	height: 3px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--global-palette2, #107784) 30%, transparent);
}

.dbc-history-timeline__item {
	position: relative !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 2.15rem .9rem 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	text-align: center;
}

.dbc-history-timeline__dot {
	position: absolute;
	top: .08rem;
	left: 50%;
	z-index: 2;
	width: 1.05rem;
	height: 1.05rem;
	border: 4px solid var(--global-palette9, #fff);
	border-radius: 50%;
	background: var(--global-palette2, #107784);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--global-palette2, #107784) 32%, transparent);
	transform: translateX(-50%);
}

.dbc-history-timeline__date {
	margin: 0 0 .45rem !important;
	color: var(--global-palette2, #107784);
	font-size: 1.05rem;
	font-weight: 800;
}

.dbc-history-timeline__text {
	margin: 0 !important;
	font-size: .93rem !important;
	line-height: 1.5 !important;
}

.dbc-history-duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
	margin: 1.5rem 0 3.2rem;
}

.dbc-history-feature {
	padding: clamp(1.3rem, 3vw, 2rem);
	border: 1px solid rgba(28, 39, 49, .08);
	border-radius: 22px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 14px 38px rgba(28, 39, 49, .07);
}

.dbc-history-feature__icon {
	margin: 0 0 .65rem !important;
	color: var(--global-palette2, #107784);
	font-size: 1.45rem !important;
	font-weight: 800;
	letter-spacing: -.02em;
}

.dbc-history-feature h3 {
	margin: 0 0 .7rem;
	font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.dbc-history-feature p:last-child {
	margin-bottom: 0;
	line-height: 1.65;
}

.dbc-history-cheffes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.5rem 0 3.2rem;
}

.dbc-history-cheffes__card {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: .85rem 1rem;
	border: 1px solid rgba(28, 39, 49, .08);
	border-radius: 18px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 10px 30px rgba(28, 39, 49, .06);
	color: var(--global-palette3, #1c2731) !important;
	text-decoration: none !important;
}

.dbc-history-cheffes__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 35px rgba(28, 39, 49, .10);
}

.dbc-history-cheffes__photo {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.dbc-history-cheffes__text {
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.dbc-history-cheffes__text strong {
	font-size: 1.04rem;
}

.dbc-history-cheffes__text small {
	color: var(--global-palette5, #61717c);
}

.dbc-history-cheffes__arrow {
	color: var(--global-palette2, #107784);
	font-size: 1.35rem;
	font-weight: 800;
}

.dbc-history-generations {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(190px, 1.2fr);
	gap: .8rem;
	margin: 1.4rem 0 2rem;
}

.dbc-history-generation,
.dbc-history-generations__join {
	display: flex;
	align-items: center;
	gap: .7rem;
	min-height: 74px;
	padding: .8rem 1rem;
	border-radius: 16px;
	background: var(--global-palette7, #edf3f4);
}

.dbc-history-generation__mark,
.dbc-history-generations__join > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	flex: 0 0 2rem;
	border-radius: 50%;
	background: var(--global-palette9, #fff);
	color: var(--global-palette2, #107784);
	font-weight: 800;
}

.dbc-history-generations__join {
	background: var(--global-palette1, #214469);
	color: #fff;
}

.dbc-history-generations__join > span {
	background: rgba(255,255,255,.16);
	color: #fff;
}

.dbc-history-quote {
	margin: 2.5rem 0 0;
	padding: 1.5rem clamp(1.3rem, 4vw, 2.2rem);
	border-left: 5px solid var(--global-palette2, #107784);
	border-radius: 0 18px 18px 0;
	background: var(--global-palette7, #edf3f4);
}

.dbc-history-quote p {
	margin: 0;
	font-size: clamp(1.25rem, 2.6vw, 1.7rem);
	font-weight: 700;
	line-height: 1.45;
}

.dbc-history-quote cite {
	display: block;
	margin-top: .7rem;
	color: var(--global-palette5, #61717c);
	font-size: .9rem;
}

/* Lieu de répétition / Nous rejoindre */
.dbc-location-card {
	display: grid;
	grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.35fr);
	overflow: hidden;
	margin: 1.5rem 0 2.8rem;
	border: 1px solid rgba(28, 39, 49, .09);
	border-radius: 22px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 18px 50px rgba(28, 39, 49, .08);
}

.dbc-location-card__body {
	padding: clamp(1.35rem, 4vw, 2.25rem);
	align-self: center;
}

.dbc-location-card__label {
	margin: 0 0 .55rem;
	color: var(--global-palette2, #107784);
	font-size: .84rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.dbc-location-card__name {
	margin: 0 0 .45rem;
	font-size: clamp(1.12rem, 2vw, 1.32rem);
}

.dbc-location-card address {
	margin: 0;
	font-style: normal;
	line-height: 1.65;
}

.dbc-location-card__action {
	margin: 1.25rem 0 0;
}

.dbc-map-button {
	display: inline-block;
	padding: .72rem 1rem;
	border-radius: 999px;
	background: var(--global-palette1, #214469);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
}

.dbc-map-button:hover {
	background: var(--global-palette2, #107784);
}

.dbc-location-card__map {
	min-height: 300px;
}

.dbc-location-card__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	border: 0;
}

.dbc-location-card--compact {
	display: block;
	max-width: 760px;
	margin: 1.25rem 0 2.2rem;
}

.dbc-location-card--compact .dbc-location-card__body {
	padding: 1.2rem 1.35rem;
}

.dbc-contact-location {
	margin-top: 2rem;
	padding-top: .5rem;
}

.dbc-join-contact {
	margin-top: 2rem !important;
	padding: 1.25rem 1.4rem;
	border-radius: 16px;
	background: var(--global-palette7, #edf3f4);
}

.dbc-home-card-link,
.dbc-home-cheffes-link {
	color: inherit;
}

@media (max-width: 900px) {
	.dbc-history-milestones {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dbc-location-card {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.dbc-cheffe-card,
	.dbc-cheffe-profile__grid {
		gap: 1.75rem !important;
	}

	.dbc-cheffe-card__photo,
	.dbc-cheffe-profile__photo {
		flex-basis: 100% !important;
	}

	.dbc-cheffe-profile__photo {
		position: static;
	}

	.dbc-cheffe-card__photo img,
	.dbc-cheffe-profile__photo img,
	.dbc-cheffe-photo__placeholder {
		width: min(72vw, 270px);
	}

	.dbc-cheffe-card__body,
	.dbc-cheffe-profile__content {
		flex-basis: 100% !important;
	}

	.dbc-history-milestones {
		grid-template-columns: 1fr;
	}

	.dbc-location-card__map,
	.dbc-location-card__map iframe {
		min-height: 260px;
	}
}


/* Correctif 1.1.1 : sécurise la page Histoire contre les règles de layout de Gutenberg/Kadence. */
.dbc-history-page .dbc-history-timeline *,
.dbc-history-page .dbc-history-duo *,
.dbc-history-page .dbc-history-cheffes *,
.dbc-history-page .dbc-history-generations * {
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.dbc-history-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		padding-top: 0;
	}
	.dbc-history-timeline::before { display: none; }
	.dbc-history-timeline__item {
		padding: 1rem !important;
		border: 1px solid rgba(28, 39, 49, .08) !important;
		border-radius: 16px;
		background: var(--global-palette9, #fff) !important;
		text-align: left;
	}
	.dbc-history-timeline__dot { display: none; }
	.dbc-history-generations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.dbc-history-timeline,
	.dbc-history-duo,
	.dbc-history-cheffes,
	.dbc-history-generations {
		grid-template-columns: 1fr;
	}
	.dbc-history-timeline__item,
	.dbc-history-feature,
	.dbc-history-cheffes__card,
	.dbc-history-generation,
	.dbc-history-generations__join {
		width: 100% !important;
		max-width: none !important;
	}
}


/* Adhésions & tarifs — 1.2.0 */
.dbc-public-memberships-page .content-area {
	margin-top: 0;
}

.dbc-memberships-page {
	max-width: 1120px;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3.5rem, 7vw, 6rem);
}

.dbc-memberships-page > h1 {
	margin: 0 0 .65rem;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: -.035em;
}

.dbc-memberships-intro {
	max-width: 820px;
	margin-bottom: 2.4rem;
	color: var(--global-palette5, #61717c);
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.65;
}

.dbc-memberships {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
}

.dbc-memberships-season {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"label label"
		"title text";
	align-items: end;
	gap: .15rem 1.25rem;
	padding: 1.3rem 1.5rem;
	border-radius: 20px;
	background: var(--global-palette7, #edf3f4);
}

.dbc-memberships-season__label {
	grid-area: label;
	margin: 0;
	color: var(--global-palette2, #107784);
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.dbc-memberships-season h2 {
	grid-area: title;
	margin: 0;
	color: var(--global-palette1, #214469);
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	line-height: 1;
}

.dbc-memberships-season > p:last-child {
	grid-area: text;
	margin: 0 0 .1rem;
	color: var(--global-palette5, #61717c);
}

.dbc-memberships-section {
	display: grid;
	gap: 1.35rem;
}

.dbc-memberships-section__heading {
	max-width: 760px;
}

.dbc-memberships-section__heading h2,
.dbc-memberships-cta h2,
.dbc-memberships-contact h2,
.dbc-join-memberships h2 {
	margin: .1rem 0 .45rem;
}

.dbc-memberships-section__heading > p:last-child {
	margin: 0;
	color: var(--global-palette5, #61717c);
}

.dbc-memberships-kicker {
	margin: 0;
	color: var(--global-palette2, #107784);
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.dbc-rate-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.dbc-rate-card {
	position: relative;
	min-width: 0;
	padding: clamp(1.4rem, 3vw, 2rem);
	border: 1px solid rgba(28, 39, 49, .08);
	border-radius: 22px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 14px 38px rgba(28, 39, 49, .07);
}

.dbc-rate-card__icon {
	margin-bottom: .8rem;
	font-size: 1.8rem;
}

.dbc-rate-card h3 {
	margin: 0 0 .8rem;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.dbc-rate-card__price {
	margin: 0;
	color: var(--global-palette1, #214469);
	font-size: clamp(2.1rem, 5vw, 3.2rem);
	line-height: 1;
}

.dbc-rate-card__period {
	margin: .4rem 0 0;
	color: var(--global-palette5, #61717c);
	font-size: .92rem;
}

.dbc-memberships-section--family {
	padding: clamp(1.4rem, 4vw, 2.2rem);
	border-radius: 24px;
	background: var(--global-palette8, #f7f9f9);
}

.dbc-family-rates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .7rem 1rem;
}

.dbc-family-rate {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-width: 0;
	padding: .9rem 1rem;
	border: 1px solid rgba(28, 39, 49, .07);
	border-radius: 14px;
	background: var(--global-palette9, #fff);
}

.dbc-family-rate__label {
	min-width: 0;
	line-height: 1.35;
}

.dbc-family-rate__price {
	flex: 0 0 auto;
	color: var(--global-palette1, #214469);
	font-size: 1.1rem;
	white-space: nowrap;
}

.dbc-family-rate--featured {
	grid-column: 1 / -1;
	border-color: rgba(16, 119, 132, .28);
	background: color-mix(in srgb, var(--global-palette7, #edf3f4) 75%, white);
}

.dbc-family-rate--featured .dbc-family-rate__label,
.dbc-family-rate--featured .dbc-family-rate__price {
	font-weight: 800;
}

.dbc-memberships-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem;
	padding: clamp(1.5rem, 4vw, 2.3rem);
	border-radius: 24px;
	background: var(--global-palette1, #214469);
	color: #fff;
}

.dbc-memberships-cta .dbc-memberships-kicker {
	color: rgba(255,255,255,.72);
}

.dbc-memberships-cta h2 {
	color: #fff;
}

.dbc-memberships-cta p {
	max-width: 720px;
}

.dbc-memberships-cta__button-wrap {
	margin: 0;
}

.dbc-memberships-button {
	display: inline-block;
	padding: .85rem 1.15rem;
	border-radius: 999px;
	background: #fff;
	color: var(--global-palette1, #214469) !important;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
}

.dbc-memberships-button:hover {
	transform: translateY(-1px);
	text-decoration: underline !important;
	text-underline-offset: .16em;
}

.dbc-memberships-contact,
.dbc-join-memberships {
	margin-top: 2rem !important;
	padding: 1.25rem 1.4rem;
	border-radius: 16px;
	background: var(--global-palette7, #edf3f4);
}

@media (max-width: 760px) {
	.dbc-memberships-season {
		grid-template-columns: 1fr;
		grid-template-areas:
			"label"
			"title"
			"text";
		gap: .35rem;
	}

	.dbc-rate-cards,
	.dbc-family-rates {
		grid-template-columns: 1fr;
	}

	.dbc-family-rate--featured {
		grid-column: auto;
	}

	.dbc-memberships-cta {
		grid-template-columns: 1fr;
	}

	.dbc-memberships-button {
		white-space: normal;
		text-align: center;
	}
}


/* Événements — 1.3.0 */
.dbc-public-events-page .content-area {
	margin-top: 0;
}

.dbc-events-page {
	max-width: 1120px;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3.5rem, 7vw, 6rem);
}

.dbc-events-page > h1 {
	margin: 0 0 .65rem;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: -.035em;
}

.dbc-events-intro {
	max-width: 820px;
	margin-bottom: clamp(2rem, 5vw, 3.3rem);
	color: var(--global-palette5, #61717c);
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.65;
}

.dbc-events-list {
	display: grid;
	gap: 1.25rem;
}

.dbc-event-card {
	display: grid;
	grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgba(28, 39, 49, .09);
	border-radius: 22px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 14px 38px rgba(28, 39, 49, .07);
}

.dbc-event-card--next {
	border-color: color-mix(in srgb, var(--global-palette2, #107784) 28%, transparent);
	box-shadow: 0 18px 48px rgba(28, 39, 49, .10);
}

.dbc-event-card__media {
	display: block;
	min-height: 100%;
	background: var(--global-palette7, #edf3f4);
}

.dbc-event-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 250px;
	object-fit: cover;
}

.dbc-event-card__date-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 230px;
	padding: 1.5rem;
	background: var(--global-palette7, #edf3f4);
	color: var(--global-palette1, #214469);
	text-align: center;
}

.dbc-event-card__month {
	font-size: .9rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--global-palette2, #107784);
}

.dbc-event-card__day {
	margin-top: .2rem;
	font-size: clamp(3rem, 7vw, 5.2rem);
	line-height: .95;
}

.dbc-event-card__content {
	padding: clamp(1.35rem, 3.5vw, 2.2rem);
	align-self: center;
}

.dbc-event-card__eyebrow {
	margin: 0 0 .5rem;
	color: var(--global-palette2, #107784);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.dbc-event-card__title {
	margin: 0 0 .8rem;
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.18;
}

.dbc-event-card__title a {
	color: var(--global-palette1, #214469);
	text-decoration: none;
}

.dbc-event-card__title a:hover,
.dbc-event-card__title a:focus-visible {
	color: var(--global-palette2, #107784);
	text-decoration: underline;
	text-underline-offset: .15em;
}

.dbc-event-card__meta {
	display: grid;
	gap: .3rem;
	margin-bottom: .9rem;
	color: var(--global-palette4, #334654);
}

.dbc-event-card__meta p {
	margin: 0;
}

.dbc-event-card__excerpt {
	margin: 0 0 1.1rem;
	color: var(--global-palette4, #334654);
	line-height: 1.65;
}

.dbc-event-card__action {
	margin: 0;
	font-weight: 800;
}

.dbc-event-card__action a {
	color: var(--global-palette2, #107784);
	text-decoration: none;
}

.dbc-event-card__action a:hover {
	color: var(--global-palette1, #214469);
	text-decoration: underline;
	text-underline-offset: .15em;
}

.dbc-events-empty {
	padding: clamp(1.35rem, 4vw, 2rem);
	border: 1px solid rgba(28, 39, 49, .09);
	border-radius: 20px;
	background: var(--global-palette7, #edf3f4);
	color: var(--global-palette4, #334654);
}

.dbc-events-empty p:last-child {
	margin-bottom: 0;
}

/* Lien ajouté dans la carte « Prochain rendez-vous » de l'accueil. */
.dbc-next-event__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
}

.dbc-next-event__all-events {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .7rem 1rem;
	border: 1px solid var(--dbc-turquoise, #107784);
	border-radius: 6px;
	color: var(--dbc-turquoise, #107784);
	font-weight: 700;
	text-decoration: none;
}

.dbc-next-event__all-events:hover,
.dbc-next-event__all-events:focus-visible {
	background: var(--dbc-blue, #214469);
	border-color: var(--dbc-blue, #214469);
	color: #fff;
}

.dbc-home-events-fallback {
	width: min(100%, 1200px);
	margin: -2.4rem auto 2.5rem;
	padding-inline: 1.5rem;
	text-align: right;
}

.dbc-home-events-fallback a {
	font-weight: 800;
	color: var(--global-palette2, #107784);
}

@media (max-width: 760px) {
	.dbc-event-card {
		grid-template-columns: 1fr;
	}

	.dbc-event-card__media img {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.dbc-event-card__date-badge {
		min-height: 150px;
	}

	.dbc-next-event__actions {
		align-items: stretch;
	}

	.dbc-next-event__button,
	.dbc-next-event__all-events {
		justify-content: center;
		width: 100%;
		text-align: center;
	}
}


/* Actualités & archives — 1.4.0 */
.dbc-public-news-page .content-area,
.dbc-public-news-archives-page .content-area {
	margin-top: 0;
}

.dbc-news-page {
	max-width: 1120px;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3.5rem, 7vw, 6rem);
}

.dbc-news-page > h1 {
	margin: 0 0 .65rem;
	font-size: clamp(2.5rem, 5vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: -.035em;
}

.dbc-news-intro {
	max-width: 820px;
	margin-bottom: clamp(2rem, 5vw, 3.2rem);
	color: var(--global-palette5, #61717c);
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.65;
}

.dbc-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
}

.dbc-news-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(28, 39, 49, .09);
	border-radius: 20px;
	background: var(--global-palette9, #fff);
	box-shadow: 0 13px 34px rgba(28, 39, 49, .07);
}

.dbc-news-card__media {
	display: block;
	background: var(--global-palette7, #edf3f4);
}

.dbc-news-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.dbc-news-card__date-art {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(circle at 72% 32%, rgba(16,119,132,.18), transparent 32%),
		linear-gradient(145deg, var(--global-palette7, #edf3f4), var(--global-palette8, #f7f9f9));
	color: var(--global-palette1, #214469);
}

.dbc-news-card__date-art span {
	color: var(--global-palette2, #107784);
	font-size: .9rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.dbc-news-card__date-art strong {
	margin-top: .15rem;
	font-size: clamp(3rem, 6vw, 4.6rem);
	line-height: .95;
}

.dbc-news-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.2rem 1.25rem 1.35rem;
}

.dbc-news-card__date {
	margin: 0 0 .45rem;
	color: var(--global-palette5, #61717c);
	font-size: .82rem;
	font-weight: 700;
}

.dbc-news-card__title {
	margin: 0 0 .7rem;
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	line-height: 1.25;
}

.dbc-news-card__title a {
	color: var(--global-palette1, #214469);
	text-decoration: none;
}

.dbc-news-card__title a:hover,
.dbc-news-card__title a:focus-visible {
	color: var(--global-palette2, #107784);
	text-decoration: underline;
	text-underline-offset: .14em;
}

.dbc-news-card__excerpt {
	margin: 0 0 1rem;
	color: var(--global-palette4, #334654);
	line-height: 1.58;
}

.dbc-news-card__action {
	margin: auto 0 0;
	font-weight: 800;
}

.dbc-news-card__action a {
	color: var(--global-palette2, #107784);
	text-decoration: none;
}

.dbc-news-card__action a:hover {
	color: var(--global-palette1, #214469);
	text-decoration: underline;
	text-underline-offset: .14em;
}

.dbc-news-card--archive {
	opacity: .92;
}

.dbc-news-empty {
	padding: 1.35rem 1.5rem;
	border: 1px solid rgba(28, 39, 49, .08);
	border-radius: 18px;
	background: var(--global-palette7, #edf3f4);
}

.dbc-news-empty p {
	margin: 0;
}

.dbc-news-empty p + p {
	margin-top: .45rem;
}

.dbc-home-news {
	width: 100%;
}

.dbc-home-news__all {
	margin: 1.4rem 0 0;
	text-align: center;
}

.dbc-news-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	padding: .75rem 1.05rem;
	border-radius: 999px;
	background: var(--global-palette1, #214469);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
}

.dbc-news-button:hover,
.dbc-news-button:focus-visible {
	background: var(--global-palette2, #107784);
}

.dbc-news-button--outline {
	border: 1px solid var(--global-palette2, #107784);
	background: transparent;
	color: var(--global-palette2, #107784) !important;
}

.dbc-news-button--outline:hover,
.dbc-news-button--outline:focus-visible {
	background: var(--global-palette2, #107784);
	color: #fff !important;
}

.dbc-news-archive-callout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem;
	margin-top: clamp(2.4rem, 5vw, 3.5rem);
	padding: clamp(1.35rem, 4vw, 2rem);
	border-radius: 20px;
	background: var(--global-palette7, #edf3f4);
}

.dbc-news-archive-callout h2 {
	margin: .15rem 0 .45rem;
}

.dbc-news-archive-callout p {
	margin-bottom: 0;
}

.dbc-news-archive-year + .dbc-news-archive-year {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.dbc-news-archive-year > h2 {
	margin-bottom: 1rem;
	padding-bottom: .45rem;
	border-bottom: 1px solid rgba(28, 39, 49, .12);
	font-size: clamp(1.65rem, 3vw, 2.2rem);
}

/* La Query Loop Gutenberg de l'accueil est remplacée au rendu par notre
   grille : ce correctif évite également l'ancienne pagination sur l'accueil. */
.home .dbc-news-grid--home {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.dbc-news-grid,
	.home .dbc-news-grid--home {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.dbc-news-grid,
	.home .dbc-news-grid--home {
		grid-template-columns: 1fr;
	}

	.dbc-news-archive-callout {
		grid-template-columns: 1fr;
	}
}


/* Réglages centralisés — 1.5.0 */
.dbc-contact-details p{margin:.35rem 0}.dbc-social-links{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.8rem}.dbc-social-links a{display:inline-flex;align-items:center;padding:.55rem .8rem;border:1px solid rgba(28,39,49,.12);border-radius:999px;color:var(--global-palette1,#214469);font-weight:700;text-decoration:none}.dbc-social-links a:hover{border-color:var(--global-palette2,#107784);color:var(--global-palette2,#107784)}

/* Actualités illustrées — 1.7.0 */
.dbc-news-card__media {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--global-palette7, #edf3f4);
}

.dbc-news-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	transition: transform .28s ease;
}

.dbc-news-card__media:hover img,
.dbc-news-card__media:focus-visible img {
	transform: scale(1.018);
}

.dbc-news-card__media--default img {
	object-fit: cover;
}

.dbc-news-card__media--portrait {
	background: #e6eff0;
}

.dbc-news-card__media--portrait::before {
	content: "";
	position: absolute;
	inset: -20px;
	z-index: 0;
	background-image: var(--dbc-news-poster-bg);
	background-position: center;
	background-size: cover;
	filter: blur(18px);
	opacity: .34;
	transform: scale(1.12);
}

.dbc-news-card__media--portrait::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(247,250,250,.4);
}

.dbc-news-card__media--portrait img {
	position: relative;
	z-index: 2;
	object-fit: contain;
	padding: .45rem;
}

.dbc-news-card__badges {
	position: absolute;
	left: .9rem;
	right: .9rem;
	bottom: .8rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .45rem;
	z-index: 3;
	pointer-events: none;
}

.dbc-news-card__type,
.dbc-news-card__event-date {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	min-height: 2rem;
	padding: .42rem .72rem;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(28,39,49,.13);
	font-size: .82rem;
	font-weight: 800;
	line-height: 1;
	backdrop-filter: blur(4px);
}

.dbc-news-card__type {
	background: rgba(16,119,132,.94);
	color: #fff;
}

.dbc-news-card__event-date {
	background: rgba(255,255,255,.94);
	color: var(--global-palette1, #214469);
}

.dbc-news-card__event-date > span {
	color: var(--global-palette2, #107784);
	font-size: .78em;
}

@media (max-width: 640px) {
	.dbc-news-card__badges {
		left: .7rem;
		right: .7rem;
		bottom: .65rem;
	}
	.dbc-news-card__type,
	.dbc-news-card__event-date {
		font-size: .78rem;
	}
}
