/*
Theme Name: Tema 3 - Sorrax
Theme URI: https://trekmobi.com
Author: Trek Mobi Connect
Description: Tema 3 Sorrax — identidade visual fiel ao Figma
Version: 1.1.0
Text Domain: tema-02
*/

/* ============================================
   RESET
   ============================================ */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* ============================================
   DESIGN TOKENS — SORRAX
   ============================================ */
:root {
	/* Brand */
	--sx-primary: #3ab3f1;        /* button solid primary */
	--sx-primary-hover: #1f9ad9;
	--sx-secondary: #0f466b;       /* button solid secondary (subscribe) */
	--sx-secondary-hover: #0a3552;
	--sx-dark: #0a2d47;            /* container dark navy */
	--sx-label: #097cc0;           /* pin/badge text */

	/* Surfaces */
	--sx-white: #ffffff;
	--sx-alt: #f7f7f7;             /* container alt / footer / pin bg */
	--sx-input-fill: #ebebeb;
	--sx-input-stroke: #e0e0e0;
	--sx-input-text: #808080;

	/* Text */
	--sx-text-header: #000000;
	--sx-text-body: #595959;
	--sx-text-on-color-header: #ffffff;
	--sx-text-on-color-body: #ebebeb;

	/* Logo placeholder */
	--sx-logo-fill: #595959;
	--sx-logo-text: #ebebeb;

	/* Radii */
	--sx-radius-card: 20px;
	--sx-radius-card-inner: 16px;
	--sx-radius-pill: 100px;
	--sx-radius-sm: 8px;

	/* Layout */
	--sx-max: 1600px;
	--sx-pad: 20px;

	/* Z-index */
	--sx-z-header: 50;
	--sx-z-overlay: 90;
	--sx-z-panel: 100;

	/* Transition */
	--sx-trans: 0.2s ease;
}

body {
	font-family: 'Figtree', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--sx-text-body);
	background-color: var(--sx-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.admin-bar { margin-top: 0 !important; }

#page, .site, main { width: 100%; }

/* ============================================
   ACCESSIBILITY
   ============================================ */
.t2-skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	padding: 12px 20px;
	background: var(--sx-secondary);
	color: var(--sx-white);
	font-weight: 600;
	z-index: 9999;
	transition: top var(--sx-trans);
}
.t2-skip-link:focus { top: 0; }

/* ============================================
   HEADER
   ============================================ */
.t2-header {
	position: sticky;
	top: 0;
	background: var(--sx-white);
	padding: 24px var(--sx-pad);
	z-index: var(--sx-z-header);
}
.t2-header__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
/* Logo as gray pill placeholder */
.t2-header__logo {
	flex-shrink: 0;
}
.t2-header__logo a,
.t2-header__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 40px;
	padding: 0 20px;
	background: var(--sx-logo-fill);
	color: var(--sx-logo-text);
	border-radius: var(--sx-radius-pill);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.t2-header__logo img,
.t2-header__logo .custom-logo {
	max-height: 32px;
	width: auto;
}
/* When custom logo is set, no pill */
.t2-header__logo:has(.custom-logo) a,
.t2-header__logo:has(.custom-logo) {
	background: transparent;
	color: inherit;
	min-width: 0;
	padding: 0;
}
.t2-logo-text {
	font-weight: 700;
	color: var(--sx-text-header);
}

/* Nav (TOPIC ghost buttons) */
.t2-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
}
.t2-nav__list {
	display: flex;
	align-items: center;
	gap: 32px;
}
.t2-nav__list a {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: var(--sx-radius-pill);
	font-weight: 600;
	font-size: 16px;
	color: var(--sx-text-header);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	transition: background var(--sx-trans), color var(--sx-trans);
}
.t2-nav__list a:hover {
	background: var(--sx-alt);
	color: var(--sx-label);
}

/* Search input pill */
.t2-header__search { flex-shrink: 0; }
.t2-search__form {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 180px;
	padding: 8px 16px;
	background: var(--sx-input-fill);
	border: 1px solid var(--sx-input-stroke);
	border-radius: var(--sx-radius-pill);
	transition: background var(--sx-trans), border-color var(--sx-trans);
}
.t2-search__form:focus-within {
	border-color: var(--sx-label);
}
.t2-search__input {
	flex: 1;
	min-width: 0;
	border: none;
	background: none;
	font-size: 16px;
	color: var(--sx-text-header);
	outline: none;
}
.t2-search__input::placeholder {
	color: var(--sx-input-text);
}
.t2-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--sx-text-body);
}

