/*
 * Traductia — custom CSS layered on top of Tailwind.
 * Tailwind utilities are loaded via CDN with the design-token config defined
 * in inc/enqueue.php. Anything that can't be expressed in a utility lives here.
 */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 144px;
}

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Material Symbols default sizing tweak — Tailwind's text-* classes can be used too */
.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	vertical-align: middle;
}

/* WP admin bar offset */
body.admin-bar header.fixed {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar header.fixed {
		top: 46px;
	}
}

/* Strip default WP custom-logo wrapper styling so it sits cleanly in the nav */
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}
/* Force the WP custom logo (uploaded via Personalizar) to match the theme size.
   !important overrides any inline width/height attributes that WP outputs on the <img>. */
header .custom-logo {
	height: 80px !important;
	max-height: 80px !important;
	width: auto !important;
	max-width: none !important;
}
@media (min-width: 768px) {
	header .custom-logo {
		height: 96px !important;
		max-height: 96px !important;
	}
}

/* Nav menu items emitted by wp_nav_menu shouldn't carry list bullets */
header nav ul,
footer nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Helpful prose defaults for page.php / single.php */
.prose h2,
.prose h3 {
	font-family: 'Playfair Display', serif;
	color: var(--tw-prose-headings, #000);
}
.prose a {
	color: #12183c;
	text-decoration: underline;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
