/*
 * Tesco Metering Theme Stylesheet
 * 
 * This is the primary stylesheet for the Tesco Metering theme. It contains the custom styles 
 * that define the overall look and feel of the website. The stylesheet covers general page 
 * layout, typography, color scheme, header and footer styling, navigation menu styles, 
 * and other global elements for the theme.
 * 
 * This stylesheet is intended to:
 * - Define the global styles for the website, including fonts, colors, and spacing.
 * - Style common elements such as the header, footer, and main content.
 * - Provide responsive design for better usability on different screen sizes.
 * - Include custom styles for specific page templates (e.g., homepage, blog posts, product pages).
 * 
 * To maintain organization, this file is intended for theme-wide styles. Specific styles 
 * for WooCommerce, if applicable, are handled separately in `woocommerce-style.css`.
 * 
 * This file should be included by default in the theme, and any additional styles or 
 * modifications should be added here to ensure consistent styling across the website.
 */

/* ------------------------------------------------------------
 * CSS Reset and Base Styles
 * ------------------------------------------------------------ 
 */
html,
body {
	max-width: 100vw;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	margin-top: 0 !important;
}

body {
	margin: 0;
	font-family: sans-serif;
	color: #000;
	background-color: #fff;
	max-width: 100vw;
	width: 100%;
}

.blank-content {
	padding: 60px 0;
}

.blank-content p {
	text-align: center;
}

header,
nav,
main,
footer {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0 0 0.75em 0;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.25em;
}

h1,
h2,
h3 {
	color: #e41936;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
	margin-left: 1.25em;
}

main li {
	font-size: 1.1em;
	line-height: 1.25em;
	margin-bottom: 0.5em;
}
main ol li {
	list-style: decimal;
}
main ul li {
	list-style: disc;
}

a {
	background-color: transparent;
	text-decoration: underline;
	color: #e41936;
	display: inline;
}

main li a {
	color: #e41936;
	display: inline;
}
:focus-visible {
	outline: 2px solid #e41936;
	outline-offset: 2px;
}

a:active,
a:hover {
	outline: 0;
	text-decoration: none;
	opacity: 0.8;
}
a:focus {
  outline: none;
}
a:focus-visible {
	outline: 2px solid #e41936;
	outline-offset: 2px;
}

img {
	border-style: none;
	max-width: 100%;
	height: auto;
}

button {
	background-color: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
}

.btn {
	background-color: #e41936;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.btn:hover,
.btn:focus,
.btn:focus-visible {
	color: #e41936;
	background-color: #fff;
}

.btn-alt {
	background-color: white;
	color: #e41936;
	padding: 10px 20px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.btn-alt:hover,
.btn-alt:focus,
.btn-alt:focus-visible {
	background-color: #e41936;
	color: #fff;
}

p {
	font-size: 1.1em;
	color: #000;
	line-height: 1.7;
}

p a {
	color: #e41936;
	display: inline;
	text-decoration: underline;
}

p a:hover {
	text-decoration: none;
}

strong {
	font-weight: bold;
	color: #e41936;
}

/* Pagination */
.pagination {
	margin-top: 3em;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	margin: 0 0.25em;
	padding: 0.5em 0.75em;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-decoration: none;
	color: #000;
	transition: background-color 0.3s;
}

.pagination .current {
	background: #e41936;
	color: #fff;
	border-color: #e41936;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus,
.pagination .page-numbers:focus-visible {
	background: #e41936;
	color: #fff;
}

@media (min-width: 641px) {

	h1 {
		font-size: 3em;
	}
}
@media (min-width: 981px) {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6
	{
		margin: 0 0 0.5em 0;
	}

	h1 {
		font-size: 4em;
	}

	h2 {
		font-size: 2.5em;
	}

	h3 {
		font-size: 1.25em;
	}

	ul,
	ol {
		margin-left: 2.25em;
	}
}

/* Scroll Bar */
/* WebKit Browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #e41936; 
  border-radius: 6px;
  border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #c2162f;
}
.custom-hidden-code {
    display: none !important;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #e41936 #f1f1f1;
}

/* ------------------------------------------------------------
  * Layout and Reusable Components
  * ------------------------------------------------------------ */

.container {
	width: 90%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	padding: 0 4%;
}

.flex-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.flex-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 20px;
}

@media (min-width: 981px) {
	.container {
		max-width: 90%;
		padding: 0 2%;
		align-items: stretch;
		box-sizing: border-box;
	}

	.flex-row {
		flex-wrap: wrap;
		justify-content: space-between;
		flex-direction: row;
	}

	.flex-column {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
	}
}

@media (min-width: 1281px) {
	.container {
		max-width: 1250px;
	}
}

@media (min-width: 1600px) {
	.container {
		max-width: 1500px;
	}
}


/* ------------------------------------------------------------
  * Breadcrumbs  Styles
  * ------------------------------------------------------------ */

.breadcrumbs .container {
	font-size: 0.9em;
	color: #000;
	flex-direction: row;
	margin: 25px auto;
	flex-wrap: wrap;
	gap: 5px;
}

.breadcrumbs .container a {
	color: #e41936;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
	display: inline-block;
  	font-size: 1em;
}

.breadcrumbs .container a:hover {
	text-decoration: underline;
}

.breadcrumbs .container span {
	color: #000;
	font-weight: bold;
}

/* ------------------------------------------------------------
  * Header Styles
  * ------------------------------------------------------------ */

.main-header {
	background-color: #fff;
	padding: 17px 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 9999;
	border-bottom: 2px solid rgba(228, 25, 56, 0.7);
}

.menu-and-icons-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	flex-wrap: wrap;
}

.logo {
	text-align: center;
	order: 1;
}

.logo img {
	max-height: 4em;
	width: auto;
}

.header-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 10px;
	order: 2;
}

.header-icons>* {
	margin-left: 15px;
}

.header-icons>*:first-child {
	margin-left: 0;
}

.header-icons img {
	max-height: 24px;
	width: auto;
}

.catalog-icon img {
	max-height: 30px;
}

.cart-contents {
	margin-right: 5px;
}

.cart-count {
	position: absolute;
	background-color: #fff;
	color: #e41936;
	font-weight: bold;
	font-size: 12px;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	order: 2;
}

.mobile-menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: #e41936;
	transition: all 0.3s ease;
}

/* Hamburger animation */
.mobile-menu-toggle.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -7px);
}

.mobile-menu-wrapper {
	position: fixed;
	top: 20%;
	right: 0;
	width: 80%;
	background: #fff;
	z-index: 999;
	padding: 20px;
	box-shadow: 0 7px 12px rgba(0, 0, 0, 0.3);
	transform: translateX(100%);
	opacity: 0;
	transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
	pointer-events: none;
}

.mobile-menu-open .mobile-menu-wrapper {
	transform: translateX(0);
	opacity: 1;
	pointer-events: auto;
	overflow-y: auto;
}

.mobile-menu-wrapper ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mobile-menu-wrapper li a {
	padding: 10px 15px;
	color: #e41936;
	font-weight: bold;
	text-decoration: none;
}

.mobile-menu-wrapper .menu-item-has-children>a::after {
	content: "▼";
	float: right;
	font-size: 0.8em;
	margin-left: 10px;
}

.mobile-menu-wrapper .menu-item-has-children.active>a::after {
	content: "▲";
}

.mobile-menu-wrapper .sub-menu {
	display: none;
	padding-left: 15px;
}

.mobile-menu-wrapper .sub-menu li {
	padding: 0.5em 1em;
    margin-left: 0.75em;
	border-bottom: 2px solid #fff;
}
.mobile-menu-wrapper .sub-menu li:hover {
	border-bottom: 2px solid #e41936;
}
.mobile-menu-wrapper .menu-item-has-children.active .sub-menu {
	display: block;
}

.mobile-menu-wrapper .sub-menu a {
	color: #000;
}

@media (min-width: 641px) {
	.menu-and-icons-wrapper {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		top: 15%;
	}

	.mobile-menu-wrapper {
		top: 15%;
	}
}

