/*
Theme Name: Bonga (Kadence Child)
Description: Kadence child theme for Bonga — Gaston Jean-Baptiste, Master Haitian Drummer.
Author: Deborah Rankin Development
Template: kadence
Version: 2.2.8
Requires at least: 6.0
Text Domain: bonga-kadence
*/

/*
 * Colours, fonts, logo, header/footer layout, page background image and
 * button basics live in the Customizer. This file holds only what the
 * Customizer can't do: glass panels, the rhythm line, and component styling.
 */

:root {
	interpolate-size: allow-keywords;
	--bonga-teal: #36d6c3;
	--bonga-ember: #ff5a36;
	--bonga-blue: #5b8cff;
	--bonga-magenta: #ff4f9a;
	--bonga-gradient: linear-gradient(100deg, #ffdb8a 0%, #ffc247 40%, #ff5a36 100%);
	--ease-out: cubic-bezier(.22, .8, .24, 1);
	--glass-bg: rgba(30, 19, 15, .44);
	--glass-border: rgba(255, 240, 215, .14);
	--glass-blur: blur(18px) saturate(140%);
	--glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 60px -24px rgba(0, 0, 0, .85);
	--radius: 20px;
	/* Rhythm line: 16-step pattern — accents as bars, ghost notes as dots */
	--rhythm-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='14'%3E%3Cg%3E%3Crect x='3' y='1' width='3' height='12' rx='1.5' fill='%23D9412B'/%3E%3Ccircle cx='14.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Ccircle cx='24.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Crect x='33' y='3' width='3' height='8' rx='1.5' fill='%23E8B04A'/%3E%3Ccircle cx='44.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Ccircle cx='54.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Crect x='63' y='3' width='3' height='8' rx='1.5' fill='%23E8B04A'/%3E%3Ccircle cx='74.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Ccircle cx='84.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Ccircle cx='94.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Crect x='103' y='1' width='3' height='12' rx='1.5' fill='%232BB3A3'/%3E%3Ccircle cx='114.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Crect x='123' y='3' width='3' height='8' rx='1.5' fill='%23E8B04A'/%3E%3Ccircle cx='134.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Ccircle cx='144.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3Ccircle cx='154.5' cy='7' r='1.3' fill='%23E8B04A' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
}

/* Reusable glass surface */
.bonga-glass,
.bonga-framed .entry.content-bg.single-entry,
.bonga-framed .primary-sidebar .sidebar-inner-wrap,
.bonga-framed .site-footer .site-footer-row-container-inner {
	background:
		radial-gradient(120% 55% at 0% 0%, rgba(255, 90, 54, .10), transparent 60%),
		radial-gradient(110% 60% at 100% 100%, rgba(54, 214, 195, .09), transparent 60%),
		var(--glass-bg);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--glass-shadow);
}

/* Reusable rhythm line */
.bonga-rhythm,
.bonga-framed .site-header .site-main-header-wrap::after,
.bonga-framed .site-footer::before,
.bonga-page-title::after {
	display: block;
	height: 14px;
	background: var(--rhythm-line) repeat-x left center;
	content: "";
}

/* ======================================================================
   Header
   ====================================================================== */
.bonga-framed .site-header .site-main-header-wrap::after {
	max-width: var(--global-content-width);
	margin: 0 auto;
	padding: 0 var(--global-content-edge-padding);
	background-origin: content-box;
	background-clip: content-box;
	opacity: .85;
}

.bonga-framed .site-header .custom-logo {
	filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55));
}

/* ======================================================================
   Content panel
   ====================================================================== */
.bonga-framed .content-area {
	margin-top: 2.25rem;
	margin-bottom: 2.5rem;
}

