/* =====================================================================
   JBIT Doon theme styles
   Colours, fonts and widths come from CSS variables that the theme prints
   from Appearance > Customize > JBIT Theme Options (see inc/assets.php).
   ===================================================================== */

/* 1. Tokens (defaults; the Customizer values are printed after this file)
   --------------------------------------------------------------------- */
:root {
	--jb-navy: #1d3461;
	--jb-navy-deep: #142647;
	--jb-red: #ed3136;
	--jb-red-dark: #c4252b;
	--jb-sky: #0f7cb6;
	--jb-gold: #fcb001;
	--jb-ink: #1f2a37;
	--jb-text: #4a5565;
	--jb-tint: #eef3fa;
	--jb-line: #dce4ef;
	--jb-white: #fff;
	--jb-font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--jb-font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--jb-fs: 16px;
	--jb-container: 1300px;
	--jb-gutter: 20px;
	--jb-radius: 12px;
	--jb-shadow: 0 10px 30px rgba(20, 38, 71, 0.10);
	--jb-shadow-lg: 0 22px 48px rgba(20, 38, 71, 0.18);
	--jb-logo-w: 240px;
	--jb-logo-w-m: 170px;
	--jb-nav-h: 54px;
	--jb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base
   --------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Only on body: on <html> together with other overflow rules it turns the page into an
   inner scroll box, and then sticky/scroll effects and lazy-loaded embeds misbehave. */
body {
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--jb-white);
	color: var(--jb-text);
	font-family: var(--jb-font-body);
	font-size: var(--jb-fs);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--jb-ink);
	font-family: var(--jb-font-head);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.02rem; }
h6 { font-size: 0.95rem; }

p {
	margin: 0 0 1.1em;
}

a {
	color: var(--jb-sky);
	text-underline-offset: 3px;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
	color: var(--jb-red);
}

img,
video {
	max-width: 100%;
	height: auto;
}

embed,
iframe,
object {
	max-width: 100%;
}

::selection {
	background: var(--jb-navy);
	color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.elementor-button:focus-visible {
	outline: 3px solid var(--jb-gold);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: #fff;
	color: var(--jb-navy);
	font-weight: 700;
	border-radius: 8px;
	box-shadow: var(--jb-shadow-lg);
}

.jb-container {
	width: 100%;
	max-width: calc(var(--jb-container) + 2 * var(--jb-gutter));
	margin-inline: auto;
	padding-inline: var(--jb-gutter);
}

.jb-section {
	padding-block: clamp(40px, 6vw, 72px);
}

.jb-icon {
	flex-shrink: 0;
	display: inline-block;
	vertical-align: middle;
}

/* Buttons */
.jb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 8px;
	font-family: var(--jb-font-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.jb-btn:hover {
	transform: translateY(-2px);
}

.jb-btn--red {
	background: var(--jb-red);
	color: #fff;
	box-shadow: 0 8px 20px rgba(237, 49, 54, 0.28);
}

.jb-btn--red:hover {
	background: var(--jb-red-dark);
	color: #fff;
}

.jb-btn--navy {
	background: var(--jb-navy);
	color: #fff;
}

.jb-btn--navy:hover {
	background: var(--jb-navy-deep);
	color: #fff;
}

.jb-btn--white {
	background: #fff;
	color: var(--jb-navy);
}

.jb-btn--white:hover {
	background: var(--jb-tint);
	color: var(--jb-red-dark);
}

.jb-btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.jb-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--jb-navy);
}

.jb-btn--block {
	display: flex;
	width: 100%;
}

.jb-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--jb-line);
	border-radius: 50%;
	background: #fff;
	color: var(--jb-navy);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jb-icon-btn:hover {
	background: var(--jb-navy);
	border-color: var(--jb-navy);
	color: #fff;
}

/* Social icons */
.jb-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.10);
	color: #fff;
	text-decoration: none;
}

.jb-social a:hover {
	background: var(--jb-red);
	color: #fff;
	transform: translateY(-2px);
}

/* 3. Top bar
   --------------------------------------------------------------------- */
.jb-topbar {
	background: var(--jb-navy-deep);
	color: rgba(255, 255, 255, 0.85);
	font-size: 13.5px;
}

.jb-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
}

.jb-topbar__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-topbar__menu li + li::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 12px;
	margin: 0 12px;
	background: rgba(255, 255, 255, 0.25);
	vertical-align: middle;
}

.jb-topbar__menu a {
	color: rgba(255, 255, 255, 0.88);
	font-weight: 500;
	text-decoration: none;
}

.jb-topbar__menu a:hover {
	color: var(--jb-gold);
}

.jb-social--topbar {
	gap: 4px;
	margin-left: auto;
}

.jb-social--topbar a {
	width: 28px;
	height: 28px;
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
}

.jb-social--topbar .jb-icon {
	width: 14px;
	height: 14px;
}

/* 4. Logo row
   --------------------------------------------------------------------- */
.jb-masthead {
	position: relative;
	z-index: 1001;
	background: #fff;
	border-bottom: 1px solid var(--jb-line);
	transition: box-shadow 0.25s ease;
}

.jb-masthead__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 92px;
}

.jb-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.jb-logo__img {
	display: block;
	width: var(--jb-logo-w);
	height: auto;
}

