:root {
	--cnc2-bg: #ffffff;
	--cnc2-ink: #171717;
	--cnc2-muted: #6d6d6d;
	--cnc2-line: #e5e5e5;
	--cnc2-accent: #ff7200;
	--cnc2-header: #070707;
	--cnc2-header-soft: #1f1f1f;
	--cnc2-pill: #f2f5ed;
}

html { scroll-behavior: smooth; }

/* Core 2.1.2 usa shell próprio: header/footer do tema não são renderizados. */
body.cnc2-custom-shell {
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	min-height: 100vh;
}
body.cnc2-custom-shell > .cnc2-brand-header,
body.cnc2-custom-shell > main,
body.cnc2-custom-shell > .cnc2-footer-bar {
	width: 100%;
	box-sizing: border-box;
}


/*
 * Nas páginas geridas pelo Core, o cabeçalho e o rodapé visuais do tema são ocultados.
 * Mantemos apenas a estrutura necessária para compatibilidade do WordPress.
 */
.cnc2-active #site-header,
.cnc2-active .site-header,
.cnc2-active header.site-header,
.cnc2-active .header-inner,
.cnc2-active .header-navigation-wrapper,
.cnc2-active .primary-menu-wrapper,
.cnc2-active .secondary-menu-wrapper,
.cnc2-active .header-toggles,
.cnc2-active .search-toggle-wrapper,
.cnc2-active .top-bar,
.cnc2-active .header-links,
.cnc2-active .header-titles-wrapper,
.cnc2-active .header-titles,
.cnc2-active .site-title,
.cnc2-active .site-description,
.cnc2-active #site-footer,
.cnc2-active .site-footer,
.cnc2-active footer.site-footer,
.cnc2-active footer.footer,
.cnc2-active .footer-inner,
.cnc2-active .footer-nav-widgets-wrapper,
.cnc2-active .footer-top-visible,
.cnc2-active .footer-widgets-outer-wrapper,
.cnc2-active .footer-widgets-wrapper,
.cnc2-active .footer-credits,
.cnc2-active .powered-by-wordpress,
.cnc2-active .to-the-top,
.cnc2-active .theme-credits {
	display: none !important;
}

.cnc2-brand-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: var(--cnc2-header);
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,.08);
}

.cnc2-brand-shell {
	width: min(1440px, calc(100% - 44px));
	min-height: 92px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto minmax(0,1fr);
	align-items: center;
	gap: 32px;
}

.cnc2-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	flex: 0 0 auto;
	color: #fff !important;
	text-decoration: none !important;
	padding: 14px 0 13px;
}

.cnc2-logo-main {
	display: block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: clamp(28px, 2.2vw, 40px);
	line-height: .95;
	font-weight: 900;
	letter-spacing: -.055em;
	white-space: nowrap;
}

.cnc2-logo-white { color: #fff; }
.cnc2-logo-orange { color: var(--cnc2-accent); }

.cnc2-brand-tagline {
	display: block;
	margin-top: 8px;
	color: rgba(255,255,255,.72);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1;
	font-weight: 400;
	letter-spacing: .005em;
	white-space: nowrap;
}

.cnc2-menu-panel {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(170px, 230px);
	align-items: center;
	gap: 20px;
}

.cnc2-primary-nav {
	min-width: 0;
	border-left: 1px solid rgba(255,255,255,.18);
	padding-left: 26px;
}

.cnc2-menu-list {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 3px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cnc2-menu-list a,
.cnc2-submenu-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	background: transparent;
	color: rgba(255,255,255,.92) !important;
	text-decoration: none !important;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}

.cnc2-menu-list a:hover,
.cnc2-submenu-toggle:hover {
	color: #fff !important;
}

.cnc2-menu-list > li > a.is-current::after,
.cnc2-menu-list > li > a:hover::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 1px;
	height: 3px;
	border-radius: 99px;
	background: var(--cnc2-accent);
}

.cnc2-has-submenu { position: relative; }

.cnc2-submenu {
	display: none;
	position: absolute;
	z-index: 1100;
	top: 44px;
	right: 0;
	min-width: 190px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: #151515;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 14px;
	box-shadow: 0 16px 34px rgba(0,0,0,.35);
}

