/**
 * Divulga Nazaré - Main Stylesheet
 * Mobile-first responsive design
 */

/* ==========================================================================
   CSS Variables (defaults - overridden by Customizer)
   ========================================================================== */
:root {
	--dn-primary: #f17327;
	--dn-accent: #e54a42;
	--dn-hover: #f5711f;
	--dn-text: #404040;
	--dn-heading: #000000;
	--dn-bg: #ffffff;
	--dn-bg-alt: #f6f7f8;
	--dn-header-bg: #f3f3f3;
	--dn-link: #e16a38;
	--dn-border: #dddddd;
	--dn-radius: 4px;
	--dn-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	--dn-container: 1120px;
	--dn-font: Arial, Helvetica, Verdana, sans-serif;
	--dn-transition: 0.2s ease;
	--header-bar-height: 82px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--dn-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--dn-text);
	background: var(--dn-bg-alt);
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--dn-link);
	text-decoration: none;
	transition: color var(--dn-transition);
}

a:hover,
a:focus {
	color: var(--dn-hover);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--dn-heading);
	line-height: 1.3;
	margin: 0 0 0.5em;
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0;
	padding: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: 100%;
	max-width: var(--dn-container);
	margin: 0 auto;
	padding: 0 16px;
}

/* ==========================================================================
   Header – Divulga Nazaré
   ========================================================================== */
.site-header {
	background: var(--dn-bg);
	box-shadow: none;
	position: sticky;
	top: 0;
	z-index: 1000;
	--header-control-size: 36px;
	--header-icon-size: 20px;
	--header-logo-height: 66px;
}

.header-top {
	background: var(--dn-primary);
	overflow: visible;
}

.header-top-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0;
	min-height: var(--header-bar-height);
	padding: 8px 0;
	position: relative;
	overflow: visible;
}

.header-top-left {
	display: flex;
	align-items: center;
	gap: 6px;
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	position: relative;
	z-index: 3;
	min-width: 0;
	overflow: visible;
}

.header-top-center {
	grid-column: 1 / -1;
	grid-row: 1;
	justify-self: center;
	text-align: center;
	max-width: min(140px, 40vw);
	z-index: 2;
	pointer-events: none;
}

.header-top-center .custom-logo-link,
.header-top-center .site-logo-text {
	pointer-events: auto;
}

.header-top-right {
	display: flex;
	justify-content: flex-end;
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	min-width: 0;
	position: relative;
	z-index: 3;
	overflow: visible;
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
}

.header-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--header-control-size);
	height: var(--header-control-size);
	padding: 0;
	border: none;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: opacity var(--dn-transition);
	flex-shrink: 0;
}

.header-icon-btn:hover,
.header-icon-btn:focus {
	opacity: 0.85;
	color: #fff;
}

.header-icon-btn svg {
	width: var(--header-icon-size);
	height: var(--header-icon-size);
	display: block;
	flex-shrink: 0;
	stroke: currentColor;
	fill: none;
	transform: scale(1.06);
}

.theme-toggle {
	position: relative;
}

.theme-toggle-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.theme-toggle-icon svg {
	width: var(--header-icon-size);
	height: var(--header-icon-size);
	flex-shrink: 0;
	transform: scale(1.06);
}

.theme-toggle-icon[hidden] {
	display: none !important;
}

.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: calc((var(--header-icon-size) - 6px) / 2);
	width: var(--header-control-size);
	height: var(--header-control-size);
	padding: calc((var(--header-control-size) - var(--header-icon-size)) / 2);
	background: transparent;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
}

.menu-toggle-bar {
	display: block;
	width: calc(var(--header-icon-size) * 0.88);
	height: 1.75px;
	background: #fff;
	border-radius: 1px;
	transition: transform var(--dn-transition), opacity var(--dn-transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(calc((var(--header-icon-size) - 6px) / 2 + 2px)) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(calc((var(--header-icon-size) - 6px) / -2 - 2px)) rotate(-45deg);
}

.social-links {
	display: flex;
	gap: 6px;
	align-items: center;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--header-control-size);
	height: var(--header-control-size);
	color: #fff;
	background: transparent;
	transition: opacity var(--dn-transition);
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}

