/*
 * TopEmpresa 10 — stable, theme-independent design system.
 * Plugin-owned pages use their own document shell while retaining the standard
 * WordPress hooks required by Rank Math, Contact Form 7 and administration.
 */

.te-site,
.te-editorial,
.te-block-page-template {
	--te-ink: #10213a;
	--te-navy: #071a31;
	--te-navy-2: #0d2949;
	--te-blue: #2563eb;
	--te-blue-dark: #1746b6;
	--te-cyan: #20b7a7;
	--te-orange: #ff8a34;
	--te-paper: #ffffff;
	--te-soft: #f4f7fb;
	--te-soft-blue: #edf4ff;
	--te-line: #dbe4ef;
	--te-muted: #5b697b;
	--te-positive: #137b58;
	--te-warning: #9a5420;
	--te-shadow: 0 18px 48px rgba(15, 34, 58, .10);
	--te-radius: 18px;
	--te-radius-sm: 11px;
	color: var(--te-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.68;
}

.te-custom-document {
	--te-ink: #10213a;
	--te-navy: #071a31;
	--te-navy-2: #0d2949;
	--te-blue: #2563eb;
	--te-blue-dark: #1746b6;
	--te-cyan: #20b7a7;
	--te-orange: #ff8a34;
	--te-paper: #ffffff;
	--te-soft: #f4f7fb;
	--te-line: #dbe4ef;
	--te-muted: #5b697b;
	margin: 0;
	background: #fff;
	color: var(--te-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.te-custom-document.admin-bar .te-site-header {
	top: 32px;
}

.te-skip-link {
	position: fixed;
	z-index: 100000;
	top: 10px;
	left: 10px;
	padding: 10px 14px;
	transform: translateY(-160%);
	border-radius: 8px;
	background: #fff;
	color: var(--te-navy);
	font-weight: 750;
}

.te-skip-link:focus {
	transform: translateY(0);
}

.te-site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	border-bottom: 1px solid rgba(16, 33, 58, .09);
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 8px 30px rgba(7, 26, 49, .05);
	backdrop-filter: blur(14px);
}

.te-site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: 78px;
}

.te-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--te-navy) !important;
	text-decoration: none !important;
}

.te-brand__mark {
	position: relative;
	display: inline-flex;
	align-items: flex-end;
	gap: 3px;
	width: 38px;
	height: 38px;
	padding: 8px;
	border-radius: 11px;
	background: linear-gradient(145deg, #153e84, #0a1d39);
	box-shadow: 0 8px 20px rgba(13, 41, 73, .18);
}

.te-brand__mark span {
	display: block;
	width: 5px;
	border-radius: 5px 5px 2px 2px;
	background: var(--te-orange);
}

.te-brand__mark span:nth-child(1) { height: 10px; }
.te-brand__mark span:nth-child(2) { height: 17px; }
.te-brand__mark span:nth-child(3) { height: 23px; }

.te-brand__copy {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.te-brand__copy strong {
	font-size: 1.14rem;
	font-weight: 850;
	letter-spacing: -.035em;
}

.te-brand__copy small {
	margin-top: 5px;
	color: var(--te-muted);
	font-size: .62rem;
	font-weight: 650;
	letter-spacing: .035em;
}

.te-primary-navigation {
	min-width: 0;
}

.te-main-menu,
.te-main-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.te-main-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2vw, 27px);
}

.te-main-menu li {
	position: relative;
	margin: 0;
}

.te-main-menu a {
	display: block;
	padding: 28px 0 26px;
	color: #27384d !important;
	font-size: .82rem;
	font-weight: 720;
	line-height: 1.2;
	text-decoration: none !important;
}

.te-main-menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 19px;
	left: 0;
	height: 2px;
	transform: scaleX(0);
	border-radius: 2px;
	background: var(--te-orange);
	content: "";
	transition: transform .18s ease;
}

.te-main-menu > li:hover > a::after,
.te-main-menu > .current-menu-item > a::after,
.te-main-menu > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.te-main-menu .sub-menu {
	position: absolute;
	top: calc(100% - 7px);
	left: -18px;
	width: 260px;
	padding: 10px;
	transform: translateY(7px);
	visibility: hidden;
	border: 1px solid var(--te-line);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(7, 26, 49, .14);
	opacity: 0;
	transition: opacity .16s ease, transform .16s ease;
}

.te-main-menu li:hover > .sub-menu,
.te-main-menu li:focus-within > .sub-menu {
	transform: translateY(0);
	visibility: visible;
	opacity: 1;
}

.te-main-menu .sub-menu a {
	padding: 10px 11px;
	border-radius: 7px;
}

.te-main-menu .sub-menu a:hover { background: var(--te-soft); }

