/*
Theme Name: Culpa Base
Theme URI: https://laculpapr.com
Author: La Culpa
Description: Reusable block theme. Header, footer and templates are edited from Appearance > Editor. Built to work with the Culpa Blocks plugin (Container, Icon, Lottie and Layers panel).
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Version: 0.2.0
License: GPLv2 or later
Text Domain: culpa-base
*/

/* Minimal styles: almost everything lives in theme.json */
.site-header,
.site-footer {
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
}

.site-footer {
	border-top: 1px solid var(--wp--preset--color--light-gray);
	font-size: var(--wp--preset--font-size--small);
}

.site-header .wp-block-site-title a,
.site-footer .wp-block-site-title a {
	text-decoration: none;
}

/* No gap between header, content and footer (sections control their own spacing) */
.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

/* -------------------------------------------------------------------------
 * Legacy color names (v0.1 used Spanish color slugs).
 * Keeps content created with v0.1 looking the same. Safe to delete once
 * no page uses the old colors.
 * ---------------------------------------------------------------------- */
:root {
	--wp--preset--color--primario: var(--wp--preset--color--primary);
	--wp--preset--color--secundario: var(--wp--preset--color--secondary);
	--wp--preset--color--negro: var(--wp--preset--color--black);
	--wp--preset--color--blanco: var(--wp--preset--color--white);
	--wp--preset--color--gris-claro: var(--wp--preset--color--light-gray);
}
.has-primario-color { color: var(--wp--preset--color--primary) !important; }
.has-secundario-color { color: var(--wp--preset--color--secondary) !important; }
.has-negro-color { color: var(--wp--preset--color--black) !important; }
.has-blanco-color { color: var(--wp--preset--color--white) !important; }
.has-gris-claro-color { color: var(--wp--preset--color--light-gray) !important; }
.has-primario-background-color { background-color: var(--wp--preset--color--primary) !important; }
.has-secundario-background-color { background-color: var(--wp--preset--color--secondary) !important; }
.has-negro-background-color { background-color: var(--wp--preset--color--black) !important; }
.has-blanco-background-color { background-color: var(--wp--preset--color--white) !important; }
.has-gris-claro-background-color { background-color: var(--wp--preset--color--light-gray) !important; }
.has-primario-border-color { border-color: var(--wp--preset--color--primary) !important; }
.has-secundario-border-color { border-color: var(--wp--preset--color--secondary) !important; }
