
	.portalweb-home-heading { margin-top: 26px; margin-bottom: 0; }
	.portalweb-home-heading h1 {
		margin: 0; color: inherit; font-size: clamp(24px, 2.5vw, 32px);
		font-weight: 800; line-height: 1.25;
	}
	.portalweb-latest-heading { margin-top: 22px; margin-bottom: 0; }
	.portalweb-latest-heading h2 {
		margin: 0; padding: 0 0 12px;
		border-bottom: 2px solid var(--portal-accent, #222);
		color: inherit; font-size: clamp(23px, 2.5vw, 30px);
		font-weight: 800; line-height: 1.2;
	}
	#primary .top-stories { margin-top: 18px; }
	#primary .top-stories .top-story-main .portalweb-featured-title {
		display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
		overflow: hidden; max-height: 3.6em; margin: 0;
		font-size: 26px; font-weight: 700; line-height: 1.2;
		letter-spacing: normal; text-wrap: pretty; color: #fff;
		text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
	}
	#primary .top-stories .top-story-main > a { padding: 26px; }
	#primary .top-stories .top-story-small h2 {
		display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
		overflow: hidden; max-height: 3.75em; margin: 0;
		font-size: 18px; font-weight: 700; line-height: 1.25;
		letter-spacing: normal; text-wrap: pretty;
		text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
	}
	#primary .top-stories .top-story-small > a > div { padding: 18px; }
	#primary .top-stories .story-kicker {
		max-width: 100%; margin-bottom: 8px; font-size: 12px; line-height: 1.3;
	}
	#primary .top-stories .top-story-main > a::after,
	#primary .top-stories .top-story-small > a::after {
		background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.58) 32%, rgba(0,0,0,.12) 65%, rgba(0,0,0,0) 100%);
	}
	@media (max-width: 600px) {
		.portalweb-home-heading { margin-top: 20px; }
		.portalweb-home-heading h1 { font-size: 24px; }
		.portalweb-latest-heading { margin-top: 20px; }
		.portalweb-latest-heading h2 { font-size: 24px; padding-bottom: 10px; }
		#primary .top-stories { margin-top: 14px; }
		#primary .top-stories .top-story-main > a { padding: 18px; }
		#primary .top-stories .top-story-main .portalweb-featured-title { font-size: 21px; }
		#primary .top-stories .top-story-small h2 { font-size: 17px; }
		#primary .top-stories .top-story-small > a > div { padding: 16px; }
	}

/* Ajustes aprovados: H1 discreto e centralizado. */
#primary .portalweb-home-heading { margin-top: 12px; }
#primary .portalweb-home-heading h1 { font-size: 16px; font-weight: 600; line-height: 1.4; text-align: center; }
@media (max-width: 600px) { #primary .portalweb-home-heading h1 { font-size: 14px; } }

/* Editorias da homepage: três cartões e chamadas compactas no celular. */
.pw-category-section { margin-top: 36px; margin-bottom: 36px; }
.pw-category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--portal-accent, #b51616); padding-bottom: 12px; margin-bottom: 20px; }
.pw-category-heading h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin: 0; }
.pw-category-heading a { flex-shrink: 0; font-size: 13px; font-weight: 600; color: #444; padding: 5px 0; }
.pw-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pw-category-card { min-width: 0; }
.pw-category-card > a { display: block; color: inherit; text-decoration: none; }
.pw-category-photo { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; background: #eee; }
.pw-category-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pw-category-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #eee, #d9d9d9); }
.pw-category-copy h3 { font-size: 19px; line-height: 1.4; margin: 12px 0 8px; overflow-wrap: anywhere; }
.pw-category-copy time { color: #666; font-size: 12px; }
.pw-category-card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.pw-category-card a:focus-visible, .pw-category-heading a:focus-visible { outline: 2px solid #2453a6; outline-offset: 4px; }
.pw-category-ad { margin-top: 32px; margin-bottom: 32px; min-width: 0; text-align: center; }
.pw-ad-label { display: block; color: #666; font-size: 10px; letter-spacing: .08em; margin-bottom: 8px; }
.pw-category-ad-content { width: 100%; max-width: 100%; min-height: 90px; }
.pw-category-ad-content iframe, .pw-category-ad-content img { max-width: 100%; }
@media (max-width: 640px) {
 .pw-category-section { margin-top: 28px; margin-bottom: 28px; }
 .pw-category-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .pw-category-heading { margin-bottom: 16px; gap: 10px; }
 .pw-category-heading h2 { font-size: 22px; }
 .pw-category-card:not(.pw-category-lead) > a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; border-top: 1px solid #e6e6e6; padding-top: 16px; }
 .pw-category-card:not(.pw-category-lead) .pw-category-photo { aspect-ratio: 4 / 3; }
 .pw-category-card:not(.pw-category-lead) h3 { margin-top: 0; font-size: 15px; line-height: 1.4; }
 .pw-category-lead h3 { font-size: 19px; }
}

/* Mesma altura por linha, sem truncar títulos. */
@media (min-width: 641px) {
 .pw-category-card > a { display: flex; flex-direction: column; height: 100%; }
 .pw-category-photo { flex-shrink: 0; }
 .pw-category-copy { display: flex; flex-direction: column; flex: 1; }
 .pw-category-copy h3 { flex: 1; }
 .pw-category-copy time { margin-top: auto; }
}

.pw-hero-carousel { position: relative; }
#primary .top-stories .pw-hero-carousel > a { padding-bottom: 76px; }
.pw-hero-controls { position: absolute; bottom: 12px; right: 16px; display: flex; align-items: center; gap: 6px; color: #fff; background: #171717; border-radius: 5px; padding: 2px 6px; font-size: 12px; }
.pw-hero-controls[hidden] { display: none; }
.pw-hero-controls button { min-width: 36px; min-height: 36px; padding: 4px; border: 0; background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.pw-hero-controls button:hover { background: #444; }
.pw-hero-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