/* Hamburger */
.t2-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--sx-text-header);
	border-radius: var(--sx-radius-pill);
	transition: background var(--sx-trans);
}
.t2-menu-toggle:hover { background: var(--sx-alt); }

/* ============================================
   MOBILE MENU PANEL
   ============================================ */
.t2-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: var(--sx-z-overlay);
	visibility: hidden;
	opacity: 0;
	transition: opacity var(--sx-trans), visibility var(--sx-trans);
}
.t2-mobile-menu--open {
	visibility: visible;
	opacity: 1;
}
.t2-mobile-menu__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 45, 71, 0.5);
}
.t2-mobile-menu__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 320px;
	max-width: 85%;
	height: 100%;
	background: var(--sx-white);
	padding: 64px 24px 32px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform var(--sx-trans);
	z-index: var(--sx-z-panel);
}
.t2-mobile-menu--open .t2-mobile-menu__panel { transform: translateX(0); }
.t2-mobile-menu__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--sx-text-header);
	border-radius: var(--sx-radius-pill);
}
.t2-mobile-menu__close:hover { background: var(--sx-alt); }
.t2-mobile-menu__title {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--sx-text-body);
	margin: 24px 0 12px;
}
.t2-mobile-nav__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.t2-mobile-nav__list a {
	display: block;
	padding: 12px 16px;
	border-radius: var(--sx-radius-pill);
	font-weight: 600;
	color: var(--sx-text-header);
	transition: background var(--sx-trans);
}
.t2-mobile-nav__list a:hover { background: var(--sx-alt); }

/* ============================================
   COMMON BUILDING BLOCKS
   ============================================ */
.sx-container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
	width: 100%;
}
.sx-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 20px;
	border-radius: var(--sx-radius-pill);
	background: var(--sx-alt);
	color: var(--sx-label);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
}
.sx-pin--lg {
	font-size: 14px;
	font-weight: 600;
}

/* Buttons */
.sx-btn,
.t2-hero-card__btn,
.t2-recent-card__btn,
.t2-see-also-card__btn,
.t2-cat-hero-card__btn,
.t2-post-card__btn,
.t2-contact-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background: var(--sx-primary);
	border: 1px solid var(--sx-primary);
	border-radius: var(--sx-radius-pill);
	color: #000;
	font-weight: 600;
	font-size: 16px;
	transition: background var(--sx-trans), border-color var(--sx-trans), color var(--sx-trans);
	cursor: pointer;
}
.sx-btn:hover,
.t2-hero-card__btn:hover,
.t2-recent-card__btn:hover,
.t2-see-also-card__btn:hover,
.t2-cat-hero-card__btn:hover,
.t2-post-card__btn:hover,
.t2-contact-card__btn:hover {
	background: var(--sx-primary-hover);
	border-color: var(--sx-primary-hover);
	color: #fff;
}
.sx-btn--lg {
	padding: 20px 40px;
	font-size: 24px;
}
.sx-btn--md {
	padding: 12px 24px;
	font-size: 18px;
}
.sx-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--sx-text-header);
}
.sx-btn--ghost:hover {
	background: var(--sx-alt);
	border-color: var(--sx-alt);
	color: var(--sx-label);
}
.sx-btn--secondary {
	background: var(--sx-secondary);
	border-color: var(--sx-secondary);
	color: var(--sx-white);
}
.sx-btn--secondary:hover {
	background: var(--sx-secondary-hover);
	border-color: var(--sx-secondary-hover);
	color: var(--sx-white);
}

/* Card image placeholder */
.sx-img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d6d6d6;
	color: #9a9a9a;
	font-size: 48px;
}

/* ============================================
   FRONT-PAGE: HERO SECTION
   ============================================ */
