/*
Theme Name: Bockmoar
Theme URI: https://www.bockmoar.at/
Author: Buschenschank & Weingut Bockmoar
Description: Block-Theme für Buschenschank & Weingut Bockmoar am Bockberg (Design „Weinberg Klassik“). Alle Bereiche sind als Block-Vorlagen (Patterns) im Editor bearbeitbar. Schriften lokal eingebunden, keine externen Verbindungen.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bockmoar
Tags: block-theme, full-site-editing, one-column, custom-logo, editor-style
*/

/* Kleine Ergänzungen zu theme.json */

.bm-card img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.bm-link-arrow a {
	font-weight: 700;
	text-decoration: none;
}
.bm-link-arrow a::after {
	content: " →";
}

.bm-lines > * + * {
	border-top: 1px solid rgba(255, 255, 255, 0.4);
	padding-top: 1rem;
}

.bm-hours {
	border-collapse: collapse;
}
.bm-hours td {
	border: 0;
	padding: 0.45rem 1.5rem 0.45rem 0;
	vertical-align: top;
}
.bm-hours td:first-child {
	font-weight: 700;
	white-space: nowrap;
}

.wp-block-navigation a:hover {
	color: var(--wp--preset--color--wein);
}

@media (max-width: 781px) {
	.bm-hero h1 {
		font-size: 3rem !important;
	}
}

/* Abschnitte nahtlos aneinanderreihen */
.wp-site-blocks > * + *,
.wp-block-post-content > .alignfull + *,
.wp-block-post-content > * + .alignfull {
	margin-block-start: 0;
}
.wp-block-post-content > .alignfull:last-child {
	margin-block-end: 0;
}
