/*
Theme Name: Carlos Bravo
Theme URI:
Author: Carlos Bravo
Author URI: https://carlosbravo.blog
Description: Personal blog theme for a WordPress Core developer and committer. Clean, typography-first, code-friendly.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carlosbravo
Tags: blog, one-column, wide-blocks, block-patterns, block-styles, featured-images, full-site-editing, style-variations, threaded-comments, translation-ready
*/

html { scroll-behavior: smooth; }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

.wp-block-navigation a:where(:not(.wp-element-button)) { text-decoration: none; }
.wp-block-navigation a:where(:not(.wp-element-button)):hover { color: var(--wp--preset--color--primary); }

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

code, kbd, samp {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.9em;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
	padding: 0.1em 0.35em;
}

pre code { background: transparent; border: 0; padding: 0; }

.wp-block-post-title a { color: inherit; text-decoration: none; }
.wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }

.wp-block-separator { border-color: var(--wp--preset--color--border); opacity: 1; }

.is-style-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--muted);
}

.is-style-mono { font-family: var(--wp--preset--font-family--mono); }

.is-style-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	padding: 1.5rem;
	transition: border-color .15s ease;
}
.is-style-card:hover { border-color: var(--wp--preset--color--contrast); }
