/* CF Novo Layout 1.0.0 | Como Fotografar Editorial */
:root {
	--cf-bg: #FFFFFF;
	--cf-surface: #F3F6F8;
	--cf-ink: #111A21;
	--cf-muted: #4F5D68;
	--cf-line: #DDE3E8;
	--cf-accent: #0C4767;
	--cf-accent-strong: #08324A;
	--cf-dark: #0B1C27;
	--cf-on-dark-muted: #B9C6CF;
	--cf-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cf-read: "Source Serif 4", Georgia, "Times New Roman", serif;
	--cf-r-sm: 6px;
	--cf-r-md: 10px;
	--cf-wrap: 1240px;
}

/* ---------- Base ---------- */
body.cf-nl {
	background: var(--cf-bg);
	color: var(--cf-ink);
	font-family: var(--cf-head);
	-webkit-font-smoothing: antialiased;
}
body.cf-nl h1, body.cf-nl h2, body.cf-nl h3, body.cf-nl h4, body.cf-nl h5, body.cf-nl h6 {
	font-family: var(--cf-head);
	color: var(--cf-ink);
	letter-spacing: -0.015em;
	text-transform: none;
}
body.cf-nl a { color: var(--cf-ink); }
body.cf-nl a:hover, body.cf-nl a:focus-visible { color: var(--cf-accent); }
body.cf-nl :focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 2px; }

/* ---------- Cabecalho do GeneratePress ---------- */
body.cf-nl .site-header {
	background: var(--cf-bg);
	border-bottom: 1px solid var(--cf-line);
}
body.cf-nl .inside-header { padding-top: 14px; padding-bottom: 14px; }
body.cf-nl .main-title { font-family: var(--cf-head); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
body.cf-nl .main-title a { color: var(--cf-ink); }
body.cf-nl .main-title a::before {
	content: "";
	display: inline-block;
	width: 10px; height: 10px;
	margin-right: 10px;
	border-radius: 999px;
	background: var(--cf-accent);
	vertical-align: 0.12em;
}
body.cf-nl .main-navigation,
body.cf-nl .main-navigation ul ul { background: var(--cf-bg); }
body.cf-nl .main-navigation .main-nav ul li a,
body.cf-nl .main-navigation .menu-toggle,
body.cf-nl .main-navigation .menu-bar-items {
	font-family: var(--cf-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--cf-ink);
}
body.cf-nl .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
body.cf-nl .main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--cf-accent); }
body.cf-nl .main-navigation .main-nav ul li[class*="current-menu-"] > a { box-shadow: inset 0 -3px 0 var(--cf-accent); }

/* Barra de progresso de leitura */
.cf-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.cf-progress span { display: block; height: 100%; background: var(--cf-accent); transform: scaleX(0); transform-origin: 0 50%; }
body.admin-bar .cf-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cf-progress { top: 46px; } }

/* ---------- Pecas compartilhadas ---------- */
.cf-wrap { max-width: var(--cf-wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.cf-sec-title {
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--cf-ink);
	font-family: var(--cf-head);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
}
.cf-cat, .cf-cat a {
	font-family: var(--cf-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cf-accent);
	text-decoration: none;
}
.cf-cat a:hover { color: var(--cf-accent-strong); text-decoration: underline; }
.cf-cat a:nth-of-type(n+2) { display: none; }
.cf-meta-line { font-size: 13px; color: var(--cf-muted); line-height: 1.4; }
.cf-media { display: block; overflow: hidden; border-radius: var(--cf-r-md); background: var(--cf-surface); }
.cf-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.cf-media a:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .cf-media img { transition: none; } .cf-media a:hover img { transform: none; } }
.cf-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 26px;
	border: 1.5px solid var(--cf-ink); border-radius: 999px;
	font-family: var(--cf-head); font-weight: 700; font-size: 15px;
	color: var(--cf-ink); text-decoration: none; background: transparent;
}
.cf-btn:hover { background: var(--cf-ink); color: #FFFFFF; }
.cf-center { display: flex; justify-content: center; }

/* ---------- Anuncios ---------- */
.cf-ad { margin: 36px 0; padding: 14px 0; border-top: 1px solid var(--cf-line); border-bottom: 1px solid var(--cf-line); clear: both; }
.cf-ad__label { display: block; margin-bottom: 8px; font-family: var(--cf-head); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cf-muted); text-align: center; }
.cf-ad__box { min-height: 280px; display: flex; align-items: center; justify-content: center; }
.cf-ad__box > ins { width: 100%; }
.cf-ad--feed { margin: 0; padding: 24px 0; border-top: 0; }
.cf-ad--feed .cf-ad__label { text-align: left; }
.cf-ad--feed .cf-ad__box { min-height: 140px; }
.cf-ad--multiplex .cf-ad__box { min-height: 320px; }
.cf-ad--sidebar, .cf-ad--sidebar_tall { margin: 0; border: 0; padding: 0; }
.cf-ad--sidebar .cf-ad__box { min-height: 250px; }
.cf-ad--sidebar_tall .cf-ad__box { min-height: 600px; }
.cf-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
@media (max-width: 767px) {
	.cf-ad { margin: 28px -16px; padding: 12px 16px; background: var(--cf-surface); border: 0; }
	.cf-ad__box { min-height: 250px; }
	.cf-ad--feed { margin: 0 -16px; }
	.cf-ad--sidebar_tall .cf-ad__box { min-height: 250px; }
}