.bonga-page-title {
	margin: 0 0 1.75rem;
	font-weight: 800;
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: .02em;
	text-transform: uppercase;
	background: var(--bonga-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.bonga-page-title::after {
	width: 160px;
	margin-top: .9rem;
}

.bonga-framed .entry-content h2 {
	font-size: 1.3rem;
	line-height: 1.35;
	color: var(--global-palette3);
	margin: 0 0 .9rem;
}

.bonga-framed .entry-content h3 {
	font-size: 1rem;
	line-height: 1.45;
	letter-spacing: .02em;
	color: var(--bonga-teal);
	margin: 1.6rem 0 .5rem;
}

.bonga-framed .entry-content a:not(.wp-element-button):not(:has(img)) {
	color: var(--global-palette1);
	font-weight: 600;
	text-decoration: none;
	transition: color .25s ease, text-shadow .25s ease;
}

.bonga-framed .entry-content a:not(.wp-element-button):hover {
	color: var(--bonga-teal);
	text-shadow: 0 0 14px rgba(54, 214, 195, .45);
}

.bonga-framed .entry-content strong {
	color: var(--global-palette3);
}

.bonga-framed .entry-content em {
	color: var(--global-palette5);
}

/* ======================================================================
   Images
   ====================================================================== */
.bonga-framed .entry-content .wp-block-image img,
.bonga-framed .entry-content .wp-block-gallery img {
	border-radius: 14px;
	box-shadow: 0 0 0 1px var(--glass-border), 0 16px 36px -14px rgba(0, 0, 0, .9);
}

.bonga-framed .entry-content .wp-block-image a img,
.bonga-framed .entry-content .wp-block-gallery img {
	transition: transform .35s ease, box-shadow .35s ease;
}

.bonga-framed .entry-content .wp-block-image a:hover img,
.bonga-framed .entry-content .wp-block-gallery .wp-block-image:hover img {
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px rgba(232, 176, 74, .5), 0 22px 44px -16px rgba(0, 0, 0, .95);
}

.bonga-framed .entry-content .wp-block-gallery {
	gap: 12px;
}

.bonga-framed .entry-content .alignright { margin: .3rem 0 1.25rem 1.75rem; }
.bonga-framed .entry-content .alignleft { margin: .3rem 1.75rem 1.25rem 0; }

@media (max-width: 600px) {
	.bonga-framed .entry-content .alignright,
	.bonga-framed .entry-content .alignleft {
		float: none;
		display: table;
		margin: 0 auto 1.25rem;
	}
}

/* Small inline arrows from the legacy content */
.bonga-framed .entry-content p > img,
.bonga-framed .entry-content p > a > img {
	vertical-align: middle;
	margin-right: .35em;
	opacity: .85;
}

/* ======================================================================
   Buttons (colours/radius in Customizer > Buttons; this adds the finish)
   ====================================================================== */
.wp-block-button:not([class*="is-style-"]) > .wp-block-button__link,
.bonga-signup__form input[type="submit"] {
	background-image: var(--bonga-gradient);
	border: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -10px rgba(217, 65, 43, .7);
	transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.wp-block-button:not([class*="is-style-"]) > .wp-block-button__link:hover,
.bonga-signup__form input[type="submit"]:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 16px 30px -10px rgba(217, 65, 43, .8);
}

.is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	border: 1px solid rgba(232, 176, 74, .6);
	color: var(--global-palette1);
}

/* ======================================================================
   Accordions, columns, audio
   ====================================================================== */
.bonga-framed .entry-content .wp-block-details {
	margin: 0 0 .6rem;
	border: 1px solid var(--glass-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, .04);
	transition: background-color .25s ease, border-color .25s ease;
}

.bonga-framed .entry-content .wp-block-details:hover,
.bonga-framed .entry-content .wp-block-details[open] {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(54, 214, 195, .45);
}

.bonga-framed .entry-content .wp-block-details summary {
	padding: 1rem 1.25rem;
	font-weight: 600;
	color: var(--global-palette3);
	cursor: pointer;
}

.bonga-framed .entry-content .wp-block-details summary::marker {
	color: var(--bonga-teal);
}

.bonga-framed .entry-content .wp-block-details summary {
	transition: color .3s ease, border-color .45s var(--ease-out);
	border-bottom: 1px solid transparent;
}

.bonga-framed .entry-content .wp-block-details[open] summary {
	color: var(--global-palette1);
	border-bottom-color: var(--glass-border);
}

.bonga-framed .entry-content .wp-block-details > :not(summary) {
	padding: 0 1.25rem;
}

.bonga-framed .entry-content .wp-block-details > :not(summary):nth-child(2) {
	padding-top: 1rem;
}

.bonga-framed .entry-content .wp-block-details > :last-child {
	padding-bottom: 1.1rem;
}

.bonga-framed .entry-content .wp-block-details::details-content {
	block-size: 0;
	overflow: hidden;
	opacity: 0;
	transition: block-size .5s var(--ease-out), opacity .4s ease, content-visibility .5s allow-discrete;
}

.bonga-framed .entry-content .wp-block-details[open]::details-content {
	block-size: auto;
	opacity: 1;
}

.bonga-framed .entry-content .wp-block-column {
	min-width: 0;
	overflow-wrap: anywhere;
}

.bonga-framed .entry-content .wp-block-audio audio {
	width: 100%;
	min-width: 0;
	color-scheme: dark;
}

/* Paket product cards */
.bonga-product-grid {
	gap: 1.25rem;
	margin: 1.5rem 0;
}

.bonga-product {
	padding: 16px 18px 20px;
	border: 1px solid var(--glass-border);
	border-radius: 16px;
	background: rgba(255, 255, 255, .05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 30px -8px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
	transition: transform .3s ease, border-color .3s ease;
}

.bonga-product:hover {
	transform: translateY(-4px);
	border-color: rgba(232, 176, 74, .4);
}

.bonga-framed .entry-content .bonga-product .wp-block-image {
	margin: 0 0 .7rem;
}

.bonga-product .wp-block-image a {
	display: block;
}

.bonga-framed .entry-content .bonga-product .wp-block-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 10px;
}

.bonga-product p {
	margin: 0 0 .3rem;
	font-size: 14px;
	line-height: 1.45;
}

/* ======================================================================
   Sidebar — nav + email signup
   ====================================================================== */
.bonga-framed .primary-sidebar .sidebar-inner-wrap {
	padding: 2rem 1.6rem;
}

@media (min-width: 1025px) {
	.bonga-framed .primary-sidebar .sidebar-inner-wrap {
		position: sticky;
		top: 2rem;
	}
}

.bonga-sidenav,
.bonga-sidenav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bonga-sidenav > li {
	margin: 0;
	padding: 0;
	border: 0;
}

.bonga-sidenav a {
	display: flex;
	align-items: center;
	gap: .5rem;
	border: 0;
	text-decoration: none;
}

.bonga-sidenav > li > a {
	position: relative;
	padding: .6rem .75rem;
	border-radius: 10px;
	font-family: var(--global-heading-font-family);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--global-palette4);
	transition: background-color .35s ease, color .35s ease, padding-left .35s var(--ease-out);
}