/* The complete sector directory is exposed as a readable two-column megamenu. */
.te-main-menu > .te-categories-menu > .sub-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(610px, calc(100vw - 40px));
	padding: 13px;
}

.te-main-menu > .te-categories-menu > .sub-menu > li > a {
	height: 100%;
	padding: 12px 14px;
	border: 1px solid transparent;
}

.te-main-menu > .te-categories-menu > .sub-menu > li > a:hover,
.te-main-menu > .te-categories-menu > .sub-menu > li > a:focus-visible {
	border-color: var(--te-line);
	background: var(--te-soft-blue);
	color: var(--te-blue-dark) !important;
}

.te-site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.te-header-search,
.te-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 13px;
	border-radius: 9px;
	font-size: .78rem;
	font-weight: 760;
	text-decoration: none !important;
}

.te-header-search { color: #31465f !important; }
.te-header-search span {
	display: block;
	width: 14px;
	height: 14px;
	margin-right: 7px;
	border: 2px solid currentColor;
	border-radius: 50%;
}
.te-header-search span::after {
	display: block;
	width: 6px;
	height: 2px;
	margin: 10px 0 0 9px;
	transform: rotate(45deg);
	background: currentColor;
	content: "";
}
.te-header-cta { background: var(--te-navy); color: #fff !important; }

.te-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 11px;
	border: 1px solid var(--te-line);
	border-radius: 9px;
	background: #fff;
}

.te-menu-toggle > span:not(.te-sr-only) {
	display: block;
	height: 2px;
	margin: 4px 0;
	border-radius: 3px;
	background: var(--te-navy);
}

.te-site-footer {
	padding: 72px 0 24px;
	background: #071a31;
	color: #c8d3e1;
}

.te-site-footer a { color: #eef5ff !important; text-decoration: none !important; }
.te-site-footer a:hover,
.te-site-footer a:focus-visible {
	background: transparent !important;
	color: #ffb36d !important;
	text-decoration: none !important;
}
.te-footer-lead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.te-brand--footer { color: #fff !important; }
.te-brand--footer .te-brand__copy small { color: #aebdce; }
.te-footer-lead p { max-width: 600px; margin: 20px 0 0; color: #aebdce; font-size: .91rem; line-height: 1.65; }
.te-footer-submit {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	min-width: max-content;
	padding: 13px 17px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 10px;
	font-size: .85rem;
	font-weight: 740;
}
.te-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 38px;
	padding: 46px 0;
}
.te-footer-grid h2 { margin: 0 0 17px; color: #fff; font-size: .84rem; font-weight: 780; letter-spacing: .05em; text-transform: uppercase; }
.te-footer-grid ul { margin: 0; padding: 0; list-style: none; }
.te-footer-grid li { margin: 0 0 10px; }
.te-footer-grid a,
.te-footer-grid address,
.te-footer-grid p { color: #aebdce; font-size: .83rem; font-style: normal; line-height: 1.65; }
.te-footer-submit:hover,
.te-footer-submit:focus-visible {
	border-color: var(--te-orange);
	background: rgba(255, 138, 52, .10) !important;
	color: #ffbd7e !important;
}
.te-footer-contact p { margin: 12px 0 0; }
.te-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.te-footer-menu { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.te-footer-menu li { margin: 0; }
.te-footer-menu a,
.te-footer-bottom p { margin: 0; color: #93a5b9; font-size: .73rem; }

.te-block-page-template {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	overflow: clip;
	background: var(--te-paper);
}

.te-site,
.te-site *,
.te-site *::before,
.te-site *::after,
.te-editorial,
.te-editorial *,
.te-editorial *::before,
.te-editorial *::after {
	box-sizing: border-box;
}

.te-site img,
.te-editorial img {
	display: block;
	max-width: 100%;
	height: auto;
}

.te-site a,
.te-editorial a {
	color: var(--te-blue-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: .16em;
}

.te-site p,
.te-editorial p {
	margin: 0 0 1.1em;
}

.te-site h1,
.te-site h2,
.te-site h3,
.te-site h4,
.te-editorial h1,
.te-editorial h2,
.te-editorial h3,
.te-editorial h4 {
	margin: 0 0 .62em;
	color: var(--te-ink);
	font-family: inherit;
	font-weight: 780;
	letter-spacing: -.035em;
	line-height: 1.12;
	text-transform: none;
}

.te-site h1,
.te-editorial h1 {
	font-size: clamp(2.45rem, 5vw, 4.65rem);
}

.te-site h2,
.te-editorial h2 {
	font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.te-site h3,
.te-editorial h3 {
	font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.te-site ul,
.te-site ol,
.te-editorial ul,
.te-editorial ol {
	margin: 0 0 1.35em;
	padding-left: 1.35em;
}

.te-site li + li,
.te-editorial li + li {
	margin-top: .45em;
}

.te-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.te-reading-width,
.te-editorial--wide {
	max-width: 900px;
	margin-inline: auto;
}

.te-eyebrow,
.te-kicker {
	margin: 0 0 14px !important;
	color: var(--te-orange);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .13em;
	line-height: 1.35;
	text-transform: uppercase;
}

.te-lead,
.te-intro,
.te-page-hero__description {
	max-width: 790px;
	color: var(--te-muted);
	font-size: clamp(1.04rem, 2vw, 1.22rem);
	line-height: 1.65;
}

.te-small-note,
.te-small-note p,
.te-form-note {
	color: var(--te-muted);
	font-size: .87rem;
}

/* Gutenberg page geometry */
.te-native-page {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--te-paper);
}

.te-native-page > .wp-block-group {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-inline: max(20px, calc((100% - 1180px) / 2));
}

.te-native-page > .te-section,
.te-native-page > .wp-block-group.te-section {
	padding-top: 82px;
	padding-bottom: 82px;
}

.te-native-page > .te-section-head-native {
	padding-top: 76px;
	padding-bottom: 24px;
}

.te-native-page .wp-block-columns {
	align-items: stretch;
	gap: 24px;
	margin: 0;
}

.te-native-page .wp-block-column {
	min-width: 0;
}

.te-native-page .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
}

.te-native-page .wp-block-button {
	margin: 0;
}

.te-native-page .wp-block-button__link,
.te-btn,
.te-site .te-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 12px 21px;
	border: 1px solid transparent;
	border-radius: 999px;
	box-shadow: none;
	font: inherit;
	font-size: .92rem;
	font-weight: 760;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.te-native-page .wp-block-button__link:hover,
.te-btn:hover,
.te-btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 11px 26px rgba(7, 26, 49, .18);
	text-decoration: none;
}

.te-native-page .te-btn-primary .wp-block-button__link,
.te-btn--primary,
.te-site .te-btn--primary {
	background: var(--te-orange);
	color: #182030;
}

.te-native-page .te-btn-light .wp-block-button__link,
.te-btn--light,
.te-site .te-btn--light {
	background: #fff;
	color: var(--te-navy);
}

.te-native-page .te-btn-secondary .wp-block-button__link,
.te-btn--outline,
.te-site .te-btn--outline {
	border-color: currentColor;
	background: transparent;
	color: inherit;
}

.te-native-page .te-small-button .wp-block-button__link {
	min-height: 36px;
	padding: 7px 13px;
	border-color: rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .09);
	color: #fff;
	font-size: .79rem;
}

/* Heroes and full-width bands */
.te-page-hero,
.te-native-page > .te-page-hero,
.te-hero,
.te-native-page > .te-hero,
.te-company-hero {
	position: relative;
	isolation: isolate;
	padding-top: clamp(72px, 9vw, 122px) !important;
	padding-bottom: clamp(68px, 8vw, 108px) !important;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 20%, rgba(32, 183, 167, .23), transparent 28%),
		radial-gradient(circle at 14% 90%, rgba(37, 99, 235, .27), transparent 32%),
		linear-gradient(135deg, var(--te-navy), var(--te-navy-2));
	color: #fff;
}

.te-page-hero::after,
.te-hero::after,
.te-company-hero::after {
	position: absolute;
	z-index: -1;
	right: -120px;
	bottom: -180px;
	width: 430px;
	height: 430px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 50%;
	content: "";
}

.te-page-hero h1,
.te-page-hero h2,
.te-hero h1,
.te-hero h2,
.te-company-hero h1,
.te-company-hero h2 {
	max-width: 900px;
	color: #fff;
}

.te-page-hero .te-lead,
.te-page-hero__description,
.te-hero .te-lead,
.te-company-summary {
	color: #cbd7e6;
}

.te-hero .te-native-dynamic-block,
.te-hero .te-native-dynamic-block .te-site {
	color: inherit;
}

.te-section {
	padding: 82px 0;
}

.te-section--compact {
	padding-top: 52px !important;
	padding-bottom: 52px !important;
}

.te-section--soft,
.te-native-page > .te-section--soft {
	background: var(--te-soft);
}

.te-section--dark,
.te-native-page > .te-section--dark {
	background: var(--te-navy);
	color: #dce7f4;
}

.te-section--dark h1,
.te-section--dark h2,
.te-section--dark h3,
.te-section--dark a {
	color: #fff;
}

.te-section--dark .te-lead {
	color: #cbd7e6;
}

.te-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 34px;
}

.te-direct-answer,
.te-home-answer {
	font-size: 1.08rem;
}

.te-home-answer > p:not(.te-eyebrow),
.te-direct-answer > p:not(.te-eyebrow) {
	max-width: 890px;
}

.te-proof {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background: #fff;
}

.te-proof__grid > .wp-block-column {
	padding: 25px 26px;
	border-left: 1px solid var(--te-line);
}

.te-proof__grid > .wp-block-column:last-child {
	border-right: 1px solid var(--te-line);
}

.te-proof__grid h3 {
	margin-bottom: 5px;
	font-size: 1rem;
	letter-spacing: -.015em;
}

.te-proof__grid p {
	margin: 0;
	color: var(--te-muted);
	font-size: .82rem;
}

.te-provider {
	background: linear-gradient(135deg, #1b53c5, #0e7a91);
	color: #fff;
}

.te-provider h2,
.te-provider a {
	color: #fff;
}

/* Search and autocomplete */
.te-search {
	max-width: 850px;
	margin-top: 31px;
}

.te-search > label {
	display: block;
	margin-bottom: 9px;
	color: #fff;
	font-size: .87rem;
	font-weight: 720;
}

.te-search__box {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 9px;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 18px 54px rgba(0, 0, 0, .24);
}

.te-site .te-search__box input,
.te-search__box input {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	color: var(--te-ink);
	font: inherit;
}

.te-search__box button,
.te-directory-filters button,
.te-cf7-form input[type="submit"] {
	min-height: 50px;
	margin: 0;
	padding: 11px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--te-orange);
	color: #182030;
	font: inherit;
	font-size: .9rem;
	font-weight: 780;
	cursor: pointer;
}

.te-autocomplete-wrap {
	position: relative;
	min-width: 0;
}

.te-autocomplete {
	position: absolute;
	z-index: 999;
	top: calc(100% + 9px);
	left: 0;
	width: min(620px, 92vw);
	max-height: 360px;
	margin: 0;
	padding: 7px;
	overflow-y: auto;
	border: 1px solid var(--te-line);
	border-radius: 13px;
	box-shadow: var(--te-shadow);
	background: #fff;
	list-style: none;
}

.te-autocomplete:empty {
	display: none;
}

.te-autocomplete li {
	margin: 0;
}

.te-autocomplete__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 12px;
	border-radius: 8px;
	color: var(--te-ink) !important;
	text-decoration: none;
}

.te-autocomplete__item:hover,
.te-autocomplete__item.is-active {
	background: var(--te-soft-blue);
}

.te-autocomplete__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	font-weight: 700;
}

.te-autocomplete__copy > span {
	margin-top: 2px;
	color: var(--te-muted);
	font-size: .76rem;
	font-weight: 500;
	line-height: 1.35;
}

.te-autocomplete__sector {
	color: var(--te-muted);
	font-size: .78rem;
	text-align: right;
}

.te-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
}

/* Reusable cards and grids */
.te-category-grid,
.te-company-grid,
.te-content-grid,
.te-resource-grid,
.te-detail-grid,
.te-buying-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.te-category-card,
.te-company-card,
.te-content-card,
.te-resource-card,
.te-process-card,
.te-ranked-company,
.te-detail-card,
.te-facts-card,
.te-sidebar-block,
.te-form-panel {
	position: relative;
	min-width: 0;
	border: 1px solid var(--te-line);
	border-radius: var(--te-radius);
	background: #fff;
	box-shadow: 0 1px 0 rgba(15, 34, 58, .02);
}

.te-category-card,
.te-content-card,
.te-resource-card,
.te-process-card {
	padding: 28px;
}

.te-category-card {
	min-height: 260px;
	color: var(--te-ink) !important;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.te-category-card:hover {
	transform: translateY(-3px);
	border-color: #aebdd0;
	box-shadow: var(--te-shadow);
	text-decoration: none;
}

.te-category-card__number {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 30px;
	border-radius: 12px;
	background: var(--te-soft-blue);
	color: var(--te-blue-dark);
	font-size: .78rem;
	font-weight: 800;
}

.te-category-card p,
.te-content-card p,
.te-resource-card p,
.te-process-card p {
	color: var(--te-muted);
}

.te-category-card__arrow {
	position: absolute;
	right: 24px;
	bottom: 20px;
	font-size: 1.45rem;
}

.te-company-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 0;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}

.te-company-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--te-shadow);
}

