/* Jazz al Patio — detalles que theme.json no cubre. */

/* Etiqueta (eyebrow) */
.is-style-etiqueta {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	margin-bottom: 0.5rem;
}
.is-style-etiqueta::before {
	content: "";
	display: inline-block;
	width: 2rem;
	height: 2px;
	margin-right: 0.75rem;
	vertical-align: middle;
	background: currentColor;
}
.has-text-align-center.is-style-etiqueta::after {
	content: "";
	display: inline-block;
	width: 2rem;
	height: 2px;
	margin-left: 0.75rem;
	vertical-align: middle;
	background: currentColor;
}

/* Tarjeta */
.is-style-tarjeta {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--outline);
	border-radius: 14px;
	padding: var(--wp--preset--spacing--40);
}

/* Botón con borde */
.wp-block-button.is-style-borde .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--heading);
	border: 2px solid currentColor;
}
.wp-block-button.is-style-borde .wp-block-button__link:hover {
	color: var(--wp--preset--color--primary);
	background: transparent;
}

/* Botones: transición suave */
.wp-block-button__link,
.wp-element-button {
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
	transform: translateY(-2px);
}

/* Portada: brillo cálido "tenue" desde abajo */
.jap-hero .wp-block-cover__background {
	background-image: radial-gradient(ellipse at 50% 120%, rgba(237, 175, 101, 0.28) 0%, rgba(0, 0, 0, 0) 60%);
	background-image: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent) 0%, transparent 60%);
}

/* Cifras (banda de datos) */
.jap-cifra {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

/* Agenda: fila de evento */
.jap-evento {
	border-bottom: 1px solid var(--wp--preset--color--outline);
}
.jap-evento:last-child {
	border-bottom: 0;
}
.jap-fecha {
	min-width: 5.5rem;
	text-align: center;
	border-radius: 12px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
}
.jap-fecha p {
	margin: 0;
	color: inherit;
}
@media (max-width: 600px) {
	.jap-evento {
		flex-wrap: wrap;
	}
}

/* "Plan de la casa" en la agenda cultural */
.jap-plan-casa {
	border-left: 4px solid var(--wp--preset--color--primary);
}

/* Imágenes de entradas con zoom suave */
.wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 12px;
}
.wp-block-post-featured-image img {
	transition: transform 0.4s ease;
}
.wp-block-post-featured-image:hover img {
	transform: scale(1.04);
}

/* Cabecera pegada arriba */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}
}

/* Dentro del bloque de fecha el texto toma el color de "Texto sobre principal" */
.jap-fecha .jap-cifra,
.jap-fecha .is-style-etiqueta {
	color: inherit;
}
.jap-fecha .is-style-etiqueta {
	letter-spacing: 0.15em;
	margin: 0;
}
.jap-fecha .is-style-etiqueta::before {
	display: none;
}

/* Agenda semanal */
.jap-respuesta {
	font-size: var(--wp--preset--font-size--large);
}
.jap-evento-datos {
	color: var(--wp--preset--color--heading);
}
.jap-actualizado,
.jap-agenda-anterior {
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.8;
}
.jap-aviso-agenda {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 10px;
	padding: 0.9rem 1.1rem;
}
.jap-aviso-agenda a {
	font-weight: 600;
}

/* ---------- El Primo de Jorge Revue ---------- */

/* Etiqueta con enlace: mismo color que la etiqueta */
.is-style-etiqueta a {
	color: inherit;
	text-decoration: none;
}

/* Ficha de concierto */
.jap-ficha__datos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--wp--preset--spacing--30);
	margin: 0 0 var(--wp--preset--spacing--40);
}
.jap-ficha__datos dt {
	margin-bottom: 0.25rem;
}
.jap-ficha__datos dd {
	margin: 0;
	color: var(--wp--preset--color--heading);
}
.jap-ficha__aviso {
	margin-top: 0;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
}

/* Lista automática de próximos conciertos (misma forma que la agenda) */
.jap-lista-conciertos .jap-evento {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--40) 0;
}
.jap-lista-conciertos .jap-fecha {
	padding: var(--wp--preset--spacing--20);
}
.jap-lista-conciertos .jap-cifra {
	font-size: var(--wp--preset--font-size--x-large);
}
.jap-evento__texto {
	flex: 1;
}
.jap-evento__texto h3 {
	margin: 0 0 0.25rem;
}
.jap-evento__texto h3 a {
	color: var(--wp--preset--color--heading);
	text-decoration: none;
}
.jap-evento__texto p {
	margin: 0;
}

/* Tarjetas de video (sin reproductor insertado) */
.jap-video .wp-block-image {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
}
.jap-video .wp-block-image img {
	width: 100%;
	transition: transform 0.4s ease;
}
.jap-video .wp-block-image a:hover img {
	transform: scale(1.04);
}
.jap-video h3 {
	margin: 0;
}
@media (max-width: 781px) {
	.jap-video {
		margin-bottom: var(--wp--preset--spacing--30);
	}
}

/* Integrantes con foto */
.jap-integrante .wp-block-image {
	margin: 0 0 var(--wp--preset--spacing--20);
	overflow: hidden;
	border-radius: 10px;
}
.jap-integrante .wp-block-image img {
	width: 100%;
}
.jap-integrante h3 {
	margin: 0;
}
