/**
 * Laikas Sportuoti — temos dizaino sistema.
 * Autorius: devbee.lt
 */

/* ---------- Kintamieji ---------- */

:root {
	--ls-primary: #f97316;
	--ls-primary-dark: #ea580c;
	--ls-dark: #0e1a2b;
	--ls-dark-2: #16263c;
	--ls-text: #3f4b63;
	--ls-heading: #0e1a2b;
	--ls-bg: #ffffff;
	--ls-bg-soft: #f4f6fa;
	--ls-border: #e5e9f0;
	--ls-radius: 12px;
	--ls-radius-lg: 16px;
	--ls-shadow-md: 0 10px 30px rgba(14, 26, 43, 0.08);
	--ls-font-heading: "Montserrat", system-ui, sans-serif;
	--ls-font-body: "Inter", system-ui, sans-serif;
	--ls-header-h: 98px;
}

/* ---------- Bazė ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	/* Slinkties juosta visada rezervuota — antraštė nešokinėja tarp puslapių. */
	overflow-y: scroll;
	scrollbar-gutter: stable;
}

body {
	margin: 0;
	font-family: var(--ls-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ls-text);
	background: var(--ls-bg);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ls-font-heading);
	color: var(--ls-heading);
	line-height: 1.25;
	margin: 0 0 0.6em;
	font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

a { color: var(--ls-primary); }

img { max-width: 100%; height: auto; }

.ls-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ls-dark);
	color: #fff;
	padding: 0.7rem 1.2rem;
	z-index: 1000;
}

.ls-skip-link:focus { left: 0; }

.ls-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

.ls-container--narrow { max-width: 860px; }

/* ---------- Mygtukai ---------- */

.ls-btn {
	display: inline-block;
	font-family: var(--ls-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.7rem 1.6rem;
	transition: all 0.22s ease;
	cursor: pointer;
	border: 2px solid transparent;
	line-height: 1.4;
}

.ls-btn--primary {
	background: var(--ls-primary);
	color: #fff;
	box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.ls-btn--primary:hover {
	background: var(--ls-primary-dark);
	transform: translateY(-2px);
	color: #fff;
}

.ls-btn--outline {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.ls-btn--outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.ls-btn--lg {
	padding: 0.95rem 2.2rem;
	font-size: 1.05rem;
}

.ls-btn--ghost {
	padding: 0.4rem 0;
	border: 0;
	border-radius: 0;
	color: var(--ls-primary);
	font-weight: 700;
}

.ls-btn--ghost::after {
	content: "→";
	margin-left: 0.4rem;
	transition: margin 0.2s ease;
}

.ls-btn--ghost:hover::after { margin-left: 0.7rem; }

/* ---------- Antraštė ---------- */

.ls-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ls-header.is-scrolled {
	border-bottom-color: var(--ls-border);
	box-shadow: 0 4px 20px rgba(14, 26, 43, 0.06);
}

.ls-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: var(--ls-header-h);
}

.ls-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--ls-dark);
}

.ls-logo__mark { flex: 0 0 auto; }

.ls-logo__text {
	font-family: var(--ls-font-heading);
	font-weight: 600;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.ls-logo__text strong {
	font-weight: 900;
	color: var(--ls-primary);
}

.custom-logo {
	max-height: 84px;
	width: auto;
	display: block;
}

/* Tamsiame poraštės fone juodas logotipas paverčiamas šviesiu. */
.ls-footer .custom-logo {
	filter: invert(1) brightness(1.05);
}

.ls-footer .custom-logo-link {
	display: inline-block;
	margin-bottom: 1rem;
}

.ls-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.ls-nav__list {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ls-nav__list a {
	display: block;
	font-family: var(--ls-font-heading);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--ls-dark);
	text-decoration: none;
	padding: 0.55rem 0.8rem;
	border-radius: 8px;
	transition: color 0.18s ease, background 0.18s ease;
}

.ls-nav__list a:hover {
	color: var(--ls-primary);
	background: var(--ls-bg-soft);
}

.ls-nav__list .current-menu-item > a,
.ls-nav__list .current_page_item > a {
	color: var(--ls-primary);
}

/* Submeniu */
.ls-nav__list li { position: relative; }

.ls-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--ls-border);
	border-radius: var(--ls-radius);
	box-shadow: var(--ls-shadow-md);
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
}

