/*
Theme Name: Haly Rossi
Description: Lehká bloková šablona pro web Haly Rossi s.r.o. Veškerý obsah i vzhled se upravuje v editoru WordPressu.
Version: 0.1.0
Requires at least: 7.0
Requires PHP: 8.2
Text Domain: haly-rossi
*/

/* Header, page and footer sit flush; spacing belongs to the sections. */
.wp-site-blocks > * {
	margin-block: 0;
}

.hr-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.admin-bar .hr-header {
	top: var(--wp-admin--admin-bar--height, 0);
}

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

.hr-nav .wp-block-navigation-item__content {
	padding-block: 0.5rem;
}

.hr-nav .wp-block-navigation__responsive-container-open svg,
.hr-nav .wp-block-navigation__responsive-container-close svg {
	width: 32px;
	height: 32px;
}

.hr-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--40);
}

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
}

.hr-card {
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--white);
}

.hr-card .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hr-placeholder {
	border: 2px dashed var(--wp--preset--color--steel);
	padding: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--steel);
	text-align: center;
}

.hr-footer a {
	color: inherit;
}
