/* ==========================================================================
   LepantoModern — News template for Elxis CMS
   Design language: serious news (Reuters/Kathimerini-inspired)
   Brand: Lepanto blue #014A97
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (CSS variables)
   -------------------------------------------------------------------------- */
:root {
	/* Brand palette */
	--lm-brand: #014A97;
	--lm-brand-700: #013A78;
	--lm-brand-600: #014A97;
	--lm-brand-500: #1F66B8;
	--lm-brand-100: #E6EEF8;
	--lm-brand-50:  #F4F8FD;

	/* Accent (used sparingly — breaking news, CTA) */
	--lm-accent: #C8102E;       /* Newsroom red */
	--lm-accent-700: #9A0C23;

	/* Neutrals */
	--lm-ink:        #0E1116;   /* Headlines, primary text */
	--lm-ink-2:      #2A2F36;   /* Body text */
	--lm-ink-3:      #5B6470;   /* Meta, captions */
	--lm-ink-4:      #8A93A0;   /* Subtle */
	--lm-line:       #E5E8EC;   /* Hairlines */
	--lm-line-2:     #D2D7DD;
	--lm-bg:         #FFFFFF;
	--lm-bg-alt:     #F7F8FA;
	--lm-bg-dim:     #EFF1F4;

	/* Typography */
	--lm-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--lm-font-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', Times, serif;

	--lm-fs-xs:   0.75rem;   /* 12 */
	--lm-fs-sm:   0.875rem;  /* 14 */
	--lm-fs-base: 1rem;      /* 16 */
	--lm-fs-md:   1.125rem;  /* 18 */
	--lm-fs-lg:   1.375rem;  /* 22 */
	--lm-fs-xl:   1.75rem;   /* 28 */
	--lm-fs-2xl:  2.25rem;   /* 36 */
	--lm-fs-3xl:  2.875rem;  /* 46 */
	--lm-fs-4xl:  3.5rem;    /* 56 */

	/* Spacing scale (8pt grid) */
	--lm-s-1:  4px;
	--lm-s-2:  8px;
	--lm-s-3: 12px;
	--lm-s-4: 16px;
	--lm-s-5: 24px;
	--lm-s-6: 32px;
	--lm-s-7: 48px;
	--lm-s-8: 64px;
	--lm-s-9: 96px;

	/* Layout */
	--lm-max:        1240px;
	--lm-max-narrow: 760px;
	--lm-gap:        var(--lm-s-6);
	--lm-radius:     6px;
	--lm-radius-lg:  10px;

	/* Shadows */
	--lm-shadow-sm: 0 1px 2px rgba(14,17,22,.06);
	--lm-shadow:    0 2px 8px rgba(14,17,22,.08);
	--lm-shadow-lg: 0 12px 32px rgba(14,17,22,.12);

	/* Transitions */
	--lm-t: 180ms ease;

	/* Header height */
	--lm-header-h: 132px;
}

/* Dark theme */
.lm-theme-dark {
	--lm-ink:    #F2F4F7;
	--lm-ink-2:  #DDE2E8;
	--lm-ink-3:  #9AA3B0;
	--lm-ink-4:  #6B7380;
	--lm-line:   #2A2F36;
	--lm-line-2: #3A4049;
	--lm-bg:     #0E1116;
	--lm-bg-alt: #15191F;
	--lm-bg-dim: #1C2026;
	--lm-brand-100: #1A2B47;
	--lm-brand-50:  #15202E;
	--lm-shadow:    0 2px 8px rgba(0,0,0,.4);
	--lm-shadow-lg: 0 12px 32px rgba(0,0,0,.5);
}

@media (prefers-color-scheme: dark) {
	.lm-theme-auto {
		--lm-ink:    #F2F4F7;
		--lm-ink-2:  #DDE2E8;
		--lm-ink-3:  #9AA3B0;
		--lm-ink-4:  #6B7380;
		--lm-line:   #2A2F36;
		--lm-line-2: #3A4049;
		--lm-bg:     #0E1116;
		--lm-bg-alt: #15191F;
		--lm-bg-dim: #1C2026;
		--lm-brand-100: #1A2B47;
		--lm-brand-50:  #15202E;
	}
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body, .lm-body {
	margin: 0;
	font-family: var(--lm-font-sans);
	font-size: var(--lm-fs-base);
	line-height: 1.55;
	color: var(--lm-ink-2);
	background: var(--lm-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, picture, video, iframe, svg { max-width: 100%; height: auto; display: block; }
img { font-style: italic; background-color: var(--lm-bg-dim); }

a {
	color: var(--lm-brand);
	text-decoration: none;
	transition: color var(--lm-t);
}
a:hover { color: var(--lm-brand-700); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--lm-brand); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lm-font-serif);
	color: var(--lm-ink);
	margin: 0 0 var(--lm-s-3);
	line-height: 1.18;
	letter-spacing: -0.01em;
	font-weight: 700;
}
h1 { font-size: clamp(1.875rem, 1.4rem + 1.5vw, 2.875rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
h4 { font-size: var(--lm-fs-md); font-family: var(--lm-font-sans); font-weight: 600; }
h5, h6 { font-family: var(--lm-font-sans); font-weight: 600; font-size: var(--lm-fs-base); }

p { margin: 0 0 var(--lm-s-4); }

hr {
	border: 0;
	border-top: 1px solid var(--lm-line);
	margin: var(--lm-s-6) 0;
}

button { font: inherit; cursor: pointer; }

::selection { background: var(--lm-brand); color: #fff; }

/* Skip link */
.lm-skiplink {
	position: absolute;
	left: -9999px;
	top: 8px;
	padding: 8px 16px;
	background: var(--lm-ink);
	color: #fff !important;
	z-index: 1000;
	border-radius: var(--lm-radius);
}
.lm-skiplink:focus { left: 8px; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.lm-shell { min-height: 100vh; display: flex; flex-direction: column; }

.lm-container {
	max-width: var(--lm-max);
	margin: 0 auto;
	padding: 0 var(--lm-s-5);
}
.lm-container-narrow { max-width: var(--lm-max-narrow); }

.lm-main {
	flex: 1 0 auto;
	padding: var(--lm-s-7) 0 var(--lm-s-8);
}

.lm-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--lm-s-7);
	align-items: start;
}
.lm-content { min-width: 0; }
.lm-content-full { max-width: 100%; }

.lm-sidebar {
	position: sticky;
	top: calc(var(--lm-header-h) + var(--lm-s-4));
	display: flex;
	flex-direction: column;
	gap: var(--lm-s-5);
}

.lm-mods { margin-top: var(--lm-s-7); }
.lm-mods-top { margin-top: 0; margin-bottom: var(--lm-s-6); }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.lm-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--lm-bg);
	border-bottom: 1px solid var(--lm-line);
	transition: box-shadow var(--lm-t);
}
.lm-site-header.is-scrolled { box-shadow: var(--lm-shadow); }

.lm-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--lm-s-5);
	padding-top: var(--lm-s-4);
	padding-bottom: var(--lm-s-4);
}

.lm-logo {
	display: inline-flex;
	align-items: center;
	color: var(--lm-ink);
	text-decoration: none;
}
.lm-logo:hover { text-decoration: none; }
.lm-logo img { max-height: 88px; max-width: 320px; width: auto; height: auto; background: transparent; object-fit: contain; }
.lm-logo-text {
	font-family: var(--lm-font-serif);
	font-weight: 700;
	font-size: var(--lm-fs-xl);
	color: var(--lm-brand);
	letter-spacing: -0.01em;
}

.lm-header-meta {
	display: flex;
	align-items: center;
	gap: var(--lm-s-4);
	flex-wrap: wrap;
	justify-content: flex-end;
}

/* Top secondary menu (small links) */
.lm-tmenu { font-size: var(--lm-fs-sm); }
.lm-tmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--lm-s-4);
}
.lm-tmenu a {
	color: var(--lm-ink-3);
	text-decoration: none;
}
.lm-tmenu a:hover { color: var(--lm-brand); }

/* Social icons */
.lm-socials { display: flex; gap: var(--lm-s-2); }
.lm-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--lm-ink-3);
	background: var(--lm-bg-alt);
	transition: all var(--lm-t);
}
.lm-social:hover {
	background: var(--lm-brand);
	color: #fff !important;
	transform: translateY(-1px);
}

/* Top action buttons */
.lm-top-actions { display: flex; gap: var(--lm-s-1); align-items: center; }
.lm-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: var(--lm-radius);
	background: transparent;
	color: var(--lm-ink-2);
	transition: background var(--lm-t), color var(--lm-t);
}
.lm-action:hover { background: var(--lm-bg-alt); color: var(--lm-brand); }
.lm-action.is-active { background: var(--lm-brand); color: #fff; }
.lm-action-menu { display: none; }

/* Header dropdowns (search, language, login) */
.lm-header-dropdowns { position: relative; }
.lm-dropdown {
	position: absolute;
	right: var(--lm-s-5);
	top: var(--lm-s-2);
	min-width: 280px;
	background: var(--lm-bg);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	box-shadow: var(--lm-shadow-lg);
	padding: var(--lm-s-4);
	z-index: 50;
}
.lm-dropdown[hidden] { display: none; }
.lm-dropdown input[type="text"],
.lm-dropdown input[type="search"],
.lm-dropdown input[type="password"],
.lm-dropdown input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--lm-line-2);
	border-radius: var(--lm-radius);
	background: var(--lm-bg);
	color: var(--lm-ink);
	font: inherit;
}
.lm-dropdown input:focus { outline: 2px solid var(--lm-brand); outline-offset: 1px; }

/* --------------------------------------------------------------------------
   5. Main navigation
   -------------------------------------------------------------------------- */
.lm-mainnav {
	background: var(--lm-bg);
	border-top: 1px solid var(--lm-line);
}
.lm-mainnav .elx_menu,
.lm-mainnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}
.lm-mainnav li { position: relative; }
.lm-mainnav a {
	display: block;
	padding: var(--lm-s-3) var(--lm-s-4);
	font-family: var(--lm-font-sans);
	font-weight: 600;
	font-size: var(--lm-fs-sm);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--lm-ink);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	transition: color var(--lm-t), border-color var(--lm-t);
}
.lm-mainnav a:hover,
.lm-mainnav .active > a,
.lm-mainnav .currentmenu > a {
	color: var(--lm-brand);
	border-bottom-color: var(--lm-brand);
	text-decoration: none;
}

/* Submenus */
.lm-mainnav li ul {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 220px;
	background: var(--lm-bg);
	border: 1px solid var(--lm-line);
	box-shadow: var(--lm-shadow-lg);
	z-index: 60;
	flex-direction: column;
	padding: var(--lm-s-2) 0;
}
.lm-mainnav li:hover > ul,
.lm-mainnav li:focus-within > ul { display: flex; }
.lm-mainnav li ul a {
	padding: var(--lm-s-2) var(--lm-s-4);
	border-bottom: 0;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}
.lm-mainnav li ul a:hover { background: var(--lm-bg-alt); }

/* --------------------------------------------------------------------------
   6. Pathway / breadcrumbs
   -------------------------------------------------------------------------- */
.lm-pathway {
	background: var(--lm-bg-alt);
	border-bottom: 1px solid var(--lm-line);
	font-size: var(--lm-fs-sm);
	color: var(--lm-ink-3);
}
.lm-pathway > .lm-container { padding-top: var(--lm-s-3); padding-bottom: var(--lm-s-3); }
.lm-pathway a { color: var(--lm-ink-3); }
.lm-pathway a:hover { color: var(--lm-brand); }
.lm-pathway .elx_pathway,
.lm-pathway ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--lm-s-2); align-items: center; }
.lm-pathway li::after { content: '›'; margin-left: var(--lm-s-2); color: var(--lm-ink-4); }
.lm-pathway li:last-child::after { content: ''; }