.cnc2-has-submenu:hover .cnc2-submenu,
.cnc2-has-submenu.is-open .cnc2-submenu { display: block; }

.cnc2-submenu a {
	width: 100%;
	box-sizing: border-box;
	border-radius: 10px;
}
.cnc2-submenu a:hover { background: rgba(255,255,255,.06); }

.cnc2-search {
	display: grid;
	grid-template-columns: minmax(0,1fr) 44px;
	align-items: center;
	min-width: 0;
	height: 48px;
	padding: 0 5px 0 15px;
	background: linear-gradient(180deg, #242424 0%, #1b1b1b 100%);
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 16px;
}

.cnc2-search input {
	min-width: 0;
	width: 100%;
	height: 100%;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	padding: 0 !important;
	margin: 0 !important;
}

.cnc2-search input::placeholder { color: rgba(255,255,255,.56); }

.cnc2-search button {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

.cnc2-menu-toggle {
	display: none;
	border: 1px solid rgba(255,255,255,.12);
	background: #1a1a1a;
	color: #fff;
	border-radius: 12px;
	min-height: 44px;
	padding: 0 14px;
	font: inherit;
	cursor: pointer;
}

.cnc2-menu-icon {
	font-size: 20px;
	line-height: 1;
}

.cnc2-home,
.cnc2-single,
.cnc2-tag {
	background: var(--cnc2-bg);
	color: var(--cnc2-ink);
}
.cnc2-shell {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 42px 0 70px;
}
.cnc2-heading span,
.cnc2-tag-header span {
	color: var(--cnc2-accent);
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .09em;
}
.cnc2-heading h1,
.cnc2-heading h2,
.cnc2-tag-header h1 {
	margin: 7px 0 0;
	font-size: clamp(34px, 4.5vw, 58px);
	line-height: 1;
	letter-spacing: -.04em;
}

.cnc2-hero { padding-bottom: 34px; }
.cnc2-hero-grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr;
	gap: 0 34px;
	margin-top: 24px;
}
.cnc2-hero-primary {
	grid-row: span 3;
	padding: 34px;
	border-radius: 28px;
	background: #f4f4f1;
	min-height: 390px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.cnc2-hero-primary h2 {
	margin: 8px 0 0;
	font-size: clamp(35px, 4vw, 56px);
	line-height: 1.02;
	letter-spacing: -.04em;
}
.cnc2-hero-primary p { max-width: 60ch; color: var(--cnc2-muted); line-height: 1.5; }
.cnc2-hero-secondary {
	padding: 20px 0;
	border-bottom: 1px solid var(--cnc2-line);
}
.cnc2-hero-secondary h3 {
	margin: 6px 0 0;
	font-size: 22px;
	line-height: 1.12;
}
.cnc2-hero a,
.cnc2-editorial a,
.cnc2-latest a,
.cnc2-tag a {
	color: inherit;
	text-decoration: none;
}
.cnc2-hero a:hover,
.cnc2-editorial a:hover,
.cnc2-latest a:hover,
.cnc2-tag a:hover { color: var(--cnc2-accent); }
.cnc2-kicker {
	color: var(--cnc2-accent);
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
}

.cnc2-editorial {
	padding: 42px 0 8px;
	border-bottom: 1px solid var(--cnc2-line);
}
.cnc2-section-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}
.cnc2-editorial-pill {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	padding: 12px 20px 14px;
	border-radius: 28px;
	background: var(--cnc2-pill);
}
.cnc2-editorial-pill span {
	color: var(--cnc2-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .085em;
	text-transform: uppercase;
}
.cnc2-editorial-pill h2 {
	margin: 0;
	font-size: clamp(25px, 2.35vw, 34px);
	line-height: 1.04;
	letter-spacing: -.03em;
}
.cnc2-more {
	padding: 8px 13px;
	border-radius: 999px;
	background: #fff6f0;
	color: var(--cnc2-accent) !important;
	font-weight: 700;
	font-size: 14px;
}
.cnc2-section-grid {
	display: grid;
	grid-template-columns: minmax(0,1.45fr) repeat(3,minmax(0,1fr));
	gap: 0 26px;
}
.cnc2-section-grid article {
	padding: 20px 0 28px;
	border-top: 1px solid var(--cnc2-line);
}
.cnc2-section-grid h3 {
	margin: 6px 0 0;
	font-size: 20px;
	line-height: 1.16;
}
.cnc2-section-grid article:first-child h3 {
	font-size: clamp(25px,2.4vw,34px);
	line-height: 1.08;
}
.cnc2-section-grid p {
	color: var(--cnc2-muted);
	line-height: 1.48;
	margin: 10px 0 0;
	font-size: 15px;
}

.cnc2-latest { padding: 46px 0 10px; }
.cnc2-latest-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 40px;
}
.cnc2-latest-grid article {
	padding: 17px 0 19px;
	border-bottom: 1px solid var(--cnc2-line);
}
.cnc2-latest-grid h3 {
	margin: 6px 0 0;
	font-size: 18px;
	line-height: 1.23;
}

.cnc2-single-article {
	max-width: 900px;
	margin: 0 auto;
	padding: 56px 20px 76px;
}
.cnc2-single-article header {
	padding-bottom: 30px;
	border-bottom: 1px solid var(--cnc2-line);
}
.cnc2-single-pill {
	display: inline-flex;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--cnc2-pill);
	color: var(--cnc2-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .075em;
	text-transform: uppercase;
}
.cnc2-single-article h1 {
	margin: 16px 0 0;
	font-size: clamp(38px, 5vw, 68px);
	line-height: 1.01;
	letter-spacing: -.04em;
}
.cnc2-deck {
	margin: 20px 0 0;
	font-size: 21px;
	line-height: 1.42;
	color: var(--cnc2-muted);
}
.cnc2-meta { margin-top: 20px; color: var(--cnc2-muted); font-size: 13px; }
.cnc2-content {
	max-width: 760px;
	margin: 42px auto 0;
	font-size: 19px;
	line-height: 1.78;
}
.cnc2-content p {
	margin: 0 0 1.45em;
}
.cnc2-content p + p {
	margin-top: .15em;
}
.cnc2-content h2,
.cnc2-content h3,
.cnc2-content h4 {
	margin-top: 1.7em;
	margin-bottom: .65em;
	line-height: 1.16;
}
.cnc2-content ul,
.cnc2-content ol {
	margin: 0 0 1.45em;
	padding-left: 1.4em;
}
.cnc2-content li + li {
	margin-top: .45em;
}
.cnc2-content blockquote {
	margin: 1.8em 0;
	padding-left: 1.2em;
	border-left: 4px solid var(--cnc2-accent);
}
.cnc2-content figure,
.cnc2-content .wp-block-image,
.cnc2-content .wp-block-embed,
.cnc2-content .wp-block-gallery {
	margin-top: 2em;
	margin-bottom: 2em;
}
.cnc2-content img { max-width: 100%; height: auto; }

.cnc2-related {
	max-width: 900px;
	margin: 58px auto 0;
	padding-top: 34px;
	border-top: 1px solid var(--cnc2-line);
}
.cnc2-related-heading span {
	color: var(--cnc2-accent);
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
}
.cnc2-related-heading h2 {
	margin: 7px 0 0;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.05;
	letter-spacing: -.035em;
}
.cnc2-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 22px;
}
.cnc2-related-grid article {
	padding-top: 16px;
	border-top: 1px solid var(--cnc2-line);
}
.cnc2-related-grid h3 {
	margin: 7px 0 0;
	font-size: 20px;
	line-height: 1.15;
}
.cnc2-related-grid h3 a {
	color: inherit;
	text-decoration: none;
}
.cnc2-related-grid h3 a:hover {
	color: var(--cnc2-accent);
}
.cnc2-related-grid p {
	margin: 10px 0 0;
	color: var(--cnc2-muted);
	font-size: 14px;
	line-height: 1.45;
}

