/* Plugin "Semainier Thélis" — styles section.
 * Breakout 100vw : sort de la max-width du theme et occupe toute la largeur viewport.
 * Patternsafe sur Astra, GeneratePress, Twenty Twenty-Four, Divi, Elementor.
 */

.semth-semainier.semth-breakout {
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
	max-width: 100vw;
	padding: 48px 5vw;
	box-sizing: border-box;
	background: #f7f9fb;
	overflow-x: hidden; /* protège du débordement horizontal du widget Thélis */
}

.semth-semainier .semth-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.semth-semainier .semth-title {
	font-size: clamp(24px, 3vw, 36px);
	margin: 0 0 8px;
	text-align: center;
	color: #0f172a;
}

.semth-semainier .semth-subtitle {
	font-size: 16px;
	color: #64748b;
	text-align: center;
	margin: 0 0 32px;
}

.semth-semainier .semth-widget {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
	overflow-x: auto;
}

/* Le widget Thélis (thr-simpleblock) prend toute la largeur du conteneur. */
.semth-semainier thr-simpleblock {
	display: block;
	width: 100%;
	min-height: 320px;
}

/* CTA tracké sous le widget (récupère l'attribution hors Shadow DOM). */
.semth-semainier .semth-cta {
	margin-top: 24px;
	text-align: center;
}

.semth-semainier .semth-btn-primary {
	display: inline-block;
	padding: 14px 28px;
	background: linear-gradient(135deg, #0066cc, #16a34a);
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	border-radius: 999px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25);
}

.semth-semainier .semth-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
	color: #fff;
}

/* Mobile : padding réduit, le widget Thélis a son propre responsive. */
@media (max-width: 768px) {
	.semth-semainier.semth-breakout {
		padding: 32px 4vw;
	}
	.semth-semainier .semth-widget {
		padding: 16px;
	}
}
