/*
 * EBC Components: styles for the [mk_*] and [vc_*] replacement shortcodes.
 * Plain modern CSS (custom properties, nesting, container queries, :has). Written from measurements of the rendered
 * pages; contains no code from Jupiter or WPBakery.
 */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../vendor/open-sans/open-sans-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ebcc-skin: var(--ebc-skin, #183989);
	--ebcc-gutter: 15px;
}

.ebcc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.ebcc-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	fill: currentcolor;
	vertical-align: -0.125em;
}

/* ---------- Rows and columns (12-column grid; stack below 768 px of row width) ---------- */
.ebcc-row {
	container-type: inline-size;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: start;
	max-width: calc(var(--ebc-grid, 1140px) - 2 * var(--ebc-gutter, 20px));
	margin-inline: calc(var(--ebcc-gutter) * -1);
}

/* From 1140 px the old layout let the row end where the content ends (only its left edge is pulled out by the gutter). */
@media (width >= 1140px) {
	.ebcc-row {
		width: 100%;
		margin-inline: calc(var(--ebcc-gutter) * -1) 0;
	}
}

.ebcc-row--inner {
	width: auto;
	max-width: none;
	margin-inline: 0;
}

.ebcc-row--inner > .ebcc-col {
	padding-inline: var(--ebcc-gutter);
}

.ebcc-row--equal {
	align-items: stretch;
}

.ebcc-col {
	grid-column: span var(--ebcc-span, 12);
	min-width: 0;
	padding-inline: var(--ebcc-gutter);
}

.ebc-layout-full-width .ebcc-row {
	width: auto;
	max-width: 1140px;
	margin-inline: auto;
}

@container (width < 768px) {
	.ebcc-col {
		grid-column: 1 / -1;
	}

}

/* Row-level stacking uses the viewport as a fallback where container queries are missing. */
@supports not (container-type: inline-size) {
	@media (width < 768px) {
		.ebcc-col {
			grid-column: 1 / -1;
		}

	}

}

/* ---------- Text, headings, spacing ---------- */
.ebcc-text {
	display: flow-root;
	margin-bottom: 0;
	& p:last-child {
		margin-bottom: 20px;
	}
	& > :first-child {
		margin-top: 0;
	}
}

