/*
 * Header: top bar (date + socials), logo row (radio stations), main nav row («Περισσότερα»
 * dropdown + search), phone header (logo, «Ακούστε» pill, burger), phone menu panel, sticky
 * scroll-up bar, back-to-top button. Behaviour in js/main.js, markup in header.php +
 * parts/header/*, menu data in includes/nav.php. Burger header below 1200px.
 * Details and decisions: docs/work/menu.md.
 */

/* Header ------------------------------------------------------------------------------- */
html.menu-open,
body.menu-open {
	overflow: hidden;
}

.header {
	color: var(--ink);
	padding: 1.6rem 0 0;
}

.header:focus {
	outline: none; /* focus target of the back-to-top button only (tabindex -1) */
}

.headerGrid {
	display: grid;
	grid-template-areas:
		"logo secondaryHeader burger"
		"primaryHeader primaryHeader primaryHeader";
	grid-template-columns: 153px 1fr auto;
	grid-template-rows: auto auto;
}

.headerGrid__logo      { grid-area: logo;            align-self: center; }
.headerGrid__secondary { grid-area: secondaryHeader; align-self: center; }
.headerGrid__primary   { grid-area: primaryHeader;   align-self: start; }
.right-mobile-actions  { grid-area: burger;          display: none; }

.headerGrid__logo .logo img {
	width: 120px;
	height: auto;
	display: block;
}

/* Shared focus ring for the header controls (light background) */
.header a:focus-visible,
.header button:focus-visible,
.stickyBar a:focus-visible,
.stickyBar button:focus-visible,
.toTop:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

/* Secondary header (radio stations) */
.secondaryHeader {
	background-color: var(--paper);
	color: var(--ink);
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 1rem;
}

.headerContent-grid {
	border-bottom: 1px solid var(--line);
}

/* Main nav row (desktop) ---------------------------------------------------------------- */
.primaryHeader {
	border-top: 3px solid;
	margin-top: 1rem;
	padding-top: 2px;
	position: relative;
}

.primaryHeader::before {
	content: "";
	display: block;
	height: 1px;
	background-color: var(--ink);
}

.mainMenu__bar {
	display: flex;
	align-items: stretch;
}

/* ul.navigation, not .navigation: wp-paginate wraps its list in <div class="navigation">, which
   used to become a flex row too (see pagination.css). The items share the row evenly. */
ul.navigation {
	display: flex;
	flex: 1 1 auto;
	justify-content: space-between;
	align-items: stretch;
	min-width: 0;
	margin: 0 0 0 -0.6rem; /* first label flush with the logo */
	padding: 0;
	list-style: none;
}

.navigation > li {
	display: flex;
}

/* Menu labels: headings font. Only the 900 face of Roboto Condensed is self-hosted, so 700
   resolves to it; a 700 face added to fonts.css would be picked up without changing this. */
.navigation > li > a,
.moreMenu-toggle,
.stickyBar__nav a {
	font-family: var(--fontFamilyHeadings);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
	color: var(--ink);
	text-decoration: none;
}

.navigation > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 0.6rem;
	font-size: 1.5rem;
}

.navigation > li > a:hover,
.moreMenu-toggle:hover .moreMenu-toggle__label,
.stickyBar__nav a:hover {
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

/* Current section: 3px orange bar under the label (like the active «Ροή Ειδήσεων» tab). */
.navigation > li.is-current-section > a::after,
.stickyBar__nav li.is-current-section > a::after {
	content: "";
	position: absolute;
	left: 0.6rem;
	right: 0.6rem;
	bottom: 0;
	height: 3px;
	background: var(--accent);
}

.navigation .sub-menu {
	display: none;
}

.mainMenu__tools {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: 1.6rem;
	padding-left: 1.2rem;
	border-left: 1px solid var(--line);
}

.moreMenu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 0 0.8rem;
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 1.5rem;
}

.moreMenu-toggle .chevron {
	transition: transform 0.2s;
}

.moreMenu-toggle[aria-expanded="true"] .chevron {
	transform: rotate(180deg);
}

.navSearch-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.navSearch-toggle:hover,
.navSearch-toggle[aria-expanded="true"] {
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line);
}

/* Inline search panel under the nav row (desktop) */
.navSearch {
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 9999;
	width: min(480px, 100%);
	padding: 1.2rem;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.navSearch[hidden] {
	display: none;
}

/* Search form (desktop panel + phone menu) */
.headerSearch {
	display: flex;
	gap: 0.8rem;
}

.headerSearch__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 1.2rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-size: 1.6rem; /* ≥16px: no zoom-on-focus on iOS */
}

