/**
 * Dobozok modul stílusa — [cinemore_dobozok] shortcode.
 * A „Miért a mozi?" dobozrács stílusai, egyedi class-nevekkel
 * (nem ütközik a sablon eredeti cm-* osztályaival).
 */

.cinemore-dobozok {
	display: grid;
	font-family: "Poppins", Sans-serif;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	max-width: 1320px;
	margin: 0 auto;
}

/* Egy doboz */
.cinemore-doboz {
	position: relative;
	background: #f4faf7;
	border: 1px solid #e0efe7;
	border-radius: 22px;
	padding: 44px 36px;
	min-height: 330px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.cinemore-doboz:hover {
	transform: translateY(-10px);
	box-shadow: 0 34px 70px rgba(10, 143, 99, .16);
	border-color: #14c98d;
}

/* Ghost sorszám a sarokban (1, 2, 3 …) */
.cinemore-doboz__szam {
	position: absolute;
	top: 18px;
	right: 28px;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 120px;
	line-height: 1;
	color: #0a8f63;
	opacity: .08;
	pointer-events: none;
	transition: transform .5s cubic-bezier(.16, .84, .3, 1), opacity .5s;
}

.cinemore-doboz:hover .cinemore-doboz__szam {
	transform: translate(6px, -6px);
	opacity: .14;
}

/* Ikontartó doboz (Lucide SVG ide kerül) */
.cinemore-doboz__ikon {
	position: relative;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #14c98d;
	color: #07130e; /* currentColor a Lucide stroke-hoz */
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: auto;
	flex-shrink: 0;
}

.cinemore-doboz__ikon svg {
	width: 28px;
	height: 28px;
}

/* Cím (a bejegyzés címe) */
.cinemore-doboz__cim {
	position: relative;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.12;
	letter-spacing: -.01em;
	margin: 30px 0 12px;
	text-transform: uppercase;
	color: #07130e;
}

/* Szöveg (ACF textarea → wpautop) */
.cinemore-doboz__szoveg {
	position: relative;
	font-size: 17px;
	line-height: 1.6;
	color: #5a7067;
	margin: 0;
	font-weight: 400;
}

.cinemore-doboz__szoveg p {
	margin: 0;
}

.cinemore-doboz__szoveg p + p {
	margin-top: 10px;
}

/* Jelzővonal (hover-re növekszik) */
.cinemore-doboz__vonal {
	position: relative;
	width: 24px;
	height: 4px;
	background: #14c98d;
	border-radius: 2px;
	margin-top: 24px;
	transition: width .6s cubic-bezier(.16, .84, .3, 1);
}

.cinemore-doboz:hover .cinemore-doboz__vonal {
	width: 72px;
}

/* Reszponzív: 3 → 2 → 1 oszlop */
@media (max-width: 1100px) {
	.cinemore-dobozok {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.cinemore-dobozok {
		grid-template-columns: 1fr;
	}
	.cinemore-doboz {
		padding: 36px 28px;
		min-height: 0;
	}
	.cinemore-doboz__szam {
		font-size: 92px;
	}
}