.cnc2-tag-header {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--cnc2-line);
}
.cnc2-tag-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 38px;
}
.cnc2-tag-grid article {
	padding: 26px 0 30px;
	border-bottom: 1px solid var(--cnc2-line);
}
.cnc2-tag-grid h2 { margin: 7px 0 0; font-size: 28px; line-height: 1.1; }
.cnc2-tag-grid p { color: var(--cnc2-muted); line-height: 1.48; }

.cnc2-footer-bar {
	box-sizing: border-box;
	width: 100%;
	padding: 18px 24px;
	background: #222;
	color: #fff;
	text-align: center;
	font-size: 14px;
	line-height: 1.35;
}
.cnc2-footer-bar strong { color: #fff; }

@media (max-width: 1220px) {
	.cnc2-brand-shell {
		width: min(100% - 30px, 1320px);
		gap: 20px;
	}
	.cnc2-primary-nav { padding-left: 18px; }
	.cnc2-menu-list a,
	.cnc2-submenu-toggle {
		padding-left: 7px;
		padding-right: 7px;
		font-size: 13px;
	}
	.cnc2-menu-list > li > a.is-current::after,
	.cnc2-menu-list > li > a:hover::after {
		left: 7px;
		right: 7px;
	}
	.cnc2-menu-panel {
		grid-template-columns: minmax(0,1fr) minmax(145px, 190px);
		gap: 12px;
	}
}

@media (max-width: 1040px) {
	.cnc2-brand-shell {
		min-height: 76px;
		grid-template-columns: minmax(0,1fr) auto;
		gap: 14px;
	}
	.cnc2-brand {
		padding: 11px 0;
	}
	.cnc2-logo-main { font-size: 28px; }
	.cnc2-brand-tagline {
		font-size: 11px;
		margin-top: 6px;
	}
	.cnc2-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 9px;
	}
	.cnc2-menu-panel {
		display: none;
		position: absolute;
		left: 15px;
		right: 15px;
		top: calc(100% - 1px);
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 16px;
		background: #0b0b0b;
		border: 1px solid rgba(255,255,255,.10);
		border-radius: 0 0 18px 18px;
		box-shadow: 0 18px 34px rgba(0,0,0,.28);
	}
	.cnc2-brand-header.is-open .cnc2-menu-panel { display: grid; }
	.cnc2-primary-nav {
		border-left: 0;
		padding-left: 0;
	}
	.cnc2-menu-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px 8px;
	}
	.cnc2-menu-list a,
	.cnc2-submenu-toggle {
		width: 100%;
		box-sizing: border-box;
		justify-content: space-between;
		padding: 0 10px;
		border-radius: 10px;
	}
	.cnc2-menu-list > li > a.is-current::after,
	.cnc2-menu-list > li > a:hover::after { display: none; }
	.cnc2-menu-list a:hover,
	.cnc2-submenu-toggle:hover { background: rgba(255,255,255,.06); }
	.cnc2-submenu {
		position: static;
		margin-top: 2px;
		box-shadow: none;
		background: #141414;
	}
	.cnc2-search {
		width: 100%;
		box-sizing: border-box;
	}
	.cnc2-hero-grid { grid-template-columns: 1fr; }
	.cnc2-hero-primary { min-height: 320px; margin-bottom: 8px; }
	.cnc2-section-grid { grid-template-columns: 1fr 1fr; }
	.cnc2-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.cnc2-brand-shell {
		width: calc(100% - 24px);
		min-height: 70px;
	}
	.cnc2-logo-main { font-size: 25px; }
	.cnc2-brand-tagline { font-size: 10px; }
	.cnc2-menu-toggle {
		font-size: 0;
		width: 44px;
		padding: 0;
	}
	.cnc2-menu-toggle .cnc2-menu-icon { font-size: 20px; }
	.cnc2-menu-panel { left: 12px; right: 12px; padding: 12px; }
	.cnc2-menu-list { grid-template-columns: 1fr; }
	.cnc2-shell { width: calc(100% - 24px); padding-top: 30px; }
	.cnc2-section-top { align-items: flex-start; }
	.cnc2-editorial-pill { width: 100%; }
	.cnc2-editorial-pill h2 { font-size: 23px; }
	.cnc2-section-grid,
	.cnc2-latest-grid,
	.cnc2-tag-grid,
	.cnc2-related-grid { grid-template-columns: 1fr; }
	.cnc2-hero-primary h2 { font-size: 34px; }
	.cnc2-single-article { padding-left: 14px; padding-right: 14px; }
	.cnc2-footer-bar { padding: 14px 18px; font-size: 13px; }
}
