/**
 * MyDodoLife — minimal placeholder layout styles.
 */

:root {
	--mdl-content-max-width: 1200px;
	--mdl-content-gutter: 2.5rem;
}

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

body {
	margin: 0;
	font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #1a1a1a;
	background: #fff;
}

.site-container {
	width: min(100% - var(--mdl-content-gutter), var(--mdl-content-max-width));
	margin-inline: auto;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	text-decoration: none;
	color: inherit;
}

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

#content.site-main {
	padding-block: 0;
	min-height: 50vh;
}

/*
 * Error page: header + content + footer. Main fills remaining viewport space.
 * Buttons use Elementor atomic CSS which requires a `.elementor` ancestor.
 */
body.mdl-error-404,
body.mdl-error-page {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

body.mdl-error-404 > header,
body.mdl-error-404 > .elementor-location-header,
body.mdl-error-404 > .mdl-site-header,
body.mdl-error-page > header,
body.mdl-error-page > .elementor-location-header,
body.mdl-error-page > .mdl-site-header {
	flex-shrink: 0;
}

body.mdl-error-404 .site-footer,
body.mdl-error-page .site-footer {
	flex-shrink: 0;
	width: 100%;
	margin-top: auto;
}

body.mdl-error-404 .mdl-error-404-main,
body.mdl-error-page .mdl-error-page-main {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	padding-block: clamp(2rem, 6vh, 4rem);
	width: 100%;
}

.mdl-error-page__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 1rem;
	width: min(100% - var(--mdl-content-gutter, 2.5rem), var(--mdl-content-max-width, 1200px));
	margin-inline: auto;
}

.mdl-error-page__code {
	margin: 0;
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: clamp(4.5rem, 18vw, 9rem);
	line-height: 0.95;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: #3a4a4a;
}

.mdl-error-page__description {
	margin: 0;
	max-width: 28rem;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	line-height: 1.5;
	color: #5c6b6b;
}

.mdl-error-page__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.85rem 1.15rem;
	margin-top: 0.75rem;
}

/* Kit color tokens used by button_blue / button_yellow */
.mdl-error-page__actions.elementor,
.mdl-error-page__actions .elementor {
	--Jaune: #fecb0a;
	--Bleu_sombre: #31616e;
}

.mdl-error-page__actions .mdl-error-page__btn,
.mdl-error-page__actions .mdl-review-cta,
.mdl-error-page__actions .mdl-expert-cta {
	align-self: center;
	width: fit-content;
	max-width: 100%;
	margin-top: 0;
	cursor: default;
}

.mdl-error-page__actions .mdl-review-cta,
.mdl-error-page__actions .mdl-expert-cta {
	display: block;
}

.mdl-error-page__actions a {
	text-decoration: none;
}

/*
 * Force button_blue (ID 81) styles — same values as local-81-frontend-desktop.css.
 * Needed because .e-flexbox-base base padding/layout can override the component.
 */
.mdl-error-page__actions .e-c1578f2-acd5948 {
	width: auto !important;
	column-gap: 24px !important;
	padding: 6px 15px !important;
	border-radius: 10px !important;
	background-color: #31616e !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	align-self: center !important;
	box-sizing: border-box;
}

.mdl-error-page__actions .e-3637ecc-af9c7b4 {
	margin: 0 !important;
	font-weight: 600 !important;
	font-size: 18px !important;
	line-height: 1.2 !important;
	color: #ffffff !important;
	display: flex !important;
	align-items: center !important;
}

.mdl-error-page__actions .e-fc71264-ced4b90 {
	width: 25px !important;
	height: auto !important;
	flex: 0 0 auto;
}

.mdl-error-page__actions .e-fc71264-ced4b90 svg {
	display: block;
	width: 25px;
	height: 25px;
}

/* Keep yellow (ID 79) crisp too if base styles fight it */
.mdl-error-page__actions .e-0845235-1090387 {
	width: auto !important;
	column-gap: 24px !important;
	padding: 6px 24px !important;
	border-radius: 15px !important;
	background-color: #fecb0a !important;
	color: #31616e !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	align-self: center !important;
	box-sizing: border-box;
}

