:root {
	--mj-blue: #2f7cb8;
	--mj-blue-dark: #1b4f7a;
	--mj-nav: #2a6aa3;
	--mj-red: #c4161c;
	--mj-footer: #163a5c;
	--mj-text: #4a4a4a;
	--mj-muted: #777;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body.site {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: var(--mj-text);
	background: #fff;
}

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

a {
	color: var(--mj-nav);
	text-decoration: none;
}

.mj-wrap {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

/* Header — sticky, bar/menu shrinks on scroll, logo stays the same size */
.mj-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	border-bottom: 1px solid #eee;
	transition: box-shadow 0.2s ease;
}

.mj-header.is-shrink {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.mj-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 24px;
	transition: min-height 0.2s ease;
}

.mj-header.is-shrink .mj-header-inner {
	min-height: 56px;
}

.mj-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.mj-logo img {
	display: block;
	max-height: 52px;
	max-width: 280px;
	width: auto;
	height: auto;
}

.mj-logo-icon {
	width: 34px;
	height: 42px;
	background:
		linear-gradient(180deg, var(--mj-blue) 0 55%, var(--mj-red) 55% 100%);
	clip-path: polygon(50% 0, 100% 18%, 82% 100%, 18% 100%, 0 18%);
}

.mj-logo-text {
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 0.5px;
	color: var(--mj-blue-dark);
}

.mj-pagehead {
	background: var(--mj-footer);
	color: #fff;
	padding: 14px 0;
}

.mj-pagehead h1 {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	color: #fff;
	line-height: 1.2;
}

.mj-crumbs {
	background: #fff;
	border-bottom: 1px solid #ddd;
	padding: 12px 0;
	font-size: 13px;
	color: #9aa0a6;
}

.mj-crumbs-label {
	margin-right: 6px;
}

.mj-crumbs nav,
.mj-crumbs .mod-breadcrumbs__wrapper,
.mj-crumbs .mod-breadcrumbs,
.mj-crumbs ol,
.mj-crumbs ul,
.mj-crumbs .breadcrumb {
	display: inline !important;
	flex-wrap: wrap;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: transparent !important;
}

.mj-crumbs li {
	display: inline !important;
	float: none !important;
	padding: 0 !important;
	list-style: none !important;
}

.mj-crumbs .mod-breadcrumbs__here,
.mj-crumbs .divider,
.mj-crumbs .breadcrumb-item + .breadcrumb-item::before {
	display: none !important;
	content: none !important;
}

.mj-crumbs li + li::before {
	content: " > ";
	color: #9aa0a6;
}

.mj-crumbs a {
	color: var(--mj-blue) !important;
	text-transform: uppercase;
}

.mj-crumbs .active,
.mj-crumbs [aria-current],
.mj-crumbs .breadcrumb-item.active {
	color: #9aa0a6 !important;
	text-transform: uppercase;
}

body.has-pagehead .mj-component .page-header {
	display: none;
}

.mj-logo-text span {
	color: var(--mj-red);
}

.mj-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.mj-toggle span {
	display: block;
	height: 2px;
	margin: 7px 0;
	background: var(--mj-nav);
}

/* Menu */
.mj-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px 18px;
}

.mj-nav li {
	position: relative;
}

.mj-nav a {
	display: block;
	padding: 10px 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: var(--mj-nav);
	white-space: nowrap;
}

.mj-nav .active > a,
.mj-nav a:hover {
	color: var(--mj-blue-dark);
}

.mj-nav li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: #fff;
	border: 1px solid #e6e6e6;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	z-index: 50;
	flex-direction: column;
	gap: 0;
}

.mj-nav li:hover > ul,
.mj-nav li:focus-within > ul {
	display: flex;
}

.mj-nav li ul a {
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: #888;
	white-space: normal;
}

.mj-nav li ul a:hover,
.mj-nav li ul .active > a {
	background: #ececec;
	color: #555;
}

/* Slideshow / hero — full width, like Consilium feature + Revolution arrows */
.mj-slideshow {
	position: relative;
	background: #111;
	line-height: 0;
	overflow: hidden;
}

.mj-slideshow .moduletable,
.mj-slideshow .custom,
.mj-slideshow p {
	margin: 0;
	padding: 0;
}

.mj-slideshow img,
.mj-slideshow .slide {
	width: 100%;
	display: block;
	height: auto;
}

.mj-slides {
	position: relative;
}

