/* Εταιρική βιβλιοθήκη: styles for the [lh_lesson_library] and [lh_lesson_library_form]
   shortcodes (the rest of the page is Elementor). Colours, type and button
   shapes follow the LearningHub theme (Manrope, lime CTA, teal accents). */

.lh-ll {
	--ll-lime: #c0ce00;
	--ll-lime-d: #a9b500;
	--ll-teal: #0a6e5e;
	--ll-teal-l: #1ab69d;
	--ll-ink: #181818;
	--ll-text: #555;
	--ll-bg1: #edf5f8;
	--ll-bg2: #f0f4f5;
	--ll-line: #dfe6e9;
	--ll-radius: 10px;
	font-family: Manrope, sans-serif;
	color: var(--ll-text);
	font-size: 16px;
	line-height: 1.6;
}
.lh-ll *, .lh-ll *::before, .lh-ll *::after { box-sizing: border-box; }
.lh-ll h1, .lh-ll h2, .lh-ll h3 { color: var(--ll-ink); font-family: Manrope, sans-serif; font-weight: 700; }
.lh-ll a:focus-visible, .lh-ll button:focus-visible, .lh-ll summary:focus-visible, .lh-ll input:focus-visible {
	outline: 3px solid rgba(26, 182, 157, .5);
	outline-offset: 2px;
}

/* Buttons (same shape as the site's Elementor buttons) */
.ll-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ll-lime);
	color: #000 !important;
	border: 1px solid var(--ll-lime);
	border-radius: 5px;
	padding: 16px 30px;
	font: 600 15px/1 Manrope, sans-serif;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.ll-btn:hover { background: var(--ll-lime-d); border-color: var(--ll-lime-d); }
.ll-btn--ghost { background: #fff; color: var(--ll-teal) !important; border-color: var(--ll-teal); }
.ll-btn--ghost:hover { background: var(--ll-teal); border-color: var(--ll-teal); color: #fff !important; }

/* Catalogue */
.ll-search { position: relative; margin: 0 0 22px; }
.ll-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #888; }
.lh-ll .ll-search input {
	width: 100%;
	height: 56px;
	font: 400 17px Manrope, sans-serif;
	padding: 0 48px;
	border: 1px solid var(--ll-line);
	border-radius: var(--ll-radius);
	background: #fff;
	color: var(--ll-ink);
	box-shadow: none;
}
.lh-ll .ll-search input:focus { border-color: var(--ll-teal-l); outline: 3px solid rgba(26, 182, 157, .25); outline-offset: 0; }
.ll-qclear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font-size: 24px; line-height: 1; color: #888; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; padding: 0; }
.ll-qclear:hover { background: var(--ll-bg2); }

.ll-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .ll-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 32px; } }

