/**
 * ReceitasProWPX - Estilos Frontend para Widgets
 * Versão: 1.6.0
 */

/* ==========================================================================
   1. Estilos Compartilhados e Container de Widgets
   ========================================================================== */
.rwpx-widget,
.rwpx-block-widget {
	margin-bottom: 24px;
	font-family: var(--fwx-font-family, inherit);
	box-sizing: border-box;
}

.rwpx-widget *,
.rwpx-widget *::before,
.rwpx-widget *::after,
.rwpx-block-widget *,
.rwpx-block-widget *::before,
.rwpx-block-widget *::after {
	box-sizing: border-box;
}

.rwpx-widget button,
.rwpx-widget input[type="button"],
.rwpx-widget input[type="submit"],
.rwpx-block-widget button,
.rwpx-block-widget input[type="button"],
.rwpx-block-widget input[type="submit"] {
	box-sizing: border-box;
	font-family: inherit;
	letter-spacing: normal;
}

.rwpx-widget-title,
.rwpx-widget .widget-title,
.rwpx-widget .widgettitle,
.rwpx-block-widget .widget-title,
.rwpx-block-widget .widgettitle,
.rwpx-filter-recipes-widget .widget-title,
.rwpx-filter-recipes-widget .widgettitle,
.rwpx-recent-recipes-widget .widget-title,
.rwpx-recent-recipes-widget .widgettitle,
.rwpx-categories-grid-wrap .widget-title,
.rwpx-recipes-grid-wrap .widget-title {
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	color: inherit;
	margin: 0 0 16px 0;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--fwx-primary, #10b981) !important;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ==========================================================================
   2. Widget de Receitas Recentes
   ========================================================================== */
.rwpx-recent-recipes-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rwpx-recent-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 0;
	background: transparent;
	border: none;
	transition: all 0.2s ease-in-out;
}

.rwpx-recent-item:hover {
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

/* Miniatura com suporte a srcset nativo */
.rwpx-recent-thumb-wrap {
	flex-shrink: 0;
	width: 68px;
	height: 68px;
	border-radius: 8px;
	overflow: hidden;
	background: #f1f5f9;
	position: relative;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.rwpx-widget-thumb-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.3s ease;
}

.rwpx-recent-item:hover .rwpx-widget-thumb-img {
	transform: scale(1.06);
}

/* Placeholder para quando não houver imagem destacada */
.rwpx-recent-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	color: #94a3b8;
}

.rwpx-recent-placeholder svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

/* Conteúdo da Receita */
.rwpx-recent-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rwpx-recent-title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.rwpx-recent-title a {
	color: var(--fwx-text-color, #1e293b);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.15s ease;
}

.rwpx-recent-title a:hover {
	color: var(--fwx-primary, #059669);
}

/* Badges e Métricas da Receita */
.rwpx-recent-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #64748b;
	margin-top: 2px;
}

.rwpx-widget-diff-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1;
	white-space: nowrap;
	vertical-align: middle;
	box-sizing: border-box;
}

.rwpx-diff-facil {
	background: #dcfce7;
	color: #166534;
}

.rwpx-diff-medio {
	background: #e0f2fe;
	color: #075985;
}

.rwpx-diff-dificil {
	background: #fee2e2;
	color: #991b1b;
}

.rwpx-widget-time {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-weight: 500;
}

.rwpx-widget-rating {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-weight: 700;
	color: #d97706;
}

.rwpx-widget-star {
	color: #f59e0b;
	font-size: 12px;
}

/* ==========================================================================
   3. Widget de Filtro de Pesquisa Avançado
   ========================================================================== */
.entry-content .rwpx-filter-recipes-widget,
.entry-content > .rwpx-filter-recipes-widget,
.entry-content > .rwpx-block-widget.rwpx-filter-recipes-widget,
.wp-block.rwpx-filter-recipes-widget,
div.rwpx-filter-recipes-widget,
.rwpx-filter-recipes-widget {
	box-sizing: border-box !important;
	position: relative !important;
	width: 100% !important;
	max-width: var(--rwpx-filter-max-width, 100%) !important;
	margin-left: var(--rwpx-filter-margin-left, auto) !important;
	margin-right: var(--rwpx-filter-margin-right, auto) !important;
	z-index: var(--rwpx-filter-zindex, 10) !important;
	border-radius: var(--rwpx-filter-radius, 12px) !important;
	padding: var(--rwpx-filter-padding, 20px) !important;
	margin-top: var(--rwpx-filter-margin-top, 0px) !important;
	margin-block-start: var(--rwpx-filter-margin-top, 0px) !important;
	margin-bottom: var(--rwpx-filter-margin-bottom, 0px) !important;
	margin-block-end: var(--rwpx-filter-margin-bottom, 0px) !important;
	background: var(--rwpx-filter-bg, #ffffff) !important;
	border: 1px solid var(--rwpx-filter-border-color, #e2e8f0);
	box-shadow: var(--rwpx-filter-shadow, 0 2px 8px rgba(0, 0, 0, 0.04)) !important;
	transition: all 0.25s ease;
}

.rwpx-filter-recipes-widget .rwpx-widget-title,
.rwpx-filter-recipes-widget .widget-title,
.rwpx-filter-recipes-widget .widgettitle {
	color: var(--rwpx-filter-title-color, inherit);
	margin-bottom: var(--rwpx-filter-title-mb, 14px);
}

/* Sem Borda quando configurado (não zera background nem padding do usuário) */
.rwpx-filter-recipes-widget.rwpx-filter-no-border {
	border: none !important;
	box-shadow: none !important;
}

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
	.entry-content .rwpx-filter-recipes-widget,
	.entry-content > .rwpx-filter-recipes-widget,
	.entry-content > .rwpx-block-widget.rwpx-filter-recipes-widget,
	.wp-block.rwpx-filter-recipes-widget,
	div.rwpx-filter-recipes-widget,
	.rwpx-filter-recipes-widget {
		max-width: var(--rwpx-filter-max-width-tablet, var(--rwpx-filter-max-width, 100%)) !important;
		padding: var(--rwpx-filter-padding-tablet, var(--rwpx-filter-padding, 20px)) !important;
		margin-top: var(--rwpx-filter-margin-top-tablet, var(--rwpx-filter-margin-top, 0px)) !important;
		margin-block-start: var(--rwpx-filter-margin-top-tablet, var(--rwpx-filter-margin-top, 0px)) !important;
		margin-bottom: var(--rwpx-filter-margin-bottom-tablet, var(--rwpx-filter-margin-bottom, 0px)) !important;
		margin-block-end: var(--rwpx-filter-margin-bottom-tablet, var(--rwpx-filter-margin-bottom, 0px)) !important;
	}
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
	.entry-content .rwpx-filter-recipes-widget,
	.entry-content > .rwpx-filter-recipes-widget,
	.entry-content > .rwpx-block-widget.rwpx-filter-recipes-widget,
	.wp-block.rwpx-filter-recipes-widget,
	div.rwpx-filter-recipes-widget,
	.rwpx-filter-recipes-widget {
		max-width: var(--rwpx-filter-max-width-mobile, 100%) !important;
		padding: var(--rwpx-filter-padding-mobile, var(--rwpx-filter-padding, 16px)) !important;
		margin-top: var(--rwpx-filter-margin-top-mobile, 0px) !important;
		margin-block-start: var(--rwpx-filter-margin-top-mobile, 0px) !important;
		margin-bottom: var(--rwpx-filter-margin-bottom-mobile, var(--rwpx-filter-margin-bottom, 0px)) !important;
		margin-block-end: var(--rwpx-filter-margin-bottom-mobile, var(--rwpx-filter-margin-bottom, 0px)) !important;
	}
}

/* Quando inserido em barra lateral / área de widgets do tema, remove a caixa interna para evitar redundância */
.widget_block .rwpx-filter-recipes-widget,
.widget_block .rwpx-recent-recipes-widget,
.widget_block .rwpx-block-widget,
.fwx-sidebar .rwpx-filter-recipes-widget,
.fwx-sidebar .rwpx-recent-recipes-widget,
.fwx-sidebar .rwpx-block-widget,
.sidebar .rwpx-filter-recipes-widget,
.sidebar .rwpx-recent-recipes-widget,
.sidebar .rwpx-block-widget,
.widget-area .rwpx-filter-recipes-widget,
.widget-area .rwpx-recent-recipes-widget,
.widget-area .rwpx-block-widget {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	margin-bottom: 0 !important;
}

.rwpx-filter-form {
	display: flex;
	flex-direction: column;
	gap: var(--rwpx-filter-gap, 14px);
	width: 100%;
	box-sizing: border-box;
}

/* 3.1 Layouts: Horizontal (Barra / Inline) e Grid (Multicolunas) */
.rwpx-filter-form.rwpx-filter-layout-horizontal {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--rwpx-filter-gap, 12px);
}

