/**
 * Taste & Fly — Estilos centralizados dos widgets ativos e CTA Google Fonte Preferida.
 * Enfileirado via wp_enqueue_scripts com versionamento filemtime().
 */

/* ==========================================================================
   TF_Trending_Widget — Mais Lidas da Semana
   ========================================================================== */
.widget h3.tf-trending__title,
.tf-trending__title {
	font-family: Oswald, sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-align: center;
	padding: 18px 20px 14px;
	border-bottom: 2px solid #1a1a1a;
	margin: 0;
	line-height: 1.3;
}

.widget .tf-trending__list,
.tf-trending__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar .widget .tf-trending__item,
.tf-trending__item {
	border-bottom: 1px solid #f0eeeb;
}

.tf-trending__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 15px;
	text-decoration: none;
	color: inherit;
}

.tf-trending__rank {
	font-family: Oswald, sans-serif;
	font-size: 22px;
	font-weight: 300;
	color: #8a6508;
	min-width: 24px;
	text-align: center;
	line-height: 1;
}

.tf-trending__thumb {
	width: 65px;
	height: 65px;
	object-fit: cover;
	border-radius: 3px;
	flex-shrink: 0;
}

.tf-trending__body {
	flex: 1;
	min-width: 0;
}

.tf-trending__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.35;
	color: #1a1a1a;
}

.tf-trending__meta {
	display: block;
	font-size: 10.5px;
	color: #8a6508;
	font-family: Oswald, sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 3px;
}

