/*
Theme Name: Magija.eu
Theme URI: https://magija.eu/
Author: Dev4you.lt
Author URI: https://dev4you.lt/
Description: Minimal Elementor-friendly design shell for the Magija.eu landing pages.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magija-eu
Tags: one-column, custom-logo, translation-ready
*/

html {
	margin: 0 !important;
	max-width: 100%;
	overflow-x: clip;
	padding: 0 !important;
	scroll-behavior: smooth;
}

body {
	background: #f5f9ff;
	margin: 0 !important;
	max-width: 100%;
	overflow-x: clip;
	padding: 0 !important;
}

.magija-site-main {
	margin: 0 !important;
	min-height: 100vh;
	overflow: visible;
	padding: 0 !important;
}

.magija-footer {
	background-image: url("design/pagrindinis/footer.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	color: #ffffff;
	font-family: "Quicksand", Arial, sans-serif;
	height: 374px;
	margin: 0;
	max-width: 100%;
	position: relative;
	text-align: center;
	width: 100%;
}

.magija-footer__inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: flex-start;
	padding: 30px 20px 18px;
}

.magija-footer__heading,
.magija-footer__questions {
	color: #e1b166;
	font-size: 35px;
	font-weight: 700;
	line-height: 57px;
	margin: 0;
}

.magija-footer__socials {
	display: flex;
	gap: 14px;
	justify-content: center;
	margin-top: 3px;
}

.magija-footer__social {
	align-items: center;
	background: #ffffff;
	border-radius: 999px;
	color: #285bdd;
	display: inline-flex;
	height: 46px;
	justify-content: center;
	text-decoration: none;
	width: 46px;
}

.magija-footer__social svg {
	display: block;
	fill: currentColor;
	height: 28px;
	width: 28px;
}

.magija-footer__questions {
	margin-top: 21px;
}

.magija-footer__contact {
	display: block;
	font-size: 25px;
	font-weight: 500;
	line-height: 38px;
	margin: 4px 0 0;
}

.magija-footer__email {
	align-items: center;
	color: #ffffff;
	display: flex;
	font-size: 25px;
	font-weight: 500;
	gap: 9px;
	line-height: 38px;
	margin-top: 7px;
	text-decoration: underline;
	text-underline-position: from-font;
}

.magija-footer__email img {
	display: block;
	height: 24px;
	width: 31px;
}

.magija-footer__copy {
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	margin: auto 0 0;
	overflow-wrap: anywhere;
	width: 100%;
}

.magija-footer__copy a {
	color: inherit;
	text-decoration: underline;
	text-underline-position: from-font;
}

.magija-footer__copy-line {
	display: inline;
}

.magija-privacy {
	background: #f5f9ff;
	box-sizing: border-box;
	font-family: "Quicksand", Arial, sans-serif;
	min-height: 2123px;
	padding-bottom: 53px;
	position: relative;
}

.magija-privacy__hero {
	background-color: #143bb0;
	background-image: var(--magija-privacy-hero);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	height: 443px;
	position: relative;
}

.magija-privacy__hero::after {
	background-image: var(--magija-privacy-cut);
	background-position: center bottom;
	background-repeat: repeat-x;
	background-size: 100% 123px;
	bottom: -89px;
	content: "";
	height: 123px;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 0;
}

.magija-privacy--protein .magija-privacy__hero {
	background-color: #dd1d5d;
}

.magija-privacy__menu {
	display: grid;
	grid-template-columns: minmax(0, 485px) 260px minmax(0, 485px);
	left: 50%;
	max-width: 1227px;
	position: absolute;
	top: 35px;
	transform: translateX(-50%);
	width: min(1227px, calc(100vw - 48px));
	z-index: 2;
}

.magija-privacy--protein .magija-privacy__menu {
	grid-template-columns: minmax(0, 485px) 220px minmax(0, 485px);
	max-width: 1170px;
	width: min(1170px, calc(100vw - 48px));
}

.magija-privacy__nav {
	align-items: center;
	display: flex;
	gap: 38px;
	padding-top: 23px;
}

.magija-privacy__nav--left {
	justify-content: flex-end;
}

.magija-privacy__nav--right {
	justify-content: flex-start;
}

.magija-privacy--protein .magija-privacy__nav--left {
	padding-right: 30px;
}

.magija-privacy--protein .magija-privacy__nav--right {
	gap: 47px;
	padding-left: 26px;
}

