/* ================================================== */
/* BLOG : BASE GENERALE                               */
/* ================================================== */

html {
	box-sizing: border-box;
	font-size: 62.5%;
}

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

body.blog-body {
	margin: 0;
	font-family: Arial, sans-serif;
	background: #f7f3ea;
	color: #3f454b;
	line-height: 1.5;
}

body.blog-body a {
	text-decoration: none;
	color: inherit;
}

body.blog-body img {
	max-width: 100%;
	display: block;
	height: auto;
}

.blog-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}


/* ================================================== */
/* HEADER BLOG                                        */
/* ================================================== */

#blog-header {
	position: relative;
	z-index: 20;
}

.blog-topbar {
	background: #fffdf9;
	border-bottom: 1px solid #eadfce;
}

.blog-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	padding-bottom: 8px;
}

.blog-brand-link {
	display: inline-block;
}

.blog-brand-title {
	display: block;
	font-size: 2.7rem;
	line-height: 1;
	font-weight: 700;
	color: #3f454b;
}

.blog-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-nav a {
	font-size: 1.5rem;
	font-weight: 600;
	color: #4d524f;
}

.blog-nav a:hover {
	color: #ef7a14;
}


/* ================================================== */
/* HERO BLOG                                          */
/* ================================================== */

#blog-hero-wrap {
	position: relative;
	padding-bottom: 0;
}

.blog-hero-image {
	height: 220px;
	background:
		linear-gradient(to right,
			rgba(56,44,28,0.80) 0%,
			rgba(56,44,28,0.64) 20%,
			rgba(56,44,28,0.40) 38%,
			rgba(56,44,28,0.10) 54%,
			rgba(56,44,28,0.00) 66%,
			rgba(56,44,28,0.00) 78%,
			rgba(56,44,28,0.20) 88%,
			rgba(56,44,28,0.50) 100%
		),
		url("/images/blog/header-blog.jpg") center center / cover no-repeat;

	display: flex;
	align-items: center;
}

.blog-hero-card {
	position: relative;
	max-width: 560px;
	margin-top: 0;
	transform: none;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.blog-hero-kicker {
	margin: 0 0 10px;
	font-size: 1.4rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(255,255,255,0.90);
	text-shadow: 0 1px 3px rgba(0,0,0,0.42);
}

.blog-hero-card h1 {
	margin: 0 0 4px;
	font-size: 4.1rem;
	line-height: 1.15;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.42);
}

.blog-hero-inner {
	width: 100%;
	padding-left: 100px;
}

.blog-hero-intro,
.blog-hero-date {
	text-shadow: 0 2px 6px rgba(0,0,0,0.38);
	margin: 0;
	font-size: 1.7rem;
	line-height: 1.6;
	color: #fff;
}

.blog-hero-card-article {
	max-width: 860px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.blog-hero-wrap-article .blog-hero-image {
	height: 150px;
}

/* ================================================== */
/* PAGE BLOG LAYOUT                                   */
/* ================================================== */

#blog-content {
	padding: 6px 0 44px;
}

.blog-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.blog-main {
	min-width: 0;
}


/* ================================================== */
/* WIDGETS                                            */
/* ================================================== */

.blog-widget {
	background: #fffdf9;
	border: 1px solid #eadfcf;
	border-radius: 18px;
	padding: 20px 18px;
	margin-bottom: 22px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.035);
}

.blog-widget h3 {
	margin: 0 0 14px;
	font-size: 2rem;
	line-height: 1.2;
	color: #3f454b;
}

.blog-widget p {
	margin: 0 0 12px;
	font-size: 1.45rem;
	line-height: 1.6;
	color: #646464;
}

.blog-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.blog-widget ul li a {
	color: #555;
}

.blog-widget ul li a:hover {
	color: #ef7a14;
}

.blog-widget-cta {
	text-align: center;
}

.blog-widget-cta p {
	margin-bottom: 14px;
}

.blog-widget-cta .btn-blog-readmore {
	display: inline-block;
}

/* ================================================== */
/* WIDGETS : LISTE CLASSIQUE                          */
/* ================================================== */

.blog-widget-list li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0e7da;
}

.blog-widget-list li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.blog-widget-list li a {
	font-size: 1.4rem;
	line-height: 1.45;
	color: #555;
}

.blog-widget-list li a:hover {
	color: #ef7a14;
}


/* ================================================== */
/* CATÉGORIES EN TAGS                                 */
/* ================================================== */

.blog-widget-tags ul {
	list-style: none;
	margin: 0;
	padding: 0;

	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-start;
}

.blog-widget-tags li {
	margin: 0;
	padding: 0;
	border: none;
	display: inline-block;
}

.blog-widget-tags li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: auto;
	max-width: 100%;

	padding: 7px 11px;
	border-radius: 999px;

	background: #f8f3ea;
	border: 1px solid #eadfcf;

	color: #5a5148;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;

	transition: all 0.2s ease;
}

.blog-widget-tags li a:hover {
	background: #ef7a14;
	border-color: #ef7a14;
	color: #fff;
}