/* --------------------------------------------------------------------------
   7. Article components — homepage + listings
   These selectors target the REAL classes emitted by com_content (Elxis 5):
   .elx5_artbox (with .elx5_artboxvt / .elx5_artboxtl / .elx5_artboxml variants),
   .elx5_artbox_inner, .elx5_content_imagebox, .elx5_content_subtitle,
   plus legacy .elx_short_box / .elx_featured_box for older outputs.
   Journalist publishing workflow stays unchanged.
   -------------------------------------------------------------------------- */

/* Section heading (e.g. "Επικαιρότητα", "Τοπικά") */
.module_fp-block-title,
.lm-section {
	margin: 0 0 var(--lm-s-7);
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}
.module_fp-block-title > h3:first-child,
.module_fp-block-title > h2:first-child,
.lm-section-title {
	display: flex;
	align-items: center;
	gap: var(--lm-s-3);
	margin: 0 0 var(--lm-s-5) !important;
	padding: 0 0 var(--lm-s-3) !important;
	border-bottom: 2px solid var(--lm-ink) !important;
	font-family: var(--lm-font-sans) !important;
	font-size: var(--lm-fs-md) !important;
	font-weight: 700 !important;
	color: var(--lm-ink) !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: transparent !important;
}
.module_fp-block-title > h3:first-child::before,
.module_fp-block-title > h2:first-child::before,
.lm-section-title::before {
	content: '';
	width: 4px;
	height: 18px;
	background: var(--lm-brand);
	border-radius: 2px;
	flex-shrink: 0;
}

/* "Όλα τα Άρθρα σε..." link */
.fp-all-link {
	margin: var(--lm-s-4) 0 0;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	text-align: right;
	display: block !important;
}
.fp-all-link a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--lm-brand);
}
.fp-all-link a::after { content: '→'; transition: transform var(--lm-t); }
.fp-all-link a:hover::after { transform: translateX(3px); }

/* ===== Elxis 5 article boxes (.elx5_artbox) ===== */
.module_fp-block-title {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: var(--lm-s-5);
	column-gap: var(--lm-s-5);
}
.module_fp-block-title > h3:first-child,
.module_fp-block-title > h2:first-child {
	grid-column: 1 / -1;
}
.module_fp-block-title .fp-all-link {
	grid-column: 1 / -1;
	order: 99;
}

/* Featured (vertical) article — first item, takes 2 rows on left */
.elx5_artbox.elx5_artboxvt {
	grid-row: span 2;
	display: flex;
	flex-direction: column;
}
.elx5_artbox.elx5_artboxvt .elx5_content_imagebox {
	margin: 0 0 var(--lm-s-4);
}
.elx5_artbox.elx5_artboxvt .elx5_content_imagebox img {
	aspect-ratio: 16/10;
	width: 100%;
	object-fit: cover;
	border-radius: var(--lm-radius-lg);
}
.elx5_artbox.elx5_artboxvt h3,
.elx5_artbox.elx5_artboxvt h2 {
	font-family: var(--lm-font-serif) !important;
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem) !important;
	line-height: 1.2 !important;
	margin: 0 0 var(--lm-s-3) !important;
	font-weight: 700 !important;
	border: 0 !important;
}
.elx5_artbox.elx5_artboxvt .elx5_content_subtitle {
	font-family: var(--lm-font-sans) !important;
	font-size: var(--lm-fs-sm) !important;
	line-height: 1.55 !important;
	color: var(--lm-ink-3) !important;
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

/* Smaller cards (top-left layout = horizontal) */
.elx5_artbox.elx5_artboxtl,
.elx5_artbox.elx5_artboxml {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: var(--lm-s-3);
	align-items: start;
}
.elx5_artbox.elx5_artboxtl .elx5_content_imagebox img,
.elx5_artbox.elx5_artboxml .elx5_content_imagebox img {
	width: 110px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--lm-radius);
}
.elx5_artbox.elx5_artboxtl h3,
.elx5_artbox.elx5_artboxtl h2,
.elx5_artbox.elx5_artboxml h3,
.elx5_artbox.elx5_artboxml h2 {
	font-family: var(--lm-font-serif) !important;
	font-size: var(--lm-fs-base) !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	font-weight: 700 !important;
	border: 0 !important;
}

/* Article box base */
.elx5_artbox {
	background: transparent;
	margin: 0;
	padding: 0;
}
.elx5_artbox figure,
.elx5_content_imagebox {
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: var(--lm-radius);
	background: var(--lm-bg-dim);
}
.elx5_content_imagebox img {
	transition: transform 500ms ease;
	background: var(--lm-bg-dim);
}
.elx5_artbox a:hover .elx5_content_imagebox img,
.elx5_artbox a:hover img { transform: scale(1.04); }
.elx5_artbox_inner {
	background: transparent;
	padding: 0;
	margin: 0;
}
.elx5_artbox_inner h3 a,
.elx5_artbox_inner h2 a,
.elx5_artbox h3 a,
.elx5_artbox h2 a {
	color: var(--lm-ink) !important;
	text-decoration: none;
	display: block;
}
.elx5_artbox_inner h3 a:hover,
.elx5_artbox_inner h2 a:hover,
.elx5_artbox h3 a:hover,
.elx5_artbox h2 a:hover { color: var(--lm-brand) !important; }
.elx5_content_subtitle {
	font-family: var(--lm-font-sans);
	font-size: var(--lm-fs-sm);
	color: var(--lm-ink-3);
	margin: var(--lm-s-2) 0 0;
}

/* Legacy .elx_short_box (fallback for older Elxis) */
div.elx_short_box,
.elx_short_box {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: var(--lm-s-4);
	margin: 0 0 var(--lm-s-5);
	padding: 0 0 var(--lm-s-5);
	border-bottom: 1px solid var(--lm-line);
	background: transparent;
}
.elx_short_box:last-child { border-bottom: 0; }
.elx_short_box .elx_content_imagebox,
.elx_short_box img {
	border-radius: var(--lm-radius);
	overflow: hidden;
	background: var(--lm-bg-dim);
}
.elx_short_box img {
	width: 100%;
	height: auto;
	aspect-ratio: 16/10;
	object-fit: cover;
	transition: transform 400ms ease;
}
.elx_short_box a:hover img { transform: scale(1.04); }
.elx_short_box h3,
.elx_short_box h2 {
	font-family: var(--lm-font-serif) !important;
	font-size: var(--lm-fs-lg) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	margin: 0 0 var(--lm-s-2) !important;
	border: 0 !important;
}
.elx_short_box h3 a,
.elx_short_box h2 a {
	color: var(--lm-ink) !important;
	text-decoration: none;
}
.elx_short_box h3 a:hover,
.elx_short_box h2 a:hover { color: var(--lm-brand) !important; }
.elx_short_box .elx_content_short,
.elx_short_box p {
	color: var(--lm-ink-2);
	font-size: var(--lm-fs-sm) !important;
	line-height: 1.55;
	margin: 0;
}

/* Featured box */
div.elx_featured_box,
.elx_featured_box {
	margin: 0 0 var(--lm-s-6);
	padding: 0;
	background: transparent;
	border: 0;
}
.elx_featured_box .elx_content_imagebox img,
.elx_featured_box img {
	width: 100%;
	border-radius: var(--lm-radius-lg);
	aspect-ratio: 16/9;
	object-fit: cover;
	background: var(--lm-bg-dim);
}
.elx_featured_box h2,
.elx_featured_box h3 {
	font-family: var(--lm-font-serif) !important;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	margin: var(--lm-s-4) 0 var(--lm-s-3) !important;
	color: var(--lm-ink) !important;
	border: 0 !important;
}
.elx_featured_box h2 a,
.elx_featured_box h3 a { color: var(--lm-ink) !important; text-decoration: none; }
.elx_featured_box h2 a:hover,
.elx_featured_box h3 a:hover { color: var(--lm-brand) !important; }
.elx_featured_box .elx_content_short {
	font-size: var(--lm-fs-md);
	line-height: 1.6;
	color: var(--lm-ink-2);
}

/* Date / author meta */
div.elx_dateauthor,
.elx_dateauthor {
	display: inline-flex;
	align-items: center;
	gap: var(--lm-s-3);
	margin: 0 0 var(--lm-s-2);
	font-size: var(--lm-fs-xs);
	color: var(--lm-ink-3);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
}
.elx_dateauthor time {
	background: transparent !important;
	color: var(--lm-brand) !important;
	padding: 0 !important;
	font-weight: 700;
}
.elx_short_box .elx_dateauthor time { color: var(--lm-ink-3) !important; }

/* Multi-column layouts (e.g. 2 cols, 3 cols) */
.elx_2columns,
.elx_3columns,
.elx_4columns,
.elx_cols_wrapper {
	display: grid;
	gap: var(--lm-s-5);
	float: none !important;
	width: 100% !important;
}
.elx_2columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elx_3columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.elx_4columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.elx_2columns > div,
.elx_3columns > div,
.elx_4columns > div { width: 100% !important; float: none !important; }
.elx_cols_wrapper { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* In multi-column lists, switch short_box to vertical stack (image on top) */
.elx_2columns .elx_short_box,
.elx_3columns .elx_short_box,
.elx_4columns .elx_short_box,
.elx_cols_wrapper .elx_short_box {
	grid-template-columns: 1fr;
	border-bottom: 0;
	padding: 0;
}
.elx_2columns .elx_short_box img,
.elx_3columns .elx_short_box img,
.elx_cols_wrapper .elx_short_box img { aspect-ratio: 16/10; }

/* --------------------------------------------------------------------------
   8. Article page (.elx_article_page)
   -------------------------------------------------------------------------- */
.elx_article_page {
	max-width: 760px;
	margin: 0 auto;
}
.elx_article_page h1,
.elx_article_page h2.elx_content_title,
.elx_article_page .elx_content_title,
.elx_article_page .elx5_article_h1i,
.elx_article_page h1.elx5_article_h1i {
	font-family: var(--lm-font-serif) !important;
	font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.875rem) !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	color: var(--lm-ink) !important;
	margin: 0 0 var(--lm-s-4) !important;
	letter-spacing: -0.015em;
}

/* Article header (Elxis 5: holds icons + h1 + dateauthor) */
.elx5_article_header {
	margin: 0 0 var(--lm-s-5);
	background: transparent;
	border: 0;
	padding: 0;
}
.elx5_zero { background: transparent; padding: 0; }

/* Social/share icons inside the article header */
.elx5_content_icons {
	display: flex;
	gap: var(--lm-s-2);
	margin: 0 0 var(--lm-s-3);
	font-size: var(--lm-fs-xs);
}
.elx5_content_icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--lm-bg-alt);
	color: var(--lm-ink-3);
	transition: all var(--lm-t);
}
.elx5_content_icons a:hover {
	background: var(--lm-brand);
	color: #fff !important;
}

/* Featured image inside an article (Elxis 5) */
.elx5_content_imagebox {
	margin: 0 0 var(--lm-s-5);
	border-radius: var(--lm-radius-lg);
	overflow: hidden;
	background: var(--lm-bg-dim);
}
.elx_article_page .elx5_content_imagebox img,
figure.elx5_content_imagebox img {
	width: 100%;
	border-radius: var(--lm-radius-lg);
	background: var(--lm-bg-dim);
}

