/* Per-block alignment yields to device and custom-width choices below. */
.ls-core-enhanced[style*="--ls-self-alignment:"] { align-self:var(--ls-self-alignment)!important; }
/* Explicit native block dimensions; device overrides follow below. */
.ls-core-enhanced[style*="--ls-item-alignment:"] { align-items: var(--ls-item-alignment) !important; }
.ls-core-native-dimensions[style*="--ls-core-width:"] { width: var(--ls-core-width) !important; }
.ls-core-native-dimensions[style*="--ls-core-max-width:"] { max-width: var(--ls-core-max-width) !important; }
.ls-core-native-dimensions[style*="--ls-core-min-width:"] { min-width: var(--ls-core-min-width) !important; }
.ls-core-native-dimensions[style*="--ls-core-height:"] { height: var(--ls-core-height) !important; }
.ls-core-native-dimensions[style*="--ls-core-min-height:"] { min-height: var(--ls-core-min-height) !important; }

/* Local Studio Core structural and responsive runtime. */
.ls-container {
	box-sizing: border-box;
	margin-inline: auto;
	width: min(100%, var(--ls-content-width, var(--wp--style--global--wide-size, 1280px)));
}

.ls-stack:where(:not([data-ls-native-display])) { display: flex; }
.ls-stack:where(:not([data-ls-native-flex-direction])) { flex-direction: column; }
.ls-row:where(:not([data-ls-native-display])) { display: flex; }
.ls-row:where(:not([data-ls-native-flex-direction])) { flex-direction: row; }
.ls-row:where(:not([data-ls-native-flex-wrap])) { flex-wrap: wrap; }
.ls-grid:where(:not([data-ls-native-display])) { display: grid; }
.ls-grid:where(:not([data-ls-native-grid-template-columns])) { grid-template-columns: repeat(var(--ls-grid-columns, 3), minmax(0, 1fr)); }

@media (480px < width <= 782px) {

	.ls-core-enhanced[style*="--ls-tablet-font-size:"] {
		font-size: var(--ls-tablet-font-size) !important;
	}
	.wp-block-button.ls-core-enhanced[style*="--ls-tablet-font-size:"] > .wp-block-button__link {
		font-size: inherit !important;
	}

	.ls-core-enhanced[style*="--ls-tablet-gap:"] {
		gap: var(--ls-tablet-gap) !important;
	}

	.ls-core-enhanced[style*="--ls-tablet-margin-bottom:"] {
		margin-block-end: var(--ls-tablet-margin-bottom) !important;
	}

	.ls-core-enhanced[style*="--ls-tablet-margin-top:"] {
		margin-block-start: var(--ls-tablet-margin-top) !important;
	}

	.ls-core-enhanced[style*="--ls-tablet-padding-y:"] {
		padding-block: var(--ls-tablet-padding-y) !important;
	}

	.ls-core-enhanced[style*="--ls-tablet-padding-x:"] {
		padding-inline: var(--ls-tablet-padding-x) !important;
	}

	.ls-core-enhanced[style*="--ls-tablet-text-align:"] {
		text-align: var(--ls-tablet-text-align) !important;
	}

	.ls-core-enhanced:is(.ls-grid, .is-layout-grid)[style*="--ls-tablet-grid-columns:"] {
		grid-template-columns: repeat(var(--ls-tablet-grid-columns), minmax(0, 1fr)) !important;
	}

	.ls-core-enhanced:is(.ls-row, .ls-stack, .is-layout-flex, .wp-block-buttons)[style*="--ls-tablet-direction:"] {
		flex-direction: var(--ls-tablet-direction) !important;
	}
}

