/* ==========================================================================
   Notícias — tema editorial
   Tokens vêm do theme.json; aqui ficam componentes e layout.
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group {
	width: 100%;
}

/* No topo do template não existe container: alignwide precisa de regra própria. */
.wp-site-blocks > .alignwide {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto;
	margin-right: auto;
}

a {
	text-underline-offset: 0.15em;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */

.topbar {
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
	font-family: var(--wp--preset--font-family--ui);
}

.topbar p,
.topbar a {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0;
}

.topbar .wp-block-group {
	align-items: center;
	gap: 1rem;
}

.topbar__search .wp-block-search__inside-wrapper {
	border: 0;
	background: transparent;
	padding: 0;
}

.topbar__search .wp-block-search__input {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	border-radius: 0;
	padding: 0.25rem 0.5rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	min-width: 9rem;
}

.topbar__search .wp-block-search__input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.topbar__search .wp-block-search__button {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	border-radius: 0;
	padding: 0.25rem 0.6rem;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Cabeçalho / masthead
   -------------------------------------------------------------------------- */

.masthead {
	text-align: center;
	padding-top: 2rem;
	padding-bottom: 1.5rem;
}

.masthead__lockup {
	align-items: center;
	gap: 1rem;
}

.masthead__logo img {
	display: block;
	border-radius: 50%;
}

.masthead__text {
	text-align: left;
}

.masthead__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: clamp(2rem, 4.6vw, 3.5rem);
	line-height: 1;
	letter-spacing: -0.015em;
}

.masthead__title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.masthead__tagline {
	margin: 0.5rem 0 0;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

/* --------------------------------------------------------------------------
   Navegação principal
   -------------------------------------------------------------------------- */

.mainnav {
	border-top: 1px solid var(--wp--preset--color--ink);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}

.mainnav .mainnav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mainnav .mainnav__list li {
	margin: 0;
}

.mainnav .mainnav__list > li {
	position: relative;
}

.mainnav .has-children > a::after, .mainnav .menu-item-has-children > a::after {
	content: "▾";
	margin-left: 0.35rem;
	font-size: 0.625rem;
}

.mainnav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.mainnav .has-children:hover > .sub-menu, .mainnav .has-children:focus-within > .sub-menu, .mainnav .menu-item-has-children:hover > .sub-menu, .mainnav .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.mainnav .sub-menu a {
	display: block;
	padding: 0.4rem 1rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
}

.mainnav .sub-menu a:hover {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--accent);
}

.mainnav .mainnav__list a {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.mainnav .mainnav__list a:hover {
	color: var(--wp--preset--color--accent);
}

/* --------------------------------------------------------------------------
   Hero — 5 cards
   -------------------------------------------------------------------------- */

.hero-destaques {
	margin-top: 1.75rem;
}

.hero-destaques .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1rem;
}

.hero-destaques .wp-block-post {
	position: relative;
	overflow: hidden;
	margin: 0;
	background: var(--wp--preset--color--contrast);
}

.hero-destaques .wp-block-post-featured-image {
	margin: 0;
	height: 100%;
}

.hero-destaques .wp-block-post-featured-image a {
	display: block;
	height: 100%;
}

.hero-destaques .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.hero-destaques .wp-block-post:hover img {
	transform: scale(1.04);
}

.hero-destaques .hero-card__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 2.75rem 0.75rem 0.7rem;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.55) 45%,
		rgba(0, 0, 0, 0) 100%
	);
	color: #fff;
}

.hero-destaques .hero-card__cat {
	display: inline-block;
	margin-bottom: 0.3rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.5625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #fff;
}

.hero-destaques .hero-card__cat a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.7);
	padding-bottom: 1px;
}

.hero-destaques .hero-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	overflow-wrap: anywhere;
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.22;
}

.hero-destaques .hero-card__title a {
	color: #fff;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Títulos de seção com filetes
   -------------------------------------------------------------------------- */

.section {
	margin-top: 3.5rem;
}

.section__title {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin: 0 0 2rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.15rem, 2.4vw, 1.65rem);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	text-align: center;
	white-space: nowrap;
}

.section__title::before,
.section__title::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--wp--preset--color--ink);
}

/* --------------------------------------------------------------------------
   Grade de posts
   -------------------------------------------------------------------------- */

.post-grid .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2.25rem 1.75rem;
}

.post-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.post-grid .wp-block-post-featured-image {
	margin: 0 0 0.85rem;
	overflow: hidden;
}

.post-grid .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.post-grid .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.03);
}

.card__meta {
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.4rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--muted);
}

.card__cat a {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	text-decoration: none;
}

.card__date {
	color: var(--wp--preset--color--muted);
}

.card__title {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.card__title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.card__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.card__excerpt {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Layout com barra lateral
   -------------------------------------------------------------------------- */

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2.5rem;
	margin-top: 2.25rem;
	align-items: start;
}

.layout__main {
	min-width: 0;
}

.layout__aside {
	min-width: 0;
}

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 2.25rem;
}

.sidebar__title {
	margin: 0 0 0.9rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.sidebar__widget--sticky {
	position: sticky;
	top: 1rem;
}

.sidebar-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-list__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
}