.bonga-sidenav > li > a:hover,
.bonga-sidenav > li > a:focus-visible {
	padding-left: 1rem;
	background: rgba(255, 255, 255, .07);
	color: var(--global-palette1);
}

.bonga-sidenav > li.current-menu-item > a,
.bonga-sidenav > li.current-menu-ancestor > a {
	background: rgba(232, 176, 74, .12);
	color: var(--global-palette1);
}

.bonga-sidenav > li.current-menu-item > a::before,
.bonga-sidenav > li.current-menu-ancestor > a::before {
	position: absolute;
	left: 0;
	top: 50%;
	width: 3px;
	height: 60%;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--bonga-ember), var(--global-palette1));
	box-shadow: 0 0 10px rgba(255, 90, 54, .7);
	transform: translateY(-50%);
	content: "";
}

.bonga-sidenav > .menu-item-has-children > a::after {
	width: 6px;
	height: 6px;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: .6;
	transform: rotate(-45deg);
	transition: transform .45s var(--ease-out);
	content: "";
}

.bonga-sidenav > .is-open > a::after {
	transform: rotate(45deg);
}

.bonga-sidenav .sub-menu {
	height: 0;
	margin: 0 0 0 .9rem;
	padding-left: .75rem;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	border-left: 1px solid rgba(54, 214, 195, .55);
}

.bonga-sidenav .is-open > .sub-menu {
	height: auto;
	margin: .2rem 0 .6rem .9rem;
	opacity: 1;
	visibility: visible;
}

.bonga-ready .bonga-sidenav .sub-menu {
	transition: height .5s var(--ease-out), margin .5s var(--ease-out), opacity .4s ease, visibility .5s;
}

/* Kadence mobile drawer sub-menus — same easing */
.mobile-navigation ul.has-collapse-sub-nav ul.sub-menu {
	display: block;
	height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: height .5s var(--ease-out), opacity .4s ease, visibility .5s;
}

.mobile-navigation ul.has-collapse-sub-nav ul.sub-menu.show-drawer {
	height: auto;
	opacity: 1;
	visibility: visible;
}

.mobile-navigation .drawer-sub-toggle svg {
	transition: transform .45s var(--ease-out);
}

/* Mobile drawer: larger top level, indented sub items on a vertical rule */
.mobile-navigation ul.menu > li > a,
.mobile-navigation ul.menu > li > .drawer-nav-drop-wrap > a {
	font-size: 20px;
	letter-spacing: .01em;
}