@media (width <= 480px) {

	.ls-core-enhanced[style*="--ls-mobile-font-size:"] {
		font-size: var(--ls-mobile-font-size) !important;
	}
	.wp-block-button.ls-core-enhanced[style*="--ls-mobile-font-size:"] > .wp-block-button__link {
		font-size: inherit !important;
	}

	.ls-core-enhanced[style*="--ls-mobile-gap:"] {
		gap: var(--ls-mobile-gap) !important;
	}

	.ls-core-enhanced[style*="--ls-mobile-margin-bottom:"] {
		margin-block-end: var(--ls-mobile-margin-bottom) !important;
	}

	.ls-core-enhanced[style*="--ls-mobile-margin-top:"] {
		margin-block-start: var(--ls-mobile-margin-top) !important;
	}

	.ls-core-enhanced[style*="--ls-mobile-padding-y:"] {
		padding-block: var(--ls-mobile-padding-y) !important;
	}

	.ls-core-enhanced[style*="--ls-mobile-padding-x:"] {
		padding-inline: var(--ls-mobile-padding-x) !important;
	}

	.ls-core-enhanced[style*="--ls-mobile-text-align:"] {
		text-align: var(--ls-mobile-text-align) !important;
	}

	.ls-core-enhanced:is(.ls-grid, .is-layout-grid)[style*="--ls-mobile-grid-columns:"] {
		grid-template-columns: repeat(var(--ls-mobile-grid-columns), minmax(0, 1fr)) !important;
	}

	.ls-core-enhanced:is(.ls-row, .ls-stack, .is-layout-flex, .wp-block-buttons)[style*="--ls-mobile-direction:"] {
		flex-direction: var(--ls-mobile-direction) !important;
	}
}

.ls-effect {
	transition-duration: var(--ls-effect-duration, 500ms);
	transition-property: opacity, transform;
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.ls-effect.ls-effect-is-ready:not(.is-visible) {
	opacity: 0;
	transition-delay: var(--ls-effect-delay, 0ms);
}

.ls-effect--fade-up.ls-effect-is-ready:not(.is-visible) {
	transform: translateY(1.5rem);
}

.ls-effect--fade-down.ls-effect-is-ready:not(.is-visible) {
	transform: translateY(-1.5rem);
}

.ls-effect--slide-left.ls-effect-is-ready:not(.is-visible) {
	transform: translateX(2rem);
}

.ls-effect--slide-right.ls-effect-is-ready:not(.is-visible) {
	transform: translateX(-2rem);
}

.ls-effect--scale-in.ls-effect-is-ready:not(.is-visible) {
	transform: scale(0.96);
}

.ls-effect.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {

	.ls-effect,
	.ls-effect.ls-effect-is-ready:not(.is-visible) {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
/* Native border-support class may collide with the "border" palette slug.
 * Only a deliberately selected container color/new independent card opts in. */
.ls-builder-card--inherit-text.ls-builder-card--inherit-text:not(.has-text-color) {
	color: inherit !important;
}
.ls-core-custom-container-text.ls-core-custom-container-text[style*="--ls-core-container-text:"] {
	color: var(--ls-core-container-text) !important;
}

/* Only an explicit per-block control opts in. Reading accessibility wins. */
html:not(.ls-reading-spacing) .ls-core-custom-line-height.ls-core-custom-line-height[style*="--ls-core-line-height:"] {
	line-height: var(--ls-core-line-height) !important;
}

/* Explicit Heading/Paragraph/Button preset only. The repeated opt-in class outranks
 * legacy context + heading + preset selectors regardless of stylesheet order.
 * Device overrides still win; unmarked imported/custom typography is inert. */
.ls-core-custom-font-size.ls-core-custom-font-size.ls-core-custom-font-size[style*="--ls-core-font-size:"] {
	font-size: var(--ls-core-font-size) !important;
}
/* Native Button keeps its size on the wrapper, while design CSS can size the
 * inner link directly. Opted-in links follow that wrapper at every breakpoint. */
.wp-block-button.ls-core-custom-font-size.ls-core-custom-font-size[style*="--ls-core-font-size:"] > .wp-block-button__link {
	font-size: inherit !important;
}
@media (480px < width <= 782px) {
	.ls-core-custom-font-size.ls-core-custom-font-size.ls-core-custom-font-size[style*="--ls-core-font-size:"] {
		font-size: var(--ls-tablet-font-size, var(--ls-core-font-size)) !important;
	}
}
@media (width <= 480px) {
	.ls-core-custom-font-size.ls-core-custom-font-size.ls-core-custom-font-size[style*="--ls-core-font-size:"] {
		font-size: var(--ls-mobile-font-size, var(--ls-core-font-size)) !important;
	}
}

/* Preserve a native custom text choice despite the palette's `text` slug. */
.ls-core-native-custom-text.ls-core-native-custom-text[style*="--ls-core-native-text:"] {
 color: var(--ls-core-native-text) !important;
}
.wp-block-button.ls-core-native-custom-text > .wp-block-button__link {
 color: var(--ls-core-native-text) !important;
}

/* Explicit side and axis overrides; absent values leave native design intact. */
@media (480px < width <= 782px) {
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-tablet-padding-top:"] { padding-top: var(--ls-tablet-padding-top) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-tablet-padding-top:"] > .wp-block-button__link { padding-top: var(--ls-tablet-padding-top) !important; }
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-tablet-padding-right:"] { padding-right: var(--ls-tablet-padding-right) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-tablet-padding-right:"] > .wp-block-button__link { padding-right: var(--ls-tablet-padding-right) !important; }
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-tablet-padding-bottom:"] { padding-bottom: var(--ls-tablet-padding-bottom) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-tablet-padding-bottom:"] > .wp-block-button__link { padding-bottom: var(--ls-tablet-padding-bottom) !important; }
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-tablet-padding-left:"] { padding-left: var(--ls-tablet-padding-left) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-tablet-padding-left:"] > .wp-block-button__link { padding-left: var(--ls-tablet-padding-left) !important; }
	.ls-core-enhanced[style*="--ls-tablet-margin-right:"] { margin-right: var(--ls-tablet-margin-right) !important; }
	.ls-core-enhanced[style*="--ls-tablet-margin-left:"] { margin-left: var(--ls-tablet-margin-left) !important; }
	.ls-core-enhanced[style*="--ls-tablet-row-gap:"] { row-gap: var(--ls-tablet-row-gap) !important; }
	.ls-core-enhanced[style*="--ls-tablet-column-gap:"] { column-gap: var(--ls-tablet-column-gap) !important; }
	.ls-core-enhanced[style*="--ls-tablet-display:"] { display: var(--ls-tablet-display) !important; }
	.ls-core-enhanced[style*="--ls-tablet-align-self:"] { align-self: var(--ls-tablet-align-self) !important; }
	.ls-core-enhanced[style*="--ls-tablet-align-items:"] { align-items: var(--ls-tablet-align-items) !important; }
	.ls-core-enhanced[style*="--ls-tablet-justify-content:"] { justify-content: var(--ls-tablet-justify-content) !important; }
	.ls-core-enhanced[style*="--ls-tablet-flex-wrap:"] { flex-wrap: var(--ls-tablet-flex-wrap) !important; }
}