.magija-privacy__nav a {
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.magija-privacy__logo {
	align-items: flex-start;
	display: flex;
	justify-content: center;
	min-height: 120px;
}

.magija-privacy__logo img {
	display: block;
	height: 120px;
	object-fit: contain;
	width: 220px;
}

.magija-privacy--protein .magija-privacy__logo {
	align-items: flex-start;
	min-height: 71px;
}

.magija-privacy--protein .magija-privacy__logo img {
	height: 71px;
	width: 235px;
}

.magija-privacy__flag {
	background: linear-gradient(to bottom, #000000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
	display: block;
	height: 17px;
	width: 27px;
}

.magija-privacy__card {
	background: #ffffff;
	border-radius: 23px;
	box-sizing: border-box;
	margin: -285px auto 0;
	min-height: 1912px;
	max-width: 1200px;
	padding: 47px 61px 34px;
	position: relative;
	width: min(1200px, calc(100vw - 48px));
	z-index: 1;
}

.magija-privacy__card h1 {
	color: var(--magija-privacy-accent);
	font-size: 45px;
	font-weight: 700;
	line-height: 66px;
	margin: 0 0 19px;
	text-align: center;
}

.magija-privacy__content {
	color: #1f4796;
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	text-align: justify;
}

.magija-privacy__content p {
	margin: 0 0 22px;
}

.magija-privacy__content p:last-child {
	margin-bottom: 0;
}

.magija-privacy-footer {
	background-image: var(--magija-privacy-footer-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	color: #ffffff;
	font-family: "Quicksand", Arial, sans-serif;
	height: 374px;
	margin: 0;
	position: relative;
	text-align: center;
}

.magija-privacy-footer--protein {
	background-color: #000000;
	background-image: none !important;
}

.magija-privacy-footer__inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 30px 20px 28px;
}

.magija-privacy-footer h2 {
	color: var(--magija-privacy-accent);
	font-size: 45px;
	font-weight: 700;
	line-height: 49px;
	margin: 0;
}

.magija-privacy-footer__socials {
	display: flex;
	gap: 14px;
	margin-top: 11px;
}

.magija-privacy-footer__social {
	align-items: center;
	background: #ffffff;
	border-radius: 999px;
	color: #285bdd;
	display: inline-flex;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.magija-privacy-footer__social svg {
	display: block;
	fill: currentColor;
	height: 28px;
	width: 28px;
}

.magija-privacy-footer__questions {
	line-height: 66px !important;
	margin-top: 21px !important;
}

.magija-privacy-footer__contact {
	font-size: 30px;
	font-weight: 500;
	line-height: normal;
	margin: -4px 0 0;
}

.magija-privacy-footer__email {
	color: #ffffff;
	font-size: 30px;
	font-weight: 500;
	line-height: normal;
	margin-top: 0;
	text-decoration: underline;
	text-underline-position: from-font;
}

.magija-privacy-footer__copy {
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	margin: auto 0 0;
}

.magija-privacy-footer__copy a {
	color: inherit;
	text-decoration: underline;
	text-underline-position: from-font;
}

@media (max-width: 700px) {
	.magija-footer {
		height: auto;
		min-height: 424px;
	}

	.magija-footer__inner {
		box-sizing: border-box;
		min-height: 424px;
		padding: 34px 0 30px;
	}

	.magija-footer__heading {
		font-size: 36px;
		line-height: 45px;
		max-width: 305px;
	}

	.magija-footer__heading--long {
		font-size: 36px;
		line-height: 45px;
		max-width: 305px;
	}

	.magija-footer__social {
		height: 46px;
		width: 46px;
	}

	.magija-footer__socials {
		gap: 13px;
		margin-top: 10px;
	}

	.magija-footer__questions {
		display: block;
		font-size: 36px;
		line-height: 45px;
		margin-top: 32px;
	}

	.magija-footer__contact {
		display: block;
		font-size: 18px;
		font-weight: 500;
		line-height: 23px;
		margin: 0;
	}

	.magija-footer__email {
		align-items: center;
		color: #ffffff;
		display: flex;
		font-size: 18px;
		font-weight: 500;
		gap: 10px;
		line-height: 24px;
		margin-top: 13px;
		text-decoration: underline;
		text-underline-position: from-font;
		transform: translateX(-8px);
	}

	.magija-footer__email img {
		display: block;
		height: 24px;
		width: 31px;
	}

	.magija-footer__copy {
		font-size: 14px;
		line-height: 18px;
		margin-top: auto;
		max-width: 390px;
		padding: 0 8px;
		width: min(390px, 100%);
	}

	.magija-footer__copy-line {
		display: block;
	}
}

@media (max-width: 900px) {
	.magija-privacy {
		min-height: 0;
		padding-bottom: 34px;
	}

	.magija-privacy__menu {
		grid-template-columns: 1fr;
		top: 22px;
	}

	.magija-privacy__logo {
		grid-row: 1;
		min-height: 86px;
	}

	.magija-privacy__logo img,
	.magija-privacy--protein .magija-privacy__logo img {
		height: auto;
		width: 180px;
	}

	.magija-privacy__nav {
		flex-wrap: wrap;
		gap: 14px 20px;
		justify-content: center;
		padding-left: 0;
		padding-right: 0;
		padding-top: 10px;
	}

	.magija-privacy__nav--left {
		grid-row: 2;
	}

	.magija-privacy__nav--right {
		grid-row: 3;
	}

	.magija-privacy__card {
		margin-top: -210px;
		min-height: 0;
		padding: 36px 24px;
	}

	.magija-privacy__card h1 {
		font-size: 34px;
		line-height: 1.18;
	}

	.magija-privacy__content {
		font-size: 15px;
	}

	.magija-privacy-footer {
		height: auto;
		min-height: 320px;
	}

	.magija-privacy-footer__inner {
		padding: 34px 20px 24px;
	}

	.magija-privacy-footer h2 {
		font-size: 34px;
		line-height: 1.18;
	}

	.magija-privacy-footer__contact,
	.magija-privacy-footer__email {
		font-size: 22px;
	}

	.magija-privacy-footer__copy {
		font-size: 12px;
		max-width: 420px;
	}
}