@media (min-width: 981px) {
	.main-header .container {
		max-width: 95%;
	}

	.logo {
		text-align: left;
		margin-bottom: 0;
		order: 0;
	}

	.logo img {
		margin-right: 20px;
	}

	.header-icons {
		display: flex;
		justify-content: flex-end;
		margin-top: 0;
	}

	.header-icons>* {
		margin-left: 12px;
	}

	.header-icons>*:first-child {
		margin-left: 0;
	}

	.catalog-icon img {
		width: auto;
		max-height: 33px;
	}

	.mobile-menu-toggle {
		display: none;
	}

	.mobile-menu-wrapper {
		display: none;
	}

	.mobile-menu-wrapper.active {
		display: block;
	}

	.mobile-menu-wrapper ul {
		display: flex;
		flex-direction: row;
		gap: 20px;
	}

	.mobile-menu-wrapper li a {
		padding: 10px 15px;
		color: #e41936;
		font-weight: bold;
	}

	.mobile-menu-wrapper ul ul {
		display: none;
		flex-direction: column;
		padding-left: 20px;
	}

	.mobile-menu-wrapper .menu-item-has-children>a::after {
		content: "▼";
		font-size: 0.8em;
		margin-left: 10px;
	}

	.mobile-menu-wrapper .menu-item-has-children.active>a::after {
		content: "▲";
	}

	.mobile-menu-wrapper .menu-item-has-children.active>ul {
		display: flex;
	}

	.mobile-menu-wrapper .sub-menu {
		display: none;
		padding-left: 15px;
	}

	.mobile-menu-wrapper .menu-item-has-children.active .sub-menu {
		display: block;
	}

	.sub-menu-l2,
	.sub-menu-l3 {
		padding-left: 15px;
	}

	.sub-menu-l3 {
		padding-left: 20px;
	}
}

@media (min-width: 1281px) {
	.main-header .container {
		max-width: 90%;
	}

	.logo img {
		max-height: 5em;
	}

	.header-icons>* {
		margin-left: 15px;
	}
}

/* ------------------------------------------------------------
   * Main Navigation (Desktop)
   * ------------------------------------------------------------ */

.main-navigation {
	display: none;
}

@media (min-width: 981px) {
	.main-navigation {
		display: flex;
		flex-wrap: wrap;
		margin-left: auto;
		margin-right: auto;
		position: relative;
		transition: all 0.3s ease;
		list-style: none;
	}

	.main-navigation ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		margin: 0;
		padding: 0;
	}

	.main-navigation ul li {
		margin: 0 1.5em 0 0;
		position: relative;
		width: auto;
		text-align: left;
		list-style: none;
	}

	.main-navigation ul li:first-child {
		margin-left: 0;
	}

	.main-navigation a {
		cursor: auto;
	}

	.main-navigation ul li a {
		color: #e41936;
		font-weight: bold;
		padding: 10px 0;
		text-decoration: none;
		display: inline-block;
		position: relative;
	}

	.main-navigation a:focus-visible {
	outline: 3px solid #e41936;
	outline-offset: 3px;
}

	.main-navigation ul li a:hover,
	.main-navigation .menu-item-has-children:hover>a {
		color: #000;
	}

	/* Arrow icon for dropdown */
	.main-navigation .menu-item-has-children>a::after {
		content: "";
		display: inline-block;
		width: 0.4em;
		height: 0.4em;
		border-top: 0.15em solid #e41936;
		border-right: 0.15em solid #e41936;
		transform: rotate(135deg);
		margin-left: 0.35em;
		margin-top: -0.25em;
		vertical-align: middle;
		transition: transform 0.3s ease, border-color 0.3s ease;
	}

	.main-navigation .menu-item-has-children:hover>a::after {
		transform: rotate(-45deg);
		border-color: #000;
	}

	.main-navigation .level-2>a::after,
	.main-navigation .level-3>a::after {
		position: absolute;
		top: 18px;
		right: 30px;
	}

	.main-navigation .level-2:hover>a::after,
	.main-navigation .level-3:hover>a::after {
		transform: rotate(50deg);
		border-color: #000;
	}

	/* Level 1 Submenu */
	.main-navigation .sub-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		background-color: #fff;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
		z-index: 10;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
		padding: 1.25em 0 1.25em 1.875em;
		min-width: 18.75em;
		box-sizing: border-box;
	}

	.main-navigation .menu-item-has-children:hover>.sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		border-top: 2px solid #e41936;
	}

	.main-navigation .sub-menu li {
		width: 100%;
		display: block;
		text-align: left;
	}

	.main-navigation .sub-menu li>a {
		padding: 0.625em 2.8em 0.625em 0.94em;
		color: #333;
		white-space: normal;
		display: block;
		border-bottom: 2px solid transparent;
		word-break: break-word;
		cursor: pointer;
	}

	.main-navigation .sub-menu li>a:hover {
		border-bottom: 2px solid #e41936;
	}

	.main-navigation ul li .sub-menu {
		left: auto;
		right: 0;
	}

	.main-navigation ul li:first-child .sub-menu {
		left: 0;
		right: auto;
	}

	/* Level 2 Submenu */
	.main-navigation .sub-menu-l2 {
		position: absolute;
		top: 0;
		left: 100%;
		background-color: #fff;
		min-width: 250px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
		z-index: 20;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-10px);
		transition: all 0.3s ease;
		padding: 15px 20px;
		box-sizing: border-box;
	}

	.main-navigation .level-2:hover>.sub-menu-l2 {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
		border-left: 2px solid #e41936;
	}

	.main-navigation .sub-menu-l2 li {
		display: block;
		width: 100%;
	}

	.main-navigation .sub-menu-l2 li>a {
		display: block;
		color: #333;
		white-space: nowrap;
		border-bottom: 2px solid transparent;
	}

	.main-navigation .sub-menu-l2 li>a:hover {
		border-bottom: 2px solid #e41936;
	}

	/* Level 3 Submenu */
	.main-navigation .sub-menu-l3 {
		position: absolute;
		top: 0;
		left: 100%;
		background-color: #fff;
		min-width: 220px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
		z-index: 30;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-10px);
		transition: all 0.3s ease;
		padding: 10px 15px;
		box-sizing: border-box;
	}

	.main-navigation .level-3:hover>.sub-menu-l3 {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
		border-left: 2px solid #e41936;
	}

	.main-navigation .sub-menu-l3 li {
		display: block;
		width: 100%;
	}

	.main-navigation .sub-menu-l3 li>a {
		padding: 6px 10px;
		display: block;
		color: #333;
		white-space: nowrap;
		border-bottom: 2px solid transparent;
	}

	.main-navigation .sub-menu-l3 li>a:hover {
		border-bottom: 2px solid #e41936;
	}

	.main-navigation .menu-item:focus-within>.sub-menu,
	.main-navigation .menu-item:focus-within>.sub-menu-l2,
	.main-navigation .menu-item:focus-within>.sub-menu-l3 {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		/* or translateX(0) for L2/L3 */
	}
}


/* ------------------------------------------------------------
   * Search
   * ------------------------------------------------------------ */
.search-active .main-navigation {
	display: none;
}

.hidden-search {
	left: 0;
	position: fixed;
	top: 15px;
	right: 0;
	width: 90%;
	background-color: #eee;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	padding: 25px;
	box-sizing: border-box;
	z-index: 999;
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s ease-out;
	margin: 0 auto;
}

.search-active .hidden-search {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}


.hidden-search form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.hidden-search .search-field {
	padding: 8px;
	font-size: 16px;
	width: 95%;
	border: none;
}

.hidden-search label {
	width: 95%;
}

.hidden-search .search-submit img {
	border: none;
	cursor: pointer;
	width: 1.75em;
	height: 1.75em;
	margin-left: 1em;
}

.hidden-search .search-submit:hover {
	opacity: 0.5;
}

.close-search {
	display: none;
	top: 10px;
	right: 20px;
	font-size: 24px;
	background: none;
	border: none;
	color: #e41936;
	cursor: pointer;
	z-index: 1001;
	margin-left: 0.5em;
}

.search-active .close-search {
	display: block;
}

.search-toggle {
	position: relative;
}

@media (min-width: 641px) {
	.hidden-search {
		top: 10px;
	}
}

@media (min-width: 981px) {
	.hidden-search {
		width: 40%;
	}
}

@media (min-width: 1281px) {
	.hidden-search {
		top: 20px;
		right: 20px;
	}
}

/* ------------------------------------------------------------
 * Home Page Intro Section
 * ------------------------------------------------------------ */
.intro-section {
	position: relative;
	width: 100%;
	min-height: 600px;
	overflow: hidden;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	box-sizing: border-box;
	margin-top: 9em;
}
.intro-section a {
	text-decoration: none;
}