.te-company-card__media {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 168px;
	min-height: 168px;
	padding: 24px 28px;
	overflow: hidden;
	border: 0;
	border-bottom: 1px solid #e4ebf4;
	border-radius: 0;
	background: #fff;
}

.te-company-card__media img,
.te-company-card__media .te-company-logo-image {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 86% !important;
	max-height: 108px !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	object-position: center !important;
	transform: none !important;
	filter: none;
	opacity: 1 !important;
}

.te-company-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 24px 25px 26px;
}

.te-company-card__sector,
.te-content-card__meta {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: 11px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--te-soft-blue);
	color: var(--te-blue-dark);
	font-size: .72rem;
	font-weight: 760;
	line-height: 1.25;
}

.te-company-card h2,
.te-company-card h3,
.te-content-card h3 {
	margin-bottom: 10px;
	font-size: 1.27rem;
}

.te-company-card h2 a,
.te-company-card h3 a,
.te-content-card h3 a,
.te-resource-card h3 a {
	color: var(--te-ink);
	text-decoration: none;
}

.te-company-card__body > p,
.te-content-card > p {
	color: var(--te-muted);
	font-size: .93rem;
}

.te-card-use-cases {
	margin: 2px 0 18px !important;
	padding-left: 1.15em !important;
	color: #34465d;
	font-size: .84rem;
}