/* Explicit side and axis overrides; absent values leave native design intact. */
@media (width <= 480px) {
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-mobile-padding-top:"] { padding-top: var(--ls-mobile-padding-top) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-mobile-padding-top:"] > .wp-block-button__link { padding-top: var(--ls-mobile-padding-top) !important; }
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-mobile-padding-right:"] { padding-right: var(--ls-mobile-padding-right) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-mobile-padding-right:"] > .wp-block-button__link { padding-right: var(--ls-mobile-padding-right) !important; }
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-mobile-padding-bottom:"] { padding-bottom: var(--ls-mobile-padding-bottom) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-mobile-padding-bottom:"] > .wp-block-button__link { padding-bottom: var(--ls-mobile-padding-bottom) !important; }
	.ls-core-enhanced:not(.wp-block-button)[style*="--ls-mobile-padding-left:"] { padding-left: var(--ls-mobile-padding-left) !important; }
	.wp-block-button.ls-core-enhanced[style*="--ls-mobile-padding-left:"] > .wp-block-button__link { padding-left: var(--ls-mobile-padding-left) !important; }
	.ls-core-enhanced[style*="--ls-mobile-margin-right:"] { margin-right: var(--ls-mobile-margin-right) !important; }
	.ls-core-enhanced[style*="--ls-mobile-margin-left:"] { margin-left: var(--ls-mobile-margin-left) !important; }
	.ls-core-enhanced[style*="--ls-mobile-row-gap:"] { row-gap: var(--ls-mobile-row-gap) !important; }
	.ls-core-enhanced[style*="--ls-mobile-column-gap:"] { column-gap: var(--ls-mobile-column-gap) !important; }
	.ls-core-enhanced[style*="--ls-mobile-display:"] { display: var(--ls-mobile-display) !important; }
	.ls-core-enhanced[style*="--ls-mobile-align-self:"] { align-self: var(--ls-mobile-align-self) !important; }
	.ls-core-enhanced[style*="--ls-mobile-align-items:"] { align-items: var(--ls-mobile-align-items) !important; }
	.ls-core-enhanced[style*="--ls-mobile-justify-content:"] { justify-content: var(--ls-mobile-justify-content) !important; }
	.ls-core-enhanced[style*="--ls-mobile-flex-wrap:"] { flex-wrap: var(--ls-mobile-flex-wrap) !important; }
}

