.box-text {
	right: 15%;
	left: 15%;
	top: 70%;
}
#theme-sidebar li {
	padding: 0 5px !important;
}
#theme-sidebar section {
	margin-left: 0;
}

:root {
	--color-primary1: #0E6EB0;
	--color-primary2: #0E6EB0;
	--bdi-brand-primary: #0E6EB0;
}

/* ── Homepage static hero ──────────────────────────────────────── */
.bdi-static-hero {
	margin-bottom: 0;
}

.bdi-static-hero-bg {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bdi-static-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.bdi-static-hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 11rem 2rem 3rem;
}

.bdi-static-hero-content h1 {
	color: #fff;
	font-size: 2.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 2rem;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
	white-space: nowrap;
}

.bdi-static-hero-ctas {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.bdi-hero-cta-btn {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.15s ease;
	border: 2px solid transparent;
}

.bdi-hero-cta-primary {
	background: #fff;
	color: var(--bdi-brand-primary) !important;
	border-color: #fff;
}

.bdi-hero-cta-primary:hover {
	background: rgba(255, 255, 255, 0.9);
	color: var(--bdi-brand-primary);
	text-decoration: none;
}

.bdi-hero-cta-outline {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.5);
}

.bdi-hero-cta-outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
}

@media (max-width: 768px) {
	.bdi-static-hero-content h1 {
		font-size: 1.75rem;
		white-space: normal;
	}

	.bdi-static-hero-ctas {
		flex-direction: column;
		align-items: center;
	}

	.bdi-hero-cta-btn {
		width: 100%;
		max-width: 300px;
		text-align: center;
	}

	.bdi-static-hero-bg {
		min-height: 350px;
	}
}

/* Layout helpers */
.bdi-home-container .bdi-home-grid {
	display: flex;
	gap: 2rem;
}

.box-text h2 {
	font-size: 30px !important;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bdi-home-primary {
	flex: 1 1 60%;
	min-width: 320px;
}

.bdi-home-sidebar {
	flex: 0 0 340px;
	max-width: 380px;
}

.bdi-home-video {
	margin-bottom: 2rem;
}

.bdi-home-container {
	margin-bottom: 0;
	padding-bottom: 0;
}

.bdi-home-map-cta {
	margin-top: 1rem;
}

.bdi-home-map-cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	background: var(--bdi-brand-primary);
	color: #fff !important;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: background 0.15s ease;
}

.bdi-home-map-cta a:hover {
	background: #094d7e;
	color: #fff;
}

@media (max-width: 768px) {
	.bdi-home-sidebar {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.navigation-col {
	margin-top: 5px !important;
	background: var(--bdi-brand-primary);
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: none;
	padding: 0 0.5rem;
}

.container {
	max-width: 1140px !important;
}

body .bottom-header-box .main-header .headerbox .container {
	padding: 10px 4em 1em !important;
}

.single-tribe_events .bottom-header-box .main-header .headerbox .container,
.single-tribe_venue .bottom-header-box .main-header .headerbox .container {
	padding-bottom: 0 !important;
}

.single-tribe_events #primary,
.single-tribe_venue #primary {
	padding-top: 0;
}

.middle-right-box {
	margin-top: -2em;
}

.bdi-mobile-header-bar {
	display: none;
}

.button,
.button-inline,
.button-small,
.button-large,
.button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.08em;
	border-radius: 999px;
	border: 2px solid var(--bdi-brand-primary);
	background: var(--bdi-brand-primary);
	color: #fff;
	padding: 0.65rem 1.75rem;
	box-shadow: 0 12px 24px rgba(14, 110, 176, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button-inline {
	display: inline-flex;
}

.button-small {
	font-size: 0.75rem;
	padding: 0.45rem 1.25rem;
}

.button-large {
	font-size: 0.95rem;
	padding: 0.85rem 2.25rem;
}

.button-primary {
	background: var(--bdi-brand-primary);
	color: #fff;
}

.button,
.button-primary {
	text-decoration: none;
}

.button:hover,
.button-primary:hover,
.button:focus,
.button-primary:focus {
	background: #094d7e;
	border-color: #094d7e;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 18px 30px rgba(9, 77, 126, 0.3);
}

.button:active,
.button-primary:active {
	transform: translateY(1px);
	box-shadow: 0 10px 18px rgba(9, 77, 126, 0.25);
}

/* Flat modern navigation */
.menubar,
.main-navigation,
.main-navigation ul {
	width: 100%;
}

.main-navigation > div > ul {
	display: flex;
	width: 100%;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 2px 0 3px;
	align-items: center;
}

.main-navigation li {
	position: relative;
	list-style: none;
	flex: 1 1 auto;
	text-align: center;
}

.main-navigation li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	color: #fff;
	font-weight: 600;
	padding: 12px 8px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 999px;
	transition: color 0.2s ease, background 0.2s ease;
}

.main-navigation li.menu-item-has-children > a {
	padding-right: 20px;
}

.main-navigation li.menu-item-has-children::after {
	content: "\f078";
	font-family: var(--font-awesome);
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
	position: absolute;
	right: 15px;
	top: 47%;
	transform: translateY(-50%);
	pointer-events: none;
}

.main-navigation li.current-menu-item.menu-item-has-children::after {
	color: var(--bdi-brand-primary);
	z-index: 100;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation > div > ul > li:hover > a,
.main-navigation > div > ul > li:focus-within > a {
	background: #fff;
	color: var(--bdi-brand-primary);
}

.main-navigation > div > ul > li:hover::after,
.main-navigation > div > ul > li:focus-within::after,
.main-navigation .current_page_item::after,
.main-navigation .current-menu-item::after {
	color: var(--bdi-brand-primary);
}

.main-navigation li.menu-item-has-children > a > .icon {
	margin-left: 0.45rem;
	font-size: 0.65rem;
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s ease;
}

.main-navigation > div > ul > li:hover > a > .icon,
.main-navigation > div > ul > li:focus-within > a > .icon,
.main-navigation .current_page_item > a > .icon,
.main-navigation .current-menu-item > a > .icon {
	color: var(--bdi-brand-primary);
}

.main-navigation ul ul {
	background: #fff;
	border-radius: 12px;
	padding: 0.5rem;
	border: 1px solid rgba(0, 0, 0, 0.06);
	min-width: 260px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.main-navigation .sub-menu {
	width: 310px !important;
}

.main-navigation ul ul li {
	border-bottom: none;
	flex: unset;
	text-align: left;
}

.main-navigation ul ul a {
	color: var(--bdi-brand-primary);
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 0.92rem;
}

.main-navigation ul ul a:hover {
	background: rgba(14, 110, 176, 0.08);
	color: var(--bdi-brand-primary);
}

.main-navigation ul ul li > a {
	justify-content: start;
}

.bdi-partner-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
	width: auto;
	margin-left: auto;
}

.bdi-partner-links {
	display: flex;
	justify-content: flex-end;
	gap: 1.5rem;
	flex-wrap: nowrap;
}

.bdi-partner-links.partner-column {
	flex-direction: column;
	align-items: flex-end;
}

.bdi-partner-links .partner-link {
	display: inline-flex;
	align-items: center;
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	color: #1E1E1E;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.bdi-partner-links .partner-link i {
	margin-right: 0.35rem;
	font-size: 0.85rem;
	color: var(--bdi-brand-primary);
}

.bdi-partner-links .partner-link:hover {
	color: var(--bdi-brand-primary);
	text-decoration: underline;
}

.bdi-partner-contact {
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.85rem;
}

 .bdi-partner-contact .partner-contact {
 	color: #1E1E1E;
 	font-weight: 600;
 	display: inline-flex;
 	align-items: center;
 	gap: 0.35rem;
 	padding: 0.2rem 0;
 }
 
 .bdi-partner-contact .partner-contact:hover {
 	color: var(--bdi-brand-primary);
 	text-decoration: underline;
 }
 
.bdi-search {
	align-self: flex-end;
}

/* Kill all orange borders from parent theme */
[style*="f7931e"],
#slider .more-btn a span,
#about .about-button a span,
#about .match-heading p span,
.custom-btn-wrapper .book-appoin span {
	border-color: var(--bdi-brand-primary) !important;
}

/* Homepage CTA buttons — white pill with blue arrow, matching Explore More */
#slider .more-btn a.slider-btn1,
#about .about-button a.know-more {
	display: inline-flex !important;
	align-items: stretch;
	background: #fff !important;
	border: 2px solid var(--bdi-brand-primary) !important;
	border-radius: 999px !important;
	padding: 0 !important;
	text-decoration: none !important;
	overflow: hidden;
}

#slider .more-btn a.slider-btn1 span,
#about .about-button a.know-more span {
	border: none !important;
	background: none !important;
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1.5rem !important;
	font-size: 0.9rem;
	color: #1E1E1E !important;
	border-radius: 0 !important;
}

#slider .more-btn a.slider-btn1 i,
#about .about-button a.know-more i {
	display: inline-flex;
	align-items: center;
	background: var(--bdi-brand-primary) !important;
	color: #fff !important;
	padding: 0 1rem;
	font-size: 0.85rem;
	border-radius: 0 !important;
	margin: 0 !important;
	rotate: none !important;
}

#slider .more-btn a.slider-btn1:hover span,
#about .about-button a.know-more:hover span {
	background: var(--bdi-brand-primary) !important;
	color: #fff !important;
}

