/*
 * Base for the dynamic blocks (assets/blocks/): the design's reset (style.css 103–129), scoped to
 * the block roots. Specificity (0,0,1) like Blocksy's element rules (p, ul …), later in the cascade,
 * so it wins over them and every component class still wins over it.
 */
:where(.ll-research, .ll-ingredients, .ll-imodal, .ll-faq, .ll-faq-groups, .ll-faq-nav, .ll-crew__grid, .ll-team, .ll-pack, .ll-author) :is(p, h1, h2, h3, h4, h5, h6, ol, ul, li, dl, dt, dd, figure, blockquote, details, summary) {
	margin: 0;
	padding: 0;
}
:where(.ll-research, .ll-ingredients, .ll-imodal, .ll-faq, .ll-faq-groups, .ll-faq-nav, .ll-crew__grid, .ll-team, .ll-pack, .ll-author) :is(ul, ol) {
	list-style: none;
}
:where(.ll-research, .ll-ingredients, .ll-imodal, .ll-crew__grid, .ll-team, .ll-pack, .ll-author) img {
	display: block;
	max-width: 100%;
	height: auto;
}
:where(.ll-research, .ll-ingredients, .ll-imodal, .ll-faq-nav) button {
	font: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	color: inherit;
}

/* Lists that are the block root themselves (margins stay with the layout). */
:is(ul, ol):where(.ll-crew__grid, .ll-team, .ll-pack) {
	padding: 0;
	list-style: none;
}

/* Blocksy's own switch for its heading/paragraph content spacing (inherited by everything inside). */
:is(.ll-research, .ll-ingredients, .ll-imodal, .ll-faq, .ll-faq-groups, .ll-faq-nav, .ll-crew__grid, .ll-team, .ll-pack, .ll-author) {
	--has-theme-content-spacing: 0;
}

/* Editor-only note of an empty block (ll_block_empty()). */
.ll-block-note {
	padding: var(--ll-space-16);
	border: var(--ll-border-w) dashed var(--ll-border);
	border-radius: var(--ll-r-md);
	color: var(--ll-ink-soft);
	font-size: var(--ll-small);
}

/* Image crops the design sets inline (style="object-position: …"); design2blocks.py writes ll-pos-<x>-<y>.
   !important stands in for the inline style, which beats every component rule. */
:root .ll-pos-50-12 img {
	object-position: 50% 12% !important;
}
:root .ll-pos-42-45 img {
	object-position: 42% 45% !important;
}
:root .ll-pos-60-50 img {
	object-position: 60% 50% !important;
}
:root .ll-pos-72-50 img { /* Über uns, Ledersofa: 72 % instead of the design's 62 % for the new crop (Lena 2026-11-01) */
	object-position: 72% 50% !important;
}

/* Editor: block previews (ACF) are pictures of the frontend. Links, buttons and form fields in them take no clicks,
   so a click selects the block instead of opening a product page inside the editor (which loaded its third-party
   scripts there) or adding to the cart. Editable inner blocks keep working. */
:root .editor-styles-wrapper .acf-block-component :is(a, button, input, select, textarea, label):not(.acf-innerblocks-container *) {
	pointer-events: none;
}