.sidebar-list__thumb {
	flex: 0 0 72px;
	display: block;
}

.sidebar-list__thumb img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.sidebar-list__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.sidebar-list__title:hover {
	text-decoration: underline;
}

.slot-topo {
	margin-top: 1.25rem;
}

/* Arquivo de Web Stories: cartões em 3:4 */
.story-grid .wp-block-post-featured-image {
	margin-bottom: 0.6rem;
}

.story-grid .wp-block-post-featured-image img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
	width: 100%;
}

.story-grid .card__title {
	font-size: 1rem;
	line-height: 1.28;
}

.banner-slot__title {
	margin: 0 0 0.9rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   Post individual
   -------------------------------------------------------------------------- */

.entry-header {
	text-align: center;
	padding-top: 2.75rem;
	padding-bottom: 1.75rem;
}

.entry-header__cat {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
}

.entry-header__cat a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.entry-header__title {
	margin: 0.6rem 0 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.85rem, 4.2vw, 2.9rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.entry-header__meta {
	justify-content: center;
	align-items: center;
	gap: 1rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--muted);
}

.entry-header__meta a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.entry-content {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.125rem;
	line-height: 1.75;
}

.entry-content > p:first-of-type {
	font-size: 1.25rem;
}

.entry-content p {
	margin: 0 0 1.4em;
}

.entry-content a {
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
}

.entry-content h2,
.entry-content h3 {
	margin: 2.2rem 0 0.8rem;
	font-family: var(--wp--preset--font-family--display);
}

.entry-content blockquote {
	margin: 2rem 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--wp--preset--color--ink);
	font-style: italic;
}

.entry-tags {
	margin-top: 2rem;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.entry-tags a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--line);
	padding: 0.2rem 0.55rem;
}

.entry-tags a:hover {
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--ink);
}

.wp-block-post-featured-image img {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Paginação e comentários
   -------------------------------------------------------------------------- */

.wp-block-query-pagination {
	margin-top: 3rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.wp-block-query-pagination a {
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.wp-block-query-pagination a:hover {
	color: var(--wp--preset--color--accent);
}

.wp-block-comments {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.site-footer {
	margin-top: auto;
	padding-top: 2.5rem;
	border-top: 1px solid var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--ui);
}

.site-footer__cols {
	gap: 2rem;
}

.site-footer__title {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.site-footer p,
.site-footer a {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--wp--preset--color--contrast);
}

.site-footer .wp-block-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .wp-block-categories-list li {
	margin-bottom: 0.35rem;
}

.site-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1rem;
	padding-bottom: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--line);
	gap: 1rem;
}

.site-footer__bottom p {
	margin: 0;
	font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Ticker de últimas
   -------------------------------------------------------------------------- */

.topbar__inner {
	position: relative;
	justify-content: flex-end;
	width: 100%;
	gap: 1rem;
}

.ticker {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	width: min(72%, 820px);
}

.ticker__viewport {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 1.15rem;
}

.ticker__item {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-width: 0;
	opacity: 0;
	transition: opacity 0.4s ease;
	text-decoration: none;
	color: #fff;
}

.ticker__item.is-active {
	opacity: 1;
}

.ticker__time {
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.6875rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.8);
}

.ticker__title {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
}

.topbar .ticker__title {
	text-transform: none;
	letter-spacing: 0;
}

.ticker__dots {
	display: flex;
	gap: 0.25rem;
	flex: 0 0 auto;
}

.ticker__dot {
	width: 5px;
	height: 5px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}

.ticker__dot.is-active {
	background: #fff;
}

/* --------------------------------------------------------------------------
   Hero: 1 destaque com slider + 4 cards
   -------------------------------------------------------------------------- */

.hero-wrap {
	margin-top: 1.5rem;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 1rem;
}

.hero--solo {
	grid-template-columns: minmax(0, 1fr);
}

.hero--solo .hero-main__slides {
	aspect-ratio: 21 / 9;
}

.hero-main {
	position: relative;
	overflow: hidden;
	background: #111;
}

.hero-main__slides {
	position: relative;
	aspect-ratio: 16 / 10;
}

.hero-main__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
	text-decoration: none;
}

.hero-main__slide.is-active {
	opacity: 1;
}

.hero-main__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-main__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 3.5rem 1.25rem 1.1rem;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.45) 55%,
		rgba(0, 0, 0, 0) 100%
	);
}

.hero-main__cat {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #fff;
}

.hero-main__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.14;
	color: #fff;
}