.jb-logo__text {
	color: var(--jb-navy);
	font-family: var(--jb-font-head);
	font-size: 22px;
	font-weight: 700;
}

.jb-masthead__info {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: auto;
}

.jb-info {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--jb-ink);
	text-decoration: none;
}

.jb-info__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--jb-tint);
	color: var(--jb-navy);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.jb-info:hover .jb-info__icon {
	background: var(--jb-red);
	color: #fff;
}

.jb-info__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.jb-info__text small {
	color: var(--jb-text);
	font-size: 12.5px;
}

.jb-info__text strong {
	color: var(--jb-ink);
	font-family: var(--jb-font-head);
	font-size: 15px;
	font-weight: 600;
}

.jb-info:hover strong {
	color: var(--jb-red);
}

.jb-masthead__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.jb-burger {
	display: none;
}

/* 5. Main menu bar (computers)
   --------------------------------------------------------------------- */
.jb-nav {
	position: relative;
	z-index: 1000;
	background: var(--jb-navy);
	transition: box-shadow 0.25s ease;
}

.jb-sticky-desktop .jb-nav {
	position: sticky;
	top: 0;
}

.admin-bar.jb-sticky-desktop .jb-nav {
	top: 32px;
}

.jb-nav.is-stuck {
	box-shadow: 0 8px 24px rgba(20, 38, 71, 0.22);
}

.jb-nav__inner {
	display: flex;
	align-items: center;
	min-height: var(--jb-nav-h);
}

.jb-nav__logo {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	max-width: 0;
	margin-right: 0;
	padding: 0;
	overflow: hidden;
	opacity: 0;
	background: #fff;
	border-radius: 8px;
	transition: max-width 0.35s var(--jb-ease), opacity 0.25s ease, margin 0.35s var(--jb-ease), padding 0.35s var(--jb-ease);
}

.jb-nav__logo img {
	display: block;
	width: 110px;
	max-width: none;
	height: auto;
}

/* Mini logo in the stuck menu bar, only where there is room for it */
@media (min-width: 1340px) {
	.jb-nav.is-stuck .jb-nav__logo {
		max-width: 150px;
		margin-right: 14px;
		padding: 5px 10px;
		opacity: 1;
	}

	.jb-nav.is-stuck .jb-menu--header > li > a {
		padding: 0 10px;
		font-size: 14px;
	}

	.jb-nav.is-stuck .jb-menu--header > li > a::after {
		left: 10px;
		right: 10px;
	}
}

.jb-menu,
.jb-menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-menu--header {
	display: flex;
	flex: 1;
	flex-wrap: nowrap;
	justify-content: center;
}

.jb-menu--header > li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.jb-menu--header > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: var(--jb-nav-h);
	padding: 0 14px;
	color: #fff;
	font-family: var(--jb-font-head);
	font-size: 14.5px;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
}

.jb-menu--header > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--jb-red);
	transform: scaleX(0);
	transition: transform 0.25s var(--jb-ease);
}

.jb-menu--header > li:hover > a,
.jb-menu--header > li:focus-within > a,
.jb-menu--header > li.is-open > a {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.jb-menu--header > li:hover > a::after,
.jb-menu--header > li:focus-within > a::after,
.jb-menu--header > li.current-menu-item > a::after,
.jb-menu--header > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.jb-menu-arrow {
	display: inline-flex;
	opacity: 0.85;
	transition: transform 0.2s ease;
}

.jb-menu--header > li:hover > a .jb-menu-arrow {
	transform: rotate(180deg);
}

/* Dropdowns: white cards; text and arrows navy */
.jb-menu--header .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 260px;
	padding: 8px 0;
	/* !important: an old "Custom CSS" snippet paints every ul.sub-menu navy */
	background: #fff !important;
	border-top: 3px solid var(--jb-red);
	border-radius: 0 0 12px 12px;
	box-shadow: var(--jb-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.25s var(--jb-ease), visibility 0s linear 0.25s;
}

.jb-menu--header li:hover > .sub-menu,
.jb-menu--header li:focus-within > .sub-menu,
.jb-menu--header li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.2s ease, transform 0.25s var(--jb-ease), visibility 0s;
}

.jb-menu--header li.jb-esc .sub-menu {
	opacity: 0;
	visibility: hidden;
}

.jb-menu--header .sub-menu li {
	position: relative;
}

.jb-menu--header .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 20px;
	color: var(--jb-ink);
	font-family: var(--jb-font-body);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.jb-menu--header .sub-menu a .jb-menu-arrow {
	color: var(--jb-navy);
	opacity: 0.7;
}

.jb-menu--header .sub-menu li:hover > a,
.jb-menu--header .sub-menu li:focus-within > a,
.jb-menu--header .sub-menu .current-menu-item > a {
	background: var(--jb-tint);
	color: var(--jb-red);
	padding-left: 24px;
}

.jb-menu--header .sub-menu li:hover > a .jb-menu-arrow {
	color: var(--jb-red);
	opacity: 1;
}

/* Third level flies out to the side */
.jb-menu--header .sub-menu .sub-menu {
	top: -8px;
	left: 100%;
	border-top: 0;
	border-left: 3px solid var(--jb-red);
	border-radius: 0 12px 12px 0;
	transform: translateX(10px);
}