.ls-nav__list li:hover > .sub-menu,
.ls-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ls-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: 0;
	cursor: pointer;
}

.ls-burger span {
	display: block;
	height: 2.5px;
	width: 100%;
	background: var(--ls-dark);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.ls-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ls-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ls-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
	.ls-burger { display: flex; }

	.ls-nav {
		position: fixed;
		inset: var(--ls-header-h) 0 auto 0;
		background: #fff;
		border-bottom: 1px solid var(--ls-border);
		box-shadow: 0 20px 40px rgba(14, 26, 43, 0.12);
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
		padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem;
		display: none;
	}

	.ls-nav.is-open { display: flex; }

	.ls-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ls-nav__list a { padding: 0.8rem 0.6rem; font-size: 1rem; }

	.ls-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding-left: 1rem;
	}

	.ls-nav__cta { text-align: center; }
}

/* ---------- Hero (titulinis) ---------- */

.ls-hero {
	background:
		radial-gradient(1000px 500px at 85% -10%, rgba(249, 115, 22, 0.25), transparent 60%),
		radial-gradient(700px 400px at -10% 110%, rgba(249, 115, 22, 0.12), transparent 55%),
		linear-gradient(150deg, var(--ls-dark) 0%, var(--ls-dark-2) 100%);
	color: #fff;
	padding: clamp(4rem, 10vw, 8rem) 0;
	position: relative;
	overflow: hidden;
}

.ls-hero__inner {
	max-width: 760px;
	position: relative;
	z-index: 1;
}

.ls-hero__kicker {
	font-family: var(--ls-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ls-primary);
	margin-bottom: 1rem;
}

.ls-hero__title {
	color: #fff;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	margin-bottom: 1.2rem;
}

.ls-hero__title span { color: var(--ls-primary); }

.ls-hero__text {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: rgba(255, 255, 255, 0.78);
	max-width: 560px;
	margin-bottom: 2.2rem;
}

.ls-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ---------- Apie mus sekcija ---------- */

.ls-kicker {
	font-family: var(--ls-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ls-primary);
	margin-bottom: 0.75rem;
}