.ll-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ll-cats:empty { display: none; }
@media (min-width: 900px) {
	.ll-cats {
		flex-direction: column; position: sticky; top: calc(var(--ll-sticky-top, 0px) + 16px); align-self: start; gap: 6px;
		max-height: calc(100vh - var(--ll-sticky-top, 0px) - 32px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px;
	}
	.ll-cats:empty { display: flex; }
}
.lh-ll .ll-cat {
	flex: 0 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--ll-line);
	background: #fff;
	border-radius: 999px;
	padding: 8px 14px;
	font: 500 14px/1.35 Manrope, sans-serif;
	color: var(--ll-ink);
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
@media (min-width: 900px) { .lh-ll .ll-cat { border-radius: 8px; white-space: normal; padding: 10px 12px; } }
.lh-ll .ll-cat:hover:not([disabled]) { border-color: var(--ll-teal-l); }
.ll-cat .ll-n { font-size: 12px; font-weight: 600; color: var(--ll-text); background: var(--ll-bg2); border-radius: 999px; padding: 1px 8px; min-width: 30px; text-align: center; }
.lh-ll .ll-cat[aria-pressed="true"] { background: var(--ll-ink); border-color: var(--ll-ink); color: #fff; }
.ll-cat[aria-pressed="true"] .ll-n { background: #3a3a3a; color: #fff; }
.lh-ll .ll-cat[disabled] { opacity: .4; cursor: default; }

/* The theme sets overflow on <body>, which turns it into a scroll container and
   breaks position:sticky. On this page only, clip horizontally without that. */
body.lh-ll-page { overflow: visible !important; overflow-x: clip !important; }

.ll-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; min-height: 34px; }
.ll-count { font-weight: 700; color: var(--ll-ink); }
.ll-chip { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--ll-line); border-radius: 999px; padding: 3px 6px 3px 12px; font-size: 13px; color: var(--ll-ink); margin-right: 4px; }
.lh-ll .ll-chip button { border: 0; background: transparent; cursor: pointer; font-size: 17px; line-height: 1; color: #888; width: 24px; height: 24px; border-radius: 50%; padding: 0; }
.lh-ll .ll-chip button:hover { background: var(--ll-bg2); color: var(--ll-ink); }
.lh-ll .ll-linkbtn { border: 0; background: transparent; color: var(--ll-teal); text-decoration: underline; cursor: pointer; font: 600 13px Manrope, sans-serif; padding: 4px; }

.ll-group { margin: 0 0 34px; }
.lh-ll .ll-group h3 { font-size: 19px; margin: 0 0 8px; }
.ll-group h3 small { color: var(--ll-text); font-weight: 500; font-size: 14px; margin-left: 4px; white-space: nowrap; }
.lh-ll ul.ll-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ll-line); background: #fff; border-radius: 0 0 var(--ll-radius) var(--ll-radius); }
.ll-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--ll-line); margin: 0; }
.ll-row:hover { background: #fafcfc; }
.ll-t { font-size: 16px; color: var(--ll-ink); font-weight: 500; }
.ll-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
@media (max-width: 600px) { .ll-row { flex-wrap: wrap; gap: 6px; } .ll-meta { justify-content: flex-start; } }
.ll-tag { font-size: 12px; color: var(--ll-text); background: var(--ll-bg2); border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.lh-ll .ll-add {
	border: 1px solid var(--ll-teal);
	color: var(--ll-teal);
	background: #fff;
	border-radius: 5px;
	padding: 6px 12px;
	font: 600 13px/1.2 Manrope, sans-serif;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.lh-ll .ll-add:hover { background: #e8f3f1; }
.lh-ll .ll-add[aria-pressed="true"] { background: var(--ll-teal); color: #fff; }
.lh-ll:not(.is-js) .ll-add { display: none; }
.lh-ll .ll-more { margin-top: 10px; border: 0; background: transparent; color: var(--ll-teal); font: 700 15px Manrope, sans-serif; cursor: pointer; padding: 6px 0; }
.lh-ll .ll-more:hover { text-decoration: underline; }
.ll-empty { background: #fff; border-radius: var(--ll-radius); padding: 36px 24px; text-align: center; }
.lh-ll .ll-empty h3 { margin: 0 0 6px; }
.ll-empty p { margin: 0 0 18px; }

/* Quote form (Contact Form 7) */
.ll-form { max-width: 880px; margin-top: 24px; }
.ll-picked { background: var(--ll-bg1); border-radius: var(--ll-radius); padding: 18px 22px; margin-bottom: 22px; }
.ll-picked-title { font-weight: 700; color: var(--ll-ink); margin: 0 0 8px; }
.lh-ll .ll-picked ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ll-picked li { margin: 0; }
.ll-form .ll-f-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.ll-form .ll-f-full { grid-column: 1 / -1; }
.lh-ll.ll-form .ll-f-grid p { margin: 0; }
.lh-ll.ll-form .ll-f-grid br { display: none; }
@media (max-width: 640px) { .ll-form .ll-f-grid { grid-template-columns: 1fr; } }
.ll-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ll-ink); margin-bottom: 6px; }
.ll-form .wpcf7-form-control-wrap { display: block; }
.lh-ll.ll-form input[type="text"], .lh-ll.ll-form input[type="email"], .lh-ll.ll-form input[type="tel"], .lh-ll.ll-form select, .lh-ll.ll-form textarea {
	width: 100%;
	font: 400 15px Manrope, sans-serif;
	padding: 12px 14px;
	border: 1px solid var(--ll-line);
	border-radius: 5px;
	background: #fff;
	color: var(--ll-ink);
	height: auto;
	min-height: 50px;
}
.lh-ll.ll-form textarea { min-height: 110px; }
.lh-ll.ll-form input:focus, .lh-ll.ll-form select:focus, .lh-ll.ll-form textarea:focus { border-color: var(--ll-teal-l); outline: 3px solid rgba(26, 182, 157, .2); outline-offset: 0; }
.ll-form .ll-f-consent { font-size: 14px; }
.ll-form .ll-f-consent label { font-weight: 400; display: inline; }
.ll-form .ll-f-consent .wpcf7-list-item { margin: 0; }
.lh-ll.ll-form .wpcf7-submit { background: var(--ll-lime); color: #000; border: 0; border-radius: 5px; padding: 17px 34px; font: 600 15px/1 Manrope, sans-serif; cursor: pointer; }
.lh-ll.ll-form .wpcf7-submit:hover { background: var(--ll-lime-d); }
.lh-ll.ll-form .wpcf7-submit:disabled { opacity: .5; cursor: not-allowed; }
.ll-form .ll-f-hint { font-size: 13px; margin: 6px 0 0; }

/* Sticky request bar */
.ll-basket { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; border-top: 3px solid var(--ll-lime); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 12px 15px; transform: translateY(110%); transition: transform .25s; }
.ll-basket.is-on { transform: none; }
.ll-basket-in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
#ll-basket-text { font-weight: 700; color: var(--ll-ink); }
.ll-basket-actions { display: flex; gap: 10px; align-items: center; }
.ll-basket .ll-btn { padding: 13px 22px; }
body.ll-basket-open { padding-bottom: 76px; }
/* Keep the ESPA banner and back-to-top button above the request bar. */
body.ll-basket-open #espa-promo,
body.ll-basket-open .devsblink-progress-parent { transform: translateY(-76px); transition: transform .25s; }
@media (max-width: 600px) {
	body.ll-basket-open { padding-bottom: 116px; }
	body.ll-basket-open #espa-promo,
	body.ll-basket-open .devsblink-progress-parent { transform: translateY(-116px); }
	.ll-basket-in { justify-content: center; text-align: center; }
}

/* Facts in the Elementor hero ([lh_ll_count] inside a Text Editor widget) */
.ll-fact-n { display: block; font-size: 30px; line-height: 1.2; font-weight: 700; color: #0a6e5e; }

/* FAQ accordion: active row like the /epixeiriseis/ FAQ */
.ll-faq-acc .elementor-tab-title.elementor-active { background-color: #c0ce00 !important; }
.ll-faq-acc .elementor-tab-title.elementor-active, .ll-faq-acc .elementor-tab-title.elementor-active a { color: #000 !important; }