.headerSearch__input:focus {
	outline: 2px solid var(--brand);
	outline-offset: 0;
	border-color: var(--brand);
}

.headerSearch__submit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 1.4rem;
	border: 0;
	border-radius: 2px;
	background: var(--accent-text);
	color: var(--surface);
	font-family: var(--fontFamilyHeadings);
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.headerSearch__submit:hover .headerSearch__label {
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

/* "More categories" dropdown (desktop) ------------------------------------------------------ */
.moreMenu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 9999;
	min-width: 260px;
	max-width: 320px;
	padding: 0.8rem;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	max-height: 70vh;
	overflow-y: auto;
}

.moreMenu.open {
	display: block;
}

.moreMenu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
}

.moreMenu__list li {
	margin: 0;
	border-bottom: 1px solid var(--line); /* on the row, so it also runs under the accordion arrow */
}

.moreMenu__list li:last-child {
	border-bottom: 0;
}

.moreMenu__list li a {
	display: block;
	padding: 0.9rem 1rem;
	color: var(--ink);
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
}

.moreMenu__list li a:hover {
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

/* Submenu accordion in the dropdown (buttons added by js/main.js) */
.moreMenu .submenu-toggle {
	border: 0;
	background: transparent;
	cursor: pointer;
	margin: 0;
	min-width: 32px;
	min-height: 32px;
	padding: 6px 8px;
	line-height: 0;
	color: var(--ink);
}

.moreMenu .submenu-toggle::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.25s;
}

.moreMenu .menu-item-has-children.is-open > .submenu-toggle::before {
	transform: rotate(-135deg);
}

.moreMenu__list .menu-item-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.moreMenu__list .menu-item-has-children > a {
	flex: 1 1 auto;
}

.moreMenu__list .menu-item-has-children > .submenu-toggle {
	flex: 0 0 auto;
}

.moreMenu .sub-menu {
	display: none;
	flex: 0 0 100%;
	width: 100%;
	list-style: none;
	margin: 0 0 0.8rem;
	padding: 0.4rem 0 0.4rem 1rem;
	background: var(--paper);
	border-left: 3px solid var(--accent); /* reads as "inside the section above" */
}

/* Sub-items: one block, no row dividers (the section row's own line closes the group). */
.moreMenu .sub-menu li {
	border-bottom: 0;
}

.moreMenu .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.moreMenu .sub-menu li a {
	display: block;
	padding: 0.6rem 0.8rem;
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--ink);
	text-decoration: none;
}

/* Radio station buttons ---------------------------------------------------------------- */
.radioButton a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px 6px 10px;
	border: 1.5px solid var(--line);
	border-radius: 50px;
	background: var(--surface);
	color: var(--ink);
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.radioButton a:hover {
	text-decoration: none;
	border-color: var(--accent);
	color: var(--accent-text);
	background: var(--surface);
}

/* The site's own station: filled (darker orange, white label and icon); partner stations stay outlined. */
.radioButton.radioButton--own a,
.radioButton.radioButton--own a:hover {
	border-color: var(--accent-text);
	background: var(--accent-text);
	color: var(--surface);
}

.radioButton.radioButton--own a:hover {
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

.radioButton.radioButton--own a img {
	filter: brightness(0) invert(1);
}

.radioButton a img {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* «Ακούστε ΣΠΟΡ FM 104,2» (parts/header/listen.php): darker-orange fill, white label */
.listenPill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 4px;
	background: var(--accent-text);
	color: var(--surface);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.listenPill:hover {
	color: var(--surface);
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

.listenPill--large {
	justify-content: center;
	width: 100%;
	min-height: 48px;
	font-size: 1.6rem;
}

.live-dot {
	width: 7px;
	height: 7px;
	background: var(--surface);
	border-radius: 50%;
	flex-shrink: 0;
	animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.3; }
}

/* Burger buttons (phone header + sticky bar) */
.burgerBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 -10px 0 0; /* icon flush with the content edge, tap area kept */
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

/* Top bar ------------------------------------------------------------------------------ */
.topbar {
	background: var(--ink);
	font-size: 13px;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 34px;
}

.topbar__date {
	color: #B8B8B8; /* quiet: the LIVE strip is the bar's focus */
	white-space: nowrap;
	margin-left: auto;
	margin-right: 2.4rem;
}

/* "On air now" strip (parts/header/on-air.php): one link to the live player. */
.topbar__onair {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 0;
	min-height: 24px;
	color: var(--surface);
	text-decoration: none;
	white-space: nowrap;
}

/* «● LIVE» badge: broadcast red, the dot pulses (a ring grows and fades). */
.topbar__live {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1px 7px 1px 6px;
	border-radius: 3px;
	background: #DC2626; /* broadcast "on air" red, only here; white on it = 4.8:1 */
	color: var(--surface);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.topbar__dot {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--surface);
}

.topbar__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--surface);
	animation: athleticLivePulse 1.6s ease-out infinite;
}

