/* AutomaxHK - Footer links with animated gold underline */
body footer.automax-footer a {
	position: relative;
	display: inline-block;
	color: #fbb71c;
	text-decoration: none !important;
	transition: color .2s, transform .2s, text-shadow .2s;
}
body footer.automax-footer a:hover,
body footer.automax-footer a:focus-visible {
	color: #ffd16a;
	text-decoration: none !important;
	transform: none;
	text-shadow: 0 0 12px rgba(251,183,28,.35);
}

/* AutomaxHK - Draw footer underline from left to right */
body footer.automax-footer a::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: -2px;
	left: 0;
	height: 1px;
	background: #fbb71c;
	pointer-events: none;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .25s ease;
}
body footer.automax-footer a:hover::after,
body footer.automax-footer a:focus-visible::after {
	transform: scaleX(1);
}
/* AutomaxHK - Transparent payment logos above copyright */
.automax-footer-payments {
	display: flex;
	justify-content: center;
	margin: 0 0 18px;
}
.automax-footer-payments img {
	display: block;
	width: 240px;
	max-width: 75%;
	height: auto;
	background: transparent;
}

/* AutomaxHK - Framed social icons */
body footer.automax-footer .automax-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}
body footer.automax-footer .automax-footer-social li {
	padding: 0;
}
body footer.automax-footer .automax-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(251,183,28,.5);
	border-radius: 8px;
	background: rgba(251,183,28,.06);
	color: #fbb71c;
	font-size: 16px;
	line-height: 1;
	transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body footer.automax-footer .automax-footer-social a::after {
	content: none;
}
body footer.automax-footer .automax-footer-social a:hover,
body footer.automax-footer .automax-footer-social a:focus-visible {
	border-color: #fbb71c;
	background: #fbb71c;
	color: #202020;
	transform: none;
	text-shadow: none;
	box-shadow: 0 0 16px rgba(251,183,28,.25), inset 0 1px 0 rgba(255,255,255,.25);
	text-decoration: none !important;
}

@media (prefers-reduced-motion: reduce) {
	body footer.automax-footer a::after {
		transition: none;
	}
	body footer.automax-footer a,
	body footer.automax-footer .automax-footer-social a {
		transition: none;
		transform: none;
	}
}

/* AutomaxHK - Cookie settings and author credit */
body footer.automax-footer [data-automax-cookie-settings] {
	color: #999;
}
body footer.automax-footer [data-automax-cookie-settings]:hover,
body footer.automax-footer [data-automax-cookie-settings]:focus-visible {
	color: #fbb71c !important;
}
body footer.automax-footer a.automax-footer-credit,
body footer.automax-footer a.automax-footer-credit:hover,
body footer.automax-footer a.automax-footer-credit:focus-visible {
	color: #fbb71c !important;
	font-weight: 700;
}
/* AutomaxHK - Full width separator above author credit */
body footer.automax-footer .automax-footer-credit-row {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(251,183,28,.2);
}