/* Subtitle (Elxis 5) */
p.elx5_content_subtitle,
.elx_article_page p.elx5_content_subtitle {
	font-family: var(--lm-font-serif) !important;
	font-weight: 400 !important;
	font-size: var(--lm-fs-md) !important;
	line-height: 1.5 !important;
	color: var(--lm-ink-3) !important;
	border: 0 !important;
	border-left: 3px solid var(--lm-brand) !important;
	padding: var(--lm-s-1) 0 var(--lm-s-1) var(--lm-s-4) !important;
	margin: 0 0 var(--lm-s-5) !important;
	background: transparent !important;
}

/* Two-col chain (prev / next) wrapper */
.elx5_2colwrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--lm-s-5);
	margin-top: var(--lm-s-6);
}
.elx5_2colbox {
	background: var(--lm-bg-alt);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	padding: var(--lm-s-3) var(--lm-s-4);
}
.elx5_2colbox:has(.elx_chain_next) { text-align: right; }
.elx5_2colbox:empty,
.elx5_2colbox > div:empty:only-child { display: none; }

/* Legacy elx_content_subtitle (older Elxis) */
p.elx_content_subtitle,
.elx_article_page p.elx_content_subtitle {
	font-family: var(--lm-font-serif) !important;
	font-weight: 400 !important;
	font-size: var(--lm-fs-md) !important;
	line-height: 1.5 !important;
	color: var(--lm-ink-3) !important;
	border: 0 !important;
	border-left: 3px solid var(--lm-brand) !important;
	padding: var(--lm-s-1) 0 var(--lm-s-1) var(--lm-s-4) !important;
	margin: 0 0 var(--lm-s-5) !important;
	background: transparent !important;
}

.elx_article_page .elx_content_imagebox {
	margin: 0 0 var(--lm-s-5);
}
.elx_article_page .elx_content_imagebox img {
	width: 100%;
	border-radius: var(--lm-radius-lg);
	background: var(--lm-bg-dim);
}

.elx_article_page p,
.elx_article_page li {
	font-family: var(--lm-font-serif) !important;
	font-size: 1.1rem !important;
	line-height: 1.7 !important;
	color: var(--lm-ink-2) !important;
	font-weight: 400 !important;
}
.elx_article_page p { margin: 0 0 var(--lm-s-5) !important; }
.elx_article_page ul,
.elx_article_page ol { padding-left: var(--lm-s-5); margin: 0 0 var(--lm-s-5); }
.elx_article_page blockquote {
	border-left: 4px solid var(--lm-brand);
	padding: var(--lm-s-2) 0 var(--lm-s-2) var(--lm-s-5);
	margin: var(--lm-s-5) 0;
	font-style: italic;
	color: var(--lm-ink);
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-md);
}

.elx_article_page img {
	border-radius: var(--lm-radius);
	margin: var(--lm-s-4) 0;
}

/* Tags / hits / chain (prev-next) boxes */
.elx_tags_box {
	background: var(--lm-bg-alt) !important;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	padding: var(--lm-s-3) var(--lm-s-4);
	margin: var(--lm-s-6) 0;
	font-size: var(--lm-fs-sm);
}
.elx_tags_box a {
	display: inline-block;
	margin: 2px 4px 2px 0;
	padding: 4px 10px;
	background: var(--lm-bg);
	border: 1px solid var(--lm-line-2);
	border-radius: 999px;
	color: var(--lm-ink-2);
	font-size: var(--lm-fs-xs);
	text-decoration: none;
}
.elx_tags_box a:hover { background: var(--lm-brand); color: #fff; border-color: var(--lm-brand); }

.elx_hits_box {
	font-size: var(--lm-fs-xs);
	color: var(--lm-ink-3);
	margin-top: var(--lm-s-5);
}

.elx_chain_previous a,
.elx_chain_next a {
	color: var(--lm-brand);
	font-weight: 600;
	text-decoration: none;
}
.elx_chain_previous a:hover,
.elx_chain_next a:hover { color: var(--lm-brand-700); text-decoration: underline; }
.elx_chain_title {
	font-size: var(--lm-fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--lm-ink-3);
	font-weight: 600;
	border: 0 !important;
	margin: 0 0 4px !important;
	font-style: normal !important;
}

/* --------------------------------------------------------------------------
   9. Sidebar modules
   -------------------------------------------------------------------------- */
.lm-sidebar .module,
.lm-sidebar > div {
	background: var(--lm-bg);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	padding: var(--lm-s-4);
}
.lm-sidebar h3,
.lm-sidebar h2 {
	font-family: var(--lm-font-sans);
	font-size: var(--lm-fs-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lm-ink);
	margin: 0 0 var(--lm-s-3);
	padding-bottom: var(--lm-s-2);
	border-bottom: 2px solid var(--lm-brand);
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.lm-site-footer {
	background: var(--lm-ink);
	color: #C8CCD1;
	padding: var(--lm-s-7) 0 var(--lm-s-5);
	margin-top: var(--lm-s-8);
}
.lm-site-footer h2,
.lm-site-footer h3,
.lm-site-footer h4 {
	color: #fff;
	font-family: var(--lm-font-sans);
	font-size: var(--lm-fs-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.lm-site-footer a { color: #C8CCD1; }
.lm-site-footer a:hover { color: #fff; }

.lm-footer-mods {
	display: grid;
	gap: var(--lm-s-5);
	margin-bottom: var(--lm-s-5);
}
.lm-footer-mods.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.lm-footer-menu ul {
	list-style: none;
	margin: 0;
	padding: var(--lm-s-4) 0;
	border-top: 1px solid #2A2F36;
	display: flex;
	flex-wrap: wrap;
	gap: var(--lm-s-5);
}
.lm-footer-menu a {
	font-size: var(--lm-fs-sm);
}

.lm-copyright {
	font-size: var(--lm-fs-xs);
	color: #8A93A0;
	padding-top: var(--lm-s-4);
	border-top: 1px solid #2A2F36;
	margin-top: var(--lm-s-4);
}

/* --------------------------------------------------------------------------
   11. Forms (contact, comments, login)
   -------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="search"],
input[type="password"], input[type="url"], input[type="tel"],
textarea, select {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	color: var(--lm-ink);
	background: var(--lm-bg);
	border: 1px solid var(--lm-line-2);
	border-radius: var(--lm-radius);
	transition: border-color var(--lm-t), box-shadow var(--lm-t);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
	border-color: var(--lm-brand);
	box-shadow: 0 0 0 3px var(--lm-brand-100);
	outline: none;
}

button, input[type="submit"], input[type="button"], .elx_btn, .button {
	display: inline-block;
	padding: 10px 20px;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: var(--lm-brand);
	border: 0;
	border-radius: var(--lm-radius);
	cursor: pointer;
	transition: background var(--lm-t), transform var(--lm-t);
}
button:hover, input[type="submit"]:hover, .elx_btn:hover, .button:hover {
	background: var(--lm-brand-700);
}
button:active { transform: translateY(1px); }
.lm-action, .lm-social { padding: 0; }

/* --------------------------------------------------------------------------
   12. Video / responsive embeds
   -------------------------------------------------------------------------- */
.lm-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	margin: var(--lm-s-5) 0;
	background: #000;
	border-radius: var(--lm-radius);
	overflow: hidden;
}
.lm-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------------------
   13. Utility / legacy compatibility
   -------------------------------------------------------------------------- */
.clear { clear: both; }
.htmlhide, a.htmlhide { display: none !important; }

/* Suppress legacy background patterns on body */
body.flex_white,
body.flex_lightgray,
body.flex_gray,
body.flex_dark,
body.flex_lightblue,
body.flex_blue,
body.flex_lightgreen,
body.flex_green,
body.flex_lightorange,
body.flex_lightyellow,
body.flex_darkred,
body.flex_graystripes,
body.flex_graphpaper,
body.flex_bluetexture,
body.flex_presence,
body.flex_yellowstripes,
body.flex_bluestripes,
body.flex_dirtypaper,
body.flex_orangered,
body.flex_glassyorange,
body.flex_mybg {
	background: var(--lm-bg) !important;
	background-image: none !important;
}

/* Suppress legacy Lepanto image overrides */
.nafpresfeturedimg, .nafpressortimg { width: 100% !important; height: auto !important; }

/* --------------------------------------------------------------------------
   12a. Elxis 5 forms (.elx5_form, .elx5_formrow, .elx5_label, etc.)
   Used by contact, search, comments, login, register, profile, password reset
   -------------------------------------------------------------------------- */
.elx5_form {
	background: var(--lm-bg);
	margin: 0 0 var(--lm-s-5);
}
.elx5_fieldset {
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius-lg);
	padding: var(--lm-s-5) var(--lm-s-5) var(--lm-s-3);
	margin: 0;
	background: var(--lm-bg);
}
.elx5_fieldset legend {
	padding: 0 var(--lm-s-3);
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-md);
	font-weight: 700;
	color: var(--lm-ink);
}
.elx5_formtext {
	font-size: var(--lm-fs-sm);
	color: var(--lm-ink-3);
	margin: 0 0 var(--lm-s-4);
	padding-bottom: var(--lm-s-3);
	border-bottom: 1px solid var(--lm-line);
}

/* Each row: label + input. Side-by-side on desktop, stacked on mobile. */
.elx5_formrow {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: var(--lm-s-4);
	align-items: start;
	margin-bottom: var(--lm-s-3);
}
.elx5_formrow:last-child { margin-bottom: 0; }
.elx5_label {
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	color: var(--lm-ink-2);
	padding-top: 10px;
	line-height: 1.4;
}
.elx5_labelside {
	min-width: 0;
}

/* Inputs */
.elx5_text,
.elx5_textarea,
.elx5_select {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	color: var(--lm-ink);
	background: var(--lm-bg);
	border: 1px solid var(--lm-line-2);
	border-radius: var(--lm-radius);
	transition: border-color var(--lm-t), box-shadow var(--lm-t);
}
.elx5_text:focus,
.elx5_textarea:focus,
.elx5_select:focus {
	border-color: var(--lm-brand);
	box-shadow: 0 0 0 3px var(--lm-brand-100);
	outline: none;
}
.elx5_textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.55;
	font-family: inherit;
}
.elx5_minitext {
	max-width: 200px;
}
.elx5_select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235B6470'%3E%3Cpath d='M8 11.2 2.4 5.6h11.2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 36px;
}

/* Buttons */
.elx5_btn {
	display: inline-block;
	padding: 10px 20px;
	font: inherit;
	font-weight: 600;
	color: var(--lm-ink);
	background: var(--lm-bg);
	border: 1px solid var(--lm-line-2);
	border-radius: var(--lm-radius);
	cursor: pointer;
	transition: background var(--lm-t), border-color var(--lm-t), transform var(--lm-t);
}
.elx5_btn:hover { background: var(--lm-bg-alt); border-color: var(--lm-line); }
.elx5_btn:active { transform: translateY(1px); }
.elx5_sucbtn {
	color: #fff;
	background: var(--lm-brand);
	border-color: var(--lm-brand);
}
.elx5_sucbtn:hover {
	background: var(--lm-brand-700);
	border-color: var(--lm-brand-700);
	color: #fff;
}

/* Helper text */
.elx5_tip {
	margin-top: var(--lm-s-2);
	font-size: var(--lm-fs-xs);
	color: var(--lm-ink-3);
	font-style: italic;
}
.elx5_error {
	background: #FFF1F2;
	border-left: 3px solid var(--lm-accent);
	color: var(--lm-accent-700);
	padding: var(--lm-s-3) var(--lm-s-4);
	border-radius: var(--lm-radius);
	margin: 0 0 var(--lm-s-4);
	font-size: var(--lm-fs-sm);
}
.elx5_error strong { font-weight: 700; }

/* Vertical spacers */
.elx5_vlspace { margin-top: var(--lm-s-5); }
.elx5_vspace  { margin-top: var(--lm-s-4); }

/* Info paragraphs (used on contact page for address/phone) */
.elx_info {
	background: var(--lm-bg-alt);
	border-left: 3px solid var(--lm-brand);
	padding: var(--lm-s-3) var(--lm-s-4);
	margin: 0 0 var(--lm-s-3);
	border-radius: 0 var(--lm-radius) var(--lm-radius) 0;
	font-size: var(--lm-fs-sm);
	line-height: 1.6;
	color: var(--lm-ink-2);
}

/* Search engine selector (Περιεχόμενο / Εικόνες / YouTube) */
.elx_engines_box {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lm-s-2);
	align-items: center;
	margin: 0 0 var(--lm-s-5);
	padding: var(--lm-s-3) var(--lm-s-4);
	background: var(--lm-bg-alt);
	border-radius: var(--lm-radius);
}
.elx_engines_box > span:first-child {
	font-size: var(--lm-fs-sm);
	color: var(--lm-ink-3);
	font-weight: 600;
	margin-right: var(--lm-s-2);
}
.elx_engines_box a,
.elx_engine_current {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--lm-line);
	background: var(--lm-bg);
	color: var(--lm-ink-2);
	transition: all var(--lm-t);
}
.elx_engines_box a:hover {
	background: var(--lm-brand-100);
	color: var(--lm-brand);
	border-color: var(--lm-brand-100);
	text-decoration: none;
}
.elx_engine_current {
	background: var(--lm-brand);
	color: #fff;
	border-color: var(--lm-brand);
	cursor: default;
}