@media (max-width: 1024px) {
	.home main .container:first-of-type {
		margin-top: 0;
		z-index: 100;
		position: relative;
	}

	.bdi-partner-wrapper {
		align-items: center;
		text-align: center;
	}

	.bottom-header-box .main-header .headerbox .container {
		padding: 0.75rem 1rem 0.5rem !important;
	}

	.bdi-mobile-header-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.35rem 0 0.25rem;
	}

	.bdi-mobile-header-bar .bdi-mobile-logo {
		display: flex;
		align-items: center;
		gap: 0.5rem;
	}

	.bdi-mobile-header-bar .custom-logo,
	.bdi-mobile-header-bar img {
		max-height: 48px;
		width: auto;
		height: auto;
	}

	.bdi-mobile-header-bar .site-title {
		font-size: 1.1rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--bdi-brand-primary);
	}

	.bdi-mobile-header-bar .mobile-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--bdi-brand-primary);
		border-radius: 8px;
		background: #fff;
		color: var(--bdi-brand-primary);
		padding: 0.35rem 0.75rem;
		font-size: 1.45rem;
		line-height: 1;
		box-shadow: 0 10px 20px rgba(14, 110, 176, 0.18);
		gap: 0.35rem;
	}

	.bdi-mobile-header-bar .mobile-menu-toggle:hover,
	.bdi-mobile-header-bar .mobile-menu-toggle:focus {
		background: var(--bdi-brand-primary);
		color: #fff;
	}

	.bdi-mobile-header-bar .mobile-menu-toggle:focus-visible {
		outline: 2px solid var(--bdi-brand-primary);
		outline-offset: 2px;
	}

	.bdi-partner-links {
		flex-direction: column;
		align-items: center;
		gap: 0.25rem;
	}

	.bdi-partner-links .partner-link {
		font-size: 0.7rem;
	}

	.bdi-partner-contact {
		flex-direction: column;
		align-items: center;
		gap: 0.4rem;
	}

	.bdi-partner-contact .partner-contact {
		justify-content: center;
	}

	.bdi-search {
		align-self: center;
	}

	.navigation-col {
		margin-top: 0 !important;
		border-radius: 24px;
		background: none;
	}

	.bottom-header .toggle-nav.mobile-menu {
		display: none;
	}

	.bottom-header .btn-col,
	.bottom-header .header-menu-right,
	.bottom-header .custom-btn-wrapper,
	.bdi-desktop-only {
		display: none !important;
	}

	#mySidenav.sidenav {
		opacity: 0;
		transform: translateY(-10px);
		pointer-events: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: radial-gradient(circle at top right, rgba(14, 110, 176, 0.90), rgba(3, 8, 16, 0.98));
		padding: clamp(3.5rem, 6vw, 4.5rem) 1.5rem 2.5rem;
		display: flex;
		flex-direction: column;
		gap: 2rem;
		z-index: 9999;
		overflow-y: auto;
		transition: opacity 0.25s ease, transform 0.25s ease;
	}

	#mySidenav.sidenav.open {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	#mySidenav .closebtn {
		align-self: flex-end;
		font-size: 0;
		width: 46px;
		height: 46px;
		border-radius: 8px;
		border: 1px solid rgba(255, 255, 255, 0.35);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		color: #fff;
		z-index: 100;
	}

	#mySidenav .closebtn i {
		font-size: 1.5rem;
	}

	#mySidenav nav#site-navigation {
		width: 100%;
	}

	#mySidenav nav#site-navigation .main-menu {
		width: 100%;
	}

	#mySidenav nav#site-navigation .main-menu > ul {
		display: flex;
		flex-direction: column;
		list-style: none;
		padding: 0;
		margin: 0;
		gap: 0.5rem;
	}

	#mySidenav nav#site-navigation li {
		width: 100%;
		text-align: left;
	}

	#mySidenav nav#site-navigation li > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 0.85rem 1rem;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
		font-weight: 600;
		letter-spacing: 0.05em;
		text-transform: uppercase;
	}

	#mySidenav nav#site-navigation li > a:hover,
	#mySidenav nav#site-navigation li > a:focus {
		background: rgba(255, 255, 255, 0.16);
		color: #fff;
	}

	#mySidenav nav#site-navigation .menu-item-has-children > a::after {
		content: '\f107';
		font-family: var(--font-awesome, 'Font Awesome 5 Free');
		font-weight: 900;
		margin-left: 0.5rem;
		font-size: 0.9rem;
		opacity: 0.8;
	}

	#mySidenav nav#site-navigation ul ul {
		background: transparent;
		border-radius: 0;
		border: none;
		box-shadow: none;
		margin: 0.25rem 0 0.75rem;
		padding-left: 1.2rem;
		display: flex;
		flex-direction: column;
		gap: 0.2rem;
	}

	#mySidenav nav#site-navigation ul ul a {
		background: transparent;
		color: rgba(255, 255, 255, 0.82);
		padding: 0.35rem 0.25rem;
		text-transform: none;
		letter-spacing: 0.02em;
		border-radius: 0;
		font-size: 0.95rem;
	}
}

@media (min-width: 1025px) {
	#mySidenav.sidenav {
		position: static;
		width: auto;
		height: auto;
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		background: transparent;
		padding: 0;
		box-shadow: none;
		overflow: visible;
	}

	#mySidenav .closebtn,
	.mobile-menu-toggle,
	.bdi-mobile-header-bar {
		display: none !important;
	}

	.bottom-header .btn-col,
	.bottom-header .header-menu-right,
	.bottom-header .custom-btn-wrapper {
		display: block;
	}
}

/* Video block enhancements */
.content-area figure.wp-block-video,
.entry-content figure.wp-block-video,
.wp-block-video {
	position: relative;
	margin: 0 auto 2rem;
	max-width: 1200px;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	background: radial-gradient(circle at top left, rgba(14, 110, 176, 0.4), rgba(0, 0, 0, 0.8));
}

.wp-block-video video,
.wp-block-video iframe {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 12px;
	margin: 0;
}

.wp-block-video:before,
.wp-block-video:after {
	content: '';
	position: absolute;
	border-radius: 24px;
	pointer-events: none;
}

.wp-block-video:before {
	top: -10px;
	left: -10px;
	right: -10px;
	bottom: -10px;
	border: 1px solid rgba(14, 110, 176, 0.35);
	box-shadow: inset 0 0 40px rgba(14, 110, 176, 0.25);
}

.wp-block-video:after {
	bottom: -35px;
	left: 8%;
	right: 8%;
	height: 35px;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25), transparent 70%);
	filter: blur(12px);
	z-index: -1;
}

.wp-block-video .video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6));
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wp-block-video:hover .video-overlay {
	opacity: 1;
}

.wp-block-video .video-overlay .play-pill {
	display: inline-flex;
	align-items: center;
	background: rgba(14, 110, 176, 0.85);
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	box-shadow: 0 12px 30px rgba(14, 110, 176, 0.45);
}

.wp-block-video .video-overlay .play-pill i {
	margin-right: 0.5rem;
	font-size: 1.2rem;
}

.widget-home {
	flex: 1 1 280px;
	background: #efefef;
	padding: 1.5rem;
	border-radius: 12px;
	max-height: 270px;
	overflow: hidden;
	margin: -20px 0 10px 0;
}

.widget-home section {
	margin-right: 1rem;
}

.information_foa_training {
	float: right;
	width: 240px;
	text-align: center;
	font-size: 18px;
	color: var(--bdi-brand-primary);
}

.quick_nav {
	padding: 10px 0;
}

.quick_nav a {
	display: block;
	margin: 10px;
	padding: 8px 10px;
	font-size: 14px;
	background: #3d3d3d;
	color: #fff;
	border-radius: 8px;
	border: 1px solid #333;
}

.quick_nav a:hover {
	background: #eee;
	color: #333;
	border-color: #333;
}

.callaction {
	padding: 5px;
}

.callaction .success {
	background: #3f982f;
	border: 1px solid #ddd;
}

.callaction a,
body .entry-content .ecs-events.compact .ecs-button a {
	background-color: #666;
	border: 1px solid #666;
	border-radius: 8px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 6px 9px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;
}

.callaction.big a {
	padding: 0.9em 0;
	margin: 0 auto;
	width: 60%;
	font-size: 17px;
	color: #fff;
	background-color: var(--bdi-brand-primary);
	border-color: #2e6da4;
}

.callaction.big a:hover,
.callaction a:hover,
body .entry-content .ecs-events.compact .ecs-button a:hover {
	background: #eee;
	color: #222;
	border-color: #aaa;
}

.callaction .center {
	text-align: center;
}

/* Navigation highlight adjustments */
.main-navigation .current_page_item > a:before,
.main-navigation .current-menu-item > a:before {
	content: none !important;
}

/* Button tweaks */
.custom-btn-wrapper .book-appoin {
	border-color: var(--bdi-brand-primary);
	background-color: var(--bdi-brand-primary);
}

.custom-btn-wrapper .book-appoin span {
	border-color: transparent;
}

.custom-btn-wrapper .book-appoin span:hover {
	background-color: var(--bdi-brand-primary);
}

.widget-content {
	font-size: 14px;
	color: #888;
	border: #ddd solid;
	padding: 10px;
	border-width: 0 0 1px 1px;
	margin-bottom: 1.5rem;
}

.widget-content .widget {
	margin-bottom: 1rem;
}

.bdi-page-callout .widget-title {
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	color: #222;
}

/* Swap any leftover orange borders with the new brand color */
[style*="#f7931e"],
.border-orange,
.has-orange-border {
	border-color: var(--bdi-brand-primary) !important;
}

/* ============================================
   TRIBE EVENTS - Modern, Cohesive Styling
   ============================================ */

/* Event Meta Container */
.tribe-events-single-section.tribe-events-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	background: none;
	border: none;
	margin: 0;
}

.tribe-events-single-section.tribe-events-event-meta .tribe-events-meta-group {
	margin:0;
}

/* Meta Groups - Balanced Layout */
.tribe-events-meta-group {
	flex: 1 1 calc(33.333% - 1rem);
	min-width: 280px;
	background: #fff;
	border: 1px solid rgba(14, 110, 176, 0.12);
	border-radius: 12px;
	padding: 2rem !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.tribe-events-meta-group:hover {
	box-shadow: 0 8px 24px rgba(14, 110, 176, 0.15);
	transform: translateY(-2px);
}

/* Section Titles */
.tribe-events-meta-group .tribe-events-single-section-title {
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bdi-brand-primary);
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid rgba(14, 110, 176, 0.15);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tribe-events-meta-group .tribe-events-single-section-title i {
	font-size: 1rem;
	color: var(--bdi-brand-primary);
}

/* Definition Lists */
.tribe-events-meta-group dl {
	margin: 0;
}

.tribe-events-meta-group dt {
	font-weight: 600;
	color: #555;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 1rem 0 0.35rem;
}

.tribe-events-meta-group dt:first-of-type {
	margin-top: 0;
}

.tribe-events-meta-group dd {
	margin: 0 0 0.85rem;
	color: #333;
	font-size: 1rem;
	line-height: 1.6;
}

.tribe-events-meta-group dd:last-child {
	margin-bottom: 0;
}

/* Actions/CTA Section - Compact Styling - Side by side with organizer */
.tribe-events-meta-group-actions {
	flex: 1 1 calc(50% - 2.5rem) !important;
	min-width: 0;
	max-width: calc(50% - 0.75rem);
	background: linear-gradient(135deg, #f0fff4 0%, #e6f7ff 100%);
	border: 2px solid var(--bdi-brand-primary);
	box-shadow: 0 8px 32px rgba(14, 110, 176, 0.2);
}

.tribe-events-meta-group-actions .bdi-cta-wrapper {
	text-align: center;
}

.tribe-events-meta-group-actions .tribe-events-single-section-title {
	color: var(--bdi-brand-primary);
	font-size: 1.15rem;
	justify-content: center;
	border-bottom-color: var(--bdi-brand-primary);
	border-bottom-width: 2px;
}

/* Event Cost Display */
.bdi-event-cost {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 1rem 0;
	font-size: 1rem;
	padding: 0.65rem 1.25rem;
	background: rgba(14, 110, 176, 0.08);
	border-radius: 12px;
}

.bdi-cost-label {
	font-weight: 600;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
}

.bdi-cost-value {
	font-weight: 700;
	color: var(--bdi-brand-primary);
	font-size: 1.15rem;
}

/* Registration Action - Compact CTA */
.bdi-registration-action {
	margin: 1.25rem 0;
}

.bdi-registration-action a,
.bdi-registration-action button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.85rem 1.75rem !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff !important;
	background: var(--bdi-brand-primary) !important;
	border: 2px solid var(--bdi-brand-primary) !important;
	border-radius: 999px !important;
	box-shadow: 0 12px 32px rgba(14, 110, 176, 0.35) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
	text-decoration: none !important;
}

.bdi-registration-action a:hover,
.bdi-registration-action button:hover {
	background: #094d7e !important;
	border-color: #094d7e !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 16px 40px rgba(9, 77, 126, 0.4) !important;
}

.bdi-registration-action a:active,
.bdi-registration-action button:active {
	transform: translateY(0) !important;
}

/* Contact Alternatives */
.bdi-contact-alternatives {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(14, 110, 176, 0.2);
}

.bdi-alt-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0.5rem 0;
	font-size: 0.85rem;
	color: #555;
}