/* ================================================== */
/* MOSAIQUE BLOG                                      */
/* ================================================== */

.blog-widget-mosaic {
	padding-bottom: 18px;
}

.blog-widget-mosaic h3 {
	margin-bottom: 14px;
}

.blog-mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

/* Compatible si images cliquables */
.blog-mosaic a,
.blog-mosaic img {
	display: block;
}

.blog-mosaic a {
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
}

/* Style général */
.blog-mosaic img {
	width: 100%;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid #efe6d8;
	background: #f7f1e8;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Images normales */
.blog-mosaic img:not(.wide) {
	aspect-ratio: 1 / 1;
}

/* Grandes images carrées sur 2 colonnes */
.blog-mosaic img.wide {
	grid-column: 1 / -1;
	aspect-ratio: 1 / 1;
}

/* Hover */
.blog-mosaic a:hover img,
.blog-mosaic img:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}


/* ================================================== */
/* CARTES ARTICLES                                    */
/* ================================================== */

.blog-card {
	background: #fffdf9;
	border: 1px solid #eadfcf;
	border-radius: 22px;
	overflow: hidden;
	margin-bottom: 28px;
	box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.blog-card-content {
	padding: 24px 26px;
}

.blog-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-bottom: 14px;
}

.blog-date {
	font-size: 15px;
	font-weight: 600;
	color: #666;
	line-height: 1;
}

.blog-card-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.blog-category-tag {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f8f3ea;
	color: #555;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.blog-category-tag:hover {
	background: #ef7a14;
	color: #fff;
}

.blog-card h2 {
	margin: 0 0 12px;
	font-size: 3.2rem;
	line-height: 1.2;
	font-weight: 700;
}

.blog-card h2 a {
	color: #3f454b;
}

.blog-card h2 a:hover {
	color: #ef7a14;
}

.blog-card-content p {
	margin: 0 0 16px;
	font-size: 1.65rem;
	line-height: 1.7;
	color: #5f5f5f;
}


/* ================================================== */
/* BOUTONS BLOG                                       */
/* ================================================== */

.btn-blog {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 999px;
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: all 0.28s ease;
}

/* CTA principal */
.btn-blog-cta {
	background: linear-gradient(180deg, #f2d977 0%, #eacb5c 100%);
	border: 1px solid #d8bb4d;
	color: #4f463d;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.btn-blog-cta:hover {
	background: linear-gradient(180deg, #e3c24b 0%, #c9a52e 100%);
	border-color: #b99322;
	color: #fff;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


/* Bouton secondaire : plus discret */
.btn-blog-secondary {
	background: #fffdf9;
	border: 1px solid #d9c9b3;
	color: #5a5148;
}

.btn-blog-secondary:hover {
	background: #f3eadb;
	border-color: #cdbb9f;
	color: #3f454b;
}

/* ================================================== */
/* PAGINATION                                         */
/* ================================================== */

.blog-pagination {
	padding-top: 4px;
	text-align: center;
}

.blog-pagination a {
	display: inline-block;
	padding: 11px 18px;
	background: #fffdf9;
	border: 1px solid #eadfcf;
	border-radius: 999px;
	font-size: 1.4rem;
	font-weight: 600;
	color: #555;
}


/* ================================================== */
/* PAGE ARTICLE                                       */
/* ================================================== */

#blog-article-content {
	padding: 6px 0 44px;
}

.blog-article-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.blog-article-main {
	background: #fffdf9;
	border: 1px solid #eadfcf;
	border-radius: 22px;
	padding: 32px 34px;
	box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.blog-article-header h1 {
	margin: 0 0 10px;
	font-size: 3.2rem;
	line-height: 1.15;
	font-weight: 700;
	color: #3f454b;
}

.blog-article-main h2 {
	margin: 25px 0 0;
	font-size: 2.3rem;
	font-weight: 700;
	line-height: 1.22;
	color: #3f454b;
}

.blog-article-main h3 {
	margin: 28px 0 12px;
	font-size: 2.3rem;
	line-height: 1.3;
	color: #4a4f55;
}

.blog-article-main h2 + p {
	margin-top: 6px;
}

.blog-article-main p,
.blog-article-main li {
	font-size: 1.6rem;
	line-height: 1.6;
	color: #585858;
}

.blog-article-main ul,
.blog-article-main ol {
	margin: 0 0 20px 22px;
	padding: 0;
}

.blog-article-main p a,
.blog-article-main li a {
	color: #a85f22;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.blog-article-main p a:hover,
.blog-article-main li a:hover {
	color: #7f4517;
	text-decoration-color: #9f5516;
}

.blog-article-cta {
	margin-top: 34px;
	padding: 24px;
	background: #faf4ea;
	border: 1px solid #e6d8c3;
	border-radius: 16px;
}

.blog-article-cta h3 {
	margin: 0 0 10px;
	font-size: 2.3rem;
	color: #3f454b;
}

.blog-article-header {
	margin-bottom: 20px;
}

.blog-article-meta {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 12px;
}

.blog-article-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.blog-article-image {
	margin: 22px 0 28px;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05), 8px 8px 14px rgba(0,0,0,0.08);
}

.blog-article-image img {
	display: block;
	width: 100%;
	height: auto;
}

.blog-source-quote {
	margin: 18px 0;
	padding: 14px 18px;
	border-left: 4px solid #e7c27a;
	background: #fffaf2;
	font-size: 0.98em;
	line-height: 1.7;
	font-style: italic;
	color: #5f574d;
}

.blog-source-link {
	margin-top: 10px;
	font-size: 0.95em;
}

/* SIGNATURE AUTEUR       */

.blog-author-signature {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid #ece2d3;
	font-size: 1.45rem;
	line-height: 1.6;
	color: #6a6a6a;
	font-style: italic;
}

/* ================================================== */
/* PAGE CATEGORIE : BLOC HAUT                         */
/* ================================================== */

.blog-category-highlight {
	margin-bottom: 22px;
	background-color: #f8f3ea;
	border: 1px solid #eadfcf;
	border-radius: 22px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.blog-category-highlight h2 {
	margin: 0 0 8px;
	font-size: 2.4rem;
	line-height: 1.2;
	color: #4f463d;
}

.blog-category-highlight .blog-category-description {
	margin: 0 0 10px;
	font-size: 1.5rem;
	line-height: 1.6;
	color: #646464;
	font-weight: 400;
}

.blog-category-highlight .blog-category-count {
	margin: 0;
	font-size: 1.5rem;
	color: #5a5148;
	font-weight: 600;
}

/* ================================================== */
/* FOOTER BLOG                                        */
/* ================================================== */

#blog-footer {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(to right, rgba(68,72,56,0.94), rgba(88,92,68,0.86)),
		url("/images/blog/header-blog.jpg") center 62% / cover no-repeat;
	border-top: 1px solid #d8cfbf;
	color: #fff;
}

.blog-footer-overlay {
	display: none;
}

.blog-footer-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 36px;
	align-items: center;
	padding-top: 34px;
	padding-bottom: 34px;
}

.blog-footer-main h2 {
	margin: 0 0 10px;
	font-size: 3rem;
	line-height: 1.1;
	font-weight: 700;
}

.blog-footer-main p {
	margin: 0;
	max-width: 760px;
	font-size: 1.55rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.88);
}

.blog-footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	justify-content: flex-end;
}