.t2-hero-grid {
	padding: 20px 0;
}
.t2-hero-grid__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
/* Hero is a single dark navy card with image right */
.sx-hero-banner {
	display: flex;
	align-items: stretch;
	background: var(--sx-dark);
	border-radius: var(--sx-radius-card);
	overflow: hidden;
	min-height: 380px;
}
.sx-hero-banner__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 80px 64px;
	color: var(--sx-text-on-color-header);
}
.sx-hero-banner__title {
	font-size: 40px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--sx-text-on-color-header);
}
.sx-hero-banner__excerpt {
	font-size: 16px;
	color: var(--sx-text-on-color-body);
	line-height: 1.5;
	margin-bottom: 16px;
}
.sx-hero-banner__media {
	flex: 1;
	min-width: 0;
	position: relative;
	overflow: hidden;
}
.sx-hero-banner__media img,
.sx-hero-banner__media .sx-img-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sx-hero-banner__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--sx-dark) 0%, rgba(10, 45, 71, 0) 50%);
	pointer-events: none;
}

/* ============================================
   FRONT-PAGE: HIGHLIGHT (image + 4 small cards)
   ============================================ */
.t2-recent-posts {
	padding: 20px 0;
}
.t2-recent-posts__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
.sx-highlight {
	display: flex;
	align-items: stretch;
	background: var(--sx-dark);
	border-radius: var(--sx-radius-card);
	overflow: hidden;
}
.sx-highlight__feature {
	flex: 1;
	min-width: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 64px;
	color: var(--sx-text-on-color-header);
	min-height: 560px;
}
.sx-highlight__feature-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.sx-highlight__feature-bg img,
.sx-highlight__feature-bg .sx-img-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sx-highlight__feature-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0,0,0,0) 40%, var(--sx-dark) 100%),
		linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--sx-dark) 100%);
}
.sx-highlight__feature-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 560px;
}
.sx-highlight__feature-title {
	font-size: 40px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--sx-text-on-color-header);
}
.sx-highlight__feature-excerpt {
	font-size: 16px;
	color: var(--sx-text-on-color-body);
}
.sx-highlight__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	width: 660px;
	padding: 56px;
	align-content: center;
}
.sx-highlight-card {
	position: relative;
	min-height: 260px;
	border-radius: var(--sx-radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 13px;
	padding: 24px;
	color: var(--sx-text-on-color-header);
}
.sx-highlight-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.sx-highlight-card__bg img,
.sx-highlight-card__bg .sx-img-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sx-highlight-card__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--sx-dark) 100%);
}
.sx-highlight-card__title {
	position: relative;
	z-index: 1;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--sx-text-on-color-header);
}
.sx-highlight-card .sx-btn { position: relative; z-index: 1; align-self: flex-start; }

/* ============================================
   FRONT-PAGE: POPULARES (3 horizontal cards)
   ============================================ */
.t2-see-also {
	padding: 40px 0;
}
.t2-see-also__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
.sx-section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-bottom: 32px;
	text-align: center;
}
.sx-section-head__pin { margin-bottom: 4px; }
.sx-section-head__title {
	font-size: 48px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.1;
}
.sx-populares-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.sx-populares-card {
	display: flex;
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 8px;
	overflow: hidden;
	min-height: 180px;
}
.sx-populares-card__img {
	flex: 1;
	min-width: 0;
	border-radius: var(--sx-radius-card-inner);
	overflow: hidden;
	display: flex;
}
.sx-populares-card__img img,
.sx-populares-card__img .sx-img-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 160px;
}
.sx-populares-card__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 32px;
}
.sx-populares-card__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.3;
}
.sx-populares-card .sx-btn { font-size: 20px; align-self: flex-start; }

/* ============================================
   FRONT-PAGE & GLOBAL: VEJA TAMBÉM (vertical cards)
   ============================================ */
.t2-look-topic {
	padding: 40px 0;
}
.t2-look-topic__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
.sx-veja-tambem {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.sx-veja-tambem__title {
	text-align: center;
	font-size: 48px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.1;
}
.sx-veja-tambem__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.sx-veja-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.sx-veja-card__img {
	border-radius: var(--sx-radius-card);
	overflow: hidden;
	aspect-ratio: 16/10;
	display: flex;
}
.sx-veja-card__img img,
.sx-veja-card__img .sx-img-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sx-veja-card__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.3;
}
.sx-veja-card .sx-btn { align-self: flex-start; }

/* ============================================
   FOOTER
   ============================================ */