.social-link:hover,
.social-link:focus {
	opacity: 0.85;
	color: #fff;
}

.social-link svg {
	width: var(--header-icon-size);
	height: var(--header-icon-size);
	display: block;
	flex-shrink: 0;
	fill: currentColor;
}

.social-link--facebook svg {
	transform: scale(1.08);
}

.social-link--instagram svg {
	transform: scale(1.12);
}

.social-link--whatsapp_group svg {
	transform: scale(1.02);
}

@media (max-width: 575px) {
	:root {
		--header-bar-height: 74px;
	}

	.site-header {
		--header-control-size: 34px;
		--header-icon-size: 21px;
		--header-logo-height: 58px;
		--header-bar-height: 74px;
	}

	.header-top .container,
	.header-search-panel .container {
		padding-left: max(16px, env(safe-area-inset-left, 0px));
		padding-right: max(16px, env(safe-area-inset-right, 0px));
	}

	.header-top-inner {
		padding: 8px 0;
	}

	.header-top-left {
		gap: 4px;
	}

	.header-top-left .social-links {
		gap: 3px;
	}

	.header-top-center {
		max-width: 112px;
	}

	.header-actions {
		gap: 0;
	}

	.site-branding .custom-logo-link img,
	.site-branding .custom-logo {
		width: 112px;
		height: var(--header-logo-height);
		max-width: 112px;
		max-height: var(--header-logo-height);
	}

	.main-navigation.is-open {
		max-height: calc(100dvh - var(--header-bar-height));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.footer-links-list {
		gap: 8px 12px;
	}

	.footer-links-list a {
		font-size: 13px;
	}

	.scroll-top {
		bottom: 16px;
		right: 16px;
		width: 42px;
		height: 42px;
	}

	.whatsapp-contact {
		bottom: 16px;
		left: 16px;
		min-height: 42px;
		padding: 9px 12px;
	}

	.whatsapp-contact-text {
		font-size: 12px;
	}
}

@media (max-width: 359px) {
	:root {
		--header-bar-height: 72px;
	}

	.site-header {
		--header-control-size: 32px;
		--header-icon-size: 20px;
		--header-logo-height: 56px;
		--header-bar-height: 72px;
	}

	.header-top-left .social-links {
		gap: 2px;
	}

	.site-branding .custom-logo-link img,
	.site-branding .custom-logo {
		width: 108px;
		max-width: 108px;
	}
}

.social-link--pending {
	cursor: default;
	opacity: 0.85;
}

.site-branding .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.site-branding .custom-logo-link img,
.site-branding .custom-logo {
	width: 128px;
	height: var(--header-logo-height);
	max-width: 128px;
	max-height: var(--header-logo-height);
	object-fit: contain;
	object-position: center center;
	display: block;
	transform: translateY(4px);
}

.site-logo-text {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
	text-decoration: none;
	line-height: 1.1;
}

.site-logo-mark {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: 1px;
}

.site-logo-sub {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 2px;
}

.header-search-panel {
	background: var(--dn-primary);
	padding: 0 0 14px;
}

.header-search-panel[hidden] {
	display: none;
}

.header-search-panel .search-form {
	display: flex;
	max-width: 480px;
	margin: 0 auto;
	border: none;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.search-form {
	display: flex;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.search-field {
	flex: 1;
	border: none;
	padding: 10px 14px;
	font-size: 14px;
	min-width: 0;
	outline: none;
}

.search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	color: var(--dn-primary);
	padding: 8px 14px;
	cursor: pointer;
}

.search-submit svg {
	width: 20px;
	height: 20px;
}

.search-submit:hover {
	color: var(--dn-hover);
}

/* Navigation */
.main-navigation {
	background: var(--dn-header-bg);
	border-bottom: 1px solid #e6e6e6;
	display: none;
}

.main-navigation.is-open {
	display: block;
}

.main-navigation .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .menu li a {
	display: block;
	padding: 14px 16px;
	color: #111;
	font-size: 15px;
	font-weight: 500;
	border-bottom: 1px solid #e8e8e8;
	transition: color var(--dn-transition);
}

.main-navigation .menu li:last-child a {
	border-bottom: none;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li.current-menu-item > a,
.main-navigation .menu li.current-menu-ancestor > a {
	color: var(--dn-accent);
	background: transparent;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.site-main {
	padding: 20px 0 40px;
	min-height: 50vh;
}

.section-title,
.page-title {
	font-size: 1.5rem;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--dn-primary);
}

.section-title a {
	color: var(--dn-heading);
	text-decoration: none;
	transition: color var(--dn-transition);
}

.section-title a:hover,
.section-title a:focus {
	color: var(--dn-primary);
}

.home-category {
	margin-top: 36px;
}

.home-category .section-title {
	margin-bottom: 16px;
}

.home-categories-layout {
	margin-top: 36px;
}

.home-categories-layout.has-parceiros-sidebar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.home-categories-main {
	flex: 1 1 auto;
	min-width: 0;
}

.home-categories-main .home-category:first-child {
	margin-top: 0;
}

.home-categories-layout.has-parceiros-sidebar .parceiros-sidebar {
	display: block;
	padding-top: 39px;
	margin-left: auto;
}

.home-categories-layout.has-parceiros-sidebar .parceiros-sidebar-inner {
	--parceiro-sidebar-space: 8px;
	--parceiro-logo-size: 128px;
}

.home-categories-layout.has-parceiros-sidebar .posts-grid--category {
	gap: 12px;
}

.home-categories-layout.has-parceiros-sidebar .post-card-image,
.home-categories-layout.has-parceiros-sidebar .post-card-image--placeholder {
	aspect-ratio: 16 / 9;
}

.home-categories-layout.has-parceiros-sidebar .post-card-content {
	padding: 10px;
}

.home-categories-layout.has-parceiros-sidebar .post-card-title {
	font-size: 0.9rem;
	line-height: 1.3;
	-webkit-line-clamp: 3;
	min-height: calc(1.3em * 3);
}

/* Partners sidebar */
.parceiros-sidebar {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	margin: 0;
	padding-top: 0;
	align-self: flex-start;
}

.parceiros-sidebar-inner {
	--parceiro-sidebar-space: 8px;
	--parceiro-logo-size: 100px;
	box-sizing: border-box;
	width: calc(var(--parceiro-logo-size) + (var(--parceiro-sidebar-space) * 2));
	background: #f3f3f3;
	border-radius: 4px;
	padding: var(--parceiro-sidebar-space);
	position: sticky;
	top: calc(var(--header-bar-height, 82px) + 8px);
}

.parceiros-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--parceiro-sidebar-space);
	width: 100%;
}

.parceiro-item {
	flex: 0 0 auto;
	align-self: stretch;
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	border: none;
}

.parceiro-item--logo {
	width: 100%;
	max-width: none;
	background: transparent;
}

.parceiro-item:hover {
	transform: none;
	box-shadow: none;
	opacity: 0.92;
}

.parceiros-sidebar .parceiro-link {
	display: block;
	line-height: 0;
	border-radius: 0;
	overflow: visible;
}

.parceiros-sidebar .parceiro-link--logo {
	aspect-ratio: 6 / 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: transparent;
	padding: 0;
	border-radius: 0;
	overflow: hidden;
}

.parceiros-sidebar .parceiro-logo-img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	border-radius: 4px;
}

