/* Frontend styles for Tank2Create Cover Block */

.tank2create-cover {
	position: relative;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0;
}

.tank2create-cover .wp-block-cover__background.has-background-dim {
	position: absolute;
	inset: 0;
	background: rgba(8, 18, 65, 0.68);
	z-index: 1;
}

.tank2create-cover.has-overlay-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--t2c-overlay-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.45;
	z-index: 2;
	pointer-events: none;
}

.tank2create-cover .wp-block-cover__image-background,
.tank2create-cover .wp-block-cover__video-background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.tank2create-cover .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 120px 40px 140px;
}

.tank2create-breadcrumb {
	font-size: 16px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 22px;
}

.tank2create-breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.tank2create-breadcrumb a:hover {
	text-decoration: underline;
}

.tank2create-heading {
	color: #ffffff;
	font-weight: 300;
	line-height: 1.05;
	font-size: clamp(40px, 5vw, 86px);
	margin: 0 0 34px;
	letter-spacing: 0.5px;
}

.tank2create-buttons {
	margin: 0;
}

.tank2create-button .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(255,255,255,0.75);
	color: #ffffff;
	border-radius: 999px;
	padding: 14px 34px;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
}

.tank2create-button .wp-block-button__link:hover {
	border-color: rgba(255,255,255,1);
}

.tank2create-bottom-icon {
	position: absolute;
	left: 50%;
	bottom: -86px;
	transform: translateX(-50%);
	z-index: 4;
	width: 190px;
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.tank2create-bottom-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.tank2create-bottom-bar {
	margin-top: 28px;
	color: #ffffff;
}

.tank2create-news-ticker {
	margin-top: 22px;
	overflow: hidden;
	white-space: nowrap;
	color: rgba(255,255,255,0.9);
}

.tank2create-news-track {
	display: inline-block;
	animation: t2cTicker 22s linear infinite;
}

@keyframes t2cTicker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
	.tank2create-cover .wp-block-cover__inner-container {
		padding: 110px 24px 140px;
	}
}

@media (max-width: 767px) {
	.tank2create-cover .wp-block-cover__inner-container {
		padding: 100px 18px 150px;
	}
	.tank2create-bottom-icon {
		bottom: -78px;
		width: 170px;
		height: 170px;
	}
	.tank2create-heading {
		margin-bottom: 26px;
	}
}
