/* ============================================================
   MARCH — Image Grid CSS
   Cuadrícula de imágenes por categoría/ocasión
   Fiel a milkbarstore.com: título centrado + 3 fotos + etiqueta bold
   ============================================================ */

/* ── Sección ── */
.march-image-grid {
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(24px, 3vw, 40px);
}

/* ── Encabezado centrado ── */
.march-ig-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto clamp(40px, 5vw, 64px);
}

.march-ig-title {
	font-family: 'Outfit', sans-serif;
	font-weight: 900;
	font-size: clamp(28px, 4vw, 48px);
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: #111111;
	margin: 0 0 16px;
}

.march-ig-subtitle {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(14px, 1.3vw, 16px);
	font-weight: 400;
	color: #555555;
	line-height: 1.6;
	margin: 0;
	max-width: 540px;
	margin-inline: auto;
}

/* ── Grid ── */
.march-ig-grid {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
}

.march-ig-grid--2 { grid-template-columns: repeat(2, 1fr); }
.march-ig-grid--3 { grid-template-columns: repeat(3, 1fr); }
.march-ig-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Item ── */
.march-ig-item {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* ── Wrap de imagen ── */
.march-ig-img-wrap {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--ig-ratio, 4/3);
	border-radius: var(--ig-radius, 8px);
	background: #f0ede8;
	text-decoration: none;
}

.march-ig-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.march-ig-img-wrap:hover .march-ig-img {
	transform: scale(1.05);
}

.march-ig-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f0ede8 0%, #e0dcd5 100%);
}

/* ── Etiqueta debajo de la imagen ── */
.march-ig-label {
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #111111;
	text-align: center;
	line-height: 1.2;
}

.march-ig-label a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.march-ig-label a:hover {
	opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.march-ig-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.march-ig-grid--3,
	.march-ig-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
	.march-ig-grid--2,
	.march-ig-grid--3,
	.march-ig-grid--4 { grid-template-columns: 1fr; }
}
