/* Custom Bauhaus & Lovable theme overrides & exact tokens */

:root {
	--prune: #4A154B;
	--vert: #00D68F;
	--ivoire: #FCFBF8;
	--encre: #111111;
	--border: #111111;
	--font-display: "Gabarito", sans-serif;
	--font-body: "Petrona", serif;
}

body {
	background-color: var(--ivoire);
	color: var(--encre);
	font-family: var(--font-body);
	margin: 0;
	padding: 0;
}

/* Customizer option dynamic color support */
body.custom-colors {
	background-color: var(--theme-ivoire, #FCFBF8);
	color: var(--theme-encre, #111111);
}

/* WordPress Navigation Integration */
header nav.custom-wp-nav ul {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav.custom-wp-nav ul li a {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--encre);
	text-decoration: none;
	transition: color 0.15s ease;
}

header nav.custom-wp-nav ul li a:hover,
header nav.custom-wp-nav ul li.current-menu-item > a,
header nav.custom-wp-nav ul li.current-post-ancestor > a {
	color: var(--prune);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

/* Mobile Menu Overlay */
#mobile-menu-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 50;
	background-color: var(--ivoire);
	padding: 2rem;
	flex-direction: column;
	justify-content: space-between;
}

#mobile-menu-overlay.active {
	display: flex;
}

#mobile-menu-overlay ul {
	list-style: none;
	padding: 0;
	margin: 2rem 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#mobile-menu-overlay ul li a {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.5rem;
	color: var(--encre);
	text-decoration: none;
}

/* Footer menu integration */
footer .custom-wp-footer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

footer .custom-wp-footer-nav ul li a {
	color: var(--ivoire);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.15s ease;
}

footer .custom-wp-footer-nav ul li a:hover {
	color: var(--vert);
}

/* WordPress post content styling matching reference editorial */
.prose-editorial h2 {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.875rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: var(--encre);
}

.prose-editorial h3 {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.5rem;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--encre);
}

.prose-editorial p {
	font-size: 1.125rem;
	line-height: 1.625;
	margin-bottom: 1.5rem;
}

.prose-editorial ul {
	list-style-type: disc;
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.prose-editorial ul li {
	margin-bottom: 0.5rem;
}

.prose-editorial blockquote {
	border-left: 4px solid var(--vert);
	padding-left: 1rem;
	font-style: italic;
	margin: 1.5rem 0;
	font-size: 1.125rem;
}

.prose-editorial table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	border: 2px solid var(--encre);
}

.prose-editorial th,
.prose-editorial td {
	border: 1px solid var(--encre);
	padding: 0.75rem 1rem;
	text-align: left;
}

.prose-editorial th {
	background-color: var(--prune);
	color: var(--ivoire);
	font-family: var(--font-display);
	font-weight: 700;
}

.encart {
	border: 2px solid var(--encre);
	background-color: var(--ivoire);
	padding: 1.25rem;
	margin: 1.5rem 0;
	position: relative;
}

.encart::before {
	content: attr(data-label);
	display: inline-block;
	background-color: var(--vert);
	color: var(--encre);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.25rem 0.5rem;
	margin-bottom: 0.75rem;
}