.background-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.overlay-content {
	position: relative;
	z-index: 1;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: auto;
	padding: 20px 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.overlay-content h1.intro-heading {
	color: #fff;
	font-size: 2.5em;
	margin-bottom: 20px;
	margin-top: 0;
	font-weight: bold;
}

.overlay-content .container {
	z-index: 2;
	width: 100%;
	padding: 0;
	box-sizing: border-box;
	margin-top: 1em;
}


@media (min-width: 641px) {
	.intro-section {
		margin-top: 6em;
	}
}

@media (min-width: 981px) {
	.intro-section {
		margin-top: 6.5em;
	}

	.overlay-content {
		padding: 2% 1.5em;
		align-items: center;
		text-align: center;
		flex-direction: column;
	}

	.overlay-content .container {
		max-width: 1600px;
		padding: 0 2%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.overlay-content h1.intro-heading {
		font-size: 4em;
		margin-bottom: 40px;
		text-align: center;
	}
}

@media (min-width: 1281px) {
	.intro-section {
		margin-top: 7.5em;
	}
}

/* ------------------------------------------------------------
* Home Page Banner Module (Carousel)
* ------------------------------------------------------------ */
.carousel-container {
	width: 100%;
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

.carousel-track-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	will-change: transform;
}

.carousel-nav {
	position: absolute;
	top: 25%;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	z-index: 3;
	padding: 0 20px;
	pointer-events: none;
}

.carousel-arrow {
	background: rgba(0, 0, 0, 0.6);
	border: none;
	color: #fff;
	font-size: 1.5em;
	cursor: pointer;
	padding: 8px;
	pointer-events: all;
}

.carousel-arrow .prev {
	position: absolute;
	left: 3%;
}

.carousel-arrow .next {
	position: absolute;
	right: 3%;
}

.carousel-dots {
	text-align: center;
	margin-top: 15px;
}

.carousel-dots .dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #ccc;
	border-radius: 50%;
	margin: 0 4px;
	cursor: pointer;
	border: none;
}

.carousel-dots .dot.active {
	background: #e41936;
}

.carousel-slide {
	flex: 0 0 100%;
	min-width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
	box-sizing: border-box;
}

.carousel-image {
	margin-bottom: 15px;
	width: 100%;
	display: flex;
	justify-content: center;
	max-width: 70%;
	max-height: 50vh;
	overflow: hidden;
}

.carousel-image img {
	width: 100%;
	height: 100%;
	/* Changed object-fit to contain */
	object-fit: contain;
}

.carousel-description {
	padding: 20px;
	width: 75%;
	max-width: 100%;
	text-align: center;
	justify-content: center;
	align-items: center;
    background: rgb(0 0 0 / 60%);
	margin-top: 1em;
}

.carousel-description h1 {
	color: #fff;
	margin-bottom: 8px;
	font-size: 1.5em;
	text-decoration: underline;
    padding: 10px;
	margin: 0 auto;
}

@media (min-width: 641px) {
	.carousel-description {
		width: 95%;
	}
}
@media (min-width: 981px) {
	.carousel-container {
		width: 70%;
		position: relative;
		overflow: hidden;
		margin-bottom: 0;
	}

	.carousel-description h1 {
		font-size: 2em;
	}
	.carousel-nav {
		padding: 0;
		top: 50%;
	}

	.carousel-arrow .prev {
		left: 0;
	}

	.carousel-arrow .next {
		right: 0;
	}

	.carousel-arrow {
		font-size: 2em;
		padding: 10px;
	}

	.carousel-dots {
		margin-top: 30px;
	}

	.carousel-dots .dot {
		width: 12px;
		height: 12px;
		margin: 0 6px;
	}

	.carousel-slide {
		flex-direction: row;
		text-align: left;
		justify-content: center;
	}

	.carousel-image {
		margin-bottom: 0;
		flex-shrink: 0;
	}

	.carousel-image img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
}

@media (min-width: 1400px) {
	.carousel-image {
		width: 55%;
	}
}
/* ------------------------------------------------------------
* Intro Content Wrapper (for Carousel and Vertical Scroll)
* ------------------------------------------------------------ */
.intro-content-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 981px) {
	.intro-content-wrapper {
		flex-direction: row;
		gap: 30px;
		align-items: stretch;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
	}
}

/* ------------------------------------------------------------
* Vertical Scroll Module
* ------------------------------------------------------------ */
.vertical-scroll-module {
	width: 80%;
	margin: 20px auto;
	padding: 15px;
	background-color: rgba(255, 255, 255, 0.7);
	text-align: left;
}

.vertical-scroll-module h2 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 1.6em;
	background-color: #e41936;
	padding: 10px;
	color: #fff;
}

.scrollable-content {
	max-height: 300px;
	overflow-y: auto;
	padding-right: 8px;
	font-size: 0.9em;
	line-height: 1.5;
}

.scrolling-event-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.scrolling-event-list .scrolling-event-item {
	margin-bottom: 1em;
	border-bottom: 1px solid #ddd;
}

.scrolling-event-list .scrolling-event-item a:hover {
	text-decoration: none;
}

.scrolling-event-list .scrolling-event-inner {
	display: flex;
	gap: 1em;
	align-items: center;
}
.scrolling-event-list .event-info {
	flex: 1;
	text-align: left;
}

.scrolling-event-list .event-title {
	font-weight: 600;
	font-size: 1em;
	color: #e41936;
}

.scrolling-event-list .event-type {
	font-size: 0.9em;
	color: #000;
}

.scrolling-event-list .event-date {
	font-size: 0.9em;
	color: #000;
}

.event-cta-buttons {
	display: flex;
	gap: 1em;
	justify-content: center;
	flex-direction: column;
}

.scrollable-content::-webkit-scrollbar {
	width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.3);
}

.scrollable-content::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.4);
	border-radius: 3px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.6);
}
.scrolling-event-list .event-thumb {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border: 1px solid #ddd;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.scrolling-event-list .event-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}


@media (min-width: 641px) {
	.event-cta-buttons {
		flex-direction: row;
	}
}

@media (min-width: 981px) {
	.vertical-scroll-module {
		width: calc(50% - 30px);
		margin-top: 0;
		max-height: none;
	}

	.vertical-scroll-module h2 {
		font-size: 2em;
		text-align: left;
	}

	.scrollable-content {
		font-size: 1.1em;
		padding-right: 12px;
	}

	.scrollable-content::-webkit-scrollbar {
		width: 8px;
	}
}

@media (min-width: 1281px) {
	.vertical-scroll-module {
		width: calc(30% - 30px);
	}
}

/* ------------------------------------------------------------
* About Section
* ------------------------------------------------------------ */

.about-us-section {
	position: relative;
	padding: 50px 0;
	background-color: #fff;
}

.about-us-section::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 32%;
	width: 35%;
	height: 1px;
	background-color: #949494;
}

.about-us-section .flex-row {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about-us-left {
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}

.about-us-right {
	width: 100%;
	position: relative;
}

.about-us-right a:focus-visible {
  outline: 2px solid #e41936;
  outline-offset: 4px;
}

.video-thumb-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 640px;	
	box-shadow: rgba(0, 0, 0, 0.35)5px 5px 15px;
}

.video-thumb-wrapper .video-thumb {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	display: block;
}

.video-thumb-wrapper .video-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	pointer-events: none;
}




@media (min-width: 981px) {
	.about-us-section .flex-row {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: left;
		padding: 35px 0;
	}

	.about-us-left {
		width: 58%;
		text-align: left;
		margin-bottom: 0;
	}

	.about-us-right {
		width: 40%;
	}
}

/* ------------------------------------------------------------
* Offerings Section
* ------------------------------------------------------------ */
.offerings-section {
	padding: 50px 0;
	text-align: center;
	width: 100%;
}

.offerings-section .container {
	max-width: 100%;
	padding: 0;
}

.offerings-grid {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	margin-top: 2em;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.offering-item {
	width: 90%;
	padding: 1em;
	box-sizing: border-box;
	min-height: 15em;
	margin-bottom: 0;
	align-items: center;
	justify-content: center;
	box-shadow: rgba(0, 0, 0, 0.35)5px 5px 15px;
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
	margin: 0.5em auto;
	text-decoration: none;
}

.offering-item::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	background-color: #e41936;
	transition: height 0.4s ease-in-out;
	z-index: -1;
}