.mobile-navigation ul.has-collapse-sub-nav ul.sub-menu {
	padding-left: 0;
	margin: 0 0 0 1.25rem;
	border-left: 2px solid rgba(255, 194, 71, .45);
	transition: height .5s var(--ease-out), margin .5s var(--ease-out), opacity .4s ease, visibility .5s;
}

.mobile-navigation ul.has-collapse-sub-nav ul.sub-menu.show-drawer {
	margin-top: .5rem;
	margin-bottom: .75rem;
}

.mobile-navigation ul.sub-menu li > a,
.mobile-navigation ul.sub-menu li:not(.menu-item-has-children) > a {
	font-size: 15px;
	font-weight: 500;
	padding: .55rem 1rem;
	border-bottom: 0;
}

.bonga-sidenav .sub-menu a {
	padding: .3rem 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--global-palette5);
	transition: color .3s ease, transform .3s var(--ease-out);
}

.bonga-sidenav .sub-menu a:hover {
	color: var(--bonga-teal);
	transform: translateX(3px);
}

.bonga-sidenav .sub-menu .current-menu-item > a {
	color: var(--global-palette1);
}

/* The drawer menu replaces the sidebar nav when the sidebar stacks */
@media (max-width: 1024px) {
	.bonga-framed .primary-sidebar .widget_nav_menu {
		display: none;
	}
}

.bonga-signup {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--glass-border);
}

.bonga-signup__title {
	margin: 0 0 .6rem;
	font-family: var(--global-heading-font-family);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--global-palette3);
}

.bonga-signup__form {
	display: flex;
	gap: 6px;
}

.bonga-signup__form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: .55rem .85rem;
	font-size: 14px;
	border: 1px solid var(--glass-border);
	border-radius: 999px;
	background: rgba(0, 0, 0, .3);
	color: var(--global-palette3);
}

.bonga-signup__form input[type="email"]:focus {
	border-color: rgba(232, 176, 74, .6);
	outline: none;
}

.bonga-signup__form input[type="submit"] {
	padding: .55rem 1.1rem;
	font-size: 14px;
	font-weight: 700;
	border-radius: 999px;
	color: #1a0f0a;
	cursor: pointer;
}

/* ======================================================================
   Glass CTA buttons — Button block style "Glass"
   ====================================================================== */
.bonga-cta-row {
	gap: .75rem;
	margin: 1.25rem 0 1.5rem;
}

.wp-block-button.is-style-glass > .wp-block-button__link {
	--accent: var(--global-palette1);
	--accent-rgb: 255, 194, 71;
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: .75em 1.4em .75em 1.5em;
	border: 1px solid rgba(var(--accent-rgb), .55);
	border-radius: 999px;
	background:
		linear-gradient(135deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .06) 60%),
		rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(14px) saturate(160%);
	backdrop-filter: blur(14px) saturate(160%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 26px -12px rgba(0, 0, 0, .9);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .35s var(--ease-out), box-shadow .35s ease, background-color .35s ease, border-color .35s ease;
}

.wp-block-button.is-style-glass > .wp-block-button__link::after {
	width: .45em;
	height: .45em;
	border-top: 2px solid var(--accent);
	border-right: 2px solid var(--accent);
	transform: rotate(45deg);
	transition: transform .35s var(--ease-out);
	content: "";
}

.wp-block-button.is-style-glass > .wp-block-button__link:hover,
.wp-block-button.is-style-glass > .wp-block-button__link:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(var(--accent-rgb), .9);
	background-color: rgba(var(--accent-rgb), .14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 24px rgba(var(--accent-rgb), .35), 0 14px 30px -12px rgba(0, 0, 0, .9);
	color: #fff;
}

.wp-block-button.is-style-glass > .wp-block-button__link:hover::after {
	transform: translateX(3px) rotate(45deg);
}

.wp-block-button.is-style-glass:nth-child(3n+2) > .wp-block-button__link {
	--accent: var(--bonga-teal);
	--accent-rgb: 54, 214, 195;
}

.wp-block-button.is-style-glass:nth-child(3n+3) > .wp-block-button__link {
	--accent: var(--bonga-ember);
	--accent-rgb: 255, 90, 54;
}

/* ======================================================================
   Phone / email links with icons
   ====================================================================== */
.bonga-framed .entry-content a.bonga-contact {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	margin: .15em 0;
	color: var(--global-palette3);
	font-weight: 600;
	white-space: nowrap;
}

