/**
 * Shortcode [benarroche_latest_videos] – styles
 */

.benarroche-latest-videos-wrap {
	width: 90%;
	max-width: var(--benarroche-container, 1200px);
	margin: 0 auto;
}

.video-section.benarroche-latest-videos-section {
	padding: 20px;
	background-color: var(--benarroche-primary);
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.video-section.benarroche-latest-videos-section .video-container.benarroche-latest-videos-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 15px;
}

.video-section.benarroche-latest-videos-section .video-container.benarroche-latest-videos-container iframe {
	width: calc(33.333% - 10px);
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	background: #000;
}

@media (max-width: 768px) {
	.video-section.benarroche-latest-videos-section .video-container.benarroche-latest-videos-container iframe {
		width: 100%;
	}
}

.benarroche-latest-videos-actions {
	margin-top: 1.5rem;
	padding-bottom: 0.25rem;
	text-align: center;
}

/* Hors du bloc bleu : bouton plein primary-dark (comme « Toutes mes expertises »). */
.elementor-widget-shortcode .benarroche-latest-videos-wrap .benarroche-latest-videos-actions a.benarroche-latest-videos-more-btn,
.benarroche-latest-videos-wrap .benarroche-latest-videos-actions a.benarroche-latest-videos-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 14rem;
	padding: 0.9rem 1.75rem;
	font-family: var(--benarroche-font-sans, inherit);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: #ffffff !important;
	background-color: var(--benarroche-primary-dark) !important;
	border: 2px solid var(--benarroche-primary-dark) !important;
	border-radius: var(--benarroche-radius, 4px);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--benarroche-primary-dark) 28%, transparent);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.elementor-widget-shortcode .benarroche-latest-videos-wrap .benarroche-latest-videos-actions a.benarroche-latest-videos-more-btn:hover,
.elementor-widget-shortcode .benarroche-latest-videos-wrap .benarroche-latest-videos-actions a.benarroche-latest-videos-more-btn:focus,
.benarroche-latest-videos-wrap .benarroche-latest-videos-actions a.benarroche-latest-videos-more-btn:hover,
.benarroche-latest-videos-wrap .benarroche-latest-videos-actions a.benarroche-latest-videos-more-btn:focus {
	background-color: var(--benarroche-primary) !important;
	border-color: var(--benarroche-primary) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 18px color-mix(in srgb, var(--benarroche-primary-dark) 34%, transparent);
}

.benarroche-latest-videos-error {
	color: var(--benarroche-text);
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	background: var(--benarroche-bg-alt, #f7fafc);
	border-left: 4px solid var(--benarroche-primary);
	border-radius: 4px;
}
