/*
Theme Name: Hornealo Child (Twenty Twenty-Four)
Theme URI: https://hornealo.com/
Description: Tema hijo modular bilingüe (ES/EN) de Hornealo con calculadoras interactivas de repostería, panadería y estética editorial de obrador sobre NubeCore Creator.
Author: Hornealo Editorial
Template: twentytwentyfour
Version: 1.1.0
Text Domain: hornealo
*/

:root {
	--hn-bg: #FCF8F2;
	--hn-surface: #FFFFFF;
	--hn-surface-warm: #F5ECE0;
	--hn-cream: #F6E2C0;
	--hn-cocoa: #18110D;
	--hn-cocoa-2: #261C16;
	--hn-cocoa-3: #36281F;
	--hn-ink: #1C140F;
	--hn-text: #3B2E26;
	--hn-muted: #6E5D52;
	--hn-soft: #968478;
	--hn-caramel: #D9822B;
	--hn-caramel-dark: #B86717;
	--hn-caramel-soft: #FDF1E2;
	--hn-gold: #EBB248;
	--hn-sage: #2D8A65;
	--hn-sage-bright: #3EA87E;
	--hn-sage-soft: #E9F6F0;
	--hn-berry: #C83E59;
	--hn-berry-soft: #FCECEF;
	--hn-border: #E8DDD0;
	--hn-border-strong: #D6C6B4;
	--hn-radius: 16px;
	--hn-radius-sm: 10px;
	--hn-radius-lg: 24px;
	--hn-font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--hn-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--hn-shadow: 0 10px 30px rgba(24, 17, 13, 0.06);
	--hn-shadow-lg: 0 22px 54px rgba(24, 17, 13, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--hn-bg);
	color: var(--hn-text);
	font-family: var(--hn-font-sans);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--hn-cream); color: var(--hn-cocoa); }
:focus-visible { outline: 2px solid var(--hn-caramel); outline-offset: 2px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
	font-family: var(--hn-font-serif);
	font-weight: 700;
	color: var(--hn-ink);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
}
.hn-num { font-variant-numeric: tabular-nums; }
.hn-sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hn-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.hn-main-root, .hn-main-root > .entry-content, .wp-site-blocks, .wp-site-blocks > main { margin: 0 !important; padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
@media (max-width: 768px) { .hn-wrap { padding: 0 18px; } }
@media print {
	.hn-topbar, .hn-header, .hn-footer, .hn-no-print { display: none !important; }
	body { background: #FFFFFF; color: #000000; }
}