@media (min-width: 768px) {
	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group {
		flex: 1 1 170px;
		min-width: 130px;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-search {
		flex: 2 1 240px;
		min-width: 180px;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff.rwpx-diff-style-pills,
	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff {
		flex: 2 1 270px;
		min-width: 250px;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff.rwpx-diff-style-select {
		flex: 1 1 170px;
		min-width: 130px;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-diff-pills {
		width: 100%;
		min-width: 240px;
	}
}

.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-actions {
	flex: 0 0 auto;
	margin-top: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	align-self: flex-end;
	gap: 10px;
	height: 40px;
}

.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-filter {
	width: auto !important;
	height: 40px !important;
	padding: 0 22px !important;
	white-space: nowrap;
	flex: 0 0 auto !important;
}

.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-clear-filters {
	padding: 6px 12px !important;
	white-space: nowrap;
	flex: 0 0 auto !important;
	height: auto !important;
}

/* Layout Grid Multicolunas */
.rwpx-filter-form.rwpx-filter-layout-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--rwpx-filter-gap, 16px);
	align-items: flex-end;
}

/* Campo de busca em largura total (100%) */
.rwpx-filter-form.rwpx-filter-search-full .rwpx-filter-group-search {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	flex: 0 0 100% !important;
	margin-bottom: 4px;
}

.rwpx-filter-form.rwpx-filter-layout-horizontal:not(.rwpx-filter-search-full) .rwpx-filter-group-search {
	flex: 2 1 240px !important;
	min-width: 180px !important;
	width: auto !important;
	margin-bottom: 0 !important;
}

.rwpx-filter-form.rwpx-filter-layout-grid .rwpx-filter-actions {
	grid-column: 1 / -1;
	margin-top: 6px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.rwpx-filter-form.rwpx-filter-layout-grid .rwpx-btn-filter {
	width: auto !important;
	min-width: 160px;
}

/* Modo sem rótulos (Minimalista) */
.rwpx-filter-form.rwpx-filter-hide-labels .rwpx-filter-label {
	display: none !important;
}

.rwpx-filter-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.rwpx-filter-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--rwpx-filter-label-color, #475569);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.2;
}

/* Campo de Busca por Texto */
.rwpx-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.rwpx-search-icon {
	position: absolute;
	left: 12px;
	width: 16px;
	height: 16px;
	fill: #94a3b8;
	pointer-events: none;
	transition: fill 0.2s ease;
}

.rwpx-filter-input {
	width: 100% !important;
	padding: 9px 12px 9px 36px !important;
	border: 1px solid var(--rwpx-filter-input-border, #cbd5e1) !important;
	border-radius: var(--rwpx-filter-input-radius, 8px) !important;
	font-size: 13px !important;
	color: var(--rwpx-filter-input-color, #1e293b) !important;
	background: var(--rwpx-filter-input-bg, #f8fafc) !important;
	outline: none !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
	height: 40px !important;
	line-height: normal !important;
}

.rwpx-filter-input:focus {
	border-color: var(--rwpx-filter-input-focus-border, #10b981) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15) !important;
}

.rwpx-filter-input:focus + .rwpx-search-icon,
.rwpx-search-wrap:focus-within .rwpx-search-icon {
	fill: var(--rwpx-filter-input-focus-border, #10b981);
}

/* Selects */
.rwpx-filter-select {
	width: 100% !important;
	padding: 9px 12px !important;
	border: 1px solid var(--rwpx-filter-input-border, #cbd5e1) !important;
	border-radius: var(--rwpx-filter-input-radius, 8px) !important;
	font-size: 13px !important;
	color: var(--rwpx-filter-input-color, #1e293b) !important;
	background: var(--rwpx-filter-input-bg, #f8fafc) !important;
	outline: none !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
	height: 40px !important;
	line-height: normal !important;
}

.rwpx-filter-select:focus {
	border-color: var(--rwpx-filter-input-focus-border, #10b981) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15) !important;
}

/* Pílulas de Dificuldade */
.rwpx-diff-pills {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	min-height: 38px;
	height: auto;
	align-items: stretch;
	width: 100%;
	position: relative;
	box-sizing: border-box;
}

.rwpx-diff-pill-radio {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.rwpx-diff-pill-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	height: 100%;
	padding: 0 2px;
	font-size: 11px;
	font-weight: 600;
	border: 1px solid var(--rwpx-filter-pill-border, #cbd5e1);
	border-radius: var(--rwpx-filter-pill-radius, 6px);
	background: var(--rwpx-filter-pill-bg, #f8fafc);
	color: var(--rwpx-filter-pill-color, #475569);
	cursor: pointer;
	transition: all 0.15s ease;
	text-align: center;
	user-select: none;
	box-sizing: border-box;
	white-space: nowrap !important;
	letter-spacing: -0.25px;
	line-height: 1 !important;
	text-overflow: clip;
}

.rwpx-diff-pill-label:hover {
	background: var(--rwpx-filter-pill-hover-bg, #f1f5f9);
	border-color: var(--rwpx-filter-pill-hover-border, #94a3b8);
	color: var(--rwpx-filter-pill-hover-color, #1e293b);
}

.rwpx-diff-pill-radio:checked + .rwpx-diff-pill-label {
	background: var(--rwpx-filter-pill-active-bg, #059669) !important;
	color: var(--rwpx-filter-pill-active-color, #ffffff) !important;
	border-color: var(--rwpx-filter-pill-active-border, var(--rwpx-filter-pill-active-bg, #059669)) !important;
	font-weight: 700;
	box-shadow: 0 1px 4px rgba(5, 150, 105, 0.3);
}

/* Botões de Ação do Filtro */
.rwpx-filter-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
	flex: 0 0 auto !important;
	min-height: 0 !important;
	height: auto;
}

.rwpx-widget .rwpx-btn-filter,
.rwpx-btn-filter {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	height: 40px !important;
	padding: 0 18px !important;
	background: var(--rwpx-filter-btn-bg, linear-gradient(135deg, var(--fwx-primary, #059669) 0%, #047857 100%)) !important;
	color: var(--rwpx-filter-btn-color, #ffffff) !important;
	border: none !important;
	border-radius: var(--rwpx-filter-btn-radius, 8px) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 5px rgba(5, 150, 105, 0.25) !important;
	text-decoration: none !important;
	line-height: normal !important;
	box-sizing: border-box !important;
}

.rwpx-btn-filter-icon {
	display: inline-block;
	flex-shrink: 0;
}

.rwpx-widget .rwpx-btn-filter:hover,
.rwpx-btn-filter:hover {
	filter: brightness(0.92);
	background: var(--rwpx-filter-btn-hover-bg, var(--rwpx-filter-btn-bg, linear-gradient(135deg, #047857 0%, #065f46 100%))) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(5, 150, 105, 0.35) !important;
	color: var(--rwpx-filter-btn-hover-color, var(--rwpx-filter-btn-color, #ffffff)) !important;
}

.rwpx-widget .rwpx-btn-clear-filters,
.rwpx-block-widget .rwpx-btn-clear-filters,
.rwpx-filter-recipes-widget .rwpx-btn-clear-filters,
.entry-content .rwpx-btn-clear-filters,
.entry-content button.rwpx-btn-clear-filters,
.rwpx-btn-clear-filters {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--rwpx-filter-clear-color, #64748b) !important;
	text-decoration: none !important;
	background: transparent !important;
	border: 1px solid transparent !important;
	border-radius: 6px !important;
	padding: 6px 12px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	font-family: inherit !important;
	line-height: normal !important;
	outline: none !important;
	box-shadow: none !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	flex: 0 0 auto !important;
	align-self: center !important;
}

.rwpx-btn-clear-filters:hover {
	color: var(--rwpx-filter-clear-hover-color, #ef4444) !important;
	background: rgba(239, 68, 68, 0.08) !important;
	border-color: rgba(239, 68, 68, 0.2) !important;
	text-decoration: none !important;
}

.rwpx-btn-clear-filters.is-active {
	color: var(--rwpx-filter-clear-hover-color, #ef4444) !important;
	font-weight: 700;
	background: rgba(239, 68, 68, 0.06);
	border-color: rgba(239, 68, 68, 0.25);
}

/* Modificadores de largura do botão */
.rwpx-filter-btn-auto .rwpx-btn-filter {
	width: auto !important;
}

.rwpx-filter-btn-full .rwpx-btn-filter {
	width: 100% !important;
}

/* Responsividade Tablet para Filtro (Telas até 991px) */
@media (max-width: 991px) {
	.rwpx-filter-recipes-widget {
		padding: var(--rwpx-filter-padding-tablet, var(--rwpx-filter-padding, 20px));
		margin-top: var(--rwpx-filter-margin-top-tablet, var(--rwpx-filter-margin-top, 0px));
		margin-bottom: var(--rwpx-filter-margin-bottom-tablet, var(--rwpx-filter-margin-bottom, 0px));
	}

	.rwpx-filter-form {
		gap: var(--rwpx-filter-gap-tablet, var(--rwpx-filter-gap, 14px));
	}
}

/* Responsividade Mobile para Filtro (Smartphones até 767px) */
@media (max-width: 767px) {
	.rwpx-filter-recipes-widget {
		/* Limita o padding a no máximo 16px no mobile se o usuário não definir explicitamente um valor mobile */
		padding: var(--rwpx-filter-padding-mobile, min(var(--rwpx-filter-padding, 20px), 16px)) !important;
		margin-top: var(--rwpx-filter-margin-top-mobile, var(--rwpx-filter-margin-top, 0px)) !important;
		margin-bottom: var(--rwpx-filter-margin-bottom-mobile, var(--rwpx-filter-margin-bottom, 0px)) !important;
	}

	.rwpx-filter-form {
		gap: var(--rwpx-filter-gap-mobile, var(--rwpx-filter-gap, 12px)) !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group,
	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-search,
	.rwpx-filter-form.rwpx-filter-layout-horizontal.rwpx-filter-search-full .rwpx-filter-group-search,
	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff,
	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff.rwpx-diff-style-pills,
	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff.rwpx-diff-style-select {
		width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 auto !important;
		min-height: 0 !important;
		height: auto !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-diff-pills {
		min-width: 0 !important;
		width: 100% !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-actions {
		width: 100% !important;
		flex: 0 0 auto !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 8px !important;
		margin-top: 6px !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-filter {
		width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 auto !important;
		justify-content: center !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-clear-filters {
		width: 100% !important;
		text-align: center !important;
		justify-content: center !important;
		padding: 6px 12px !important;
		flex: 0 0 auto !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-grid {
		grid-template-columns: 1fr !important;
		align-items: stretch !important;
		gap: var(--rwpx-filter-gap-mobile, 14px) !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-grid .rwpx-filter-group {
		width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-grid .rwpx-filter-actions {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		gap: 8px !important;
	}

	.rwpx-filter-form.rwpx-filter-layout-grid .rwpx-btn-filter,
	.rwpx-filter-form.rwpx-filter-layout-grid .rwpx-btn-clear-filters {
		width: 100% !important;
		text-align: center !important;
		justify-content: center !important;
	}
}

/* Suporte ao Preview do Gutenberg (Editor e Visualização Responsiva) */
.is-tablet-preview .rwpx-filter-recipes-widget,
.rwpx-preview-tablet .rwpx-filter-recipes-widget {
	max-width: var(--rwpx-filter-max-width-tablet, var(--rwpx-filter-max-width, 100%)) !important;
	padding: var(--rwpx-filter-padding-tablet, var(--rwpx-filter-padding, 20px)) !important;
	margin-top: var(--rwpx-filter-margin-top-tablet, var(--rwpx-filter-margin-top, 0px)) !important;
	margin-bottom: var(--rwpx-filter-margin-bottom-tablet, var(--rwpx-filter-margin-bottom, 0px)) !important;
}

.is-tablet-preview .rwpx-filter-form,
.rwpx-preview-tablet .rwpx-filter-form {
	gap: var(--rwpx-filter-gap-tablet, var(--rwpx-filter-gap, 14px)) !important;
}

.is-mobile-preview .rwpx-filter-recipes-widget,
.rwpx-preview-mobile .rwpx-filter-recipes-widget {
	max-width: var(--rwpx-filter-max-width-mobile, 100%) !important;
	padding: var(--rwpx-filter-padding-mobile, min(var(--rwpx-filter-padding, 20px), 16px)) !important;
	margin-top: var(--rwpx-filter-margin-top-mobile, var(--rwpx-filter-margin-top, 0px)) !important;
	margin-bottom: var(--rwpx-filter-margin-bottom-mobile, var(--rwpx-filter-margin-bottom, 0px)) !important;
}

.is-mobile-preview .rwpx-filter-form,
.rwpx-preview-mobile .rwpx-filter-form {
	gap: var(--rwpx-filter-gap-mobile, var(--rwpx-filter-gap, 12px)) !important;
}

.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal {
	flex-direction: column !important;
	align-items: stretch !important;
}

.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group,
.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-search,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-search,
.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal.rwpx-filter-search-full .rwpx-filter-group-search,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal.rwpx-filter-search-full .rwpx-filter-group-search,
.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-group-diff {
	width: 100% !important;
	min-width: 0 !important;
	flex: 0 0 auto !important;
	min-height: 0 !important;
	height: auto !important;
}

.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-diff-pills,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-diff-pills {
	min-width: 0 !important;
	width: 100% !important;
}

.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-actions,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-filter-actions {
	width: 100% !important;
	flex: 0 0 auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 8px !important;
	margin-top: 6px !important;
}

.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-filter,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-filter {
	width: 100% !important;
	min-width: 0 !important;
	flex: 0 0 auto !important;
	justify-content: center !important;
}

.is-mobile-preview .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-clear-filters,
.rwpx-preview-mobile .rwpx-filter-form.rwpx-filter-layout-horizontal .rwpx-btn-clear-filters {
	width: 100% !important;
	text-align: center !important;
	justify-content: center !important;
	padding: 6px 12px !important;
	flex: 0 0 auto !important;
}

/* Responsividade de Largura Máxima do Filtro */
@media (max-width: 991px) {
	.rwpx-filter-recipes-widget {
		max-width: var(--rwpx-filter-max-width-tablet, var(--rwpx-filter-max-width, 100%));
	}
}

@media (max-width: 767px) {
	.rwpx-filter-recipes-widget {
		max-width: var(--rwpx-filter-max-width-mobile, 100%) !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

.is-mobile-preview .rwpx-filter-recipes-widget,
.rwpx-preview-mobile .rwpx-filter-recipes-widget {
	max-width: var(--rwpx-filter-max-width-mobile, 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ==========================================================================
   Bloco Container Responsivo (Wrapper Flexível com InnerBlocks)
   ========================================================================== */
.rwpx-container-block {
	box-sizing: border-box;
	position: relative;
	width: 100%;
	max-width: var(--rwpx-container-max-width, 800px);
	margin-left: var(--rwpx-container-margin-left, auto);
	margin-right: var(--rwpx-container-margin-right, auto);
	margin-top: var(--rwpx-container-margin-top, 0px);
	margin-bottom: var(--rwpx-container-margin-bottom, 0px);
	padding: var(--rwpx-container-padding, 0px);
	z-index: var(--rwpx-container-zindex, 2);
	background: var(--rwpx-container-bg, transparent);
	border: var(--rwpx-container-border, none);
	border-radius: var(--rwpx-container-radius, 0px);
	box-shadow: var(--rwpx-container-shadow, none);
	transition: all 0.2s ease;
}

@media (max-width: 991px) {
	.rwpx-container-block {
		max-width: var(--rwpx-container-max-width-tablet, var(--rwpx-container-max-width, 100%));
		margin-top: var(--rwpx-container-margin-top-tablet, var(--rwpx-container-margin-top, 0px));
		margin-bottom: var(--rwpx-container-margin-bottom-tablet, var(--rwpx-container-margin-bottom, 0px));
		padding: var(--rwpx-container-padding-tablet, var(--rwpx-container-padding, 0px));
	}
}

@media (max-width: 767px) {
	.rwpx-container-block {
		max-width: var(--rwpx-container-max-width-mobile, 100%) !important;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-top: var(--rwpx-container-margin-top-mobile, 0px) !important;
		margin-bottom: var(--rwpx-container-margin-bottom-mobile, 0px) !important;
		padding: var(--rwpx-container-padding-mobile, 0px) !important;
	}
}

.is-tablet-preview .rwpx-container-block,
.rwpx-preview-tablet .rwpx-container-block {
	max-width: var(--rwpx-container-max-width-tablet, var(--rwpx-container-max-width, 100%));
	margin-top: var(--rwpx-container-margin-top-tablet, var(--rwpx-container-margin-top, 0px));
	margin-bottom: var(--rwpx-container-margin-bottom-tablet, var(--rwpx-container-margin-bottom, 0px));
	padding: var(--rwpx-container-padding-tablet, var(--rwpx-container-padding, 0px));
}

.is-mobile-preview .rwpx-container-block,
.rwpx-preview-mobile .rwpx-container-block {
	max-width: var(--rwpx-container-max-width-mobile, 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: var(--rwpx-container-margin-top-mobile, 0px) !important;
	margin-bottom: var(--rwpx-container-margin-bottom-mobile, 0px) !important;
	padding: var(--rwpx-container-padding-mobile, 0px) !important;
}

/* ==========================================================================
   4. Responsividade e Layout do Template Single de Receitas
   ========================================================================== */
.rwpx-single-recipe-container.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
	max-width: 1140px;
	margin: 30px auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.rwpx-single-recipe-container.no-sidebar {
	display: block;
	max-width: 760px;
	margin: 30px auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.rwpx-single-content {
	width: 100%;
	min-width: 0;
}

.rwpx-sidebar-area {
	width: 100%;
	min-width: 0;
}

.rwpx-cat-label-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.rwpx-cat-pill {
	display: inline-block;
	background: #10b981;
	color: #ffffff !important;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.rwpx-cat-pill:hover {
	background: #059669;
}

.rwpx-recipe-main-title {
	font-size: 2rem;
	line-height: 1.25;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 14px 0;
}

.rwpx-single-meta {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 20px;
}

.rwpx-single-hero-thumb {
	margin-bottom: 28px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.rwpx-single-featured-image {
	width: 100% !important;
	height: auto !important;
	display: block !important;
	object-fit: cover !important;
}

@media (max-width: 991px) {
	.rwpx-single-recipe-container.has-sidebar {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 480px) {
	.rwpx-diff-pills {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}
	.rwpx-diff-pill-label {
		min-height: 36px;
		height: 36px;
		font-size: 12px;
		padding: 0 6px;
	}
	.rwpx-recipe-main-title {
		font-size: 1.6rem;
	}
}

/* ==========================================================================
   5. Cards de Receitas em Grade, Cards de Categorias e Destaque
   ========================================================================== */
.rwpx-recipes-grid-wrap,
.rwpx-categories-grid-wrap {
	width: 100%;
	margin-bottom: 24px;
	box-sizing: border-box;
}

.rwpx-recipes-grid {
	display: grid;
	gap: 20px;
	width: 100%;
	box-sizing: border-box;
}

.rwpx-recipes-grid.rwpx-cols-1 {
	grid-template-columns: 1fr;
}

.rwpx-recipes-grid.rwpx-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rwpx-recipes-grid.rwpx-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rwpx-recipes-grid.rwpx-cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rwpx-recipes-grid.rwpx-cols-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rwpx-recipes-grid.rwpx-cols-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.rwpx-recipes-grid.rwpx-cols-5,
	.rwpx-recipes-grid.rwpx-cols-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.rwpx-recipes-grid.rwpx-cols-3,
	.rwpx-recipes-grid.rwpx-cols-4,
	.rwpx-recipes-grid.rwpx-cols-5,
	.rwpx-recipes-grid.rwpx-cols-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.rwpx-recipes-grid.rwpx-cols-2,
	.rwpx-recipes-grid.rwpx-cols-3,
	.rwpx-recipes-grid.rwpx-cols-4,
	.rwpx-recipes-grid.rwpx-cols-5,
	.rwpx-recipes-grid.rwpx-cols-6 {
		grid-template-columns: 1fr;
	}
}

/* Card Individual em Grade */
.rwpx-grid-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	position: relative;
	box-sizing: border-box;
}

.rwpx-grid-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border-color: #cbd5e1;
}

.rwpx-grid-thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f1f5f9;
	border-bottom: none;
}

.rwpx-grid-thumb-wrap.rwpx-has-thumb-border {
	border-bottom: 1px solid #e2e8f0 !important;
}

.rwpx-grid-thumb-wrap.rwpx-no-thumb-border {
	border-bottom: none !important;
}

.rwpx-grid-thumb-wrap a,
.rwpx-grid-thumb-wrap a:hover,
.rwpx-grid-thumb-wrap a:focus {
	border: none !important;
	border-bottom: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	display: block;
	width: 100%;
	height: 100%;
}

.rwpx-grid-thumb-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.35s ease;
}

.rwpx-grid-card:hover .rwpx-grid-thumb-img {
	transform: scale(1.05);
}

.rwpx-grid-floating-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.rwpx-grid-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
}

.rwpx-grid-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.rwpx-grid-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.15s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rwpx-grid-title a:hover {
	color: var(--fwx-primary, #059669);
}

.rwpx-grid-meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: #64748b;
	margin-top: auto;
	padding-top: 4px;
	border-top: none;
}

.rwpx-grid-meta-row.rwpx-has-meta-border {
	padding-top: 8px;
	border-top: 1px solid #f1f5f9 !important;
}

.rwpx-grid-meta-row.rwpx-no-meta-border {
	padding-top: 4px;
	border-top: none !important;
}

.rwpx-grid-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.rwpx-grid-excerpt {
	margin: 6px 0 0 0;
	font-size: 13px;
	color: #64748b;
	line-height: 1.55;
	word-break: break-word;
}

.rwpx-grid-btn-wrap {
	margin-top: auto;
	padding-top: 10px;
}

.rwpx-grid-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 9px 16px;
	background: linear-gradient(135deg, var(--fwx-primary, #10b981) 0%, #059669 100%);
	color: #ffffff !important;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
	transition: all 0.2s ease;
	box-sizing: border-box;
	cursor: pointer;
}

.rwpx-grid-btn:hover {
	background: linear-gradient(135deg, #059669 0%, #047857 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
	color: #ffffff !important;
}

.rwpx-grid-btn-icon {
	transition: transform 0.2s ease;
}

.rwpx-grid-btn:hover .rwpx-grid-btn-icon {
	transform: translateX(3px);
}

/* Excerpt e Botão em formato de lista */
.rwpx-recent-excerpt {
	margin: 4px 0 0 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.45;
	word-break: break-word;
}

.rwpx-recent-btn-wrap {
	margin-top: 6px;
}

.rwpx-recent-btn {
	display: inline-block;
	padding: 4px 10px;
	background: var(--fwx-primary, #10b981);
	color: #ffffff !important;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.rwpx-recent-btn:hover {
	background: #059669;
	color: #ffffff !important;
}

/* ==========================================================================
   Cards de Categorias Culinárias
   ========================================================================== */
.rwpx-category-grid {
	display: grid;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

.rwpx-category-grid.rwpx-cat-cols-1 { grid-template-columns: 1fr; }
.rwpx-category-grid.rwpx-cat-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rwpx-category-grid.rwpx-cat-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rwpx-category-grid.rwpx-cat-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rwpx-category-grid.rwpx-cat-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rwpx-category-grid.rwpx-cat-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1100px) {
	.rwpx-category-grid.rwpx-cat-cols-5,
	.rwpx-category-grid.rwpx-cat-cols-6 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.rwpx-category-grid.rwpx-cat-cols-4,
	.rwpx-category-grid.rwpx-cat-cols-5,
	.rwpx-category-grid.rwpx-cat-cols-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.rwpx-category-grid.rwpx-cat-cols-3,
	.rwpx-category-grid.rwpx-cat-cols-4,
	.rwpx-category-grid.rwpx-cat-cols-5,
	.rwpx-category-grid.rwpx-cat-cols-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 400px) {
	.rwpx-category-grid.rwpx-cat-cols-2,
	.rwpx-category-grid.rwpx-cat-cols-3,
	.rwpx-category-grid.rwpx-cat-cols-4,
	.rwpx-category-grid.rwpx-cat-cols-5,
	.rwpx-category-grid.rwpx-cat-cols-6 {
		grid-template-columns: 1fr;
	}
}

.rwpx-category-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	color: #1e293b;
	transition: all 0.2s ease-in-out;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

.rwpx-category-card:hover {
	transform: translateY(-2px);
	border-color: #10b981;
	box-shadow: 0 6px 16px rgba(16, 185, 129, 0.12);
	color: #047857;
}

.rwpx-category-card-content {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.rwpx-category-card-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #ecfdf5;
	color: #059669;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.rwpx-category-card-name {
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rwpx-category-card-count {
	font-size: 11px;
	font-weight: 600;
	background: #f1f5f9;
	color: #64748b;
	padding: 2px 8px;
	border-radius: 999px;
	flex-shrink: 0;
}

.rwpx-category-card:hover .rwpx-category-card-count {
	background: #d1fae5;
	color: #047857;
}

/* ==========================================================================
   Categorias Culinárias — Layout 1: Cards Visuais com Imagem
   ========================================================================== */
.rwpx-cat-visual-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: var(--rwpx-cat-h, 180px);
	height: var(--rwpx-cat-h, 180px);
	border-radius: 16px;
	text-decoration: none !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
	box-sizing: border-box;
	background-color: #0f172a;
}

.rwpx-cat-visual-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.rwpx-cat-media-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
	border-radius: inherit;
}

.rwpx-cat-bg-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.rwpx-cat-visual-card:hover .rwpx-cat-bg-img {
	transform: scale(1.08);
}

.rwpx-cat-bg-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.rwpx-cat-fallback-icon {
	font-size: 52px;
	opacity: 0.35;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.rwpx-cat-visual-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.35) 40%, rgba(15, 23, 42, 0.88) 100%);
	pointer-events: none;
	transition: background 0.3s ease;
}

.rwpx-cat-visual-card:hover .rwpx-cat-visual-overlay {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.3) 35%, rgba(15, 23, 42, 0.94) 100%);
}

.rwpx-cat-visual-content {
	position: relative;
	z-index: 3;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	box-sizing: border-box;
}

.rwpx-cat-visual-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.rwpx-cat-visual-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 18px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
}

.rwpx-cat-visual-card:hover .rwpx-cat-visual-icon {
	transform: scale(1.1) rotate(6deg);
}

.rwpx-cat-visual-count {
	font-size: 11px;
	font-weight: 700;
	color: #ffffff;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 4px 10px;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rwpx-cat-visual-bottom {
	margin-top: auto;
}

.rwpx-cat-visual-title {
	font-size: 18px;
	font-weight: 800;
	color: #ffffff !important;
	margin: 0;
	line-height: 1.25;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
	transition: color 0.2s ease;
}

.rwpx-cat-visual-card:hover .rwpx-cat-visual-title {
	color: #fdba74 !important;
}

/* ==========================================================================
   Categorias Culinárias — Layout 2: Círculos / Stories
   ========================================================================== */
.rwpx-cat-layout-circles {
	display: grid;
	gap: 24px 16px;
	justify-items: center;
}

.rwpx-cat-circle-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none !important;
	text-align: center;
	gap: 10px;
	transition: transform 0.25s ease;
	box-sizing: border-box;
}

.rwpx-cat-circle-card:hover {
	transform: translateY(-4px);
}

.rwpx-cat-circle-wrap {
	position: relative;
	width: 100px;
	height: 100px;
}

.rwpx-cat-circle-media {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	background: #f8fafc;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rwpx-cat-circle-card:hover .rwpx-cat-circle-media {
	border-color: #ea580c;
	box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}

.rwpx-cat-circle-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.4s ease !important;
}

.rwpx-cat-circle-card:hover .rwpx-cat-circle-img {
	transform: scale(1.1);
}

.rwpx-cat-circle-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
	font-size: 38px;
}

.rwpx-cat-circle-badge-icon {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.rwpx-cat-circle-count-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	background: #ea580c;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.rwpx-cat-circle-title {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b !important;
	line-height: 1.3;
	max-width: 115px;
	transition: color 0.2s ease;
}

.rwpx-cat-circle-card:hover .rwpx-cat-circle-title {
	color: #ea580c !important;
}

/* ==========================================================================
   Card de Receita em Destaque (Single Recipe Card)
   ========================================================================== */
.rwpx-featured-recipe-box {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	margin-bottom: 24px;
	box-sizing: border-box;
}

.rwpx-featured-recipe-box.rwpx-layout-horizontal {
	display: grid;
	grid-template-columns: 280px 1fr;
	align-items: stretch;
}

@media (max-width: 768px) {
	.rwpx-featured-recipe-box.rwpx-layout-horizontal {
		grid-template-columns: 1fr;
	}
}

.rwpx-featured-recipe-thumb {
	position: relative;
	min-height: 200px;
	background: #f1f5f9;
	overflow: hidden;
}

.rwpx-featured-recipe-thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.rwpx-featured-recipe-content {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.rwpx-featured-badge-pill {
	display: inline-block;
	align-self: flex-start;
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rwpx-featured-recipe-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

.rwpx-featured-recipe-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.15s ease;
}

.rwpx-featured-recipe-title a:hover {
	color: var(--fwx-primary, #059669);
}

.rwpx-featured-recipe-desc {
	font-size: 14px;
	color: #475569;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rwpx-featured-btn-wrap {
	margin-top: 6px;
}

.rwpx-btn-view-recipe {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #059669 0%, #047857 100%);
	color: #ffffff !important;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(5, 150, 105, 0.25);
}

.rwpx-btn-view-recipe:hover {
	background: linear-gradient(135deg, #047857 0%, #065f46 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(5, 150, 105, 0.35);
}

/* ==========================================================================
   7. Hero de Receita em Destaque (Full-Width / Banner de Vitrine)
   ========================================================================== */
.rwpx-recipe-hero-wrap {
	width: 100%;
	margin-top: var(--rwpx-hero-margin-top, 0px);
	margin-bottom: var(--rwpx-hero-margin-bottom, 32px);
	box-sizing: border-box;
}

.rwpx-recipe-hero {
	position: relative;
	z-index: var(--rwpx-hero-zindex, 1);
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: var(--rwpx-hero-min-height, 460px);
	border-radius: var(--rwpx-hero-radius, 16px);
	width: 100%;
	box-sizing: border-box;
	background-color: #0f172a;
	box-shadow: var(--rwpx-hero-shadow, none);
	font-family: inherit;
}

.rwpx-hero-bg,
.rwpx-hero-overlay {
	border-radius: inherit;
}

/* Camada da Imagem de Fundo */
.rwpx-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}

.rwpx-hero-bg-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center right !important;
	display: block !important;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.rwpx-recipe-hero:hover .rwpx-hero-bg-img {
	transform: scale(1.03);
}

.rwpx-hero-bg-fallback {
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 75% 50%, #334155 0%, #1e293b 50%, #0f172a 100%);
}

/* Camada de Gradiente / Overlay */
.rwpx-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
	opacity: var(--rwpx-hero-overlay-opacity, 1);
	background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.3) 75%, rgba(15, 23, 42, 0.05) 100%);
}

.rwpx-hero-align-center .rwpx-hero-overlay {
	background: radial-gradient(circle at center, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.rwpx-hero-align-right .rwpx-hero-overlay {
	background: linear-gradient(270deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.3) 75%, rgba(15, 23, 42, 0.05) 100%);
}

/* Container de Conteúdo */
.rwpx-hero-container {
	position: relative;
	z-index: 3;
	width: 100%;
	height: 100%;
	padding: var(--rwpx-hero-padding-y, 52px) var(--rwpx-hero-padding-x, 32px);
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

/* Contenção Interna para Hero Full Width (Borda a Borda) */
.rwpx-hero-inner {
	width: 100%;
	max-width: var(--rwpx-hero-container-width, 1200px);
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.rwpx-hero-align-center .rwpx-hero-container,
.rwpx-hero-align-center .rwpx-hero-inner {
	justify-content: center;
}

.rwpx-hero-align-right .rwpx-hero-container,
.rwpx-hero-align-right .rwpx-hero-inner {
	justify-content: flex-end;
}

.rwpx-hero-align-left .rwpx-hero-inner {
	justify-content: flex-start;
}

.rwpx-hero-content {
	max-width: var(--rwpx-hero-content-width, 540px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: var(--rwpx-hero-gap, 16px);
	box-sizing: border-box;
}

.rwpx-hero-align-center .rwpx-hero-content {
	align-items: center;
	text-align: center;
}

.rwpx-hero-align-right .rwpx-hero-content {
	align-items: flex-end;
	text-align: right;
}

/* Badge Culinária / Categoria */
.rwpx-hero-badge-wrap {
	display: inline-flex;
}

.rwpx-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 6px 14px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rwpx-hero-badge-icon {
	font-size: 13px;
	line-height: 1;
}

/* Título de Destaque */
.rwpx-hero-title {
	font-family: inherit;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
	color: var(--rwpx-hero-title-color, #ffffff);
	letter-spacing: -0.5px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.rwpx-hero-title a {
	color: inherit;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

.rwpx-hero-title a:hover {
	opacity: 0.92;
}

/* Descrição / Excerpt */
.rwpx-hero-desc {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Metadados da Receita */
.rwpx-hero-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #f8fafc;
}

.rwpx-hero-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 5px 12px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	white-space: nowrap;
	line-height: 1;
	vertical-align: middle;
	box-sizing: border-box;
}

.rwpx-hero-meta-item span {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.rwpx-hero-meta-icon {
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rwpx-hero-meta-rating .rwpx-star-icon {
	color: #f59e0b;
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}

/* Botão de Ação CTA */
.rwpx-hero-actions {
	margin-top: 10px;
}

.rwpx-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--rwpx-hero-btn-bg, linear-gradient(135deg, #ea580c 0%, #c2410c 100%));
	color: var(--rwpx-hero-btn-color, #ffffff) !important;
	font-size: 15px;
	font-weight: 700;
	padding: 13px 30px;
	border-radius: var(--rwpx-hero-btn-radius, 9999px);
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(234, 88, 12, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
}

.rwpx-hero-btn:hover {
	background: var(--rwpx-hero-btn-hover-bg, linear-gradient(135deg, #f97316 0%, #ea580c 100%));
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(234, 88, 12, 0.55), 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rwpx-hero-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

.rwpx-hero-btn-arrow {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.rwpx-hero-btn:hover .rwpx-hero-btn-arrow {
	transform: translateX(4px);
}

/* Breakpoints Responsivos */
@media (max-width: 991px) {
	.rwpx-recipe-hero {
		min-height: 420px;
	}
	.rwpx-hero-container {
		padding: 40px 32px;
	}
	.rwpx-hero-title {
		font-size: 32px;
	}
	.rwpx-hero-overlay {
		background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(15, 23, 42, 0.45) 85%, rgba(15, 23, 42, 0.15) 100%);
	}
}

@media (max-width: 640px) {
	.rwpx-recipe-hero {
		min-height: 390px;
	}
	.rwpx-hero-container {
		padding: 30px 20px;
	}
	.rwpx-hero-title {
		font-size: 26px;
	}
	.rwpx-hero-desc {
		font-size: 14px;
		line-height: 1.5;
	}
	.rwpx-hero-overlay {
		background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.94) 100%);
	}
	.rwpx-hero-content {
		max-width: 100%;
		gap: 14px;
	}
	.rwpx-hero-actions {
		width: 100%;
	}
	.rwpx-hero-btn {
		width: 100%;
		padding: 13px 20px;
	}
}

/* ==========================================================================
   Controles Visuais do Editor Gutenberg (Inspetor WPX)
   ========================================================================== */
.rwpx-tab-panel {
	margin: 10px 0 16px 0 !important;
}

.rwpx-tab-panel .components-tab-panel__tabs {
	display: flex !important;
	border-bottom: 1px solid #e2e8f0 !important;
	margin-bottom: 14px !important;
	gap: 4px !important;
	background: #f8fafc !important;
	border-radius: 6px 6px 0 0 !important;
	padding: 4px 4px 0 !important;
}

.rwpx-tab-panel .components-tab-panel__tabs-item {
	flex: 1 !important;
	text-align: center !important;
	padding: 8px 10px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #64748b !important;
	border: none !important;
	background: transparent !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
	line-height: normal !important;
	white-space: nowrap !important;
}

.rwpx-tab-panel .components-tab-panel__tabs-item:hover {
	color: #059669 !important;
	background: rgba(5, 150, 105, 0.05) !important;
}

.rwpx-tab-panel .components-tab-panel__tabs-item.is-active,
.rwpx-tab-panel .components-tab-panel__tabs-item[aria-selected="true"] {
	color: #059669 !important;
	border-bottom: 2px solid #059669 !important;
	font-weight: 700 !important;
	background: #ffffff !important;
}

.rwpx-color-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 9px 4px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	gap: 12px !important;
}

.rwpx-color-row:last-child {
	border-bottom: none !important;
}

.rwpx-color-row-label {
	font-size: 12px !important;
	font-weight: 500 !important;
	color: #334155 !important;
	line-height: 1.35 !important;
	flex: 1 !important;
}

.rwpx-color-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 4px 10px 4px 6px !important;
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 16px !important;
	cursor: pointer !important;
	font-size: 11px !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace !important;
	font-weight: 600 !important;
	color: #64748b !important;
	transition: all 0.15s ease !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
	flex-shrink: 0 !important;
}

.rwpx-color-btn:hover {
	border-color: #94a3b8 !important;
	background: #f8fafc !important;
	transform: translateY(-0.5px) !important;
}

.rwpx-color-swatch {
	display: inline-block !important;
	width: 16px !important;
	height: 16px !important;
	border-radius: 50% !important;
	border: 1px solid rgba(0, 0, 0, 0.15) !important;
	flex-shrink: 0 !important;
	box-sizing: border-box !important;
}

/* Popover de Cores do Gutenberg - Caixa única, elegante e sem sobreposições */
.components-popover.rwpx-color-popover,
.rwpx-color-popover,
div.components-popover.is-positioned:has(.rwpx-color-popover-content),
div.components-popover:has(.rwpx-color-popover-content),
div.components-popover:has(.rwpx-color-popover-body) {
	z-index: 99999999 !important;
}

/* Única caixa exterior com acabamento perfeito */
.components-popover.rwpx-color-popover .components-popover__content {
	z-index: 99999999 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: #ffffff !important;
	border-radius: 12px !important;
	box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.22), 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
	border: 1px solid #cbd5e1 !important;
	overflow: hidden !important;
	outline: none !important;
	box-sizing: border-box !important;
}

/* Anula qualquer borda/sombra intermediária dos elementos internos do Dropdown */
.components-popover.rwpx-color-popover .rwpx-color-popover-content,
.rwpx-color-popover-content {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	outline: none !important;
	width: auto !important;
	min-width: 0 !important;
}

/* Corpo único com respiro limpo e conteúdo organizado */
.rwpx-color-popover-body {
	padding: 16px !important;
	background: #ffffff !important;
	min-width: 248px !important;
	box-sizing: border-box !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.rwpx-color-popover-body .components-color-picker {
	width: 100% !important;
}

/* ==========================================================================
   Bloco Container Responsivo (Wrapper Flexível para Gutenberg)
   ========================================================================== */
.rwpx-container-block {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: var(--rwpx-container-max-width, 800px) !important;
	min-height: var(--rwpx-container-min-height, auto);
	justify-content: var(--rwpx-container-valign, flex-start) !important;
	margin-top: var(--rwpx-container-margin-top, -120px) !important;
	margin-bottom: var(--rwpx-container-margin-bottom, 0) !important;
	margin-left: var(--rwpx-container-margin-left, auto) !important;
	margin-right: var(--rwpx-container-margin-right, auto) !important;
	padding: var(--rwpx-container-padding, 0) !important;
	background: var(--rwpx-container-bg, transparent);
	border: var(--rwpx-container-border, none);
	border-radius: var(--rwpx-container-radius, 0);
	box-shadow: var(--rwpx-container-shadow, none);
	z-index: var(--rwpx-container-zindex, 2);
	position: relative;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.rwpx-container-block {
		max-width: var(--rwpx-container-max-width-tablet, var(--rwpx-container-max-width, 100%)) !important;
		min-height: var(--rwpx-container-min-height-tablet, var(--rwpx-container-min-height, auto));
		margin-top: var(--rwpx-container-margin-top-tablet, 0) !important;
		margin-bottom: var(--rwpx-container-margin-bottom-tablet, 0) !important;
		padding: var(--rwpx-container-padding-tablet, var(--rwpx-container-padding, 0)) !important;
	}
}

@media (max-width: 767px) {
	.rwpx-container-block {
		max-width: var(--rwpx-container-max-width-mobile, 100%) !important;
		min-height: var(--rwpx-container-min-height-mobile, auto) !important;
		margin-top: var(--rwpx-container-margin-top-mobile, 0) !important;
		margin-bottom: var(--rwpx-container-margin-bottom-mobile, 0) !important;
		padding: var(--rwpx-container-padding-mobile, var(--rwpx-container-padding, 0)) !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* ==========================================================================
   Suporte ao Canvas do Editor Gutenberg (Filtro, Hero e Container)
   Permite que as dimensões, margens negativas e alinhamentos reflitam
   ao vivo no editor sem precisar salvar para ver no front-end.
   ========================================================================== */
.editor-styles-wrapper .wp-block[data-type="receitas-pro-wpx/filter-recipes"],
.editor-styles-wrapper .wp-block.wp-block-receitas-pro-wpx-filter-recipes,
.editor-styles-wrapper .rwpx-filter-recipes-editor-wrap {
	max-width: var(--rwpx-filter-max-width, 100%) !important;
	margin-left: var(--rwpx-filter-margin-left, auto) !important;
	margin-right: var(--rwpx-filter-margin-right, auto) !important;
	z-index: var(--rwpx-filter-zindex, 10) !important;
	position: relative !important;
	overflow: visible !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.editor-styles-wrapper .rwpx-filter-recipes-editor-wrap .wp-block-server-side-render,
.editor-styles-wrapper .wp-block[data-type="receitas-pro-wpx/filter-recipes"] .wp-block-server-side-render {
	width: 100% !important;
	position: relative !important;
	overflow: visible !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.editor-styles-wrapper .rwpx-container-block,
.editor-styles-wrapper .wp-block[data-type="receitas-pro-wpx/container"],
.editor-styles-wrapper .wp-block.wp-block-receitas-pro-wpx-container {
	position: relative !important;
	overflow: visible !important;
	box-sizing: border-box !important;
	padding: var(--rwpx-container-padding, 0px) !important;
}

.editor-styles-wrapper .wp-block[data-type="receitas-pro-wpx/recipe-hero"],
.editor-styles-wrapper .wp-block.wp-block-receitas-pro-wpx-recipe-hero {
	position: relative !important;
	overflow: visible !important;
}