/* Match the original Protostar module chrome lost during the Joomla 6 port. */
#content nav.mod-breadcrumbs__wrapper {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 24px;
}

#content .fc-breadcrumbs__list {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 0;
	box-sizing: border-box;
	min-height: 48px;
	margin: 0;
	padding: 10px 16px;
	list-style: none;
	background: rgba(255, 255, 255, .95);
	border: 1px solid rgba(35, 35, 35, .09);
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

#content .fc-breadcrumbs__list > li {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	color: #777;
	font-size: 15px;
	line-height: 1.5;
	text-shadow: none;
}

#content .fc-breadcrumbs__list > .fc-breadcrumbs__item + .fc-breadcrumbs__item::before {
	content: "›" !important;
	padding: 0 10px;
	color: #c8101e;
	font-size: 20px;
	line-height: 1;
}

#content .fc-breadcrumbs__list .pathway,
#content .fc-breadcrumbs__list .active {
	color: #c8101e;
	text-decoration: none;
}

#content .fc-breadcrumbs__list .pathway:hover,
#content .fc-breadcrumbs__list .pathway:focus {
	color: #b10f20;
	text-decoration: underline;
}

#content .fc-breadcrumbs__list > .active {
	font-weight: 700;
}

#aside .mod-custom.custom,
#aside .advanced_facebook_likebox {
	box-sizing: border-box;
	margin-bottom: 20px;
	padding: 0 15px 15px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 10px;
}

#aside .mod-custom.custom::before,
#aside .advanced_facebook_likebox::before {
	display: block;
	margin: 0 -15px 15px;
	padding: 3px 15px;
	border-radius: 10px 10px 0 0;
	background: #c8101e;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
}

/* Joomla 6 replaced Protostar's old .items-row wrapper with .blog-item.
   Carry over the original .items-row styling from template.css verbatim. */
#content .blog-featured .blog-items > .blog-item {
	box-sizing: border-box;
	padding: 15px;
	padding-top: 0;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
}

/* Joomla 6 renders pagination as a Bootstrap 5 ul; Protostar 3 only styled ul inside a div. */
#content ul.pagination {
	display: inline-flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 18px 0 24px;
	padding: 0;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

#content ul.pagination > li.page-item {
	display: block;
	margin: 0;
	padding: 0;
}

#content ul.pagination > li.page-item > .page-link {
	display: block;
	float: none;
	margin: 0;
	padding: 4px 12px;
	line-height: 18px;
	text-decoration: none;
	background: #fff;
	border: 1px solid #ddd;
	border-left-width: 0;
}

#content ul.pagination > li.page-item:first-child > .page-link {
	border-left-width: 1px;
	border-radius: 4px 0 0 4px;
}

#content ul.pagination > li.page-item:last-child > .page-link {
	border-radius: 0 4px 4px 0;
}

#content ul.pagination > li.page-item.active > .page-link,
#content ul.pagination > li.page-item > .page-link:hover,
#content ul.pagination > li.page-item > .page-link:focus {
	background: #f5f5f5;
}

#content ul.pagination > li.page-item.active > .page-link,
#content ul.pagination > li.page-item.disabled > .page-link {
	color: #999;
	cursor: default;
}

#content ul.pagination > li.page-item.disabled > .page-link {
	background: transparent;
}

#content ul.pagination .icon-angle-double-left::before { content: "«"; }
#content ul.pagination .icon-angle-left::before { content: "‹"; }
#content ul.pagination .icon-angle-right::before { content: "›"; }
#content ul.pagination .icon-angle-double-right::before { content: "»"; }

/* The membership form is served from the same site inside an iframe. Its
   height is measured by protostar-iframe-autosize.js so the outer page scrolls
   naturally instead of showing a second scrollbar inside the article. */
body.view-article #content .com-content-article__body iframe[src*="/images/inscr/inscription.php"] {
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 0;
	margin: 0;
	border: 0;
	overflow: hidden;
}

/* Keep Ohanah's legacy lightbox inside the viewport on phones and tablets. */
body.view-event #jquery-overlay {
	position: fixed !important;
	inset: 0;
	width: 100vw !important;
	height: 100vh !important;
}

body.view-event #jquery-lightbox {
	position: fixed !important;
	top: 8px !important;
	left: 0 !important;
	box-sizing: border-box;
	width: 100vw !important;
	max-height: calc(100vh - 16px);
	overflow: auto;
}

body.view-event #lightbox-container-image-box {
	box-sizing: border-box;
	width: fit-content !important;
	height: fit-content !important;
	max-width: calc(100vw - 20px) !important;
	margin: 0 auto;
}

body.view-event #lightbox-image {
	display: block;
	max-width: calc(100vw - 40px);
	max-height: calc(100vh - 120px);
	width: auto;
	height: auto;
	object-fit: contain;
}

body.view-event #lightbox-container-image-data-box {
	box-sizing: border-box;
	width: fit-content !important;
	max-width: calc(100vw - 20px);
}

@media (min-width: 768px) and (max-width: 979px) {
	#content ul.pagination > li.page-item > .page-link {
		padding-right: 8px;
		padding-left: 8px;
	}
}

/* Keep the footer consistent with the site's light cards and red accents. */
footer.footer {
	box-sizing: border-box;
	margin-top: 28px;
	padding: 0 0 22px;
	color: #555;
}