.t2-footer {
	padding: 80px var(--sx-pad);
	background: var(--sx-white);
}
.t2-footer__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.sx-footer__top {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 32px;
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 80px 64px;
	align-items: start;
}
.sx-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 21px;
	align-items: flex-start;
}
.sx-footer__logo {
	display: flex;
	align-items: center;
}
.sx-footer__logo img,
.sx-footer__logo svg {
	max-height: 70px;
	width: auto;
}
.sx-footer__logo-text {
	font-size: 48px;
	font-weight: 700;
	color: var(--sx-label);
	letter-spacing: 0.02em;
}
.sx-footer__tagline {
	font-size: 16px;
	color: var(--sx-text-body);
	line-height: 1.5;
}
.sx-footer__newsletter {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
	text-align: center;
}
.sx-footer__newsletter-title {
	font-size: 40px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.1;
}
.sx-footer__newsletter-text {
	font-size: 16px;
	color: var(--sx-text-body);
}
.sx-footer__newsletter-form {
	display: flex;
	gap: 8px;
	width: 100%;
	max-width: 450px;
	align-items: center;
}
.sx-footer__newsletter-input {
	flex: 1;
	min-width: 0;
	background: var(--sx-input-fill);
	border: 1px solid var(--sx-input-stroke);
	padding: 12px 20px;
	border-radius: 100px 4px 4px 100px;
	color: var(--sx-text-header);
	outline: none;
}
.sx-footer__newsletter-input::placeholder {
	color: var(--sx-input-text);
}
.sx-footer__newsletter-btn {
	background: var(--sx-secondary);
	border: 1px solid var(--sx-secondary);
	color: var(--sx-white);
	padding: 12px 20px;
	border-radius: 4px 100px 100px 4px;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background var(--sx-trans), border-color var(--sx-trans);
}
.sx-footer__newsletter-btn:hover {
	background: var(--sx-secondary-hover);
	border-color: var(--sx-secondary-hover);
}
.sx-footer__newsletter-disclaimer {
	font-size: 14px;
	color: var(--sx-text-body);
	max-width: 380px;
}
.sx-footer__links {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}
.sx-footer__links-title {
	font-size: 40px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.1;
}
.sx-footer__links-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
}
.sx-footer__links-list a {
	display: inline-flex;
	padding: 8px 16px;
	border-radius: var(--sx-radius-pill);
	font-weight: 600;
	color: var(--sx-text-header);
	transition: background var(--sx-trans), color var(--sx-trans);
}
.sx-footer__links-list a:hover {
	background: var(--sx-white);
	color: var(--sx-label);
}
/* WP nav menu fallback inside footer */
.sx-footer__links-list ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sx-footer__categories {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 40px 64px;
}
.sx-footer__categories-title {
	font-size: 40px;
	font-weight: 600;
	color: var(--sx-text-header);
}
.sx-footer__categories-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 48px;
	justify-content: flex-end;
}
.sx-footer__categories-list a {
	display: inline-flex;
	padding: 8px 16px;
	border-radius: var(--sx-radius-pill);
	font-weight: 600;
	color: var(--sx-text-header);
	transition: background var(--sx-trans), color var(--sx-trans);
}
.sx-footer__categories-list a:hover {
	background: var(--sx-white);
	color: var(--sx-label);
}
.sx-footer__categories-list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	justify-content: flex-end;
}

.sx-footer__copyright {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 0 8px;
}
.sx-footer__copyright-text {
	font-size: 16px;
	color: var(--sx-text-body);
}
.sx-footer__copyright-logo img {
	max-height: 56px;
	width: auto;
}

/* ============================================
   PAGE HERO BANNER (Category, Single, Search)
   ============================================ */
.sx-page-hero {
	padding: 20px 0;
}
.sx-page-hero__inner {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
.sx-page-hero__banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 64px 32px;
	border-radius: var(--sx-radius-card);
	overflow: hidden;
	background: var(--sx-dark);
	text-align: center;
}
.sx-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.sx-page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sx-page-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,45,71,0.3), var(--sx-dark));
}
.sx-page-hero__title {
	position: relative;
	z-index: 1;
	font-size: 36px;
	font-weight: 600;
	color: var(--sx-white);
	line-height: 1.2;
}