.bdi-alt-contact i {
	color: var(--bdi-brand-primary);
	font-size: 0.9rem;
}

.bdi-alt-contact a {
	color: var(--bdi-brand-primary);
	font-weight: 600;
	text-decoration: none;
	transition: text-decoration 0.2s ease;
}

.bdi-alt-contact a:hover {
	text-decoration: underline;
}

/* Details Section */
.tribe-events-meta-group-details abbr {
	text-decoration: none;
	border: none;
	color: #333;
	font-weight: 500;
}

/* Venue Section - Full width on separate line */
.tribe-events-meta-group-venue {
	flex: 1 1 100% !important;
	min-width: 0;
	max-width: 100%;
}

.tribe-events-meta-group-venue .tribe-venue {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--bdi-brand-primary);
}

.tribe-events-meta-group-venue address {
	font-style: normal;
	line-height: 1.5;
}

/* Collapse address to one line */
.tribe-events-meta-group-venue .tribe-events-address {
	color: #555;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.tribe-events-meta-group-venue .tribe-events-address > * {
	display: inline;
}

.tribe-events-meta-group-venue .tribe-events-address br {
	display: none;
}

.tribe-events-meta-group-venue a {
	color: var(--bdi-brand-primary);
	text-decoration: none;
	font-weight: 600;
}

.tribe-events-meta-group-venue a:hover {
	text-decoration: underline;
}

.tribe-events-meta-group-venue .tribe-venue-tel a {
	color: var(--bdi-brand-primary);
	font-weight: 600;
}

/* Hide "Website:" label */
.tribe-events-meta-group-venue .tribe-venue-url-label {
	display: none;
}

.tribe-events-meta-group-venue .tribe-venue-url.callaction a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 1rem;
	background: var(--bdi-brand-primary);
	color: #fff !important;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: background 0.2s ease, transform 0.1s ease;
}

.tribe-events-meta-group-venue .tribe-venue-url.callaction a:hover {
	background: #094d7e;
	transform: translateY(-1px);
	text-decoration: none;
}

/* Organizer Section - Side by side with actions */
.tribe-events-meta-group-organizer {
	flex: 1 1 calc(50% - 0.75rem) !important;
	min-width: 0;
	max-width: calc(50% - 0.75rem);
	position: relative;
	text-align: center;
}

.tribe-events-meta-group-organizer .tribe-organizer {
	display: block;
	margin: 0 0 1rem 0;
	text-align: center;
}

.tribe-events-meta-group-organizer .tribe-organizer a {
	color: var(--bdi-brand-primary);
	font-weight: 600;
	font-size: 1.25rem;
	text-decoration: none;
	display: inline-block;
}

.tribe-events-meta-group-organizer .tribe-organizer a:hover {
	text-decoration: underline;
}

.tribe-events-meta-group-organizer .bdi-organizer-image {
	float: none;
	margin: 0 auto 1rem;
	max-width: 150px;
}

.tribe-events-meta-group-organizer .bdi-organizer-image a {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.tribe-events-meta-group-organizer .bdi-organizer-image a:hover {
	box-shadow: 0 8px 20px rgba(14, 110, 176, 0.25);
	transform: translateY(-2px);
}

.tribe-events-meta-group-organizer .bdi-organizer-image img {
	display: block;
	width: 100%;
	height: auto;
}

.tribe-events-meta-group-organizer .tribe-organizer a {
	color: var(--bdi-brand-primary);
	font-weight: 600;
	font-size: 1.05rem;
	text-decoration: none;
}

.tribe-events-meta-group-organizer .tribe-organizer a:hover {
	text-decoration: underline;
}

.tribe-events-meta-group-organizer .bdi-organizer-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.25rem;
	background: rgba(14, 110, 176, 0.1);
	border-radius: 8px;
	transition: background 0.2s ease;
}

.tribe-events-meta-group-organizer .bdi-organizer-link:hover {
	background: rgba(14, 110, 176, 0.2);
}

/* Hide email and phone in organizer section */
.tribe-events-meta-group-organizer .tribe-organizer-tel,
.tribe-events-meta-group-organizer .tribe-organizer-tel-label,
.tribe-events-meta-group-organizer .tribe-organizer-email,
.tribe-events-meta-group-organizer .tribe-organizer-email-label,
.tribe-events-meta-group-organizer dt {
	display: none;
}

.tribe-events-meta-group-organizer .tribe-organizer-url {
	text-align: center;
	margin: 0;
}

/* Icons in DT labels */
.tribe-events-meta-group dt i {
	margin-right: 0.35rem;
	color: var(--bdi-brand-primary);
	font-size: 0.85rem;
}

/* Event Images */
.tribe-events-event-image {
	padding: 5px 15px;
	float: left;
	margin: 0;
}

.tribe-events-event-image img,
.entry-content .tribe-events-meta-group-organizer img,
.entry-content table img {
	border-radius: 12px;
}

/* Event List View */
.tribe-events-list .type-tribe_events .tribe-events-list-event-title {
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--bdi-brand-primary);
}

.tribe-events-list .type-tribe_events .tribe-events-list-event-title:hover {
	color: #094d7e;
}

/* Event Categories and Tags */
.tribe-events-event-categories a,
.tribe-events-event-tags a {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	margin: 0.25rem 0.35rem 0.25rem 0;
	background: rgba(14, 110, 176, 0.1);
	color: var(--bdi-brand-primary);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease;
}

.tribe-events-event-categories a:hover,
.tribe-events-event-tags a:hover {
	background: rgba(14, 110, 176, 0.2);
}

/* Edit Links */
.edit-link a,
.edit-button {
	background: var(--bdi-brand-primary);
	border: 1px solid var(--bdi-brand-primary);
	color: #fff;
	float: right;
	border-radius: 8px;
	padding: 0.35rem 0.85rem;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.1s ease;
}

.edit-link a:hover,
.edit-button:hover {
	background: #094d7e;
	border-color: #094d7e;
	color: #fff;
	transform: translateY(-1px);
}

/* Simple Map Link in Venue Section - Below address */
.bdi-map-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	background: rgba(14, 110, 176, 0.08);
	color: var(--bdi-brand-primary);
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.1s ease;
}

.bdi-map-link:hover {
	background: rgba(14, 110, 176, 0.15);
	transform: translateY(-1px);
	text-decoration: none;
}

.bdi-map-link i:first-child {
	font-size: 1rem;
}

.bdi-map-link i:last-child {
	font-size: 0.75rem;
	opacity: 0.7;
}

/* Map Section - Hide default large map */
.tribe-events-meta-group-gmap {
	display: none;
}