.bonga-contact::before {
	flex: none;
	width: 2em;
	height: 2em;
	border: 1px solid rgba(54, 214, 195, .45);
	border-radius: 50%;
	background: rgba(54, 214, 195, .14) center / 1em no-repeat;
	transition: transform .35s var(--ease-out), box-shadow .35s ease;
	content: "";
}

.bonga-contact--phone::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2336D6C3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}

.bonga-contact--email::before {
	border-color: rgba(255, 194, 71, .5);
	background-color: rgba(255, 194, 71, .14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC247' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}

.bonga-framed .entry-content a.bonga-contact:hover {
	color: var(--global-palette1);
	text-shadow: none;
}

.bonga-contact:hover::before {
	transform: scale(1.08);
	box-shadow: 0 0 16px rgba(54, 214, 195, .45);
}

/* ======================================================================
   Footer
   ====================================================================== */
.bonga-framed .site-footer {
	background: transparent;
}

.bonga-framed .site-footer::before {
	max-width: var(--global-content-width);
	margin: 0 auto 1.5rem;
	padding: 0 var(--global-content-edge-padding);
	background-origin: content-box;
	background-clip: content-box;
	opacity: .6;
}

.bonga-framed .site-footer .site-footer-row-container-inner {
	max-width: calc(var(--global-content-width) - 2 * var(--global-content-edge-padding));
	margin: 0 auto 2rem;
	padding: 1.25rem 1.5rem;
}

.bonga-framed .site-footer .footer-navigation .menu > li {
	display: flex;
	align-items: center;
}

.bonga-framed .site-footer .footer-navigation .menu > li + li::before {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--bonga-teal);
	content: "";
}

.bonga-framed .site-footer .footer-navigation a {
	font-weight: 600;
	color: var(--global-palette4);
	transition: color .2s ease;
}

.bonga-framed .site-footer .footer-navigation a:hover {
	color: var(--global-palette1);
}

.bonga-framed .site-footer .footer-html {
	font-size: 13px;
	color: var(--global-palette5);
}

/* ======================================================================
   Splash front page — responsive image map over the page background
   ====================================================================== */
.bonga-splash-map {
	position: relative;
	max-width: 820px;
	margin: 5vh auto;
}

.bonga-splash-map > img {
	display: block;
	width: 100%;
	height: auto;
	mix-blend-mode: lighten;
	-webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%);
	mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%);
}

.bonga-splash-logo {
	position: absolute;
	z-index: 1;
	top: 1%;
	left: 50%;
	width: 64%;
	transform: translateX(-50%);
	pointer-events: none;
}

.bonga-splash-logo img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6));
}

.bonga-splash-map a {
	position: absolute;
	display: block;
	border-radius: 12px;
	transition: background-color .25s ease, box-shadow .25s ease;
}

.bonga-splash-map a:hover,
.bonga-splash-map a:focus-visible {
	background-color: rgba(255, 240, 215, .08);
	-webkit-backdrop-filter: brightness(1.35);
	backdrop-filter: brightness(1.35);
	box-shadow: 0 0 0 1px rgba(232, 176, 74, .45), 0 0 26px rgba(232, 176, 74, .35);
	outline: none;
}

/* Splash — twin Haitian drums (photo), lower left under "Drums of Haiti", base fading out
   Source: "Tambour Boula (Haïti)", Wikimedia Commons, CC0 */
.bonga-splash-map > img {
	position: relative; /* paints the hands over the drums; keeps the links on top */
}

.bonga-splash-map::before {
	position: absolute;
	top: 75%;
	left: 15.5%;
	width: 28%;
	aspect-ratio: 781 / 640;
	background: url("/wp-content/uploads/2026/11/bonga-twin-drums.webp") center bottom / contain no-repeat;
	opacity: .75;
	filter: brightness(.85) saturate(.85);
	-webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
	mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
	content: "";
	pointer-events: none;
	animation: bonga-drums-float 9s ease-in-out infinite alternate;
}

@keyframes bonga-drums-float {
	from { transform: translateY(0); }
	to   { transform: translateY(-2%); }
}

@media (prefers-reduced-motion: reduce) {
	.bonga-splash-map::before { animation: none; }
}

