/* WordPress-specific overrides on top of assets/css/tailwind.css */

/*
 * The compiled tailwind.css was copied from the previous Next.js build, where
 * these two variables pointed at next/font-generated CSS vars that don't
 * exist in WordPress. Redefine them here (loads after tailwind.css) with the
 * fonts we actually load via wp_enqueue_style, so .font-display / font-sans
 * resolve to a real font instead of silently falling through to nothing.
 */
:root {
	--font-display: "pacaembu", "Archivo Black", "Arial Black", sans-serif;
	--font-sans: "Inter", system-ui, sans-serif;
}

.admin-bar .sticky-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .sticky-header {
		top: 46px;
	}
}

/* Freeform, editable FAQ content: each question (h2) + answer (p) written
   directly in the WordPress editor, styled to match the rest of the site. */
.ticketeala-faq-content > * + * {
	border-top: 2px solid rgba(0, 0, 0, 0.1);
	padding-top: 1.5rem;
	margin-top: 1.5rem;
}
.ticketeala-faq-content h2 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.045em;
	font-size: 1.125rem;
	color: var(--color-tk-black);
}
@media (min-width: 768px) {
	.ticketeala-faq-content h2 {
		font-size: 1.25rem;
	}
}
.ticketeala-faq-content p {
	margin-top: 0.5rem;
	color: rgba(0, 0, 0, 0.7);
}

/* Safety net: freeform editor content can contain long unbroken words/URLs
   that would otherwise overflow their container instead of wrapping. */
.ticketeala-prose,
.ticketeala-faq-content,
.entry-content {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* "Quiénes somos" editable body copy */
.ticketeala-prose p {
	font-size: 1.125rem;
	line-height: 1.75;
	color: rgba(0, 0, 0, 0.8);
}
.ticketeala-prose p + p {
	margin-top: 1.5rem;
}
.ticketeala-prose h2 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.045em;
	font-size: 1.5rem;
	color: var(--color-tk-black);
	margin-top: 3.5rem;
}
