/* ============================================================
   Pecbol 2026 — single-post.css
   Template: single.php  (notícia individual)
   Depende de: main.css, archive-noticias.css (enfileirados antes)
   ============================================================ */

/* ── Layout principal: grid de 2 colunas ──────────────────── */
.snp-layout {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 40px 64px;
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 52px;
	align-items: start;
}
.snp-left { min-width: 0; }

/* ── Hero: título da notícia (dentro da coluna esquerda) ───── */
.snp-hero {
	padding: 48px 0 44px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 0;
}
.snp-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.snp-breadcrumb a {
	color: var(--brand-texto);
	transition: opacity 0.2s;
}
.snp-breadcrumb a:hover { opacity: 0.7; }
.snp-breadcrumb-sep { opacity: 0.35; }
.snp-cat-pill {
	background: var(--brand);
	color: #fff;
	padding: 4px 14px;
	border-radius: 100px;
	font-size: 0.72rem;
}
.snp-title {
	font-size: clamp(1.9rem, 3.5vw, 3rem);
	font-weight: 700;
	line-height: 1.13;
	color: var(--ink);
	max-width: 820px;
	margin-bottom: 20px;
	padding-left: 20px;
	border-left: 3px solid var(--brand);
}
.snp-meta {
	font-size: 0.85rem;
	color: var(--ink-mute);
	padding-left: 20px;
}

/* ── Coluna principal ──────────────────────────────────────── */
.snp-main { min-width: 0; }

/* Imagem destaque */
.snp-image {
	margin-bottom: 0;
	border-radius: 4px;
	overflow: hidden;
	line-height: 0;
}
.snp-image img {
	width: 100%;
	max-height: 420px;
	display: block;
	object-fit: cover;
	object-position: center 30%;
}

