/*
 * Home page: the «Στον αέρα» hero, the next-shows card, the day tape, the news and the section heads.
 * Producer cards (also used on /paragogoi/) live in schedule.css.
 */

/* ---------- Hero ---------- */
.kfm-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 40px;
	padding-block: 44px 32px;
	align-items: start;
}
.kfm-hero__kicker { display: flex; align-items: center; color: var(--or); font-size: 15px; font-weight: 500; line-height: 1.3; }
.kfm-hero__kicker .kfm-meter { margin-right: 10px; }
.kfm-hero__time::before { content: ", "; white-space: pre; }
.kfm-hero__time { font-variant-numeric: tabular-nums; }
.kfm-hero__title {
	margin: 14px 0 12px;
	font-size: clamp(52px, 9.5vw, 96px);
	line-height: .92;
	overflow-wrap: anywhere;
}
.kfm-hero__who { font-size: 20px; color: var(--mute); line-height: 1.35; }
.kfm-hero__song { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 16px; line-height: 1.35; color: var(--mute); overflow-wrap: anywhere; }
.kfm-hero__song[hidden] { display: none; }
.kfm-hero__song .kfm-icon { flex: none; width: 18px; height: 18px; }
.kfm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.kfm-hero__listeners { color: var(--mute); font-size: 15px; font-variant-numeric: tabular-nums; }

/* ---------- «Επόμενες εκπομπές» card ---------- */
.kfm-card { background: var(--panel); border-radius: var(--radius); padding: 20px; }
.kfm-card__title { font-family: var(--font-text); font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-bottom: 8px; }
.kfm-card__list { list-style: none; margin: 0; padding: 0; }
.kfm-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.kfm-card__name { min-width: 0; text-decoration: none; font-weight: 500; }
a.kfm-card__name:hover { text-decoration: underline; text-decoration-color: var(--mute); }
.kfm-card__time { color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- The day tape ---------- */
.kfm-tape-section { margin-top: 8px; }
.kfm-tape {
	position: relative;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding-block: 8px;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
}
.kfm-tape__track { display: flex; list-style: none; margin: 0; padding: 0; width: 100%; border-radius: var(--radius); overflow: hidden; }
.kfm-tape__seg { flex: none; min-width: 0; background: var(--panel); border-right: 1px solid var(--bg); }
.kfm-tape__seg:last-child { border-right: 0; }
.kfm-tape__seg > a, .kfm-tape__static {
	display: block; height: 100%;
	padding: 11px 10px 12px;
	color: var(--mute);
	text-decoration: none;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	font-size: 13px; line-height: 1.35;
}
.kfm-tape__seg > a:hover { background: var(--panel-hover); }
.kfm-tape__seg > a:focus-visible { outline-offset: -4px; border-radius: 0; }
.kfm-tape__time { display: block; font-variant-numeric: tabular-nums; }
.kfm-tape__name { display: block; color: var(--ink); font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.kfm-tape__seg.is-default { background: var(--panel-dim); }
.kfm-tape__seg.is-now { background: var(--or); }
.kfm-tape__seg.is-now > a, .kfm-tape__seg.is-now .kfm-tape__static { color: var(--on-or-soft); }
.kfm-tape__seg.is-now > a:hover { background: var(--or-hover); }
.kfm-tape__seg.is-now .kfm-tape__name { color: var(--on-or); font-weight: 600; }
.kfm-tape__seg.is-now > a:focus-visible { outline-color: var(--on-or); }

/* The «now» line: the needle's twin. It sits over the strip, so it is dark-edged to stay visible on the orange show. */
.kfm-tape__now {
	position: absolute; top: 2px; bottom: 2px;
	width: 3px; margin-left: -1.5px;
	background: var(--or);
	border-radius: 2px;
	box-shadow: 0 0 0 1px var(--on-or), 0 0 10px 1px var(--or-glow);
	pointer-events: none;
}

/* ---------- Section heads ---------- */
.kfm-sec { margin-top: 56px; }
.kfm-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.kfm-sec__title { font-size: clamp(34px, 4.4vw, 44px); line-height: 1; }
.kfm-sec__more { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); font-size: 15px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .22em; white-space: nowrap; }
.kfm-sec__more:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- News: the first one large, posters shown whole ---------- */
.kfm-news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
.kfm-news__link { display: block; text-decoration: none; }
.kfm-news__poster { display: block; height: 400px; border-radius: 6px; overflow: hidden; background: var(--deep); border: 1px solid var(--line); }
.kfm-news__poster img { width: 100%; height: 100%; object-fit: contain; }
.kfm-news__title { display: block; margin-top: 14px; font-size: 19px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.kfm-news__item:first-child .kfm-news__title { font-size: 24px; }
.kfm-news__link:hover .kfm-news__title { text-decoration: underline; text-decoration-color: var(--mute); text-underline-offset: .2em; }
.kfm-news__link .kfm-meta { display: block; margin-top: 4px; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 899px) {
	.kfm-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 24px; }
	.kfm-hero__who { font-size: 18px; }
	.kfm-tape { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.kfm-tape__track { width: 1440px; }
	.kfm-sec { margin-top: 44px; }
	.kfm-news { grid-template-columns: 1fr 1fr; gap: 20px; }
	.kfm-news__item:first-child { grid-column: 1 / -1; }
	.kfm-news__poster { height: 340px; }
}
@media (max-width: 599px) {
	.kfm-hero__title { font-size: clamp(46px, 15vw, 64px); }
	.kfm-hero__actions { margin-top: 22px; }
	.kfm-hero__actions .kfm-btn { flex: 1 1 100%; }
	.kfm-sec__head { margin-bottom: 14px; }
	.kfm-news { grid-template-columns: 1fr; }
	.kfm-news__poster { height: auto; aspect-ratio: 4 / 5; max-height: 460px; }
}