/* Mobile: stack label above input */
@media (max-width: 760px) {
	.elx5_formrow {
		grid-template-columns: 1fr;
		gap: var(--lm-s-1);
	}
	.elx5_label { padding-top: 0; }
	.elx5_fieldset { padding: var(--lm-s-4); }
}

/* --------------------------------------------------------------------------
   12a2. Consent Modal — GDPR / Δήλωση Συμμόρφωσης (ΕΕ) 2018/334
   First-visit centered modal with full compliance text in expandable details.
   Hides mod_ckpolicy when active to avoid duplicate banners.
   -------------------------------------------------------------------------- */
.lm-consent-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(14, 17, 22, 0.7);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--lm-s-4);
	opacity: 1;
	transition: opacity 200ms ease;
}
.lm-consent-backdrop[hidden] { display: none !important; }
.lm-consent-backdrop.is-leaving { opacity: 0; }
body.lm-consent-locked { overflow: hidden; }
/* When consent modal is open, hide the legacy mod_ckpolicy bar */
body:has(.lm-consent-backdrop:not([hidden])) #ckpolicy.ckpolicy { display: none !important; }

.lm-consent {
	background: var(--lm-bg);
	color: var(--lm-ink-2);
	max-width: 540px;
	width: 100%;
	max-height: calc(100vh - var(--lm-s-7));
	border-radius: var(--lm-radius-lg);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transform: translateY(0) scale(1);
	transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lm-consent-backdrop.is-leaving .lm-consent { transform: translateY(20px) scale(0.97); }

.lm-consent-header {
	padding: var(--lm-s-5) var(--lm-s-5) var(--lm-s-3);
	text-align: center;
	border-bottom: 1px solid var(--lm-line);
}
.lm-consent-greeting {
	display: block;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	color: var(--lm-ink-3);
	margin-bottom: var(--lm-s-2);
}
.lm-consent-title {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-lg);
	font-weight: 700;
	color: var(--lm-ink);
	margin: 0;
	line-height: 1.3;
}

.lm-consent-body {
	flex: 1;
	overflow-y: auto;
	padding: var(--lm-s-4) var(--lm-s-5);
	-webkit-overflow-scrolling: touch;
}

.lm-consent-bullets {
	list-style: none;
	margin: 0 0 var(--lm-s-4);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--lm-s-3);
}
.lm-consent-bullet {
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: var(--lm-s-3);
	align-items: flex-start;
	font-size: var(--lm-fs-sm);
	line-height: 1.5;
}
.lm-consent-bullet-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--lm-brand-100);
	color: var(--lm-brand);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.lm-consent-details {
	border-top: 1px solid var(--lm-line);
	padding-top: var(--lm-s-3);
	margin-top: var(--lm-s-3);
}
.lm-consent-details summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	color: var(--lm-ink);
	font-size: var(--lm-fs-sm);
	padding: 4px 0;
	user-select: none;
	-webkit-user-select: none;
}
.lm-consent-details summary::-webkit-details-marker { display: none; }
.lm-consent-details summary::after {
	content: '▾';
	color: var(--lm-ink-3);
	transition: transform 200ms ease;
	font-size: 0.85em;
}
.lm-consent-details[open] summary::after { transform: rotate(180deg); }
.lm-consent-details summary:hover { color: var(--lm-brand); }

.lm-consent-legal {
	margin-top: var(--lm-s-3);
	padding: var(--lm-s-3) var(--lm-s-4);
	background: var(--lm-bg-alt);
	border-radius: var(--lm-radius);
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--lm-ink-2);
}
.lm-consent-legal h4 {
	font-family: var(--lm-font-sans);
	font-size: var(--lm-fs-sm);
	font-weight: 700;
	color: var(--lm-ink);
	margin: 0 0 var(--lm-s-2);
	text-transform: none;
	letter-spacing: 0;
}
.lm-consent-legal p { margin: 0 0 var(--lm-s-2); }
.lm-consent-legal p:last-child { margin-bottom: 0; }

.lm-consent-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--lm-s-2);
	padding: var(--lm-s-3) var(--lm-s-5) var(--lm-s-5);
	border-top: 1px solid var(--lm-line);
}
.lm-consent-btn {
	padding: 12px 20px;
	font: inherit;
	font-weight: 600;
	font-size: var(--lm-fs-sm);
	border-radius: var(--lm-radius);
	border: 1px solid var(--lm-line-2);
	background: var(--lm-bg);
	color: var(--lm-ink-2);
	cursor: pointer;
	transition: background var(--lm-t), border-color var(--lm-t);
}
.lm-consent-btn:hover { background: var(--lm-bg-alt); border-color: var(--lm-line); }
.lm-consent-btn-primary {
	background: var(--lm-brand);
	color: #fff;
	border-color: var(--lm-brand);
}
.lm-consent-btn-primary:hover {
	background: var(--lm-brand-700);
	border-color: var(--lm-brand-700);
	color: #fff;
}

/* Manage-prefs panel (toggleable) */
.lm-consent-prefs {
	margin-top: var(--lm-s-3);
	padding-top: var(--lm-s-3);
	border-top: 1px solid var(--lm-line);
}
.lm-consent-prefs[hidden] { display: none; }
.lm-consent-pref {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--lm-s-3);
	align-items: center;
	padding: var(--lm-s-3) 0;
	border-bottom: 1px solid var(--lm-line);
}
.lm-consent-pref:last-child { border-bottom: 0; }
.lm-consent-pref-label {
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	color: var(--lm-ink);
	margin: 0 0 2px;
}
.lm-consent-pref-desc {
	font-size: 0.78rem;
	color: var(--lm-ink-3);
	line-height: 1.45;
}
.lm-consent-toggle {
	position: relative;
	width: 40px;
	height: 22px;
	background: var(--lm-line-2);
	border-radius: 999px;
	cursor: pointer;
	transition: background var(--lm-t);
	flex-shrink: 0;
}
.lm-consent-toggle::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	background: #fff;
	border-radius: 50%;
	transition: transform var(--lm-t);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.lm-consent-toggle.is-on { background: var(--lm-brand); }
.lm-consent-toggle.is-on::after { transform: translateX(18px); }
.lm-consent-toggle.is-locked {
	background: var(--lm-brand-100);
	cursor: not-allowed;
	opacity: 0.7;
}
.lm-consent-toggle.is-locked::after { background: var(--lm-brand); }

@media (max-width: 540px) {
	.lm-consent { max-height: 100vh; border-radius: var(--lm-radius); }
	.lm-consent-actions { grid-template-columns: 1fr; }
	.lm-consent-actions .lm-consent-btn-primary { order: -1; }
}

/* --------------------------------------------------------------------------
   12b1. Legacy mod_ckpolicy — restyle the existing CMS cookie banner
   to match our modern .lm-cookie aesthetic. This is the banner that
   actually appears in production (positioned via flex_toppos / module40).
   Our .lm-cookie below is just for static mockup preview.
   -------------------------------------------------------------------------- */
#ckpolicy.ckpolicy {
	position: fixed !important;
	left: var(--lm-s-4);
	right: var(--lm-s-4);
	bottom: var(--lm-s-4);
	max-width: 720px;
	margin: 0 auto;
	background: var(--lm-bg);
	color: var(--lm-ink-2);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius-lg);
	box-shadow: var(--lm-shadow-lg);
	padding: var(--lm-s-4) var(--lm-s-5);
	z-index: 200;
	display: flex;
	align-items: center;
	gap: var(--lm-s-4);
	flex-wrap: wrap;
	font-size: var(--lm-fs-sm);
	line-height: 1.5;
}
#ckpolicy.ckpolicy::before {
	content: '🍪';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--lm-brand-100);
	border-radius: 50%;
	flex-shrink: 0;
	font-size: 18px;
}
.ckpol_compact {
	flex: 1;
	min-width: 220px;
	color: var(--lm-ink-2);
}
.ckpol_btns {
	display: flex;
	gap: var(--lm-s-2);
	flex-shrink: 0;
}
.ckpol_btn,
.ckpol_combtn,
.ckpol_greenbtn {
	display: inline-block;
	padding: 8px 14px;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	border-radius: var(--lm-radius);
	cursor: pointer;
	border: 1px solid transparent;
	background: var(--lm-brand);
	color: #fff !important;
	text-decoration: none;
	transition: background var(--lm-t);
}
.ckpol_btn:hover,
.ckpol_combtn:hover,
.ckpol_greenbtn:hover {
	background: var(--lm-brand-700);
	color: #fff !important;
	text-decoration: none;
}
.ckpol_invisible { display: none !important; }

@media (max-width: 540px) {
	#ckpolicy.ckpolicy { padding: var(--lm-s-3); flex-direction: column; align-items: flex-start; }
	.ckpol_btns { width: 100%; }
	.ckpol_btn { flex: 1; text-align: center; }
}

/* --------------------------------------------------------------------------
   12b. Cookie banner (slide-up) [mockup-only — production uses .ckpolicy above]
   -------------------------------------------------------------------------- */