.te-text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--te-blue-dark) !important;
	font-size: .88rem;
	font-weight: 760;
	text-decoration: none !important;
}

.te-text-link::after {
	content: "→";
}

.te-process-grid > .wp-block-column,
.te-resource-grid > .wp-block-column {
	height: auto;
	padding: 28px;
	border: 1px solid var(--te-line);
	border-radius: var(--te-radius);
	background: #fff;
}

.te-section--dark .te-process-grid > .wp-block-column {
	border-color: rgba(255, 255, 255, .15);
	background: rgba(255, 255, 255, .06);
}

.te-section--dark .te-process-grid p {
	color: #cedbea;
}

/* Directory */
.te-directory-filters {
	display: grid;
	grid-template-columns: minmax(250px, 1.55fr) repeat(3, minmax(130px, .72fr)) auto;
	align-items: start;
	gap: 14px;
	margin-bottom: 28px;
	padding: 23px;
	border: 1px solid var(--te-line);
	border-radius: var(--te-radius);
	background: #fff;
	box-shadow: var(--te-shadow);
}

.te-directory-filters label,
.te-cf7-form label {
	display: block;
	margin: 0 0 7px;
	color: var(--te-ink);
	font-size: .82rem;
	font-weight: 740;
}

.te-directory-filters input,
.te-directory-filters select,
.te-cf7-form input[type="text"],
.te-cf7-form input[type="email"],
.te-cf7-form input[type="url"],
.te-cf7-form input[type="tel"],
.te-cf7-form select,
.te-cf7-form textarea {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #cbd7e4;
	border-radius: 9px;
	box-shadow: none;
	background: #fff;
	color: var(--te-ink);
	font: inherit;
	font-size: .92rem;
	line-height: 1.4;
}

