/**
 * Artist Page Styles
 * Estilos para la página individual del artista (CPT artista)
 */

/* === Artist Info (sidebar) === */
.artist-info {
	text-align: center;
}

.artist-info__genre {
	margin-bottom: 1rem;
	font-size: 0.9rem;
	color: var(--wp--preset--color--custom-gris);
}

.artist-info__genre-label {
	color: var(--wp--preset--color--black);
	font-weight: 700;
}

.artist-info__genre a {
	color: var(--wp--preset--color--custom-gris);
	text-decoration: none;
	transition: color 0.2s ease;
}

.artist-info__genre a:hover {
	color: var(--wp--preset--color--custom-verde-tmh);
}

.artist-info__genre-list a {
	color: var(--wp--preset--color--custom-gris);
	text-decoration: none;
	transition: color 0.2s ease;
}

.artist-info__genre-list a:hover {
	color: var(--wp--preset--color--custom-verde-tmh);
}

.artist-info__social-title {
	margin-bottom: 1rem;
	font-size: 0.9rem;
	text-align: center;
	color: var(--wp--preset--color--black);
	font-weight: 700;
}

.artist-info__social {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.artist-info__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--wp--preset--color--custom-verde-tmh);
	border-radius: 8px;
	transition: all 0.2s ease;
}

.artist-info__social-link:hover {
	background: var(--wp--preset--color--black);
	transform: translateY(-2px);
}

.artist-info__social-link svg {
	width: 22px;
	height: 22px;
	fill: #000;
	transition: fill 0.2s ease;
	display: block;
}

.artist-info__social-link:hover svg {
	fill: var(--wp--preset--color--custom-verde-tmh);
}

/* === Artist Posts - Imagen a la izquierda === */
.artist-posts {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.artist-posts__item {
	display: flex;
	gap: 1.5rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--wp--preset--color--custom-gris);
}

.artist-posts__item:first-child {
	padding-top: 0;
}

.artist-posts__image-link {
	flex: 0 0 30%;
	max-width: 30%;
}

.artist-posts__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
}

.artist-posts__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.artist-posts__item:hover .artist-posts__image img {
	transform: scale(1.05);
}

.artist-posts__content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.artist-posts__date {
	font-size: 0.875rem;
	color: var(--wp--preset--color--custom-gris);
	margin-bottom: 0.25rem;
}

.artist-posts__title {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0.25rem 0 0.5rem 0;
}

.artist-posts__title a {
	color: var(--wp--preset--color--black);
	text-decoration: none;
	transition: color 0.2s ease;
}

.artist-posts__title a:hover {
	color: var(--wp--preset--color--custom-verde-tmh);
}

.artist-posts__excerpt {
	font-size: 0.9rem;
	color: var(--wp--preset--color--custom-gris);
	line-height: 1.5;
	margin: 0.5rem 0;
}

.artist-posts__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
}

.artist-posts__tag {
	display: inline-block;
	background: var(--wp--preset--color--black);
	color: #fff;
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	text-decoration: none;
	transition: all 0.2s ease;
}

.artist-posts__tag:hover {
	background: var(--wp--preset--color--custom-verde-tmh);
	color: #000;
}

.artist-posts__empty {
	text-align: center;
	color: var(--wp--preset--color--custom-gris);
	padding: 2rem;
}

/* === Responsive === */
@media (max-width: 768px) {
	.artist-posts__item {
		flex-direction: column;
		gap: 1rem;
	}
	
	.artist-posts__image-link {
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	.artist-info__social-link {
		width: 36px;
		height: 36px;
	}
	
	.artist-info__social-link svg {
		width: 20px;
		height: 20px;
	}
}