.lm-cookie {
	position: fixed;
	left: var(--lm-s-4);
	right: var(--lm-s-4);
	bottom: var(--lm-s-4);
	max-width: 720px;
	margin: 0 auto;
	background: var(--lm-bg);
	color: var(--lm-ink-2);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius-lg);
	box-shadow: var(--lm-shadow-lg);
	padding: var(--lm-s-4) var(--lm-s-5);
	z-index: 200;
	display: flex;
	align-items: center;
	gap: var(--lm-s-4);
	flex-wrap: wrap;
	transform: translateY(0);
	transition: transform 280ms ease, opacity 200ms ease;
	opacity: 1;
}
.lm-cookie[hidden] { display: none !important; }
.lm-cookie.is-leaving { transform: translateY(120%); opacity: 0; }
.lm-cookie-icon {
	width: 36px;
	height: 36px;
	background: var(--lm-brand-100);
	color: var(--lm-brand);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 18px;
}
.lm-cookie-text {
	flex: 1;
	min-width: 220px;
	font-size: var(--lm-fs-sm);
	line-height: 1.5;
}
.lm-cookie-text strong { display: block; color: var(--lm-ink); margin-bottom: 2px; }
.lm-cookie-actions {
	display: flex;
	gap: var(--lm-s-2);
	flex-shrink: 0;
}
.lm-cookie-btn {
	padding: 8px 14px;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	border-radius: var(--lm-radius);
	cursor: pointer;
	border: 1px solid transparent;
	background: var(--lm-brand);
	color: #fff;
	transition: background var(--lm-t);
}
.lm-cookie-btn:hover { background: var(--lm-brand-700); }
.lm-cookie-btn.is-secondary {
	background: transparent;
	color: var(--lm-ink-2);
	border-color: var(--lm-line-2);
}
.lm-cookie-btn.is-secondary:hover { background: var(--lm-bg-alt); color: var(--lm-ink); }

@media (max-width: 540px) {
	.lm-cookie { padding: var(--lm-s-3); flex-direction: column; align-items: flex-start; }
	.lm-cookie-actions { width: 100%; }
	.lm-cookie-btn { flex: 1; }
}

/* --------------------------------------------------------------------------
   12c. Newsletter signup (footer)
   -------------------------------------------------------------------------- */
.lm-newsletter {
	background: var(--lm-brand);
	color: #fff;
	padding: var(--lm-s-6) 0;
	margin-top: var(--lm-s-8);
	margin-bottom: 0;
}
.lm-site-footer + .lm-newsletter,
.lm-newsletter + .lm-site-footer { margin-top: 0; }
.lm-site-footer.has-newsletter { margin-top: 0; }
.lm-newsletter-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--lm-s-6);
	align-items: center;
	max-width: var(--lm-max);
	margin: 0 auto;
	padding: 0 var(--lm-s-5);
}
.lm-newsletter-text h2 {
	font-family: var(--lm-font-serif);
	color: #fff !important;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	margin: 0 0 var(--lm-s-2);
}
.lm-newsletter-text p {
	color: rgba(255,255,255,0.85);
	margin: 0;
	font-size: var(--lm-fs-md);
}
.lm-newsletter-form {
	display: flex;
	gap: var(--lm-s-2);
	max-width: 480px;
	width: 100%;
	justify-self: end;
}
.lm-newsletter-form input[type="email"] {
	flex: 1;
	padding: 12px 14px;
	border: 0;
	border-radius: var(--lm-radius);
	background: rgba(255,255,255,0.95);
	color: var(--lm-ink);
	font: inherit;
}
.lm-newsletter-form input[type="email"]:focus {
	outline: 3px solid rgba(255,255,255,0.5);
	outline-offset: 0;
	background: #fff;
}
.lm-newsletter-form button {
	padding: 12px 22px;
	background: var(--lm-ink);
	color: #fff;
	border: 0;
	border-radius: var(--lm-radius);
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--lm-t);
}
.lm-newsletter-form button:hover { background: #000; }

@media (max-width: 760px) {
	.lm-newsletter-inner { grid-template-columns: 1fr; gap: var(--lm-s-4); }
	.lm-newsletter-form { justify-self: stretch; max-width: 100%; }
}
@media (max-width: 480px) {
	.lm-newsletter-form { flex-direction: column; }
	.lm-newsletter-form button { width: 100%; }
}

/* --------------------------------------------------------------------------
   12d. Reading time + article meta extras
   -------------------------------------------------------------------------- */
.lm-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--lm-ink-3);
	font-size: var(--lm-fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.lm-reading-time::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Article page layout: meta row groups time/author/reading-time on one line */
.lm-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lm-s-4);
	align-items: center;
	margin: 0 0 var(--lm-s-2);
}
.lm-article-meta > * { margin: 0 !important; }

/* --------------------------------------------------------------------------
   12e. Search results page
   -------------------------------------------------------------------------- */
.lm-search-header {
	background: var(--lm-bg-alt);
	padding: var(--lm-s-6) 0;
	margin-bottom: var(--lm-s-6);
}
.lm-search-header h1 {
	font-family: var(--lm-font-serif);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	margin: 0 0 var(--lm-s-3);
}
.lm-search-form {
	display: flex;
	gap: var(--lm-s-2);
	max-width: 600px;
}
.lm-search-form input {
	flex: 1;
	padding: 12px 16px;
	font-size: var(--lm-fs-md);
	border: 1px solid var(--lm-line-2);
	border-radius: var(--lm-radius);
	background: var(--lm-bg);
}
.lm-search-form button {
	padding: 12px 20px;
	white-space: nowrap;
}
.lm-search-stats {
	color: var(--lm-ink-3);
	font-size: var(--lm-fs-sm);
	margin: var(--lm-s-3) 0 0;
}
.lm-search-stats strong { color: var(--lm-ink); }

.lm-search-filters {
	display: flex;
	gap: var(--lm-s-2);
	flex-wrap: wrap;
	margin-bottom: var(--lm-s-5);
	padding-bottom: var(--lm-s-4);
	border-bottom: 1px solid var(--lm-line);
}
.lm-search-filter {
	padding: 6px 14px;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	color: var(--lm-ink-2);
	background: var(--lm-bg);
	border: 1px solid var(--lm-line);
	border-radius: 999px;
	cursor: pointer;
	transition: all var(--lm-t);
}
.lm-search-filter:hover { border-color: var(--lm-line-2); }
.lm-search-filter.is-active {
	background: var(--lm-brand);
	color: #fff;
	border-color: var(--lm-brand);
}
.lm-search-filter .lm-count {
	display: inline-block;
	margin-left: 6px;
	color: var(--lm-ink-4);
	font-weight: 500;
}
.lm-search-filter.is-active .lm-count { color: rgba(255,255,255,0.8); }

.lm-search-result {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: var(--lm-s-4);
	padding: var(--lm-s-4) 0;
	border-bottom: 1px solid var(--lm-line);
}
.lm-search-result:last-child { border-bottom: 0; }
.lm-search-result-thumb {
	width: 160px;
	aspect-ratio: 16/10;
	border-radius: var(--lm-radius);
	overflow: hidden;
	background: var(--lm-bg-dim);
}
.lm-search-result-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lm-search-result-meta {
	display: flex;
	gap: var(--lm-s-3);
	align-items: center;
	font-size: var(--lm-fs-xs);
	color: var(--lm-ink-3);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: var(--lm-s-2);
}
.lm-search-result-meta .lm-tag {
	color: var(--lm-brand);
}
.lm-search-result h3 {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-lg);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 var(--lm-s-2);
}
.lm-search-result h3 a { color: var(--lm-ink); text-decoration: none; }
.lm-search-result h3 a:hover { color: var(--lm-brand); }
.lm-search-result p {
	margin: 0;
	color: var(--lm-ink-2);
	font-size: var(--lm-fs-sm);
	line-height: 1.55;
}
.lm-search-result mark {
	background: #FFF59D;
	color: var(--lm-ink);
	padding: 0 2px;
	border-radius: 2px;
}
@media (max-width: 760px) {
	.lm-search-result { grid-template-columns: 96px 1fr; gap: var(--lm-s-3); }
	.lm-search-result-thumb { width: 96px; }
	.lm-search-result h3 { font-size: var(--lm-fs-base); }
}

/* --------------------------------------------------------------------------
   12f. Author / Profile page
   -------------------------------------------------------------------------- */