.te-directory-filters input:focus,
.te-directory-filters select:focus,
.te-cf7-form input:focus,
.te-cf7-form select:focus,
.te-cf7-form textarea:focus {
	border-color: var(--te-blue);
	outline: 3px solid rgba(37, 99, 235, .12);
}

.te-filter-query {
	min-width: 0;
}

.te-filter-actions {
	display: flex;
	grid-column: auto;
	align-items: center;
	gap: 14px;
	padding-top: 26px;
}

.te-directory-filters .te-autocomplete {
	position: static;
	width: 100%;
	margin-top: 8px;
	box-shadow: 0 15px 30px rgba(15, 34, 58, .12);
}

.te-filter-actions a {
	font-size: .86rem;
	font-weight: 700;
}

.te-directory-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--te-line);
}

.te-directory-results-head p {
	margin: 0;
	color: var(--te-muted);
	font-size: .88rem;
}

.te-directory-results-head strong {
	color: var(--te-ink);
	font-size: 1.35rem;
}

.te-empty {
	padding: 42px;
	border: 1px dashed #aab8c8;
	border-radius: var(--te-radius);
	background: var(--te-soft);
	text-align: center;
}

.te-empty__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 22px;
}

.te-pagination {
	margin-top: 38px;
}

.te-pagination ul,
.te-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.te-pagination a,
.te-pagination span {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 11px;
	border: 1px solid var(--te-line);
	border-radius: 8px;
	background: #fff;
	color: var(--te-ink);
	font-size: .82rem;
	font-weight: 720;
	text-decoration: none;
}

.te-pagination .current {
	border-color: var(--te-blue);
	background: var(--te-blue);
	color: #fff;
}

/* Contact Form 7 */
.te-form-layout {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 44px !important;
}

.te-form-copy {
	padding-top: 12px;
}

.te-form-panel {
	overflow: hidden;
	padding: clamp(24px, 4vw, 38px);
	border-top: 4px solid var(--te-orange);
	box-shadow: var(--te-shadow);
}

.te-form-panel > .wp-block-contact-form-7-contact-form-selector,
.te-form-panel > .wp-block-shortcode {
	margin: 0;
}

.te-cf7-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.te-cf7-form {
	width: 100%;
	max-width: none;
	color: var(--te-ink);
}