.blog-footer-links a {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid rgba(255,255,255,0.20);
	border-radius: 999px;
	font-size: 1.4rem;
	font-weight: 600;
	color: rgba(255,255,255,0.94);
}

.blog-footer-links a:hover {
	background: rgba(255,255,255,0.08);
}


/* ================================================== */
/* RESPONSIVE                                         */
/* ================================================== */

@media screen and (max-width: 1200px) {
	.blog-hero-inner {
		padding-left: 80px;
	}
}

@media screen and (max-width: 991px) {

	.blog-topbar-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.blog-layout,
	.blog-article-layout {
		grid-template-columns: 1fr;
	}

	.blog-sidebar-left,
	.blog-article-sidebar {
		order: 2;
	}

	.blog-main,
	.blog-article-main {
		order: 1;
	}

	.blog-footer-inner {
		padding-left: 50px;
		grid-template-columns: 1fr;
	}

	.blog-footer-links ul {
		justify-content: flex-start;
	}
}

@media screen and (max-width: 767px) {

	.blog-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.blog-brand-title {
		font-size: 2.2rem;
	}

	.blog-nav ul {
		gap: 8px 16px;
	}

	.blog-nav a {
		font-size: 1.4rem;
	}

	.blog-hero-image {
		height: 136px;
	}

	.blog-hero-card {
		max-width: 100%;
		margin-left: 0;
		margin-top: -24px;
		padding: 18px 18px;
		border-radius: 18px;
	}

	.blog-hero-card h1 {
		font-size: 2.6rem;
	}

	.blog-hero-intro,
	.blog-hero-date {
		font-size: 1.5rem;
		line-height: 1.6;
	}


	.blog-card-content {
		padding: 18px 16px;
	}

	.blog-card h2 {
		font-size: 2.4rem;
	}

	.blog-card-content p {
		font-size: 1.5rem;
		line-height: 1.65;
	}

	.blog-hero-inner {
		padding-left: 0;
	}
	.blog-widget {
		padding: 16px 14px;
		border-radius: 16px;
	}

	.blog-widget h3 {
		font-size: 1.8rem;
	}

	.blog-article-main {
		padding: 22px 18px;
		border-radius: 18px;
	}

	.blog-article-main p,
	.blog-article-main li {
		font-size: 1.6rem;
		line-height: 1.75;
	}

	.blog-article-main h2 {
		font-size: 2.4rem;
		margin: 26px 0 12px;
	}

	.blog-footer-main h2 {
		font-size: 2.5rem;
	}

	.blog-footer-main p {
		font-size: 1.45rem;
		line-height: 1.65;
	}
}