/* Hey Xi'an dark footer (ported from the Chengdu Expat footer). */
.hx-site-footer {
	background: #1b2322;
	color: #dbe5e2;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.55;
}
.hx-site-footer__inner {
	padding-inline: 15px;
}
.hx-site-footer a {
	color: #f2f7f5;
	text-decoration: none;
	text-underline-offset: .25em;
}
.hx-site-footer a:hover {
	color: #a9e0cb;
	text-decoration: underline;
}
.hx-site-footer a:focus-visible {
	outline: 2px solid #a9e0cb;
	outline-offset: 4px;
}
.hx-site-footer__intro,
.hx-site-footer__main,
.hx-site-footer__bottom {
	display: grid;
	gap: 24px;
	padding-inline: max(0px, calc((100vw - 1500px) / 2));
}
.hx-site-footer__intro {
	grid-template-columns: 1fr auto;
	align-items: center;
	padding-block: clamp(28px, 4vw, 50px);
	border-bottom: 1px solid #3b4845;
}
.hx-site-footer__intro h2 {
	margin: 0;
	color: #f5faf8;
	font-size: clamp(32px, 4vw, 60px);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -.045em;
}
.hx-site-footer .hx-site-footer__cta {
	justify-self: start;
	border-radius: 8px;
	padding: 11px 17px;
	background: #2a705a;
	color: #fff;
	font-weight: 650;
	transition: background-color .15s ease;
}
.hx-site-footer .hx-site-footer__cta:hover {
	background: #338468;
	color: #fff;
}
.hx-site-footer__main {
	grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr);
	gap: clamp(24px, 4vw, 65px);
	padding-block: clamp(34px, 5vw, 64px);
}
.hx-site-footer__brand img {
	display: block;
	width: min(100%, 185px);
	height: auto;
}
.hx-site-footer__brand p {
	max-width: 30ch;
	margin: 16px 0 0;
}
.hx-site-footer__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.hx-site-footer__nav h3 {
	margin: 0 0 12px;
	color: #f5faf8;
	font-size: 16px;
	font-weight: 700;
}
.hx-site-footer__nav ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hx-site-footer__nav a {
	display: inline-block;
	padding-block: 2px;
}
.hx-site-footer__bottom {
	grid-template-columns: 1fr auto;
	align-items: start;
	border-top: 1px solid #3b4845;
	padding-block: 20px 26px;
	color: #b7c6c1;
	font-size: 13px;
}
.hx-site-footer__credits p { margin: 0; }
.hx-site-footer__utility {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}
@media (max-width: 850px) {
.hx-site-footer__main { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
.hx-site-footer__intro,
.hx-site-footer__bottom { grid-template-columns: 1fr; }
.hx-site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
.hx-site-footer .hx-site-footer__cta { transition: none; }
}
.hx-site-footer__intro h2 em {
	font-family: Baskerville, Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.025em;
}
.hx-site-footer__intro h2 em { color: #8fd6bd; }
.hx-site-footer__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
html .hx-site-footer .hx-site-footer__cta,
html[data-theme="dark"] .hx-site-footer .hx-site-footer__cta { color: #fff !important; }
@media (max-width: 767px) {
}
@media (max-width: 991px) {
}

/* Hey Xi'an: the brand column and the three link columns reuse the site's own footer widgets. */
.hx-site-footer__brand img { background: #fff; padding: 8px 12px; border-radius: 10px; }
.hx-site-footer__brand .widget { margin-top: 16px; }
.hx-site-footer .widget { margin: 0; }
.hx-site-footer .widget-title { margin: 0 0 12px; padding: 0; border: 0; text-align: left; }
.hx-site-footer .widget-title h2, .hx-site-footer .widgettitle { margin: 0; color: #f5faf8; font-size: 16px; font-weight: 700; line-height: 1.3; }
.hx-site-footer .widget ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hx-site-footer .widget p { margin: 0 0 10px; }
.hx-site-footer .widget i, .hx-site-footer .widget .fa, .hx-site-footer .widget .fab, .hx-site-footer .widget .fas { margin-right: 6px; opacity: .85; }
.hx-site-footer__bottom .widget, .hx-site-footer__credits p { color: #b7c6c1; }
.hx-site-footer__bottom a { color: #f2f7f5; text-decoration: underline; text-underline-offset: .2em; }
.hx-site-footer__nav .hx-site-footer__col { min-width: 0; }
@media (max-width: 560px) { .hx-site-footer__nav { grid-template-columns: 1fr; } }

/* v2: the footer-left widget already contains the logo image; widget headings match the first column */
.hx-site-footer__brand img { display: block !important; float: none !important; width: min(100%, 185px) !important; height: auto !important; margin: 0 0 14px !important; background: #fff; padding: 8px 12px; border-radius: 10px; }
.hx-site-footer__brand, .hx-site-footer__brand p { text-align: left !important; color: #dbe5e2; }
html .hx-site-footer .widget-title { margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; text-align: left !important; background: none !important; }
html .hx-site-footer .widget-title h2, html .hx-site-footer .widgettitle { margin: 0 !important; color: #f5faf8 !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; text-transform: none !important; }
html .hx-site-footer .widget-title h2:after, html .hx-site-footer .widget-title:after, html .hx-site-footer .widget-title:before { display: none !important; }
html .hx-site-footer .widget_recent_entries li { margin: 0 0 8px; }
/* v3: in this theme the widget title is the <h2 class="widget-title"> itself */
html .hx-site-footer h2.widget-title { margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; color: #f5faf8 !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; text-align: left !important; text-transform: none !important; letter-spacing: 0 !important; }
html .hx-site-footer h2.widget-title::after, html .hx-site-footer h2.widget-title::before { display: none !important; }

/* v4: the footer logo file is already a light bubble on transparency; no tile behind it */
.hx-site-footer__brand img { background: none !important; padding: 0 !important; border-radius: 0 !important; }