.te-cf7-form label {
	display: block;
	width: 100%;
	line-height: 1.45;
}

.te-cf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	margin-top: 7px;
}

.te-cf7-form form,
.te-cf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.te-cf7-form select,
.te-cf7-form textarea {
	width: 100% !important;
	max-width: none !important;
}

.te-cf7-full {
	grid-column: 1 / -1;
}

.te-cf7-form p {
	margin: 0;
}

.te-cf7-form textarea {
	min-height: 132px;
	resize: vertical;
}

.te-cf7-form input[type="submit"] {
	min-width: 190px;
	box-shadow: 0 8px 20px rgba(255, 138, 52, .22);
	transition: transform .16s ease, box-shadow .16s ease;
}

.te-cf7-form input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(255, 138, 52, .30);
}

.te-cf7-form .wpcf7-spinner {
	margin: 0 0 0 12px;
}

/* Complianz legal documents inherit the TopEmpresa reading width and palette. */
.te-complianz-document,
.te-complianz-consent,
.te-complianz-document .cmplz-document {
	width: 100%;
	max-width: none;
}

.te-complianz-document {
	margin: 24px 0 36px;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--te-line);
	border-radius: var(--te-radius-sm);
	background: var(--te-soft);
}

.te-complianz-document h2,
.te-complianz-document h3 {
	margin-top: 1.5em;
}

.te-complianz-consent .cmplz-manage-consent {
	position: static !important;
	display: inline-flex !important;
	padding: 11px 16px !important;
	border-radius: 9px !important;
	background: var(--te-navy) !important;
	color: #fff !important;
}

.te-cf7-consent,
.te-cf7-consent .wpcf7-list-item {
	margin: 0;
}

.te-cf7-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	line-height: 1.55;
}

.te-cf7-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex: 0 0 auto;
}

.te-cf7-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 5px;
	color: #a9212d;
	font-size: .78rem;
}

.te-cf7-form .wpcf7-response-output {
	margin: 18px 0 0 !important;
	padding: 12px 14px !important;
	border-width: 1px !important;
	border-radius: 9px;
	font-size: .86rem;
}

.te-cf7-form.sent .wpcf7-response-output {
	border-color: #8dcbb4 !important;
	background: #effaf6;
	color: #0d5f43;
}

.te-cf7-form.invalid .wpcf7-response-output,
.te-cf7-form.failed .wpcf7-response-output {
	border-color: #e5b1b6 !important;
	background: #fff4f5;
	color: #8d1c28;
}

.te-form-unavailable {
	padding: 17px;
	border: 1px solid #e1b271;
	border-radius: 9px;
	background: #fff6e8;
	color: #6b421c;
}

/* FAQ, editorial and tables */
.te-context-faq > .wp-block-details,
.te-faq-list details,
.te-faq-item {
	max-width: 900px;
	margin: 0 auto 11px;
	padding: 18px 21px;
	border: 1px solid var(--te-line);
	border-radius: var(--te-radius-sm);
	background: #fff;
}

.te-context-faq > h2,
.te-context-faq > .te-eyebrow {
	max-width: 900px;
	margin-inline: auto;
}

.te-faq-item summary,
.te-faq-list summary {
	cursor: pointer;
	color: var(--te-ink);
	font-weight: 760;
	line-height: 1.4;
}

.te-faq-item p,
.te-faq-list details p {
	margin: 13px 0 0;
	color: var(--te-muted);
}

.te-ranked-company {
	margin: 0 0 22px;
	padding: 30px;
}

.te-limitations,
.te-disclosure {
	padding: 16px 18px;
	border-left: 4px solid var(--te-orange);
	border-radius: 0 8px 8px 0;
	background: #fff7ee;
	color: #64411f;
}

.te-section--dark .te-disclosure,
.te-section--dark .te-limitations {
	background: rgba(255, 255, 255, .08);
	color: #e4ecf5;
}

.wp-block-table,
.te-table-wrap {
	max-width: 100%;
	margin: 22px 0;
	overflow-x: auto;
	border: 1px solid var(--te-line);
	border-radius: 12px;
}

.te-site table,
.te-editorial table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: #fff;
	font-size: .88rem;
}

.te-site th,
.te-site td,
.te-editorial th,
.te-editorial td {
	padding: 14px 15px;
	border: 0;
	border-bottom: 1px solid var(--te-line);
	text-align: left;
	vertical-align: top;
}

.te-site th,
.te-editorial th {
	background: var(--te-soft);
	color: var(--te-ink);
	font-size: .77rem;
	font-weight: 800;
	letter-spacing: .02em;
}

.te-site tr:last-child td,
.te-editorial tr:last-child td {
	border-bottom: 0;
}

.te-editorial--wide {
	padding: 72px 20px;
}