.jb-menu--header .sub-menu li.is-flip > .sub-menu {
	left: auto;
	right: 100%;
	border-left: 0;
	border-right: 3px solid var(--jb-red);
	border-radius: 12px 0 0 12px;
}

.jb-menu--header > li:nth-last-child(-n+2) > .sub-menu {
	left: auto;
	right: 0;
}

/* The open/close buttons are only for the phone menu */
.jb-menu--header .jb-sub-toggle {
	display: none;
}

/* Light menu bar option */
.jb-nav-light .jb-nav {
	background: #fff;
	border-bottom: 1px solid var(--jb-line);
}

.jb-nav-light .jb-menu--header > li > a {
	color: var(--jb-ink);
}

.jb-nav-light .jb-menu--header > li:hover > a,
.jb-nav-light .jb-menu--header > li:focus-within > a {
	background: var(--jb-tint);
	color: var(--jb-red);
}

.jb-nav-light .jb-nav__logo {
	background: transparent;
}

@media (max-width: 1365px) {
	.jb-menu--header > li > a {
		padding: 0 9px;
		font-size: 13.5px;
	}

	.jb-menu--header > li > a::after {
		left: 9px;
		right: 9px;
	}
}

/* 6. Notice ticker
   --------------------------------------------------------------------- */
.jb-ticker {
	background: var(--jb-tint);
	border-bottom: 1px solid var(--jb-line);
	font-size: 14.5px;
}

.jb-ticker__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 42px;
}

.jb-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--jb-red);
	color: #fff;
	font-family: var(--jb-font-head);
	font-size: 13px;
	font-weight: 600;
}

.jb-ticker__viewport {
	flex: 1;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.jb-ticker__track {
	display: flex;
	gap: 48px;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: jb-ticker 40s linear infinite;
}

.jb-ticker:hover .jb-ticker__track,
.jb-ticker:focus-within .jb-ticker__track {
	animation-play-state: paused;
}

.jb-ticker__track li {
	position: relative;
	color: var(--jb-ink);
	font-weight: 500;
	white-space: nowrap;
}

.jb-ticker__track li::before {
	content: "";
	position: absolute;
	left: -27px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--jb-red);
	transform: translateY(-50%);
}

.jb-ticker__track a {
	color: var(--jb-navy);
	text-decoration: none;
}

.jb-ticker__track a:hover {
	color: var(--jb-red);
	text-decoration: underline;
}