.parceiros-sidebar .parceiro-link:not(.parceiro-link--logo) {
	aspect-ratio: 4 / 1;
}

.parceiros-sidebar .parceiro-img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 0;
}

.parceiros-list-title,
.parceiros-sidebar .widget-title {
	display: none;
}

.parceiros-sidebar .parceiro-item--widget {
	background: transparent;
	border: none;
	border-radius: 3px;
	overflow: hidden;
}

.parceiros-sidebar .widget {
	margin: 0;
}

.parceiros-sidebar .widget:last-child {
	margin-bottom: 0;
}

.category-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--dn-accent);
}

.category-badge--pill {
	background: var(--dn-primary);
	color: #fff;
	padding: 4px 10px;
	border-radius: 2px;
	margin-bottom: 10px;
	line-height: 1.4;
	align-self: flex-start;
	width: fit-content;
}

.category-badge--pill:hover,
.category-badge--pill:focus {
	background: var(--dn-hover);
	color: #fff;
}

/* Post Cards Grid */
.posts-featured {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 20px;
	align-items: stretch;
}

.posts-grid--latest {
	margin-bottom: 0;
}

.posts-grid--category {
	margin-bottom: 0;
}

.posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: stretch;
}

.post-card {
	background: var(--dn-bg);
	border-radius: var(--dn-radius);
	overflow: hidden;
	box-shadow: var(--dn-shadow);
	transition: box-shadow var(--dn-transition);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.post-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.post-card-image-link {
	display: block;
	line-height: 0;
	flex-shrink: 0;
}

.post-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.post-card-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-card-image .dn-thumbnail-wrap {
	position: absolute;
	inset: 0;
}

.post-card-image .dn-thumbnail-wrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dn-sponsored-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(0, 0, 0, 0.42);
	padding: 3px 7px;
	border-radius: 2px;
	pointer-events: none;
	max-width: calc(100% - 16px);
}