.ls-about {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.ls-about__text p {
	font-size: 1.08rem;
}

.ls-about__facts {
	list-style: none;
	margin: 1.75rem 0 0.5rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.ls-about__facts li {
	background: var(--ls-bg-soft);
	border-radius: var(--ls-radius-lg);
	border-top: 4px solid var(--ls-primary);
	padding: 1.5rem 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	text-align: center;
}

.ls-about__facts strong {
	font-family: var(--ls-font-heading);
	font-size: 1.9rem;
	font-weight: 900;
	line-height: 1.15;
	color: var(--ls-primary);
}

.ls-about__facts span {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ls-heading);
}

@media (max-width: 800px) {
	.ls-about { grid-template-columns: 1fr; }
}

/* ---------- Kontaktų CTA juosta ---------- */

.ls-cta {
	background:
		radial-gradient(800px 400px at 90% -20%, rgba(249, 115, 22, 0.3), transparent 60%),
		linear-gradient(150deg, var(--ls-dark) 0%, var(--ls-dark-2) 100%);
	padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.ls-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.ls-cta__title {
	color: #fff;
	margin: 0 0 0.4rem;
}

.ls-cta__text {
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	font-size: 1.05rem;
}

/* ---------- Puslapio antraštės juosta ---------- */

.ls-page-hero {
	background: linear-gradient(150deg, var(--ls-dark) 0%, var(--ls-dark-2) 100%);
	color: #fff;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.ls-page-hero__title {
	color: #fff;
	margin: 0;
}

.ls-page-hero__subtitle {
	margin: 0.6rem 0 0;
	color: var(--ls-primary);
	font-family: var(--ls-font-heading);
	font-weight: 600;
}

/* ---------- Sekcijos ---------- */

/* Tik vertikalus padding — kad nepermuštų .ls-container šoninių tarpų,
   kai abi klasės naudojamos ant to paties elemento. */
.ls-section {
	padding-top: clamp(3rem, 7vw, 5.5rem);
	padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.ls-section--soft { background: var(--ls-bg-soft); }

.ls-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2.25rem;
}

.ls-section__head--center {
	justify-content: center;
	text-align: center;
}

.ls-section__title { margin: 0; }

/* ---------- Turinys ---------- */

.ls-entry {
	font-size: 1.05rem;
}

.ls-entry > * + * { margin-top: 1.1em; }

.ls-entry h2, .ls-entry h3 { margin-top: 1.6em; }

.ls-entry img { border-radius: var(--ls-radius-lg); }

.ls-entry blockquote {
	border-left: 4px solid var(--ls-primary);
	margin: 1.5em 0;
	padding: 0.5em 0 0.5em 1.5em;
	background: var(--ls-bg-soft);
	border-radius: 0 var(--ls-radius) var(--ls-radius) 0;
	font-style: italic;
}

.ls-entry--front { padding: 0; }

.ls-entry__thumb {
	margin-bottom: 2rem;
}

.ls-entry__thumb img {
	width: 100%;
	border-radius: var(--ls-radius-lg);
}

.ls-entry__footer {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ls-border);
}

/* ---------- Renginio / projekto faktai ---------- */

.ls-event-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.ls-event-facts__item {
	background: var(--ls-bg-soft);
	border-radius: var(--ls-radius);
	padding: 1rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.ls-event-facts__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ls-primary);
}

.ls-event-facts__value {
	font-weight: 600;
	color: var(--ls-heading);
}

/* ---------- Treneris ---------- */

.ls-trainer {
	display: grid;
	grid-template-columns: minmax(260px, 380px) 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

.ls-trainer__photo img {
	width: 100%;
	border-radius: var(--ls-radius-lg);
}

.ls-trainer__contacts {
	list-style: none;
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	background: var(--ls-bg-soft);
	border-radius: var(--ls-radius);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

@media (max-width: 800px) {
	.ls-trainer { grid-template-columns: 1fr; }
}

/* ---------- Puslapiavimas ---------- */

.ls-pagination {
	margin-top: 3rem;
	text-align: center;
}

.ls-pagination .nav-links {
	display: inline-flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	justify-content: center;
}

.ls-pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--ls-border);
	border-radius: 10px;
	text-decoration: none;
	color: var(--ls-heading);
	font-weight: 600;
}

.ls-pagination .page-numbers.current,
.ls-pagination .page-numbers:hover {
	background: var(--ls-primary);
	border-color: var(--ls-primary);
	color: #fff;
}

/* ---------- 404 ---------- */

.ls-404 { text-align: center; }

.ls-404__code {
	font-family: var(--ls-font-heading);
	font-size: clamp(5rem, 15vw, 9rem);
	font-weight: 900;
	line-height: 1;
	color: var(--ls-primary);
	margin: 0;
	opacity: 0.9;
}

.ls-404__text {
	max-width: 460px;
	margin: 0 auto 2rem;
}

/* ---------- Poraštė ---------- */

.ls-footer {
	background: var(--ls-dark);
	color: rgba(255, 255, 255, 0.75);
	margin-top: auto;
}

.ls-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }

.ls-footer a:hover { color: var(--ls-primary); }

.ls-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-top: clamp(3rem, 6vw, 4.5rem);
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.ls-footer__col--about .ls-logo { color: #fff; margin-bottom: 1rem; }

.ls-footer__col--about p { max-width: 380px; }

.ls-footer__title {
	color: #fff;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1.2rem;
}

.ls-footer__menu,
.ls-footer__contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.ls-social {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.25rem;
}

.ls-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	transition: background 0.2s ease, transform 0.2s ease;
}

.ls-social__link:hover {
	background: var(--ls-primary);
	color: #fff;
	transform: translateY(-2px);
}

