/* ======================================================================
   CIO CODEX – PÁGINA FÓRUM
   Hero no padrão Produtos + área do shortcode [wpforo]
   ====================================================================== */

body.elementor-page-23038 {
	margin-top: 0 !important;
}

#cio-forum.cio-forum-wrap {
	--forum-black: #020101;
	--forum-blue: #02cbfe;
	--forum-white: #ffffff;
	--forum-gray: #9a9a9a;
	--forum-border: rgba(2, 203, 254, 0.15);
	background: var(--forum-black);
	color: var(--forum-white);
	min-height: 60vh;
	font-family: 'Inter', sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

#cio-forum *,
#cio-forum *::before,
#cio-forum *::after {
	box-sizing: border-box;
}

.cio-forum-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 28px;
}

/* Hero — padrão Produtos */
#cio-forum .cio-prod-hero.cio-forum-hero {
	position: relative;
	padding: 100px 0 60px;
	text-align: center;
	overflow: hidden;
	background: var(--forum-black);
	border-bottom: 1px solid var(--forum-border);
	margin: 0;
}

#cio-forum .cio-forum-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(2, 203, 254, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(2, 203, 254, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
	pointer-events: none;
}

#cio-forum .cio-forum-hero::after {
	content: '';
	position: absolute;
	top: -10%;
	left: 50%;
	transform: translateX(-50%);
	width: min(720px, 90vw);
	height: 280px;
	background: radial-gradient(ellipse at center, rgba(2, 203, 254, 0.12) 0%, transparent 70%);
	pointer-events: none;
	animation: cio-forum-glow 8s ease-in-out infinite alternate;
}

@keyframes cio-forum-glow {
	from { opacity: 0.55; transform: translateX(-50%) scale(1); }
	to { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

#cio-forum .cio-forum-hero .cio-prod-hero-container {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 24px;
}

#cio-forum .cio-forum-hero .cio-prod-prelabel {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--forum-blue);
	margin-bottom: 18px;
}

#cio-forum .cio-forum-hero .cio-prod-hero-title {
	font-size: clamp(2.4rem, 5.5vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--forum-white);
	margin: 0 0 18px;
}

#cio-forum .cio-forum-hero .cio-prod-hero-subtitle {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--forum-gray);
	margin: 0 auto;
	max-width: 640px;
}

/* Conteúdo wpForo */
.cio-forum-content {
	padding: 48px 0 96px;
}

.cio-forum-content .cio-forum-container {
	/* wpForo traz o próprio layout; só garantimos largura e respiro. */
	max-width: 1200px;
}

@media (max-width: 768px) {
	#cio-forum .cio-forum-hero {
		padding: 72px 0 48px;
	}

	.cio-forum-content {
		padding: 32px 0 64px;
	}

	.cio-forum-container {
		padding: 0 16px;
	}

	#cio-forum .cio-forum-hero::after {
		height: 180px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#cio-forum .cio-forum-hero::after {
		animation: none;
	}
}