footer.footer > .container {
	box-sizing: border-box;
	padding: 14px 20px 10px;
	background: rgba(255, 255, 255, .94);
	border: 1px solid rgba(35, 35, 35, .1);
	border-top: 2px solid #c8101e;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

footer.footer hr {
	height: 1px;
	margin: 0 0 13px;
	border: 0;
	background: #e7dfe1;
}

footer.footer p {
	margin: 0 0 4px;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
}

footer.footer p.pull-right {
	margin-top: 0;
}

footer.footer #back-top {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 13px;
	border: 1px solid #c41424;
	border-radius: 7px;
	background: #c8101e;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

footer.footer #back-top:hover,
footer.footer #back-top:focus-visible {
	background: #d1203a;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 767px) {
	footer.footer {
		margin-top: 18px;
		padding-bottom: 14px;
	}

	footer.footer > .container {
		padding: 12px 14px 8px;
	}

	footer.footer p.pull-right {
		float: none;
		margin: 0 0 8px;
	}
}

/* Subtle diagonal ice-rink motif used throughout the full-page background. */
body.site::before {
	position: fixed;
	z-index: 0;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse at 8% 20%, rgba(215, 25, 32, .22), transparent 32%),
		radial-gradient(ellipse at 93% 48%, rgba(215, 25, 32, .13), transparent 29%),
		repeating-linear-gradient(135deg, transparent 0 150px, rgba(255, 255, 255, .022) 151px 153px, transparent 154px 270px);
	content: "";
}

body.site > .body {
	position: relative;
	z-index: 1;
}
/* Site-wide arena backdrop and the approved Fan's Club masthead. */
body.site {
	border-top: 0;
	background-color: #211b1e;
	background-image: linear-gradient(180deg, rgba(13, 13, 16, .75) 0%, rgba(28, 19, 23, .67) 26%, rgba(38, 27, 31, .54) 55%, rgba(245, 243, 242, .76) 100%), url('../img/body-bg.jpg');
	background-position: center top;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

body.site.fluid {
	background-color: #211b1e;
}

body.site .header {
	position: relative;
	box-sizing: border-box;
	display: block;
	height: auto;
	min-height: 205px;
	margin: 0 0 15px;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 18px;
	background: radial-gradient(ellipse at 78% 25%, rgba(215, 25, 32, .44), transparent 40%), linear-gradient(112deg, #171719 0%, #252326 58%, #65101b 100%);
	box-shadow: 0 16px 38px rgba(0, 0, 0, .3);
}

body.site .header::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #d71920, #ff9aa3 45%, #a30b18);
	content: "";
}

body.site .header-inner {
	position: relative;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
	align-items: center;
	min-height: 203px;
	margin: 0;
	padding: 22px 42px;
}

body.site .header-inner::before,
body.site .header-inner::after {
	display: none;
}

body.site .header .brand {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: auto;
	min-height: 152px;
	margin: 0;
	padding: 0 24px 0 0;
	border-right: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
}

body.site .header .brand img {
	display: block;
	width: 228px;
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4));
}

body.site .header .site-title {
	color: #fff;
	font-size: 24px;
	line-height: 1.25;
}

body.site .header-copy {
	min-width: 0;
	padding: 0 0 0 42px;
	color: #fff;
}

body.site .header-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 9px;
	color: #ffdbe1;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

body.site .header-kicker::before {
	width: 25px;
	height: 2px;
	background: #e30613;
	content: "";
}

body.site .header-tagline {
	margin: 0;
	color: #fff;
	font-size: clamp(27px, 3.4vw, 44px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.08;
}

body.site .header-description {
	max-width: 560px;
	margin: 12px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: 16px;
	line-height: 1.5;
}

body.site .header-search {
	position: absolute;
	top: 12px;
	right: 18px;
	z-index: 2;
	float: none;
}

body.site .navigation {
	box-sizing: border-box;
	margin: 0 0 19px;
	padding: 8px;
	border: 1px solid rgba(30, 30, 30, .08);
	border-radius: 12px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

body.site .navigation .navbar {
	margin: 0;
}

@media (max-width: 767px) {
	body.site {
		padding: 12px;
		background-attachment: scroll;
		background-position: center top;
	}

	body.site .header {
		min-height: 0;
		border-radius: 12px;
	}

	body.site .header-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		min-height: 0;
		padding: 12px 16px 16px;
		text-align: center;
	}

	body.site .header .brand {
		justify-content: center;
		min-height: 0;
		padding: 0;
		border: 0;
	}

	body.site .header .brand img {
		width: 118px;
	}

	body.site .header-copy {
		padding: 0;
	}

	body.site .header-kicker {
		justify-content: center;
		font-size: 9px;
	}

	body.site .header-tagline {
		font-size: 24px;
	}

	body.site .header-description {
		margin: 6px auto 0;
		font-size: 12px;
        line-height: 1.4;
	}

	body.site .header-search {
		top: 8px;
		right: 8px;
	}

	body.site .header-search:empty {
		display: none;
	}
}


/* Keep the partner logos proportionate on narrow screens. */
@media (max-width: 767px) {
	#aside .mod-custom.custom {
		padding: 0 12px 10px;
		overflow: hidden;
	}

	#aside .mod-custom.custom p {
		margin: 7px 0;
	}

	#aside .mod-custom.custom img {
		display: block;
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: 82px;
		margin: 0 auto;
		object-fit: contain;
		background: #fff;
	}
}