@keyframes jb-ticker {
	to {
		transform: translateX(calc(-50% - 24px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.jb-ticker__track {
		flex-wrap: wrap;
		width: auto;
		animation: none;
	}

	.jb-ticker__track li[aria-hidden="true"] {
		display: none;
	}
}

/* 7. Tablets and phones (below 1200px): logo row stays on top, menu moves into a drawer
   --------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.jb-nav,
	.jb-masthead__info {
		display: none;
	}

	.jb-burger {
		display: inline-flex;
		border-color: var(--jb-navy);
		background: var(--jb-navy);
		color: #fff;
	}

	.jb-masthead__inner {
		min-height: 70px;
		gap: 12px;
	}

	.jb-masthead__actions {
		margin-left: auto;
		gap: 8px;
	}

	.jb-logo__img {
		width: var(--jb-logo-w-m);
	}

	.jb-masthead__cta {
		padding: 9px 14px;
		font-size: 14px;
		box-shadow: none;
	}

	.jb-sticky-mobile .jb-masthead {
		position: sticky;
		top: 0;
	}

	.admin-bar.jb-sticky-mobile .jb-masthead {
		top: 46px;
	}

	.jb-masthead.is-scrolled {
		box-shadow: 0 6px 20px rgba(20, 38, 71, 0.14);
	}
}

@media (max-width: 767px) {
	.jb-topbar-desktop-only .jb-topbar {
		display: none;
	}

	.jb-topbar__menu {
		display: none;
	}

	.admin-bar.jb-sticky-mobile .jb-masthead {
		top: 0;
	}
}

@media (max-width: 420px) {
	.jb-masthead .jb-search-toggle {
		display: none;
	}

	.jb-masthead__cta .jb-icon {
		display: none;
	}
}

/* 8. Phone menu drawer
   --------------------------------------------------------------------- */
.jb-lock {
	overflow: hidden;
}

.jb-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.jb-drawer[hidden],
.jb-search[hidden] {
	display: none;
}

.jb-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 20, 40, 0.55);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.jb-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(390px, 90vw);
	background: #fff;
	box-shadow: -10px 0 40px rgba(10, 20, 40, 0.25);
	transform: translateX(100%);
	transition: transform 0.32s var(--jb-ease);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.jb-drawer.is-open .jb-drawer__overlay {
	opacity: 1;
}

.jb-drawer.is-open .jb-drawer__panel {
	transform: none;
}

.jb-drawer__head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: #fff;
	border-bottom: 1px solid var(--jb-line);
}

.jb-logo--drawer .jb-logo__img {
	width: 150px;
}

.jb-menu--drawer > li {
	border-bottom: 1px solid #edf1f7;
}

.jb-menu--drawer li {
	position: relative;
}

.jb-menu--drawer a {
	display: block;
	padding: 13px 60px 13px 18px;
	color: var(--jb-ink);
	font-family: var(--jb-font-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.jb-menu--drawer a:hover,
.jb-menu--drawer .current-menu-item > a {
	color: var(--jb-red);
}

.jb-menu--drawer .jb-menu-arrow {
	display: none;
}

.jb-menu--drawer .jb-sub-toggle {
	position: absolute;
	top: 4px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--jb-tint);
	color: var(--jb-navy);
	cursor: pointer;
}

.jb-menu--drawer .jb-sub-toggle .jb-icon {
	transition: transform 0.25s ease;
}

.jb-menu--drawer li.is-open > .jb-sub-toggle {
	background: var(--jb-navy);
	color: #fff;
}

.jb-menu--drawer li.is-open > .jb-sub-toggle .jb-icon {
	transform: rotate(180deg);
}

.jb-menu--drawer .sub-menu {
	display: none;
	padding: 4px 0 8px;
	background: #f6f8fc !important;
}

.jb-menu--drawer li.is-open > .sub-menu {
	display: block;
}

.jb-menu--drawer .sub-menu a {
	padding-left: 30px;
	font-family: var(--jb-font-body);
	font-size: 14.5px;
	font-weight: 500;
}

.jb-menu--drawer .sub-menu .sub-menu {
	background: #eef2f9 !important;
}

.jb-menu--drawer .sub-menu .sub-menu a {
	padding-left: 44px;
}

.jb-menu--drawer .sub-menu .jb-sub-toggle {
	top: 2px;
	width: 36px;
	height: 36px;
	background: transparent;
}

.jb-drawer__extra {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px 18px 28px;
}

.jb-drawer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-drawer__links a {
	display: inline-block;
	padding: 7px 12px;
	border: 1px solid var(--jb-line);
	border-radius: 999px;
	color: var(--jb-navy);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
}

.jb-social--drawer a {
	background: var(--jb-tint);
	color: var(--jb-navy);
}

/* 9. Search overlay
   --------------------------------------------------------------------- */
.jb-search {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 18vh 16px 16px;
	background: rgba(13, 24, 45, 0.82);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.jb-search.is-open {
	opacity: 1;
}

.jb-search__panel {
	position: relative;
	width: min(720px, 100%);
}

.jb-search__close {
	position: absolute;
	top: -60px;
	right: 0;
}

.jb-searchform {
	position: relative;
	display: flex;
}

.jb-searchform__input {
	width: 100%;
	height: 52px;
	padding: 0 56px 0 18px;
	border: 1px solid var(--jb-line);
	border-radius: 10px;
	background: #fff;
	color: var(--jb-ink);
	font: inherit;
}

.jb-search .jb-searchform__input {
	height: 64px;
	font-size: 18px;
	border: 0;
	box-shadow: var(--jb-shadow-lg);
}

.jb-searchform__btn {
	position: absolute;
	top: 50%;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--jb-red);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}

.jb-searchform__btn:hover {
	background: var(--jb-red-dark);
}

/* 10. Page banner
   --------------------------------------------------------------------- */
.jb-banner {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 6vw, 64px) 0 clamp(36px, 5vw, 56px);
	background:
		linear-gradient(115deg, rgba(20, 38, 71, 0.96) 0%, rgba(29, 52, 97, 0.9) 55%, rgba(29, 52, 97, 0.72) 100%),
		var(--jb-banner-img, none) center / cover no-repeat,
		var(--jb-navy);
	color: #fff;
}

.jb-banner::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -120px;
	width: 340px;
	height: 340px;
	border: 40px solid rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	pointer-events: none;
}

.jb-banner__inner {
	position: relative;
	z-index: 1;
}

/* Banner over a photo (the page's own top photo, or Customize > Layout > banner photo) */
.jb-banner--image {
	padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
	background:
		linear-gradient(90deg, rgba(20, 38, 71, 0.94) 0%, rgba(20, 38, 71, 0.80) 45%, rgba(29, 52, 97, 0.45) 100%),
		var(--jb-banner-img, none) center / cover no-repeat,
		var(--jb-navy);
}

.jb-banner--image .jb-banner__title {
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
	.jb-banner--image {
		background:
			linear-gradient(180deg, rgba(20, 38, 71, 0.90) 0%, rgba(20, 38, 71, 0.82) 100%),
			var(--jb-banner-img, none) center / cover no-repeat,
			var(--jb-navy);
	}
}

.jb-banner__desc {
	max-width: 720px;
	margin: 14px 0 0;
	font-size: 17px;
	line-height: 1.6;
}

.jb-banner__title {
	max-width: 900px;
	margin: 0;
	color: #fff;
	font-size: clamp(1.8rem, 3.6vw, 2.75rem);
}

.jb-banner__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 16px;
	border-radius: 4px;
	background: var(--jb-red);
}

.jb-banner__desc,
.jb-banner .jb-meta {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.jb-banner .jb-meta a {
	color: #fff;
}

.jb-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
}

.jb-breadcrumbs li {
	color: rgba(255, 255, 255, 0.75);
}

.jb-breadcrumbs li + li::before {
	content: "\203A";
	margin-right: 6px;
	color: rgba(255, 255, 255, 0.5);
}

.jb-breadcrumbs a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.jb-breadcrumbs a:hover {
	color: var(--jb-gold);
}

/* 11. Content (non-Elementor pages and posts)
   --------------------------------------------------------------------- */
.jb-entry__title {
	margin-bottom: 24px;
}

.jb-entry__content > *:last-child {
	margin-bottom: 0;
}

