.trechao-tool-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trechao-tool-card {
	background: #fff;
	border: 1px solid var(--trechao-line);
	border-radius: 24px;
	color: var(--trechao-ink);
	display: block;
	min-height: 290px;
	padding: 38px;
	text-decoration: none;
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.trechao-tool-card--featured {
	background: var(--trechao-ink);
	border-color: var(--trechao-ink);
	color: #fff;
}

.trechao-tool-card:hover,
.trechao-tool-card:focus {
	box-shadow: var(--trechao-shadow);
	color: inherit;
	transform: translateY(-4px);
}

.trechao-tool-card--featured:hover,
.trechao-tool-card--featured:focus {
	color: #fff;
}

/* Menu de categorias: visão rápida no desktop e lista simples no celular. */
@media (min-width: 901px) {
	#site-navigation .trechao-categories-menu > .sub-menu {
		background: #fff;
		border-radius: 0 0 16px 16px;
		border-top: 3px solid #f36b00;
		box-shadow: 0 18px 42px rgba(16, 24, 40, 0.16);
		display: grid;
		grid-template-columns: repeat(2, minmax(220px, 1fr));
		padding: 12px;
		width: 520px;
	}

	#site-navigation .trechao-categories-menu > .sub-menu > li {
		float: none;
		width: auto;
	}

	#site-navigation .trechao-categories-menu > .sub-menu a {
		border-radius: 9px;
		color: #101828;
		font-size: 0.94rem;
		line-height: 1.3;
		padding: 12px 14px;
		white-space: normal;
	}

	#site-navigation .trechao-categories-menu > .sub-menu a:hover,
	#site-navigation .trechao-categories-menu > .sub-menu a:focus {
		background: #fff3e8;
		color: #b94700;
	}
}

@media (max-width: 900px) {
	#site-navigation .trechao-categories-menu > .sub-menu {
		box-shadow: none;
		width: 100%;
	}
}

.trechao-tool-card h3 {
	font-size: clamp(1.8rem, 3vw, 3rem);
	letter-spacing: -0.045em;
	line-height: 1.05;
	margin: 24px 0 18px;
	max-width: 620px;
}

.trechao-tool-card p {
	color: var(--trechao-muted);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 620px;
}

.trechao-tool-card--featured p {
	color: #cbd3de;
}

.trechao-tool-card--featured .trechao-text-link {
	color: var(--trechao-accent);
}

.trechao-product-card__image,
.trechao-product__media {
	position: relative;
}

.trechao-bestseller-row {
	align-items: center;
	display: flex;
	min-height: 58px;
	padding: 14px 14px 4px;
}

.trechao-bestseller-badge {
	background: #ffbf16;
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(16, 24, 40, 0.18);
	color: #101828;
	font-size: 0.78rem;
	font-weight: 850;
	left: 14px;
	letter-spacing: 0.035em;
	line-height: 1;
	padding: 10px 13px;
	position: absolute;
	text-transform: uppercase;
	top: 14px;
	z-index: 3;
}

.trechao-bestseller-row .trechao-bestseller-badge {
	left: auto;
	position: static;
	top: auto;
}

.trechao-sales-note {
	color: #536071;
	font-size: 0.9rem;
	font-weight: 700;
	margin: 8px 0 0;
}

#site-navigation .trechao-top-menu > a {
	color: #b94700;
}

.trechao-single-guide .site-content,
.trechao-resource-page .site-content {
	display: block;
	max-width: 1240px;
	padding: 58px 24px 96px;
}

.trechao-single-guide .content-area,
.trechao-resource-page .content-area {
	float: none;
	margin: 0;
	width: 100%;
}

.trechao-single-guide .site-main,
.trechao-resource-page .site-main {
	margin: 0;
}

.trechao-single-guide .inside-article,
.trechao-resource-page .inside-article {
	background: transparent;
	padding: 0;
}