.tribe-events-venue-map {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Event Navigation */
.tribe-events-nav-pagination {
	margin: 1.5rem 0;
}

.tribe-events-sub-nav {
	display: flex;
	justify-content: space-between;
	list-style: none;
	padding: 0;
	margin: 0;
}

.tribe-events-sub-nav a {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1.25rem;
	background: var(--bdi-brand-primary);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s ease, transform 0.1s ease;
}

.tribe-events-sub-nav a:hover {
	background: #094d7e;
	transform: translateY(-1px);
}

/* Event Title */
.tribe-events-single-event-title {
	color: var(--bdi-brand-primary);
	margin-bottom: 1rem;
}

/* Event Schedule */
.tribe-events-schedule {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding: 1rem 0;
	border-top: 2px solid rgba(14, 110, 176, 0.15);
	border-bottom: 2px solid rgba(14, 110, 176, 0.15);
	margin: 1.5rem 0;
}

.tribe-events-schedule h2 {
	margin: 0;
	font-size: 1.15rem;
	color: #333;
}

.tribe-events-cost {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.25rem;
	background: var(--bdi-brand-primary);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1.1rem;
}

/* List Separator */
.entry-content .tribe-events-list-separator-month {
	margin: 1.5rem auto;
	padding: 0.75rem 1.5rem;
	background: var(--bdi-brand-primary);
	color: #fff;
	border-radius: 8px;
	text-align: center;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Other Event List Styles */
.entry-content .tribe-events-list .tribe-events-venue-details {
	margin: 0.5rem 0;
}

.entry-content .tribe-events-map-event-title {
	font-size: 1.1rem;
	font-weight: bold;
	margin: 0 0 0.5rem 0;
	color: var(--bdi-brand-primary);
}

.entry-content .tribe-events-loop .tribe-event-url a,
.entry-content #tribe-geo-results .tribe-events-map-event-title {
	line-height: 1.5em;
	font-size: 1.25rem;
	color: var(--bdi-brand-primary);
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {
	/* Keep 2-column layout for tablets */
	.tribe-events-meta-group-actions,
	.tribe-events-meta-group-organizer {
		flex: 1 1 calc(50% - 0.75rem) !important;
		max-width: calc(50% - 0.75rem);
		min-width: 0;
	}
	
	.tribe-events-meta-group-venue {
		flex: 1 1 100% !important;
		max-width: 100%;
		min-width: 0;
	}
}

@media screen and (max-width: 767px) {
	/* Single column on mobile */
	.tribe-events-meta-group,
	.tribe-events-meta-group-actions,
	.tribe-events-meta-group-organizer,
	.tribe-events-meta-group-venue {
		flex: 1 1 100% !important;
		max-width: 100%;
		min-width: 0;
	}
	
	.bdi-registration-action a,
	.bdi-registration-action button {
		min-width: 0;
		width: 100%;
	}
	
	.tribe-events-schedule {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}

/* ============================================
   SINGLE EVENT — REDESIGN
   ============================================ */

/* Page-level overrides */

.single-tribe_events .external-div,
.single-tribe_events .external-div .featured-image,
.single-tribe_events .external-div .single-page-img,
.single-tribe_events .header-img {
	height: 160px !important;
	background-position: center !important;
}

@media (max-width: 1024px) {
	.single-tribe_events .external-div,
	.single-tribe_events .external-div .featured-image,
	.single-tribe_events .external-div .single-page-img,
	.single-tribe_events .header-img {
		height: 120px !important;
	}
}

.single-tribe_events .box-text {
	display: none !important;
}

.single-tribe_events .tribe-events-single-event-title {
	display: none;
}

.single-tribe_events #theme-sidebar {
	display: none !important;
}

.single-tribe_events .col-lg-8.right-sidebar,
.single-tribe_events .col-lg-8.left-sidebar {
	flex: 0 0 100%;
	max-width: 100%;
}

.widget-content.bdi-page-callout {
	display: none;
}

/* Hide old meta sections */
.bdi-redesign .tribe-events-meta-group-actions,
.bdi-redesign .tribe-events-meta-group-organizer,
.bdi-redesign .tribe-events-meta-group-venue {
	display: none;
}

/* --- Admin visibility notice --- */
.bdi-admin-visibility-notice {
	padding: 12px 20px;
	margin: 0 calc(-50vw + 50%) 0;
	width: 100vw;
	text-align: center;
	font-size: 14px;
	color: #fff;
}

.bdi-admin-visibility-notice a {
	color: #fff;
	text-decoration: underline;
	margin-left: 8px;
}

.bdi-admin-visibility-notice.bdi-vis-draft { background: #6b7280; }
.bdi-admin-visibility-notice.bdi-vis-pending { background: #b45309; }
.bdi-admin-visibility-notice.bdi-vis-private { background: #dc2626; }
.bdi-admin-visibility-notice.bdi-vis-protected { background: #6d28d9; }

/* --- Hero strip --- */
.bdi-hero {
	background: linear-gradient(135deg, #0a4f7a 0%, #277cb2 50%, #3a9ad9 100%);
	color: #fff;
	padding: 2.5rem 0;
	margin: 0 calc(-50vw + 50%) 0;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.bdi-hero-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
}

.bdi-hero-info {
	flex: 1;
	min-width: 0;
}

.bdi-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

.bdi-badge-bootcamp {
	background: rgba(255, 200, 50, 0.2);
	color: #ffd366;
	border: 1px solid rgba(255, 200, 50, 0.3);
}

.bdi-badge-partner {
	background: rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.bdi-badge-espanol {
	background: rgba(255, 180, 50, 0.25);
	color: #ffd366;
	border: 1px solid rgba(255, 180, 50, 0.4);
}

.bdi-bilingual-notice {
	font-style: italic;
	color: #666 !important;
}

/* Languages page */
.bdi-languages-page p {
	font-size: 1.05rem;
	color: #555;
	margin-bottom: 1.5rem;
}

.bdi-lang-cards {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bdi-lang-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bdi-lang-card:hover {
	border-color: var(--bdi-brand-primary);
	box-shadow: 0 4px 16px rgba(14, 110, 176, 0.1);
	color: inherit;
	text-decoration: none;
}

.bdi-lang-card-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--bdi-brand-primary);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	flex-shrink: 0;
}

.bdi-lang-card-info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.bdi-lang-card-info strong {
	font-size: 1.1rem;
	color: #222;
}

.bdi-lang-card-info > span {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.5;
}

/* Find a Course state grid widget */
.bdi-state-grid-widget {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
	gap: 4px;
}

.bdi-state-grid-widget a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.25rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bdi-brand-primary);
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.15s ease, color 0.15s ease;
}

.bdi-state-grid-widget a:hover {
	background: var(--bdi-brand-primary);
	color: #fff !important;
}

.bdi-state-grid-widget a:active {
	background: #094d7e;
	color: #fff !important;
}

.bdi-hero-title {
	font-size: 2rem;
	font-weight: 800;
	margin: 0 0 0.75rem;
	line-height: 1.2;
	color: #fff;
}

.bdi-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-bottom: 1rem;
}

.bdi-hero-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.95rem;
	opacity: 0.9;
}

.bdi-hero-meta-item i {
	font-size: 0.85rem;
	opacity: 0.7;
}

.bdi-cert-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bdi-cert-pill {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

/* Hero CTA column */
.bdi-hero-cta {
	flex-shrink: 0;
	width: 280px;
	text-align: center;
}

.bdi-hero-price {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
	line-height: 1;
}

.bdi-hero-action {
	margin-bottom: 1rem;
}

.bdi-hero-action .callaction {
	padding: 0;
}

.bdi-hero-action .callaction a,
.bdi-hero-action .registration_button {
	display: block;
	width: 100%;
	padding: 0.9rem 1.5rem !important;
	font-size: 1rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0a4f7a !important;
	background: #fff !important;
	border: 2px solid #fff !important;
	border-radius: 8px !important;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.bdi-hero-action .callaction a:hover,
.bdi-hero-action .registration_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	background: #f0f7ff !important;
	color: #0a4f7a !important;
}

/* PayPal form — overlay real input on styled visual */
.bdi-hero-action form,
.bdi-sidebar-button form,
.bdi-mobile-cta-button form {
	position: relative;
	display: block;
	cursor: pointer;
}

.bdi-hero-action form input[type="image"],
.bdi-sidebar-button form input[type="image"],
.bdi-mobile-cta-button form input[type="image"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.bdi-hero-action form span,
.bdi-sidebar-button form span,
.bdi-mobile-cta-button form span {
	display: none;
}

.bdi-hero-action form::after {
	content: "Register Now";
	display: block;
	width: 100%;
	padding: 0.9rem 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0a4f7a;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.bdi-hero-action form:hover::after {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	background: #f0f7ff;
}

.bdi-hero-partner-host {
	margin-bottom: 1rem;
}

.bdi-partner-label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.7;
	margin-bottom: 0.25rem;
}

.bdi-partner-name {
	display: block;
	font-size: 1.15rem;
	font-weight: 700;
}

.bdi-hero-contact {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.85rem;
}

.bdi-hero-contact a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.bdi-hero-contact a:hover {
	color: #fff;
}

/* --- Trust bar --- */
.bdi-trust-bar {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.bdi-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #555;
}

.bdi-trust-item i {
	color: var(--bdi-brand-primary);
	font-size: 1.1rem;
}

.bdi-trust-photo {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

/* --- Content layout --- */
.bdi-content-layout {
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
}

.bdi-content-main {
	flex: 1;
	min-width: 0;
}

.bdi-content-main .tribe-events-event-image {
	float: none;
	padding: 0;
	margin: 0 0 2rem;
}

.bdi-content-main .tribe-events-event-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bdi-content-main .tribe-events-single-event-description {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #333;
}

.bdi-content-main .tribe-events-single-event-description:not(:empty) + .bdi-cert-details {
	margin-top: 2rem;
}

/* Certification details section */
.bdi-cert-details {
	margin: 0 0 2rem;
	padding: 2rem;
	background: #f8fafb;
	border-radius: 12px;
	border-left: 4px solid var(--bdi-brand-primary);
}

.bdi-cert-details:empty {
	display: none;
}

.bdi-cert-details h2,
.bdi-cert-details h3 {
	color: var(--bdi-brand-primary);
	margin-top: 1.5rem;
}

.bdi-cert-details h2:first-child,
.bdi-cert-details h3:first-child {
	margin-top: 0;
}

/* PayPal forms inside cert details — inline styled buttons */
.bdi-cert-details form {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

.bdi-cert-details form input[type="image"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.bdi-cert-details form span {
	display: none;
}

.bdi-cert-details form::after {
	content: "Register for Course";
	display: inline-block;
	padding: 0.45rem 1.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	background: var(--bdi-brand-primary);
	border: 2px solid var(--bdi-brand-primary);
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.bdi-cert-details form:hover::after {
	background: #094d7e;
	border-color: #094d7e;
}

/* Cert description CTAs */
.bdi-cert-ctas {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(14, 110, 176, 0.15);
}

.bdi-cert-cta-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.5rem 1.25rem;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	color: var(--bdi-brand-primary);
	border: 2px solid var(--bdi-brand-primary);
	background: transparent;
}

.bdi-cert-cta-secondary:hover {
	background: var(--bdi-brand-primary);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.bdi-cert-ctas .bdi-cert-cta-secondary:last-child {
	background: var(--bdi-brand-primary);
	color: #fff;
	border-color: var(--bdi-brand-primary);
}

.bdi-cert-ctas .bdi-cert-cta-secondary:last-child:hover {
	background: #094d7e;
	border-color: #094d7e;
}

/* Hide "Add to Calendar" — it clutters the conversion flow */
.bdi-redesign .tribe-events-c-subscribe-dropdown__container,
.bdi-redesign .tribe-events-cal-links {
	display: none;
}

/* Featured image — no float, full width, clean caption */
.bdi-content-main .tribe-events-event-image .wp-caption-text,
.bdi-content-main .tribe-events-event-image figcaption {
	font-size: 0.8rem;
	color: #888;
	text-align: center;
	margin-top: 0.5rem;
	font-style: italic;
}

/* Instructor links */
.bdi-trust-instructor a,
.bdi-logistics-instructor a,
.bdi-sidebar-link {
	color: var(--bdi-brand-primary);
	text-decoration: none;
	font-weight: 600;
}

.bdi-trust-instructor a:hover,
.bdi-logistics-instructor a:hover,
.bdi-sidebar-link:hover {
	text-decoration: underline;
}

/* State links in hero should be white */
.bdi-hero-meta a {
	color: #fff !important;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
}

.bdi-hero-meta a:hover {
	text-decoration-color: #fff;
}

/* Expired hero badge */
.bdi-badge-expired {
	background: rgba(249, 168, 37, 0.25) !important;
	color: #ffe082 !important;
	border: 1px solid rgba(255, 224, 130, 0.4);
}

.bdi-hero-expired-message {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0.75rem;
}

/* Expired event banner */
.bdi-expired-banner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: #fff8e1;
	border: 1px solid #ffe082;
	border-radius: 10px;
	margin: 0 0 1.5rem;
	font-size: 0.92rem;
	color: #5d4037;
}

.bdi-expired-banner i {
	font-size: 1.25rem;
	color: #f9a825;
	flex-shrink: 0;
}

.bdi-expired-banner a {
	color: var(--bdi-brand-primary);
	font-weight: 600;
}

/* Expired event sidebar */
.bdi-sidebar-expired {
	text-align: left !important;
	background: linear-gradient(135deg, #f9a825, #f57f17) !important;
}

.bdi-sidebar-expired-heading {
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 1rem;
	text-align: center;
}

.bdi-sidebar-expired-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.bdi-sidebar-expired-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
	background: rgba(255, 255, 255, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
	transition: background 0.15s ease;
}

.bdi-sidebar-expired-link:hover {
	background: rgba(255, 255, 255, 0.45);
	color: #fff;
	text-decoration: none;
}

.bdi-sidebar-expired-link.bdi-sidebar-expired-primary {
	background: #fff;
	border-color: #fff;
	color: #e65100 !important;
	font-weight: 700;
}

.bdi-sidebar-expired-link.bdi-sidebar-expired-primary:hover {
	background: #fff8e1;
}

.bdi-sidebar-expired-link i {
	width: 1.2em;
	text-align: center;
	opacity: 0.8;
}

/* Related courses subtitle */
.bdi-related-subtitle {
	font-size: 0.9rem;
	color: #888;
	margin: 0 0 1.25rem;
}

/* Logistics grid */
.bdi-logistics {
	margin: 2.5rem 0;
}

.bdi-logistics h2 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #222;
	margin-bottom: 1.25rem;
}

.bdi-logistics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
}

.bdi-logistics-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 1.5rem;
	transition: box-shadow 0.2s ease;
}

.bdi-logistics-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bdi-logistics-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(14, 110, 176, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.75rem;
}

.bdi-logistics-icon i {
	color: var(--bdi-brand-primary);
	font-size: 1.1rem;
}

.bdi-logistics-card h3 {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #888;
	margin: 0 0 0.5rem;
}

.bdi-logistics-card p {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #222;
}

.bdi-logistics-secondary {
	font-weight: 400 !important;
	color: #666 !important;
	font-size: 0.88rem !important;
}

.bdi-map-link-small {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: var(--bdi-brand-primary);
	text-decoration: none;
	font-weight: 600;
}

.bdi-map-link-small:hover {
	text-decoration: underline;
}

.bdi-logistics-instructor {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.bdi-logistics-instructor img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.bdi-logistics-instructor span {
	font-size: 0.95rem;
	font-weight: 600;
	color: #222;
}

/* Related courses container */
.bdi-related-courses {
	margin: 2.5rem 0;
	padding-top: 2rem;
	border-top: 1px solid #e8e8e8;
}

.bdi-related-courses h2 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #222;
	margin-bottom: 0.25rem;
}

/* ============================================
   SHARED COURSE LIST COMPONENT
   ============================================ */

.bdi-course-list {
	display: flex;
	flex-direction: column;
}

.bdi-course-list-card {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #f0f0f0;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.bdi-course-list-card:first-child {
	border-top: 1px solid #f0f0f0;
}

.bdi-course-list-card:hover {
	background: #f8fafb;
	color: inherit;
	text-decoration: none;
}

.bdi-course-card-details strong {
	font-size: 0.95rem;
	color: #222;
	line-height: 1.3;
}

.bdi-course-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin-top: 0.2rem;
}

.bdi-course-card-dates {
	font-size: 0.85rem;
	color: #555;
	font-weight: 500;
}

.bdi-course-card-distance {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--bdi-brand-primary);
	background: rgba(14, 110, 176, 0.08);
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
}

.bdi-course-card-distance.bdi-same-location {
	background: var(--bdi-brand-primary);
	color: #fff;
}

.bdi-course-card-lang {
	font-size: 0.75rem;
	font-weight: 700;
	color: #b45309;
	background: rgba(180, 83, 9, 0.1);
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.bdi-course-list-card.bdi-non-public {
	opacity: 0.55;
	border-style: dashed;
	background: #fefcf3;
}

.bdi-course-list-card.bdi-non-public:hover {
	opacity: 0.8;
}

.bdi-course-card-visibility {
	font-size: 0.65rem;
	font-weight: 700;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #fff;
}

.bdi-course-card-visibility.bdi-vis-draft { background: #9ca3af; }
.bdi-course-card-visibility.bdi-vis-pending { background: #d97706; }
.bdi-course-card-visibility.bdi-vis-private { background: #dc2626; }
.bdi-course-card-visibility.bdi-vis-protected { background: #7c3aed; }

@media (max-width: 480px) {
	.bdi-course-list-card {
		flex-wrap: wrap;
		gap: 0.75rem;
	}
}

/* ── Course List — Contained card style + 2-col grid ───────────
   Every course card gets the contained look (border, radius, shadow)
   to match venue cards / stat cards. At 768px+ the list becomes a
   2-column grid. Inside narrow containers (.bdi-sidebar,
   .bdi-related-courses) the grid is forced back to single column
   so the sidebar layout is not broken.                          */

.bdi-course-list {
	gap: 0.75rem;
}

.bdi-course-list-card {
	background: #fff;
	border: 1px solid #e8eef3;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	border-bottom: none;
	padding: 1.1rem 1.25rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bdi-course-list-card:first-child {
	border-top: none;
}

.bdi-course-list-card:hover {
	border-color: var(--bdi-brand-primary);
	box-shadow: 0 4px 14px rgba(14, 110, 176, 0.1);
	background: #fff;
}

/* 2-col grid only on state landing pages (full-width layout) */
@media (min-width: 768px) {
	.bdi-state-page .bdi-course-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

/* --- Sidebar --- */
.bdi-sidebar {
	width: 320px;
	flex-shrink: 0;
	align-self: stretch;
}

.bdi-sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Sidebar CTA */
.bdi-sidebar-cta {
	background: linear-gradient(135deg, #0a4f7a 0%, #277cb2 100%);
	color: #fff;
	padding: 1.5rem;
	text-align: center;
}

.bdi-sidebar-price {
	font-size: 2.25rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
	line-height: 1;
}

.bdi-sidebar-partner {
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
}

.bdi-sidebar-partner span {
	display: block;
	opacity: 0.8;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.bdi-sidebar-partner strong {
	display: block;
	font-size: 1.05rem;
	margin-top: 0.25rem;
}

.bdi-sidebar-button {
	margin-bottom: 0.5rem;
}

.bdi-sidebar-button .callaction {
	padding: 0;
}

.bdi-sidebar-button .callaction a,
.bdi-sidebar-button .registration_button {
	display: block;
	width: 100%;
	padding: 0.8rem 1.5rem !important;
	font-size: 0.95rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0a4f7a !important;
	background: #fff !important;
	border: 2px solid #fff !important;
	border-radius: 8px !important;
	text-align: center;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	text-decoration: none;
}

.bdi-sidebar-button .callaction a:hover,
.bdi-sidebar-button .registration_button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	background: #f0f7ff !important;
	color: #0a4f7a !important;
}

/* PayPal form in sidebar — visual label */
.bdi-sidebar-button form::after {
	content: "Register Now";
	display: block;
	width: 100%;
	padding: 0.8rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0a4f7a;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.bdi-sidebar-button form:hover::after {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	background: #f0f7ff;
}

.bdi-sidebar-guarantee {
	margin: 0;
	font-size: 0.75rem;
	opacity: 0.7;
}

/* Sidebar details */
.bdi-sidebar-details {
	padding: 1.25rem 1.5rem;
}

.bdi-sidebar-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.bdi-sidebar-row:last-child {
	border-bottom: none;
}

.bdi-sidebar-row > i {
	color: var(--bdi-brand-primary);
	font-size: 0.9rem;
	margin-top: 0.2rem;
	flex-shrink: 0;
	width: 18px;
	text-align: center;
}

.bdi-sidebar-row > div {
	display: flex;
	flex-direction: column;
}

.bdi-sidebar-row strong {
	font-size: 0.9rem;
	color: #222;
}

.bdi-sidebar-row span {
	font-size: 0.8rem;
	color: #888;
}

/* Sidebar help */
.bdi-sidebar-help {
	padding: 1rem 1.5rem;
	background: #f8f9fa;
	border-top: 1px solid #e8e8e8;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.bdi-sidebar-help p {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
}

.bdi-sidebar-help a {
	font-size: 0.85rem;
	color: var(--bdi-brand-primary);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.bdi-sidebar-help a:hover {
	text-decoration: underline;
}

/* --- Mobile sticky CTA --- */
.bdi-mobile-cta {
	display: none;
}

/* --- Responsive --- */
@media (max-width: 900px) {
	.bdi-hero-inner {
		flex-direction: column;
		text-align: center;
		gap: 1.5rem;
	}

	.bdi-hero-meta {
		justify-content: center;
	}

	.bdi-cert-pills {
		justify-content: center;
	}

	.bdi-hero-cta {
		width: 100%;
		max-width: 340px;
	}

	.bdi-content-layout {
		flex-direction: column;
	}

	.bdi-sidebar {
		display: none;
	}

	.bdi-mobile-cta {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9990;
		background: #fff;
		border-top: 1px solid #ddd;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
		padding: 0.75rem 1rem;
	}

	.bdi-mobile-cta-inner {
		display: flex;
		align-items: center;
		gap: 1rem;
		max-width: 600px;
		margin: 0 auto;
	}

	.bdi-mobile-cta-price {
		font-size: 1.35rem;
		font-weight: 800;
		color: var(--bdi-brand-primary);
		white-space: nowrap;
	}

	.bdi-mobile-cta-button {
		flex: 1;
	}

	.bdi-mobile-cta-button .callaction {
		padding: 0;
	}

	.bdi-mobile-cta-button .callaction a {
		display: block;
		width: 100%;
		padding: 0.7rem 1rem !important;
		font-size: 0.9rem !important;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: #fff !important;
		background: var(--bdi-brand-primary) !important;
		border: none !important;
		border-radius: 8px !important;
		text-align: center;
		box-shadow: none;
	}

	/* PayPal in mobile bar — visual label */
	.bdi-mobile-cta-button form::after {
		content: "Register Now";
		display: block;
		width: 100%;
		padding: 0.7rem 1rem;
		font-size: 0.9rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: #fff;
		background: var(--bdi-brand-primary);
		border: none;
		border-radius: 8px;
		text-align: center;
		cursor: pointer;
	}

	.bdi-trust-bar {
		gap: 1rem;
	}

	.bdi-logistics-grid {
		grid-template-columns: 1fr;
	}

	/* Add padding to body bottom so content isn't hidden behind sticky CTA */
	.bdi-redesign {
		padding-bottom: 80px;
	}
}

@media (max-width: 480px) {
	.bdi-hero {
		padding: 1.5rem 0;
	}

	.bdi-hero-title {
		font-size: 1.5rem;
	}

	.bdi-hero-price {
		font-size: 2rem;
	}

	.bdi-trust-bar {
		flex-direction: column;
		gap: 0.5rem;
	}
}

/* Pre-footer callout strip */
.bdi-prefooter {
	background: #f5f6f8;
	border-top: 1px solid #e0e0e0;
	padding: 40px 0;
	margin-top: 40px;
}

.bdi-prefooter-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.bdi-prefooter-grid .widget {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	padding: 24px;
	border-top: 3px solid #277cb2;
}

.bdi-prefooter-grid .widget-title {
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 12px;
}

@media (max-width: 768px) {
	.bdi-prefooter-grid {
		grid-template-columns: 1fr;
	}
}

/* Tablet and below — stack all sections full width */
@media (max-width: 991px) {
	#theme-sidebar {
		margin-top: 2rem;
	}

	/* About section — stack columns full width */
	#about .row > [class*="col-md"],
	#about .row > [class*="col-lg"] {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	/* About image — full width with crop */
	.image-abt .about-image1 .thumbnail {
		overflow: hidden;
		border-radius: 12px;
		max-height: 300px;
	}

	.image-abt .about-image1 .thumbnail img {
		width: 100%;
		height: 300px;
		object-fit: cover;
		object-position: center top;
	}

	/* Hide the empty decorative background column */
	.abt-bg-img {
		display: none !important;
	}

	/* Home content grid — stack */
	.bdi-home-grid {
		flex-direction: column;
	}

	.bdi-home-sidebar {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
}

/* ============================================
   INSTRUCTOR PROFILE PAGE
   ============================================ */

.bdi-instructor-page + #theme-sidebar,
.bdi-staff-profile + #theme-sidebar {
	margin-top: 2rem;
}

.bdi-instructor-back {
	margin-bottom: 1.5rem;
}

.bdi-instructor-back a {
	color: var(--bdi-brand-primary);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.bdi-instructor-back a:hover {
	text-decoration: underline;
}

/* Profile header — photo + info side by side */
.bdi-instructor-header {
	display: flex;
	gap: 2.5rem;
	align-items: flex-start;
	margin-bottom: 2.5rem;
}

.bdi-instructor-portrait {
	flex-shrink: 0;
	width: 240px;
}

.bdi-instructor-portrait img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.bdi-instructor-info {
	flex: 1;
	min-width: 0;
}

.bdi-instructor-title {
	font-size: 2rem;
	font-weight: 800;
	color: #222;
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.bdi-instructor-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #e8e8e8;
}

.bdi-instructor-contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--bdi-brand-primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.bdi-instructor-contact a:hover {
	text-decoration: underline;
}

.bdi-instructor-contact i {
	font-size: 0.85rem;
}

.bdi-instructor-bio {
	font-size: 1rem;
	line-height: 1.7;
	color: #444;
}

.bdi-instructor-bio p:first-child {
	margin-top: 0;
}

/* Upcoming courses section */
.bdi-instructor-courses {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e8e8e8;
}

.bdi-instructor-courses h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #222;
	margin: 0 0 1.25rem;
}

.bdi-course-card-date {
	flex-shrink: 0;
	width: 52px;
	text-align: center;
	background: var(--bdi-brand-primary);
	color: #fff;
	border-radius: 8px;
	padding: 0.4rem 0.5rem;
	line-height: 1;
}

.bdi-course-card-month {
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.15rem;
}

.bdi-course-card-day {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
}

.bdi-course-card-details {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.bdi-course-card-details strong {
	font-size: 0.95rem;
	color: #222;
}

.bdi-course-card-type {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--bdi-brand-primary);
}

.bdi-course-card-location {
	font-size: 0.85rem;
	color: #888;
}

.bdi-course-card-location i {
	font-size: 0.75rem;
	margin-right: 0.2rem;
}

@media (max-width: 768px) {
	.bdi-instructor-header {
		flex-direction: column;
		gap: 1.5rem;
	}

	.bdi-instructor-portrait {
		width: 180px;
		margin: 0 auto;
	}

	.bdi-instructor-info {
		text-align: center;
	}

	.bdi-instructor-contact {
		justify-content: center;
	}

	.bdi-instructor-bio {
		text-align: left;
	}

	.bdi-instructor-course-card {
		flex-wrap: wrap;
		gap: 0.75rem;
	}
}


/* ============================================
   SPANISH LANGUAGE OVERRIDES
   ============================================ */

/* Swap PayPal ::after button text for Spanish */
.bdi-lang-es .bdi-hero-action form::after {
	content: "Regístrate Ahora";
}

.bdi-lang-es .bdi-sidebar-button form::after {
	content: "Regístrate Ahora";
}

.bdi-lang-es .bdi-mobile-cta-button form::after {
	content: "Regístrate Ahora";
}

.bdi-lang-es .bdi-cert-details form::after {
	content: "Regístrate por Curso";
}

/* ============================================
   SPANISH LANDING PAGE
   ============================================ */

.bdi-landing-es h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #222;
	margin: 2rem 0 1rem;
}

.bdi-landing-es h2:first-child {
	margin-top: 0;
}

.bdi-landing-hero-text {
	margin-bottom: 2rem;
}

.bdi-landing-hero-text h2 {
	display: none;
}

.bdi-landing-hero-text p {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #444;
}

/* Feature cards grid */
.bdi-landing-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.bdi-landing-feature {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	transition: box-shadow 0.2s ease;
}

.bdi-landing-feature:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bdi-landing-feature-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(14, 110, 176, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.75rem;
}

.bdi-landing-feature-icon i {
	color: var(--bdi-brand-primary);
	font-size: 1.2rem;
}

.bdi-landing-feature h3 {
	font-size: 0.9rem;
	font-weight: 700;
	color: #222;
	margin: 0 0 0.35rem;
}

.bdi-landing-feature p {
	font-size: 0.85rem;
	color: #666;
	margin: 0;
	line-height: 1.4;
}

/* Cert card */
.bdi-landing-certs {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.bdi-landing-cert-card {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bdi-landing-cert-card:hover {
	border-color: var(--bdi-brand-primary);
	box-shadow: 0 4px 16px rgba(14, 110, 176, 0.1);
	color: inherit;
	text-decoration: none;
}

.bdi-landing-cert-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--bdi-brand-primary);
	color: #fff !important;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	flex-shrink: 0;
}

.bdi-landing-cert-card strong {
	display: block;
	font-size: 1rem;
	color: #222;
	margin-bottom: 0.15rem;
}

.bdi-landing-cert-card span {
	font-size: 0.85rem;
	color: #888;
}

/* Contact CTA */
.bdi-landing-contact {
	text-align: center;
	padding: 2rem;
	background: #f8fafb;
	border-radius: 12px;
	margin-top: 2rem;
}

.bdi-landing-contact p {
	font-size: 1.1rem;
	font-weight: 600;
	color: #222;
	margin: 0 0 1rem;
}

.bdi-landing-contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: var(--bdi-brand-primary);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	transition: background 0.15s ease, transform 0.15s ease;
}

.bdi-landing-contact-btn:hover {
	background: #094d7e;
	color: #fff;
	transform: translateY(-1px);
	text-decoration: none;
}

@media (max-width: 480px) {
	.bdi-landing-features {
		grid-template-columns: 1fr 1fr;
	}
}

/* ============================================
   ABOUT PAGE — TEAM GRID
   ============================================ */

.bdi-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.bdi-team-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease;
}

.bdi-team-member:hover {
	transform: translateY(-3px);
	color: inherit;
	text-decoration: none;
}

.bdi-team-member img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	object-position: center top;
	border-radius: 50%;
	margin-bottom: 0.75rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.15s ease;
}

.bdi-team-member:hover img {
	box-shadow: 0 8px 24px rgba(14, 110, 176, 0.2);
}

.bdi-team-member strong {
	font-size: 0.95rem;
	color: var(--bdi-brand-primary);
	display: block;
	margin-bottom: 0.2rem;
}

.bdi-team-member span {
	font-size: 0.8rem;
	color: #888;
	line-height: 1.3;
}

/* ============================================
   SEARCH — Disabled
   ============================================ */

.search-outer,
.search-form,
.widget_search,
#secondary .widget_search {
	display: none !important;
}

/* ============================================
   SINGLE POST — Editorial Layout
   ============================================ */

.single-post #theme-sidebar {
	display: none !important;
}

.single-post .col-lg-8.right-sidebar,
.single-post .col-lg-8.left-sidebar {
	flex: 0 0 100%;
	max-width: 100%;
}

.single-post .box-info,
.single-post .box-info + hr {
	display: none;
}

/* Post layout: content + promo sidebar */
.bdi-post-layout {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
	max-width: 1100px;
	margin: 0 auto;
}

.bdi-post-content {
	flex: 1;
	min-width: 0;
	max-width: 720px;
}

/* Article container */
.bdi-article {
	padding: 0 1.5rem;
}

/* Header: date + category */
.bdi-article-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid #e8e8e8;
}

.bdi-article-date {
	font-size: 0.85rem;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.bdi-article-cats {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.bdi-article-cat {
	display: inline-block;
	padding: 0.2rem 0.75rem;
	background: rgba(14, 110, 176, 0.08);
	color: var(--bdi-brand-primary);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background 0.15s ease;
}

.bdi-article-cat:hover {
	background: rgba(14, 110, 176, 0.16);
	color: var(--bdi-brand-primary);
	text-decoration: none;
}

/* Body — editorial typography */
.bdi-article-body {
	font-size: 1.125rem;
	line-height: 1.85;
	color: #333;
}

.bdi-article-body p {
	margin-bottom: 1.5rem;
}

.bdi-article-body p:first-of-type {
	font-size: 1.2rem;
	color: #222;
}

.bdi-article-body h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #222;
	margin: 2.5rem 0 1rem;
	line-height: 1.3;
}

.bdi-article-body h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #222;
	margin: 2rem 0 0.75rem;
	line-height: 1.35;
}

.bdi-article-body blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--bdi-brand-primary);
	background: #f8fafb;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: #444;
}

.bdi-article-body blockquote p:last-child {
	margin-bottom: 0;
}

.bdi-article-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 2rem 0;
}

.bdi-article-body a {
	color: var(--bdi-brand-primary);
	text-decoration: underline;
	text-decoration-color: rgba(14, 110, 176, 0.3);
	text-underline-offset: 2px;
	transition: text-decoration-color 0.15s ease;
}

.bdi-article-body a:hover {
	text-decoration-color: var(--bdi-brand-primary);
}

.bdi-article-body ul,
.bdi-article-body ol {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
}

.bdi-article-body li {
	margin-bottom: 0.5rem;
}

.bdi-article-body strong {
	color: #222;
}

.bdi-article-body hr {
	border: none;
	text-align: center;
	margin: 2.5rem 0;
}

.bdi-article-body hr::after {
	content: "···";
	font-size: 1.5rem;
	letter-spacing: 0.5em;
	color: #ccc;
}

/* Tags */
.bdi-article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e8e8e8;
}

.bdi-article-tag {
	display: inline-block;
	padding: 0.25rem 0.85rem;
	border: 1px solid #ddd;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #666;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.bdi-article-tag:hover {
	border-color: var(--bdi-brand-primary);
	color: var(--bdi-brand-primary);
	text-decoration: none;
}

/* Post navigation */
.bdi-article-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e8e8e8;
}

.bdi-article-nav-link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.25rem;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bdi-article-nav-link:hover {
	border-color: var(--bdi-brand-primary);
	box-shadow: 0 4px 16px rgba(14, 110, 176, 0.1);
	color: inherit;
	text-decoration: none;
}

.bdi-nav-next {
	text-align: right;
	grid-column: 2;
}

.bdi-nav-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #888;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.bdi-nav-next .bdi-nav-label {
	justify-content: flex-end;
}

