/*
Theme Name: Mit főzzek ma?
Theme URI: https://cserhajni.hu/
Author: Cser Hajni
Description: Blokk alapú téma a Mit főzzek ma? receptgyűjteményhez és étrendtervezőhöz. A receptadatbázis és az alkalmazásblokkok a „Mit főzzek ma? – Receptek” bővítményből jönnek.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mit-fozzek-ma
Tags: block-patterns, full-site-editing, food-and-drink, accessibility-ready
*/

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.wp-block-group.is-style-card {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 18px;
	padding: var(--wp--preset--spacing--50);
}

.wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}
.wp-block-site-logo:empty + .wp-block-site-title a::before,
header .wp-block-site-title:first-child a::before {
	content: "";
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 12px;
	background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h18a8 8 0 0 1-8 8h-2a8 8 0 0 1-8-8z'/%3E%3Cpath d='M8 7c0-1.5 1-2 1-3.5M12 7c0-1.5 1-2 1-3.5M16 7c0-1.5 1-2 1-3.5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.wp-block-navigation .is-nav-pill > .wp-block-navigation-item__content {
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--surface);
}
.wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--primary);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