.ls-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.25rem 0;
	font-size: 0.85rem;
}

.ls-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.ls-footer__bottom a { color: var(--ls-primary); font-weight: 600; }

@media (max-width: 800px) {
	.ls-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Elementor suderinamumas ---------- */

.ls-elementor-page .ls-main { padding: 0; }

/* Sekcijų šoniniai tarpai — turinys nelimpa prie ekrano krašto mažuose ekranuose. */
.e-con.e-parent {
	--padding-left: clamp(1.1rem, 4vw, 2rem) !important;
	--padding-right: clamp(1.1rem, 4vw, 2rem) !important;
}

/* Mobiliajame dvikolonės sekcijos (tekstas + nuotrauka, CTA) rikiuojasi stulpeliu. */
@media (max-width: 880px) {
	.e-con.e-child {
		width: 100% !important;
	}
}

/* Elementor mygtukai automatiškai gauna prekės ženklo stilių.
   Permatomas rėmelis — kad kontūrinis variantas būtų tokio pat aukščio. */
.elementor-button {
	background-color: var(--ls-primary);
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--ls-font-heading);
	font-weight: 700;
	padding: 14px 32px;
	transition: all 0.22s ease;
}

.elementor-button:hover {
	background-color: var(--ls-primary-dark);
	transform: translateY(-2px);
}

/* Antraštės widgetai palaiko temos tipografiją ir spalvas. */
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--ls-font-heading);
	color: var(--ls-heading);
}

/* Kicker etiketė (pvz. „APIE MUS") — ryški, oranžinė, su tarpais. */
.ls-kicker .elementor-heading-title,
.ls-kicker {
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ls-primary);
}

/* Tamsiame hero fone antraštės baltos (spalva nustatoma pačiame widgete). */
.ls-el-hero .elementor-heading-title {
	color: #fff;
}

.ls-el-hero .ls-kicker .elementor-heading-title {
	color: var(--ls-primary);
}

/* Titulinio hero sekcija (Elementor konteineris su klase ls-el-hero). */
.ls-el-hero h1.elementor-heading-title {
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.08;
	color: #fff;
}

.ls-el-hero h1.elementor-heading-title span {
	color: var(--ls-primary);
}

.ls-el-hero .elementor-widget-text-editor {
	font-size: clamp(1rem, 2vw, 1.2rem);
	max-width: 600px;
}

/* Antrinis (kontūrinis) mygtukas tamsiame fone.
   !important — Elementor kit CSS kraunasi vėliau ir kitaip permuša foną. */
.ls-el-btn-outline .elementor-button {
	background: transparent !important;
	border: 2px solid rgba(255, 255, 255, 0.5);
	box-shadow: none;
}

.ls-el-btn-outline .elementor-button:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	border-color: #fff;
}

/* Nuotraukų galerija — vienodo dydžio langeliai vietoj WP numatytos su skylėm. */
.elementor-widget-image-gallery .gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
}

.elementor-widget-image-gallery .gallery.gallery-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elementor-widget-image-gallery .gallery .gallery-item {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	display: block;
}

.elementor-widget-image-gallery .gallery .gallery-item img {
	max-width: 100% !important;
}

.elementor-widget-image-gallery .gallery .gallery-icon {
	display: block;
	height: 100%;
}

.elementor-widget-image-gallery .gallery .gallery-icon a {
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--ls-radius-lg);
}

.elementor-widget-image-gallery .gallery .gallery-item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border: 0 !important;
	transition: transform 0.35s ease;
}

.elementor-widget-image-gallery .gallery .gallery-item:hover img {
	transform: scale(1.05);
}

@media (max-width: 900px) {
	.elementor-widget-image-gallery .gallery,
	.elementor-widget-image-gallery .gallery.gallery-columns-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Sekcijos antraštės eilutė: pavadinimas kairėje, nuoroda dešinėje. */
.ls-el-head {
	width: 100%;
}

.ls-el-head .elementor-widget-text-editor p {
	margin: 0;
}