.jb-entry__content ul,
.jb-entry__content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.jb-entry__content li {
	margin-bottom: 0.35em;
}

.jb-entry__content h2,
.jb-entry__content h3,
.jb-entry__content h4 {
	margin-top: 1.4em;
}

.jb-entry__thumb {
	margin: 0 0 28px;
}

.jb-entry__thumb img {
	display: block;
	width: 100%;
	border-radius: var(--jb-radius);
}

blockquote {
	margin: 0 0 1.4em;
	padding: 18px 22px;
	border-left: 4px solid var(--jb-red);
	border-radius: 0 10px 10px 0;
	background: var(--jb-tint);
	color: var(--jb-ink);
	font-style: italic;
}

table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
}

th,
td {
	padding: 0.65em 0.9em;
	border: 1px solid var(--jb-line);
	text-align: left;
	vertical-align: top;
}

th {
	background: var(--jb-tint);
	color: var(--jb-ink);
	font-weight: 600;
}

hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--jb-line);
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
figcaption {
	margin-top: 6px;
	color: var(--jb-text);
	font-size: 14px;
	text-align: center;
}

.wp-block-button__link {
	border-radius: 8px;
	background: var(--jb-navy);
	color: #fff;
}

.jb-page-links {
	margin-top: 24px;
	font-weight: 600;
}

.jb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	color: var(--jb-text);
	font-size: 14px;
}

.jb-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.jb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.jb-tags a {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--jb-tint);
	color: var(--jb-navy);
	font-size: 13.5px;
	text-decoration: none;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 36px;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--jb-line);
	border-radius: var(--jb-radius);
	color: var(--jb-ink);
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--jb-navy);
	box-shadow: var(--jb-shadow);
}

.post-navigation small {
	display: block;
	color: var(--jb-red);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.post-navigation .nav-next {
	text-align: right;
}

/* Sidebar layout */
.jb-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.jb-sidebar .widget {
	margin-bottom: 24px;
	padding: 22px;
	border: 1px solid var(--jb-line);
	border-radius: var(--jb-radius);
	background: #fff;
}

.jb-sidebar .widget-title,
.jb-sidebar .wp-block-heading {
	font-size: 1.1rem;
}

.jb-sidebar ul {
	margin: 0;
	padding-left: 1.1em;
}

@media (max-width: 1024px) {
	.jb-with-sidebar {
		grid-template-columns: 1fr;
	}
}

/* Post cards */
.jb-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 28px;
}

.jb-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--jb-line);
	border-radius: 14px;
	background: #fff;
	transition: transform 0.25s var(--jb-ease), box-shadow 0.25s ease;
}

.jb-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--jb-shadow-lg);
}

.jb-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--jb-tint);
}

.jb-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--jb-ease);
}

.jb-card:hover .jb-card__media img {
	transform: scale(1.05);
}

.jb-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	background: linear-gradient(135deg, var(--jb-navy), var(--jb-sky));
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--jb-font-head);
	font-weight: 600;
}

.jb-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 22px 22px;
}

.jb-card__title {
	margin: 8px 0 10px;
	font-size: 1.15rem;
}

.jb-card__title a {
	color: var(--jb-ink);
	text-decoration: none;
}

.jb-card__title a:hover {
	color: var(--jb-red);
}

.jb-card__excerpt {
	flex: 1;
	font-size: 15px;
}

.jb-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--jb-navy);
	font-family: var(--jb-font-head);
	font-weight: 600;
	text-decoration: none;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--jb-line);
	border-radius: 10px;
	color: var(--jb-navy);
	font-weight: 600;
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	border-color: var(--jb-navy);
	background: var(--jb-navy);
	color: #fff;
}

.jb-empty {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
}

.jb-empty .jb-searchform {
	margin: 24px 0;
}

.jb-empty__code {
	margin: 0;
	color: var(--jb-tint);
	font-family: var(--jb-font-head);
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 800;
	line-height: 1;
	-webkit-text-stroke: 2px var(--jb-navy);
}

/* Comments */
.jb-comments {
	margin-top: 48px;
}

.jb-comments__list {
	padding-left: 0;
	list-style: none;
}

.comment-body {
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid var(--jb-line);
	border-radius: var(--jb-radius);
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
}

/* 12. Forms (theme and page content)
   --------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="password"],
input[type="search"],
select,
textarea {
	max-width: 100%;
	padding: 10px 14px;
	border: 1px solid #c9d4e3;
	border-radius: 8px;
	background: #fff;
	color: var(--jb-ink);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus,
.elementor-field-group .elementor-field:focus {
	border-color: var(--jb-sky);
	box-shadow: 0 0 0 3px rgba(15, 124, 182, 0.18);
	outline: none;
}

button,
input[type="submit"] {
	font-family: var(--jb-font-head);
}

input[type="submit"],
.comment-form .submit {
	padding: 12px 24px;
	border: 0;
	border-radius: 8px;
	background: var(--jb-navy);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

input[type="submit"]:hover {
	background: var(--jb-red);
}

/* 13. Elementor content: same look as before on every inner page
   --------------------------------------------------------------------- */
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor li,
.elementor-widget-text-editor td,
.elementor-widget-text-editor th,
.elementor-widget-text-editor span,
.elementor-widget-text-editor a,
.elementor-icon-list-text,
.elementor-tab-content,
.elementor-toggle .elementor-tab-content {
	font-family: var(--jb-font-body) !important;
}