.offering-item a:hover,
.offering-item a:focus-visible {
	text-decoration: none;
}

.offering-item:hover,
.offering-item:focus-within {
	transform: scale(1.15);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	text-decoration: none;
	opacity: 1;
}

.offering-item:hover::before,
.offering-item:focus-within::before {
	height: 100%;
}
.oi-bucket-icon {
    margin-bottom: 0.75em;
    display: flex;
    justify-content: center;
}
.offering-item:hover .oi-bucket-icon,
.offering-item:focus-within .oi-bucket-icon {
	display: none;
}
.oi-bucket-icon img {
    max-width: 60px;
    height: auto;
}
.offering-item:hover h3,
.offering-item:focus-within h3 {
	display: none;
}

.offering-item p {
	display: none;
}

.offering-item:hover p,
.offering-item:focus-within p {
	display: block;
	color: #fff;
	text-decoration: none;
}

@media (min-width: 641px) {
	.offering-item {
		width: 45%;
	}
}

@media (min-width: 981px) {
	.offering-item {
		width: 31%;
	}
}

@media (min-width: 1200px) {

	.offerings-section .container {
		max-width: 1600px;
	}

	.offering-item {
		width: 24%;
		margin: 10px auto;
	}
}

/* ------------------------------------------------------------
* Company Stats Section
* ------------------------------------------------------------ */
.company-stats-section {
	padding: 50px 0;
	margin: 25px 0;
	text-align: center;
	background-color: #fff;
}

.stats-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 2em;
	flex-wrap: wrap;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 1em;
	position: relative;
}

.stat-item::before {
	display: none;
}

.stat-number {
	font-size: 3.5em;
	font-weight: bold;
	color: #e41936;
}

.stat-text {
	font-size: 1.1em;
	color: #e41936;
}

.accreditations-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px;
}

/* Default image size and animation for all images */
.accreditations-row img {
	margin: 1em;
	width: auto;
	max-height: 80px;
	transition: transform 0.3s ease;
}

/* Hover and keyboard focus-visible styles */
.accreditations-row img:hover,
.accreditations-row a:focus-visible img {
	transform: scale(1.25);
}

/* Outline for focus-visible state */
.accreditations-row a:focus-visible {
	outline: 2px solid #e41936;
	outline-offset: 4px;
}

@media (min-width: 641px) {
	.stats-row {
		flex-direction: row;
		justify-content: space-around;
	}

	.stat-item {
		margin: 1em;
	}

	.stat-item::before {
		content: "";
		position: absolute;
		top: 50%;
		right: -10%;
		transform: translateY(-50%);
		width: 1px;
		height: 70%;
		background-color: #ddd;
		display: block;
	}

	.stat-item:last-child::before {
		display: none;
	}

	.accreditations-row {
		flex-direction: row;
		justify-content: space-around;
	}

	.accreditations-row img {
		margin: 1em;
		max-height: 45px;
	}
}

@media (min-width: 981px) {
	.stat-item::before {
		right: -80%;
	}

	.accreditations-row {
		flex-direction: row;
		justify-content: space-around;
	}

	.accreditations-row img {
		max-height: 80px;
	}
}


/* ------------------------------------------------------------
* Mailing Section
* ------------------------------------------------------------ */
.mailing-list-section {
	position: relative;
	background-color: #e41936;
	color: white;
	padding: 20px;
}

.mailing-list-section::after {
	display: none;
}

.mailing-list-content {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 10px;
	text-align: center;
}

.mailing-list-section .container {
	max-width: 1200px;
	margin: 0 auto;
}

.mailing-list-content .btn-alt:hover {
	background-color: #fff;
	color: #e41936;
	transform: scale(1.25);
	transition: 0.3s ease;
	text-decoration: none;
}

.mailing-list-content p {
	margin-bottom: 0;
	color: #fff;
	margin-right: 20px;
	;
}

@media (min-width: 641px) {
	.mailing-list-content {
		flex-direction: row;
		justify-content: flex-end;
		gap: 20px;
		text-align: left;
	}
}

@media (min-width: 981px) {
	.mailing-list-content {
		width: 70%;
	}

	.mailing-list-section::after {
		content: '';
		position: absolute;
		top: 0px;
		right: -7%;
		width: 26%;
		height: 102%;
		background-color: white;
		z-index: 1;
		transform: skew(-38deg);
		transform-origin: top;
		display: block;
	}
}

@media (min-width: 1281px) {
	.mailing-list-content {
		width: 65%;
	}

	.mailing-list-section::after {
		width: 33%;
	}
}

/* ------------------------------------------------------------
* Contact Section
* ------------------------------------------------------------ */
.contact-us-section {
	z-index: 3;
	position: relative;
}

.cu-item {
	box-sizing: border-box;
	margin-bottom: 1em;
	background-color: #fff;
	width: 90%;
	text-align: center;
}

.cu-item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	padding: 10px;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 3px;
}

.cu-item .cu-icon {
	margin: 25px 0;
	display: inline-block;
	width: 60px;
	height: 60px;
	background-size: contain;
	background-repeat: no-repeat;
}

.cu-item h3 {
	font-size: 1.2em;
	margin-bottom: 5px;
	min-height: 50px;
}

@media (min-width: 641px) {
	.contact-us-section .flex-row {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.cu-item {
		flex: 1 0 50%;
		margin-bottom: 0;
	}
}

@media (min-width: 981px) {
	.cu-item {
		flex: 1 0 25%;
	}

	.cu-item a:hover,
.cu-item a:focus-visible {
	background-color: #fff;
	transform: scale(1.25);
	transition: 0.3s ease;
	z-index: 1;
	opacity: 1;
}

.cu-item a:focus-visible {
	outline: 2px solid #e41936;
	outline-offset: 4px;
}
}

/* ------------------------------------------------------------
  * Page  Styles
  * ------------------------------------------------------------ */

.main {
	margin-bottom: 5em;
}

.site-main {
	margin-top: 9em;
	margin-bottom: 5em;
}

.homepage-main {
	margin-bottom: 0;
}

.main-without-banner {
	margin-top: 11.5em;
}

.page-banner {
	position: relative;
	min-height: 35vh;
	padding: 4.75em 1.25em;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	color: #fff;
	overflow: hidden;
	margin-top: 8.5em;
}
.page-banner video.banner-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 50vh;
	object-fit: cover;
	z-index: 1;
}
.page-banner img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	object-fit: cover;
	z-index: 1;
}

.page-banner-text {
	position: relative;
	z-index: 2;
	text-align: center;
	width: 100%;
	max-width: 95%;
	background-color: #e41936;
	padding: 15px;
}

.page-banner-subheading {
	font-size: 1.2em;
	margin-top: 10px;
	color: #fff;
}

h1.page-title {
	font-size: 2em;
	margin-top: 16px;
	margin-bottom: 16px;
	text-align: center;
	color: #fff;
	font-weight: normal;
}

.main-without-banner h1.page-title {
	color: #e41936;
	text-align: left;
}
.entry-content {
	margin-bottom: 2em;
}
.entry-content h2 {
	font-weight: normal;
}
.entry-content .entry-featured-image {
    float: none;
    max-width: 100%;
    margin: 1em auto;
    box-sizing: border-box;
	width: 60%;
}

.entry-content .entry-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.page-docs-downloadable ul {
	margin-left: 0;
}
.page-docs-downloadable li {
	list-style: none;
	max-width: 30em;
}
.page-docs-downloadable li a.btn {
	color: #fff ;
	text-decoration: none;
}
.page-docs-downloadable li a.btn:hover {
	color: #fff !important;
	background-color: #e41936;
	transform: scale(1.05);
	transition: transform 0.6s ease;
	text-decoration: none;
}
.mobile-only-image {
	display: block;
	margin: 0 auto;
}
.terms-and-conditions-content h2{
	font-size: 1.75em;
	margin-top: 1em;
}
.terms-and-conditions-content strong {
	color: #000;
}
@media (min-width: 641px) {
	.site-main {
		margin-top: 6.5em;
	}

	.main-without-banner {
		margin-top: 8.5em;
	}

	h1.page-title {
		font-size: 3em;
	}
	.entry-content .entry-featured-image {
        float: right;
        max-width: 40%;
        margin: 0 0 1.5em 1.5em;
    }
	.page-banner {
		margin-top: 6.5em;
	}
}
@media (min-width: 981px) {
	.page-banner-text {
		max-width: 65%;
	}
	h1.page-title {
		font-size: 4em;
	}
	.entry-content .entry-featured-image {
        max-width: 30%;
    }
	.mobile-only-image {
		display: none;
	}
}