.bdi-nav-label i {
	font-size: 0.65rem;
}

.bdi-nav-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #222;
	line-height: 1.35;
}

.bdi-article-nav-link:hover .bdi-nav-title {
	color: var(--bdi-brand-primary);
}

/* Hide parent theme's post navigation since we built our own */
.single-post .post-navigation {
	display: none;
}

/* Hide raw post_category since we render cats in the header */
.single-post .post_category {
	display: none;
}

/* Related posts section within article */
.bdi-article .related-post-block {
	margin-top: 1rem;
}

.bdi-article .related-post-block h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #222;
}

/* ============================================
   POST PROMO SIDEBAR — Sticky
   ============================================ */

.bdi-post-promo {
	width: 340px;
	flex-shrink: 0;
	align-self: stretch;
}

.bdi-post-promo-inner {
	position: sticky;
	top: 2rem;
}

/* ============================================
   PROMO CTA CARD — Shared component
   ============================================ */

.bdi-promo-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bdi-promo-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--bdi-brand-primary);
	background: rgba(14, 110, 176, 0.08);
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	align-self: flex-start;
}

.bdi-promo-badge i {
	font-size: 0.7rem;
}

.bdi-promo-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #222;
	margin: 0;
	line-height: 1.25;
}

.bdi-promo-text {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.55;
	margin: 0;
}

