/* Temo shared tokens */
:root, .wpcursor-component[class*="wpcursor-temo-"] {
	--cns-lime: #c8f000;
	--cns-green: #1f3a2a;
	--cns-green-deep: #16291e;
	--cns-ink: #111;
	--cns-font: "Poppins", system-ui, sans-serif;
	--cns-hand: "Caveat", cursive;
}
.wpcursor-component[class*="wpcursor-temo-"],
.wpcursor-component[class*="wpcursor-temo-"] p,
.wpcursor-component[class*="wpcursor-temo-"] li,
.wpcursor-component[class*="wpcursor-temo-"] h1,
.wpcursor-component[class*="wpcursor-temo-"] h2,
.wpcursor-component[class*="wpcursor-temo-"] h3,
.wpcursor-component[class*="wpcursor-temo-"] a,
.wpcursor-component[class*="wpcursor-temo-"] button,
.wpcursor-component[class*="wpcursor-temo-"] span,
.wpcursor-component[class*="wpcursor-temo-"] select {
	font-family: "Poppins", system-ui, sans-serif !important;
	box-sizing: border-box;
}
/* —— Flux filtrable —— */
.cns-tem-feed {
	position: relative;
	background: #f6f4ef;
	padding: clamp(2.25rem, 5vw, 4rem) clamp(1.15rem, 4vw, 3rem)
		clamp(3.5rem, 7vw, 5.5rem);
}

.cns-tem-feed__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.cns-tem-filters {
	background: #fff;
	border-radius: 1.5rem;
	padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.15rem, 3vw, 1.85rem)
		1.15rem;
	box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
	margin-bottom: 1.75rem;
}

.cns-tem-filters__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #1a1a1a;
}

.cns-tem-filters__row {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: 0.65rem 1rem;
	align-items: start;
	margin-bottom: 0.85rem;
}

.cns-tem-filters__label {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: #222;
}

.cns-tem-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.cns-tem-chip {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 0.48rem 0.95rem;
	border-radius: 999px;
	border: 1px solid rgba(17, 17, 17, 0.12) !important;
	background: #f4f4f1 !important;
	color: #1a1a1a !important;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none !important;
	outline: 0 !important;
	white-space: nowrap;
}

.cns-tem-chip:hover,
.cns-tem-chip:focus,
.cns-tem-chip:focus-visible {
	border-color: rgba(31, 58, 42, 0.35) !important;
	background: #ecece6 !important;
	color: #1a1a1a !important;
}

.cns-tem-chip.is-on,
.cns-tem-chip[aria-pressed="true"] {
	background: var(--cns-green) !important;
	border-color: var(--cns-green) !important;
	color: #fff !important;
}

.cns-tem-filters__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.25rem;
	margin-top: 1.1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.cns-tem-filters__count {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #222;
	min-width: 0;
	overflow-wrap: break-word;
}

.cns-tem-filters__count strong {
	font-weight: 800;
}

.cns-tem-filters__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
}

.cns-tem-filters__reset {
	appearance: none;
	border: 0 !important;
	background: transparent !important;
	color: #5a5a5a !important;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0.35rem 0.2rem;
	box-shadow: none !important;
	outline: 0 !important;
}

.cns-tem-filters__reset:hover {
	color: var(--cns-green) !important;
}

.cns-tem-filters__sort .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;
}

.cns-tem-filters__sort select {
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	color: #1a1a1a;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23111' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
	border: 1px solid rgba(17, 17, 17, 0.14);
	border-radius: 999px;
	padding: 0.55rem 2.2rem 0.55rem 1rem;
	cursor: pointer;
	max-width: 100%;
}

html body.page-id-5758 .cns-tem-list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	margin: 0 -0.6rem !important;
}

html body.page-id-5758 .cns-tem-list > .cns-tem-card {
	flex: 0 0 50% !important;
	width: 50% !important;
	max-width: 50% !important;
	min-width: 0 !important;
	float: none !important;
	padding: 0 0.6rem 1.2rem !important;
	box-sizing: border-box !important;
}

.cns-tem-card {
	display: flex;
	flex-direction: column;
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
}

.cns-tem-card[hidden] {
	display: none !important;
}

.cns-tem-card--featured {
	display: flex;
	flex-direction: column;
}

.cns-tem-card__media {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	aspect-ratio: 16 / 10;
	border-radius: 1.25rem 1.25rem 0 0;
	background: #0d1a12;
	cursor: pointer;
	overflow: hidden;
	appearance: none;
	box-shadow: none !important;
}

.cns-tem-card--featured .cns-tem-card__media {
	aspect-ratio: 16 / 10;
}