/* Modal dialog for .bonga-modal buttons (see bonga.js). Colours match the legacy popups. */
.bonga-modal-dialog {
	width: min(474px, 94vw);
	max-height: 85vh;
	padding: 0;
	border: 2px solid #982D19;
	border-radius: 16px;
	overflow: hidden;
	background: #CC9933;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px -8px rgba(40,55,20,.45), 0 2px 6px rgba(40,55,20,.18);
}
.bonga-modal-dialog::backdrop {
	background: rgba(0,0,0,.65);
}
.bonga-modal-frame {
	display: block;
	width: 100%;
	height: 360px;
	border: 0;
}
.bonga-modal-dialog .bonga-modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #982D19;
	color: #fff;
	font-size: 22px;
	line-height: 32px;
	box-shadow: none;
	cursor: pointer;
}
.bonga-modal-dialog .bonga-modal-close:hover,
.bonga-modal-dialog .bonga-modal-close:focus-visible {
	background: #000;
	color: #fff;
}

/* ==========================================================================
   Vèvè splash (draft alternative front page) — playful lwa tokens
   veve-*-mask.png are transparent cut-outs of the media-library vèvè line
   art, used as alpha masks so the lines take any colour or gradient. Reusable: .bonga-veve-mark + a
   .bonga-veve--{lwa} modifier on it or an ancestor.
   ========================================================================== */
