/* Habesha site chrome — modern header polish + multi-column footer */
:root {
	--hfd-gold: #d4af37;
	--hfd-gold-soft: #ecd98c;
	--hfd-ink: #f3f1ea;
	--hfd-muted: #9496a0;
	--hfd-panel: #12151b;
	--hfd-border: rgba(255, 255, 255, 0.08);
}

/* ——— Top utility strip ——— */
.hfd-topbar {
	background: linear-gradient(90deg, #0a0b0e 0%, #141820 50%, #0a0b0e 100%);
	border-bottom: 1px solid rgba(212, 175, 55, 0.18);
	font-size: 12px;
	color: var(--hfd-muted);
	z-index: 100;
	position: relative;
}
.hfd-topbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 7px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: space-between;
}
.hfd-topbar__pill {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	border-radius: 999px;
	border: 1px solid rgba(212, 175, 55, 0.35);
	color: var(--hfd-gold-soft);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 10px;
}
.hfd-topbar__msg {
	flex: 1;
	min-width: 160px;
	color: #a8adb8;
}
.hfd-topbar__cta {
	color: #1a1206;
	background: linear-gradient(135deg, #ecd98c, #d4af37);
	text-decoration: none;
	font-weight: 700;
	font-size: 11px;
	padding: 5px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.hfd-topbar__cta:hover {
	filter: brightness(1.05);
}
@media (max-width: 640px) {
	.hfd-topbar__msg { display: none; }
}

/* ——— Header / sticky shell (Aurora overrides) ——— */
body.hfd-chrome header.aurora-glass,
body.hfd-chrome header.sticky,
body.hfd-chrome #aurora-header,
body.hfd-chrome header.site-header,
body.hfd-chrome .site-header,
body.hfd-chrome #masthead {
	background: rgba(10, 11, 14, 0.9) !important;
	backdrop-filter: blur(16px) saturate(1.2);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}
/* Do NOT zero brand gradient text — that made the logo invisible */
body.hfd-chrome header a.aurora-gradient:not(.aurora-gradient-text),
body.hfd-chrome header .aurora-gradient:is(a,button):not(.aurora-gradient-text) {
	background: linear-gradient(135deg, var(--hfd-accent-soft, #ecd98c), var(--hfd-accent, #d4af37)) !important;
}

/* ——— VISIBLE LOGO / brand wordmark ——— */
body.hfd-chrome header a[href*="habeshaescort"],
body.hfd-chrome header a.flex.items-center,
body.hfd-chrome header .flex.items-center.gap-2 {
	text-decoration: none !important;
}
body.hfd-chrome header .aurora-gradient-text,
body.hfd-chrome header span.font-display,
body.hfd-chrome header span.text-2xl,
body.hfd-chrome .hfd-brand-logo,
body.hfd-chrome header a > span {
	font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em !important;
	/* Solid fallback first — never transparent-only without clip support */
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: none !important;
	background-image: none !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
	opacity: 1 !important;
	visibility: visible !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}
/* Gold/red accent gradient text when clip is supported */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	body.hfd-chrome header .aurora-gradient-text,
	body.hfd-chrome header span.font-display.font-bold,
	body.hfd-chrome .hfd-brand-logo {
		background-image: linear-gradient(135deg, var(--hfd-accent-soft, #ecd98c) 0%, var(--hfd-accent, #d4af37) 55%, var(--hfd-accent, #d4af37) 100%) !important;
		-webkit-background-clip: text !important;
		background-clip: text !important;
		color: transparent !important;
		-webkit-text-fill-color: transparent !important;
		text-shadow: none !important;
	}
}
/* If still invisible (filter/opacity on parent), force opaque gold fill */
body.hfd-chrome header a.flex span {
	min-height: 1em;
	line-height: 1.15;
	display: inline-block;
}
body.hfd-chrome custom-logo-link img,
body.hfd-chrome .custom-logo,
body.hfd-chrome header img.custom-logo {
	display: block !important;
	max-height: 40px !important;
	width: auto !important;
	opacity: 1 !important;
	visibility: visible !important;
	filter: none !important;
}

/* Soft accent line under sticky header */
body.hfd-chrome header.sticky::after,
body.hfd-chrome header.aurora-glass::after,
body.hfd-chrome #aurora-header::after,
body.hfd-chrome header.site-header::after {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--hfd-accent, #d4af37), transparent);
	pointer-events: none;
}

/* Hide legacy Aurora footer (we inject .hfd-footer) */
body.hfd-chrome footer.site-footer,
body.hfd-chrome .aurora-footer,
body.hfd-chrome #colophon:not(.hfd-footer),
body.hfd-chrome footer:not(.hfd-footer) {
	display: none !important;
}

/* ——— Modern footer ——— */
.hfd-footer {
	position: relative;
	margin-top: 56px;
	background: linear-gradient(180deg, #0c0e12 0%, #08090c 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--hfd-muted);
	overflow: hidden;
}
.hfd-footer__glow {
	position: absolute;
	inset: 0 0 auto 0;
	height: 180px;
	background:
		radial-gradient(ellipse 50% 80% at 20% 0%, rgba(212, 175, 55, 0.09), transparent 70%),
		radial-gradient(ellipse 40% 70% at 80% 0%, rgba(63, 163, 150, 0.06), transparent 70%);
	pointer-events: none;
}
.hfd-footer__inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 18px 28px;
}
.hfd-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
	gap: 28px 22px;
}
@media (max-width: 980px) {
	.hfd-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.hfd-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 560px) {
	.hfd-footer__grid {
		grid-template-columns: 1fr;
	}
}
.hfd-footer__logo {
	display: inline-block;
	font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
	font-size: 1.45rem;
	color: #fff;
	text-decoration: none;
	margin-bottom: 10px;
}
.hfd-footer__logo:hover {
	color: var(--hfd-gold-soft);
}
.hfd-footer__lead {
	margin: 0 0 16px;
	max-width: 32rem;
	line-height: 1.6;
	font-size: 14px;
	color: #9aa0ad;
}
.hfd-footer__btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ecd98c, #d4af37);
	color: #1a1206 !important;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none !important;
	border: 0;
}
.hfd-footer__btn:hover {
	filter: brightness(1.06);
}
.hfd-footer__col h3 {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e8e6df;
}
.hfd-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hfd-footer__col li {
	margin: 0 0 8px;
}
.hfd-footer__col a {
	color: #9aa0ad;
	text-decoration: none;
	font-size: 13.5px;
	transition: color 0.15s;
}
.hfd-footer__col a:hover {
	color: var(--hfd-gold-soft);
}
.hfd-footer__bar {
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	align-items: center;
	justify-content: space-between;
}
.hfd-footer__copy {
	margin: 0;
	font-size: 12.5px;
	color: #6e7380;
	max-width: 42rem;
	line-height: 1.5;
}
.hfd-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}
.hfd-footer__legal a {
	font-size: 12.5px;
	color: #8b909c;
	text-decoration: none;
}
.hfd-footer__legal a:hover {
	color: var(--hfd-gold-soft);
}

/* Content pages polish */
body.hfd-chrome.page .entry-content a,
body.hfd-chrome.single-post .entry-content a {
	color: var(--hfd-gold-soft);
}
body.hfd-chrome.page .entry-content ul {
	padding-left: 1.2rem;
}
body.hfd-chrome.blog .post,
body.hfd-chrome.archive .post {
	padding: 18px 0;
	border-bottom: 1px solid var(--hfd-border);
}
body.hfd-chrome.blog .entry-title a {
	color: #fff;
	text-decoration: none;
	font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}
body.hfd-chrome.blog .entry-title a:hover {
	color: var(--hfd-gold-soft);
}

/* Home color harmony: accent from theme vars (no invisible logo) */
body.hfd-chrome [class*="bg-fuchsia"] {
	background-color: var(--hfd-accent, #d4af37) !important;
}
body.hfd-chrome [class*="text-fuchsia"] {
	color: var(--hfd-accent-soft, #ecd98c) !important;
}
body.hfd-chrome [class*="border-fuchsia"] {
	border-color: color-mix(in srgb, var(--hfd-accent, #d4af37) 28%, transparent) !important;
}
body.hfd-chrome a.aurora-gradient:not(.aurora-gradient-text),
body.hfd-chrome .aurora-gradient:not(.aurora-gradient-text):is(a, button, .btn) {
	background: linear-gradient(135deg, var(--hfd-accent-soft, #ecd98c), var(--hfd-accent, #d4af37)) !important;
	color: var(--hfd-on-accent, #1a1206) !important;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--hfd-accent, #d4af37) 22%, transparent) !important;
}
body.hfd-chrome [class*="shadow-fuchsia"] {
	box-shadow: 0 10px 30px color-mix(in srgb, var(--hfd-accent, #d4af37) 18%, transparent) !important;
}
body.hfd-home h2,
body.hfd-chrome.home h2,
body.hfd-chrome.front-page h2 {
	color: var(--hfd-ink, #f3f1ea);
}
/* Always hide legacy theme footer (HFD injects modern one) */
body.hfd-chrome footer.aurora-footer,
body.hfd-free-directory footer.aurora-footer {
	display: none !important;
}