/* ============================================
   CATEGORY PAGE — 4 highlight cards + 2-col grid
   ============================================ */
.t2-category-hero {
	padding: 0;
}
.t2-category-hero__container { display: none; }
.sx-cat-highlight {
	padding: 20px 0;
}
.sx-cat-highlight__inner {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
.sx-cat-highlight__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.sx-cat-highlight-card {
	position: relative;
	min-height: 200px;
	border-radius: var(--sx-radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 13px;
	padding: 24px;
	color: var(--sx-text-on-color-header);
}
.sx-cat-highlight-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.sx-cat-highlight-card__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sx-cat-highlight-card__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--sx-dark) 100%);
}
.sx-cat-highlight-card__title {
	position: relative;
	z-index: 1;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sx-text-on-color-header);
}
.sx-cat-highlight-card .sx-btn { position: relative; z-index: 1; align-self: flex-start; }

/* 2-column post grid (category + search) */
.t2-category-posts,
.t2-search-results {
	padding: 24px 0;
}
.t2-category-posts__container,
.t2-search-results__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
.sx-post-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.sx-post-row {
	display: flex;
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 8px;
	gap: 0;
	overflow: hidden;
	min-height: 150px;
}
.sx-post-row__img {
	flex: 0 0 38%;
	max-width: 38%;
	border-radius: var(--sx-radius-card-inner);
	overflow: hidden;
	display: flex;
}
.sx-post-row__img img,
.sx-post-row__img .sx-img-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 130px;
}
.sx-post-row__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 24px 32px;
}
.sx-post-row__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.3;
}
.sx-post-row .sx-btn { align-self: flex-start; font-size: 16px; }

/* Pagination — dark navy bar with prev/next + centered numbers */
.sx-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--sx-dark);
	border-radius: var(--sx-radius-pill);
	padding: 12px 16px;
	margin-top: 32px;
	color: var(--sx-white);
	gap: 12px;
}
.sx-pagination__numbers {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.sx-pagination__numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border-radius: var(--sx-radius-pill);
	color: var(--sx-white);
	font-weight: 600;
	transition: background var(--sx-trans), color var(--sx-trans);
}
.sx-pagination__numbers .page-numbers:hover { background: rgba(255,255,255,0.1); }
.sx-pagination__numbers .page-numbers.current {
	background: var(--sx-primary);
	color: #000;
}
.sx-pagination__numbers .page-numbers.dots { background: transparent; cursor: default; }
.sx-pagination__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--sx-white);
	color: var(--sx-dark);
	border-radius: 50%;
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
	transition: background var(--sx-trans), color var(--sx-trans);
}
.sx-pagination__nav:hover { background: var(--sx-primary); color: #000; }
.sx-pagination__nav--disabled {
	background: rgba(255,255,255,0.4);
	color: rgba(10,45,71,0.5);
	pointer-events: none;
}

/* ============================================
   SEARCH PAGE — header with search input
   ============================================ */
.sx-search-head {
	padding: 24px 0 12px;
}
.sx-search-head__inner {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.sx-search-head__title {
	font-size: 32px;
	font-weight: 600;
	color: var(--sx-text-header);
}
.sx-search-head__form {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--sx-input-fill);
	border: 1px solid var(--sx-label);
	border-radius: var(--sx-radius-pill);
	padding: 12px 24px;
}
.sx-search-head__input {
	flex: 1;
	min-width: 0;
	border: none;
	background: none;
	outline: none;
	color: var(--sx-text-header);
	font-size: 16px;
}
.sx-search-head__input::placeholder { color: var(--sx-input-text); }
.sx-search-head__submit {
	color: var(--sx-label);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ============================================
   SINGLE POST PAGE
   ============================================ */
.t2-single { padding-bottom: 0; }
.t2-single-hero { padding: 20px 0; }
.t2-single-hero__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
}
.sx-single-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	min-height: 280px;
	padding: 64px 32px;
	background: var(--sx-dark);
	border-radius: var(--sx-radius-card);
	overflow: hidden;
	text-align: center;
}
.sx-single-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.sx-single-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sx-single-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,45,71,0.4), var(--sx-dark));
}
.sx-single-hero__title {
	position: relative;
	z-index: 1;
	font-size: 36px;
	font-weight: 600;
	color: var(--sx-white);
	line-height: 1.2;
	max-width: 900px;
}
.sx-single-hero__date {
	position: relative;
	z-index: 1;
	color: var(--sx-text-on-color-body);
	font-size: 14px;
}