@keyframes athleticLivePulse {
	0% { transform: scale(1); opacity: 0.8; }
	100% { transform: scale(2.8); opacity: 0; }
}

/* Equaliser bars in the «Ακούστε» button: "audio playing now". */
.eq {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	height: 10px;
	margin-right: 0.5rem;
}

.eq i {
	width: 2px;
	height: 100%;
	background: currentColor;
	transform-origin: bottom;
	animation: athleticEq 0.9s ease-in-out infinite;
}

.eq i:nth-child(2) { animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-delay: -0.6s; }

@keyframes athleticEq {
	0%, 100% { transform: scaleY(0.3); }
	50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
	.topbar__dot::after,
	.eq i { animation: none; }
	.eq i:nth-child(1) { transform: scaleY(0.5); }
	.eq i:nth-child(3) { transform: scaleY(0.7); }
}

.topbar__now {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	min-width: 0;
}

.topbar__now[hidden] {
	display: none;
}

.topbar__label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 1.2rem;
	color: var(--accent); /* orange on the dark bar (5.8:1) */
}

.topbar__show {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
}

.topbar__time {
	color: #B8B8B8;
}

/* Fallback text only while no show is on air. */
.topbar__now:not([hidden]) ~ .topbar__fallback {
	display: none;
}

.topbar__fallback {
	font-weight: 700;
}

.topbar__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	transition: background-color 0.2s, color 0.2s;
	padding: 2px 10px;
	border-radius: 50px;
	background: var(--accent-text);
	color: var(--surface);
	font-weight: 700;
	font-size: 1.2rem;
}

/* Hover/focus: the «Ακούστε» button inverts (white with dark-orange text); the text stays still. */
.topbar__onair:hover .topbar__cta,
.topbar__onair:focus-visible .topbar__cta {
	background: var(--surface);
	color: var(--accent-text);
}

/* Social icons (top bar, phone menu, footer): inline monochrome SVGs in the text colour. */
.social {
	display: flex;
	align-items: center;
	column-gap: 2.4rem;
	margin-bottom: 1.6rem;
	justify-content: right;
}

.social a {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--surface);
	opacity: 0.75;
	transition: opacity 0.2s;
}

.social a:hover,
.social a:focus-visible {
	opacity: 1;
}

.social svg {
	display: block;
}

.topbar__social {
	margin-bottom: 0;
	column-gap: 1.2rem;
}

.topbar__social a {
	min-width: 24px;
	min-height: 24px;
}

.topbar a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Radio stations row (parts/header/topbar.php) */
span.radioButton {
	display: inline-block;
	margin: 0 8px 8px;
	padding: 0 8px;
	border: none !important;
	background: none;
	font-weight: bold;
	text-transform: uppercase;
}

span.radioButton img {
	height: 30px;
	vertical-align: middle;
	margin: 0 5px 0 0;
}

.above_top_bar,
.above_top_bar a {
	font-size: 1.4rem;
	color: var(--ink);
}

.top_contact_info.onlyLarge span.radioButton:last-child {
	padding-right: 0;
	margin-right: 0;
}

.top_contact_info {
	position: relative;
}

/* Sticky scroll-up bar ------------------------------------------------------------------ */
.stickyBar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9990; /* under the dropdowns (9999) and the WP admin bar (99999) */
	height: 52px;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transform: translateY(-110%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.admin-bar .stickyBar {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.stickyBar.is-visible {
	transform: none;
	visibility: visible;
	transition: transform 0.25s ease, visibility 0s;
}

.stickyBar__inner {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	height: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 1rem;
}

.stickyBar__logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.stickyBar__logo img {
	display: block;
	width: auto;
	height: 36px;
}

.stickyBar__nav {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
}

.stickyBar__nav ul {
	display: flex;
	justify-content: space-between;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stickyBar__nav li {
	display: flex;
}

.stickyBar__nav a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 0.6rem;
	font-size: 1.4rem;
}

.stickyBar__listen {
	flex: 0 0 auto;
}

.stickyBar__burger {
	display: none;
}

/* Keep the sticky sidebar ad below the bar while the bar is shown (sidebar.css sets top). */
@media screen and (min-width: 1024px) {
	body.stickybar-on .pageGrid__sidebar > .widget-container:last-child:has(> [id^="div-gpt-ad"]) {
		top: calc(52px + 1.6rem);
	}

	body.admin-bar.stickybar-on .pageGrid__sidebar > .widget-container:last-child:has(> [id^="div-gpt-ad"]) {
		top: calc(52px + 4.8rem);
	}
}

/* Back-to-top button (footer.php) ------------------------------------------------------- */
.toTop {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 9980;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--surface);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
}

.toTop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.2s, transform 0.2s, visibility 0s;
}