.lm-author-hero {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: var(--lm-s-5);
	align-items: center;
	padding: var(--lm-s-6) 0;
	border-bottom: 1px solid var(--lm-line);
	margin-bottom: var(--lm-s-6);
}
.lm-author-avatar {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--lm-brand-100);
	border: 4px solid var(--lm-bg);
	box-shadow: var(--lm-shadow);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--lm-font-serif);
	font-size: 56px;
	font-weight: 700;
	color: var(--lm-brand);
}
.lm-author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lm-author-name {
	font-family: var(--lm-font-serif);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
	margin: 0 0 var(--lm-s-2);
}
.lm-author-role {
	display: inline-block;
	font-size: var(--lm-fs-xs);
	font-weight: 700;
	color: var(--lm-brand);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: var(--lm-s-3);
}
.lm-author-bio {
	color: var(--lm-ink-2);
	max-width: 60ch;
	margin: 0 0 var(--lm-s-3);
}
.lm-author-stats {
	display: flex;
	gap: var(--lm-s-5);
	font-size: var(--lm-fs-sm);
	color: var(--lm-ink-3);
}
.lm-author-stats strong {
	display: block;
	color: var(--lm-ink);
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-lg);
	font-weight: 700;
}
.lm-author-socials {
	display: flex;
	gap: var(--lm-s-2);
	margin-top: var(--lm-s-3);
}
@media (max-width: 760px) {
	.lm-author-hero {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.lm-author-avatar {
		margin: 0 auto;
		width: 100px;
		height: 100px;
		font-size: 40px;
	}
	.lm-author-stats { justify-content: center; }
	.lm-author-socials { justify-content: center; }
}

/* --------------------------------------------------------------------------
   12g. 404 / Error page
   -------------------------------------------------------------------------- */
.lm-error-page {
	text-align: center;
	padding: var(--lm-s-9) var(--lm-s-4);
	max-width: 640px;
	margin: 0 auto;
}
.lm-error-code {
	font-family: var(--lm-font-serif);
	font-size: clamp(5rem, 3rem + 8vw, 9rem);
	font-weight: 700;
	color: var(--lm-brand);
	line-height: 1;
	margin: 0 0 var(--lm-s-3);
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--lm-brand) 0%, var(--lm-brand-500) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.lm-error-title {
	font-family: var(--lm-font-serif);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	margin: 0 0 var(--lm-s-3);
}
.lm-error-message {
	color: var(--lm-ink-3);
	font-size: var(--lm-fs-md);
	margin: 0 0 var(--lm-s-5);
}
.lm-error-actions {
	display: flex;
	gap: var(--lm-s-3);
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: var(--lm-s-7);
}
.lm-error-actions .lm-btn-primary {
	padding: 12px 24px;
	background: var(--lm-brand);
	color: #fff;
	border-radius: var(--lm-radius);
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.lm-error-actions .lm-btn-primary:hover { background: var(--lm-brand-700); color: #fff !important; text-decoration: none; }
.lm-error-actions .lm-btn-secondary {
	padding: 12px 24px;
	color: var(--lm-ink-2);
	background: transparent;
	border: 1px solid var(--lm-line-2);
	border-radius: var(--lm-radius);
	text-decoration: none;
	font-weight: 600;
}
.lm-error-actions .lm-btn-secondary:hover { background: var(--lm-bg-alt); color: var(--lm-ink) !important; text-decoration: none; }
.lm-error-suggestions {
	border-top: 1px solid var(--lm-line);
	padding-top: var(--lm-s-5);
}
.lm-error-suggestions h3 {
	font-size: var(--lm-fs-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lm-ink-3);
	margin-bottom: var(--lm-s-3);
}
.lm-error-categories {
	display: flex;
	gap: var(--lm-s-2);
	justify-content: center;
	flex-wrap: wrap;
}
.lm-error-categories a {
	padding: 8px 16px;
	background: var(--lm-bg-alt);
	color: var(--lm-ink-2);
	border-radius: 999px;
	text-decoration: none;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	border: 1px solid var(--lm-line);
	transition: all var(--lm-t);
}
.lm-error-categories a:hover {
	background: var(--lm-brand);
	color: #fff !important;
	border-color: var(--lm-brand);
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   13a. Homepage hero, sliders, ticker, live, weather, sponsors
   These hooks are designed to work with both the legacy modules
   (.iosslider_*, .vticker, .latestarts_wrap) and modern wrappers.
   -------------------------------------------------------------------------- */

/* Breaking news ticker */
.lm-ticker {
	background: var(--lm-ink);
	color: #fff;
	border-radius: var(--lm-radius);
	margin: 0 0 var(--lm-s-5);
	display: flex;
	align-items: stretch;
	overflow: hidden;
	font-size: var(--lm-fs-sm);
	min-height: 44px;
}
.lm-ticker-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 var(--lm-s-4);
	background: var(--lm-accent);
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: var(--lm-fs-xs);
	white-space: nowrap;
}
.lm-ticker-label::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: lm-pulse 1.6s ease-in-out infinite;
}
.lm-ticker-track {
	flex: 1;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
}
.lm-ticker-items {
	display: flex;
	gap: var(--lm-s-6);
	padding: 0 var(--lm-s-4);
	white-space: nowrap;
	animation: lm-ticker 60s linear infinite;
}
.lm-ticker-items a {
	color: #fff;
	text-decoration: none;
}
.lm-ticker-items a:hover { color: #FFD7DC; text-decoration: none; }
.lm-ticker-items time {
	color: #C8CCD1;
	font-size: var(--lm-fs-xs);
	margin-right: 6px;
	font-weight: 600;
}
@keyframes lm-ticker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.lm-ticker:hover .lm-ticker-items { animation-play-state: paused; }

/* Hero zone: featured story + live tv side-by-side */
.lm-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: var(--lm-s-5);
	margin: 0 0 var(--lm-s-7);
	align-items: stretch;
}
.lm-hero-main {
	position: relative;
	border-radius: var(--lm-radius-lg);
	overflow: hidden;
	background: var(--lm-bg-dim);
	min-height: 420px;
	display: flex;
	align-items: flex-end;
}
.lm-hero-main img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}
.lm-hero-main::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(14,17,22,0.85) 100%);
}
.lm-hero-content {
	position: relative;
	z-index: 3;
	padding: var(--lm-s-6);
	color: #fff;
	width: 100%;
}
.lm-hero-content .lm-category-pill {
	background: var(--lm-accent);
	color: #fff;
	margin-bottom: var(--lm-s-3);
}
.lm-hero-content h2 {
	font-family: var(--lm-font-serif);
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
	line-height: 1.15;
	color: #fff !important;
	margin: 0 0 var(--lm-s-3);
}
.lm-hero-content h2 a { color: #fff !important; text-decoration: none; }
.lm-hero-content h2 a:hover { color: #fff !important; opacity: 0.9; }
.lm-hero-content p {
	margin: 0;
	color: #E6EAF0;
	font-size: var(--lm-fs-md);
	line-height: 1.5;
	max-width: 60ch;
}

/* Hero side stack — live TV + radio */
.lm-hero-side {
	display: flex;
	flex-direction: column;
	gap: var(--lm-s-3);
}

.lm-livetv-card {
	background: #000;
	border-radius: var(--lm-radius-lg);
	overflow: hidden;
	box-shadow: var(--lm-shadow);
	display: flex;
	flex-direction: column;
}
.lm-livetv-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: linear-gradient(180deg, #1A1F26, #0E1116);
	color: #fff;
	font-size: var(--lm-fs-sm);
	font-weight: 600;
}
.lm-livetv-header .lm-live-dot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--lm-accent);
	font-weight: 700;
	font-size: var(--lm-fs-xs);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.lm-livetv-header .lm-live-dot::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lm-accent);
	animation: lm-pulse 1.6s ease-in-out infinite;
}
.lm-livetv-frame {
	position: relative;
	aspect-ratio: 16/9;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.lm-livetv-frame iframe,
.lm-livetv-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.lm-livetv-frame.is-placeholder::before {
	content: '▶';
	font-size: 56px;
	opacity: 0.85;
}

/* Radio widget */
.lm-radio-card {
	display: flex;
	align-items: center;
	gap: var(--lm-s-3);
	padding: var(--lm-s-3) var(--lm-s-4);
	background: linear-gradient(135deg, var(--lm-brand) 0%, var(--lm-brand-700) 100%);
	color: #fff;
	border-radius: var(--lm-radius-lg);
	box-shadow: var(--lm-shadow);
}
.lm-radio-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.lm-radio-info {
	flex: 1;
	min-width: 0;
}
.lm-radio-title {
	font-size: var(--lm-fs-sm);
	font-weight: 700;
	margin: 0 0 2px;
	color: #fff;
}
.lm-radio-now {
	font-size: var(--lm-fs-xs);
	color: rgba(255,255,255,0.85);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lm-radio-play {
	background: #fff;
	color: var(--lm-brand);
	border: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	font-size: 14px;
	transition: transform var(--lm-t);
}
.lm-radio-play:hover { transform: scale(1.08); }

/* Weather card */
.lm-weather-card {
	background: var(--lm-bg);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	padding: var(--lm-s-3) var(--lm-s-4);
}
.lm-weather-card iframe { width: 100%; border: 0; }
.lm-weather-card .lm-weather-credit {
	display: block;
	font-size: 0.7rem;
	color: var(--lm-ink-4);
	text-align: right;
	margin-top: 4px;
}

/* Naupaktia Press (weekly newspaper) card */
.module_naf-title {
	background: var(--lm-bg);
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	padding: var(--lm-s-4);
	position: relative;
}
.module_naf-title::before {
	content: 'Εβδομαδιαία έκδοση';
	display: block;
	font-size: var(--lm-fs-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lm-brand);
	margin-bottom: var(--lm-s-3);
	padding-bottom: var(--lm-s-2);
	border-bottom: 2px solid var(--lm-brand);
}
.module_naf-title .elx5_artbox {
	display: block;
}
.module_naf-title .elx5_content_imagebox img {
	width: 100% !important;
	border-radius: var(--lm-radius);
	margin-bottom: var(--lm-s-3);
}
.module_naf-title h3 {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-md) !important;
	margin: 0 0 var(--lm-s-2) !important;
}
.module_naf-title .elx5_content_subtitle {
	font-size: var(--lm-fs-xs) !important;
	color: var(--lm-ink-3) !important;
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

/* Latest articles list (latestarts widget) */
.latestarts_wrap,
.lm-latest-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.latestarts_wrap li,
.lm-latest-list li {
	border-bottom: 1px solid var(--lm-line);
	padding: var(--lm-s-3) 0;
	margin: 0;
}
.latestarts_wrap li:last-child,
.lm-latest-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.latestarts_wrap li:first-child,
.lm-latest-list li:first-child { padding-top: 0; }
.latestarts_title,
.lm-latest-title {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 4px;
}
.latestarts_title a,
.lm-latest-title a {
	color: var(--lm-ink) !important;
	text-decoration: none;
}
.latestarts_title a:hover,
.lm-latest-title a:hover { color: var(--lm-brand) !important; }
.latestarts_date,
.lm-latest-date {
	font-size: 0.72rem;
	color: var(--lm-ink-4);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* "Δες περισσότερα" small button */
.lm-see-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	margin-top: var(--lm-s-3);
	font-size: var(--lm-fs-xs);
	font-weight: 700;
	color: var(--lm-brand);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1px solid var(--lm-line-2);
	border-radius: var(--lm-radius);
	background: transparent;
	cursor: pointer;
	transition: all var(--lm-t);
}
.lm-see-more:hover { background: var(--lm-brand); color: #fff !important; border-color: var(--lm-brand); text-decoration: none; }

/* Vertical news ticker (vTicker module) */
.vticker {
	position: relative;
	overflow: hidden;
}
.vticker .ul_vt {
	list-style: none;
	margin: 0;
	padding: 0;
}
.vticker .li_vt {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: var(--lm-s-3);
	padding: var(--lm-s-3) 0;
	border-bottom: 1px solid var(--lm-line);
	align-items: start;
}
.vticker .li_vt:last-child { border-bottom: 0; }
.vticker .vt_img {
	width: 80px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--lm-radius);
	background: var(--lm-bg-dim);
}
.vticker .vt_title {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	color: var(--lm-ink);
	line-height: 1.3;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vticker .li_vt a { text-decoration: none; }
.vticker .li_vt a:hover .vt_title { color: var(--lm-brand); }
.vticker .vt_date {
	font-size: 0.7rem;
	color: var(--lm-brand);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	grid-column: 2;
}
.vticker .vt_text {
	display: none;
}

/* Sponsor banners */
.lm-sponsors {
	display: flex;
	flex-direction: column;
	gap: var(--lm-s-3);
}
.lm-sponsor {
	display: block;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	overflow: hidden;
	background: var(--lm-bg-alt);
	transition: transform var(--lm-t), box-shadow var(--lm-t);
	position: relative;
}
.lm-sponsor::before {
	content: 'ΧΟΡΗΓΟΣ';
	position: absolute;
	top: 6px;
	left: 6px;
	background: rgba(255,255,255,0.94);
	color: var(--lm-ink-3);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 3px 6px;
	border-radius: 3px;
	z-index: 2;
}
.lm-sponsor:hover {
	transform: translateY(-1px);
	box-shadow: var(--lm-shadow);
}
.lm-sponsor img {
	width: 100%;
	height: auto;
	display: block;
}

/* Inline sponsor row (between sections) */
.lm-sponsor-row {
	margin: var(--lm-s-7) 0;
	padding: var(--lm-s-4);
	background: var(--lm-bg-alt);
	border-radius: var(--lm-radius);
	text-align: center;
}
.lm-sponsor-row::before {
	content: 'ΔΙΑΦΗΜΙΣΗ';
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--lm-ink-4);
	margin-bottom: var(--lm-s-2);
}
.lm-sponsor-row img { display: inline-block; max-width: 100%; height: auto; }

/* Category pill (for cards) */
.lm-category-pill {
	display: inline-block;
	font-size: var(--lm-fs-xs);
	font-weight: 700;
	color: var(--lm-brand);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	background: var(--lm-brand-100);
	border-radius: 999px;
	margin-bottom: var(--lm-s-2);
}

/* iosslider override (modernize legacy slider markup) */
.iosslider_outer {
	border-radius: var(--lm-radius-lg);
	overflow: hidden;
	background: var(--lm-bg-dim);
	margin-bottom: var(--lm-s-5);
}
.iosslider_wrap { position: relative; }
.iosslider_images, .iosslider_images ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.iosslider_images li {
	position: relative;
}
.iosslider_images img {
	width: 100%;
	height: auto;
	display: block;
}
.iosslider_bullets {
	position: absolute;
	bottom: 12px;
	right: 12px;
	z-index: 5;
	background: rgba(0,0,0,0.5);
	border-radius: 999px;
	padding: 4px 6px;
}
.iosslider_bullets a {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	margin: 0 3px;
	overflow: hidden;
	text-indent: -9999px;
	transition: background var(--lm-t);
}
.iosslider_bullets a img { display: none; }
.iosslider_bullets a.iossl_active { background: #fff; }

/* --------------------------------------------------------------------------
   13c. Video gallery (YouTube channel listing)
   -------------------------------------------------------------------------- */
.lm-video-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: var(--lm-s-5);
	margin-bottom: var(--lm-s-7);
	background: linear-gradient(135deg, #1A1F26 0%, #0E1116 100%);
	border-radius: var(--lm-radius-lg);
	overflow: hidden;
	box-shadow: var(--lm-shadow-lg);
	min-height: 360px;
}
.lm-video-hero-player {
	position: relative;
	background: #000;
	aspect-ratio: 16/9;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.lm-video-hero-player img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}
.lm-video-hero-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.lm-video-hero-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: background var(--lm-t);
}
.lm-video-hero-play:hover { background: rgba(0, 0, 0, 0.4); }
.lm-video-hero-play::before {
	content: '';
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--lm-accent);
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.lm-video-hero-play::after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 16px 0 16px 26px;
	border-color: transparent transparent transparent #fff;
	margin-left: 6px;
}
.lm-video-hero-info {
	padding: var(--lm-s-6);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.lm-video-hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--lm-fs-xs);
	font-weight: 700;
	color: var(--lm-accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: var(--lm-s-3);
}
.lm-video-hero-tag::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lm-accent);
}
.lm-video-hero-info h2 {
	font-family: var(--lm-font-serif);
	font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff !important;
	margin: 0 0 var(--lm-s-3);
}
.lm-video-hero-info p {
	color: rgba(255,255,255,0.85);
	margin: 0 0 var(--lm-s-4);
	font-size: var(--lm-fs-md);
	line-height: 1.6;
}
.lm-video-hero-meta {
	display: flex;
	gap: var(--lm-s-4);
	font-size: var(--lm-fs-sm);
	color: rgba(255,255,255,0.75);
}
.lm-video-hero-meta strong { color: #fff; font-weight: 600; }

/* Category tabs — sleek news-site style with bottom underline indicator
   and horizontal scroll on overflow (mobile-friendly) */
.lm-video-tabs {
	position: relative;
	display: flex;
	gap: 0;
	margin-bottom: var(--lm-s-6);
	border-bottom: 1px solid var(--lm-line);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--lm-line-2) transparent;
}
.lm-video-tabs::-webkit-scrollbar { height: 4px; }
.lm-video-tabs::-webkit-scrollbar-track { background: transparent; }
.lm-video-tabs::-webkit-scrollbar-thumb { background: var(--lm-line-2); border-radius: 2px; }
.lm-video-tab {
	position: relative;
	padding: var(--lm-s-3) var(--lm-s-4);
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	color: var(--lm-ink-3);
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	cursor: pointer;
	transition: color var(--lm-t), border-color var(--lm-t);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	letter-spacing: 0.01em;
}
.lm-video-tab:hover { color: var(--lm-ink); }
.lm-video-tab.is-active {
	color: var(--lm-brand);
	border-bottom-color: var(--lm-brand);
	font-weight: 700;
}
.lm-video-tab .lm-video-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	font-size: 11px;
	font-weight: 700;
	color: var(--lm-ink-3);
	background: var(--lm-bg-alt);
	border-radius: 999px;
	letter-spacing: 0;
}
.lm-video-tab.is-active .lm-video-tab-count {
	color: var(--lm-brand);
	background: var(--lm-brand-100);
}