.t2-single-content { padding: 40px 0; }
.t2-single-content__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.t2-single-content__main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.t2-single-share {
	display: flex;
	gap: 12px;
}
.t2-single-share__btn {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sx-label);
	color: var(--sx-white);
	border-radius: 50%;
	transition: background var(--sx-trans);
}
.t2-single-share__btn:hover { background: var(--sx-secondary); }

.t2-single-article {
	color: var(--sx-text-body);
	font-size: 16px;
	line-height: 1.7;
}
.t2-single-article h2 {
	font-size: 24px;
	font-weight: 600;
	color: var(--sx-text-header);
	margin: 24px 0 12px;
	line-height: 1.3;
}
.t2-single-article h3 {
	font-size: 20px;
	font-weight: 600;
	color: var(--sx-text-header);
	margin: 24px 0 12px;
	line-height: 1.3;
}
.t2-single-article p { margin-bottom: 16px; }
.t2-single-article a { color: var(--sx-label); text-decoration: underline; }
.t2-single-article img { border-radius: var(--sx-radius-card-inner); margin: 16px 0; }
.t2-single-article blockquote {
	border-left: 4px solid var(--sx-primary);
	padding: 12px 20px;
	margin: 16px 0;
	background: var(--sx-alt);
	border-radius: var(--sx-radius-sm);
}
.t2-single-article ul, .t2-single-article ol { margin: 0 0 16px 24px; }
.t2-single-article li { list-style: disc; margin-bottom: 6px; }
.t2-single-article ol li { list-style: decimal; }

/* ADS placeholder */
.sx-ads {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	background: #d6d6d6;
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.08em;
	border-radius: var(--sx-radius-card-inner);
	margin: 24px 0;
}

/* Author dark card */
.t2-single-author {
	display: flex;
	align-items: center;
	gap: 24px;
	background: var(--sx-dark);
	border-radius: var(--sx-radius-card);
	padding: 24px 32px;
	color: var(--sx-text-on-color-body);
}
.t2-single-author__avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.t2-single-author__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.t2-single-author__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--sx-text-on-color-body);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.t2-single-author__name {
	font-size: 22px;
	font-weight: 600;
	color: var(--sx-white);
}
.t2-single-author__bio {
	font-size: 14px;
	color: var(--sx-text-on-color-body);
	line-height: 1.5;
}

/* Sidebar (Veja mais sobre [Categoria]) */
.t2-single-sidebar {
	position: sticky;
	top: 120px;
}
.t2-single-sidebar__title {
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	color: var(--sx-text-header);
	line-height: 1.25;
	margin-bottom: 24px;
}
.t2-single-sidebar__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.t2-sidebar-item {
	position: relative;
	min-height: 200px;
	border-radius: var(--sx-radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 12px;
	padding: 20px;
	color: var(--sx-text-on-color-header);
	background: var(--sx-dark);
}
.t2-sidebar-item__thumb {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.t2-sidebar-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.t2-sidebar-item__thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--sx-dark) 100%);
}
.t2-sidebar-item__placeholder { display: none; }
.t2-sidebar-item__cat { display: none; }
.t2-sidebar-item__content {
	position: relative;
	z-index: 1;
}
.t2-sidebar-item__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--sx-text-on-color-header);
	line-height: 1.3;
}
.t2-sidebar-item__title a { color: inherit; }
.t2-sidebar-item__arrow { display: none; }
.t2-sidebar-item__divider { display: none; }