.bdi-promo-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	background: var(--bdi-brand-primary);
	color: #fff !important;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 16px rgba(14, 110, 176, 0.3);
}

.bdi-promo-btn:hover {
	background: #094d7e;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(9, 77, 126, 0.35);
	text-decoration: none;
}

.bdi-promo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.6rem 1rem;
	border: 2px solid var(--bdi-brand-primary);
	color: var(--bdi-brand-primary);
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.bdi-promo-link:hover {
	background: var(--bdi-brand-primary);
	color: #fff;
	text-decoration: none;
}

.bdi-promo-contact {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding-top: 0.75rem;
	border-top: 1px solid #e8e8e8;
}

.bdi-promo-contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	color: #555;
	text-decoration: none;
	font-weight: 500;
}

.bdi-promo-contact a:hover {
	color: var(--bdi-brand-primary);
}

.bdi-promo-contact i {
	color: var(--bdi-brand-primary);
	font-size: 0.8rem;
	width: 16px;
	text-align: center;
}

/* ============================================
   PAGE PROMO STRIP — Full-width above prefooter
   ============================================ */

.bdi-page-promo-strip {
	padding: 2.5rem 0;
	background: linear-gradient(135deg, #f8fafb 0%, #eef4f8 100%);
	border-top: 1px solid #e0e0e0;
}

.bdi-page-promo-strip .bdi-promo-card {
	max-width: 720px;
	margin: 0 auto;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem 2.5rem;
	border: 2px solid rgba(14, 110, 176, 0.15);
	box-shadow: 0 8px 32px rgba(14, 110, 176, 0.1);
}

.bdi-page-promo-strip .bdi-promo-badge {
	order: -1;
}

.bdi-page-promo-strip .bdi-promo-title {
	flex: 1 1 100%;
	font-size: 1.5rem;
}

.bdi-page-promo-strip .bdi-promo-text {
	flex: 1 1 300px;
}

.bdi-page-promo-strip .bdi-promo-btn {
	flex-shrink: 0;
}

.bdi-page-promo-strip .bdi-promo-link {
	flex-shrink: 0;
}

.bdi-page-promo-strip .bdi-promo-contact {
	flex: 1 1 100%;
	border-top: 1px solid rgba(14, 110, 176, 0.15);
	flex-direction: row;
	gap: 1.5rem;
	padding-top: 1rem;
}

@media (max-width: 600px) {
	.bdi-page-promo-strip .bdi-promo-card {
		padding: 1.5rem;
		flex-direction: column;
		align-items: stretch;
	}

	.bdi-page-promo-strip .bdi-promo-contact {
		flex-direction: column;
		gap: 0.5rem;
	}
}

/* Homepage sidebar — promo card + widgets fill width */
.bdi-home-sidebar .bdi-promo-card {
	margin-bottom: 1.5rem;
}

.bdi-home-sidebar .widget,
.bdi-home-sidebar section {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Page sidebar — promo card above widgets */
#theme-sidebar .bdi-promo-card {
	margin-bottom: 1.5rem;
}

/* ============================================
   POST MOBILE STICKY CTA
   ============================================ */

.bdi-post-mobile-cta {
	display: none;
}

@media (max-width: 960px) {
	.bdi-post-layout {
		flex-direction: column;
		gap: 0;
	}

	.bdi-post-content {
		max-width: 100%;
	}

	.bdi-post-promo {
		display: none;
	}

	.bdi-post-mobile-cta {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9990;
		background: #fff;
		border-top: 1px solid #ddd;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
		padding: 0.75rem 1rem;
	}

	.bdi-post-mobile-cta-inner {
		display: flex;
		align-items: center;
		gap: 1rem;
		max-width: 600px;
		margin: 0 auto;
	}

	.bdi-post-mobile-cta-text {
		flex: 1;
		min-width: 0;
	}

	.bdi-post-mobile-cta-text strong {
		display: block;
		font-size: 0.9rem;
		color: #222;
		line-height: 1.2;
	}

	.bdi-post-mobile-cta-text span {
		font-size: 0.75rem;
		color: #888;
	}

	.bdi-post-mobile-cta-btn {
		flex-shrink: 0;
		padding: 0.65rem 1.25rem;
		background: var(--bdi-brand-primary);
		color: #fff !important;
		border-radius: 8px;
		font-size: 0.85rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		text-decoration: none;
		white-space: nowrap;
	}

	.bdi-post-mobile-cta-btn:hover {
		background: #094d7e;
		color: #fff;
		text-decoration: none;
	}

	/* Pad bottom so content isn't hidden behind sticky bar */
	.single-post .bdi-article {
		padding-bottom: 80px;
	}
}

@media (max-width: 600px) {
	.bdi-article {
		padding: 0 1rem;
	}

	.bdi-article-body {
		font-size: 1.05rem;
	}

	.bdi-article-body p:first-of-type {
		font-size: 1.1rem;
	}

	.bdi-article-nav {
		grid-template-columns: 1fr;
	}

	.bdi-nav-next {
		text-align: left;
		grid-column: 1;
	}

	.bdi-nav-next .bdi-nav-label {
		justify-content: flex-start;
	}
}

/* ============================================
   CONTENT IMAGES — Rounded, polished layout
   ============================================ */

.entry-content img,
.tribe-events-content img,
.tribe-events-event-image img {
	border-radius: 12px;
}

/* Floated images (classic editor) — breathing room + shadow */
.entry-content .alignleft,
.entry-content img.alignleft {
	float: left;
	margin: 0.5rem 2rem 1.5rem 0;
	max-width: 45%;
}

.entry-content .alignright,
.entry-content img.alignright {
	float: right;
	margin: 0.5rem 0 1.5rem 2rem;
	max-width: 45%;
}

.entry-content .aligncenter,
.entry-content img.aligncenter {
	display: block;
	margin: 2rem auto;
}

.entry-content img.alignleft,
.entry-content img.alignright,
.entry-content img.aligncenter,
.entry-content img.alignnone {
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Caption containers — ditch the boxy border from parent theme */
.entry-content .wp-caption {
	background: none;
	border: none;
	padding: 0;
	max-width: 100%;
	border-radius: 12px;
	overflow: hidden;
}

.entry-content .wp-caption img {
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	max-width: 100%;
}

.entry-content .wp-caption .wp-caption-text {
	font-size: 0.8rem;
	color: #888;
	text-align: center;
	margin-top: 0.5rem;
	font-style: italic;
	padding: 0;
}

.entry-content .wp-caption.alignleft {
	margin: 0.5rem 2rem 1.5rem 0;
	max-width: 45%;
}

.entry-content .wp-caption.alignright {
	margin: 0.5rem 0 1.5rem 2rem;
	max-width: 45%;
}

/* Block editor image blocks */
.entry-content .wp-block-image {
	margin: 2rem 0;
}

.entry-content .wp-block-image img {
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.entry-content .wp-block-image figcaption {
	font-size: 0.8rem;
	color: #888;
	text-align: center;
	margin-top: 0.5rem;
	font-style: italic;
}

/* Clear floats after content sections */
.entry-content h2,
.entry-content h3 {
	clear: both;
}

/* Responsive: un-float on mobile */
@media (max-width: 600px) {
	.entry-content .alignleft,
	.entry-content img.alignleft,
	.entry-content .wp-caption.alignleft,
	.entry-content .alignright,
	.entry-content img.alignright,
	.entry-content .wp-caption.alignright {
		float: none;
		max-width: 100%;
		margin: 1.5rem 0;
		display: block;
	}
}

@media (max-width: 480px) {
	.bdi-team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.bdi-team-member img {
		width: 120px;
		height: 120px;
	}
}

/* ============================================
   CAMPUS PARTNERS PAGE
   ============================================ */

.bdi-partners-intro {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #444;
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e8e8e8;
}

.bdi-partners-intro a {
	color: var(--bdi-brand-primary);
	font-weight: 600;
}

.bdi-partners-state {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
	margin: 2rem 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(14, 110, 176, 0.15);
}

.bdi-partners-state:first-of-type {
	margin-top: 0;
}

.bdi-partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.bdi-partner-card {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	min-height: 100px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bdi-partner-card:hover {
	border-color: var(--bdi-brand-primary);
	box-shadow: 0 4px 16px rgba(14, 110, 176, 0.1);
}

.bdi-partner-card img {
	max-width: 100%;
	max-height: 80px;
	object-fit: contain;
	border-radius: 0 !important;
}

@media (max-width: 480px) {
	.bdi-partners-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================================
   VENUE PAGE
   ============================================ */

.single-tribe_venue .external-div,
.single-tribe_venue .external-div .single-page-img {
	height: 160px !important;
}

@media (max-width: 1024px) {
	.single-tribe_venue .external-div,
	.single-tribe_venue .external-div .single-page-img {
		height: 120px !important;
	}
}

.single-tribe_venue .box-text {
	display: none !important;
}

/* Hero strip */
.bdi-venue-hero {
	background: linear-gradient(135deg, #0a4f7a 0%, #277cb2 50%, #3a9ad9 100%);
	color: #fff;
	padding: 3rem 0 2.5rem;
	margin: 0 calc(-50vw + 50%);
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.bdi-venue-hero-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.bdi-venue-hero-info { flex: 1; }

.bdi-venue-hero-back a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.85rem;
}

.bdi-venue-hero-back a:hover { color: #fff; }

.bdi-venue-hero h1 {
	font-size: 2rem;
	font-weight: 800;
	margin: 0.5rem 0;
	color: #fff;
}

.bdi-venue-hero-location {
	font-size: 1rem;
	opacity: 0.9;
	margin: 0 0 0.75rem;
}

.bdi-venue-hero-location i {
	margin-right: 0.35rem;
	opacity: 0.7;
}

.bdi-venue-hero-location a {
	color: #fff !important;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
}

.bdi-venue-hero-location a:hover {
	text-decoration-color: #fff;
}

.bdi-venue-hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 0.25rem 0.85rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
}

.bdi-venue-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex-shrink: 0;
}

.bdi-venue-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.5rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	background: #fff;
	color: #0a4f7a !important;
}

.bdi-venue-hero-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	text-decoration: none;
}

.bdi-venue-hero-logo {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bdi-venue-hero-logo img {
	max-height: 60px;
	max-width: 100%;
	object-fit: contain;
}

.bdi-venue-hero-btn-website {
	display: flex;
	align-items: center;
}

.bdi-venue-ext-icon {
	margin-left: auto;
	padding-left: 1rem;
	font-size: 0.7em;
	opacity: 0.6;
}

.bdi-venue-hero-btn-outline {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.4);
}

.bdi-venue-hero-btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.7);
}

/* Detail cards */
.bdi-venue-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin: 0 0 2rem;
}