/* ---------- HOME ---------- */
body.cf-nl.home .site-content { padding: 0; }
body.cf-nl.home .inside-article { padding: 0; background: transparent; }
body.cf-nl.home .entry-content { margin-top: 0; }
.cf-home { padding-bottom: 0; }
.cf-home p { margin-bottom: 0; }

/* Destaque */
.cf-top { padding-top: 32px; padding-bottom: 8px; }
.cf-feature-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cf-feature .cf-media img { aspect-ratio: 16 / 9.4; border-radius: var(--cf-r-md); }
.cf-feature-body { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.cf-feature-title { margin: 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.cf-feature-title a { color: var(--cf-ink); text-decoration: none; }
.cf-feature-excerpt { margin: 0; font-family: var(--cf-read); font-size: 19px; line-height: 1.55; color: #33414B; max-width: 680px; }

/* Em alta (lista ao lado do destaque) */
.cf-trend-list { display: flex; flex-direction: column; }
.cf-trend-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--cf-line); }
.cf-trend-item:first-child { padding-top: 0; }
.cf-trend-item .cf-media img { aspect-ratio: 4 / 3; border-radius: var(--cf-r-sm); }
.cf-trend-title { margin: 4px 0 0; font-size: 16px; font-weight: 700; line-height: 1.28; }
.cf-trend-title a { text-decoration: none; }

/* Linha principal + lateral */
.cf-row { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 40px; padding-bottom: 64px; }
.cf-main { flex: 999 1 560px; min-width: 0; }
.cf-side { flex: 1 1 300px; min-width: 0; max-width: 340px; display: flex; flex-direction: column; gap: 40px; }

/* Lista de ultimas */
.cf-item { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--cf-line); align-items: start; }
.cf-item:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.cf-item:not(:has(img)) .cf-media, .cf-trend-item:not(:has(img)) .cf-media { display: none; }
.cf-trend-item:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.cf-item-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cf-item-title { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.cf-item-title a { text-decoration: none; }
.cf-item-excerpt { margin: 0; font-family: var(--cf-read); font-size: 16px; line-height: 1.55; color: #33414B; }
.cf-more { padding-top: 32px; }

/* Lateral */
.cf-side-block { margin: 0; }
body.cf-nl .cf-rank { counter-reset: cfrank; display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.cf-rank-item { counter-increment: cfrank; display: grid; grid-template-columns: 26px minmax(0, 1fr) 72px; gap: 12px; align-items: center; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--cf-line); }
.cf-rank-item::before { content: counter(cfrank); align-self: start; font-family: var(--cf-head); font-size: 26px; font-weight: 800; line-height: 1; color: var(--cf-accent); }
.cf-rank-thumb { display: block; width: 72px; height: 72px; border-radius: var(--cf-r-sm); overflow: hidden; background: var(--cf-surface); }
.cf-rank-thumb img { display: block; width: 72px; height: 72px; object-fit: cover; }
.cf-rank-item:not(:has(img)) { grid-template-columns: 26px minmax(0, 1fr); }
.cf-rank-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.cf-rank-title a { text-decoration: none; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--cf-surface); font-size: 14px; font-weight: 600; color: var(--cf-ink); text-decoration: none; }
.cf-chip:hover { background: var(--cf-accent); color: #FFFFFF; }
.cf-sticky { position: sticky; top: 24px; }
body.admin-bar .cf-sticky { top: 56px; }

/* Faixa escura */
.cf-band { background: var(--cf-dark); color: #FFFFFF; }
.cf-band-inner { padding-top: 56px; padding-bottom: 56px; }
.cf-band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.cf-band-title { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #FFFFFF; }
.cf-band-link { color: #FFFFFF; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid #6FA3C2; padding-bottom: 2px; }
.cf-band-link:hover { color: #FFFFFF; border-color: #FFFFFF; }
.cf-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cf-band-card { display: flex; flex-direction: column; gap: 14px; }
.cf-band-card .cf-media { background: #16303F; }
.cf-band-card .cf-media img { aspect-ratio: 4 / 3; }
.cf-band-card-title { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.22; color: #FFFFFF; }
.cf-band-card-title a { color: #FFFFFF; text-decoration: none; }
.cf-band-card-title a:hover { color: #FFFFFF; text-decoration: underline; }
.cf-band .cf-meta-line { color: var(--cf-on-dark-muted); }

/* Grade de categoria */
.cf-learn { padding-top: 56px; padding-bottom: 72px; }
.cf-learn-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.cf-learn-title { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.cf-link { color: var(--cf-accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.cf-link:hover { text-decoration: underline; }
.cf-learn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cf-learn-card { display: flex; flex-direction: column; gap: 12px; }
.cf-learn-card .cf-media img { aspect-ratio: 3 / 2; }
.cf-learn-card-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.28; }
.cf-learn-card-title a { text-decoration: none; }

@media (max-width: 1024px) {
	.cf-feature-grid { grid-template-columns: minmax(0, 1fr); }
	.cf-learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cf-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cf-side { max-width: none; }
}
@media (max-width: 767px) {
	.cf-wrap { padding-left: 16px; padding-right: 16px; }
	.cf-top { padding-top: 20px; }
	.cf-row { gap: 40px; padding-top: 28px; padding-bottom: 48px; }
	.cf-item { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.cf-item-title { font-size: 20px; }
	.cf-band-grid, .cf-learn-grid { grid-template-columns: minmax(0, 1fr); }
	.cf-learn-grid { gap: 28px; }
	.cf-sticky { position: static; }
}

/* ---------- POST ---------- */
.cf-post-hero { padding-top: 40px; }
.cf-post-hero-inner { max-width: 860px; }
.cf-post-hero .cf-cat { display: inline-block; margin-bottom: 14px; }
.cf-post-title { margin: 0 0 22px; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.cf-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--cf-line); border-bottom: 1px solid var(--cf-line); }
.cf-author { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.cf-author img { width: 44px; height: 44px; border-radius: 999px; display: block; }
.cf-author-name { font-weight: 700; }
.cf-author-name a { text-decoration: none; }
.cf-author-meta { color: var(--cf-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cf-author-meta p { margin: 0; }
.cf-share { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-share__btn {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 40px; padding: 0 14px;
	border: 1px solid var(--cf-line); border-radius: 999px; background: var(--cf-bg);
	font-family: var(--cf-head); font-size: 13px; font-weight: 600; line-height: 1;
	color: var(--cf-ink); text-decoration: none; cursor: pointer;
}
body.cf-nl .cf-share__btn:hover { border-color: var(--cf-accent); color: var(--cf-accent); background: var(--cf-bg); }
.cf-share__copy.is-copied { border-color: var(--cf-accent); color: var(--cf-accent); }
.cf-byline p, .cf-author-meta p, .cf-post-side > p { margin: 0; }
.cf-byline > p:empty, .cf-post-side > p:empty { display: none; }
.cf-hero-figure { margin: 28px 0 0; }
.cf-hero-figure img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: var(--cf-r-md); background: var(--cf-surface); }

body.cf-nl.single .site-content { padding-top: 36px; }
body.cf-nl.single .inside-article { padding: 0; background: transparent; }
body.cf-nl.single .entry-content { margin-top: 0; }
body.cf-nl.single .entry-content > * { max-width: 720px; }
body.cf-nl.single .entry-content > .alignwide, body.cf-nl.single .entry-content > .alignfull { max-width: none; }
body.cf-nl.single .entry-content {
	font-family: var(--cf-read);
	font-size: 20px;
	line-height: 1.7;
	color: #1C262E;
}
body.cf-nl.single .entry-content p { margin-bottom: 1.3em; }
body.cf-nl.single .entry-content h2 { margin: 1.8em 0 0.6em; font-size: 30px; font-weight: 800; line-height: 1.2; }
body.cf-nl.single .entry-content > h2:first-child,
body.cf-nl.single .entry-content > .cf-ad:first-child + h2 { margin-top: 0; font-size: 22px; font-weight: 600; line-height: 1.4; color: var(--cf-muted); letter-spacing: -0.005em; }
body.cf-nl.single .entry-content h3 { margin: 1.6em 0 0.5em; font-size: 24px; font-weight: 700; line-height: 1.25; }
body.cf-nl.single .entry-content h4 { margin: 1.4em 0 0.5em; font-size: 20px; font-weight: 700; line-height: 1.3; }
body.cf-nl.single .entry-content ul, body.cf-nl.single .entry-content ol { margin: 0 0 1.3em 1.2em; }
body.cf-nl.single .entry-content li { margin-bottom: 0.4em; }
body.cf-nl.single .entry-content a,
body.cf-nl .post .entry-content a { color: var(--cf-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.cf-nl.single .entry-content a:hover { color: var(--cf-accent-strong); text-decoration-thickness: 2px; }
body.cf-nl.single .entry-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 26px;
	border-left: 4px solid var(--cf-accent);
	font-family: var(--cf-head); font-size: 24px; font-weight: 700; font-style: normal; line-height: 1.35; color: var(--cf-ink);
}
body.cf-nl.single .entry-content blockquote p:last-child { margin-bottom: 0; }
body.cf-nl.single .entry-content figure { margin: 1.6em 0; }
body.cf-nl.single .entry-content img { border-radius: var(--cf-r-sm); height: auto; }
body.cf-nl.single .entry-content figcaption { font-family: var(--cf-head); font-size: 13px; line-height: 1.45; color: var(--cf-muted); margin-top: 8px; text-align: left; }
body.cf-nl.single .entry-content table { font-family: var(--cf-head); font-size: 15px; display: block; overflow-x: auto; }
body.cf-nl.single .entry-content .cf-ad { font-family: var(--cf-head); }
body.cf-nl.single .entry-meta,
body.cf-nl.single footer.entry-meta { font-family: var(--cf-head); font-size: 14px; color: var(--cf-muted); max-width: 720px; }
body.cf-nl.single footer.entry-meta a { color: var(--cf-ink); }
body.cf-nl.single .post-navigation { margin-top: 24px; }

/* Caixa do autor (Simple Author Box) e comentarios */
body.cf-nl.single .saboxplugin-wrap { max-width: 720px; border: 1px solid var(--cf-line) !important; border-radius: var(--cf-r-md); font-family: var(--cf-head); }
body.cf-nl .comments-area { max-width: 720px; font-family: var(--cf-head); }
body.cf-nl .comments-title, body.cf-nl .comment-reply-title { font-size: 24px; font-weight: 800; }
body.cf-nl .comment-form textarea, body.cf-nl .comment-form input[type="text"], body.cf-nl .comment-form input[type="email"], body.cf-nl .comment-form input[type="url"] { border: 1px solid #C3CCD3; border-radius: 8px; background: var(--cf-bg); font-size: 16px; }
body.cf-nl .comment-form .submit, body.cf-nl button.submit, body.cf-nl input[type="submit"] { background: var(--cf-ink); color: #FFFFFF; border-radius: 999px; min-height: 46px; padding: 0 24px; font-family: var(--cf-head); font-weight: 700; border: 0; }
body.cf-nl .comment-form .submit:hover, body.cf-nl input[type="submit"]:hover { background: var(--cf-accent); }

/* Lateral do post */
.cf-post-side { display: flex; flex-direction: column; gap: 36px; height: 100%; }
body.cf-nl.single .is-right-sidebar .inside-right-sidebar { height: 100%; }

/* Cabecalho do post em duas colunas: titulo a esquerda, foto a direita */
@media (min-width: 900px) {
	.cf-post-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
	.cf-post-hero-inner { max-width: none; }
	.cf-post-title { font-size: clamp(30px, 3.1vw, 46px); }
	.cf-hero-figure { margin: 0; }
	.cf-hero-figure img { aspect-ratio: 3 / 2; max-height: none; }
	.cf-byline { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 767px) {
	.cf-post-hero { padding-top: 22px; }
	.cf-post-title { margin-bottom: 16px; }
	.cf-hero-figure { margin-left: -16px; margin-right: -16px; }
	.cf-hero-figure img { border-radius: 0; }
	.cf-byline { flex-direction: column; align-items: flex-start; gap: 12px; }
	.cf-share { gap: 6px; }
	.cf-share__btn { min-height: 40px; padding: 0 12px; }
	.cf-share__copy span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.cf-share__copy { width: 40px; padding: 0; justify-content: center; }
	body.cf-nl.single .entry-content { font-size: 18px; line-height: 1.65; }
	body.cf-nl.single .entry-content h2 { font-size: 25px; }
	body.cf-nl.single .entry-content h3 { font-size: 21px; }
	body.cf-nl.single .entry-content blockquote { font-size: 20px; padding-left: 18px; }
	.cf-post-side { margin-top: 24px; }
}