/* Single Veja Também */
.t2-single-see-also,
.t2-contact-see-also {
	padding: 40px 0;
}
.t2-single-see-also__container,
.t2-contact-see-also__container {
	max-width: var(--sx-max);
	margin: 0 auto;
	padding: 0 var(--sx-pad);
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.t2-single-see-also__title,
.t2-contact-see-also__title {
	text-align: center;
	font-size: 36px;
	font-weight: 600;
	color: var(--sx-text-header);
}
.t2-single-see-also__grid,
.t2-contact-see-also__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.t2-privacy-page { padding: 24px 0 40px; }
.sx-privacy {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 var(--sx-pad);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.sx-privacy__title-card {
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 32px 40px;
	text-align: center;
}
.sx-privacy__title-card h1 {
	font-size: 28px;
	font-weight: 600;
	color: var(--sx-text-header);
}
.sx-privacy__intro {
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 24px 32px;
	font-size: 14px;
	color: var(--sx-text-body);
	text-align: center;
	line-height: 1.6;
}
.sx-privacy__section {
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 24px 32px;
}
.sx-privacy__section h2,
.sx-privacy__section h3 {
	font-size: 18px;
	font-weight: 700;
	color: var(--sx-text-header);
	margin-bottom: 8px;
	line-height: 1.3;
}
.sx-privacy__section p {
	font-size: 14px;
	color: var(--sx-text-body);
	line-height: 1.6;
	margin-bottom: 8px;
}
.sx-privacy__section p:last-child { margin-bottom: 0; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.t2-contact-page { padding: 24px 0 40px; }
.sx-contact {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 var(--sx-pad);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.sx-contact__title-card {
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 28px 32px;
}
.sx-contact__title {
	font-size: 28px;
	font-weight: 600;
	color: var(--sx-text-header);
}
.sx-contact__body-card {
	background: var(--sx-alt);
	border-radius: var(--sx-radius-card);
	padding: 24px 32px;
	font-size: 14px;
	color: var(--sx-text-body);
	line-height: 1.6;
}
.sx-contact__body-card p { margin-bottom: 12px; }
.sx-contact__body-card p:last-child { margin-bottom: 0; }
.sx-contact__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 16px;
}
.sx-contact__input,
.sx-contact__textarea {
	width: 100%;
	background: var(--sx-input-fill);
	border: 1px solid var(--sx-input-stroke);
	border-radius: var(--sx-radius-pill);
	padding: 14px 24px;
	font-size: 16px;
	color: var(--sx-text-header);
	outline: none;
	transition: border-color var(--sx-trans);
}
.sx-contact__input:focus,
.sx-contact__textarea:focus { border-color: var(--sx-label); }
.sx-contact__input::placeholder,
.sx-contact__textarea::placeholder { color: var(--sx-input-text); }
.sx-contact__textarea {
	min-height: 140px;
	border-radius: 24px;
	resize: vertical;
}
.sx-contact__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sx-primary);
	border: 1px solid var(--sx-primary);
	color: #000;
	padding: 12px 32px;
	border-radius: var(--sx-radius-pill);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	align-self: flex-start;
	transition: background var(--sx-trans);
}
.sx-contact__submit:hover {
	background: var(--sx-primary-hover);
	border-color: var(--sx-primary-hover);
	color: #fff;
}
.t2-contact-message {
	padding: 12px 24px;
	border-radius: var(--sx-radius-card-inner);
	font-size: 14px;
}
.t2-contact-message--success {
	background: #e6f7ec;
	color: #1e7a3c;
}
.t2-contact-message--error {
	background: #fbe6e6;
	color: #b03030;
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 1024px) {
	/* Header simplifies on tablet/mobile */
	.t2-header__nav { display: none; }
	.t2-header__search { display: none; }
	.t2-header { padding: 16px var(--sx-pad); }
	.t2-header__container { gap: 12px; }
	/* Mobile header order: hamburger | logo | search-icon */
	.t2-header__container { display: grid; grid-template-columns: auto 1fr auto; }
	.t2-menu-toggle { order: -1; }
	.t2-header__logo { justify-self: center; }
	.t2-header__logo a { min-width: 110px; height: 36px; font-size: 14px; }

	.sx-hero-banner { flex-direction: column; min-height: 0; }
	.sx-hero-banner__content { padding: 32px 24px; gap: 12px; }
	.sx-hero-banner__title { font-size: 22px; }
	.sx-hero-banner__excerpt { font-size: 14px; }
	.sx-hero-banner__media { min-height: 220px; }
	.sx-hero-banner__media::after {
		background: linear-gradient(to bottom, var(--sx-dark) 0%, rgba(10,45,71,0) 50%);
	}
	.sx-hero-banner .sx-btn--lg { padding: 12px 24px; font-size: 16px; }

	.sx-highlight { flex-direction: column; }
	.sx-highlight__feature { padding: 32px 24px; min-height: 320px; }
	.sx-highlight__feature-title { font-size: 22px; }
	.sx-highlight__feature .sx-btn--lg { padding: 12px 24px; font-size: 16px; }
	.sx-highlight__cards {
		display: grid;
		grid-template-columns: repeat(4, 240px);
		gap: 12px;
		width: 100%;
		padding: 24px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}
	.sx-highlight-card { scroll-snap-align: start; min-height: 220px; }

	.sx-section-head__title,
	.sx-veja-tambem__title,
	.t2-single-see-also__title,
	.t2-contact-see-also__title {
		font-size: 28px;
	}
	.sx-populares-grid { grid-template-columns: 1fr; gap: 12px; }
	.sx-populares-card__content { padding: 16px; }
	.sx-populares-card .sx-btn { font-size: 14px; }

	.sx-veja-tambem__grid { grid-template-columns: repeat(2, 1fr); }
	.t2-single-see-also__grid,
	.t2-contact-see-also__grid { grid-template-columns: repeat(2, 1fr); }

	.sx-cat-highlight__grid {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
	}
	.sx-cat-highlight-card {
		flex: 0 0 200px;
		scroll-snap-align: start;
	}
	.sx-post-list { grid-template-columns: 1fr; }
	.sx-post-row { min-height: 130px; }
	.sx-post-row__img { flex: 0 0 38%; max-width: 38%; }
	.sx-post-row__content { padding: 16px 20px; gap: 8px; }
	.sx-post-row__title { font-size: 14px; }
	.sx-post-row .sx-btn { padding: 6px 14px; font-size: 14px; }

	/* Single content: stack columns */
	.t2-single-content__container { grid-template-columns: 1fr; gap: 32px; }
	.t2-single-sidebar { position: static; }
	.t2-single-sidebar__list { grid-template-columns: 1fr 1fr; }
	.t2-single-author { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; }
	.t2-single-author__avatar { width: 64px; height: 64px; }
	.sx-single-hero__title { font-size: 22px; }
	.sx-page-hero__title { font-size: 24px; }

	/* Footer stacks */
	.sx-footer__top { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; text-align: center; align-items: center; }
	.sx-footer__brand { align-items: center; text-align: center; }
	.sx-footer__newsletter-form { flex-direction: column; align-items: stretch; }
	.sx-footer__newsletter-input { border-radius: var(--sx-radius-pill); }
	.sx-footer__newsletter-btn { border-radius: var(--sx-radius-pill); }
	.sx-footer__links { align-items: center; }
	.sx-footer__categories { flex-direction: column; padding: 32px 24px; gap: 16px; }
	.sx-footer__categories-list { justify-content: center; gap: 12px 24px; }
	.sx-footer__copyright { flex-direction: column; gap: 16px; padding: 0; text-align: center; }
	.t2-footer { padding: 40px 16px; }

	/* Pagination smaller */
	.sx-pagination { padding: 12px 16px; }
	.sx-pagination .page-numbers { min-width: 28px; height: 28px; font-size: 14px; padding: 0 8px; }
	.sx-pagination .page-numbers.prev,
	.sx-pagination .page-numbers.next { width: 36px; height: 36px; min-width: 36px; }

	/* Privacy/Contact narrower */
	.sx-privacy, .sx-contact { padding: 0 16px; }
	.sx-privacy__title-card h1, .sx-contact__title { font-size: 22px; }
}

@media (max-width: 640px) {
	.sx-veja-tambem__grid,
	.t2-single-see-also__grid,
	.t2-contact-see-also__grid {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
	}
	.sx-veja-card,
	.t2-single-see-also__grid > article,
	.t2-contact-see-also__grid > article {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}

	.t2-single-sidebar__list { grid-template-columns: 1fr; }

	.sx-section-head__title,
	.sx-veja-tambem__title { font-size: 22px; }

	.sx-page-hero__title { font-size: 20px; }
	.sx-single-hero__title { font-size: 20px; }
}

/* ============================================
   WORDPRESS UTILITIES
   ============================================ */
.alignleft { float: left; margin-right: 16px; }
.alignright { float: right; margin-left: 16px; }
.aligncenter { display: block; margin: 0 auto; }
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
