/* LogTotal promo banner. Visuals match the WordPress theme banner.
   This copy is static: no Customizer, no close button. */

.logtotal-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 64px;
	min-height: 64px;
	overflow: hidden;
	background: #000000;
	color: #ffffff;
	font-family: "Inter", sans-serif;
}

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

.logtotal-banner__glow {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: url("../../img/logtotal/logtotal-banner-stripes.png") center / cover no-repeat;
}

.logtotal-banner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 98.44%;
	bottom: 0;
	z-index: 3;
	background: rgba(5, 2, 10, 0.6);
	pointer-events: none;
}

.logtotal-banner__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 8vw, 160px);
	width: 100%;
	max-width: 1200px;
	padding: 0 24px;
}

.logtotal-banner__brand {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.logtotal-banner__mark {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 24px;
}

.logtotal-banner__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.logtotal-banner__title,
.logtotal-banner__description {
	margin: 0;
	white-space: nowrap;
}

.logtotal-banner__title {
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
}

.logtotal-banner__description {
	color: #ffe3e6;
	font-size: 13px;
	font-weight: 400;
	line-height: 16px;
}

.logtotal-banner__cta {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 40px;
	margin: 0;
	padding: 0 22px;
	border-radius: 20px;
	background: #ffffff;
	color: #b3121f;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 18px;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
}

.logtotal-banner__cta svg {
	display: block;
	flex-shrink: 0;
}

.logtotal-banner__cta:hover,
.logtotal-banner__cta:focus {
	background: #ffffff;
	color: #b3121f;
	text-decoration: none;
	box-shadow: 0px 0px 32px 0px #ffffffbf;
}

.logtotal-banner__cta:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

@media (max-width: 1100px) {
	.logtotal-banner__title {
		font-size: 16px;
		line-height: 20px;
	}

	.logtotal-banner__description {
		font-size: 12px;
		line-height: 15px;
	}

	.logtotal-banner__cta {
		height: 36px;
		padding: 0 16px;
		font-size: 14px;
	}
}

@media (max-width: 900px) {
	.logtotal-banner__content {
		gap: 16px;
	}

	.logtotal-banner__brand {
		gap: 12px;
	}

	.logtotal-banner__title {
		font-size: 14px;
		line-height: 18px;
	}

	.logtotal-banner__description {
		font-size: 11px;
		line-height: 14px;
	}

	.logtotal-banner__cta {
		height: 32px;
		padding: 0 12px;
		font-size: 13px;
	}
}

@media (max-width: 767px) {
	:root {
		--logtotal-banner-height: 156px;
	}

	.logtotal-banner {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1001;
		height: auto;
		min-height: 0;
		padding: 0;
	}

	body.has-logtotal-banner::before {
		content: "";
		display: block;
		height: var(--logtotal-banner-height);
		pointer-events: none;
	}

	.logtotal-banner__glow {
		background-image: url("../../img/logtotal/logtotal-banner-stripes-mobile.png");
	}

	.logtotal-banner__content {
		display: grid;
		grid-template-columns: 20px minmax(0, 1fr);
		column-gap: 10px;
		row-gap: 10px;
		align-items: start;
		max-width: none;
		padding: 14px 46px 16px 16px;
		text-align: left;
	}

	.logtotal-banner__brand {
		display: contents;
	}

	.logtotal-banner__mark {
		grid-column: 1;
		grid-row: 1;
		width: 20px;
		height: 24px;
		margin-top: 1px;
	}

	.logtotal-banner__text {
		grid-column: 2;
		grid-row: 1;
		align-items: flex-start;
		gap: 2px;
	}

	.logtotal-banner__title,
	.logtotal-banner__description {
		white-space: normal;
		text-align: left;
	}

	.logtotal-banner__title {
		font-size: 20px;
		line-height: 24px;
	}

	.logtotal-banner__description {
		font-size: 13px;
		line-height: 16px;
	}

	.logtotal-banner__cta {
		grid-column: 2;
		grid-row: 2;
		width: 100%;
		height: 32px;
		padding: 0 14px;
		border-radius: 16px;
		font-size: 14px;
	}
}