.bdi-venue-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 1.25rem;
	transition: box-shadow 0.2s ease;
}

.bdi-venue-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bdi-venue-card h3 {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #888;
	margin: 0 0 0.5rem;
}

.bdi-venue-card p {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #222;
}

.bdi-venue-card a {
	color: var(--bdi-brand-primary);
	text-decoration: none;
}

.bdi-venue-card a:hover { text-decoration: underline; }

.bdi-venue-bio {
	margin-bottom: 2rem;
	font-size: 1rem;
	line-height: 1.7;
	color: #444;
}

.bdi-venue-courses {
	margin-top: 1.5rem;
}

.bdi-venue-courses h2 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #222;
	margin: 0 0 1.25rem;
}

.bdi-venue-empty {
	text-align: center;
	padding: 3rem 2rem;
	background: #f8fafb;
	border-radius: 12px;
	margin-top: 2rem;
}

.bdi-venue-empty i {
	font-size: 2.5rem;
	color: #ccc;
	margin-bottom: 1rem;
}

.bdi-venue-empty h3 {
	font-size: 1.15rem;
	color: #555;
	margin: 0 0 0.5rem;
}

.bdi-venue-empty p { color: #888; }
.bdi-venue-empty a { color: var(--bdi-brand-primary); font-weight: 600; }

.bdi-venue-empty-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.single-tribe_venue #tp_content {
	padding-top: 25px;
}