.cns-tem-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.cns-tem-card__media:hover img,
.cns-tem-card__media:focus-visible img {
	transform: scale(1.04);
}

.cns-tem-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 42%, rgba(11, 22, 16, 0.55) 100%);
	pointer-events: none;
}

.cns-tem-card__play {
	position: absolute;
	inset: 50% auto auto 50%;
	z-index: 1;
	width: 3.2rem;
	height: 3.2rem;
	margin: -1.6rem 0 0 -1.6rem;
	border-radius: 50%;
	background: var(--cns-lime);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
	pointer-events: none;
}

.cns-tem-card__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.45rem 0 0.45rem 0.75rem;
	border-color: transparent transparent transparent var(--cns-green);
	transform: translate(-50%, -50%);
}

.cns-tem-card__watch {
	position: absolute;
	left: 50%;
	bottom: 0.9rem;
	z-index: 1;
	transform: translateX(-50%);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	pointer-events: none;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.cns-tem-card__watch,
.cns-tem-card__more {
	display: none;
}

.cns-tem-card__body {
	padding: 1.05rem 1.15rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	background: #fff;
	border-radius: 0 0 1.25rem 1.25rem;
	box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.cns-tem-card--featured .cns-tem-card__body {
	padding: 1.05rem 1.15rem 1.2rem;
}

.cns-tem-card__kicker {
	margin: 0;
	font-size: 0.88rem;
	color: #666;
	line-height: 1.4;
}

.cns-tem-card__name {
	margin: 0;
	font-size: 1.28rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #111;
}

.cns-tem-card--featured .cns-tem-card__name {
	font-size: 1.28rem;
}

.cns-tem-card__hook {
	margin: 0.15rem 0 0.25rem;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.4;
	color: #222;
}

.cns-tem-card--featured .cns-tem-card__hook {
	font-size: 1.02rem;
	font-weight: 600;
	max-width: none;
}

.cns-tem-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
}

.cns-tem-card__tags li {
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: #f3f3ef;
	color: #333;
	font-size: 0.75rem;
	font-weight: 600;
}

.cns-tem-card__trio {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.cns-tem-card__trio-label {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--cns-green);
}

.cns-tem-card__trio p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.45;
	color: #444;
}

.cns-tem-card__more {
	display: none !important;
}
	align-items: center;
	gap: 0.35rem;
	margin-top: 1.15rem;
	width: fit-content;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	border: 0 !important;
	background: var(--cns-green) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none !important;
	outline: 0 !important;
}

.cns-tem-card__more:hover {
	background: var(--cns-green-deep) !important;
	color: #fff !important;
}

.cns-tem-feed__empty {
	margin: 1.5rem 0 0;
	text-align: center;
	color: #555;
	font-size: 0.98rem;
}

.cns-tem-feed__more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 1.75rem;
}

.cns-tem-feed__more-wrap:has([hidden]) {
	display: none;
}

.cns-tem-btn--ghost {
	background: #fff !important;
	color: var(--cns-green) !important;
	box-shadow: none;
	border: 1.5px solid var(--cns-green);
}

.cns-tem-btn--ghost::after {
	content: none;
}

.cns-tem-btn--ghost:hover {
	background: var(--cns-lime) !important;
	color: #111 !important;
	border-color: var(--cns-lime);
}

.cns-tem-lightbox[hidden] {
	display: none !important;
}

.cns-tem-lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.cns-tem-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 14, 10, 0.78);
}

.cns-tem-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	background: #000;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cns-tem-lightbox__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	z-index: 2;
	width: 2.4rem;
	height: 2.4rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #111;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.cns-tem-lightbox__frame {
	aspect-ratio: 16 / 9;
	background: #000;
}

.cns-tem-lightbox__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

body.cns-tem-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.cns-tem-filters__row {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}
}

@media (max-width: 700px) {
	html body.page-id-5758 .cns-tem-list {
		flex-direction: column !important;
		margin: 0 !important;
	}

	html body.page-id-5758 .cns-tem-list > .cns-tem-card {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 0 1.2rem !important;
	}

}

@media (max-width: 600px) {
	.cns-tem-chip {
		font-size: 0.8rem;
		padding: 0.42rem 0.8rem;
	}

	.cns-tem-filters {
		padding-right: 3.5rem;
	}

	.cns-tem-filters__foot {
		align-items: flex-start;
		flex-direction: column;
	}

	.cns-tem-filters__sort select {
		width: 100%;
	}

	.cns-tem-btn--ghost {
		width: 100%;
	}
}


.cns-tem-filters__title, .cns-tem-card__name { color: #111 !important; }
.cns-tem-card__hook, .cns-tem-card__kicker { color: inherit !important; }
