/* Página Artistas inteira a escuro, como no novo design de referência. */
.page-id-7 main {
	background: var(--ksp-bg);
	color: var(--ksp-text);
}
/* Só o título da hero fica sempre a branco (banner com foto sempre escura);
   os títulos dos cartões continuam a seguir o modo claro/escuro. */
.page-id-7 .ksp-artists-hero2__content h1 {
	color: #fff;
}

.ksp-artists-hero2 {
	position: relative;
	min-height: clamp(260px, 32vw, 360px);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px 24px;
	box-sizing: border-box;
}
.ksp-artists-hero2__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.ksp-artists-hero2__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(3px) brightness(0.55) saturate(1.1);
	transform: scale(1.08);
}
.ksp-artists-hero2__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(5, 15, 30, 0.35) 0%, rgba(2, 6, 14, 0.85) 100%);
}
:root[data-theme="light"] .ksp-artists-hero2__bg::after {
	background: radial-gradient(ellipse at center, rgba(61, 155, 233, 0.4) 0%, rgba(13, 105, 163, 0.88) 100%);
}
.ksp-artists-hero2__content {
	position: relative;
	z-index: 1;
	max-width: 640px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.ksp-artists-hero2__badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}
.ksp-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.8);
}
.ksp-hero-badge--accent {
	border: 1px solid var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--accent-1);
	background: rgba(61, 155, 233, 0.1);
}
.ksp-hero-badge__dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: currentColor;
}
.ksp-artists-hero2__content h1 {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3rem);
}
.ksp-artists-hero2__content p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.ksp-artists {
	max-width: var(--wp--style--global--wide-size, 1340px);
	margin-left: auto;
	margin-right: auto;
}

.ksp-artists__filters {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 14px;
	margin: clamp(28px, 5vw, 44px) 0 clamp(28px, 5vw, 48px);
}
.ksp-artists__filters-main {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}
.ksp-artists__filters-festival {
	grid-column: 3;
	justify-self: end;
}
@media (max-width: 640px) {
	.ksp-artists__filters {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	.ksp-artists__filters-festival {
		grid-column: 1;
		justify-self: center;
	}
}
.ksp-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 20px;
	border-radius: 999px;
	border: 2px solid var(--wp--preset--color--accent-1);
	background: transparent;
	color: var(--wp--preset--color--accent-2);
	font-weight: 700;
	font-size: 0.85rem;
	font-family: inherit;
	cursor: pointer;
}
.ksp-pill--icon {
	width: 38px;
	padding: 0;
}
.ksp-pill--icon svg {
	width: 16px;
	height: 16px;
}
.ksp-pill--active,
.ksp-pill:hover {
	background: var(--wp--preset--color--accent-1);
	color: #fff;
}
.ksp-artists__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(20px, 3vw, 32px);
}
.ksp-artist-card {
	position: relative;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: var(--ksp-bg-elevated);
	border: 1px solid rgba(var(--ksp-fg-rgb), 0.08);
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease;
}
/* Barra de destaque no topo — mesmo acento azul usado na Música do Mês,
   aplicado a todos os cartões do site para ficarem visualmente ligados. */
.ksp-artist-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-2));
	box-shadow: 0 2px 10px rgba(61, 155, 233, 0.45);
	z-index: 1;
}
.ksp-artist-card:hover {
	transform: translateY(-4px);
	border-color: var(--wp--preset--color--accent-1);
}
.ksp-artist-card__image {
	aspect-ratio: 4/3;
	background: var(--ksp-bg-elevated-2);
	overflow: hidden;
}
.ksp-artist-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ksp-artist-card__body {
	padding: 16px 18px 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}
.ksp-artist-card__name {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--ksp-text);
	text-transform: uppercase;
	flex: 1;
}
.ksp-artist-card__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(var(--ksp-fg-rgb), 0.08);
	font-size: 0.7rem;
}
.ksp-artist-card__link {
	color: var(--wp--preset--color--accent-1);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.ksp-artists__pager {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: clamp(24px, 4vw, 40px);
}
.ksp-artists__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: 2px solid var(--wp--preset--color--accent-1);
	background: transparent;
	color: var(--wp--preset--color--accent-1);
	font-size: 1.2rem;
	cursor: pointer;
}
.ksp-artists__arrow:hover:not(:disabled) {
	background: var(--wp--preset--color--accent-1);
	color: #fff;
}
.ksp-artists__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}
.page-id-7 .ksp-artists__arrow {
	border-color: rgba(var(--ksp-fg-rgb), 0.25);
	color: var(--ksp-text);
}
.page-id-7 .ksp-artists__arrow:hover:not(:disabled) {
	background: var(--wp--preset--color--accent-1);
	border-color: var(--wp--preset--color--accent-1);
}

/* ------------------------------------------------------------------ */
/* Projetos — listagem filtrada por tag de artista (tema escuro)       */
/* ------------------------------------------------------------------ */

.page-id-229 main,
.single-ksp_member main {
	background: var(--ksp-bg);
	color: var(--ksp-text);
}
/* Só o título da hero fica sempre a branco (banner sempre escuro);
   os restantes títulos da página seguem o modo claro/escuro. */
.page-id-229 .ksp-projects__hero h1 {
	color: #fff;
}