.trechao-single-guide .entry-header,
.trechao-resource-page .entry-header {
	border-bottom: 1px solid var(--trechao-line);
	margin: 0 auto 42px;
	max-width: 920px;
	padding: 0 0 34px;
}

.trechao-single-guide .entry-title,
.trechao-resource-page .entry-title {
	font-size: clamp(2.5rem, 6vw, 5.2rem);
	letter-spacing: -0.055em;
	line-height: 1;
	margin: 0;
}

.trechao-single-guide .entry-meta {
	color: var(--trechao-muted);
	margin-top: 20px;
}

.trechao-single-guide .entry-content,
.trechao-resource-page .entry-content {
	font-size: 1.08rem;
	line-height: 1.82;
	margin: 0 auto;
	max-width: 920px;
}

.trechao-single-guide .entry-content > p,
.trechao-single-guide .entry-content > ul,
.trechao-resource-page .entry-content > p,
.trechao-resource-page .entry-content > ul {
	max-width: 760px;
}

.trechao-single-guide .entry-content h2,
.trechao-resource-page .entry-content h2 {
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	letter-spacing: -0.035em;
	line-height: 1.15;
	margin-top: 52px;
}

.trechao-single-guide .entry-content a,
.trechao-resource-page .entry-content a {
	font-weight: 750;
}

.trechao-page-lead {
	color: var(--trechao-muted);
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	line-height: 1.7;
	margin-bottom: 40px;
}

.trechao-guide-grid--hub {
	margin-top: 42px;
	max-width: none;
}

.trechao-guide-grid--hub .trechao-guide-card h2 {
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0 0 14px;
}

.trechao-guide-grid--hub .trechao-guide-card h2 a {
	color: var(--trechao-ink);
	text-decoration: none;
}

.trechao-calculator {
	background: var(--trechao-ink);
	border-radius: 28px;
	color: #fff;
	display: grid;
	gap: 38px;
	grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
	margin: 46px 0 24px;
	padding: 34px;
}

.trechao-calculator__fields {
	display: grid;
	gap: 18px;
}

.trechao-calculator__fields label {
	color: #d9dee7;
	display: grid;
	font-size: 0.9rem;
	font-weight: 750;
	gap: 8px;
}

.trechao-calculator__fields input,
.trechao-calculator__fields select {
	background: #fff;
	border: 2px solid transparent;
	border-radius: 12px;
	box-sizing: border-box;
	color: var(--trechao-ink);
	font-size: 1rem;
	min-height: 50px;
	padding: 10px 13px;
	width: 100%;
}

.trechao-calculator__fields input:focus,
.trechao-calculator__fields select:focus {
	border-color: var(--trechao-accent);
	outline: 0;
}

.trechao-calculator__fields .trechao-button {
	cursor: pointer;
	margin-top: 8px;
}

.trechao-calculator__result {
	background: #293142;
	border: 1px solid #414b5e;
	border-radius: 22px;
	padding: 32px;
}

.trechao-calculator__result h2 {
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	margin: 0 0 28px;
}

.trechao-calculator__metrics {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trechao-calculator__metrics div {
	background: rgba(255, 255, 255, 0.06);
	border-radius: 14px;
	padding: 18px;
}

.trechao-calculator__metrics span {
	color: #bfc8d5;
	display: block;
	font-size: 0.78rem;
	margin-bottom: 7px;
}

.trechao-calculator__metrics strong {
	color: var(--trechao-accent);
	font-size: 1.2rem;
}

.trechao-calculator__result > p:last-child {
	color: #cbd3de;
	margin: 24px 0 0;
}

.trechao-calculator-note {
	background: #fff7df;
	border-left: 4px solid var(--trechao-accent);
	border-radius: 10px;
	font-size: 0.92rem;
	margin: 0 0 52px;
	padding: 18px;
}

.trechao-single-guide .comments-area,
.trechao-resource-page .comments-area {
	display: none;
}

.trechao-single-guide #right-sidebar,
.trechao-resource-page #right-sidebar {
	float: none;
	margin: 68px auto 0;
	padding: 0;
	width: 100%;
}