.tf-trending__footer {
	font-size: 11px;
	color: #595959;
	text-align: center;
	padding: 8px;
	font-family: Oswald, sans-serif;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ==========================================================================
   TF_Top_Rated_Widget — Melhores Avaliados
   ========================================================================== */
.widget h3.tf-top-rated__title,
.tf-top-rated__title {
	font-family: Oswald, sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-align: center;
	padding: 18px 20px 14px;
	border-bottom: 2px solid #1a1a1a;
	margin: 0;
	line-height: 1.3;
}

.widget .tf-top-rated__list,
.tf-top-rated__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar .widget .tf-top-rated__item,
.tf-top-rated__item {
	border-bottom: 1px solid #f0eeeb;
}

.tf-top-rated__link {
	display: flex;
	gap: 12px;
	padding: 14px 15px;
	text-decoration: none;
	color: inherit;
}

.tf-top-rated__thumb {
	width: 55px;
	height: 55px;
	object-fit: cover;
	border-radius: 3px;
	flex-shrink: 0;
}

.tf-top-rated__body {
	flex: 1;
	min-width: 0;
}

.tf-top-rated__name {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.35;
	margin-bottom: 3px;
}

.tf-top-rated__stars {
	display: block;
	font-size: 13px;
	margin-bottom: 2px;
	line-height: 1;
}

.tf-top-rated__meta {
	display: block;
	font-size: 10.5px;
	color: #595959;
	font-family: Oswald, sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tf-top-rated__footer {
	text-align: right;
	padding: 10px 15px 12px;
	border-top: 1px solid #f0eeeb;
}

.tf-top-rated__more {
	font-family: Oswald, sans-serif;
	font-size: 11px;
	color: #595959;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration-line: underline;
	text-decoration-color: #b8b3ab;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .15s ease, text-decoration-color .15s ease;
}

.tf-top-rated__more:hover,
.tf-top-rated__more:focus-visible {
	color: #1a1a1a;
	text-decoration-color: #1a1a1a;
}

/* ==========================================================================
   TF_Em_Alta_Widget — Mini-card Vertical Em Alta
   ========================================================================== */
.tf-sidebar-emalta-box {
	position: relative;
	background: #0c0b0a;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
	margin-bottom: 25px;
}

.widget h3.screen-reader-text,
.tf-sidebar-emalta-box .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.tf-sidebar-emalta__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	background: #141312;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-sidebar-emalta__label {
	font-family: Oswald, sans-serif;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #b8860b;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tf-sidebar-emalta__dot {
	width: 6px;
	height: 6px;
	background: #b8860b;
	border-radius: 50%;
	box-shadow: 0 0 5px #b8860b;
	display: inline-block;
}

.tf-sidebar-emalta__open {
	font-family: Oswald, sans-serif;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.tf-sidebar-emalta__open:hover,
.tf-sidebar-emalta__open:focus-visible {
	color: #fff;
}

.tf-sidebar-emalta__card {
	display: block;
	position: relative;
	aspect-ratio: 9 / 13;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
}

.tf-sidebar-emalta__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-sidebar-emalta__grad {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 45%, transparent 70%);
}

.tf-sidebar-emalta__top {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tf-sidebar-emalta__kicker {
	font-family: Oswald, sans-serif;
	font-size: 9.5px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	background: rgba(0, 0, 0, 0.5);
	color: #ffcc0d;
	padding: 3px 7px;
	border-radius: 4px;
	border: 1px solid rgba(255, 204, 13, 0.3);
}

.tf-sidebar-emalta__pill {
	font-family: Oswald, sans-serif;
	font-size: 9.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
}

.tf-sidebar-emalta__bottom {
	position: absolute;
	bottom: 14px;
	left: 14px;
	right: 14px;
}

.tf-sidebar-emalta__rating {
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.tf-sidebar-emalta__score {
	font-family: Lato, sans-serif;
	font-size: 11px;
	color: #ffcc0d;
	font-weight: 700;
}

.tf-sidebar-emalta__title {
	font-family: Oswald, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.25;
	color: #fff;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tf-sidebar-emalta__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: Oswald, sans-serif;
	font-size: 10.5px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #d4a428;
	background: rgba(184, 134, 11, 0.15);
	padding: 5px 10px;
	border: 1px solid rgba(184, 134, 11, 0.4);
	border-radius: 4px;
}

/* ==========================================================================
   TF_Sidebar_Contextual_Widget — Sidebar Contextual
   ========================================================================== */
.tf-ctx__block {
	border-left: 3px solid #e0ddd8;
	padding-left: 12px;
	margin-bottom: 20px;
	border-radius: 0;
}

.tf-ctx__block--accent {
	border-left-color: #b8860b;
}

.widget h3.tf-ctx__heading,
.tf-ctx__heading {
	font-family: Oswald, sans-serif;
	font-size: 11px;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	text-align: left;
	color: #333;
	font-weight: 500;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
}

.widget h3.tf-ctx__heading--accent,
.tf-ctx__heading--accent {
	color: #8a6508;
}

.tf-ctx__link {
	color: #333;
	text-decoration: none;
	display: block;
	padding: 4px 0;
	font-size: 13px;
	line-height: 1.4;
}

.tf-ctx__link--muted {
	color: #555;
}

.tf-ctx__link--btn {
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	line-height: 1.4;
	text-align: left;
	width: 100%;
	color: #555;
	text-decoration: none;
	display: block;
	padding: 4px 0;
}

.tf-ctx__link:hover,
.tf-ctx__link--btn:hover {
	color: #1a1a1a;
}

.tf-ctx__rank {
	color: #595959;
	margin-right: 4px;
}

.tf-ctx__score {
	color: #8a6508;
	font-size: 11px;
}

.tf-ctx__cta {
	display: block;
	margin-top: 8px;
	font-family: Oswald, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #8b2500;
	text-decoration: none;
}

.tf-ctx__cta--btn {
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	text-align: left;
}

.tf-ctx__cta--plain {
	font-family: inherit;
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
}

.tf-ctx__emalta-simple {
	margin-bottom: 20px;
}

.tf-ctx__emalta-simple a {
	font-family: Oswald, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #8b2500;
	text-decoration: none;
}

.tf-ctx__emalta-simple a:hover,
.tf-ctx__emalta-simple a:focus-visible {
	text-decoration: underline;
}

.tf-ctx__cheap {
	background: #fdf8ec;
	border: 1px solid #f0e6c8;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 20px;
	text-align: center;
}

.tf-ctx__cheap-title {
	font-family: Oswald, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #8a6508;
	font-weight: 500;
	margin-bottom: 6px;
}

.tf-ctx__cheap-desc {
	font-size: 13px;
	color: #555;
	line-height: 1.5;
	margin-bottom: 10px;
}

.tf-ctx__cheap-btn {
	display: inline-block;
	padding: 8px 20px;
	font-family: Oswald, sans-serif;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: #8a6508;
	color: #fff;
	border-radius: 3px;
	text-decoration: none;
}

/* ==========================================================================
   TF_Shots_Slider_Widget — Shots Slider
   ========================================================================== */
.tf-shots-w {
	font-family: 'Lato', Arial, sans-serif;
}

.tf-shots-w__head {
	text-align: center;
	padding: 14px 16px 10px;
	border-bottom: 2px solid #1a1a1a;
}

.widget .tf-shots-w__head h3,
.tf-shots-w__head h3 {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: 0;
}

.tf-shots-w__head a {
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #1a1a1a;
	text-decoration: none;
}

.tf-shots-w__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid #f0eeeb;
	text-decoration: none;
	color: inherit;
	transition: background .15s;
}

.tf-shots-w__item:hover {
	background: #faf9f6;
}

.tf-shots-w__date {
	font-family: 'Oswald', sans-serif;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6508;
	min-width: 34px;
	padding-top: 2px;
	flex-shrink: 0;
}

.tf-shots-w__title {
	font-size: 13px;
	line-height: 1.4;
	color: #1a1a1a;
	font-weight: 700;
}

.tf-shots-w__all {
	display: block;
	text-align: center;
	padding: 10px;
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #595959;
	text-decoration: none;
	transition: color .15s;
}

.tf-shots-w__all:hover,
.tf-shots-w__all:focus-visible {
	color: #1a1a1a;
}

/* ==========================================================================
   TF_Explorar_Widget — Explorar o Site (Bubbles)
   ========================================================================== */
.tfe-widget {
	font-family: Lato, sans-serif;
	color: #1a1a1a;
}

.tfe-header {
	text-align: center;
	padding: 22px 22px 16px;
	border-bottom: 1px solid #e0ddd8;
	margin: 0 0 20px;
}

.tfe-header-rule {
	width: 34px;
	height: 2px;
	background: #b8860b;
	margin: 0 auto 10px;
}

.widget h3.tfe-title,
.tfe-title {
	font-family: Oswald, sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.3;
}

.tfe-body {
	padding: 0 18px 20px;
}

.tfe-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #faf9f7;
	border-left: 4px solid #b8860b;
	padding: 13px 14px;
	margin-bottom: 7px;
	text-decoration: none;
	color: #1a1a1a;
	font-family: Oswald, sans-serif;
	font-size: 13.5px;
	letter-spacing: 0.04em;
	line-height: 1.3;
	transition: background .2s ease, padding-left .2s ease;
}

.tfe-feature:hover {
	background: #f4ede0;
	padding-left: 18px;
}

.tfe-feature-star {
	color: #b8860b;
	font-size: 13px;
	flex-shrink: 0;
}

.tfe-feature-name {
	flex: 1;
}

.tfe-feature-arrow {
	color: #b8860b;
	font-family: Georgia, serif;
	font-size: 16px;
	line-height: 1;
	transition: transform .2s ease;
}

.tfe-feature:hover .tfe-feature-arrow {
	transform: translateX(3px);
}

.tfe-aberturas {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #faf9f7;
	border: 1px dashed #b8860b;
	padding: 11px 14px;
	margin: 15px 0 24px;
	text-decoration: none;
	color: #1a1a1a;
	font-family: Oswald, sans-serif;
	font-size: 13px;
	letter-spacing: 0.04em;
	transition: background .2s ease;
}

.tfe-aberturas:hover {
	background: #f4ede0;
}

.tfe-novo {
	background: #8a6508;
	color: #faf9f7;
	padding: 3px 9px;
	font-family: Oswald, sans-serif;
	font-size: 10px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

.tfe-novo--compact {
	font-size: 9px;
	padding: 2px 7px;
	margin-right: 4px;
}

.tfe-section {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}

.tfe-section-mark {
	width: 5px;
	height: 5px;
	background: #b8860b;
	transform: rotate(45deg);
	flex-shrink: 0;
}

.tfe-section-name {
	font-family: Oswald, sans-serif;
	font-size: 10.5px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #8a6508;
	flex-shrink: 0;
}

.tfe-section-rule {
	flex: 1;
	height: 1px;
	background: #e0ddd8;
}

.tfe-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 24px;
}

.tfe-pills--last {
	margin-bottom: 0;
}

.tfe-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: transparent;
	border: 1px solid #e0ddd8;
	border-radius: 0;
	color: #444;
	font-family: Oswald, sans-serif;
	font-size: 12px;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.tfe-pill:hover {
	border-color: #b8860b;
	color: #1a1a1a;
	background: #faf9f7;
}

.tfe-pill-count {
	color: #595959;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 11.5px;
	letter-spacing: 0;
}

.tfe-pill--principal {
	background: #faf9f7;
	border-color: #b8860b;
	color: #1a1a1a;
	font-size: 13px;
	padding: 7px 12px;
}

.tfe-pill--principal::before {
	content: "";
	width: 4px;
	height: 4px;
	background: #b8860b;
	transform: rotate(45deg);
	flex-shrink: 0;
}

.tfe-pill--principal:hover {
	background: #f4ede0;
	border-color: #b8860b;
}

.tfe-pill--principal .tfe-pill-count {
	color: #8a6508;
	font-size: 12px;
}

@media (hover: none) {
	.tfe-pill {
		padding-top: 11px;
		padding-bottom: 11px;
	}

	.tfe-pill--principal {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

/* ==========================================================================
   TF_PrefSource_Widget & tf_prefsource_button() — Google Fonte Preferida
   ========================================================================== */
.tf-prefsource {
	margin: 1.1rem 0;
	clear: both;
	font-family: Lato, Arial, sans-serif;
}

.tf-prefsource__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 460px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 10px 20px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%) border-box;
	font-family: Lato, Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	color: #3c4043 !important;
	text-decoration: none !important;
	box-shadow: 0 1px 3px rgba(60, 64, 67, .08);
	transition: box-shadow .18s ease, background .18s ease;
}

.tf-prefsource__btn:hover,
.tf-prefsource__btn:focus-visible {
	background: linear-gradient(#f8f9fa, #f8f9fa) padding-box, linear-gradient(90deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%) border-box;
	box-shadow: 0 2px 8px rgba(60, 64, 67, .16);
	color: #1a1a1a !important;
	text-decoration: none !important;
}

.tf-prefsource__btn:focus-visible {
	outline: 2px solid #4285F4;
	outline-offset: 2px;
}

.tf-prefsource__btn .tf-ps-g {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: block;
}

.tf-prefsource__btn .tf-ps-txt {
	text-align: center;
}

.tf-prefsource__btn .tf-ps-txt strong {
	font-weight: 700;
	color: #1a1a1a;
}

.tf-prefsource__cap {
	font-size: .78rem;
	color: #595959;
	margin-top: 6px;
	line-height: 1.45;
}

@media (max-width: 400px) {
	.tf-prefsource__btn {
		padding: 9px 14px;
		font-size: 13px;
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tf-top-rated__more,
	.tf-shots-w__item,
	.tf-shots-w__all,
	.tfe-feature,
	.tfe-feature-arrow,
	.tfe-aberturas,
	.tfe-pill,
	.tf-prefsource__btn {
		transition: none;
	}
}
