/* Footer v2 (modernus, kompaktiškas) — docs/migracija/74. Savininkas 2026-11-14: „modernizuoti, daug užima ploto,
   užvedus tekstas pajuda, soc. tinklai per dvi eilutes, mygtuką suvienodinti, ikonos juda“.
   Principai: jokių transform/šrifto/paddingų pokyčių hover būsenoje (tik spalva/pabraukimas); soc. tinklai — tik ikonos;
   mygtukas — svetainės standartas (Bellota 22/700, gradientas, hover šviesus fonas + pabraukimas, nedidėja).
   Paraštės kaip puslapiuose: 20 / 32 / ≥24px, turinys ≤1180px. */
.msd-footer {
	--mf-g: 24px;
	--mf-side: max(var(--mf-g), calc((100% - 1180px) / 2));
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 0;
	color: #FFFFFF;
	background: #2A0E26 url("/wp-content/uploads/2023/05/backgroung-shadow.webp") center / cover no-repeat;
	font-family: "Helvetica", sans-serif;
	isolation: isolate;
}
@media (max-width: 1000px) { .msd-footer { --mf-g: 32px; } }
@media (max-width: 750px) { .msd-footer { --mf-g: 20px; } }
.msd-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(61deg, #250B23 46%, #80808091 100%);
	opacity: .82;
	pointer-events: none;
}
.msd-footer *,
.msd-footer *::before,
.msd-footer *::after { box-sizing: border-box; }
.msd-footer p { margin: 0; }

/* banga viršuje (mažesnė) */
.msd-footer__wave {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
}
.msd-footer__wave svg { display: block; width: calc(100% + 1.3px); height: 22px; }
.msd-footer__wave path { fill: #FFFFFF; }

/* tinklelis: logotipas+soc. | Informacija | Naujienlaiškis */
.msd-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 40px;
	align-items: start;
	padding: 56px var(--mf-side) 32px;
}
.msd-footer__title {
	font-family: "Bellota", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #FFFFFF;
	margin: 0 0 14px !important;
}

/* logotipas + soc. tinklai */
.msd-footer__logo { display: inline-block; line-height: 0; }
.msd-footer__logo img { display: block; height: 42px; width: auto; max-width: 100%; }
.msd-footer__social {
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
}
.msd-footer__social li { margin: 0; padding: 0; }
.msd-footer__social a,
.msd-footer__social a:hover,
.msd-footer__social a:focus-visible {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	transform: none !important;
	transition: background-color .2s, border-color .2s;
}
.msd-footer__social svg { width: 18px; height: 18px; fill: #FFFFFF; transition: fill .2s; }
.msd-footer__social a:hover,
.msd-footer__social a:focus-visible { background: #FFFFFF; border-color: #FFFFFF; }
.msd-footer__social a:hover svg,
.msd-footer__social a:focus-visible svg { fill: #581953; }

/* Informacija */
.msd-footer__menu { list-style: none; margin: 0; padding: 0; }
.msd-footer__menu li { margin: 0; padding: 0; }
.msd-footer__menu a,
.msd-footer__menu a:hover,
.msd-footer__menu a:focus-visible {
	display: inline-block;
	padding: 5px 0;
	font-family: "Helvetica", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: rgba(255, 255, 255, .88);
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transform: none !important;
}
.msd-footer__menu a:hover,
.msd-footer__menu a:focus-visible,
.msd-footer__menu .current-menu-item > a { color: #FFFFFF; text-decoration: underline; }

/* Naujienlaiškis */
.msd-footer__text {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, .88);
}
.msd-nl { position: relative; margin: 16px 0 0; }
.msd-nl__label,
.msd-nl__hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	left: -9999px;
}
.msd-nl__row { display: flex; gap: 10px; align-items: stretch; }
.msd-nl__email {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 18px;
	font-family: "Helvetica", sans-serif;
	font-size: 16px;
	color: #FFFFFF;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 23px;
	box-shadow: none;
	outline: none;
}
.msd-nl__email::placeholder { color: rgba(255, 255, 255, .7); }
.msd-nl__email:focus { border-color: #FFFFFF; background: rgba(255, 255, 255, .18); }
/* mygtukas — svetainės standartas, visos būsenos to paties dydžio */
.msd-nl__btn,
.msd-nl__btn:hover,
.msd-nl__btn:focus,
.msd-nl__btn:active {
	flex: 0 0 auto;
	height: 48px;
	margin: 0;
	padding: 0 26px;
	font-family: "Bellota", sans-serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #FFFFFF !important;
	background-color: transparent;
	background-image: linear-gradient(313deg, #581953 0%, #CD9BAB 100%) !important;
	border: 2px solid #E3E3E3 !important;
	border-radius: 23px !important;
	box-shadow: none !important;
	transform: none !important;
	cursor: pointer;
	text-decoration: none;
}
.msd-nl__btn:hover,
.msd-nl__btn:focus-visible {
	background-color: #FFFEFF !important;
	border-color: #FFFFFF !important;
	text-decoration: underline !important;
}
.msd-nl__btn[disabled] { opacity: .7; cursor: wait; }
.msd-nl__msg {
	margin: 10px 0 0 !important;
	font-size: 15px;
	line-height: 1.4;
	color: #FFFFFF;
}
.msd-nl__msg:empty { display: none; }

/* apatinė juosta */
.msd-footer__bottom {
	padding: 14px var(--mf-side) 16px;
	border-top: 1px solid rgba(255, 255, 255, .18);
	margin: 0 var(--mf-side);
	padding-left: 0;
	padding-right: 0;
}
.msd-footer__bottom p {
	font-family: "Helvetica", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .7);
	text-align: center;
}

/* planšetė: logotipas+soc. | Informacija viršuje, naujienlaiškis per visą plotį */
@media (max-width: 1000px) {
	.msd-footer__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 32px;
		padding-top: 48px;
		padding-bottom: 28px;
	}
	.msd-footer__news { grid-column: 1 / -1; }
}
/* telefonas */
@media (max-width: 750px) {

	.msd-footer__wave svg { height: 16px; }
	.msd-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-top: 40px;
		padding-bottom: 24px;
	}
	.msd-footer__brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
	.msd-footer__social { margin: 0; gap: 10px; }
	.msd-footer__social a { width: 40px; height: 40px; }
	/* nuorodos dviem stulpeliais — mažiau aukščio */
	.msd-footer__menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
	.msd-footer__menu a { font-size: 15px; padding: 4px 0; }
}
@media (max-width: 420px) {
	.msd-footer__logo img { height: 36px; }
	.msd-footer__social { gap: 8px; }
	.msd-footer__social a { width: 38px; height: 38px; }
	.msd-footer__social svg { width: 16px; height: 16px; }
	.msd-nl__row { flex-direction: column; }
	.msd-nl__btn { width: 100%; }
}