/* Explicit responsive dimensions; bounded scalar block values only. */
@media (480px < width <= 782px) {
	.ls-core-enhanced[style*="--ls-tablet-width:"] { width: var(--ls-tablet-width) !important; }
	.ls-core-enhanced[style*="--ls-tablet-max-width:"] { max-width: var(--ls-tablet-max-width) !important; }
	.ls-core-enhanced[style*="--ls-tablet-min-width:"] { min-width: var(--ls-tablet-min-width) !important; }
	.ls-core-enhanced[style*="--ls-tablet-height:"] { height: var(--ls-tablet-height) !important; }
	.ls-core-enhanced[style*="--ls-tablet-min-height:"] { min-height: var(--ls-tablet-min-height) !important; }
}

/* Explicit responsive dimensions; bounded scalar block values only. */
@media (width <= 480px) {
	.ls-core-enhanced[style*="--ls-mobile-width:"] { width: var(--ls-mobile-width) !important; }
	.ls-core-enhanced[style*="--ls-mobile-max-width:"] { max-width: var(--ls-mobile-max-width) !important; }
	.ls-core-enhanced[style*="--ls-mobile-min-width:"] { min-width: var(--ls-mobile-min-width) !important; }
	.ls-core-enhanced[style*="--ls-mobile-height:"] { height: var(--ls-mobile-height) !important; }
	.ls-core-enhanced[style*="--ls-mobile-min-height:"] { min-height: var(--ls-mobile-min-height) !important; }
}

/* Explicit grid widths stay in block attributes. Device choices win over base. */
.ls-core-enhanced:is(.ls-grid,.is-layout-grid)[style*="--ls-grid-template-columns:"] { grid-template-columns:var(--ls-grid-template-columns)!important; }
.ls-core-enhanced[style*="--ls-grid-template-rows:"] { grid-template-rows:var(--ls-grid-template-rows)!important; }
@media (480px < width <= 782px) {
 .ls-core-enhanced:is(.ls-grid,.is-layout-grid)[style*="--ls-tablet-grid-columns:"] { grid-template-columns:repeat(var(--ls-tablet-grid-columns),minmax(0,1fr))!important; }
 .ls-core-enhanced:is(.ls-grid,.is-layout-grid)[style*="--ls-tablet-grid-template-columns:"] { grid-template-columns:var(--ls-tablet-grid-template-columns)!important; }
 .ls-core-enhanced[style*="--ls-tablet-grid-template-rows:"] { grid-template-rows:var(--ls-tablet-grid-template-rows)!important; }
}
@media (width <= 480px) {
 .ls-core-enhanced:is(.ls-grid,.is-layout-grid)[style*="--ls-mobile-grid-columns:"] { grid-template-columns:repeat(var(--ls-mobile-grid-columns),minmax(0,1fr))!important; }
 .ls-core-enhanced:is(.ls-grid,.is-layout-grid)[style*="--ls-mobile-grid-template-columns:"] { grid-template-columns:var(--ls-mobile-grid-template-columns)!important; }
 .ls-core-enhanced[style*="--ls-mobile-grid-template-rows:"] { grid-template-rows:var(--ls-mobile-grid-template-rows)!important; }
}

