/* vignettes de la page Arduino */
.vignette-large {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	background-color: #dfe3e8;
	border-radius: 10px;
	box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
	margin: 20px 0;
	padding: 15px;
	gap: 20px;
	flex-wrap: wrap;
}

/* Vidéo avec largeur fixe sur grands écrans, responsive sur petits */
.vignette-large iframe {
	width: 480px;
	height: 270px; /* Ratio 16:9 */
	border-radius: 8px;
	border: none;
	display: block;
}

/* Image dans une vignette */
.vignette-image {
	width: 100%;
	height: auto;
	max-width: 480px;
	border-radius: 8px;
	object-fit: cover;
}

/* Contenu texte */
.vignette-contenu {
	flex: 1;
	min-width: 250px;
}
.vignette-contenu h3 {
	margin-top: 0;
	font-size: 1.3em;
}
.vignette-contenu p {
	margin: 10px 0;
}
.vignette-contenu a {
	color: #0066cc;
	text-decoration: none;
}
.vignette-contenu a:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.vignette-large {
		flex-direction: column;
		align-items: center;
	}

	.vignette-large iframe {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
}