.post-card-image--placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
}

.post-card-content {
	padding: 16px;
	background: var(--dn-bg-alt);
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-card-title {
	font-size: 1.05rem;
	margin: 0;
	color: var(--dn-heading);
	line-height: 1.4;
	font-weight: 700;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	min-height: calc(1.4em * 3);
}

.post-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--dn-transition);
}

.post-card-title a:hover,
.post-card-title a:focus {
	color: var(--dn-primary);
}

.post-card--lead .post-card-image,
.post-card--lead .post-card-image--placeholder {
	aspect-ratio: 16 / 9;
}

.post-card--lead .post-card-title {
	font-size: 1.25rem;
	-webkit-line-clamp: 4;
	min-height: calc(1.4em * 4);
}

.post-card--lead .post-card-content {
	padding: 18px;
}

/* ==========================================================================
   Single Post – base (see single-post.css for Piripiri layout)
   ========================================================================== */

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 32px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: var(--dn-bg);
	border: 1px solid var(--dn-border);
	border-radius: var(--dn-radius);
	color: var(--dn-text);
	font-size: 14px;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--dn-primary);
	border-color: var(--dn-primary);
	color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: #fff;
	color: #666;
	margin-top: 40px;
}

.footer-links-bar {
	background: var(--dn-primary);
	padding: 18px 0;
}

.footer-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 16px;
}

@media (min-width: 768px) {
	.footer-links-list {
		gap: 12px 28px;
	}
}

.footer-links-list a {
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	line-height: 1.4;
	transition: opacity var(--dn-transition);
}

.footer-links-list a:hover,
.footer-links-list a:focus {
	opacity: 0.85;
	text-decoration: underline;
}

.footer-copyright-bar {
	background: #fff;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.copyright {
	margin: 0;
	text-align: center;
	font-size: 13px;
	color: #999;
	line-height: 1.5;
}

.theme-credit {
	margin: 6px 0 0;
	text-align: center;
	font-size: 12px;
	color: #aaa;
	line-height: 1.5;
}

.theme-credit a {
	color: #888;
	text-decoration: none;
}

.theme-credit a:hover,
.theme-credit a:focus {
	color: var(--dn-primary);
	text-decoration: underline;
}

/* Page template */
.page-article {
	padding: 24px 0 40px;
}

.page-article .entry-title {
	font-size: 1.75rem;
	margin: 0 0 20px;
	color: var(--dn-heading);
}

.page-article .entry-content {
	font-size: 15px;
	line-height: 1.75;
	color: var(--dn-text);
	text-align: justify;
	hyphens: auto;
}

.page-article .entry-content h2,
.page-article .entry-content h3,
.page-article .quem-somos-layout,
.page-article .page-contact-list {
	text-align: left;
}

.page-article .entry-content h2 {
	font-size: 1.25rem;
	margin: 1.5em 0 0.75em;
	color: var(--dn-heading);
}

.page-article .entry-content h2:first-child,
.page-article .quem-somos-content h2 {
	margin-top: 0;
}

.page-article .entry-content ul,
.page-article .page-contact-list {
	padding-left: 1.2em;
}

.page-article .page-contact-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.page-article .page-contact-list li + li {
	margin-top: 10px;
}

.page-article .entry-content a {
	color: var(--dn-link);
}