.mdl-error-page__actions .e-2c9efa1-0bd088b {
	margin: 0 !important;
	font-weight: 600 !important;
	font-size: 18px !important;
	line-height: 1.2 !important;
	color: #31616e !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.mdl-error-page__actions .e-3ceaacd-7eeacd8 {
	width: 25px !important;
	max-width: 25px !important;
	height: auto !important;
	flex: 0 0 auto;
}

.mdl-error-page__actions .e-3ceaacd-7eeacd8 svg {
	display: block;
	width: 25px;
	height: 25px;
}

.mdl-error-page__fallback-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.25rem;
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: filter 0.15s ease;
}

.mdl-error-page__fallback-btn:hover {
	filter: brightness(0.97);
}

.mdl-error-page__fallback-btn--blue {
	background: #31616e;
	color: #fff;
}

.mdl-error-page__fallback-btn--yellow {
	background: #fecb0a;
	color: #3a4a4a;
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

/*
 * Theme Builder Singles (e.g. Visa) are not wrapped in .site-container
 * like page.php. Note: .elementor-location-single and .elementor are the
 * SAME node (not nested), so target accordingly.
 */
.elementor.elementor-location-single > .e-con-boxed.e-parent {
	width: min(100% - var(--mdl-content-gutter), var(--container-max-width, var(--mdl-content-max-width)));
	max-width: var(--container-max-width, var(--mdl-content-max-width));
	margin-inline: auto;
	box-sizing: border-box;
}

/* Full-width sections: keep edge-to-edge background, gutter the inner boxed content */
.elementor.elementor-location-single > .e-con-full.e-parent > .e-con-boxed {
	width: min(100% - var(--mdl-content-gutter), var(--container-max-width, var(--mdl-content-max-width)));
	max-width: var(--container-max-width, var(--mdl-content-max-width));
	margin-inline: auto;
	box-sizing: border-box;
}

.site-article {
	margin-bottom: 2rem;
}

/* Blog single — same hero box as page_hero_section_simple on other pages */
.mdl-single {
	padding-block: 0 3rem;
}

.mdl-single-hero {
	--Jaune: #fecb0a;
	--Bleu_sombre: #31616e;
	margin-bottom: 30px;
}

/* Keep the component cover box (1340×514). Blog photo fills it. */
.mdl-single-hero .e-1eadac7-2a6eb55 {
	aspect-ratio: 1340 / 514;
}

.mdl-single-hero .e-4566f19-cb47f89 {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.mdl-single-hero .e-1eadac7-2a6eb55 {
		aspect-ratio: auto;
		min-height: 400px;
	}
}

/* Title column matches the component paragraph max-width (610px). */
@media (min-width: 768px) {
	.mdl-single-hero .e-544f4db-d36852f,
	.mdl-single-hero .e-5b04364-0382754,
	.mdl-single-hero .e-8be1850-e1ae97b {
		max-width: 610px;
	}
}

.mdl-single-hero .e-5b04364-0382754,
.mdl-single-hero .e-8be1850-e1ae97b {
	margin: 0;
}

/* Button stays in the component design; hide it on the blog single only. */
.mdl-single-hero [data-interaction-id="c1578f2"] {
	display: none !important;
}

.mdl-single-content {
	width: 100%;
	max-width: 800px;
	margin-inline: auto;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.mdl-single-content,
.mdl-single-content * {
	font-family: inherit;
}

.mdl-single-content > *:first-child {
	margin-top: 0;
}

.mdl-single-content img,
.mdl-single-content video {
	max-width: 100%;
	height: auto;
}

.mdl-single-hero__fallback {
	margin: 0 0 0.75rem;
	font-family: inherit;
}

.entry-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
}

.entry-meta {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: #666;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.archive-header {
	margin-bottom: 2rem;
}

.archive-title {
	margin: 0 0 0.25rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.archive-description {
	margin: 0;
	color: #666;
}

/* Reusable check mark — use class "check-icon" in Elementor HTML / Icon List */
.check-icon {
	width: 26px;
	height: 26px;
	border: 2px solid currentColor;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
  }
  
  .check-icon::after {
	content: "";
	position: absolute;
	width: 7px;
	height: 12px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	left: 8px;
	top: 4px;
  }