.elementor-widget-text-editor p,
.elementor-widget-text-editor li {
	line-height: 1.75;
}

.elementor-heading-title,
.elementor-tab-title,
.elementor-toggle-title,
.elementor-image-box-title,
.elementor-icon-box-title,
.elementor-counter-title {
	font-family: var(--jb-font-head) !important;
	letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
	.elementor-widget-text-editor,
	.elementor-widget-text-editor p {
		text-align: left !important;
	}
}

.elementor-button {
	border-radius: 8px;
	font-family: var(--jb-font-head);
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(20, 38, 71, 0.18);
}

.elementor-widget-image-box .elementor-image-box-wrapper,
.elementor-widget-icon-box .elementor-icon-box-wrapper {
	transition: transform 0.25s ease;
}

.elementor-widget-image-box:hover .elementor-image-box-wrapper,
.elementor-widget-icon-box:hover .elementor-icon-box-wrapper {
	transform: translateY(-3px);
}

.elementor-tab-title {
	font-weight: 600;
}

.elementor-toggle .elementor-tab-title,
.elementor-accordion .elementor-tab-title {
	margin-bottom: 6px;
	border-radius: 8px;
	background: var(--jb-navy) !important;
	color: #fff !important;
}

.elementor-toggle .elementor-tab-title a,
.elementor-accordion .elementor-tab-title a,
.elementor-toggle .elementor-tab-title .elementor-toggle-icon,
.elementor-accordion .elementor-tab-title .elementor-accordion-icon {
	color: #fff !important;
}

.elementor-toggle .elementor-tab-title.elementor-active,
.elementor-accordion .elementor-tab-title.elementor-active {
	background: var(--jb-red) !important;
}

/* Side menus on inner pages built as link tables */
.elementor-widget-text-editor table a[href] {
	text-decoration: none !important;
}

.elementor-widget-wrap .elementor-widget-text-editor td > a[href]:only-child {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
	color: #fff;
	font-weight: 500;
	transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.elementor-widget-wrap .elementor-widget-text-editor td > a[href]:only-child span {
	text-decoration: none !important;
	color: inherit !important;
}

.elementor-widget-wrap .elementor-widget-text-editor td > a[href]:only-child strong {
	font-weight: 600;
}

.elementor-widget-wrap .elementor-widget-text-editor td:has(> a[href]:only-child) {
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
	padding: 2px 0 !important;
}

.elementor-widget-wrap .elementor-widget-text-editor td > a[href]:only-child:hover {
	background: rgba(255, 255, 255, 0.14);
	padding-left: 18px;
	color: var(--jb-gold) !important;
}

.elementor-widget-text-editor p a[href],
.elementor-widget-text-editor li a[href] {
	color: var(--jb-sky);
	font-weight: 600;
}

.elementor-widget-text-editor p a[href]:hover,
.elementor-widget-text-editor li a[href]:hover {
	color: var(--jb-red);
}

/* TablePress tables (wrapped so wide tables scroll sideways on phones) */
.jb-table-scroll {
	width: 100%;
	margin-bottom: 1.5em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--jb-radius);
	box-shadow: 0 1px 4px rgba(20, 38, 71, 0.12);
}

.jb-table-scroll .tablepress {
	margin-bottom: 0;
	border-collapse: collapse;
}

.tablepress thead th,
.tablepress tfoot th {
	background-color: var(--jb-navy) !important;
	color: #fff !important;
	font-family: var(--jb-font-head);
	font-weight: 600;
	border-color: var(--jb-navy-deep);
}

.tablepress thead .dt-orderable-asc:hover,
.tablepress thead .dt-orderable-desc:hover,
.tablepress thead .sorting:hover {
	background-color: var(--jb-navy-deep) !important;
}

.tablepress tbody td {
	border-top: 1px solid var(--jb-line);
	vertical-align: middle;
}

.tablepress tbody tr:nth-child(odd) td {
	background-color: #fff;
}

.tablepress tbody tr:nth-child(even) td {
	background-color: #f5f8fc;
}

.tablepress tbody tr:hover td {
	background-color: var(--jb-tint);
}

.tablepress a {
	color: var(--jb-sky);
	font-weight: 600;
}

@media (max-width: 767px) {
	.jb-table-scroll .tablepress th,
	.jb-table-scroll .tablepress td {
		padding: 8px 10px;
		font-size: 14px;
		white-space: nowrap;
	}
}

/* Pieces that replaced Elementor Pro widgets */
.jbit-quote {
	margin: 0;
	padding: 18px 22px;
	border-left: 4px solid var(--jb-red);
	border-radius: 0 10px 10px 0;
	background: var(--jb-tint);
	font-style: italic;
}

.jbit-quote cite {
	display: block;
	margin-top: 8px;
	color: var(--jb-navy);
	font-style: normal;
	font-weight: 600;
}

.jbit-fb-page,
.jb-fb {
	display: block;
	width: 100%;
	max-width: 500px;
	margin-inline: auto;
	overflow: hidden;
	border-radius: var(--jb-radius);
	background: #fff;
}

.jbit-fb-page iframe,
.jb-fb iframe {
	display: block;
	width: 100% !important;
	min-width: 280px;
	border: 0;
}

