/** Filmpremierek modul — vízszintesen görgethető premierkártyák. */

.cinemore-premierek-blokk {
	width: 100%;
}

.cinemore-premierek__szurok {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 14px;
	row-gap: 10px;
	margin: 0 0 26px;
}

.cinemore-premierek-nav {
	display: flex;
	gap: 10px;
}

.cinemore-premierek-nav__gomb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid #e6e0ea;
	border-radius: 50%;
	background: #fff;
	color: var( --cm-magenta, #b0568a );
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.cinemore-premierek-nav__gomb:hover {
	border-color: var( --cm-magenta, #b0568a );
	background: var( --cm-magenta, #b0568a );
	color: #fff;
	transform: translateY( -1px );
}

.cinemore-premierek-nav__gomb:focus-visible {
	outline: 3px solid var( --cm-accent, #14c98d );
	outline-offset: 2px;
}

.cinemore-premierek-nav__gomb svg { display: block; }

.cinemore-premierek__kategoriak {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.cinemore-premierek__szurogomb,
.cinemore-premierek__mufajnyito {
	min-height: 42px;
	padding: 10px 17px;
	border: 1px solid #dcebe4;
	border-radius: 100px;
	background: #fff;
	color: #365047;
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.cinemore-premierek__szurogomb:hover,
.cinemore-premierek__mufajnyito:hover {
	border-color: var(--cm-accent, #14c98d);
	transform: translateY(-1px);
}

.cinemore-premierek__szurogomb.is-active {
	border-color: #07130e;
	background: #07130e;
	color: #fff;
}

.cinemore-premierek__szurogomb:disabled {
	opacity: .42;
	cursor: not-allowed;
	transform: none;
}

.cinemore-premierek__szurogomb:focus-visible,
.cinemore-premierek__mufajnyito:focus-visible,
.cinemore-premierek__mufajmenu button:focus-visible {
	outline: 3px solid var(--cm-accent, #14c98d);
	outline-offset: 2px;
}

.cinemore-premierek__mufaj {
	position: relative;
	flex: 0 0 auto;
}

.cinemore-premierek__mufajnyito {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.cinemore-premierek__mufajnyito svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cinemore-premierek__mufajnyito .cinemore-premierek__nyil {
	width: 15px;
	height: 15px;
	transition: transform .2s ease;
}

.cinemore-premierek__mufajnyito[aria-expanded="true"] .cinemore-premierek__nyil { transform: rotate(180deg); }

.cinemore-premierek__mufajmenu {
	position: absolute;
	top: calc(100% + 9px);
	right: 0;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(2, minmax(135px, 1fr));
	gap: 4px;
	width: 310px;
	max-height: 330px;
	padding: 9px;
	overflow-y: auto;
	border: 1px solid #dcebe4;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(7, 19, 14, .16);
}

.cinemore-premierek__mufajmenu[hidden] { display: none; }

.cinemore-premierek__mufajmenu button {
	padding: 9px 11px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #365047;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.cinemore-premierek__mufajmenu button:hover,
.cinemore-premierek__mufajmenu button.is-active {
	background: #edf6f1;
	color: #07130e;
}

.cinemore-premierek {
	width: 100%;
	max-width: 100%;
	padding: 4px 0 34px;
}

.cinemore-premierek .splide__track {
	padding: 0 2px 24px;
}

.cinemore-premier {
	/* A --cp-slide-w értékét a JS állítja (plusz attribútum), hogy eggyel több kártya férjen ki. */
	width: var( --cp-slide-w, 340px );
	min-width: 0;
	transition: opacity .35s ease, transform .35s ease;
}

.cinemore-premierek .splide__slide:not( .is-active ) .cinemore-premier {
	opacity: .42;
	transform: scale( .84 );
}

.cinemore-premierek .splide__slide.is-active {
	z-index: 2;
}

.cinemore-premierek .splide__slide.is-active .cinemore-premier {
	opacity: 1;
	transform: scale( 1 );
}

.cinemore-premierek .splide__arrow {
	width: 44px;
	height: 44px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(7, 19, 14, .18);
	opacity: 1;
}

.cinemore-premierek .splide__arrow svg {
	width: 18px;
	height: 18px;
	fill: #07130e;
}

.cinemore-premierek .splide__arrow:hover:not(:disabled) {
	background: var(--cm-accent, #14c98d);
	opacity: 1;
}

.cinemore-premierek .splide__arrow:disabled { opacity: 0; pointer-events: none; }
.cinemore-premierek .splide__arrow--prev { left: 14px; }
.cinemore-premierek .splide__arrow--next { right: 14px; }
.cinemore-premierek .splide__arrow:focus-visible { outline: 3px solid var(--cm-accent, #14c98d); outline-offset: 3px; }

.cinemore-premier__poster {
	position: relative;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	border: 1px solid #e0efe7;
	border-radius: 18px;
	background: #dbeee4;
	box-shadow: 0 20px 46px rgba(7, 19, 14, .12);
}

.cinemore-premier__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.cinemore-premier:hover .cinemore-premier__poster img { transform: scale(1.025); }

.cinemore-premier__datum {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 7px 12px;
	border-radius: 100px;
	background: var(--cm-accent, #14c98d);
	color: #07130e;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.2;
}

.cinemore-premier__status {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 7px 12px;
	border-radius: 100px;
	background: #b0568a;
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 6px 18px rgba(7, 19, 14, .16);
}

.cinemore-premier__tartalom { padding: 0; }

.cinemore-premier__cim {
	margin: 16px 0 5px;
	color: #07130e;
	font-family: var(--cm-display, Poppins), sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
}

.cinemore-premier__alcim {
	margin: 0;
	color: #5a7067;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.45;
}

.cinemore-premierek__musor {
	width: 100%;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #e0efe7;
}

.cinemore-premierek__musornap + .cinemore-premierek__musornap { margin-top: 16px; }
.cinemore-premierek__musornap > strong { color: #07130e; font-size: 14px; }
.cinemore-premierek__varos { margin-top: 9px; color: #b0568a; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.cinemore-premierek__mozi { margin-top: 8px; font-size: 13px; }
.cinemore-premierek__mozi > span { color: #496158; font-weight: 600; }
.cinemore-premierek__idopontok { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.cinemore-premierek__idopontok time { padding: 3px 6px; border-radius: 5px; background: #edf6f1; color: #07130e; font-size: 12px; }
.cinemore-premierek__ures { color: #667b72; }
.cinemore-premierek__nincs-talalat { margin: 12px 0 32px; color: #667b72; }

@media (max-width: 767px) {
	.cinemore-premierek__szurok { align-items: flex-start; margin-bottom: 20px; }
	.cinemore-premierek__kategoriak { flex-wrap: nowrap; margin-right: -8px; padding: 0 8px 5px 0; overflow-x: auto; scrollbar-width: none; }
	.cinemore-premierek__kategoriak::-webkit-scrollbar { display: none; }
	.cinemore-premierek__szurogomb { flex: 0 0 auto; padding: 9px 14px; }
	/* Mobilon a műfaj-szűrő nem jelenik meg (a listagombok görgethetők maradnak). */
	.cinemore-premierek__mufaj { display: none; }
	.cinemore-premierek { padding-bottom: 22px; }
	/* Mobilon 1 kártya / oldal (js/premierek.js breakpoint: perPage 1, focus 0):
	   a kártya a slide teljes szélességét tölti ki, nincs center/peek és nincs
	   halványítás a nem aktív kártyákon. */
	.cinemore-premier { width: 100%; }
	.cinemore-premierek .splide__slide:not( .is-active ),
	.cinemore-premierek .splide__slide:not( .is-active ) .cinemore-premier {
		opacity: 1;
		transform: none;
	}
	.cinemore-premierek .splide__arrow { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
	.cinemore-premier__poster img { transition: none; }
}