.bdi-venue-address-bar {
	display: block;
	font-size: 0.92rem;
	color: #555;
	text-decoration: none;
	margin: 0 0 2rem;
	padding: 0.75rem 1rem;
	background: #f8fafb;
	border-radius: 8px;
	border: 1px solid #e8eef3;
	transition: border-color 0.15s ease;
}

.bdi-venue-address-bar:hover {
	border-color: var(--bdi-brand-primary);
	color: #333;
	text-decoration: none;
}

.bdi-venue-address-bar i {
	color: var(--bdi-brand-primary);
	margin-right: 0.5rem;
}

.bdi-venue-photo {
	display: block;
	width: 100%;
	max-width: 900px;
	max-height: 400px;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
	margin: 0 auto 2rem;
}

.bdi-venue-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	margin-top: 2rem;
	align-items: start;
}

.bdi-venue-layout-left {
	min-width: 0;
}

.bdi-venue-layout-right {
	min-width: 0;
}

.bdi-venue-about h2 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #222;
	margin: 0 0 1rem;
}

.bdi-venue-about p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #444;
}

.bdi-venue-about h3 {
	font-size: 1.1rem;
	margin: 1.5rem 0 0.5rem;
}

.bdi-venue-nearby {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e2e6ea;
}

.bdi-venue-nearby h2 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #222;
	margin: 0 0 0.25rem;
}

@media (max-width: 768px) {
	.bdi-venue-hero-inner {
		flex-direction: column;
		text-align: center;
	}

	.bdi-venue-hero-actions { width: 100%; }
	.bdi-venue-hero-btn { justify-content: center; }
	.bdi-venue-cards { grid-template-columns: 1fr 1fr; }
	.bdi-venue-layout { grid-template-columns: 1fr; }
}

/* ── State Landing Page Components ──────────────────────────────── */

/* State page sections: consistent spacing + dividers */
.bdi-state-section {
	padding: 3rem 0 2.5rem;
}

.bdi-state-section + .bdi-state-section {
	border-top: 1px solid #e2e6ea;
}

.bdi-state-section h2:first-child {
	margin-top: 0;
}

/* Prose max-width for readability on wide screens */
.bdi-state-prose {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.bdi-state-prose p,
.bdi-state-prose ul,
.bdi-state-prose li {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #444;
}

/* State page TOC for city sitelinks */
.bdi-state-toc {
	margin-top: 1rem;
	font-size: 0.88rem;
	color: #666;
}

.bdi-state-toc strong {
	color: #444;
}

.bdi-state-toc a {
	color: var(--bdi-brand-primary);
	text-decoration: none;
}

.bdi-state-toc a:hover {
	text-decoration: underline;
}

/* State page photos: capped width + height, centered */
.bdi-state-photo {
	display: block;
	width: 100%;
	max-width: 900px;
	max-height: 400px;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
	margin: 1.5rem auto;
}

.bdi-state-hero {
	margin-bottom: 2.5rem;
}

.bdi-state-hero-lead {
	font-size: 1.35rem;
	line-height: 1.5;
	color: #222;
	font-weight: 500;
	margin-bottom: 1rem;
}

.bdi-state-hero-paths {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.bdi-state-path-link {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	background: var(--bdi-brand-primary);
	color: #fff !important;
	transition: background 0.15s ease;
}

.bdi-state-path-link:hover {
	background: #094d7e;
	color: #fff;
	text-decoration: none;
}

.bdi-state-path-link.bdi-state-path-muted {
	background: transparent;
	color: var(--bdi-brand-primary) !important;
	border: 1.5px solid var(--bdi-brand-primary);
}

.bdi-state-path-link.bdi-state-path-muted:hover {
	background: rgba(14, 110, 176, 0.06);
}

.bdi-state-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}

.bdi-state-stat {
	text-align: center;
	padding: 1.25rem 1rem;
	background: #f8fafb;
	border-radius: 12px;
	border: 1px solid #e8eef3;
}

.bdi-state-stat-number {
	display: block;
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--bdi-brand-primary);
	line-height: 1.2;
}

.bdi-state-stat-label {
	display: block;
	font-size: 0.8rem;
	color: #666;
	margin-top: 0.25rem;
	line-height: 1.3;
}

.bdi-state-venues {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin: 1.5rem 0 2rem;
}

.bdi-state-venue {
	padding: 1.25rem 1.5rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e8eef3;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.bdi-state-venue h3 {
	font-size: 1.05rem;
	margin: 0 0 0.25rem;
}

.bdi-state-venue h3 a {
	color: var(--bdi-brand-primary);
	text-decoration: none;
}

.bdi-state-venue h3 a:hover {
	text-decoration: underline;
}

.bdi-state-venue-meta {
	font-size: 0.8rem;
	color: #888;
	margin: 0 0 0.75rem;
	font-weight: 500;
}

.bdi-state-venue p:last-of-type {
	margin-bottom: 0;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #444;
}

.bdi-state-venue-cta {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.45rem 1rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--bdi-brand-primary) !important;
	border: 1.5px solid var(--bdi-brand-primary);
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.15s ease;
}

.bdi-state-venue-cta:hover {
	background: var(--bdi-brand-primary);
	color: #fff !important;
	text-decoration: none;
}

.bdi-state-cert-path {
	margin: 1.5rem 0 2rem;
}

.bdi-state-cert-start,
.bdi-state-cert-specialize,
.bdi-state-cert-fast {
	padding: 1.25rem 1.5rem;
	border-radius: 12px;
	margin-bottom: 1rem;
}

.bdi-state-cert-start {
	background: var(--bdi-brand-primary);
	color: #fff;
}

.bdi-state-cert-start h3 {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 0.5rem;
}

.bdi-state-cert-start a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
}

.bdi-state-cert-start a:hover {
	text-decoration-color: #fff;
}

.bdi-state-cert-start p {
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
	line-height: 1.6;
}

.bdi-state-cert-start p:last-child {
	margin-bottom: 0;
}

.bdi-state-cert-specialize {
	background: #f8fafb;
	border: 1px solid #e8eef3;
}

.bdi-state-cert-specialize h3 {
	color: #888;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 0.75rem;
}

.bdi-state-cert-specialize ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.bdi-state-cert-specialize li {
	padding: 0.4rem 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #444;
	border-bottom: 1px solid #f0f0f0;
}

.bdi-state-cert-specialize li:last-child {
	border-bottom: none;
}

.bdi-state-cert-fast {
	background: #fffbf0;
	border: 1.5px solid #e8c862;
}

.bdi-state-cert-fast h3 {
	color: #92700c;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 0.5rem;
}

.bdi-state-cert-fast p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #444;
	margin-bottom: 0.5rem;
}

.bdi-state-cert-fast p:last-child {
	margin-bottom: 0;
}

.bdi-state-cta {
	background: var(--bdi-brand-primary);
	color: #fff;
	padding: 2rem;
	border-radius: 12px;
	margin: 2rem 0;
	text-align: center;
}

.bdi-state-cta h2 {
	color: #fff;
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
}

.bdi-state-cta p {
	margin: 0 0 1.25rem;
	opacity: 0.9;
	font-size: 0.95rem;
}

.bdi-state-cta-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.bdi-state-cta-btn {
	display: inline-block;
	padding: 0.65rem 1.5rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	background: #fff;
	color: var(--bdi-brand-primary) !important;
	transition: all 0.15s ease;
}

.bdi-state-cta-btn:hover {
	background: #f0f7fb;
	color: var(--bdi-brand-primary);
	text-decoration: none;
}

.bdi-state-cta-btn-outline {
	background: transparent;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.bdi-state-cta-btn-outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.bdi-state-subtle {
	font-size: 0.88rem;
	color: #888;
	margin-top: 0.75rem;
}

.bdi-state-sources {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.bdi-state-sources small {
	font-size: 0.75rem;
	color: #999;
	line-height: 1.6;
}

.bdi-state-sources a {
	color: #999;
}

.bdi-state-sources a:hover {
	color: #666;
}

@media (max-width: 768px) {
	.bdi-state-stats {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.bdi-state-stat {
		display: flex;
		align-items: center;
		gap: 1rem;
		text-align: left;
		padding: 1rem;
	}

	.bdi-state-stat-number {
		font-size: 1.35rem;
		white-space: nowrap;
	}

	.bdi-state-stat-label {
		margin-top: 0;
	}

	.bdi-state-venues {
		grid-template-columns: 1fr;
	}

	.bdi-state-hero-paths {
		flex-direction: column;
	}

	.bdi-state-path-link {
		text-align: center;
	}

	.bdi-state-cta {
		padding: 1.5rem;
	}

	.bdi-state-cta-actions {
		flex-direction: column;
	}

	.bdi-state-cta-btn {
		text-align: center;
	}
}

/* Footer site info */
.bdi-site-info {
	text-align: center;
	padding: 1.5rem 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.6);
}

.bdi-site-info p {
	margin: 0 0 0.25rem;
}

.bdi-site-info a {
	color: rgba(255, 255, 255, 0.7);
}

.bdi-site-info a:hover {
	color: #fff;
}

.bdi-llms-link {
	margin-left: 0.75rem;
	opacity: 0.5;
	font-size: 0.75rem;
}

.bdi-footer-contact a {
	text-decoration: none;
}