.toTop:hover {
	background: var(--accent-text);
}

.toTop:focus-visible {
	outline-color: var(--brand);
	outline-offset: 3px;
}

/* Phone menu panel (< 1200px) ------------------------------------------------------------ */
.mobileMenu {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above the WP admin bar (99999): the close button is never under it */
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	padding: 0 1.6rem calc(2.4rem + env(safe-area-inset-bottom, 0px));
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--ink);
	color: var(--surface);
}

.mobileMenu[hidden] {
	display: none;
}

.mobileMenu a:focus-visible,
.mobileMenu button:focus-visible,
.mobileMenu input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.mobileMenu__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	margin: 0 -1.6rem;
	padding: 0 0.6rem 0 1.6rem;
	background: var(--ink);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobileMenu__logo img {
	display: block;
	width: auto;
	height: 40px;
}

.mobileMenu__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--surface);
	cursor: pointer;
}

.mobileMenu__close:hover {
	background: rgba(255, 255, 255, 0.12);
}

.headerSearch--dark .headerSearch__input {
	border-color: transparent;
}

.headerSearch--dark .headerSearch__input:focus {
	outline: 2px solid var(--accent);
	border-color: transparent;
}

.headerSearch--dark .headerSearch__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.mnav__list,
.mnav__sub {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mnav__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mnav__row {
	display: flex;
	align-items: stretch;
}

.mnav__link,
.mnav__toggle--label {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0;
	color: var(--surface);
	font-family: var(--fontFamilyHeadings);
	font-size: 1.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.mnav__link:hover,
.mnav__toggle--label:hover span {
	color: var(--surface);
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

/* Current section / page: orange bar on the left edge + orange label (on --ink: 5.8:1) */
.mnav__item.is-current > .mnav__row > .mnav__link {
	color: var(--accent);
	box-shadow: inset 3px 0 0 var(--accent);
	padding-left: 1rem;
}

.mnav__toggle {
	flex: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--surface);
	cursor: pointer;
	text-align: left;
}

.mnav__toggle--label {
	flex: 1 1 auto;
	justify-content: space-between;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.mnav__toggle::after {
	content: "";
	width: 9px;
	height: 9px;
	margin: 0 14px 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.mnav__toggle--label::after {
	margin-right: 19px; /* chevron lines up with the 48px toggles of linked rows */
}

.mnav__toggle[aria-expanded="true"]::after {
	transform: rotate(-135deg);
	margin-bottom: -4px;
}

.mnav__sub {
	padding: 0 0 0.8rem 1.6rem;
}

.mnav__sub .mnav__item {
	border-bottom: 0;
}

.mnav__sub .mnav__link,
.mnav__sub .mnav__toggle--label {
	min-height: 44px;
	font-family: var(--fontFamily);
	font-size: 1.6rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.mobileMenu__foot {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: 0.8rem;
}

.mobileMenu__social {
	justify-content: center;
	margin: 0;
	column-gap: 0.8rem;
}

.mobileMenu__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

/* Burger header (< 1200px): logo left, «Ακούστε» pill + burger right ---------------------- */
@media screen and (max-width: 1199px) {
	.onlyLarge,
	.headerGrid__secondary,
	.headerGrid__primary {
		display: none !important;
	}

	.header {
		padding: 0;
	}

	.headerGrid {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 60px;
		padding: 0 4px;
	}

	.right-mobile-actions {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.above_top_bar {
		padding: 8px 0;
	}

	/* Sticky bar: logo + pill + burger only */
	.stickyBar__nav {
		visibility: hidden; /* keeps the flex spacer, hides the links */
	}

	.stickyBar__nav ul {
		display: none;
	}

	.stickyBar__burger {
		display: inline-flex;
	}

	.stickyBar__inner {
		gap: 8px;
		padding: 0 14px;
	}
}

/* Desktop only: the phone panel never shows, even if it was left open while resizing */
@media screen and (min-width: 1200px) {
	.mobileMenu {
		display: none !important;
	}
}

@media screen and (max-width: 1023px) {
	.social {
		justify-content: center; /* footer socials */
	}

	.top_contact_info span {
		margin: 8px;
	}

	.top_contact_info {
		text-align: center;
	}
}

/* Tablets: drop the date and the show's hours so the show name keeps its room. */
@media screen and (max-width: 1023px) {
	.topbar__date,
	.topbar__time {
		display: none;
	}

	.topbar .topmenu {
		margin-left: auto;
	}
}

/* Phones: the bar keeps only the on-air strip (date and social icons: the menu panel). */
@media screen and (max-width: 767px) {
	.topbar__date,
	.topbar .topmenu,
	.topbar__time {
		display: none;
	}

	.topbar__radio {
		width: 100%;
	}

	.topbar__onair {
		flex: 1 1 auto;
		min-width: 0;
	}

	.topbar__cta {
		margin-left: auto;
	}

	/* The LIVE badge says "on air": give the show name the room. */
	.topbar__label {
		display: none;
	}

	/* The on-air strip above already has «Ακούστε»: no second pill next to the burger. */
	.listenPill--header {
		display: none;
	}
}

/* Phone admin bar (≤ 600px) is not fixed: it scrolls away, so the sticky bar sits at the top. */
@media screen and (max-width: 600px) {
	.admin-bar .stickyBar {
		top: 0;
	}

	.radioWrapper {
		gap: 5px;
	}
}

@media screen and (max-width: 480px) {
	span.radioButton {
		margin-left: 0;
		padding-left: 0;
		margin-right: 0;
		padding-right: 0;
	}

	.top_contact_info {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.radioWrapper {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.radioButton {
		flex: 1 1 45%;
		background: var(--surface);
		padding: 5px 10px;
		border-radius: 5px;
		text-align: left;
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.radioButton img {
		width: 20px;
		height: 20px;
	}

	.headerGrid__logo .logo img {
		width: 85px;
	}

	.listenPill--header {
		padding: 0 10px;
		font-size: 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.live-dot {
		animation: none;
	}

	.stickyBar,
	.stickyBar.is-visible,
	.toTop,
	.toTop.is-visible,
	.moreMenu-toggle .chevron,
	.mnav__toggle::after {
		transition: none;
	}
}

@media print {
	.stickyBar,
	.toTop,
	.mobileMenu {
		display: none !important;
	}
}

/* Phone menu: «Ακούστε επίσης» partner stations under the listen button (parts/radioBanners.php). */
.radioAlso {
	display: grid;
	gap: 0.8rem;
	justify-items: center;
	margin: 0.4rem 0 1.6rem;
}

.radioAlso__label {
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #B8B8B8;
}

.radioAlso__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.radioAlso__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 40px;
	padding: 0 1.4rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50px;
	color: var(--surface);
	font-size: 1.4rem;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}

.radioAlso__list a svg {
	color: var(--accent);
}

.radioAlso__list a:hover,
.radioAlso__list a:focus-visible {
	border-color: var(--surface);
}

/* «Ακούστε» split button: the strip link + «▾» opening all stations (parts/header/on-air.php). */
.topbar__radio {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
}

.topbar__radio .topbar__cta {
	border-radius: 50px 0 0 50px; /* joined to the «▾» half */
}

.topbar__more {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 26px;
	height: 20px;
	margin-left: 1px;
	padding: 0;
	border: 0;
	border-radius: 0 50px 50px 0;
	background: var(--accent-text);
	color: var(--surface);
	cursor: pointer;
}

.topbar__more:hover,
.topbar__more:focus-visible,
.topbar__more[aria-expanded="true"] {
	background: var(--surface);
	color: var(--accent-text);
}

.topbar__more[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.stationsMenu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 1001;
	min-width: 200px;
	margin: 0;
	padding: 0.6rem;
	list-style: none;
	background: var(--surface);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.stationsMenu[hidden] {
	display: none;
}

.stationsMenu__item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-height: 44px;
	padding: 0 1.2rem;
	border-radius: 6px;
	color: var(--ink);
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.stationsMenu__item svg {
	color: var(--accent-text);
}

.stationsMenu__item:hover,
.stationsMenu__item:focus-visible {
	background: var(--paper);
	text-decoration: none;
}

.stationsMenu__item--own {
	background: var(--accent-text);
	color: var(--surface);
}

.stationsMenu__item--own svg {
	color: var(--surface);
}

.stationsMenu__item--own:hover,
.stationsMenu__item--own:focus-visible {
	background: var(--ink);
	color: var(--surface);
}