.mj-slides .mj-slide {
	display: none;
	width: 100%;
}

.mj-slides .mj-slide.is-on {
	display: block;
}

.mj-slides img {
	width: 100%;
	display: block;
}

.mj-slide-btn {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 60px;
	height: 60px;
	margin-top: -30px;
	border: 0;
	background: #fff;
	color: #111;
	font-size: 28px;
	line-height: 60px;
	cursor: pointer;
	padding: 0;
}

.mj-slide-btn.prev {
	left: 0;
}

.mj-slide-btn.next {
	right: 0;
}

.mj-slide-btn:hover {
	background: #f3f3f3;
}

/* Welcome — exact Consilium #sp-fp-message-wrapper */
.mj-banner {
	background: #08c;
	color: #fff;
	padding: 20px 0;
	font-size: 28px;
	line-height: normal;
}

.mj-banner a {
	color: #fff;
}

.mj-banner p,
.mj-banner .moduletable,
.mj-banner .custom {
	margin: 0;
}

@media (max-width: 1099px) {
	.mj-banner {
		font-size: 24px;
	}
}

@media (max-width: 800px) {
	.mj-banner {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.mj-banner {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.mj-banner {
		text-align: center;
	}

	.mj-slideshow {
		display: none;
	}
}

/* Content */
.mj-main {
	padding: 48px 0 20px;
}

body.is-home .mj-main {
	padding-top: 36px;
}

.mj-content.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 36px;
	align-items: start;
}

.mj-component h1,
.mj-component h2,
.mj-featured h2,
.mj-featured h3,
.com-content-article h2,
.page-header h1,
.page-header h2 {
	margin: 0 0 16px;
	color: var(--mj-blue);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.mj-component p,
.mj-featured p {
	margin: 0 0 14px;
}

.mj-featured .moduletable,
.mj-featured .card {
	margin-bottom: 56px;
}

.mj-btn,
.mj-component .readmore a,
.mj-component a.btn,
a.mj-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 16px;
	border: 1px solid #222;
	background: #fff;
	color: #222;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.mj-btn:hover,
.mj-component .readmore a:hover {
	background: var(--mj-blue);
	border-color: var(--mj-blue);
	color: #fff;
}

.mj-sidebar {
	background: var(--mj-blue);
	color: #fff;
	padding: 18px 0;
}

.mj-sidebar h3,
.mj-sidebar .moduletable > h3,
.mj-sidebar .page-header {
	margin: 0 18px 12px;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
}

.mj-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mj-sidebar li {
	border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.mj-sidebar a {
	display: block;
	padding: 10px 18px;
	color: #fff;
}

.mj-sidebar a:hover,
.mj-sidebar .active > a {
	background: rgba(255, 255, 255, 0.12);
}

/* Partners */
.mj-partners {
	padding: 10px 0 40px;
}

.mj-partners .moduletable,
.mj-partners .custom {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.mj-partners img {
	max-height: 70px;
	background: #fff;
	padding: 8px 16px;
}

/* Footer */
.mj-footer {
	background: var(--mj-footer);
	color: #d7e4f0;
	padding-top: 42px;
	margin-top: 20px;
}

.mj-footer a {
	color: #fff;
}

.mj-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding-bottom: 28px;
}

.mj-footer h3,
.mj-footer .moduletable > h3 {
	margin: 0 0 14px;
	color: #7eb6e0;
	font-size: 18px;
	font-weight: 600;
}

.mj-copy {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 12px 0;
	font-size: 12px;
	color: #9bb6cc;
}

.blog-items,
.com-content-category-blog .items-leading,
.com-content-category-blog .blog-items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}

@media (max-width: 900px) {
	.mj-toggle {
		display: block;
	}

	.mj-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid #eee;
		padding: 12px 16px 20px;
		z-index: 40;
	}

	.mj-header {
		position: sticky;
	}

	body.nav-open .mj-nav {
		display: block;
	}

	.mj-nav ul {
		flex-direction: column;
		align-items: stretch;
	}

	.mj-nav li ul {
		position: static;
		display: none;
		box-shadow: none;
		border: 0;
		padding-left: 12px;
	}

	.mj-nav li.open > ul,
	.mj-nav li:hover > ul {
		display: flex;
	}

	.mj-content.has-sidebar,
	.mj-footer-grid {
		grid-template-columns: 1fr;
	}
}
