/*
 * A főoldali bemutatkozás és a lejátszó két teljes szélességű sor.
 * Az !important felülírja a főoldal korábbi, kétoszlopos beállítását.
 */
body.home .emr-home-hero,
body.front-page .emr-home-hero {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 24px !important;
	width: 100% !important;
	max-width: none !important;
}

body.home .emr-home-hero__copy,
body.home .emr-home-player,
body.front-page .emr-home-hero__copy,
body.front-page .emr-home-player {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

body.home .emr-home-hero__copy,
body.front-page .emr-home-hero__copy {
	min-height: 0 !important;
}

body.home .emr-home-hero h1,
body.home .emr-home-hero__copy > p,
body.front-page .emr-home-hero h1,
body.front-page .emr-home-hero__copy > p {
	max-width: none !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}

/*
 * Védelem arra az esetre, ha a WordPress gyorsítótárában még a régi
 * emr-original-content burkolóval készült HTML maradt.
 */
body.home .emr-original-content,
body.front-page .emr-original-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.home .emr-stay-section,
body.front-page .emr-stay-section {
	display: none !important;
}

/*
 * A két csatorna asztali nézetben ismét egymás mellett jelenik meg.
 * Az ikon és a felirat együtt, egy egységként kerül a gomb közepére.
 */
body.home .emr-home-player .emr-station-tabs,
body.front-page .emr-home-player .emr-station-tabs {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
	max-width: 860px;
	margin: 0 auto 20px;
}

body.home .emr-home-player .emr-station,
body.front-page .emr-home-player .emr-station {
	grid-template-columns: 48px minmax(0, auto);
	justify-content: center;
	text-align: left;
}

/*
 * A lejátszó fő elemei középre rendezve egységesebb, nyugodtabb képet adnak.
 */
body.home .emr-home-player__heading,
body.front-page .emr-home-player__heading {
	justify-content: center;
	text-align: center;
}

body.home .emr-home-player__controls,
body.front-page .emr-home-player__controls {
	justify-content: center;
	width: 100%;
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

body.home .emr-home-player .emr-volume-control,
body.front-page .emr-home-player .emr-volume-control {
	flex: 1 1 280px;
	width: auto;
	max-width: 420px;
}

body.home .emr-home-player__status,
body.front-page .emr-home-player__status,
body.home .emr-home-player .emr-direct-link,
body.front-page .emr-home-player .emr-direct-link {
	text-align: center;
}

body.home .emr-home-player .emr-player-now,
body.front-page .emr-home-player .emr-player-now {
	width: 100%;
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.emr-home-player .emr-home-artwork {
	display: grid;
	grid-template-columns: 132px minmax(0, 320px);
	gap: 16px;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 620px;
	margin: 0 auto 18px;
	padding: 12px;
	border: 1px solid var(--emr-line, #91a6b6);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.28);
}

.emr-home-player .emr-home-artwork[hidden] {
	display: none;
}

.emr-home-player .emr-home-artwork img {
	display: block;
	width: 132px;
	height: 132px;
	border-radius: 14px;
	object-fit: cover;
	background: #fff;
	box-shadow: 0 9px 22px rgba(16, 42, 67, 0.2);
}

.emr-home-player .emr-home-artwork__text {
	min-width: 0;
}

.emr-home-player .emr-home-artwork__label {
	display: block;
	margin-bottom: 5px;
	color: var(--emr-ink-soft, #486581);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.emr-home-player .emr-home-artwork__title {
	display: block;
	color: var(--emr-ink, #102a43);
	font-size: 0.94rem;
	font-weight: 800;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

@media (max-width: 700px) {
	body.home .emr-home-player .emr-station-tabs,
	body.front-page .emr-home-player .emr-station-tabs {
		grid-template-columns: minmax(0, 1fr);
		max-width: 480px;
	}
}

@media (max-width: 520px) {
	.emr-home-player .emr-home-artwork {
		grid-template-columns: 96px;
		gap: 12px;
		justify-items: center;
		text-align: center;
	}

	.emr-home-player .emr-home-artwork img {
		width: 96px;
		height: 96px;
	}

	body.home .emr-home-player__controls,
	body.front-page .emr-home-player__controls {
		align-items: stretch;
	}

	body.home .emr-home-player .emr-volume-control,
	body.front-page .emr-home-player .emr-volume-control {
		flex: 0 0 auto;
		width: 100%;
		max-width: none;
	}
}