/* Native Image outer frame; inner image border and crop stay independent. */
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-top-width:"] { border-top-width:var(--ls-frame-border-top-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-top-style:"] { border-top-style:var(--ls-frame-border-top-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-top-color:"] { border-top-color:var(--ls-frame-border-top-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-right-width:"] { border-right-width:var(--ls-frame-border-right-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-right-style:"] { border-right-style:var(--ls-frame-border-right-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-right-color:"] { border-right-color:var(--ls-frame-border-right-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-bottom-width:"] { border-bottom-width:var(--ls-frame-border-bottom-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-bottom-style:"] { border-bottom-style:var(--ls-frame-border-bottom-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-bottom-color:"] { border-bottom-color:var(--ls-frame-border-bottom-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-left-width:"] { border-left-width:var(--ls-frame-border-left-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-left-style:"] { border-left-style:var(--ls-frame-border-left-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-left-color:"] { border-left-color:var(--ls-frame-border-left-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-top-left-radius:"] { border-top-left-radius:var(--ls-frame-border-top-left-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-top-right-radius:"] { border-top-right-radius:var(--ls-frame-border-top-right-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-bottom-right-radius:"] { border-bottom-right-radius:var(--ls-frame-border-bottom-right-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-frame-border-bottom-left-radius:"] { border-bottom-left-radius:var(--ls-frame-border-bottom-left-radius)!important; }
@media (max-width:782px) {
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-top-width:"] { border-top-width:var(--ls-tablet-frame-border-top-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-top-style:"] { border-top-style:var(--ls-tablet-frame-border-top-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-top-color:"] { border-top-color:var(--ls-tablet-frame-border-top-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-right-width:"] { border-right-width:var(--ls-tablet-frame-border-right-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-right-style:"] { border-right-style:var(--ls-tablet-frame-border-right-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-right-color:"] { border-right-color:var(--ls-tablet-frame-border-right-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-bottom-width:"] { border-bottom-width:var(--ls-tablet-frame-border-bottom-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-bottom-style:"] { border-bottom-style:var(--ls-tablet-frame-border-bottom-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-bottom-color:"] { border-bottom-color:var(--ls-tablet-frame-border-bottom-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-left-width:"] { border-left-width:var(--ls-tablet-frame-border-left-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-left-style:"] { border-left-style:var(--ls-tablet-frame-border-left-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-left-color:"] { border-left-color:var(--ls-tablet-frame-border-left-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-top-left-radius:"] { border-top-left-radius:var(--ls-tablet-frame-border-top-left-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-top-right-radius:"] { border-top-right-radius:var(--ls-tablet-frame-border-top-right-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-bottom-right-radius:"] { border-bottom-right-radius:var(--ls-tablet-frame-border-bottom-right-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-tablet-frame-border-bottom-left-radius:"] { border-bottom-left-radius:var(--ls-tablet-frame-border-bottom-left-radius)!important; }
}
@media (max-width:480px) {
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-top-width:"] { border-top-width:var(--ls-mobile-frame-border-top-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-top-style:"] { border-top-style:var(--ls-mobile-frame-border-top-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-top-color:"] { border-top-color:var(--ls-mobile-frame-border-top-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-right-width:"] { border-right-width:var(--ls-mobile-frame-border-right-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-right-style:"] { border-right-style:var(--ls-mobile-frame-border-right-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-right-color:"] { border-right-color:var(--ls-mobile-frame-border-right-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-bottom-width:"] { border-bottom-width:var(--ls-mobile-frame-border-bottom-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-bottom-style:"] { border-bottom-style:var(--ls-mobile-frame-border-bottom-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-bottom-color:"] { border-bottom-color:var(--ls-mobile-frame-border-bottom-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-left-width:"] { border-left-width:var(--ls-mobile-frame-border-left-width)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-left-style:"] { border-left-style:var(--ls-mobile-frame-border-left-style)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-left-color:"] { border-left-color:var(--ls-mobile-frame-border-left-color)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-top-left-radius:"] { border-top-left-radius:var(--ls-mobile-frame-border-top-left-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-top-right-radius:"] { border-top-right-radius:var(--ls-mobile-frame-border-top-right-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-bottom-right-radius:"] { border-bottom-right-radius:var(--ls-mobile-frame-border-bottom-right-radius)!important; }
.wp-block-image.ls-core-image-frame[style*="--ls-mobile-frame-border-bottom-left-radius:"] { border-bottom-left-radius:var(--ls-mobile-frame-border-bottom-left-radius)!important; }
}

/* Explicit Navigation typography is inherited by generated labels. Keep any
 * separately authored child typography authoritative; unedited menus are inert. */
.wp-block-navigation.ls-core-custom-font-size :where(.wp-block-navigation__container,.wp-block-navigation__submenu-container,.wp-block-navigation-item,.wp-block-navigation-item__content,.wp-block-navigation-item__label):not([class*="-font-size"]):not([style*="font-size"]) {
	font-size: inherit !important;
}
.wp-block-navigation.ls-core-custom-line-height :where(.wp-block-navigation__container,.wp-block-navigation__submenu-container,.wp-block-navigation-item,.wp-block-navigation-item__content,.wp-block-navigation-item__label):not(.ls-core-custom-line-height):not([style*="line-height"]) {
	line-height: inherit !important;
}
.wp-block-navigation[data-ls-native-font-weight] :where(.wp-block-navigation__container,.wp-block-navigation__submenu-container,.wp-block-navigation-item,.wp-block-navigation-item__content,.wp-block-navigation-item__label):not([data-ls-native-font-weight]):not([style*="font-weight"]) {
	font-weight: inherit !important;
}
