/**
 * Assistouest Core - Hero Dark Full-Bleed Styles
 * Layout 50/50 Dark Theme : Image Cover | Titre H1 + Date + Excerpt
 */

/* ===== HERO DARK FULL-BLEED ===== */
.assistouest-hero-dark {
	width: 100vw;
	margin: 0;
	padding: 0;
	background: #0a1014;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	height: clamp(60vh, 85vh, 800px);
	display: flex;
}

.assistouest-hero-dark-container {
	display: flex;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* ===== COLONNE IMAGE (GAUCHE) ===== */
.assistouest-hero-dark-image {
	flex: 1;
	width: 50%;
	height: clamp(60vh, 85vh, 800px);
	position: relative;
	overflow: hidden;
}

.assistouest-hero-dark-image img.assistouest-hero-dark-img,
.assistouest-hero-dark-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ===== COLONNE CONTENU (DROITE) ===== */
.assistouest-hero-dark-content {
	flex: 1;
	width: 50%;
	display: flex;
	align-items: center;
	background: #0a1014;
	padding: 60px 80px;
}

.assistouest-hero-dark-text {
	max-width: 600px;
}

/* Meta - Date, Catégorie, Auteur */
.assistouest-hero-dark-meta {
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.assistouest-hero-dark-category {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: #0066eb;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.assistouest-hero-dark-category:hover {
	text-decoration: underline;
}

.assistouest-hero-dark-meta time {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: #b0b8c4;
}

.assistouest-hero-dark-separator {
	color: #b0b8c4;
	font-size: 0.85rem;
}

.assistouest-hero-dark-author {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: #b0b8c4;
}

/* Titre H1 - BLANC sur fond sombre */
.assistouest-hero-dark-title {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.1;
	color: #ffffff;
	margin: 0 0 24px 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	letter-spacing: -0.02em;
	hyphens: none;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* Excerpt - Gris clair */
.assistouest-hero-dark-excerpt {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 1.15rem;
	line-height: 1.7;
	color: #b0b8c4;
	margin: 0;
}

/* ===== BREADCRUMB DARK (Intégré au Hero) ===== */
.assistouest-breadcrumb-dark {
	margin-bottom: 16px;
}

.assistouest-breadcrumb-dark__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4em;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.75rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.assistouest-breadcrumb-dark__item {
	display: flex;
	align-items: center;
	gap: 0.4em;
	white-space: nowrap;
}

.assistouest-breadcrumb-dark__link {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.03em;
	transition: color 0.2s ease;
}

.assistouest-breadcrumb-dark__link:hover {
	color: rgba(255, 255, 255, 0.9);
}

.assistouest-breadcrumb-dark__current {
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.03em;
}

.assistouest-breadcrumb-dark__sep {
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.8em;
}

/* ===== TAGS DARK (Intégrés au Hero) ===== */
.assistouest-tags-dark {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.assistouest-tags-dark__link {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: color 0.2s ease;
}

.assistouest-tags-dark__link:hover {
	color: rgba(255, 255, 255, 0.85);
}

/* ===== TAGS CHIPS (Version externe - conservée pour compatibilité) ===== */
.assistouest-tags-wrapper {
	width: 85%;
	max-width: 1400px;
	margin: 16px auto;
}

.assistouest-tags-chips {
	--tag-color: #0066eb;
}

.assistouest-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.assistouest-tag-link {
	display: inline-block;
	border: 1px solid var(--tag-color, #0066eb);
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	font-size: 0.92rem;
	line-height: 1.2;
	text-decoration: none;
	color: var(--tag-color, #0066eb);
	transition: background-color 0.2s ease;
}

.assistouest-tag-link:hover {
	background: #f5f5f5;
}

/* ===== ADSENSE HEADER ===== */
.assistouest-adsense-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	margin: 24px 0 0;
	width: 100%;
}

.assistouest-adsense-topbar {
	margin-top: 24px;
	height: 30px;
	width: 100%;
	max-width: 1280px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 14px;
	letter-spacing: 0.02em;
	color: #111;
}

.assistouest-adsense-topbar-text {
	opacity: 0;
	transition: opacity 0.2s linear;
}

.assistouest-adsense-header-inner {
	margin-top: 0;
	margin-bottom: 32px;
	max-width: 1280px;
	width: 100%;
	position: relative;
	min-height: 348px;
	background: #f6f7f8;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.assistouest-adsense-header-label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	box-sizing: border-box;
	pointer-events: none;
	gap: 16px;
	opacity: 0.38;
	z-index: 0;
}

.assistouest-adsense-header-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 22px;
	background: rgba(0, 0, 0, 0.07);
	margin-bottom: 30px;
}

.assistouest-adsense-header-ico svg {
	width: 56px;
	height: 56px;
	opacity: 0.65;
}

.assistouest-adsense-header-label-text {
	font-size: 17px;
	line-height: 1.45;
	max-width: 760px;
}

.assistouest-adsense-header-inner .adsbygoogle {
	position: relative;
	z-index: 1;
	float: none !important;
	display: block !important;
	width: 100%;
	max-width: 970px;
	margin: 0 auto;
}

.assistouest-adsense-header-inner .adsbygoogle iframe {
	display: block;
	margin: 0 auto;
}

@supports selector(:has(*)) {
	.assistouest-adsense-header:has(ins.adsbygoogle[data-ad-status="filled"]) .assistouest-adsense-topbar-text,
	.assistouest-adsense-header:has(ins.adsbygoogle iframe) .assistouest-adsense-topbar-text {
		opacity: 1;
	}
	.assistouest-adsense-header:has(ins.adsbygoogle[data-ad-status="filled"]) .assistouest-adsense-header-label,
	.assistouest-adsense-header:has(ins.adsbygoogle iframe) .assistouest-adsense-header-label {
		opacity: 0;
	}
	.assistouest-adsense-header-inner:has(ins.adsbygoogle[data-ad-status="filled"]),
	.assistouest-adsense-header-inner:has(ins.adsbygoogle iframe) {
		background: #fff;
	}
}

/* ===== RESPONSIVE HERO DARK ===== */

/* Tablette ≤ 1024px */
@media (max-width: 1024px) {
	.assistouest-hero-dark-content {
		padding: 40px 50px;
	}

	.assistouest-hero-dark-title {
		font-size: clamp(1.75rem, 5vw, 2.5rem);
	}

	.assistouest-breadcrumb,
	.assistouest-tags-wrapper {
		width: 92%;
	}
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
	.assistouest-hero-dark {
		height: auto;
		min-height: 40vh;
		flex-direction: column;
	}

	.assistouest-hero-dark-container {
		flex-direction: column;
	}

	.assistouest-hero-dark-image {
		width: 100%;
		min-height: 40vh;
	}

	.assistouest-hero-dark-content {
		width: 100%;
		padding: 40px 30px;
	}

	.assistouest-hero-dark-text {
		max-width: none;
		text-align: center;
	}

	.assistouest-breadcrumb-dark {
		margin-bottom: 12px;
	}

	.assistouest-breadcrumb-dark__list {
		justify-content: center;
	}

	.assistouest-hero-dark-meta {
		margin-bottom: 16px;
		justify-content: center;
	}

	.assistouest-tags-dark {
		justify-content: center;
		margin-top: 16px;
	}

	.assistouest-hero-dark-title {
		font-size: clamp(1.75rem, 6vw, 2.25rem);
		margin-bottom: 16px;
	}

	.assistouest-hero-dark-excerpt {
		font-size: 1.05rem;
	}

	.assistouest-breadcrumb,
	.assistouest-tags-wrapper {
		width: 95%;
	}

	.assistouest-adsense-header-inner,
	.assistouest-adsense-topbar {
		max-width: 100%;
	}

	.assistouest-adsense-header-inner .adsbygoogle {
		max-width: 100%;
	}
}

/* Très petit écran ≤ 480px */
@media (max-width: 480px) {
	.assistouest-hero-dark-image {
		min-height: 35vh;
	}

	.assistouest-hero-dark-content {
		padding: 30px 20px;
	}

	.assistouest-hero-dark-title {
		font-size: 1.5rem;
	}

	.assistouest-hero-dark-excerpt {
		font-size: 1rem;
	}

	.assistouest-breadcrumb,
	.assistouest-tags-wrapper {
		width: 100%;
	}

	.assistouest-breadcrumb__list {
		font-size: 12px;
	}
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
	.assistouest-adsense-topbar-text {
		transition: none;
	}
}