.trechao-single-guide #right-sidebar .inside-right-sidebar,
.trechao-resource-page #right-sidebar .inside-right-sidebar {
	margin: 0 auto;
	max-width: 920px;
}

.trechao-single-guide #right-sidebar .widget:not(.widget_search),
.trechao-resource-page #right-sidebar .widget:not(.widget_search) {
	display: none;
}

.trechao-single-guide #right-sidebar .widget_search,
.trechao-resource-page #right-sidebar .widget_search {
	background: #f3f5f7;
	border: 1px solid var(--trechao-line);
	border-radius: 22px;
	box-sizing: border-box;
	margin: 0;
	padding: 32px clamp(22px, 5vw, 54px);
}

.trechao-single-guide #right-sidebar .wp-block-search,
.trechao-resource-page #right-sidebar .wp-block-search {
	margin: 0 auto;
	max-width: 760px;
}

.trechao-single-guide #right-sidebar .wp-block-search__label,
.trechao-resource-page #right-sidebar .wp-block-search__label {
	display: block;
	font-size: 1.15rem;
	font-weight: 750;
	margin: 0 0 12px;
	text-align: center;
}

.trechao-single-guide #right-sidebar .wp-block-search__inside-wrapper,
.trechao-resource-page #right-sidebar .wp-block-search__inside-wrapper {
	display: flex;
	gap: 12px;
	width: 100%;
}

.trechao-single-guide #right-sidebar .wp-block-search__input,
.trechao-resource-page #right-sidebar .wp-block-search__input {
	background: #fff;
	border: 1px solid #cbd2dc;
	border-radius: 12px;
	box-sizing: border-box;
	flex: 1 1 auto;
	font-size: 1rem;
	min-height: 58px;
	min-width: 0;
	padding: 12px 18px;
}

.trechao-single-guide #right-sidebar .wp-block-search__button,
.trechao-resource-page #right-sidebar .wp-block-search__button {
	background: var(--trechao-ink);
	border: 0;
	border-radius: 12px;
	color: #fff;
	font-weight: 750;
	margin: 0;
	min-height: 58px;
	min-width: 150px;
	padding: 12px 24px;
}

.trechao-single-guide #right-sidebar .wp-block-search__button:hover,
.trechao-single-guide #right-sidebar .wp-block-search__button:focus,
.trechao-resource-page #right-sidebar .wp-block-search__button:hover,
.trechao-resource-page #right-sidebar .wp-block-search__button:focus {
	background: var(--trechao-accent-dark, #c84f00);
}

@media (max-width: 900px) {
	.trechao-tool-grid,
	.trechao-calculator {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.trechao-tool-card {
		min-height: 0;
		padding: 28px;
	}

	.trechao-single-guide .site-content,
	.trechao-resource-page .site-content {
		padding: 42px 18px 72px;
	}

	.trechao-calculator {
		border-radius: 20px;
		margin-left: -4px;
		margin-right: -4px;
		padding: 20px;
	}

	.trechao-calculator__result {
		padding: 22px;
	}

	.trechao-calculator__metrics {
		grid-template-columns: 1fr;
	}

	.trechao-single-guide #right-sidebar,
	.trechao-resource-page #right-sidebar {
		margin-top: 46px;
	}

	.trechao-single-guide #right-sidebar .widget_search,
	.trechao-resource-page #right-sidebar .widget_search {
		border-radius: 18px;
		padding: 24px 18px;
	}

	.trechao-single-guide #right-sidebar .wp-block-search__inside-wrapper,
	.trechao-resource-page #right-sidebar .wp-block-search__inside-wrapper {
		flex-direction: column;
	}

	.trechao-single-guide #right-sidebar .wp-block-search__button,
	.trechao-resource-page #right-sidebar .wp-block-search__button {
		width: 100%;
	}
}