/* Sticky behavior + edge fade so users see they can scroll horizontally */
.lm-video-tabs-wrap {
	position: sticky;
	top: var(--lm-header-h, 132px);
	z-index: 10;
	background: var(--lm-bg);
	margin-bottom: var(--lm-s-6);
}
.lm-video-tabs-wrap::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 1px;
	width: 32px;
	background: linear-gradient(90deg, transparent, var(--lm-bg));
	pointer-events: none;
	opacity: 0.85;
}

/* Subscribe banner */
.lm-video-subscribe {
	display: flex;
	align-items: center;
	gap: var(--lm-s-4);
	background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
	color: #fff;
	padding: var(--lm-s-4) var(--lm-s-5);
	border-radius: var(--lm-radius-lg);
	margin-bottom: var(--lm-s-6);
	box-shadow: 0 4px 16px rgba(255, 0, 0, 0.18);
}
.lm-video-subscribe-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--lm-radius);
	background: rgba(255,255,255,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.lm-video-subscribe-text { flex: 1; min-width: 0; }
.lm-video-subscribe-text strong {
	display: block;
	font-size: var(--lm-fs-md);
	font-family: var(--lm-font-serif);
	margin-bottom: 2px;
}
.lm-video-subscribe-text span { font-size: var(--lm-fs-sm); opacity: 0.9; }
.lm-video-subscribe-btn {
	background: #fff;
	color: #cc0000;
	border: 0;
	padding: 10px 20px;
	border-radius: var(--lm-radius);
	font-weight: 700;
	font-size: var(--lm-fs-sm);
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: transform var(--lm-t);
	text-decoration: none;
}
.lm-video-subscribe-btn:hover {
	transform: translateY(-1px);
	color: #cc0000 !important;
	text-decoration: none;
}

/* Video grid */
.lm-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--lm-s-5);
}
.lm-video-card {
	display: flex;
	flex-direction: column;
	background: transparent;
	transition: transform var(--lm-t);
}
.lm-video-card:hover { transform: translateY(-2px); }

.lm-video-thumb {
	position: relative;
	aspect-ratio: 16/9;
	border-radius: var(--lm-radius);
	overflow: hidden;
	background: var(--lm-bg-dim);
	margin-bottom: var(--lm-s-3);
	display: block;
}
.lm-video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.lm-video-card:hover .lm-video-thumb img { transform: scale(1.04); }
.lm-video-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--lm-t);
}
.lm-video-card:hover .lm-video-thumb::after { opacity: 1; }

/* Play button overlay (appears on hover) */
.lm-video-thumb-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease;
	z-index: 2;
}
.lm-video-card:hover .lm-video-thumb-play { opacity: 1; }
.lm-video-thumb-play::before {
	content: '';
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 0, 0, 0.95);
	box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.lm-video-thumb-play::after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 10px 0 10px 18px;
	border-color: transparent transparent transparent #fff;
	margin-left: 4px;
}

/* Duration badge */
.lm-video-duration {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 3px 6px;
	border-radius: 3px;
	font-size: 0.72rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	z-index: 3;
}

/* Live badge (for live streams) */
.lm-video-live {
	position: absolute;
	top: 8px;
	left: 8px;
	background: var(--lm-accent);
	color: #fff;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.lm-video-live::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: lm-pulse 1.6s ease-in-out infinite;
}

/* Card text */
.lm-video-title {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-base);
	font-weight: 700;
	line-height: 1.3;
	color: var(--lm-ink);
	margin: 0 0 var(--lm-s-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lm-video-title a {
	color: var(--lm-ink);
	text-decoration: none;
}
.lm-video-title a:hover { color: var(--lm-brand); }
.lm-video-meta {
	display: flex;
	gap: var(--lm-s-3);
	font-size: var(--lm-fs-xs);
	color: var(--lm-ink-3);
	font-weight: 500;
}
.lm-video-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.lm-video-meta-item::before {
	content: '·';
	color: var(--lm-ink-4);
}
.lm-video-meta-item:first-child::before { display: none; }

/* Featured row (smaller "Πρόσφατα" featured cards next to hero) */
.lm-video-featured-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--lm-s-4);
	margin-bottom: var(--lm-s-7);
}
.lm-video-featured-row .lm-video-card { font-size: 0.92rem; }
.lm-video-featured-row .lm-video-title { font-size: var(--lm-fs-sm); }

/* Mobile */
@media (max-width: 760px) {
	.lm-video-hero { grid-template-columns: 1fr; min-height: auto; }
	.lm-video-hero-info { padding: var(--lm-s-4); }
	.lm-video-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--lm-s-3); }
	.lm-video-title { font-size: var(--lm-fs-sm); }
	.lm-video-thumb-play::before { width: 44px; height: 44px; }
	.lm-video-thumb-play::after { border-width: 8px 0 8px 14px; }
	.lm-video-subscribe { flex-direction: column; text-align: center; gap: var(--lm-s-3); }
}

/* --------------------------------------------------------------------------
   13b. TV / Radio program (schedule)
   -------------------------------------------------------------------------- */
.lm-program-hero {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--lm-s-6);
	margin-bottom: var(--lm-s-7);
	align-items: center;
}
.lm-program-hero-text h1 {
	font-family: var(--lm-font-serif);
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
	margin: 0 0 var(--lm-s-3);
}
.lm-program-hero-text p {
	color: var(--lm-ink-3);
	font-size: var(--lm-fs-md);
	margin: 0;
}
.lm-live-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--lm-s-2);
	background: var(--lm-accent);
	color: #fff;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: var(--lm-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: var(--lm-s-3);
}
.lm-live-badge::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: lm-pulse 1.6s ease-in-out infinite;
}
@keyframes lm-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.85); }
}
.lm-program-hero-player {
	aspect-ratio: 16/9;
	background: #000;
	border-radius: var(--lm-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	box-shadow: var(--lm-shadow-lg);
	overflow: hidden;
	position: relative;
}
.lm-program-hero-player::before {
	content: '▶';
	font-size: 56px;
	opacity: 0.85;
}

/* Day tabs */
.lm-program-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--lm-line);
	margin-bottom: var(--lm-s-6);
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.lm-program-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--lm-s-3) var(--lm-s-5);
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	color: var(--lm-ink-3);
	cursor: pointer;
	white-space: nowrap;
	transition: all var(--lm-t);
	margin-bottom: -2px;
}
.lm-program-tab:hover { color: var(--lm-ink); }
.lm-program-tab.is-active {
	color: var(--lm-brand);
	border-bottom-color: var(--lm-brand);
	font-weight: 700;
}
.lm-program-tab .lm-day-name {
	font-family: var(--lm-font-sans);
	font-size: var(--lm-fs-sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.lm-program-tab .lm-day-num {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-lg);
	font-weight: 700;
	color: var(--lm-ink);
}
.lm-program-tab.is-today .lm-day-num { color: var(--lm-brand); }

/* Schedule table */
.lm-schedule {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--lm-line);
}
.lm-show {
	display: grid;
	grid-template-columns: 100px 96px 1fr auto;
	gap: var(--lm-s-4);
	align-items: center;
	padding: var(--lm-s-4) 0;
	border-bottom: 1px solid var(--lm-line);
	transition: background var(--lm-t);
}
.lm-show:hover { background: var(--lm-bg-alt); }
.lm-show.is-now {
	background: var(--lm-brand-50);
	border-left: 3px solid var(--lm-brand);
	padding-left: var(--lm-s-4);
	margin-left: calc(var(--lm-s-4) * -1);
}
.lm-show-time {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-lg);
	font-weight: 700;
	color: var(--lm-ink);
	font-variant-numeric: tabular-nums;
}
.lm-show.is-now .lm-show-time { color: var(--lm-brand); }
.lm-show-thumb {
	width: 96px;
	height: 64px;
	border-radius: var(--lm-radius);
	background: var(--lm-bg-dim);
	overflow: hidden;
	position: relative;
}
.lm-show-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lm-show-info h3 {
	font-family: var(--lm-font-serif);
	font-size: var(--lm-fs-md);
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--lm-ink);
	line-height: 1.2;
}
.lm-show-info p {
	margin: 0;
	color: var(--lm-ink-3);
	font-size: var(--lm-fs-sm);
	line-height: 1.45;
}
.lm-show-now-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--lm-accent);
	color: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.lm-show-now-tag::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: lm-pulse 1.6s ease-in-out infinite;
}
.lm-show-category {
	font-size: var(--lm-fs-xs);
	font-weight: 600;
	color: var(--lm-brand);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 2px;
}
.lm-show-duration {
	font-size: var(--lm-fs-xs);
	color: var(--lm-ink-4);
	white-space: nowrap;
}

