/* Site footer (desktop) - overrides the legacy footer rules in styleComplete.css */

footer.site-footer {
	padding: 0;
	border-top: 0;
	background-color: #f5f8fc;
	color: #1d61a1;
	font-family: 'Samsung sans', sans-serif;
	font-size: .875rem;
}

	/* One typeface and one colour for every piece of footer text */
	.site-footer p,
	.site-footer a,
	.site-footer span {
		font-family: inherit;
		color: #1d61a1;
	}

	footer.site-footer::before {
		content: "";
		display: block;
		height: 3px;
		background: linear-gradient(90deg, #1d61a1 0%, #3183d4 50%, #D0A650 80%, #fec736 100%);
	}
/* Row 1: logos (left) + the three columns (right). Row 2: copyright, full width. */
.site-footer .footer-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px 32px;
	padding-top: 36px;
	padding-bottom: 24px;
	height: auto;
}

.site-footer .footer-cols {
	display: grid;
	grid-template-columns: repeat(3, auto);
	gap: 32px;
}

.site-footer .footer-copyright {
	flex: 1 0 100%;
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid #dfe6ef;
	font-weight: 400;
	font-size: .875em;
	line-height: 1.5;
	white-space: nowrap;
}

/* Columns */
.site-footer .footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
	margin: 0;
}

.site-footer .footer-divided {
	padding-left: 32px;
	border-left: 1px solid #dfe6ef;
}

.site-footer .footer-title {
	margin: 0 0 2px;
	font-size: .9em;
	font-weight: 700;
}

.site-footer .footer-col a,
.site-footer .footer-email {
	margin: 0;
	font-size: .9em;
	font-weight: 400;
	text-decoration: none;
}

	.site-footer .footer-col a:hover {
		text-decoration: underline;
	}

/* App store buttons (_StoreButton.cshtml): dark button with the store logo and two lines of text.
   Selectors carry .site-footer too, so the footer's blue link/span colour doesn't win. */
.site-footer .footer-apps {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

a.store-button,
.site-footer a.store-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 158px;
	margin: 0 !important;
	padding: 8px 14px 8px 12px;
	color: #fff;
	text-align: left;
	text-decoration: none;
	background: #132033;
	border: 1px solid #26374f;
	border-radius: 12px;
	box-shadow: 0 7px 18px rgba(6, 28, 57, .12);
	transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

	a.store-button:hover,
	a.store-button:focus-visible,
	.site-footer a.store-button:hover {
		color: #fff;
		text-decoration: none;
		background: #0b4a8f;
		border-color: #0b4a8f;
		box-shadow: 0 10px 22px rgba(11, 74, 143, .25);
		transform: translateY(-1px);
	}

	.store-button .store-icon {
		flex: 0 0 24px;
		width: 24px;
		height: 28px;
	}

	.store-button > span,
	.site-footer .store-button > span {
		display: grid;
		line-height: 1.05;
		color: inherit;
	}

	.store-button small {
		font-size: 9px;
		font-weight: 600;
		letter-spacing: .02em;
		color: inherit;
	}

	.store-button strong {
		margin-top: 3px;
		font-size: 14px;
		font-weight: 700;
		color: inherit;
	}

/* Email is assembled in CSS so the address never appears as plain text in the HTML (anti-scraping) */
.site-footer .footer-email::after {
	content: attr(data-user) "@" attr(data-domain);
}
/* Logos: two lockups stacked — each logo with its name on the right */
.site-footer .footer-logos {
	display: grid;
	flex: 1 0 auto;
	align-content: center;
	gap: 16px;
}

.site-footer .footer-lockup {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-align: left;
}

	/* Both logos sit in the same square box (scaled to fit, never stretched),
	   so the two names start on the same vertical line. */
	.site-footer .footer-lockup img {
		flex-shrink: 0;
		width: 46px;
		height: 46px;
		object-fit: contain;
	}

.site-footer .footer-lockup-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	margin: 0;
	/* ~11px against the 14px desktop footer */
	font-size: .78em;
	font-weight: 700;
	line-height: 1.3;
}

	/* Albanian first and strongest; the other two languages a step quieter */
	.site-footer .footer-lockup-text span + span {
		font-weight: 400;
	}

@media only screen and (max-width: 640px) {
	.site-footer .footer-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer .footer-copyright {
		white-space: normal;
	}

	.site-footer .footer-divided {
		padding-left: 0;
		padding-top: 24px;
		border-left: 0;
		border-top: 1px solid #dfe6ef;
	}
}