.ebcc-text__title {
	margin: 0 0 18px;
	padding-bottom: 5px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.ebcc-space {
	display: block;
}

.ebcc-heading {
	margin: 0 0 14px;
	font-weight: 700;
}

.ebcc-heading--open-sans {
	font-family: "Open Sans", sans-serif;
}


.ebcc-fancy-title span {
	display: block;
}

.ebcc-fancy-title {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: none;
}

.ebcc-divider {
	padding: var(--ebcc-div-mt, 20px) 0 var(--ebcc-div-mb, 20px);
}

.ebcc-divider--shadow_line::before {
	content: "";
	display: block;
	height: 7px;
	background: linear-gradient(to bottom, rgb(0 0 0 / 5%), rgb(0 0 0 / 0%));
	clip-path: ellipse(60% 100% at 50% 0);
}

.ebcc-divider--padding_space {
	height: 0;
}

/* ---------- Images ---------- */
.ebcc-image {
	margin: 0 0 35px;
}

.ebcc-image--align-center {
	text-align: center;
}

.ebcc-image--align-right {
	text-align: right;
}

.ebcc-image__img {
	max-width: 100%;
	height: auto;
}

.ebcc-img {
	display: block;
	margin: 0 0 10px;
	line-height: 4px;
}

.ebcc-img--align-center {
	text-align: center;
}

.ebcc-img--align-right {
	text-align: right;
}

.ebcc-img__img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.ebcc-img--crop .ebcc-img__img {
	width: 100%;
	max-width: var(--ebcc-img-w);
	aspect-ratio: var(--ebcc-img-ar);
	object-fit: cover;
}

.ebcc-img__link {
	display: inline-block;
	max-width: 100%;
}

.ebcc-img__cap {
	margin-top: 6px;
	line-height: 1.5;
	color: #777;
	font-size: 12px;
}

.ebcc-reveal {
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
	.ebcc-js .ebcc-reveal:not(.is-visible) {
		opacity: 0%;
		transform: translateY(24px);
	}

}

/* ---------- Message box ---------- */
.ebcc-message {
	position: relative;
	margin-bottom: 21.74px;
	padding: 13px 13px 13px 52px;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	background: #fff;
}

.ebcc-message__icon {
	position: absolute;
	inset: 0 auto 0 0;
	display: grid;
	width: 52px;
	place-items: center;
	color: #b3b3b3;
	font-size: 22.1px;
}

.ebcc-message__body > :last-child {
	margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.ebcc-btn-wrap {
	margin-bottom: 15px;
	text-align: left;
}

@media (width >= 768px) {
	.ebcc-btn-wrap:not(.ebcc-btn-wrap--full) {
		margin-right: 15px;
	}
}

.ebcc-btn-wrap:has(.ebcc-btn--outline) {
	padding-bottom: 6.6px;
}

.ebcc-btn-wrap--center {
	text-align: center;
}

.ebcc-btn-wrap--right {
	text-align: right;
}

.ebcc-btn-wrap--full .ebcc-btn {
	display: flex;
	width: 100%;
}

.ebcc-btn {
	display: inline-block;
	padding: 12px 18px;
	border: 2px solid transparent;
	color: var(--ebcc-btn-fg, #fff);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 16px;
	text-align: center;
		transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.ebcc-btn--flat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	border-width: 0;
	background: var(--ebcc-btn-bg, var(--ebcc-skin));
	padding-block: 12px;
	line-height: 16px;
	&:hover,
		&:focus-visible {
		background: var(--ebcc-btn-hover-bg, #112860);
		color: var(--ebcc-btn-hover-fg, #fff);
	}
}

.ebcc-btn--outline {
	border-color: var(--ebcc-btn-fg, #272a33);
	background: transparent;
	color: var(--ebcc-btn-fg, #272a33);
	font-size: 12px;
	padding: 12px 24px;
	line-height: 12px;
	&:hover,
		&:focus-visible {
		border-color: var(--ebcc-btn-hover-bg, var(--ebcc-skin));
		background: var(--ebcc-btn-hover-bg, var(--ebcc-skin));
		color: var(--ebcc-btn-hover-fg, #fff);
	}
}

.ebcc-btn--flat.ebcc-btn--medium {
	padding: 14px 24px;
	font-size: 12px;
	line-height: 12px;
}

.ebcc-btn--large {
	font-size: 12px;
}

.ebcc-btn--rounded {
	border-radius: 4px;
}

.ebcc-btn__icon {
	width: 16px;
	height: 11px;
	margin-right: 15px;
	vertical-align: baseline;
	transition: transform 0.2s;
}

.ebcc-btn--icon-anim:hover .ebcc-btn__icon {
	transform: translateX(4px);
}

/* ---------- Ornamental title ---------- */
.ebcc-orn {
	margin-bottom: 20px;
	text-align: center;
}

.ebcc-orn__title {
	position: relative;
	display: inline-block;
	margin: 0;
	padding-inline: 35px;
	color: var(--ebcc-orn-text, var(--ebc-heading, #393836));
	font-size: var(--ebcc-orn-size, 30px);
	font-weight: var(--ebcc-orn-wt, 400);
	line-height: calc(var(--ebcc-orn-size, 30px) + 6px);
	text-transform: var(--ebcc-orn-tr, none);
}

.ebcc-orn--norman-short-single .ebcc-orn__title::before,
.ebcc-orn--norman-short-single .ebcc-orn__title::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 55px;
	height: 1px;
	background: var(--ebcc-orn-line, currentcolor);
}

.ebcc-orn--norman-short-single {
	padding-bottom: 6.58px;
}

.ebcc-orn--norman-short-single .ebcc-orn__title::before {
	right: 100%;
}

.ebcc-orn--norman-short-single .ebcc-orn__title::after {
	left: 100%;
}

/* On narrow screens the short rules disappear and the title uses the whole width. */
@media (width <= 736px) {
	.ebcc-orn--norman-short-single .ebcc-orn__title {
		padding-inline: 0;
	}

	.ebcc-orn--norman-short-single .ebcc-orn__title::before,
	.ebcc-orn--norman-short-single .ebcc-orn__title::after {
		display: none;
	}
}

.ebcc-orn--norman-single .ebcc-orn__title {
	display: flex;
	align-items: center;
	gap: 0;
	padding-inline: 0;
}

.ebcc-orn--norman-single .ebcc-orn__text {
	padding-inline: 35px;
}

.ebcc-orn--norman-single .ebcc-orn__title::before,
.ebcc-orn--norman-single .ebcc-orn__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ebcc-orn-line, currentcolor);
}

.ebcc-orn--left {
	text-align: left;
}

.ebcc-orn--right {
	text-align: right;
}

/* ---------- Page section ---------- */
.ebcc-section {
	position: relative;
	width: 100vw;
	min-height: 100px;
	margin-inline: calc(50% - 50vw);
	overflow: hidden;
	padding-block: var(--ebcc-section-pt, 5px) var(--ebcc-section-pb, 5px);
	background: var(--ebcc-section-bg, transparent);
}

.ebcc-section__inner {
	width: min(100%, var(--ebc-grid, 1140px));
	margin-inline: auto;
}

.ebcc-row--flush {
	max-width: none;
	margin-inline: 0;
}

/* ---------- Icon box ---------- */
.ebcc-iconbox {
	margin-bottom: 30px;
	color: var(--ebcc-ib-text, inherit);
	text-align: center;
}

.ebcc-iconbox__icon {
	display: block;
	margin-bottom: 12px;
	height: 64px;
	color: var(--ebcc-ib-icon, var(--ebcc-skin));
	font-size: 64px;
	line-height: 64px;
}

.ebcc-iconbox__title {
	margin: 0 0 22px;
	color: var(--ebcc-ib-title, inherit);
	font-size: var(--ebcc-ib-size, 24px);
	font-weight: 400;
}

.ebcc-iconbox__text {
	margin: 0;
	color: var(--ebcc-ib-text, inherit);
}

/* ---------- Social ---------- */
.ebcc-social {
	margin: 10px 0;
	padding: 0 0 6.6px;
	list-style: none;
}

.ebcc-social li {
	display: inline-block;
	padding: 4px;
}

.ebcc-social--center {
	text-align: center;
}

.ebcc-social--right {
	text-align: right;
}

.ebcc-social__link {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 3px;
	background: var(--ebcc-social-bg, var(--ebcc-skin));
	color: #fff;
	font-size: 18px;
	transition: background-color 0.2s;
	&:hover,
		&:focus-visible {
		background: var(--ebcc-social-hover-bg, #112860);
		color: #fff;
	}
}

.ebcc-social--xx-large .ebcc-social__link {
	width: 64px;
	height: 64px;
	font-size: 36px;
	border-radius: 6px;
}

.ebcc-social--x-large .ebcc-social__link {
	width: 48px;
	height: 48px;
	font-size: 26px;
}

/* ---------- Gallery ---------- */

.ebcc-gallery {
	margin: var(--ebcc-gal-gap, 8px) 0 20px;
}

/* With a title the title carries the top spacing. */
.ebcc-gallery--titled {
	margin-top: 0;
}

.ebcc-gallery__list {
	display: grid;
	grid-template-columns: repeat(var(--ebcc-gal-cols, 3), minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.ebcc-gallery__item {
	position: relative;
	padding: 0 calc(var(--ebcc-gal-gap, 8px) / 2) var(--ebcc-gal-gap, 8px);
}

.ebcc-gallery__link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: var(--ebcc-gal-ratio, 350 / 250);
}

.ebcc-gallery .ebcc-gallery__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease-out;
}

.ebcc-gallery__veil {
	position: absolute;
	inset: 0;
	background: rgb(255 255 255 / 0%);
	transition: background-color 0.3s;
}

.ebcc-gallery--hover-fadebox .ebcc-gallery__link:hover .ebcc-gallery__veil {
	background: rgb(255 255 255 / 40%);
}

.ebcc-gallery--hover-slow_zoom .ebcc-gallery__link .ebcc-gallery__img {
	transform: scale(1.04);
}

.ebcc-gallery--hover-slow_zoom .ebcc-gallery__link:hover .ebcc-gallery__img {
	transform: scale(1.12);
}

/* Mosaic styles: a four-column grid of squares; in every group of five one picture takes two columns and two rows. */
.ebcc-gallery--style1 .ebcc-gallery__item:nth-child(5n + 1),
.ebcc-gallery--style2 .ebcc-gallery__item:nth-child(5n + 3),
.ebcc-gallery--style3 .ebcc-gallery__item:nth-child(5n + 2) {
	grid-column: span 2;
	grid-row: span 2;
}

/* Narrower: two columns up to 960 px, one up to 480 px; the mosaics drop their large picture and become one column up to 767 px. */
@media (width <= 960px) {
	.ebcc-gallery__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ebcc-gallery--style1 .ebcc-gallery__item:nth-child(5n + 1),
	.ebcc-gallery--style2 .ebcc-gallery__item:nth-child(5n + 3),
	.ebcc-gallery--style3 .ebcc-gallery__item:nth-child(5n + 2) {
		grid-column: auto;
		grid-row: auto;
	}
}

@media (width <= 767px) {
	.ebcc-gallery--style1 .ebcc-gallery__list,
	.ebcc-gallery--style2 .ebcc-gallery__list,
	.ebcc-gallery--style3 .ebcc-gallery__list {
		grid-template-columns: 1fr;
	}
}

@media (width <= 480px) {
	.ebcc-gallery__list {
		grid-template-columns: 1fr;
	}
}

.ebcc-vcgal--grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 35px;
	padding: 0;
	list-style: none;
}

.ebcc-vcgal__item {
	width: var(--ebcc-vcgal-w, 300px);
	max-width: 100%;
	margin: 0 1px 1px 0;
}

.ebcc-vcgal__item img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Carousel (Embla) ---------- */
.ebcc-carousel {
	position: relative;
	margin-bottom: 20px;
}

.ebcc-carousel__viewport {
	overflow: hidden;
}

.ebcc-carousel__track {
	display: flex;
	touch-action: pan-y pinch-zoom;
}

.ebcc-carousel__slide {
	flex: 0 0 calc(100% / var(--ebcc-perview, 1));
	min-width: 0;
	padding-inline: 4px;
}

.ebcc-carousel__nav {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: grid;
	width: 40px;
	height: 40px;
	translate: 0 -50%;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgb(0 0 0 / 55%);
	color: #fff;
	cursor: pointer;
	&:disabled {
		opacity: 30%;
		cursor: default;
	}
}

.ebcc-carousel__nav--prev {
	left: 12px;
}

.ebcc-carousel__nav--next {
	right: 12px;
}

.ebcc-carousel.is-static .ebcc-carousel__nav {
	display: none;
}

/* Dots under a slider (the picture slider of [vc_gallery]). */
.ebcc-carousel__dots {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	margin: 15px 0 0;
	padding: 0;
	list-style: none;
	line-height: 21.58px;
	text-align: center;
}

.ebcc-carousel__dots li {
	display: inline-block;
	width: 11px;
	height: 11px;
	margin: 0 6px;
}

.ebcc-carousel__dot {
	display: block;
	width: 11px;
	height: 11px;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: rgb(0 0 0 / 50%);
	box-shadow: inset 0 0 3px rgb(0 0 0 / 30%);
	cursor: pointer;
	&.is-active {
		background: rgb(0 0 0 / 90%);
		cursor: default;
	}
}

/* [vc_gallery] slider: a framed picture at the width of the column, dots below (60 px of the slider plus 35 px of the element). */
.ebcc-vcgal--slider {
	margin-bottom: 95px;
	border: 4px solid #fff;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
	& .ebcc-carousel__slide {
		padding-inline: 0;
	}
	& img {
		display: block;
		width: 100%;
		height: auto;
	}
	/* Arrows are plain dark chevrons: shown on hover or focus, always on narrow screens. */
	& .ebcc-carousel__nav {
		width: 36px;
		height: 44px;
		border-radius: 0;
		background: none;
		color: #333;
		font-size: 26px;
		opacity: 0%;
		transition: opacity 0.2s;
	}
	&:hover .ebcc-carousel__nav,
	& .ebcc-carousel__nav:focus-visible {
		opacity: 80%;
	}
}

@media (width <= 860px) {
	.ebcc-vcgal--slider .ebcc-carousel__nav {
		opacity: 80%;
	}
}

.ebcc-slideshow {
	margin-bottom: 0;
}

.ebcc-slideshow__carousel {
	margin-bottom: 0;
	& .ebcc-carousel__slide {
		padding-inline: 0;
	}
}

/* A title on a dotted rule (the old "pattern" title style): two-pixel dots every three pixels. Used by galleries and slideshows. */
.ebcc-pattern-title {
	position: relative;
	margin: 0 0 18px;
	padding-top: 5px;
	color: var(--ebc-heading, #393836);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	&::before {
		content: "";
		position: absolute;
		top: calc(50% + 2.5px);
		right: 0;
		left: 0;
		height: 8px;
		translate: 0 -50%;
		background: repeating-linear-gradient(to right, #dedede 0 2px, transparent 2px 3px);
		mask-image: repeating-linear-gradient(to bottom, #000 0 2px, transparent 2px 3px);
	}
	& span {
		position: relative;
		padding-right: 6px;
		background: #fff;
	}
}

.ebcc-slideshow__img {
	width: 100%;
	height: auto;
}

.ebcc-newscarousel .ebcc-carousel__slide {
	align-self: flex-start;
}

/* Below 1,140 px the tiles keep a fixed width (260 px with their 4 px padding) and the next one peeks in. */
@media (width < 1140px) {
	.ebcc-newscarousel .ebcc-carousel__slide {
		flex-basis: 260px;
	}
}

.ebcc-newscarousel .ebcc-carousel__nav {
	top: -37px;
	width: 16px;
	height: 35px;
	translate: 0;
	border-radius: 0;
	background: none;
	color: var(--ebc-heading, #393836);
	opacity: 70%;
}

.ebcc-newscarousel .ebcc-carousel__nav--prev {
	right: 20px;
	left: auto;
}

.ebcc-newscarousel .ebcc-carousel__nav--next {
	right: 0;
}

.ebcc-tile {
	border: 1px solid rgb(0 0 0 / 10%);
}

.ebcc-tile__media {
	display: block;
}

.ebcc-tile__img {
	display: block;
	width: 100%;
	aspect-ratio: 267.5 / 196.5;
	object-fit: cover;
}

.ebcc-tile__title {
	margin: 0;
	padding: 15px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 20px;
	text-align: center;
	text-transform: uppercase;
}

/* ---------- News grid (mk_blog newspaper) ---------- */

.ebcc-news {
	--ebcc-cols: 3;

	display: grid;
	grid-template-columns: repeat(var(--ebcc-cols), minmax(0, 1fr));
	width: calc(100% - 7.5px);
}

.ebcc-news.is-masonry {
	display: block;
	position: relative;
}

.ebcc-news.is-masonry > .ebcc-news__item {
	position: absolute;
	top: 0;
	left: 0;
}

.ebcc-news__item {
	padding: 0 12px 24px;
}

@media (width < 1000px) {
	.ebcc-news {
		--ebcc-cols: 2;
	}
}

@media (width < 640px) {
	.ebcc-news {
		--ebcc-cols: 1;

		width: 100%;
	}

	.ebcc-news__item {
		padding: 0 0 18px;
	}
}

.ebcc-card {
	border: 1px solid #e3e3e3;
	background: #fff;
	box-shadow: 0 2px 1px rgb(0 0 0 / 5%);
}

.ebcc-card__media {
	display: block;
	overflow: hidden;
}

.ebcc-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 336 / var(--ebcc-card-img-h, 250);
	object-fit: cover;
}

.ebcc-card__body {
	padding: 20px;
}

.ebcc-card__title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 18px;
	text-transform: uppercase;
}

.ebcc-card__title a {
	color: #333;
	font-size: 14px;
	line-height: 18px;
}

.ebcc-card__date {
	display: block;
	margin-bottom: 15px;
	font-size: 13px;
	line-height: 21.58px;
}

.ebcc-card__date span {
	color: #999;
	font-size: 11px;
	font-style: italic;
	letter-spacing: 1px;
	line-height: 11px;
}

.ebcc-card__excerpt {
	margin: 0 0 20px;
}

.ebcc-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-top: 1px solid #e3e3e3;
	background: #fafafa;
	line-height: 21.58px;
}

.ebcc-card__more {
	align-self: flex-start;
	margin-top: 7px;
	color: #333;
	font-size: 12px;
	font-weight: 700;
	line-height: 12px;
}

.ebcc-card__more .ebcc-icon {
	margin-right: 5px;
	font-size: 8px;
}

.ebcc-card__actions {
	display: flex;
	align-items: center;
	gap: 15px;
	color: #ccc;
}

.ebcc-card__action {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.ebcc-card__comments {
	display: flex;
	align-items: center;
	height: 21.58px;
	color: inherit;
	font-size: 11px;
}

.ebcc-card__comments .ebcc-icon {
	margin-right: 4px;
	font-size: 16px;
}

.ebcc-card__action .ebcc-icon {
	font-size: 16px;
}

.ebcc-card__share {
	position: fixed;
	inset: auto;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid #ddd;
	background: #fff;
	box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
}

.ebcc-card__share a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
}

.ebcc-card__share:popover-open {
	position-area: bottom span-left;
}

.ebcc-pager {
	padding-block: 65px 34px;
}

.ebcc-pager__nums {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.ebcc-pager__prev.is-hidden {
	visibility: hidden;
}

.ebcc-pager__num,
.ebcc-pager__prev,
.ebcc-pager__next {
	display: block;
	width: 38px;
	height: 36px;
	border: 2px solid transparent;
	color: rgb(0 0 0 / 40%);
	line-height: 32px;
	text-align: center;
}

.ebcc-pager__num {
	width: 39px;
}

.ebcc-pager__num:not(.is-current) {
	margin-left: 6px;
}

.ebcc-pager__num.is-current {
	border-color: rgb(0 0 0 / 70%);
	color: rgb(0 0 0 / 70%);
}

.ebcc-pager__gap {
	display: block;
	width: 42px;
	height: 36px;
	color: rgb(0 0 0 / 40%);
	line-height: 32px;
	text-align: center;
}

.ebcc-pager__of {
	float: right;
	line-height: 21.6px;
}

.ebcc-pager::after {
	content: "";
	display: block;
	clear: both;
}

/* ---------- Tabs ---------- */

.ebcc-tabs {
	margin-bottom: 35px;
}

.ebcc-tabs__list {
	display: flex;
	flex-wrap: wrap;
}

.ebcc-tabs__tab {
	margin: 0 -1px -1px 0;
	padding: 0 20px;
	border: 1px solid #ebebeb;
	background: rgb(0 0 0 / 5%);
	color: #444;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 44px;
	cursor: pointer;
}

.ebcc-tabs__tab[aria-selected="true"] {
	border-bottom-color: #fff;
	background: #fff;
}

.ebcc-tabs__tab:focus-visible {
	outline: 2px solid var(--ebcc-skin);
	outline-offset: -2px;
}

.ebcc-tabs__mtitle {
	display: none;
}

.ebcc-tabs__panel {
	padding: 25px 25px 20px;
	border: 1px solid #ebebeb;
	background: var(--ebcc-tabs-bg, #fff);
}

/* Narrow screens: no tab bar, every panel is shown under its own title bar. */
@media (width < 768px) {
	.ebcc-tabs__list {
		display: none;
	}

	.ebcc-tabs__panel,
	.ebcc-tabs__panel[hidden] {
		display: block;
		padding: 0 25px 20px;
		border: 0;
	}

	.ebcc-tabs__mtitle {
		display: block;
		margin: 0 -25px 15px;
		padding: 5px 10px;
		border-bottom: 2px solid rgb(0 0 0 / 10%);
		background: rgb(0 0 0 / 5%);
		color: #444;
		font-size: 14px;
		font-weight: 700;
		line-height: 24px;
	}
}

/* ---------- Embeds ---------- */
.ebcc-map {
	margin-bottom: 35px;
	padding: 5px;
	background: #f7f7f7;
	& iframe {
		display: block;
		width: 100%;
		height: var(--ebcc-map-h, 450px);
		border: 0;
	}
}

.ebcc-video {
	position: relative;
	margin-bottom: 0;
	aspect-ratio: 16 / 9;
	& iframe {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		border: 0;
	}
}

.ebcc-notice {
	padding: 12px 16px;
	border-left: 4px solid #d63638;
	background: #fcf0f1;
}

/* ---------- Contact form (Gravity Forms) ---------- */

/*
 * Gravity Forms ships its own theme ("orbital"); these rules restyle it to the form the site had: grey fields without
 * visible labels, two columns, a consent line and a navy send button. Gravity Forms resets every property under
 * `.gform-theme--framework :not(...)` with a very long selector chain, so these declarations are !important by necessity.
 */
.ebcc-contact {
	padding-top: 2px;
}

.ebcc-contact .gform_wrapper.gform-theme {
	--gf-form-gap-x: 10px;
	--gf-form-gap-y: 10px;
	--gf-ctrl-btn-bg-color-primary: var(--ebcc-skin);
	--gf-ctrl-btn-bg-color-hover-primary: #112860;
	--gf-ctrl-btn-bg-color-focus-primary: #112860;
	--gf-ctrl-btn-color-primary: #fff;
	--gf-ctrl-btn-color-hover-primary: #fff;
	--gf-ctrl-btn-color-focus-primary: #fff;
	--gf-ctrl-btn-border-width-primary: 0;
	--gf-ctrl-btn-radius: 0;
	--gf-ctrl-btn-font-size: 12px;
	--gf-ctrl-btn-font-weight: 700;
	--gf-ctrl-btn-letter-spacing: 3px;
	--gf-ctrl-btn-text-transform: uppercase;
	--gf-ctrl-btn-padding-x: 28px;
	--gf-ctrl-btn-size: 52px;

	margin: 0;
}

.ebcc-contact .gform_wrapper .gform_body .gform_fields {
	column-gap: 10px !important;
	row-gap: 10px !important;
	padding-inline: 5px !important;
}

.ebcc-contact .gform_wrapper .gform_body .gfield input[type="text"],
.ebcc-contact .gform_wrapper .gform_body .gfield input[type="email"],
.ebcc-contact .gform_wrapper .gform_body .gfield input[type="url"],
.ebcc-contact .gform_wrapper .gform_body .gfield textarea {
	width: 100% !important;
	height: 54px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 18px !important;
	border: 1px solid #f6f6f6 !important;
	border-radius: 0 !important;
	background: #f6f6f6 !important;
	box-shadow: none !important;
	color: #555 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	line-height: normal !important;
}

.ebcc-contact .gform_wrapper .gform_body .gfield textarea {
	height: 200px !important;
	resize: both !important;
}

.ebcc-contact .gform_wrapper .gform_body .gfield ::placeholder {
	color: #888 !important;
	opacity: 100% !important;
}

.ebcc-contact .gform_wrapper .gform_body .gfield input:focus,
.ebcc-contact .gform_wrapper .gform_body .gfield textarea:focus {
	border-color: var(--ebcc-skin) !important;
	outline: 0 !important;
	background: #fff !important;
}

.ebcc-contact .gform_wrapper .gfield--type-consent .gfield_label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.ebcc-contact .gform_wrapper .gfield--type-consent .ginput_container_consent {
	display: flex !important;
	align-items: center !important;
}

.ebcc-contact .gform_wrapper .gfield--type-consent input[type="checkbox"] {
	width: 13px !important;
	height: 13px !important;
	margin: 0 0 0 4px !important;
	appearance: auto !important;
}

.ebcc-contact .gform_wrapper .gfield--type-consent label {
	margin: 0 !important;
	padding-left: 10px !important;
	color: #666 !important;
	font-size: 14px !important;
	line-height: 21.58px !important;
}

.ebcc-contact .gform_wrapper .gform_footer,
.ebcc-contact .gform_wrapper .gform_page_footer {
	display: flex !important;
	justify-content: flex-end !important;
	margin: 0 !important;
	padding: 15px 5px 0 !important;
}

.ebcc-contact .gform_wrapper.gform-theme .gform_footer .gform_button.button,
.ebcc-contact .gform_wrapper.gform-theme .gform_footer input.gform_button[type="submit"] {
	height: 52px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--ebcc-skin) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 3px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
}

.ebcc-contact .gform_wrapper.gform-theme .gform_footer .gform_button.button:hover,
.ebcc-contact .gform_wrapper.gform-theme .gform_footer input.gform_button[type="submit"]:hover {
	background: #112860 !important;
}

.ebcc-raw {
	max-width: 100%;
}

/* ---------- Hero (Smart Slider 3 stands in for Slider Revolution) ---------- */

.ebcc-hero {
	width: 100vw;
	max-width: none;
	margin-bottom: 0;
	margin-inline: calc((100% - 100vw) / 2);
}

.ebcc-image__link {
	display: inline-block;
}

/* Narrow screens: the arrows sit above, the numbers wrap and centre below, "page X of Y" under them. */
@media (width < 768px) {
	.ebcc-pager {
		position: relative;
		padding-bottom: 40px;
		text-align: center;
	}

	.ebcc-pager__nums {
		display: flex;
		justify-content: center;
		gap: 6px 15.5px;
		margin-top: 40px;
	}

	.ebcc-pager__prev,
	.ebcc-pager__next {
		position: absolute;
		top: 20px;
		width: 162px;
	}

	.ebcc-pager__prev {
		left: 0;
	}

	.ebcc-pager__next {
		right: 0;
	}

	.ebcc-pager__num:not(.is-current) {
		margin-left: 0;
	}

	.ebcc-pager__of {
		display: block;
		float: none;
		margin-top: 45.7px;
	}
}

/* Below the 1,140 px grid the section content gets the same 20 px gutter the header has. */
@media (width < 1140px) {
	.ebcc-section__inner {
		padding-inline: 20px;
	}
}

@media (width < 768px) {
	.ebcc-orn--norman-single .ebcc-orn__text {
		padding-inline: 0;
	}

	.ebcc-orn--norman-short-single .ebcc-orn__title {
		padding-inline: 0;
	}

	.ebcc-orn--norman-short-single .ebcc-orn__title::before,
	.ebcc-orn--norman-short-single .ebcc-orn__title::after {
		display: none;
	}
}
