/*
	Salon Magnetic - Styles Blog / Actualités
*/

/* ========================================
   PAGE LISTE
   ======================================== */

.blog-page {
	padding: 120px 0 80px;
	background: #f9f9f9;
	min-height: 60vh;
}

.blog-page-header {
	text-align: center;
	margin-bottom: 60px;
	padding-bottom: 24px;
	background: url('../images/title-bg.png') no-repeat bottom center;
}

.blog-page-header h1 {
	font-size: 44px;
	font-weight: 700;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 16px;
}

.blog-page-header p {
	font-size: 18px;
	color: #666;
}

/* Carte article */
.blog-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.07);
	margin-bottom: 30px;
	transition: transform 0.3s, box-shadow 0.3s;
	display: flex;
	flex-direction: column;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.blog-card-img-link {
	display: block;
}

.blog-card-img {
	height: 220px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.blog-card-category {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #bd1323;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 4px 10px;
	border-radius: 4px;
}

.blog-card-body {
	padding: 22px 22px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blog-card-date {
	font-size: 13px;
	color: #aaa;
	margin-bottom: 10px;
}

.blog-card-date i {
	margin-right: 5px;
	color: #bd1323;
}

.blog-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #111;
	line-height: 1.4;
	margin-bottom: 12px;
	font-family: 'Josefin Sans', sans-serif;
	text-transform: none;
	letter-spacing: 0;
}

.blog-card-title a {
	color: #111;
}

.blog-card-title a:hover {
	color: #bd1323;
}

.blog-card-excerpt {
	font-size: 15px;
	color: #666;
	line-height: 1.65;
	flex: 1;
	margin-bottom: 18px;
}

.blog-card-read-more {
	font-size: 14px;
	font-weight: 600;
	color: #bd1323;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.blog-card-read-more i {
	margin-left: 5px;
	transition: transform 0.2s;
}

.blog-card-read-more:hover {
	color: #900f1a;
}

.blog-card-read-more:hover i {
	transform: translateX(4px);
}

/* Placeholder futurs articles */
.blog-card-placeholder {
	border: 2px dashed #ddd;
	box-shadow: none;
	align-items: center;
	justify-content: center;
	min-height: 340px;
	background: #fafafa;
}

.blog-card-placeholder:hover {
	transform: none;
	box-shadow: none;
}

.blog-card-placeholder-inner {
	text-align: center;
	padding: 40px 30px;
	color: #ccc;
}

.blog-card-placeholder-inner i {
	font-size: 32px;
	display: block;
	margin-bottom: 14px;
}

.blog-card-placeholder-inner p {
	font-size: 15px;
	margin: 0;
}


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

.article-page {
	padding: 120px 0 80px;
	background: #fff;
}

/* Fil d'Ariane */
.breadcrumb-nav {
	font-size: 14px;
	color: #aaa;
	margin-bottom: 30px;
}

.breadcrumb-nav a {
	color: #bd1323;
}

.breadcrumb-nav i {
	margin: 0 6px;
	font-size: 11px;
	color: #ccc;
}

/* En-tête article */
.article-header {
	margin-bottom: 36px;
}

.article-category {
	display: inline-block;
	background: #bd1323;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 4px 12px;
	border-radius: 4px;
	margin-bottom: 16px;
}

.article-title {
	font-size: 36px;
	font-weight: 700;
	color: #111;
	line-height: 1.3;
	margin-bottom: 18px;
	text-transform: none;
	letter-spacing: 0;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 14px;
	color: #aaa;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 12px 0;
}

.article-meta i {
	color: #bd1323;
	margin-right: 5px;
}

/* Image principale */
.article-figure {
	margin: 0 0 30px;
}

.article-figure img {
	width: 100%;
	border-radius: 6px;
	object-fit: cover;
	max-height: 420px;
}

.article-figure figcaption {
	font-size: 13px;
	color: #aaa;
	margin-top: 8px;
	text-align: center;
	font-style: italic;
}

/* Corps de l'article */
.article-content {
	font-size: 17px;
	line-height: 1.8;
	color: #333;
}

.article-intro {
	font-size: 19px;
	line-height: 1.75;
	color: #222;
	margin-bottom: 24px;
}

.article-content h2 {
	font-size: 26px;
	font-weight: 700;
	color: #111;
	margin: 38px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f0f0;
	font-family: 'Josefin Sans', sans-serif;
	text-transform: none;
	letter-spacing: 0;
}

.article-content p {
	margin-bottom: 20px;
	color: #444;
}

/* Encadrés */
.article-callout {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fff5f5;
	border-left: 4px solid #bd1323;
	padding: 18px 20px;
	border-radius: 0 6px 6px 0;
	margin: 28px 0;
	font-size: 16px;
	color: #333;
}

.article-callout.article-callout-info {
	background: #f0f6ff;
	border-left-color: #4285f4;
}

.article-callout.article-callout-info i {
	color: #4285f4;
}

.article-callout i {
	color: #bd1323;
	font-size: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Liste stylée */
.article-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.article-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #f4f4f4;
	font-size: 16px;
	color: #444;
}

.article-list li:last-child {
	border-bottom: none;
}

.article-list li i {
	color: #bd1323;
	font-size: 14px;
	flex-shrink: 0;
	margin-top: 4px;
}

/* CTA fin d'article */
.article-cta {
	background: #f9f9f9;
	border: 1px solid #eee;
	border-top: 4px solid #bd1323;
	border-radius: 8px;
	padding: 28px;
	text-align: center;
	margin-top: 40px;
}

.article-cta p {
	font-size: 18px;
	font-weight: 600;
	color: #111;
	margin-bottom: 20px;
}

.article-cta .btn-custom {
	margin: 6px;
}

.btn-custom-outline {
	background: transparent !important;
	color: #bd1323 !important;
	border: 2px solid #bd1323 !important;
}

.btn-custom-outline:hover {
	background: #bd1323 !important;
	color: #fff !important;
}

/* Bouton rouge CTA pages services */
.btn-primary-red {
	display: inline-block;
	background: #bd1323;
	color: #fff !important;
	padding: 14px 32px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none !important;
	transition: background 0.2s ease;
	margin: 4px 8px;
}

.btn-primary-red:hover {
	background: #9b0e1b;
}

.article-cta-link {
	color: #bd1323;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid #bd132340;
	transition: border-color 0.2s;
}

.article-cta-link:hover {
	border-bottom-color: #bd1323;
}

/* Navigation bas d'article */
.article-nav {
	margin-top: 50px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.article-nav-back {
	font-size: 15px;
	font-weight: 600;
	color: #bd1323;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.article-nav-back i {
	margin-right: 6px;
	transition: transform 0.2s;
}

.article-nav-back:hover i {
	transform: translateX(-4px);
}

/* Sidebar */
.article-sidebar {
	padding-left: 10px;
}

.sidebar-widget {
	background: #f9f9f9;
	border: 1px solid #eee;
	border-top: 3px solid #bd1323;
	border-radius: 6px;
	padding: 22px;
	margin-bottom: 28px;
}

.sidebar-title {
	font-size: 17px;
	font-weight: 700;
	color: #111;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-family: 'Josefin Sans', sans-serif;
}

.sidebar-widget p {
	font-size: 15px;
	color: #555;
	line-height: 1.65;
	margin-bottom: 10px;
}

.sidebar-widget p i {
	color: #bd1323;
	margin-right: 6px;
	width: 14px;
}

.sidebar-widget a {
	color: #bd1323;
}

.sidebar-list {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
}

.sidebar-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 7px 0;
	border-bottom: 1px dotted #e8e8e8;
	font-size: 15px;
	color: #444;
}

.sidebar-list li:last-child {
	border-bottom: none;
}

.sidebar-list li i {
	color: #bd1323;
	font-size: 12px;
	flex-shrink: 0;
	margin-top: 4px;
}


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

@media only screen and (max-width: 991px) {
	.blog-page-header h1 {
		font-size: 34px;
	}

	.article-title {
		font-size: 28px;
	}

	.article-sidebar {
		padding-left: 0;
		margin-top: 40px;
	}
}

@media only screen and (max-width: 767px) {
	.blog-page {
		padding: 100px 0 60px;
	}

	.blog-page-header h1 {
		font-size: 26px;
	}

	.article-page {
		padding: 100px 0 60px;
	}

	.article-title {
		font-size: 22px;
	}

	.article-meta {
		gap: 12px;
		font-size: 13px;
	}

	.article-content h2 {
		font-size: 21px;
	}

	.article-intro {
		font-size: 17px;
	}

	.article-callout {
		flex-direction: column;
		gap: 10px;
	}

	.blog-card-img {
		height: 180px;
	}
}