.ksp-projects {
	max-width: var(--wp--style--global--wide-size, 1340px);
	margin-left: auto;
	margin-right: auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.ksp-projects__hero {
	position: relative;
	background: linear-gradient(135deg, #0a1a30 0%, #050a14 100%);
	background-size: cover;
	background-position: center;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: clamp(28px, 5vw, 44px);
	margin: clamp(24px, 4vw, 40px) 0 clamp(36px, 5vw, 56px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.ksp-projects__back-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
	margin-bottom: 10px;
}
.ksp-projects__back-pill:hover {
	background: var(--wp--preset--color--accent-1);
}
.ksp-projects__hero-badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.ksp-projects__hero h1 {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	text-transform: uppercase;
}
.ksp-projects__hero p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	max-width: 60ch;
}

.ksp-projects__eyebrow {
	color: var(--wp--preset--color--accent-1);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 6px;
}
.ksp-projects__heading {
	margin: 0 0 clamp(24px, 4vw, 36px);
	color: var(--ksp-text);
}

.ksp-projects__highlight {
	margin-bottom: clamp(20px, 3vw, 32px);
}
.ksp-projects__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(20px, 3vw, 32px);
	margin-bottom: clamp(36px, 5vw, 56px);
}

.ksp-projects__others {
	margin-top: clamp(48px, 7vw, 72px);
	padding-top: clamp(32px, 5vw, 48px);
	border-top: 1px solid rgba(var(--ksp-fg-rgb), 0.1);
}
.ksp-projects__others-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: clamp(20px, 3vw, 28px);
}
.ksp-projects__view-all {
	color: var(--wp--preset--color--accent-1);
	font-weight: 800;
	font-size: 0.8rem;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.ksp-projects__others .ksp-marquee {
	padding-bottom: clamp(32px, 5vw, 48px);
}

/* ------------------------------------------------------------------ */
/* Cartão de perfil — artista (grupo/solista) e membro                 */
/* ------------------------------------------------------------------ */

.ksp-profile-card {
	position: relative;
	display: flex;
	gap: clamp(24px, 4vw, 48px);
	background: var(--ksp-bg-elevated);
	border: 1px solid rgba(var(--ksp-fg-rgb), 0.08);
	border-radius: 20px;
	padding: clamp(24px, 4vw, 40px);
	margin: clamp(24px, 4vw, 40px) 0;
}
.ksp-profile-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 20px 20px 0 0;
	background: linear-gradient(90deg, var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-2));
	box-shadow: 0 2px 10px rgba(61, 155, 233, 0.45);
}
.ksp-profile-card__info {
	flex: 1 1 60%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.ksp-profile-card__name {
	margin: 0;
	color: var(--ksp-text);
}
.ksp-profile-card__image {
	position: relative;
	flex: 1 1 36%;
	max-width: 360px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--ksp-bg-elevated-2);
	align-self: flex-start;
}
.ksp-profile-card__pt-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #8ecbff;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
	border: 1px solid rgba(142, 203, 255, 0.4);
	border-radius: 999px;
	padding: 5px 12px;
}
.ksp-profile-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ksp-profile-card__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ksp-profile__row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-size: 0.9rem;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(var(--ksp-fg-rgb), 0.08);
}
.ksp-profile__label {
	flex: 0 0 160px;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.7rem;
	letter-spacing: 0.03em;
	color: rgba(var(--ksp-fg-rgb), 0.5);
}
.ksp-profile__value {
	flex: 1 1 auto;
	color: var(--ksp-text);
}
.ksp-profile__value a {
	color: var(--wp--preset--color--accent-1);
	font-weight: 700;
	text-decoration: none;
}
.ksp-profile__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ksp-profile__social {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(var(--ksp-fg-rgb), 0.08);
	color: var(--ksp-text);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}
.ksp-profile__social:hover {
	background: var(--wp--preset--color--accent-1);
	color: #fff;
}
.ksp-profile__edition-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: -1px;
	position: relative;
	z-index: 1;
	flex-wrap: wrap;
}
.ksp-profile__edition-tab {
	padding: 8px 18px;
	border: 1px solid rgba(var(--ksp-fg-rgb), 0.15);
	border-bottom: none;
	border-radius: 10px 10px 0 0;
	background: rgba(var(--ksp-fg-rgb), 0.05);
	color: rgba(var(--ksp-fg-rgb), 0.55);
	font-family: inherit;
	font-weight: 700;
	font-size: 0.8rem;
	cursor: pointer;
	position: relative;
	top: 1px;
}
.ksp-profile__edition-tab.is-active {
	background: var(--ksp-bg-elevated);
	color: var(--ksp-text);
}
.ksp-profile__edition-panel {
	display: none;
	border: 1px solid rgba(var(--ksp-fg-rgb), 0.15);
	border-radius: 0 12px 12px 12px;
	padding: 16px 18px;
	background: var(--ksp-bg-elevated);
}
.ksp-profile__edition-panel.is-active {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ksp-profile__lineup {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ksp-profile__lineup-item {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(var(--ksp-fg-rgb), 0.08);
	color: var(--ksp-text);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-block;
}
.ksp-profile__lineup-item--link {
	background: rgba(61, 155, 233, 0.14);
	color: var(--wp--preset--color--accent-1);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.ksp-profile__lineup-item--link:hover {
	background: var(--wp--preset--color--accent-1);
	color: #fff;
}
.ksp-profile__colors {
	display: flex;
	gap: 8px;
}
.ksp-profile__color-chip {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	border: 1px solid rgba(var(--ksp-fg-rgb), 0.15);
	display: inline-block;
}
.ksp-profile__facts {
	margin: 4px 0 0;
	padding: 0 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.9rem;
	color: var(--ksp-text);
}

@media (max-width: 720px) {
	.ksp-profile-card {
		flex-direction: column-reverse;
	}
	.ksp-profile-card__image {
		max-width: 100%;
		aspect-ratio: 4/3;
	}
}
