/**
 * Sub Home (homepages personalizadas, ex.: /elas-por-elas/).
 * Layout: banner, destaque (artigo + botões), grid 3 col, grid 4 col, Notas do PT.
 *
 * @package PT2026
 */

/* Barra do menu (pt_banner_menu) */
.pt2026-subhome-menu-bar {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 260px;
	min-height: 260px;
	overflow: hidden;
}

.pt2026-subhome-menu-topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	background-color: #000;
}

.pt2026-subhome-menu-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
}

.pt2026-subhome-menu-logo {
	width: 22px;
	height: 22px;
	display: block;
}

.pt2026-subhome-menu-title {
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.1;
}

.pt2026-sub-home .pt2026-subhome-banner img {
	vertical-align: middle;
}

/* Destaque principal: artigo à esquerda, botões à direita */
.pt2026-subhome-destaque-principal {
	padding: 1.5rem 0;
}

.pt2026-subhome-destaque-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pt2026-subhome-destaque-figure {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f0f0f0;
	border-radius: 12px;
}

.pt2026-subhome-destaque-figure img {
	border-radius: 12px;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.pt2026-subhome-destaque-body {
	padding: 1rem 1.25rem;
}

.pt2026-subhome-destaque-cat {
	color: #6c757d;
}

.pt2026-subhome-destaque-title a {
	color: inherit;
}

.pt2026-subhome-destaque-title a:hover {
	color: var(--pt2026-primary, #c00);
}

.pt2026-subhome-destaque-excerpt {
	font-size: 0.95rem;
	color: #495057;
}

/* Botões ao lado do destaque (alternância roxo / vermelho) */
.pt2026-subhome-botoes {
	min-height: 200px;
}

.pt2026-subhome-btn {
	border-radius: 12px;
	display: block;
	border: none;
	font-size: 1rem;
	transition: opacity 0.2s;
}

.pt2026-subhome-btn img {
	border-radius: 12px;
}

.pt2026-subhome-btn:hover {
	opacity: 0.9;
	color: #fff;
}

.pt2026-subhome-btn-primary {
	background-color: #4a148c;
}

.pt2026-subhome-btn-secondary {
	background-color: #c62828;
}

.pt2026-subhome-btn-img img {
	max-width: 100%;
	height: auto;
	display: block;
}

.pt2026-subhome-destaque-section-title {
	font-size: 1.25rem;
	font-weight: 700;
}

/* Cards dos grids (3 col e 4 col) */
.pt2026-subhome-card .noticias-card-figure {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 0.5rem;
}

.pt2026-subhome-card .noticias-card-figure img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* Seção Notas do PT: barra vermelha + cards com fundo vermelho */
.pt2026-subhome-notas {
	background: #f8f9fa;
}

.pt2026-subhome-notas-bar {
	background-color: #c62828;
	color: #fff;
	padding: 0.75rem 1rem;
	font-size: 1.1rem;
}

.pt2026-subhome-notas-bar a:hover {
	color: #fff;
	opacity: 0.9;
}

.pt2026-subhome-notas-card {
	background: #c62828;
	border-radius: 0.5rem;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.pt2026-subhome-notas-figure {
	margin-bottom: 0;
	flex: 0 0 100px;
	min-width: 100px;
	width: 100px;
	height: 100px;
	overflow: hidden;
}

.pt2026-subhome-notas-figure img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	opacity: 0.9;
}

.pt2026-subhome-notas-body {
	padding: 0.75rem 1rem;
	color: #fff;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.pt2026-subhome-notas-body a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.pt2026-subhome-notas-body a:hover {
	text-decoration: underline;
}

.pt2026-subhome-notas-body p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.875rem;
}

.pt2026-subhome-destaque-title {
	font-family: var(--pt2026-font-display-cond);
}