.te-editorial--wide h2 {
	margin-top: 1.45em;
}

/* Company profile */
.te-company-hero {
	padding-inline: 0 !important;
}

.te-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 35px;
	color: #aebfd2;
	font-size: .78rem;
}

.te-breadcrumb a {
	color: #d7e3ef;
	text-decoration: none;
}

.te-company-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 34px;
}

.te-company-identity {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	align-items: center;
	gap: 28px;
}

.te-company-logo {
	display: grid;
	place-items: center;
	width: 160px;
	height: 160px;
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 45px rgba(0, 0, 0, .22);
}

.te-company-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.te-company-summary {
	max-width: 750px;
	margin: 0;
	font-size: 1.06rem;
}

.te-company-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 205px;
}

.te-company-ranking-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 17px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff !important;
	font-size: .79rem;
	font-weight: 720;
	text-decoration: none;
}

.te-company-ranking-badge span {
	color: var(--te-orange);
	font-weight: 850;
}

.te-company-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: 52px;
}

.te-company-main {
	min-width: 0;
}

.te-company-sidebar {
	position: sticky;
	top: 92px;
}

.te-company-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 42px;
	padding: 16px 18px;
	border: 1px solid var(--te-line);
	border-radius: 12px;
	background: var(--te-soft);
	font-size: .79rem;
}

.te-company-jump strong {
	width: 100%;
}

.te-company-jump a {
	text-decoration: none;
}

.te-company-section {
	margin-bottom: 58px;
	scroll-margin-top: 105px;
}

.te-rich-text > *:last-child {
	margin-bottom: 0;
}

.te-structured-list,
.te-source-list,
.te-process-list {
	padding: 0 !important;
	list-style: none;
}

.te-structured-list li {
	position: relative;
	padding-left: 25px;
}

.te-structured-list li::before {
	position: absolute;
	top: .7em;
	left: 2px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--te-cyan);
	content: "";
}

.te-term-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.te-term-list a {
	padding: 7px 11px;
	border: 1px solid var(--te-line);
	border-radius: 999px;
	background: #fff;
	color: #30445f;
	font-size: .77rem;
	font-weight: 650;
	text-decoration: none;
}

.te-detail-grid,
.te-deliverable-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.te-detail-card,
.te-deliverable-grid > section,
.te-fact-box,
.te-editorial-verdict {
	padding: 27px;
	border: 1px solid var(--te-line);
	border-radius: var(--te-radius);
	background: var(--te-soft);
}

.te-detail-card h2,
.te-deliverable-grid h2 {
	font-size: 1.3rem;
}

.te-deliverable-grid {
	display: grid;
	gap: 21px;
}

.te-process-list {
	counter-reset: none;
}

.te-process-list li {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 16px;
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--te-line);
}

.te-process-list li span {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--te-navy);
	color: #fff;
	font-size: .75rem;
	font-weight: 800;
}

.te-process-list li p {
	margin: 6px 0 0;
}

.te-fact-box--positive {
	border-color: #b9e3d3;
	background: #effaf6;
}

.te-editorial-verdict {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 20px;
	border-color: #b8ccef;
	background: var(--te-soft-blue);
}

.te-editorial-verdict__mark {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--te-blue);
	color: #fff;
	font-weight: 850;
}

.te-source-list li {
	margin: 0;
	padding: 11px 0;
	border-bottom: 1px solid var(--te-line);
	word-break: break-word;
}

.te-source-list a {
	font-size: .86rem;
}

.te-facts-card,
.te-sidebar-block,
.te-sidebar-highlight {
	margin-bottom: 17px;
	padding: 22px;
}

.te-facts-card h2 {
	font-size: 1.25rem;
}

.te-facts-card dl,
.te-facts-card dd {
	margin: 0;
}

.te-facts-card dl > div {
	padding: 12px 0;
	border-bottom: 1px solid var(--te-line);
}

.te-facts-card dl > div:last-child {
	border-bottom: 0;
}

.te-facts-card dt {
	color: var(--te-muted);
	font-size: .72rem;
	font-weight: 720;
	text-transform: uppercase;
}

.te-facts-card dd {
	font-size: .88rem;
}

