/*** gs SYEN ***/


.applicazione .is-style-body.wp-block-paragraph { font-size: 20px !important; line-height: 32px !important;
}


:root :where(.wp-block-fb-blocks-button) {
  padding-top: 14px;
  padding-right: 20px;
  padding-bottom: 14px;
  padding-left: 20px;
}

@media (max-width: 1024px) {

.applicazione .is-style-body.wp-block-paragraph {
  font-size: 18px !important;
  line-height: 30px !important;
}

}


@media (max-width: 767px) {

	.applicazione .is-style-body.wp-block-paragraph {
  font-size: 16px !important;
  line-height: 28px !important;
}


.fb-opener__trigger .fb-button.wp-element-button.has-icon.has-icon-left {
  height: 50px !important;
  width: 50px !important;
  --fb-button-icon-size: 14px !important;
}

.page-content-padding {
  padding-left: 25px;
  padding-right: 25px;
}



:root :where(.wp-element-button, .wp-block-button__link) {
  font-size: 12px;
  padding: 12px 20px !important;
}
}

/*
 * Image block: hide the caption (figcaption) visually, but keep it readable by
 * screen readers. Unlike "Mark as decorative", the image and its text stay
 * exposed to assistive technologies. Applies to both front end and editor.
 * The "Mostra didascalia" toggle (fbShowCaption) adds .fb-show-caption to opt out.
 */
.wp-block-image:not(.fb-show-caption) figcaption {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/*
 * EU "AI GENERATED" icon (copy of the fb-ai-image-label SVG, in assets/icons) at the start of a
 * paragraph, inline with the text: the text continues after it and wraps under.
 * Add the class "ai-inline" to the paragraph ("ai-inline--modified" too
 * for "AI MODIFIED").
 * No "fb-" prefix on purpose: the editor strips every "fb-*" class on save
 * (blocks/src/editor-extensions/editor/blockClasses.jsx).
 *   --ai-inline-height  icon height (default 1.1em, follows the text size)
 */
.ai-inline::before {
	aspect-ratio: 1384.24 / 266.41;
	background: url("assets/icons/ai-generated.svg") center / contain no-repeat;
	content: "";
	display: inline-block;
	height: var(--ai-inline-height, 1.1em);
	margin-inline-end: 0.5em;
	/* Centre on the capital letters (~0.7em tall) instead of "middle", which
	   uses half the x-height and leaves the icon low. Tweak --ai-inline-shift
	   if the font's caps are taller or shorter. */
	vertical-align: calc(var(--ai-inline-shift, 0.35em) - var(--ai-inline-height, 1.1em) / 2);
}

.ai-inline--modified::before {
	aspect-ratio: 1230.56 / 266.41;
	background-image: url("assets/icons/ai-modified.svg");
}