.bonga-veve--legba    { --veve: url(/wp-content/uploads/2026/11/veve-legba-mask.png); }
.bonga-veve--oshun    { --veve: url(/wp-content/uploads/2026/11/veve-oshun-mask.png);          --veve-ink: #ffc247; }
.bonga-veve--marassa  { --veve: url(/wp-content/uploads/2026/11/veve-marassa-mask.png);        --veve-ink: #36d6c3; }
.bonga-veve--damballa { --veve: url(/wp-content/uploads/2026/11/veve-damballa-mask.png);       --veve-ink: #ffdb8a; }
.bonga-veve--eshu     { --veve: url(/wp-content/uploads/2026/11/veve-eshu-mask.png);      --veve-ink: #ff5a36; }
.bonga-veve--erzulie  { --veve: url(/wp-content/uploads/2026/11/veve-erzulie-mask.png);        --veve-ink: #ff4f9a; }
.bonga-veve--gede     { --veve: url(/wp-content/uploads/2026/11/veve-gede-mask.png);   --veve-ink: #36d6c3; }
.bonga-veve--simbi    { --veve: url(/wp-content/uploads/2026/11/veve-simbi-mask.png);          --veve-ink: #5b8cff; }
.bonga-veve--ayizan   { --veve: url(/wp-content/uploads/2026/11/veve-ayizan-mask.png); --veve-ink: #ff5a36; }
.bonga-veve--loco     { --veve: url(/wp-content/uploads/2026/11/veve-loco-mask.png);           --veve-ink: #ffc247; }

.bonga-veve-mark {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background: var(--veve-ink, #ffc247);
	-webkit-mask: var(--veve) center / contain no-repeat;
	mask: var(--veve) center / contain no-repeat;
	transition: background .4s var(--ease-out);
}

.bonga-veve-token__glow {
	display: block;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--veve-ink, #ffc247) 55%, transparent));
	transition: filter .4s var(--ease-out), transform .5s var(--ease-out);
}

/* --- Layout ------------------------------------------------------------- */
.bonga-veve-splash {
	position: relative;
	max-width: 960px;
	margin: 3vh auto 5vh;
	padding: 0 16px;
	text-align: center;
}

.bonga-veve-splash__logo {
	display: block;
	width: min(64%, 560px);
	margin: 0 auto;
	animation: bonga-veve-arrive 1.2s var(--ease-out) both;
}

.bonga-veve-splash__logo img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6));
}

.bonga-veve-splash__stage {
	position: relative;
	aspect-ratio: 10 / 8;
	margin-top: 1vh;
}

/* cornmeal sparkle — dots drift and twinkle like sifted farin */
.bonga-veve-splash__stage::before {
	content: "";
	position: absolute;
	inset: 6% 4%;
	pointer-events: none;
	background:
		radial-gradient(circle, #ffdb8a 0 1.5px, transparent 2.5px) 0 0 / 61px 53px,
		radial-gradient(circle, #ff4f9a 0 1.2px, transparent 2px) 23px 17px / 89px 71px,
		radial-gradient(circle, #36d6c3 0 1.2px, transparent 2px) 41px 9px / 113px 97px;
	-webkit-mask-image: radial-gradient(closest-side, transparent 30%, #000 60%, transparent 100%);
	mask-image: radial-gradient(closest-side, transparent 30%, #000 60%, transparent 100%);
	opacity: .35;
	animation: bonga-veve-twinkle 7s ease-in-out infinite alternate;
}

.bonga-veve-splash__heart {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40%;
	translate: -50% -50%;
}

.bonga-veve-splash__halo {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 125%;
	translate: -50% -50%;
	opacity: .38;
	--veve-ink: #ffc247;
	animation: bonga-veve-breathe 9s ease-in-out infinite;
}

.bonga-veve-splash__halo .bonga-veve-mark {
	background: var(--bonga-gradient);
}

.bonga-veve-splash__drums {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .7));
	transform-origin: 50% 90%;
	animation: bonga-veve-drumbeat 2.4s ease-in-out infinite;
}

.bonga-veve-splash__ring {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bonga-veve-splash__ring li {
	--step: 40deg;
	--a: calc(-90deg + var(--n, 0) * var(--step));
	position: absolute;
	top: calc(50% + sin(var(--a)) * 41%);
	left: calc(50% + cos(var(--a)) * 41%);
	width: clamp(92px, 15%, 140px);
	translate: -50% -50%;
	margin: 0;
}

.bonga-veve-splash__ring li:nth-child(2) { --n: 1; }
.bonga-veve-splash__ring li:nth-child(3) { --n: 2; }
.bonga-veve-splash__ring li:nth-child(4) { --n: 3; }
.bonga-veve-splash__ring li:nth-child(5) { --n: 4; }
.bonga-veve-splash__ring li:nth-child(6) { --n: 5; }
.bonga-veve-splash__ring li:nth-child(7) { --n: 6; }
.bonga-veve-splash__ring li:nth-child(8) { --n: 7; }
.bonga-veve-splash__ring li:nth-child(9) { --n: 8; }

/* --- Tokens ------------------------------------------------------------- */
.bonga-veve-token {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: var(--veve-ink, #ffc247);
	text-decoration: none;
	animation:
		bonga-veve-arrive .9s var(--ease-out) both,
		bonga-veve-bob 4.2s ease-in-out infinite alternate;
	animation-delay: calc(var(--n, 0) * 90ms + 200ms), calc(var(--n, 0) * -0.7s);
}

.bonga-veve-token .bonga-veve-token__glow {
	width: 76%;
}

.bonga-veve-token__label {
	position: relative;
	font-family: var(--global-heading-font-family, "Unbounded", sans-serif);
	font-size: clamp(11px, 1.25vw, 14px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-wrap: balance;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
	transition: color .3s var(--ease-out);
}

/* rhythm-line flourish appears under the label on hover */
.bonga-veve-token__label::after {
	content: "";
	display: block;
	height: 14px;
	margin: 4px auto 0;
	background: var(--rhythm-line) center / auto 100% repeat-x;
	clip-path: inset(0 50% 0 50%);
	transition: clip-path .45s var(--ease-out);
}

.bonga-veve-token:hover,
.bonga-veve-token:focus-visible {
	color: #fff;
}

.bonga-veve-token:hover .bonga-veve-token__label::after,
.bonga-veve-token:focus-visible .bonga-veve-token__label::after {
	clip-path: inset(0 0 0 0);
}

.bonga-veve-token:hover .bonga-veve-token__glow,
.bonga-veve-token:focus-visible .bonga-veve-token__glow {
	filter: drop-shadow(0 0 14px var(--veve-ink, #ffc247)) drop-shadow(0 0 2px #fff);
	animation: bonga-veve-wiggle .7s var(--ease-out);
	transform: scale(1.14);
}

.bonga-veve-token:hover .bonga-veve-mark,
.bonga-veve-token:focus-visible .bonga-veve-mark {
	background: var(--bonga-gradient);
}

.bonga-veve-token:focus-visible {
	outline: 2px dashed var(--veve-ink, #ffc247);
	outline-offset: 6px;
	border-radius: 12px;
}

/* Lwa personalities ------------------------------------------------------ */
/* Ezili Freda: love — the heart keeps a gentle pulse */
.bonga-veve--erzulie .bonga-veve-mark {
	animation: bonga-veve-heartbeat 1.6s ease-in-out infinite;
}

/* Marasa: the twins — a playful hop */
.bonga-veve--marassa .bonga-veve-mark {
	animation: bonga-veve-hop 2.8s ease-in-out infinite;
}

/* Gede: mischief — a sly sway, and a cheeky tip of the hat on hover */
.bonga-veve--gede .bonga-veve-mark {
	transform-origin: 50% 100%;
	animation: bonga-veve-sly 5s ease-in-out infinite;
}

.bonga-veve-token.bonga-veve--gede:hover .bonga-veve-token__glow,
.bonga-veve-token.bonga-veve--gede:focus-visible .bonga-veve-token__glow {
	animation: bonga-veve-hattip .9s var(--ease-out);
	transform: scale(1.14) rotate(-12deg);
}

/* Eshu: trickster — a quick spin on hover */
.bonga-veve-token.bonga-veve--eshu:hover .bonga-veve-token__glow,
.bonga-veve-token.bonga-veve--eshu:focus-visible .bonga-veve-token__glow {
	animation: bonga-veve-spin .8s var(--ease-out);
}

/* Oshun: delight — sunburst shimmer */
.bonga-veve--oshun .bonga-veve-mark {
	animation: bonga-veve-shimmer 3.5s ease-in-out infinite;
}

.bonga-veve-splash__whisper {
	margin: 1vh 0 0;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--global-palette5, #b9ac98);
}

.bonga-veve-splash__whisper [lang="ht"] {
	font-style: italic;
	color: var(--global-palette2, #ffdb8a);
}

/* draft page renders with .bonga-framed; drop the glass frame here */
.bonga-framed .entry.content-bg.single-entry:has(.bonga-veve-splash) {
	background: none;
	border: 0;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* --- Keyframes ---------------------------------------------------------- */
@keyframes bonga-veve-arrive {
	from { opacity: 0; scale: .6; filter: blur(6px); }
	to   { opacity: 1; scale: 1;  filter: blur(0); }
}
@keyframes bonga-veve-bob {
	from { transform: translateY(-5px) rotate(-2deg); }
	to   { transform: translateY(5px)  rotate(2deg); }
}
@keyframes bonga-veve-wiggle {
	0%   { rotate: 0deg; }
	25%  { rotate: -14deg; }
	50%  { rotate: 10deg; }
	75%  { rotate: -5deg; }
	100% { rotate: 0deg; }
}
@keyframes bonga-veve-spin {
	from { rotate: 0deg; }
	to   { rotate: 360deg; }
}
@keyframes bonga-veve-hattip {
	0%   { rotate: 0deg;   translate: 0 0; }
	40%  { rotate: -22deg; translate: 0 -8px; }
	70%  { rotate: 6deg;   translate: 0 0; }
	100% { rotate: 0deg; }
}
@keyframes bonga-veve-heartbeat {
	0%, 40%, 100% { scale: 1; }
	15% { scale: 1.08; }
	28% { scale: .98; }
}
@keyframes bonga-veve-hop {
	0%, 60%, 100% { translate: 0 0; }
	70% { translate: 0 -7px; }
	80% { translate: 0 0; }
	88% { translate: 0 -3px; }
}
@keyframes bonga-veve-sly {
	0%, 70%, 100% { rotate: 0deg; }
	78% { rotate: -9deg; }
	86% { rotate: 6deg; }
	93% { rotate: -2deg; }
}
@keyframes bonga-veve-shimmer {
	0%, 100% { opacity: 1; }
	50% { opacity: .7; }
}
@keyframes bonga-veve-breathe {
	0%, 100% { opacity: .14; rotate: -3deg; scale: .97; }
	50%      { opacity: .26; rotate: 3deg;  scale: 1.03; }
}
@keyframes bonga-veve-drumbeat {
	0%, 50%, 100% { scale: 1; }
	8%  { scale: 1.025 .985; }
	16% { scale: 1; }
	24% { scale: 1.015 .99; }
}
@keyframes bonga-veve-twinkle {
	from { opacity: .2;  background-position: 0 0, 23px 17px, 41px 9px; }
	to   { opacity: .45; background-position: 6px -10px, 15px 25px, 49px -3px; }
}

/* --- Small screens: the circle opens into a grid ------------------------ */
@media (max-width: 720px) {
	.bonga-veve-splash__logo { width: 88%; }
	.bonga-veve-splash__stage { aspect-ratio: auto; }
	.bonga-veve-splash__heart {
		position: relative;
		top: auto;
		left: auto;
		width: 62%;
		margin: 6vh auto 7vh;
		translate: none;
	}
	.bonga-veve-splash__ring {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 22px 10px;
	}
	.bonga-veve-splash__ring li {
		position: static;
		width: auto;
		translate: none;
	}
	.bonga-veve-token .bonga-veve-token__glow { width: 64%; }
	.bonga-veve-token__label { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	.bonga-veve-splash *,
	.bonga-veve-splash *::before,
	.bonga-veve-splash *::after,
	.bonga-veve-splash__stage::before {
		animation: none !important;
		transition: none !important;
	}
}