.te-sidebar-highlight {
	border-radius: var(--te-radius);
	background: linear-gradient(135deg, var(--te-blue), #16869a);
	color: #fff;
}

.te-sidebar-highlight span,
.te-sidebar-highlight strong {
	display: block;
}

.te-sidebar-highlight span {
	font-size: .72rem;
	font-weight: 760;
	text-transform: uppercase;
}

.te-sidebar-highlight strong {
	font-size: 1.65rem;
}

.te-sidebar-highlight a {
	color: #fff;
}

.te-related-links a {
	display: block;
	padding: 9px 0;
	border-bottom: 1px solid var(--te-line);
	font-size: .83rem;
	text-decoration: none;
}

/* Utility navigation */
.te-utility-links {
	padding: 25px 0;
	border-top: 1px solid var(--te-line);
	background: #eef3f8;
}

.te-utility-links .te-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.te-utility-links a {
	color: #3d5068;
	font-size: .77rem;
	font-weight: 650;
	text-decoration: none;
}

/* Responsive */
@media (max-width: 980px) {
	.te-custom-document.admin-bar .te-site-header { top: 32px; }
	.te-site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 12px;
		min-height: 70px;
	}
	.te-menu-toggle { display: block; grid-column: 3; }
	.te-site-header__actions { grid-column: 2; grid-row: 1; }
	.te-header-search { display: none; }
	.te-primary-navigation {
		display: none;
		grid-column: 1 / -1;
		padding: 0 0 16px;
	}
	.te-primary-navigation.is-open { display: block; }
	.te-main-menu { display: block; }
	.te-main-menu a { padding: 11px 3px; border-bottom: 1px solid var(--te-line); }
	.te-main-menu > li > a::after { display: none; }
	.te-main-menu .sub-menu {
		position: static;
		width: auto;
		padding: 0 0 3px 14px;
		transform: none;
		visibility: visible;
		border: 0;
		box-shadow: none;
		opacity: 1;
	}
	.te-main-menu .sub-menu a { color: var(--te-muted) !important; }
	.te-main-menu > .te-categories-menu > .sub-menu {
		width: auto;
		padding: 2px 0 4px 14px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.te-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.te-category-grid,
	.te-company-grid,
	.te-content-grid,
	.te-resource-grid,
	.te-buying-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.te-directory-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.te-filter-query {
		grid-column: 1 / -1;
	}

	.te-filter-actions { grid-column: 1 / -1; padding-top: 0; }

	.te-company-hero__grid,
	.te-company-layout {
		grid-template-columns: 1fr;
	}

	.te-company-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.te-company-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 17px;
	}

	.te-company-sidebar > * {
		margin-bottom: 0;
	}
}

@media (max-width: 720px) {
	.te-custom-document.admin-bar .te-site-header { top: 46px; }
	.te-brand__copy small { display: none; }
	.te-header-cta { padding-inline: 10px; font-size: .72rem; }
	.te-footer-lead,
	.te-footer-bottom { align-items: flex-start; flex-direction: column; }
	.te-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.te-footer-submit { width: 100%; justify-content: space-between; }
	.te-main-menu > .te-categories-menu > .sub-menu { grid-template-columns: 1fr; }
	.te-site,
	.te-editorial,
	.te-block-page-template {
		font-size: 16px;
	}

	.te-native-page > .te-section,
	.te-native-page > .wp-block-group.te-section,
	.te-section {
		padding-top: 58px;
		padding-bottom: 58px;
	}

	.te-native-page > .te-section-head-native {
		padding-top: 56px;
	}

	.te-native-page .wp-block-columns,
	.te-form-layout {
		display: flex;
		flex-direction: column;
	}

	.te-category-grid,
	.te-company-grid,
	.te-content-grid,
	.te-resource-grid,
	.te-detail-grid,
	.te-deliverable-grid,
	.te-buying-grid,
	.te-directory-filters,
	.te-cf7-grid,
	.te-company-sidebar {
		grid-template-columns: 1fr;
	}

	.te-filter-query,
	.te-filter-actions,
	.te-cf7-full {
		grid-column: auto;
	}

	.te-search__box {
		grid-template-columns: 1fr;
	}

	.te-search__box button {
		width: 100%;
	}

	.te-search__box .te-autocomplete {
		position: static;
		width: 100%;
		margin-top: 8px;
	}

	.te-directory-results-head,
	.te-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.te-company-identity {
		grid-template-columns: 1fr;
	}

	.te-company-logo {
		width: 130px;
		height: 130px;
	}

	.te-company-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.te-company-actions .te-btn {
		width: 100%;
	}

	.te-editorial-verdict {
		grid-template-columns: 1fr;
	}

	.te-proof__grid > .wp-block-column,
	.te-proof__grid > .wp-block-column:last-child {
		border-right: 1px solid var(--te-line);
		border-bottom: 1px solid var(--te-line);
	}

	.te-empty {
		padding: 30px 20px;
	}
}

@media (max-width: 430px) {
	.te-container {
		width: min(100% - 28px, 1180px);
	}

	.te-native-page > .wp-block-group {
		padding-inline: 16px;
	}

	.te-category-card,
	.te-content-card,
	.te-resource-card,
	.te-process-card,
	.te-form-panel,
	.te-ranked-company {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.te-site *,
	.te-site *::before,
	.te-site *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