.page-article .dn-button-link {
	display: inline-block;
	margin-top: 8px;
	padding: 10px 18px;
	background: var(--dn-primary);
	color: #fff !important;
	border-radius: var(--dn-radius);
	font-weight: 600;
	text-decoration: none;
}

.page-article .dn-button-link:hover,
.page-article .dn-button-link:focus {
	background: var(--dn-hover);
	color: #fff !important;
}

.quem-somos-layout {
	display: grid;
	gap: 24px;
	align-items: start;
}

.quem-somos-content h2 {
	margin-top: 0;
}

.quem-somos-photo {
	margin: 0;
	max-width: 320px;
}

.quem-somos-photo img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--dn-radius);
}

@media (min-width: 768px) {
	.quem-somos-layout {
		grid-template-columns: 1fr minmax(220px, 300px);
		gap: 32px;
	}

	.quem-somos-photo {
		justify-self: end;
	}
}

/* Floating actions */
.whatsapp-contact {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(37, 211, 102, 0.92);
	color: #fff;
	box-shadow: var(--dn-shadow);
	text-decoration: none;
	transition: background var(--dn-transition), opacity var(--dn-transition), transform var(--dn-transition);
}

.whatsapp-contact:hover,
.whatsapp-contact:focus {
	background: #25d366;
	color: #fff;
	opacity: 1;
	transform: translateY(-1px);
}

.whatsapp-contact-icon,
.whatsapp-contact-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.whatsapp-contact-text {
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.scroll-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: var(--dn-primary);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	box-shadow: var(--dn-shadow);
	z-index: 999;
	transition: background var(--dn-transition), opacity var(--dn-transition);
}

.scroll-top:hover {
	background: var(--dn-hover);
}

.scroll-top[hidden] {
	display: none;
}

@media (max-width: 575px) {
	.scroll-top {
		bottom: 16px;
		right: 16px;
		width: 42px;
		height: 42px;
	}

	.whatsapp-contact {
		bottom: 16px;
		left: 16px;
		min-height: 42px;
		padding: 9px 12px;
	}

	.whatsapp-contact-text {
		font-size: 12px;
	}

	.home-categories-layout.has-parceiros-sidebar .parceiros-sidebar-inner {
		--parceiro-logo-size: 120px;
	}
}

@media (min-width: 576px) {
	.home-categories-layout.has-parceiros-sidebar .parceiros-sidebar-inner {
		--parceiro-logo-size: 140px;
	}
}

/* ==========================================================================
   Tablet (768px+)
   ========================================================================== */
@media (min-width: 768px) {
	.posts-featured {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-categories-layout.has-parceiros-sidebar {
		gap: 16px;
	}

	.home-categories-layout.has-parceiros-sidebar .parceiros-sidebar-inner {
		--parceiro-sidebar-space: 8px;
		--parceiro-logo-size: 156px;
	}

	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-card--lead .post-card-title {
		font-size: 1.35rem;
		min-height: calc(1.4em * 4);
	}
}

/* ==========================================================================
   Desktop (992px+)
   ========================================================================== */
@media (min-width: 992px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation {
		display: block !important;
	}

	.main-navigation .menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.main-navigation .menu li a {
		border-bottom: none;
		padding: 14px 18px;
		font-size: 15px;
	}

	.main-navigation .menu li a:hover,
	.main-navigation .menu li.current-menu-item > a,
	.main-navigation .menu li.current-menu-ancestor > a {
		color: var(--dn-accent);
	}

	.posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.posts-grid--category {
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
	}

	.home-categories-layout.has-parceiros-sidebar {
		gap: 20px;
	}

	.home-categories-layout.has-parceiros-sidebar .posts-grid--category {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.parceiros-sidebar-inner {
		--parceiro-logo-size: 140px;
	}

	.home-categories-layout.has-parceiros-sidebar .parceiros-sidebar-inner {
		--parceiro-logo-size: 172px;
	}

	.posts-grid--category .post-card-title {
		font-size: 0.95rem;
		-webkit-line-clamp: 4;
		min-height: calc(1.4em * 4);
	}

	.post-card--lead .post-card-title {
		font-size: 1.4rem;
		min-height: calc(1.4em * 4);
	}
}