@media (max-width: 760px) {
	.lm-program-hero {
		grid-template-columns: 1fr;
		gap: var(--lm-s-4);
	}
	.lm-program-hero-player { order: -1; }
	.lm-show {
		grid-template-columns: 70px 64px 1fr;
		gap: var(--lm-s-3);
		padding: var(--lm-s-3) 0;
	}
	.lm-show-thumb {
		width: 64px;
		height: 48px;
	}
	.lm-show-time { font-size: var(--lm-fs-base); }
	.lm-show-info h3 { font-size: var(--lm-fs-base); }
	.lm-show-duration { display: none; }
	.lm-show-now-tag { grid-column: 1 / -1; align-self: start; justify-self: start; }
}

/* --------------------------------------------------------------------------
   14. Pagination (category pages)
   -------------------------------------------------------------------------- */
.lm-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lm-s-2);
	align-items: center;
	margin: var(--lm-s-7) 0 0;
	padding-top: var(--lm-s-5);
	border-top: 1px solid var(--lm-line);
}
.lm-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 var(--lm-s-3);
	color: var(--lm-ink-2);
	text-decoration: none;
	border: 1px solid var(--lm-line);
	border-radius: var(--lm-radius);
	font-weight: 600;
	font-size: var(--lm-fs-sm);
	transition: all var(--lm-t);
}
.lm-page:hover { background: var(--lm-bg-alt); color: var(--lm-brand); border-color: var(--lm-line-2); text-decoration: none; }
.lm-page.is-current {
	background: var(--lm-brand);
	color: #fff;
	border-color: var(--lm-brand);
	cursor: default;
}
.lm-page-sep { color: var(--lm-ink-4); padding: 0 var(--lm-s-2); }
.lm-page-next { padding: 0 var(--lm-s-4); }

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.lm-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: var(--lm-s-6); }

	/* Homepage section grid: 2 cols instead of 3 */
	.module_fp-block-title {
		grid-template-columns: 1.4fr 1fr;
	}
	.elx5_artbox.elx5_artboxvt { grid-row: span 1; }

	/* Hero stack: live TV under main featured */
	.lm-hero { grid-template-columns: 1fr; }
	.lm-hero-main { min-height: 380px; }
	.lm-hero-side { flex-direction: row; gap: var(--lm-s-3); }
	.lm-livetv-card { flex: 1; }
	.lm-radio-card { flex: 0 0 auto; }
}

@media (max-width: 900px) {
	:root { --lm-header-h: 110px; }
	.lm-grid { grid-template-columns: 1fr; }
	.lm-sidebar { position: static; }
	.elx_3columns, .elx_4columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lm-tmenu { display: none; }

	/* Homepage section: featured on top, then 1 col list */
	.module_fp-block-title {
		grid-template-columns: 1fr;
	}
	.elx5_artbox.elx5_artboxvt {
		grid-row: auto;
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	:root { --lm-header-h: 96px; }
	.lm-main { padding: var(--lm-s-5) 0 var(--lm-s-7); }
	.lm-header-inner { padding: var(--lm-s-3) 0; }
	.lm-logo img { max-height: 56px; max-width: 220px; }

	/* Mobile hero & live tv */
	.lm-hero-main { min-height: 280px; }
	.lm-hero-content { padding: var(--lm-s-4); }
	.lm-hero-side { flex-direction: column; }
	.lm-ticker-label { padding: 0 var(--lm-s-3); }
	.lm-ticker { font-size: var(--lm-fs-xs); }
	.vticker .li_vt { grid-template-columns: 64px 1fr; }
	.vticker .vt_img { width: 64px; height: 48px; }

	.lm-action-menu { display: inline-flex; }
	.lm-mainnav {
		position: fixed;
		inset: var(--lm-header-h) 0 0 0;
		background: var(--lm-bg);
		border-top: 1px solid var(--lm-line);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 250ms ease;
		z-index: 90;
	}
	.lm-mainnav.is-open { transform: translateX(0); }
	.lm-mainnav .elx_menu,
	.lm-mainnav ul { flex-direction: column; padding: var(--lm-s-3); }
	.lm-mainnav a {
		padding: var(--lm-s-3) var(--lm-s-4);
		border-bottom: 1px solid var(--lm-line);
		text-transform: none;
		letter-spacing: 0;
		font-size: var(--lm-fs-base);
	}
	.lm-mainnav li ul {
		display: block;
		position: static;
		border: 0;
		box-shadow: none;
		padding-left: var(--lm-s-4);
	}

	body.lm-nav-locked { overflow: hidden; }

	/* Legacy elx_short_box: smaller image on mobile */
	div.elx_short_box, .elx_short_box {
		grid-template-columns: 110px 1fr;
		gap: var(--lm-s-3);
	}
	.elx_short_box h3, .elx_short_box h2 { font-size: var(--lm-fs-base) !important; }

	/* Smaller artbox (Elxis 5) cards: tighter on mobile */
	.elx5_artbox.elx5_artboxtl,
	.elx5_artbox.elx5_artboxml {
		grid-template-columns: 96px 1fr;
		gap: var(--lm-s-3);
	}
	.elx5_artbox.elx5_artboxtl .elx5_content_imagebox img,
	.elx5_artbox.elx5_artboxml .elx5_content_imagebox img {
		width: 96px;
		height: 72px;
	}
	.elx5_artbox.elx5_artboxtl h3,
	.elx5_artbox.elx5_artboxml h3,
	.elx5_artbox.elx5_artboxtl h2,
	.elx5_artbox.elx5_artboxml h2 {
		font-size: 0.95rem !important;
	}

	/* Featured (vertical) card on mobile */
	.elx5_artbox.elx5_artboxvt h3,
	.elx5_artbox.elx5_artboxvt h2 {
		font-size: 1.25rem !important;
	}

	.elx_2columns, .elx_3columns, .elx_4columns { grid-template-columns: 1fr; }

	/* Article page: prev/next chain stacks vertically */
	.elx5_2colwrap { grid-template-columns: 1fr; gap: var(--lm-s-3); }
	.elx5_2colbox:has(.elx_chain_next) { text-align: left; }

	/* Article header on mobile: reorder & tighten */
	.elx_article_page p,
	.elx_article_page li { font-size: 1.05rem !important; }

	/* Article-page social/share icons */
	.elx5_content_icons { flex-wrap: wrap; }

	.lm-footer-mods.two-cols { grid-template-columns: 1fr; }
	.lm-socials { order: 3; }

	/* Pagination on mobile: show fewer pages */
	.lm-pagination { gap: 4px; }
	.lm-page { min-width: 36px; height: 36px; padding: 0 10px; }
}

@media (max-width: 540px) {
	/* Tighter mobile: even smaller cards */
	.elx5_artbox.elx5_artboxtl,
	.elx5_artbox.elx5_artboxml {
		grid-template-columns: 80px 1fr;
		gap: 10px;
	}
	.elx5_artbox.elx5_artboxtl .elx5_content_imagebox img,
	.elx5_artbox.elx5_artboxml .elx5_content_imagebox img {
		width: 80px;
		height: 60px;
	}
}

@media (max-width: 480px) {
	.lm-container { padding: 0 var(--lm-s-4); }
	.lm-header-meta { gap: var(--lm-s-2); }
	.lm-action { width: 36px; height: 36px; }

	/* Hide some top icons on tiny screens to fit hamburger */
	.lm-action-lang,
	.lm-action-login { display: none; }

	/* Tighter article page padding */
	.elx_article_page h1,
	.elx_article_page .elx5_article_h1i {
		font-size: 1.625rem !important;
		line-height: 1.18 !important;
	}
	.lm-pathway { font-size: var(--lm-fs-xs); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Print: optimize article reading & ink usage */
@media print {
	@page { margin: 18mm 14mm; }

	*, *::before, *::after {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	html, body {
		background: #fff !important;
		color: #000 !important;
		font-size: 11pt;
		line-height: 1.45;
	}

	/* Hide all chrome */
	.lm-site-header,
	.lm-site-footer,
	.lm-newsletter,
	.lm-sidebar,
	.lm-mods,
	.lm-pathway,
	.lm-cookie,
	.lm-ticker,
	.lm-hero-side,
	.lm-sponsors,
	.lm-sponsor,
	.lm-sponsor-row,
	.lm-share,
	.elx5_content_icons,
	.lm-action,
	.lm-socials,
	.fp-all-link,
	.lm-pagination,
	.lm-see-more,
	.elx_chain_previous,
	.elx_chain_next,
	.elx_tags_box,
	.elx_hits_box,
	.lm-mainnav,
	.lm-header-meta,
	[hidden],
	noscript {
		display: none !important;
	}

	.lm-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
	.lm-content { max-width: 100% !important; }
	.lm-container { max-width: 100% !important; padding: 0 !important; }

	/* Article body: clean serif, larger, no underlines except links */
	.elx_article_page {
		max-width: 100% !important;
		margin: 0 !important;
	}
	.elx_article_page h1,
	.elx_article_page .elx5_article_h1i {
		font-size: 22pt !important;
		line-height: 1.15 !important;
		margin: 0 0 8pt !important;
		page-break-after: avoid;
	}
	.elx_article_page h2 {
		font-size: 15pt !important;
		margin-top: 14pt !important;
		page-break-after: avoid;
	}
	.elx_article_page h3 {
		font-size: 13pt !important;
		page-break-after: avoid;
	}
	.elx_article_page p,
	.elx_article_page li {
		font-size: 11pt !important;
		line-height: 1.5 !important;
		orphans: 3;
		widows: 3;
	}
	.elx_article_page p { margin: 0 0 8pt !important; }
	.elx_article_page blockquote {
		border: 0 !important;
		border-left: 2pt solid #000 !important;
		padding: 4pt 0 4pt 10pt !important;
		margin: 8pt 0 !important;
		font-style: italic;
	}
	.elx_article_page img,
	.elx5_content_imagebox img {
		max-width: 100% !important;
		page-break-inside: avoid;
		filter: grayscale(100%);
	}
	figure { page-break-inside: avoid; }

	/* Subtitle: less color, more weight */
	p.elx5_content_subtitle,
	p.elx_content_subtitle {
		border: 0 !important;
		border-left: 2pt solid #000 !important;
		padding: 0 0 0 8pt !important;
		font-style: italic !important;
		color: #000 !important;
	}

	/* Date/author meta */
	.elx_dateauthor {
		font-size: 9pt !important;
		color: #555 !important;
		margin-bottom: 12pt !important;
	}
	.lm-reading-time { display: none !important; }

	/* Links: print URL after for context */
	a[href]:not([href^="#"]):not([href^="javascript:"]) {
		color: #000 !important;
		text-decoration: none !important;
	}
	.elx_article_page a[href]:not([href^="#"]):after {
		content: " (" attr(href) ")";
		font-size: 8pt;
		color: #666;
		word-wrap: break-word;
	}

	/* Page break helpers */
	h1, h2, h3, h4 { page-break-after: avoid; }
	tr, img { page-break-inside: avoid; }
}
