/* TC Gold custom navigation header. */

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

.tcg-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: #000000;
	color: #ffffff;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.tcg-header__inner {
	display: flex;
	align-items: center;
	width: 100%;
	/* 1,140px audited content width plus 20px side padding on each side. */
	max-width: 1180px;
	min-height: 50px;
	margin: 0 auto;
	padding: 40px 20px 20px;
}

.tcg-header__brand {
	display: block;
	flex: 0 0 228px;
	width: 228px;
	max-width: 228px;
	margin: 0;
	padding: 0;
	line-height: 0;
	text-decoration: none;
}

.tcg-header__logo {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
}

.tcg-header__text-logo {
	display: block;
	color: #9b0002;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
}

.tcg-header__nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.tcg-header__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tcg-header__menu > li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tcg-header__menu > li > a {
	display: inline-flex;
	align-items: center;
	height: 50px;
	margin: 0;
	padding: 0 0 0 28px;
	border: 0;
	background: transparent;
	color: #9b0002;
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 50px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 160ms ease;
}

.tcg-header__menu > li > a:hover,
.tcg-header__menu > li > a:focus-visible {
	color: #ffffff;
}

.tcg-header__cta {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin: 0 62px 0 56px;
	padding: 12px 24px;
	border: 1px solid #9b0002;
	border-radius: 5px;
	background: #000000;
	color: #9b0002;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 13px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.tcg-header__cta:hover,
.tcg-header__cta:focus-visible {
	border-color: #9b0002;
	background: #9b0002;
	color: #000000;
}

.tcg-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 29px;
	margin: 0 0 0 auto;
	padding: 0 15px;
	border: 0;
	border-radius: 0;
	background: #000000;
	color: #9b0002;
	cursor: pointer;
}

.tcg-header__hamburger {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 24px;
}

.tcg-header__hamburger span {
	display: block;
	width: 24px;
	height: 3px;
	background: #9b0002;
	transition: transform 160ms ease, opacity 160ms ease;
}

.tcg-header.is-menu-open .tcg-header__hamburger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.tcg-header.is-menu-open .tcg-header__hamburger span:nth-child(2) {
	opacity: 0;
}

.tcg-header.is-menu-open .tcg-header__hamburger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.tcg-header a:focus-visible,
.tcg-header button:focus-visible {
	outline: 2px solid #9b0002;
	outline-offset: 3px;
}

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

@media (max-width: 1100px) and (min-width: 768px) {
	.tcg-header__brand {
		flex-basis: 190px;
		width: 190px;
		max-width: 190px;
	}

	.tcg-header__cta {
		margin-right: 24px;
		margin-left: 28px;
		padding-right: 18px;
		padding-left: 18px;
	}

	.tcg-header__menu > li > a {
		padding-left: 18px;
		font-size: 11px;
	}
}

@media (max-width: 767px) {
	.tcg-header {
		font-size: 14.592px;
		line-height: 24.0768px;
	}

	.tcg-header__inner {
		min-height: 29px;
		padding: 20px;
	}

	.tcg-header__brand {
		flex-basis: 120px;
		width: 120px;
		max-width: 120px;
	}

	.tcg-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		display: none;
		width: 100%;
		background: #000000;
	}

	.tcg-header__nav[hidden] {
		display: none !important;
	}

	.tcg-header.is-menu-open .tcg-header__nav {
		display: block;
	}

	.tcg-header__menu {
		display: block;
		width: 100%;
		max-width: none;
		background: #000000;
	}

	.tcg-header__menu > li {
		width: 100%;
		min-height: 49px;
		border-top: 1px solid rgba(155, 0, 2, 0.14);
	}

	.tcg-header__menu > li:last-child {
		border-bottom: 1px solid rgba(155, 0, 2, 0.14);
	}

	.tcg-header__menu > li > a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 48px;
		height: 49px;
		padding: 15px;
		background: #000000;
		color: #9b0002;
		font-size: 12px;
		font-weight: 400;
		line-height: 18px;
		white-space: normal;
	}

	.tcg-header__menu > li > a:hover,
	.tcg-header__menu > li > a:focus-visible {
		background: #180000;
		color: #ff1f2d;
	}

	.tcg-header__cta {
		display: none;
	}

	.tcg-header__toggle {
		display: inline-flex;
	}
}

@media (min-width: 768px) {
	.tcg-header__nav {
		display: flex !important;
	}

	.tcg-header__toggle {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tcg-header *,
	.tcg-header *::before,
	.tcg-header *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