/* Smash Balloon feed inside the Facebook box: same card, scrolls inside */
.jb-fb--feed {
	max-width: 560px;
	max-height: var(--jb-fb-h, 620px);
	padding: 12px 14px;
	overflow-y: auto;
	border: 1px solid var(--jb-line);
	box-shadow: var(--jb-shadow);
}

.jb-fb__more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 500px;
	margin: 14px auto 0;
	padding: 11px 18px;
	border-radius: 8px;
	background: #1877f2;
	color: #fff !important;
	font-family: var(--jb-font-head);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.jb-fb__more:hover {
	background: #0f5fd0;
	color: #fff;
	transform: translateY(-2px);
}

/* Institutional Committees page: stack columns on phones */
@media (max-width: 768px) {
	body.page-id-8877 .elementor-section .elementor-container {
		display: flex !important;
		flex-direction: column !important;
	}

	body.page-id-8877 .elementor-section .elementor-column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 100% !important;
	}

	body.page-id-8877 .elementor-section * {
		position: static !important;
		transform: none !important;
	}
}

/* 14. Home page helpers (classes set in Elementor > Advanced > CSS Classes)
   --------------------------------------------------------------------- */
.jb-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--jb-red) !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
}

.jb-eyebrow .elementor-heading-title::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
}

.jb-eyebrow--light .elementor-heading-title {
	color: var(--jb-gold) !important;
}

.jb-title-bar .elementor-heading-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	margin-top: 14px;
	border-radius: 4px;
	background: var(--jb-red);
}

.jb-title-bar.elementor-widget-heading[class*="center"] .elementor-heading-title::after,
.jb-center .jb-title-bar .elementor-heading-title::after {
	margin-inline: auto;
}

.jb-lift {
	transition: transform 0.3s var(--jb-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.jb-lift:hover {
	transform: translateY(-6px);
	box-shadow: var(--jb-shadow-lg) !important;
}

.jb-lift .elementor-icon {
	transition: background-color 0.3s ease, color 0.3s ease;
}

.jb-lift:hover .elementor-icon {
	background-color: var(--jb-red) !important;
	color: #fff !important;
	fill: #fff !important;
}

.jb-lift:hover .elementor-icon svg {
	fill: #fff !important;
}

.jb-hero-badges .elementor-icon-list-item {
	padding: 6px 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
}

.jb-photo img {
	border-radius: 16px !important;
	box-shadow: var(--jb-shadow-lg);
}

.jb-round-media img,
.jb-round-media iframe,
.jb-round-media .elementor-wrapper,
.jb-round-media .elementor-custom-embed-image-overlay {
	border-radius: 16px;
	overflow: hidden;
}

.jb-gallery .gallery-item img,
.jb-gallery .elementor-image-gallery img {
	border-radius: 12px;
	transition: transform 0.35s var(--jb-ease), filter 0.35s ease;
}

.jb-gallery .gallery-item {
	overflow: hidden;
	border-radius: 12px;
}

.jb-gallery .gallery-item:hover img {
	transform: scale(1.06);
	filter: saturate(1.15);
}

.jb-carousel-cards .swiper-slide-image {
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(20, 38, 71, 0.12);
}

.jb-logos .swiper-slide-image,
.jb-logos img {
	filter: grayscale(100%);
	opacity: 0.75;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.jb-logos .swiper-slide:hover img,
.jb-logos img:hover {
	filter: none;
	opacity: 1;
}

/* Leadership cards: round photos of equal size */
.jb-leader .elementor-image-box-img {
	width: 168px !important;
	margin-inline: auto !important;
}

.jb-leader .elementor-image-box-img img {
	width: 168px;
	height: 168px;
	object-fit: cover;
	object-position: center top;
	border: 5px solid #fff;
	border-radius: 50% !important;
	box-shadow: 0 0 0 3px var(--jb-tint), var(--jb-shadow);
}

/* Campus photo grid */
.jb-gallery-item {
	overflow: hidden;
	border-radius: 12px;
}

.jb-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.4s var(--jb-ease), filter 0.4s ease;
}

.jb-gallery-item:hover img {
	transform: scale(1.06);
	filter: saturate(1.15);
}

/* Tables typed into a Text Editor widget that has the CSS class "jb-tablewrap"
   (edit them like any table in the visual editor) */
.jb-tablewrap {
	overflow: auto;
	border: 1px solid var(--jb-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--jb-shadow);
}

.jb-tablewrap--tall {
	max-height: 520px;
}

.jb-tablewrap table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	font-size: 15px;
}

.jb-tablewrap th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 14px 16px;
	border: 0 !important;
	background: var(--jb-navy) !important;
	color: #fff !important;
	font-family: var(--jb-font-head) !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: left;
	white-space: nowrap;
}

.jb-tablewrap td {
	padding: 12px 16px;
	border: 0 !important;
	border-bottom: 1px solid var(--jb-line) !important;
	color: var(--jb-ink);
	line-height: 1.5 !important;
	vertical-align: middle;
}

.jb-tablewrap td:first-child {
	width: 64px;
	color: var(--jb-navy);
	font-weight: 700;
	text-align: center;
}

.jb-tablewrap tbody tr:nth-child(even) td {
	background: #f7f9fd;
}

.jb-tablewrap tbody tr:hover td {
	background: var(--jb-tint);
}

