/* ==================================================================
   The Longevity Edge — Kadence parent theme overrides
   Sitewide adjustments to make Kadence's header, footer, and content
   wrappers match our design system. Loaded after components.css.
   ================================================================== */

/* === Site title (brand link) ====================================
   Kadence uses .site-branding > .brand a or similar. We want
   Newsreader display font, navy color, slightly larger size. */
.site-branding .brand,
.site-branding .brand a,
.site-branding .site-title,
.site-branding .site-title a,
a.brand {
	font-family: var(--font-display) !important;
	font-weight: 600 !important;
	color: var(--navy-900) !important;
	letter-spacing: 0.04em !important;
	text-decoration: none !important;
}

/* === Primary nav ================================================
   Kadence renders nav links in Inter already (good) but lets us
   confirm + lift the weight + color. */
.header-navigation a,
.main-navigation a,
.menu-container a,
.header-menu-container a {
	font-family: var(--font-body) !important;
	font-weight: 500;
	color: var(--navy-900);
	text-decoration: none;
}
.header-navigation a:hover,
.main-navigation a:hover,
.menu-container a:hover {
	color: var(--gold-600);
}

/* === Hide Kadence page-title bar on PDPs ========================
   Some Kadence configurations emit an empty .entry-hero or
   .above-title-bar wrapper that adds vertical whitespace below
   the menu. Suppress on single product pages. */
.single-product .entry-hero,
.single-product .above-title-bar,
.single-product .kadence-title-area,
.single-product .entry-header-wrap,
.single-product header.entry-header,
.single-product .product_title.entry-title:not(.pdp-title) {
	display: none !important;
}

/* === Tighten content top padding on PDPs ========================
   Kadence's .wrap.kt-clear default adds top padding; we want our
   .pdp-top section to start closer to the header. */
.single-product main.wrap.kt-clear,
.single-product main#main {
	padding-top: 0 !important;
}
.single-product .le-pdp-content > .pdp-top:first-child {
	padding-top: var(--s-7);
}

/* === Footer reset ===============================================
   Kadence's default footer renders "© Year Site - Theme by Kadence".
   We replace it entirely via footer.php, but also hide the credit
   link belt-and-suspenders in case the theme is reactivated. */
.site-info .credits a[href*="kadence"],
.site-info a[href*="kadence"],
.kadence-footer-html a[href*="kadence"] {
	display: none !important;
}