@media (min-width: 1281px) {
	.site-main {
		margin-top: 7.5em;
	}

	.main-without-banner {
		margin-top: 9.5em;
	}

	.page-banner {
		margin-top: 7.5em;
	}
}

.page-content {
	padding: 20px;
	background-color: #fff;
	margin-top: 20px;

}

/* ------------------------------------------------------------
   Timeline Module CSS 
 --------------------------------------------------------------*/
.timeline-container {
	position: relative;
	padding: 40px 10px;
	margin: 75px 0;
}

.timeline-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background-color: #e41936;
	transform: translateX(-50%);
	z-index: 0;
}

.timeline-edge {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	color: #e41936;
	font-weight: bold;
	font-size: 1.08em;
	background: #fff;
	padding: 3px 13px;
	z-index: 5;
	border: 1px solid #f3d5db;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
	white-space: nowrap;
}

.year-start,
.year-end {
	background: #e41936;
	color: #fff;
	padding: 15px 25px;
}

.year-start {
	top: -50px;
}

.year-end {
	bottom: -50px;
}

.timeline-item {
	width: 100%;
	margin-bottom: 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	padding: 0.5em;
	align-items: center;
	box-shadow: rgba(0, 0, 0, 0.13) 1px 1px 5px;
	z-index: 2;
	background: #fff;
	border-radius: 5px;
	float: none;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.6s cubic-bezier(.6, 0, .2, 1), transform 0.6s cubic-bezier(.6, 0, .2, 1);
}
.timeline-item:focus-visible {
  outline: 2px solid #e41936;
  outline-offset: 6px;
}
.timeline-item.left {
	transform: translateX(-60px) translateY(60px);

}

.timeline-item.right {
	transform: translateX(60px) translateY(40px);
}

.timeline-item.left,
.timeline-item.right {
	float: none;
	justify-content: flex-start;
	padding-left: 0;
	padding-right: 0;
}

.timeline-item.visible {
	opacity: 1;
	transform: translateX(0) translateY(0);
}

.timeline-content {
	padding: 10px;
	border-radius: 5px;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-direction: column;
	text-align: center;
}

.timeline-content-text {
	flex-grow: 1;
}
.timeline-content-text p {
	margin: 0.5em;
}

.timeline-image,
.content-image {
	max-width: 90px;
	height: auto;
	border-radius: 5px;
	margin-bottom: 8px;
	margin-left: 10px;
}

.timeline-item h3 {
	display: block;
	margin: 10px auto;
}

.timeline-content h4 {
	margin-top: 0;
	font-size: 1em;
	color: #e41936;
	font-weight: bold;
}

.timeline-year {
	position: absolute;
	top: 27px;
	font-size: 1em;
	color: #e41936;
	padding: 3px 8px;
	font-weight: bold;
	z-index: 4;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #f3d5db;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	transform: none;
	display: none;
}

.timeline-year::after {
	content: '';
	position: absolute;
	top: 0;
	width: 0;
	height: 0;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
	border-left: 17px solid #e41936;
	z-index: 3;
	display: block;
}


@media (min-width: 641px) {
	.timeline-container {
		padding: 60px 40px;
	}

	.timeline-content {
		flex-direction: row;
	}

	.timeline-image,
	.content-image {
		max-width: 150px;
		margin-bottom: 10px;
	}
}

@media (min-width: 981px) {
	.timeline-container {
		padding: 60px 100px;
	}

	.timeline-item {
		width: 49%;
		gap: 12px;
		margin-bottom: 34px;
		padding: 10px;
		float: none;
	}

	.timeline-item.left {
		float: left;
		justify-content: flex-end;
		padding-right: 20px;
		padding-left: 0;
	}

	.timeline-item.right {
		float: right;
		justify-content: flex-start;
		padding-left: 30px;
		padding-right: 0;
	}

	.timeline-content {
		flex-direction: column;
		gap: 12px;
		width: calc(100% - 60px);
		padding: 18px;
	}

	.timeline-year {
		display: block;
		font-size: 1.05em;
	}

	.timeline-item.left .timeline-year {
		right: -100px;
		left: auto;
	}

	.timeline-item.right .timeline-year {
		left: -100px;
		right: auto;
	}

	.timeline-item.left .timeline-year::after {
		right: 60px;
		transform: scaleX(-1);
	}

	.timeline-item.right .timeline-year::after {
		left: 60px;
	}

	.timeline-item h3 {
		display: none;
	}

	.timeline-image,
	.content-image {
		max-width: 170px;
	}
}

@media (min-width: 1281px) {
	.timeline-content {
		flex-direction: row;
	}
	
	.timeline-item.left .timeline-content {
		flex-direction: row-reverse;
	}
}


/* ------------------------------------------------------------
   Training Videos Module CSS 
 --------------------------------------------------------------*/
.training-videos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2em;
	margin: 2em 0;
}

.training-video-item {
	position: relative;
	background: #eeeeeead;
	overflow: hidden;
	transition: transform 0.2s;
	padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.training-video-item:hover {
	transform: scale(1.025);
}

.training-thumb {
	width: 100%;
	display: block;
	border: 2px solid #e41936;
}

.training-video-title {
	display: block;
	font-weight: 600;
	color: #e41936;
	text-align: center;
	padding-top: 1em;
	text-transform: capitalize;
}


/* ------------------------------------------------------------
   Single Event Page CSS 
 --------------------------------------------------------------*/
main.event-single-content.site-main {
	margin-top: 11.5em;
}

.event-main-row {
	display: flex;
	flex-direction: column-reverse;
	gap: 2em;
	margin-bottom: 2em;
}

.event-details-row {
	display: flex;
	flex-direction: column;
	margin-bottom: 2em;
}

.event-meta {
	background: #f9f9f9;
	border-left: 4px solid #e41936;
	padding: 1em 1em;
	border-radius: 5px;
	font-size: 1.07em;
	flex: 1 1 0;
}

.event-meta div {
	margin: 1em 0;
}

.event-meta strong {
	color: #000;
}

.event-meta a {
	display: inline-block;
	color: #e41936;
	text-decoration: underline;
	transition: color 0.2s;
	display: inline-block;
}

.event-meta a:hover {
	color: #000;
}
.event-types-list {
	margin-bottom: 1em;
	font-size: 1.05em;
}
.event-image {
	flex: 1 1 0;
	text-align: center;
}

.event-image img {
	width: 100%;
	max-width: 200px;
	height: auto;
	padding: 20px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
	display: inline-block;
	margin: 0 auto;
}

.event-description {
	font-size: 1.08em;
	line-height: 1.7;
	margin-bottom: 1em;
}
.acf-map {
  width: 100%;
  height: 300px;
  position: relative;
}

.acf-map img {
  max-width: none !important;
}

#directions-panel {
  max-width: 100%;
  background: #f9f9f9;
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid #ccc;
  margin-bottom: 2em;
}

.gm-style-iw-d {
  overflow: visible !important;
  max-height: none !important;
  max-width: none !important;
}

.marker-content {
  font-size: 14px;
  max-width: 250px;
  white-space: normal;
  line-height: 1.5;
}
.marker-content a {
	color: #e41936;
	text-decoration: underline;
	padding: 5px;
}
@media (min-width: 641px) {
	main.event-single-content.site-main {
		margin-top: 8.5em;
	}

	.event-main-row {
		flex-direction: row;
		align-items: flex-start;
		gap: 2.5em;
	}

	.event-meta {
		font-size: 1.12em;
	}

	.event-image img {
		max-width: 250px;
	}
}

@media (min-width: 981px) {
	main.event-single-content.site-main {
		margin-top: 9.5em;
	}

	.event-main-row {
		gap: 4em;
		flex-direction: row;
	}

	.event-details-row {
		gap: 4em;
		flex-direction: row-reverse;
	}

	.event-description,
	.acf-map {
		flex: 1 1 0;
	}
}

/* ------------------------------------------------------------
   Event Listing Page CSS 
 --------------------------------------------------------------*/
/* Filters */
.event-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-bottom: 2em;
	justify-content: end;
}