.hero-nav {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.hero-nav--prev {
	right: 3.1rem;
}

.hero-nav:hover {
	background: rgba(0, 0, 0, 0.85);
}

.hero-dots {
	position: absolute;
	right: 0.85rem;
	bottom: 0.55rem;
	z-index: 2;
	display: flex;
	gap: 0.3rem;
}

.hero-dot {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.hero-dot.is-active {
	background: #fff;
}

.hero-side {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 1rem;
}

.hero-side__slot {
	position: relative;
	overflow: hidden;
	background: #111;
	min-height: 120px;
}

.hero-side__slot .hero-card {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.hero-side__slot .hero-card.is-active {
	opacity: 1;
}

.hero-card {
	position: relative;
	overflow: hidden;
	background: #111;
	text-decoration: none;
}

.hero-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-card__body {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 2.5rem 0.7rem 0.6rem;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.35) 60%,
		rgba(0, 0, 0, 0) 100%
	);
}

.hero-card__cat {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.5625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #fff;
}

.hero-card__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.22;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Seções por editoria
   -------------------------------------------------------------------------- */

.home-sections {
	margin-top: 0.5rem;
}

.section-dobra {
	margin-top: 2.75rem;
}

.section-dobra .hero {
	margin-top: 1.5rem;
}

.dobra-row {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}

.dobra-row .section-card__title {
	font-size: 0.875rem;
	line-height: 1.25;
}

.hero-side--three {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: repeat(3, minmax(0, 1fr));
}

.section-block {
	margin-top: 2.75rem;
}

.section-block__title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	font-weight: 600;
}

.section-block__title::after {
	content: "";
	flex: 1 1 auto;
	height: 2px;
	background: var(--wp--preset--color--accent);
}

.section-block__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.section-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.section-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 0.6rem;
}

.section-card__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--contrast);
}

.section-card:hover .section-card__title {
	text-decoration: underline;
}

/* Faixa de publicidade com um único rótulo */
.ads-dobra:not(:has(.banner-slot)) {
	display: none;
}

.ads-row__items {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2.5rem;
	align-items: center;
}

.ads-row__items .banner-slot {
	margin: 0;
}

.ads-row__items .banner-slot--home-conteudo {
	max-width: 100%;
	justify-self: start;
}

.ads-row__items .banner-slot--home-conteudo img {
	width: 100%;
	height: auto;
}

.ads-row__items .banner-slot--vertical {
	max-width: 300px;
	justify-self: end;
}

/* --------------------------------------------------------------------------
   Redes sociais e compartilhar
   -------------------------------------------------------------------------- */

.social {
	display: flex;
	gap: 0.5rem;
}

.social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #222;
	color: #fff;
}

.social__link svg {
	width: 19px;
	height: 19px;
}

.social__link--facebook {
	background: #1877f2;
}

.social__link--instagram {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social__link--whatsapp {
	background: #25d366;
}

.social__link--tiktok {
	background: #000000;
}

.social__link--youtube {
	background: #ff0000;
}

.share {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 2rem 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--line);
}

.share__label {
	margin-right: 0.25rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--muted);
}

.share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #111;
	color: #fff;
}

.share__link svg {
	width: 18px;
	height: 18px;
}

.share__link--whatsapp {
	background: #25d366;
}

.share__link--facebook {
	background: #1877f2;
}

/* --------------------------------------------------------------------------
   Rodapé institucional
   -------------------------------------------------------------------------- */

.site-footer {
	background: #0b0b0b;
	color: #d8d8d8;
	border-top: 0;
	margin-top: 3rem;
	padding: 2.5rem 0 1.5rem;
}

.site-footer p,
.site-footer a {
	color: #bdbdbd;
}

.site-footer a:hover {
	color: #fff;
}

.site-footer__inner {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

.site-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2.5rem;
	align-items: start;
}

.site-footer__name {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.15rem;
	font-weight: 600;
	color: #fff;
}

.site-footer__text {
	margin: 0 0 0.25rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.8125rem;
	line-height: 1.6;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #222;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	color: #888;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.site-footer__sep {
	color: #555;
}

/* --------------------------------------------------------------------------
   Voltar ao topo
   -------------------------------------------------------------------------- */

.to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #111;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease,
		background 0.2s ease;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	background: var(--wp--preset--color--accent);
}

.to-top svg {
	width: 20px;
	height: 20px;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.site-footer__inner {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
	.hero-destaques .wp-block-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.post-grid .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.site-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar__widget--sticky {
		position: static;
	}

	.ads-row__items {
		grid-template-columns: minmax(0, 1fr);
	}

	.ads-row__items .banner-slot--vertical {
		justify-self: center;
		width: 100%;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

	.hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-side {
		grid-template-rows: auto;
	}

	.hero-side__slot {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.section-block__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dobra-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.masthead {
		padding-top: 1.75rem;
		padding-bottom: 1.25rem;
	}

	/* Respiro lateral no mobile */
	.layout,
	.home-sections,
	.hero-wrap,
	.slot-topo,
	.ads-dobra,
	.site-footer__inner {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.topbar {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.topbar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.45rem;
	}

	.ticker {
		position: static;
		transform: none;
		width: 100%;
	}

	.ticker__viewport {
		height: 1.25rem;
	}

	.masthead__lockup {
		flex-direction: column;
	}

	.masthead__text {
		text-align: center;
	}

	/* No celular, só banners largos (1190x250) e quadrados (300x250) */
	.banner-slot--home-conteudo,
	.banner-slot--post-fim {
		display: none;
	}

	.hero-destaques .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.post-grid .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.site-footer__cols {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.section__title {
		white-space: normal;
	}

	.section-block__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dobra-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ticker__dots {
		display: none;
	}

	.hero-main__title {
		font-size: 1.25rem;
	}
}
