/* Reusable info/promo blocks for public pages */
.info-blocks-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.info-block {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 140px;
	padding: 1.5rem;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.info-block::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--accent);
	transition: width .3s ease;
	z-index: 2;
}

.info-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.5) 50%,
		rgba(0, 0, 0, 0.7) 100%
	);
	transition: background .3s ease;
	z-index: 1;
}

.info-content {
	position: relative;
	z-index: 3;
	width: 100%;
}

.info-content h4 {
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 600;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.info-content p,
.info-description {
	margin-bottom: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
	line-height: 1.45;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

.info-description {
	min-height: 60px;
}

.info-content .btn {
	border: none;
	border-radius: 8px;
	padding: 0.6rem 1.8rem;
	background: var(--accent);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	font-weight: 500;
	transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.info-content .btn:hover {
	transform: translateY(-2px);
	background: var(--accent-hover);
	box-shadow: 0 6px 15px rgba(var(--accent-rgb), 0.4);
}

.info-block:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.info-block:hover::before {
	width: 6px;
}

.info-block:hover .info-overlay {
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.6) 0%,
		rgba(0, 0, 0, 0.4) 50%,
		rgba(0, 0, 0, 0.6) 100%
	);
}

@media (max-width: 768px) {
	.info-blocks-container {
		gap: 0.8rem;
	}

	.info-block {
		min-height: 120px;
		padding: 1.2rem;
	}

	.info-content h4 {
		font-size: 1.1rem;
	}

	.info-content p,
	.info-description {
		margin-bottom: 1rem;
		font-size: 0.85rem;
	}

	.info-content .btn {
		padding: 0.5rem 1.5rem;
		font-size: 0.9rem;
	}
}