.event-filters input,
.event-filters select {
	padding: 0.5em;
	font-size: 1em;
	min-width: 200px;
}
/* Grid Layout */
.event-grid {
	display: grid;
	gap: 4em;
	margin-top: 2em;
	margin-bottom: 4em;
}

/* Responsive Grid Columns */
@media (min-width: 641px) {
	.event-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 3.5em 2em;
	}
}

@media (min-width: 981px) {
	.event-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1281px) {
	.event-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Event Card Wrapper Link */
.event-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.3s ease;
	border: 1px solid #ddd;
	background: #fff;
	padding: 1em;
	height: 100%;
}

.event-card-link:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: scale(1.05);
	transition: transform 0.6s ease;
}

/* Event Card Structure */
.event-card {
	display: flex;
	flex-direction: column;
	text-align: center;
	height: 100%;
	justify-content: space-around;
	padding: 0.5em;
}

/* Thumbnail Container */
.event-thumb {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 1em;
}

/* Thumbnail Image */
.event-thumb img {
	max-width: 12.5em;
	max-height: 6.25em;
	height: auto;
	width: auto;
	margin: 0 auto;
}

/* Event Info */
.event-info h3 {
	font-size: 1.2em;
	color: #000;
	margin: 0.5em 0;
}

.event-meta-details {
	font-size: 0.95em;
	color: #333;
	line-height: 1.5;
}

.event-dates {
	font-size: 0.9em;
	color: #666;
	margin-top: 0.5em;
}

.event-location {
	font-size: 0.9em;
	color: #444;
	margin-top: 0.3em;
}
.conference-grid .event-card {	
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.conference-grid .event-card:hover {	
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transform: scale(1.05);
	transition: transform 0.6s ease;
}

.conference-grid h3 {
	color: #e41936;
}

/* ------------------------------------------------------------
   Event and Conference Taxonomy Page
 --------------------------------------------------------------*/
/* Container styles */
.taxonomy-section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Grid layout */
.event-type-listing,
.conference-type-listing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

/* Card styles */
.event-type-card,
.conference-type-card {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  padding: 1.5rem;
  box-shadow: rgba(0, 0, 0, 0.35) 5px 5px 15px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  list-style: none;
  text-align: center;
}

.event-type-card a,
.conference-type-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.event-type-card:hover,
.conference-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.event-type-card h3,
.conference-type-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #e41936; /* Your primary red */
}

.event-type-card p,
.conference-type-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   News Listing Page CSS 
 --------------------------------------------------------------*/
.news-intro-banner-carousel {
	position: relative;
	overflow: hidden;
	margin-bottom: 3em;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 400px;
	margin-top: 8.5em;
}
.news-intro-banner-carousel .carousel-container {
	width: 100%;
	margin-top: 4em;
}
.news-intro-banner-carousel .carousel-wrapper {
	display: flex;
	height: 100%;
	transition: transform 0.6s ease;
}

.news-intro-banner-carousel .carousel-slide {
	flex: 0 0 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-intro-banner-carousel .carousel-overlay {
	background: rgba(0, 0, 0, 0.7);
	padding: 2em;
	color: #fff;
	width: 70%;
	text-align: center;
	max-width: 1500px;
}

.news-intro-banner-carousel .carousel-title {
	color: #fff;
	font-size: 1.5em;
}

.news-intro-banner-carousel .btn {
	width: 6em;
	margin: 0 auto;
}

.news-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2em;
	margin: 3em 0;
}

.news-bucket-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.news-bucket-link:hover {
	text-decoration: none;
}

.news-bucket {
	background: #fff;
	border: 1px solid #ddd;
	padding: 1em;
	transition: box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-bucket:hover {
	transform: scale(1.15);
	transition: all 0.3s ease;
	text-decoration: none;
}

.news-bucket-thumb {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.news-bucket-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-bucket-title {
	font-size: 1.2em;
	margin-bottom: 0.5em;
	min-height: 3em;
	line-height: 1.5em;
	overflow: hidden;
	display: -webkit-box;
	margin-top: 0.5em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-clamp: 2;
	box-orient: vertical;
}


@media (min-width: 641px) {
	.news-intro-banner-carousel {
		margin-top: 6.5em;
	}
	.news-intro-banner-carousel .carousel-title {
		font-size: 2em;
	}

	.news-list {
		grid-template-columns: repeat(auto-fit, minmax(280px, 2fr));
	}

}

@media (min-width: 981px) {
	.news-intro-banner-carousel .carousel-title {
		font-size: 2.5em;
	}

	.news-list {
		grid-template-columns: repeat(auto-fit, minmax(280px, 41fr));
	}

}
@media (min-width: 1281px) {
	.news-intro-banner-carousel {
		margin-top: 7.5em;
	}
}


/* ------------------------------------------------------------
   News Page CSS 
 --------------------------------------------------------------*/

.news-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 5em;
	margin-top: 2em;
	flex-direction: row;
}

.news-main {
	flex: 1 1 60%;
}

.news-sidebar {
	flex: 0 0 20%;
	align-self: flex-start;
	background: #f9f9f9;
	padding: 1em;
	box-shadow: 0 7px 12px rgba(0, 0, 0, 0.3);
}

.news-content h2 {
	font-weight: normal;
	margin-top: 0.75em;
	font-size: 1.5em;
}
.news-title {
	font-size: 2em;
	margin-bottom: 0.5em;
	text-transform: capitalize;
	font-weight: normal;
}

.news-subheading {
	font-size: 1em;
	color: #6d6565;
	margin-bottom: 1.5em;
	font-style: italic;
	font-weight: normal;
}

.news-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.95em;
	margin-bottom: 1.5em;
	color: #444;
}

.news-meta-date,
.news-meta-location {
	flex: 1 1 50%;
	text-decoration: underline;
}

.news-meta-location {
	text-align: right;
}

.news-featured-image {
	width: 100%;
	margin: 2em auto;
	border: 1px solid #eee;
}

.news-featured-image img {
	width: 100%;
	height: auto;
	margin-bottom: 1.5em;
}

.news-social-links,
.news-quotes,
.news-media-contact {
	margin-bottom: 2em;
	border-bottom: 1px solid #d7c9c9;
}

.news-social-links {
	display: block;
	padding-bottom: 1em;
}

.news-social-links .social-icons {
	margin-top: 0.5em;
	display: flex;
	gap: 0.75em;
	flex-wrap: wrap;
	align-items: center;
}

.news-social-links .social-icons img {
	width: 24px;
	height: 24px;
}

.news-media-contact a {
	color: #e41936;
	text-decoration: underline;
}

.news-media-contact a:hover {
	text-decoration: none;
}

.news-quotes strong {
	color: #000;
}

.news-sidebar-images {
	margin-top: 1.5em;
}

.news-sidebar-image {
	margin-bottom: 1em;
}

.news-sidebar-image img {
	width: 100%;
	height: auto;
}

@media (min-width: 641px) {
	.news-featured-image {
		width: 75%;
	}
	.news-title {
		font-size: 2.5em;
	}
}

@media (min-width: 981px) {
	.news-featured-image {
		width: 60%;
	}
	.news-title {
		font-size: 3.25em;
	}
	.news-content h2 {
		font-size: 2em;	
	}
}

/* ------------------------------------------------------------
* Conference Page Styles
* ------------------------------------------------------------ */
.conference-years {
	margin-top: 40px;
}

.year-group {
	margin-bottom: 50px;
}

.year-group h2 {
	font-size: 26px;
	margin-bottom: 20px;
}