.jb-tablewrap td strong {
	display: inline-block;
	padding: 2px 12px;
	border-radius: 999px;
	background: rgba(237, 49, 54, 0.1);
	color: var(--jb-red-dark);
}

@media (max-width: 767px) {
	.jb-tablewrap th,
	.jb-tablewrap td {
		padding: 10px 12px;
		font-size: 14px;
	}
}

/* Text-style buttons ("Explore programme ->") */
.jb-btn-link .elementor-button {
	box-shadow: none !important;
	transform: none !important;
}

.jb-btn-link .elementor-button:hover .elementor-button-icon {
	transform: translateX(4px);
}

.jb-btn-link .elementor-button-icon {
	transition: transform 0.2s ease;
}

/* Programme cards: push the link to the bottom so cards line up */
.jb-lift > .elementor-widget-button:last-child,
.jb-lift > .e-con-inner > .elementor-widget-button:last-child {
	margin-top: auto;
}

/* 15. Call-to-action band and footer
   --------------------------------------------------------------------- */
.jb-prefooter {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 5vw, 52px) 0;
	background: linear-gradient(110deg, var(--jb-red-dark) 0%, var(--jb-red) 60%, #f0555a 100%);
	color: #fff;
}

.jb-prefooter::before,
.jb-prefooter::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.jb-prefooter::before {
	top: -90px;
	right: 12%;
	width: 220px;
	height: 220px;
	border: 34px solid rgba(255, 255, 255, 0.08);
}

.jb-prefooter::after {
	bottom: -70px;
	left: -40px;
	width: 180px;
	height: 180px;
	background: rgba(255, 255, 255, 0.06);
}

.jb-prefooter__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
}

.jb-prefooter h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.jb-prefooter p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
}

.jb-prefooter__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.jb-footer {
	background: var(--jb-navy-deep);
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.jb-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr 1.7fr 1fr 1.3fr;
	gap: 40px 48px;
	padding-block: clamp(48px, 6vw, 72px) 48px;
}

.jb-footer__title,
.jb-footer .widget-title {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 12px;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
}

.jb-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--jb-red);
}

/* Colour logo on a dark footer: placed on a white card so it stays readable */
.jb-footer__logo {
	display: inline-flex;
	align-items: center;
	padding: 14px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	color: var(--jb-navy);
	font-family: var(--jb-font-head);
	font-weight: 700;
	text-decoration: none;
}

.jb-footer__logo img {
	display: block;
	width: 230px;
	max-width: 100%;
	height: auto;
}

.jb-footer__about {
	margin: 20px 0 22px;
	font-size: 14.5px;
	line-height: 1.75;
}

.jb-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-footer__menu--2col {
	columns: 2;
	column-gap: 28px;
}

.jb-footer__menu li {
	margin-bottom: 10px;
	break-inside: avoid;
}

.jb-footer__menu a,
.jb-footer .widget a {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14.5px;
	text-decoration: none;
}

.jb-footer__menu a::before {
	content: "";
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--jb-red);
	border-right: 2px solid var(--jb-red);
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease;
}

.jb-footer__menu a:hover,
.jb-footer .widget a:hover {
	color: #fff;
}

.jb-footer__menu a:hover::before {
	transform: translate(3px, -2px) rotate(45deg);
}

.jb-contact {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.jb-contact li {
	display: flex;
	gap: 12px;
	line-height: 1.55;
}

.jb-contact .jb-icon {
	margin-top: 3px;
	color: var(--jb-gold);
}

.jb-contact small {
	display: block;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
}

.jb-contact a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	word-break: break-word;
}

.jb-contact a:hover {
	color: var(--jb-gold);
}

.jb-contact--drawer .jb-icon {
	color: var(--jb-red);
}

.jb-contact--drawer a {
	color: var(--jb-ink);
}

.jb-footer__map {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.jb-footer__map:hover {
	border-color: var(--jb-gold);
	color: var(--jb-gold);
}

.jb-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.15);
	font-size: 13.5px;
}

.jb-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 16px;
}

.jb-footer__bottom p {
	margin: 0;
}

.jb-footer__bottom-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-footer__bottom-menu a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.jb-footer__bottom-menu a:hover {
	color: #fff;
}

@media (max-width: 1024px) {
	.jb-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.jb-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.jb-prefooter__actions,
	.jb-prefooter__actions .jb-btn {
		width: 100%;
	}

	.jb-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}
}

/* 16. Back to top
   --------------------------------------------------------------------- */
.jb-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--jb-red);
	color: #fff;
	box-shadow: 0 8px 20px rgba(237, 49, 54, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background-color 0.2s ease;
}

.jb-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s, background-color 0.2s ease;
}

.jb-to-top:hover {
	background: var(--jb-navy);
	color: #fff;
}

/* 17. Print: hide site chrome so notices and tables print cleanly
   --------------------------------------------------------------------- */
@media print {
	.jb-topbar,
	.jb-masthead,
	.jb-nav,
	.jb-ticker,
	.jb-prefooter,
	.jb-footer,
	.jb-to-top,
	.jb-drawer,
	.jb-search {
		display: none !important;
	}

	.jb-banner {
		padding: 0 0 12px;
		background: none;
		color: #000;
	}

	.jb-banner__title {
		color: #000;
	}
}
