/**
 * Design site — acento visual (diferente do Web)
 */
.mf-hero--design.ft1-hero-split,
.mf-cv-hero--design,
.mf-page-hero--design {
	background: linear-gradient(155deg, #1a0f2e 0%, #2d1b4e 45%, #0f172a 100%);
}

.mf-hero--design .ft1-hero-split .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.mf-cv-hero--design .wp-block-quote {
	border-left-color: #e879f9;
}

.mf-hero--design .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: linear-gradient(135deg, #c026d3, #9333ea);
	color: #fff;
}

.mf-hub-card--design {
	border-top: 4px solid #a855f7;
}

.mf-design-intro {
	padding-top: clamp(2rem, 5vw, 3.5rem);
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.mf-cv-hero--design .mf-cv-hero__lead {
	color: #e9d5ff;
}

.mf-cv-section--web-link {
	border-top: 1px solid #e9d5ff;
}

.mf-cv-section--web-link a {
	color: #5b21b6;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.mf-cv-section--web-link a:hover,
.mf-cv-section--web-link a:focus-visible {
	color: #3b0764;
}

/* Filtros — áreas criativas */
.mf-trabalhos-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	margin: 0 0 1.75rem;
	padding: 0;
}

.mf-trabalhos-filters__btn {
	appearance: none;
	border: 1px solid #d8b4fe;
	background: #faf5ff;
	color: #5b21b6;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mf-trabalhos-filters__btn:hover {
	border-color: #a855f7;
	background: #f3e8ff;
}

.mf-trabalhos-filters__btn.is-active {
	background: linear-gradient(135deg, #c026d3, #9333ea);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35);
}

.mf-trabalhos-filters__count {
	font-weight: 500;
	opacity: 0.85;
	font-size: 0.75em;
}

.mf-trabalhos-filters__btn.is-active .mf-trabalhos-filters__count {
	opacity: 0.95;
}

.mf-trabalhos-filters__empty {
	text-align: center;
	color: #64748b;
	margin: 2rem 0;
	font-size: 0.95rem;
}

.mf-trabalhos-query .wp-block-post-template > li.is-mf-filtered-out {
	display: none !important;
}

.mf-trabalhos-query .wp-block-query-pagination {
	margin-top: 2rem;
}

/* Com todos os trabalhos na página, paginação fica oculta */
.mf-trabalhos-query .wp-block-query-pagination {
	display: none;
}

/* Galeria — lightbox */
.mf-trabalho-lightbox__trigger {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: inherit;
}

.mf-trabalho-lightbox__trigger img {
	display: block;
	width: 100%;
	height: auto;
}

.mf-trabalho-lightbox__trigger:focus-visible {
	outline: 2px solid #a855f7;
	outline-offset: 3px;
}

/* Só a linha de categoria no card */
.mf-trabalho-categoria {
	margin: 0.65rem 0 0 !important;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: #5b21b6;
}

.mf-trabalho-categoria a {
	color: inherit;
	text-decoration: none;
	pointer-events: none;
}

.mf-trabalho-lightbox {
	position: relative;
	max-width: min(96vw, 1200px);
	width: 100%;
	padding: 0;
	border: none;
	border-radius: 12px;
	background: #0f172a;
	color: #f8fafc;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.mf-trabalho-lightbox::backdrop {
	background: rgba(15, 23, 42, 0.82);
}

.mf-trabalho-lightbox__figure {
	margin: 0;
}

.mf-trabalho-lightbox__img {
	display: block;
	width: 100%;
	max-height: 85vh;
	object-fit: contain;
	background: #020617;
}

.mf-trabalho-lightbox__caption {
	padding: 0.85rem 1.25rem 1.1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	text-align: center;
	color: #e2e8f0;
}

.mf-trabalho-lightbox__close {
	position: absolute;
	top: 0.5rem;
	right: 0.65rem;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.mf-trabalho-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.mf-trabalho-lightbox__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mf-trabalho-lightbox__nav:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.28);
}

.mf-trabalho-lightbox__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.mf-trabalho-lightbox__nav--prev {
	left: 0.65rem;
}

.mf-trabalho-lightbox__nav--next {
	right: 0.65rem;
}

.mf-trabalhos-archive li.is-mf-filtered-out {
	display: none !important;
}