.presentations {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.presentation-item {
	border: 1px solid #ccc;
	padding: 15px;
	background-color: #f9f9f9;
	text-align: center;
}

.presentation-item:hover {
	transform: scale(1.05);
	transition: transform 0.6s ease;
}
.presentation-item img {
	max-width: 100%;
	height: auto;
	margin-bottom: 10px;
}

.presentation-item h4 {
	font-size: 18px;
	margin: 10px 0;
}

.presentation-item a {
	display: inline-block;
	margin-top: 10px;
}

/* ------------------------------------------------------------
* Search results Styles
* ------------------------------------------------------------ */
.search-results-grid {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: start;
	gap: 2em;
	margin: 2em 0;
}
.search-result-wrapper {
	width: 100%;
	max-width: 360px;
}
.search-results-container article {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 20px;
	text-align: center;
	background: #fff;
	margin-top: 1em;
}
.search-results-container article:hover {
	transform: scale(1.05);
	transition: transform 0.6s ease;
}
.result-type-label{
	font-size: 0.75em;
	font-weight: bold;
	margin-bottom: 0.5em;
}
.result-type-label p{
	color: #fff;
}
.result-type-label span{
	color: #e41936;
	text-decoration: underline;
}
.search-results-container .post-thumbnail img {
	height: 150px;
	width: 200px;
	object-fit: contain;
}
h1.search-title {
	font-size: 2em;
	text-align: left;
	font-weight: normal;
	color: #e41936;
}
.search-results-container h2.entry-title {
	font-size: 1em;
}
.matched-document-titles li {
    margin-top: 10px;
	text-align: left;
	list-style-type: disclosure-closed;
    color: #e41936;
}
.matched-document-titles li a {
	color: #000;
}
.matched-document-titles span {
    color: #e41936;
}
.conference-snippet {
    font-size: 0.95em;
    margin-top: 0.5em;
    padding: 0.75em 1em;
    background-color: #f9f9f9;
    border-left: 4px solid #e41936;
}

.conference-snippet strong {
    color: #e41936;
}
.search-filter-wrapper {
    text-align: right;
    margin-bottom: 20px;
}

.search-filter-form {
    display: inline-block;
}

.search-filter-form label {
    margin-right: 8px;
    font-weight: 600;
}

.search-filter-form select {
    padding: 6px 10px;
    font-size: 16px;
}


@media (min-width: 641px) {
	.search-results-grid {
		grid-template-columns: repeat(auto-fill, 360px);
	}
	.search-result-wrapper {
		width: 360px;
	}
}
@media (min-width: 981px) {
	.search-results-grid {
		grid-template-columns: repeat(auto-fill, 360px);
	}
	.search-result-wrapper {
		width: 360px;
	}
}


/* ------------------------------------------------------------
* Form Page 
* ------------------------------------------------------------ */
.quote-form-section {
	margin-bottom: 2em;
}

.quote-form-two-column {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	margin-top: 2em;
}

.form-column {
	flex: 1 1 65%;
	min-width: 15.625em;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
	padding: 20px;
}

.contact-column {
	flex: 1 1 25%;
	min-width: 200px;
}

.quote-form-two-column .contact-us ul {
	margin-left: 0;
}

.quote-form-two-column .contact-us li {
	list-style-type: none;
	color: #e41936;
	margin-bottom: 0.5em;
}

.quote-form-two-column .contact-us li a {
	color: #e41936;
}

.quote-form-two-column .contact-us li a:hover {
	text-decoration: underline;
}


/* ------------------------------------------------------------
* TESCOOL Page
* ------------------------------------------------------------ */
.tescool-main {
	margin-bottom: 0;
	margin-top: 0;
}

/********* Tescool Banner Section *********/

.tescool-banner {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	align-items: center;
	justify-content: flex-end;
	margin-top: 9.5em;
}

.tescool-banner .banner-left {
	width: 100%;
	margin-top: 2em;
	margin-bottom: 2em;
}

.tescool-banner .banner-left img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.tescool-banner .banner-right {
	width: 100%;
	background-color: #4f4f4f;
	padding: 2em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tescool-banner .banner-text p {
	font-size: 1em;
	margin-bottom: 1.5em;
	color: #fff;
	text-align: center;
	line-height: 1.5em;
}

.banner-right .btn,
.btn-alt {
	display: inline-block;
	font-size: 1.2em;
	text-align: center;
	margin: 1.5em auto;
	padding: 1.25em;
}

.banner-right .btn-alt {
	background-color: #2ea3f2;
	color: #fff;
}

.banner-right .btn:hover {
	transform: scale(1.15);
	transition: all 0.3s ease;
}

@media (min-width: 641px) {
	.tescool-banner {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.tescool-banner .banner-left img {
		width: 80%;
	}
}

@media (min-width: 981px) {
	.tescool-banner {
		margin-top: 6.5em;
	}

	.tescool-banner .banner-left {
		width: 60%;
		margin-top: 3em;
		margin-bottom: 3em;
	}

	.tescool-banner .banner-right {
		width: 30%;
		padding: 2em;
	}

	.tescool-banner .banner-text p {
		font-size: 1.2em;
	}
}

@media (min-width: 1281px) {
	.tescool-banner {
		margin-top: 7.5em;
	}
}

/********* TESCOOL Details Section *********/

.tescool-details-section {
	padding: 5em 1em;
	background-color: rgba(1, 36, 72, 0.1);
	text-align: center;
}

.details-items {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.detail-item {
	max-width: 500px;
	margin: 0 auto;
	background-color: #fff;
	padding: 16px;
}

.detail-icon img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	margin-bottom: 1em;
}

.detail-subheading {
	font-size: 1.2em;
	margin-bottom: 0.5em;
}

.detail-description {
	font-size: 1em;
	color: #333;
}

@media (min-width: 641px) {
	.details-items {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	.detail-item {
		flex: 0 0 40%;
	}
}

@media (min-width: 981px) {
	.detail-item {
		flex: 0 0 44%;
	}

	.details-heading {
		font-size: 2em;
	}
}

@media (min-width: 1281px) {
	.detail-item {
		flex: 0 0 19%;
	}
}

/********* Tescool Track Section *********/

.tescool-tracks-section {
	padding: 5em 1em;
	background: #f9f9f9;
}

.tescool-tracks-section .container {
	align-items: center;
}

.track-items {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.track-item {
	border: 1px solid #ccc;
	overflow: hidden;
}

.track-toggle {
	width: 100%;
	background: #e41936;
	color: #fff;
	font-size: 1em;
	border: none;
	text-align: left;
	cursor: pointer;
	position: relative;
	padding: 1em 2em;
}

.track-toggle::after {
	content: '+';
	position: absolute;
	right: 1em;
	font-size: 1.2em;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	transition: transform 0.3s ease;
}

.track-toggle[aria-expanded="true"] {
	background: #000;
}
.track-toggle[aria-expanded="true"]::after {
	transform: translateY(-50%) rotate(45deg);
}

.track-content {
	height: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0 1em;
	background: #fff;
	font-size: 0.95em;
	transition: height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
	line-height: 1.25em;
}

.track-item.open .track-content {
	height: auto;
	opacity: 1;
	padding: 1em;
}

@media (min-width: 641px) {
	.tracks-heading {
		font-size: 2em;
	}

	.track-toggle {
		font-size: 1.1em;
	}

	.track-content {
		font-size: 1em;
		line-height: 1.5em;
	}
}

@media (min-width: 981px) {
	.track-items {
		width: 80%;
	}
}

/********* TESCOOL Schedule section *********/
.tescool-schedule-section {
	padding: 5em 1em;
	background-color: rgba(1, 36, 72, 0.1);
}

.tescool-schedule-section .container {
	align-items: center;
}

.schedule-note {
	font-size: 1em;
	text-align: left;
	margin: 2em 0;
	color: #000;
	border-left: 5px solid #e41936;
	padding-left: 0.5em;
	font-style: italic;
}

.schedule-table {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.schedule-day-block {
	background: #fff;
	padding: 1em;
	display: flex;
	justify-content: start;
	align-items: flex-start;
	flex-direction: column;
}

.schedule-day {
	padding: 0.75em 3em 0.75em 1em;
	font-weight: bold;
	margin-bottom: 1em;
	border-bottom: 2px solid #e7e0e0;
}

.schedule-day span {
	font-size: 1em;
	font-weight: normal;
	display: block;
	margin-bottom: 1em;
}

.schedule-details {
	font-size: 1em;
	line-height: 1.5em;
	padding-left: 1em;
}

.schedule-details p {
	margin-bottom: 0.5em;
}

@media (min-width: 981px) {
	.schedule-day-block {
		gap: 3em;
		flex-direction: row;
	}

	.schedule-day {
		border-right: 2px solid #e7e0e0;
		border-bottom: 0;
	}

	.schedule-day span {
		font-size: 1.05em;
	}

	.schedule-details {
		font-size: 1.05em;
	}
}

/********* TESCOOL Gallery Section *********/
.tescool-gallery-section {
	padding: 5em 1em;
	background: #fff;
}

.tescool-gallery-section .container {
	align-items: center;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1em;
}

.gallery-item {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 6px;
	transition: transform 0.3s ease;
}

.gallery-item:hover {
	transform: scale(1.05);
}

@media (min-width: 641px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 981px) {
	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/******** TESCOOL booking section ********/

.tescool-booking-area {
	padding: 5em 1em;
	background-color: rgba(1, 36, 72, 0.1);
}

.booking-columns {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.booking-left,
.booking-right {
	background: #fff;
	padding: 2em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	text-align: center;
}

.booking-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.booking-columns .btn,
.btn-alt {
	display: inline-block;
	font-size: 1.2em;
	text-align: center;
	margin: 1.5em auto;
	padding: 1.25em;
}

.booking-columns .btn-alt {
	background-color: #2ea3f2;
	color: #fff;
}

.booking-columns .btn:hover,
.btn-alt:hover {
	transform: scale(1.15);
	transition: all 0.3s ease;
}

.hotel-details,
.sign-up-text {
	margin-bottom: 1.5em;
	font-size: 1em;
	line-height: 1.6;
}

@media (min-width: 981px) {
	.booking-columns {
		flex-direction: row;
		justify-content: space-between;
	}

	.booking-left,
	.booking-right {
		flex: 1;
	}

	.booking-left {
		margin-right: 1em;
	}

	.booking-right {
		margin-left: 1em;
	}
}


/* ------------------------------------------------------------
 * Services Page CSS
 * ------------------------------------------------------------ */
 .services-container {
	margin-top: 2em;
 } 

/*--- Tab Module CSS --*/
.tabs-module {
  background-color: #fff;
  margin: 0 auto;
}

.tabs-nav {
  display: none;
  margin-left: 0;
}

.tab-button {
  background: none;
  border: none;
  padding: 1.75em 1.25em;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-button:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.tab-button.active {
  background-color: #fff;
  color: #e41936;
  font-weight: bold;
}

.tabs-content {
  padding: 10px;
  background-color: #fff;
}

.tab-pane {
  display: block;
  margin-bottom: 30px;
  margin-top: 30px;
  padding-bottom: 20px;
}

.tab-pane:focus-visible  {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.tab-section-heading {
  font-size: 1.5em;
  margin: 10px 0 15px;
  color: #e41936;
  border-bottom: 2px solid #e41936;
  padding-bottom: 5px;
}

.tab-buckets {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tab-bucket {
  position: relative;
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #f9f9f9;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  min-height: 10em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.tab-bucket-icon {
	width: 5em;
}
.tab-bucket:hover,
.tab-bucket:focus-visible  {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tab-bucket:hover .bucket-main,
.tab-bucket:hover .tab-bucket-icon, 
.tab-bucket:focus-visible  .bucket-main {
  display: none;
}


.bucket-hover-description {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background-color: #e41936;
  overflow: hidden;
  transition: height 0.4s ease-in-out;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}


.tab-bucket:hover .bucket-hover-description,
.tab-bucket:focus-visible .bucket-hover-description {
  height: 100%;
  align-items: center;
}

.tab-bucket:hover .bucket-hover-description p,
.tab-bucket:focus-visible .bucket-hover-description p {
  transform: translateY(0);
  opacity: 1;
}

.bucket-main p,
.bucket-hover-description p {
  margin: 0 0 1em;
  line-height: 1.6;
  text-align: center;
}

.bucket-hover-description p {
	color: #fff;
	transform: translateY(20px);
	opacity: 0;
	transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
	text-align: center;
	padding: 15px 0;
}
.bucket-hover-description li {	
	color: #fff;
}
@media (min-width: 981px) {
	.tabs-module {
    	border-bottom: 1px solid #ddd;
        box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 15px;
}
  .tabs-nav {
    display: flex;
    list-style: none;
    background-color: #e41936;
  }

  .tabs-nav li {
    flex: 1;
    text-align: center;
    border-right: 1px solid #ccc;
	list-style: none;
	margin-bottom: 0;
	margin-top: 0.5em;
  }

  .tabs-nav li:last-child {
    border-right: none;
  }

  .tab-button {
    color: #fff;
	font-size: 1em;
  }

  .tab-button:hover {
    background-color: #c9162f;
  	color: #fff;
	font-weight: bold;
  }

  .tabs-content {
    position: relative;
    padding: 20px;
  }

  .tab-pane {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .tab-pane.active {
    display: block;
    position: relative;
  }

  .tab-section-heading {
    display: none;
  }

  .tab-buckets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1281px) {
  .tab-buckets {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
/* ------------------------------------------------------------
* Sitemap Styles
* ------------------------------------------------------------ */

.sitemap-menu {
  margin-bottom: 2rem;
}

.sitemap-list {
  list-style: none;
  padding-left: 0;
}

.sitemap-list li {
  margin-bottom: 0.5rem;
  font-size: 1em;
  color: #e41936;
}

.sitemap-list a {
  text-decoration: none;
}

.sitemap-list a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
* Job Listing Section
* ------------------------------------------------------------ */

.job-listing-buckets {
    display: grid;
    gap: 2em;
    padding: 2em 1em;
}
.job-bucket {
    border: 1px solid #ccc;
    padding: 1.5em;
    border-radius: 0.5em;
    background: #fff;
}
.job-title {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}
.job-description {
    margin-bottom: 1em;
}
.job-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 1em;
}
.job-link {
    display: inline-block;
    background: #e41936;
    color: #fff;
    padding: 0.5em 1em;
    text-decoration: none;
    border-radius: 0.25em;
}
.job-link:hover {
    background: #000;
}

/* ------------------------------------------------------------
* Footer Section
* ------------------------------------------------------------ */
.site-footer {
	background-color: #fff;
	color: #000;
	padding-top: 20px;
	text-align: center;
	border-top: 1px solid transparent;
	box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.1);
}

.footer-widgets {
	margin-bottom: 20px;
}

.widget {
	margin-bottom: 20px;
}

.site-footer .logo {
	order: 0;
	margin-bottom: 30px;
	margin-top: 20px;
}

.site-footer .logo img {
	max-height: 5em;
}

.site-footer .contact-us {
	color: #e41936;
	font-weight: bold;
}

.site-footer .contact-us a {
	color: #e41936;
	text-decoration: none;
}

.site-footer .contact-us a :hover {
	text-decoration: underline;
	color: #000;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget ul li {
	margin-bottom: 5px;
	list-style-type: none;
}

.widget ul li a {
	color: #e41936;
	text-decoration: none;
	font-weight: bold;
}

.widget ul li a:hover {
	text-decoration: underline;
	color: #000;
}

.social-links {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: 40px;
	height: 40px;
}

.social-links a:hover {
	opacity: 0.75;
}

.social-links a i {
	font-size: 1.2em;
}

.social-links a img {
	width: 24px;
	height: 24px;
}

.copyright {
	font-size: 1em;
	background-color: #e41936;
	padding: 10px;
	text-align: center;
}

.copyright p {
	margin-bottom: 0;
	color: #fff;
}

.copyright a {
	display: inline;
	color: #fff;
	text-decoration: underline;
}

.copyright a:hover {
	text-decoration: none;
}

.copyright a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	text-decoration: none;
}


@media (min-width: 641px) {
	.footer-widgets {
		display: flex;
		flex-direction: column;
		gap: 2em;
	}

	.footer-widgets>.widget:first-child {
		width: 100%;
	}

	.footer-widgets .widget-group {
		display: flex;
		gap: 2em;
	}

	.footer-widgets .widget-group .widget {
		width: 50%;
	}
}

@media (min-width: 981px) {
	.site-footer {
		padding-top: 30px;
		text-align: left;
	}

	.footer-widgets {
		margin-bottom: 30px;
		flex-direction: row;
	}

	.footer-widgets>.widget:first-child {
		width: 30%;
	}

	.footer-widgets .widget-group {
		display: flex;
		gap: 2em;
		width: 65%;
	}

	.widget {
		margin-bottom: 0;
		width: 30%;
		text-align: left;
	}

	.widget h3 {
		font-size: 1.4em;
	}

	.social-links {
		justify-content: flex-start;
	}
}

/* Cart CSS*/
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained, a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {    
  background-color: #e41936 !important;
  padding: 1em 2em;
  color: #fff;
  font-weight: bold;
}
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover, a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
  text-decoration: none;  
	transform: scale(1.05);
	transition: 0.3s ease;
}

/* Cart and Checkout Styles */ 
.container.chart-container {
  display: block;
}

@media (min-width: 981px) {
.container.chart-container {
    display: flex;
  }
}