/* ==========================================================================
   Δήμος Λεβαδέων – βάση θέματος (header, footer, προσβασιμότητα)
   Όλα τα στοιχεία του θέματος έχουν την κλάση .dl-ui ώστε να μην
   επηρεάζονται από τα στυλ του Hello Elementor / Elementor Kit.
   ========================================================================== */

:root {
	--dl-primary: #7d0302;
	--dl-accent: #b8901c;
	--dl-link: #1a6bb8;
	--dl-dark: #2a2e33;
	--dl-bg: #f7f5f2;
	--dl-surface: #ffffff;
	--dl-ink: #1f2328;
	--dl-muted: #5b626b;
	--dl-line: #e6e0d8;
	--dl-on-primary: #ffffff;
	--dl-on-accent: #1f1a0c;
	--dl-primary-dark: color-mix(in srgb, var(--dl-primary) 78%, #000);
	--dl-accent-soft: color-mix(in srgb, var(--dl-accent) 16%, #fff);
	--dl-accent-text: color-mix(in srgb, var(--dl-accent) 70%, #000);
	--dl-radius: 14px;
	--dl-shadow: 0 6px 24px rgba(60, 20, 20, .08);
	--dl-font: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--dl-font-head: "Roboto Slab", Rockwell, Georgia, "Times New Roman", serif;
	--dl-wrap: 1240px;
	--dl-admin-bar: 0px;
}
.admin-bar { --dl-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --dl-admin-bar: 46px; } }

/* Μέγεθος κειμένου (εργαλεία προσβασιμότητας) */
html.dl-fs--1 { font-size: 90%; }
html.dl-fs-1 { font-size: 112.5%; }
html.dl-fs-2 { font-size: 125%; }
html.dl-fs-3 { font-size: 140%; }

/* Αναγνώσιμη γραμματοσειρά */
html.dl-rf {
	--dl-font: Verdana, Tahoma, Arial, sans-serif;
	--dl-font-head: Verdana, Tahoma, Arial, sans-serif;
}
html.dl-rf body, html.dl-rf .elementor * { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: .02em; }

/* Υπογράμμιση συνδέσμων */
html.dl-ul a { text-decoration: underline !important; }

/* Υψηλή αντίθεση */
html.dl-hc {
	--dl-primary: #000; --dl-primary-dark: #000; --dl-accent: #ffeb3b; --dl-accent-soft: #000; --dl-accent-text: #ffeb3b;
	--dl-link: #ffeb3b; --dl-dark: #000; --dl-bg: #000; --dl-surface: #000; --dl-ink: #fff; --dl-muted: #fff;
	--dl-line: #fff; --dl-on-primary: #fff; --dl-on-accent: #000; --dl-shadow: none;
}
html.dl-hc body, html.dl-hc .elementor-section, html.dl-hc .e-con { background: #000 !important; color: #fff !important; }
html.dl-hc .elementor *:not(img):not(svg):not(path) { color: #fff !important; background-color: transparent !important; border-color: #fff !important; }
html.dl-hc a, html.dl-hc .elementor a { color: #ffeb3b !important; text-decoration: underline !important; }
html.dl-hc img { filter: grayscale(1) contrast(1.1); }

html.dl-hc .dl-ui .dl-search-toggle { --dl-btn-fg: #ffeb3b; --dl-btn-border: 1px solid #fff; }
html.dl-hc .dl-ui .dl-menu__btn:hover, html.dl-hc .dl-ui .dl-menu__item.is-open > .dl-menu__btn { --dl-btn-fg: #ffeb3b; background: #000; outline: 1px solid #fff; }
html[class*="dl-fs-"]:not(.dl-fs--1) .dl-menu { flex-wrap: wrap; }

/* ---------- Βασικό reset για στοιχεία του θέματος ---------- */
.dl-ui, .dl-ui * { box-sizing: border-box; }
body { font-family: var(--dl-font); }
.dl-ui { font-family: var(--dl-font); color: var(--dl-ink); line-height: 1.55; }
html .dl-ui a,
html .dl-ui a:hover,
html .dl-ui a:focus,
html .dl-ui a:active { color: var(--dl-a, inherit); text-decoration: none; }
html .dl-ui a:hover { text-decoration: var(--dl-a-deco, none); }
.dl-ui button,
.dl-ui button:hover,
.dl-ui button:focus,
.dl-ui [type=submit],
.dl-ui [type=submit]:hover,
.dl-ui [type=submit]:focus {
	font: inherit; line-height: 1.2; text-transform: none; letter-spacing: normal; cursor: pointer;
	padding: var(--dl-btn-pad, 0); border-radius: var(--dl-btn-radius, 0);
	border: var(--dl-btn-border, 0); background-color: var(--dl-btn-bg, transparent);
	color: var(--dl-btn-fg, inherit); box-shadow: none; text-decoration: none;
}
.dl-ui h1, .dl-ui h2, .dl-ui h3, .dl-ui h4 { font-family: var(--dl-font-head); line-height: 1.2; margin: 0; color: inherit; font-weight: 700; }
.dl-ui ul { list-style: none; margin: 0; padding: 0; }
.dl-ui img { max-width: 100%; height: auto; }
.dl-ui :focus-visible { outline: 3px solid var(--dl-link); outline-offset: 2px; }
.dl-ico { width: 1.1em; height: 1.1em; flex: 0 0 auto; display: inline-block; vertical-align: middle; }

.dl-wrap { max-width: var(--dl-wrap); margin: 0 auto; padding: 0 20px; }
.dl-main:focus { outline: none; }

.dl-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 100000;
	background: var(--dl-primary); color: #fff !important; padding: 10px 16px; border-radius: 6px; font-family: var(--dl-font);
}
.dl-skip:focus { left: 8px; }

/* ---------- Γραμμή εργαλείων ---------- */
.dl-utility { background: var(--dl-dark); color: #e3e6ea; font-size: .85rem; }
.dl-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; flex-wrap: wrap; }
.dl-utility__contact, .dl-utility__tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl-ui .dl-utility__contact a { display: inline-flex; align-items: center; gap: 6px; opacity: .92; --dl-a-deco: underline; }
.dl-a11y { display: flex; align-items: center; gap: 4px; }
.dl-a11y__label { margin-right: 4px; }
.dl-ui .dl-a11y button {
	--dl-btn-bg: rgba(255,255,255,.1); --dl-btn-fg: #fff; --dl-btn-border: 1px solid rgba(255,255,255,.22);
	--dl-btn-radius: 6px; --dl-btn-pad: 0 8px; min-width: 32px; height: 28px; font-weight: 600; font-size: .85rem;
}
.dl-ui .dl-a11y button:hover, .dl-ui .dl-a11y button[aria-pressed=true] {
	--dl-btn-bg: var(--dl-accent); --dl-btn-fg: var(--dl-on-accent); --dl-btn-border: 1px solid var(--dl-accent);
}
.dl-lang select { height: 28px; border-radius: 6px; font: inherit; }
/* Ακολουθήστε μας */
.dl-follow { display: flex; align-items: center; gap: 10px; padding-right: 16px; border-right: 1px solid rgba(255,255,255,.18); }
.dl-follow__label { color: #fff; font-weight: 600; white-space: nowrap; }
.dl-ui .dl-follow__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.dl-ui .dl-follow__link {
	--dl-a: #fff; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	color: #fff; background: var(--dl-soc, rgba(255,255,255,.12)); transition: transform .15s ease, filter .15s ease;
}
.dl-ui .dl-follow__link .dl-ico { width: 15px; height: 15px; }
.dl-ui .dl-follow__link--facebook { --dl-soc: #1877f2; }
.dl-ui .dl-follow__link--instagram { --dl-soc: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.dl-ui .dl-follow__link--youtube { --dl-soc: #ff0000; }
.dl-ui .dl-follow__link:hover { transform: translateY(-2px); filter: brightness(1.12); }
.dl-ui .dl-follow__link:focus-visible { outline: 2px solid var(--dl-accent); outline-offset: 2px; }
html.dl-hc .dl-ui .dl-follow__link { background: #000 !important; outline: 1px solid #fff; color: #ffeb3b !important; }
html.dl-hc .dl-follow__label { color: #fff !important; }

/* ---------- Header ---------- */
.dl-header { background: var(--dl-surface); border-bottom: 4px solid var(--dl-accent); position: relative; z-index: 999; }
.dl-header--sticky { position: sticky; top: var(--dl-admin-bar); }
.dl-header__inner { display: flex; align-items: center; gap: 24px; min-height: 128px; position: relative; }
.dl-brand { display: block; flex: 0 0 auto; }
.dl-ui .dl-brand__logo { height: 112px; width: auto; display: block; transition: height .25s ease; }
.dl-ui.dl-header.is-scrolled .dl-brand__logo { height: 76px; }
.dl-header.is-scrolled .dl-header__inner { min-height: 92px; }

.dl-nav { margin-left: auto; }
.dl-menu { display: flex; gap: 0; flex-wrap: nowrap; justify-content: flex-end; }
.dl-menu__item { position: static; }
.dl-ui .dl-menu__btn,
.dl-ui .dl-menu__link {
	--dl-btn-pad: 10px 9px; --dl-btn-radius: 8px; --dl-a: var(--dl-ink); --dl-btn-fg: var(--dl-ink);
	display: flex; align-items: center; gap: 3px; padding: 10px 9px; border-radius: 8px;
	font-weight: 600; font-size: clamp(.82rem, .5rem + .45vw, .95rem); white-space: nowrap;
}
.dl-ui .dl-menu__btn:hover, .dl-ui .dl-menu__link:hover,
.dl-ui .dl-menu__item.is-open > .dl-menu__btn,
.dl-ui .dl-menu__item.is-current > .dl-menu__btn {
	--dl-btn-bg: var(--dl-bg); --dl-btn-fg: var(--dl-primary); --dl-a: var(--dl-primary); background: var(--dl-bg);
}
.dl-menu__btn .dl-ico { transition: transform .2s; opacity: .6; width: 16px; height: 16px; }
.dl-menu__item.is-open > .dl-menu__btn .dl-ico { transform: rotate(180deg); }

.dl-mega {
	display: none; position: absolute; right: 20px; top: calc(100% + 4px);
	width: min(900px, calc(100% - 40px)); background: var(--dl-surface);
	border: 1px solid var(--dl-line); border-top: 4px solid var(--dl-primary); border-radius: 0 0 var(--dl-radius) var(--dl-radius);
	box-shadow: 0 18px 40px rgba(60, 10, 10, .16); padding: 24px 26px; z-index: 50;
}
.dl-menu__item.is-open > .dl-mega { display: block; }
.dl-mega__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 26px; }
.dl-ui .dl-mega__head { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dl-accent-text); --dl-a: var(--dl-accent-text); margin-bottom: 8px; }
.dl-ui .dl-mega a { --dl-a: var(--dl-ink); --dl-a-deco: underline; }
.dl-ui .dl-mega__list a { display: block; padding: 5px 0; font-size: .92rem; }
.dl-ui .dl-mega__list a:hover, .dl-ui .dl-mega__single:hover { --dl-a: var(--dl-link); }
.dl-mega__list--d2 { padding-left: 12px !important; border-left: 2px solid var(--dl-line); }
.dl-ui .dl-mega__single { display: block; font-weight: 600; padding: 4px 0; }

.dl-search { display: flex; align-items: center; border: 1px solid var(--dl-line); border-radius: 999px; padding: 4px 4px 4px 14px; background: var(--dl-bg); }
.dl-search input[type=search] { border: 0 !important; background: none !important; font: inherit; width: 120px; outline: none; padding: 4px 0 !important; color: var(--dl-ink); box-shadow: none !important; }
.dl-ui .dl-search button { --dl-btn-bg: var(--dl-primary); --dl-btn-fg: #fff; --dl-btn-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }
.dl-ui .dl-search button:hover { --dl-btn-bg: var(--dl-primary-dark); }
.dl-search--mobile { display: none; }

.dl-ui .dl-burger {
	display: none; margin-left: auto; align-items: center; gap: 8px;
	--dl-btn-bg: var(--dl-primary); --dl-btn-fg: #fff; --dl-btn-radius: 8px; --dl-btn-pad: 10px 14px; font-weight: 600;
}
.dl-ui .dl-burger:hover { --dl-btn-bg: var(--dl-primary-dark); }
.dl-burger .dl-ico { width: 20px; height: 20px; }
.dl-burger__close { display: none; }
.dl-burger[aria-expanded=true] .dl-burger__open { display: none; }
.dl-burger[aria-expanded=true] .dl-burger__close { display: inline; }
.dl-nav__notice { margin: 0; font-size: .9rem; }

.dl-ui .dl-search-toggle { --dl-btn-bg: var(--dl-bg); --dl-btn-fg: var(--dl-primary); --dl-btn-border: 1px solid var(--dl-line); --dl-btn-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; }
.dl-ui .dl-search-toggle:hover, .dl-ui .dl-search-toggle[aria-expanded=true] { --dl-btn-bg: var(--dl-primary); --dl-btn-fg: #fff; --dl-btn-border: 1px solid var(--dl-primary); }
.dl-search-toggle .dl-ico { width: 18px; height: 18px; }
.dl-search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--dl-surface); border-bottom: 1px solid var(--dl-line); box-shadow: 0 14px 28px rgba(0,0,0,.1); padding: 18px 0; margin-top: 4px; }
.dl-search-panel[hidden] { display: none; }
.dl-search-panel .dl-search { padding: 6px 6px 6px 20px; }
.dl-search-panel .dl-search input[type=search] { flex: 1; width: auto; font-size: 1.05rem; }
.dl-ui .dl-search-panel .dl-search button { width: auto; height: 44px; border-radius: 999px; --dl-btn-radius: 999px; --dl-btn-pad: 0 20px; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.dl-header__inner { gap: 18px; }
@media (max-width: 1200px) {
	.dl-ui .dl-burger { display: inline-flex; }
	.dl-ui .dl-search-toggle { display: none; }
	.dl-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0;
		background: var(--dl-surface); border-bottom: 4px solid var(--dl-accent);
		box-shadow: 0 18px 30px rgba(0,0,0,.12); max-height: calc(100vh - 160px); overflow: auto; padding: 10px 20px 20px;
	}
	.dl-nav.is-open { display: block; }
	.dl-menu { flex-direction: column; flex-wrap: nowrap; }
	.dl-menu__item { border-bottom: 1px solid var(--dl-line); }
	.dl-ui .dl-menu__btn, .dl-ui .dl-menu__link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1rem; }
	.dl-mega { position: static; width: auto; border: 0; box-shadow: none; border-radius: 0; padding: 4px 4px 16px; }
	.dl-mega__inner { grid-template-columns: 1fr; gap: 14px; }
	.dl-search--mobile { display: flex; margin-top: 16px; }
	.dl-search--mobile input[type=search] { width: 100%; flex: 1; }
	.dl-header__inner { min-height: 96px; }
	.dl-ui .dl-brand__logo { height: 80px; }
}
@media (max-width: 600px) {
	.dl-hide-sm, .dl-a11y__label, .dl-follow__label { display: none !important; }
	.dl-follow { padding-right: 10px; }
	.dl-utility__inner { padding-top: 6px; padding-bottom: 6px; }
	.dl-header__inner { min-height: 84px; }
	.dl-ui .dl-brand__logo { height: 70px; }
	.dl-ui.dl-header.is-scrolled .dl-brand__logo { height: 56px; }
}

/* ---------- Λογότυπα χρηματοδοτήσεων ---------- */
.dl-funding { background: var(--dl-surface); border-top: 1px solid var(--dl-line); padding: 24px 0; }
.dl-funding__inner { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.dl-ui .dl-funding__item img { max-height: 80px; width: auto; display: block; }
.dl-funding--banners { padding: 18px 0; }
.dl-funding--banners .dl-funding__inner { flex-wrap: nowrap; gap: 28px; }
.dl-funding--banners .dl-funding__item { flex: 1 1 0; min-width: 0; max-width: 540px; }
.dl-ui.dl-funding--banners .dl-funding__item img { width: 100%; height: auto; max-height: none; }
.dl-funding--banners a { display: block; border-radius: 6px; }
@media (max-width: 767px) {
	.dl-funding--banners .dl-funding__inner { flex-direction: column; gap: 14px; }
	.dl-funding--banners .dl-funding__item { width: 100%; max-width: 460px; flex: none; }
}
html.dl-hc .dl-funding { background: #fff; }

/* ---------- Footer ---------- */
.dl-footer { background: var(--dl-dark); color: #d5d9de; padding: 56px 0 24px; font-size: .92rem; }
.dl-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.dl-footer__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.dl-ui .dl-footer__logo img { height: 72px; width: auto; display: block; }
.dl-footer__contact li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.dl-footer__contact .dl-ico { margin-top: 3px; color: var(--dl-accent); }
.dl-footer.dl-ui a { --dl-a: #d5d9de; --dl-a-deco: underline; }
.dl-footer.dl-ui a:hover { --dl-a: #fff; }
.dl-ui .dl-footer__title { font-family: var(--dl-font); color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; font-weight: 700; }
.dl-footer__widget + .dl-footer__widget { margin-top: 22px; }
.dl-footer__widget ul { list-style: none; margin: 0; padding: 0; }
.dl-footer__widget li { padding: 4px 0; }
.dl-social-links { display: flex; gap: 8px; margin-top: 16px; }
.dl-ui .dl-social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.dl-ui .dl-social-links a:hover { background: var(--dl-primary); }
.dl-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
.dl-footer__bottom > span { display: grid; gap: 4px; }
.dl-footer__dpo { color: #b9bfc6; }
.dl-footer__legal { display: flex; gap: 6px 0; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.dl-footer__legal li { display: inline-flex; align-items: center; }
.dl-footer__legal li + li::before { content: ""; width: 1px; height: 12px; background: rgba(255,255,255,.28); margin: 0 12px; }
.dl-footer.dl-ui .dl-footer__legal a { --dl-a-deco: none; }
.dl-footer.dl-ui .dl-footer__legal a:hover, .dl-footer.dl-ui .dl-footer__legal a:focus-visible { --dl-a-deco: underline; }
.dl-footer.dl-ui .dl-footer__legal .current-menu-item > a { --dl-a: #fff; font-weight: 600; }
@media (max-width: 600px) { .dl-footer__bottom { flex-direction: column; } }
@media (max-width: 1024px) { .dl-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dl-footer__grid { grid-template-columns: 1fr; } }

.dl-ui .dl-totop {
	position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; z-index: 990;
	--dl-btn-bg: var(--dl-primary); --dl-btn-fg: #fff; --dl-btn-radius: 50%;
	display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.dl-ui .dl-totop:hover { --dl-btn-bg: var(--dl-primary-dark); }
.dl-ui .dl-totop[hidden] { display: none; }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

@media (prefers-reduced-motion: reduce) {
	.dl-ui *, .dl-ui *::before, .dl-ui *::after { transition: none !important; animation: none !important; }
}