/* Conteúdo do artigo — fonte editorial */
.snp-content {
	background: var(--paper);
	padding: 36px 44px;
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1.85;
	color: var(--ink-soft);
	border: 1px solid var(--line);
	border-top: none;
}
.snp-content p { margin-bottom: 1.3em; }
.snp-content p:last-child { margin-bottom: 0; }
.snp-content h2 {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(1.3rem, 2vw, 1.65rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 1.8em 0 0.7em;
	color: var(--ink);
}
.snp-content h3 {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 1.5em 0 0.5em;
	color: var(--ink);
}
.snp-content ul,
.snp-content ol {
	padding-left: 1.6em;
	margin-bottom: 1.3em;
	list-style: revert;
}
.snp-content li { margin-bottom: 0.35em; }
.snp-content a {
	color: var(--brand-texto);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.snp-content a:hover { color: var(--brand-deep); }
.snp-content blockquote {
	border-left: 3px solid var(--brand);
	padding: 4px 0 4px 20px;
	margin: 1.6em 0;
	font-style: italic;
	color: var(--ink-mute);
	font-size: 1.05rem;
}
.snp-content img { border-radius: 4px; margin: 0.5em 0; }
.snp-content strong { font-weight: 700; color: var(--ink); }

/* ── Compartilhar ──────────────────────────────────────────── */
.snp-share {
	padding: 20px 44px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: none;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.snp-share-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin-right: 4px;
}
.snp-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: opacity 0.2s, transform 0.15s;
}
.snp-share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.snp-share-btn svg { flex-shrink: 0; }
.snp-share-wa { background: #25D366; color: #fff; }
.snp-share-tw { background: #000; color: #fff; }
.snp-share-fb { background: #1877F2; color: #fff; }

/* Atletas relacionados */
.snp-athletes {
	padding: 28px 44px;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-top: none;
}
.snp-section-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin-bottom: 16px;
}
.snp-athletes ul { display: flex; flex-wrap: wrap; gap: 16px; }
.snp-athletes li a {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: color 0.2s;
}
.snp-athletes li a:hover { color: var(--brand); }
.snp-athletes li img {
	width: 44px; height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

/* Tags */
.snp-tags {
	padding: 18px 44px;
	font-size: 0.85rem;
	color: var(--ink-mute);
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: none;
}
.snp-tags a {
	display: inline-block;
	background: var(--bg-alt);
	padding: 4px 12px;
	border-radius: 100px;
	margin: 4px 4px 4px 0;
	font-size: 0.78rem;
	transition: background 0.2s;
}
.snp-tags a:hover { background: var(--brand-glow); }

/* ── CTA band ──────────────────────────────────────────────── */
.snp-cta {
	background: var(--brand-navy);
	color: #fff;
	text-align: center;
	padding: 72px 40px;
}
.snp-cta h2 {
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 28px;
}
.snp-cta h2 em { font-style: italic; color: var(--brand-light); }
.snp-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.snp-cta-btn-fill {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--brand); color: #fff;
	padding: 14px 28px; border-radius: 100px;
	font-size: 0.9rem; font-weight: 700;
	letter-spacing: 0.03em;
	transition: background 0.2s, transform 0.15s;
	text-decoration: none;
}
.snp-cta-btn-fill:hover { background: var(--brand-light); transform: translateY(-2px); }
.snp-cta-btn-outline {
	display: inline-flex; align-items: center; gap: 8px;
	background: transparent; color: #fff;
	padding: 13px 28px; border-radius: 100px;
	font-size: 0.9rem; font-weight: 600;
	border: 1.5px solid rgba(255,255,255,0.4);
	transition: border-color 0.2s, transform 0.15s;
	text-decoration: none;
}
.snp-cta-btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ── Sidebar: sticky, começa do topo, para no fim do artigo ── */
.snp-sidebar {
	position: sticky;
	top: calc(var(--nav-h) + 24px);
	padding-top: 48px; /* alinha com o hero da coluna esquerda */
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - var(--nav-h) - 24px);
}

/* Título: fica parado — fora da área com scroll */
.snp-sidebar-title {
	flex-shrink: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin-bottom: 16px;
}

/* Área rolável: só as notícias sobem */
.snp-news-scroll {
	flex: 1;
	overflow-y: auto;
	scrollbar-width: none;
	min-height: 0;
}
.snp-news-scroll::-webkit-scrollbar { display: none; }

.snp-sidebar .snp-news-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
}

/* Cards do sidebar: compactos, sem badge */
.snp-sidebar .news-card { width: 100%; }
.snp-sidebar .news-card-badge { display: none; }
.snp-sidebar .news-card-img  { aspect-ratio: 16 / 7; }
.snp-sidebar .news-card-body { padding: 14px 18px 18px; }
.snp-sidebar .news-card-title {
	font-size: 14px;
	-webkit-line-clamp: 2;
}
.snp-sidebar .news-card-excerpt { display: none; }
.snp-sidebar .news-card-read    { font-size: 10px; }

.snp-all-news {
	display: block;
	text-align: center;
	margin-top: 16px;
	padding: 11px 16px;
	background: var(--ink);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	border-radius: 4px;
	transition: background 0.2s;
	text-decoration: none;
}
.snp-all-news:hover { background: var(--brand); }

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.snp-layout { grid-template-columns: 1fr 280px; gap: 32px; }
}
@media (max-width: 800px) {
	.snp-layout {
		grid-template-columns: 1fr;
		padding: 0 24px 48px;
	}
	.snp-sidebar {
		position: static;
		padding-top: 0;
		max-height: none;
	}
	.snp-news-scroll {
		overflow-y: visible;
		max-height: none;
	}
	/* Sidebar: grid 2 colunas lado a lado em tablet */
	.snp-sidebar .snp-news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
	.snp-hero { padding: 32px 0 36px; }
	.snp-cta  { padding: 52px 24px; }
}
@media (max-width: 480px) {
	.snp-layout  { padding: 0 16px 40px; }
	.snp-title   { font-size: 1.7rem; padding-left: 14px; }
	.snp-content { font-size: 1rem; padding: 22px 20px; }
	.snp-athletes { padding: 22px 20px; }
	.snp-tags    { padding: 14px 20px; }
	.snp-share   { padding: 16px 20px; }
	.snp-image img { max-height: 260px; }
	/* Sidebar: volta 1 coluna em mobile estreito */
	.snp-sidebar .snp-news-list { grid-template-columns: 1fr; }
	/* Botões compartilhar: empilha */
	.snp-share { flex-direction: column; align-items: flex-start; gap: 10px; }
	/* CTA */
	.snp-cta { padding: 48px 16px; }
	.snp-cta h2 { font-size: 1.6rem; }
}
