/* Typography belongs to the Customizer; legacy builders only supply layout. */
body { font-family: var(--fattoria-body-font); }
body :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) {
    font-family: var(--fattoria-body-font);
    font-size: var(--fattoria-body-size-desktop);
    font-weight: var(--fattoria-body-weight);
    line-height: var(--fattoria-body-line-height);
    letter-spacing: var(--fattoria-body-letter-spacing);
}
body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) :is(p, label, li, td, th, input, textarea, select, button, .wp-block-button__link) {
    font-family: var(--fattoria-body-font) !important;
    font-size: var(--fattoria-body-size-desktop) !important;
    font-weight: var(--fattoria-body-weight) !important;
    line-height: var(--fattoria-body-line-height) !important;
    letter-spacing: var(--fattoria-body-letter-spacing) !important;
}
/* Replace both the legacy desktop badge and the theme's former pseudo-element. */
.menu-wrapper .etichetta-new, .menu-badge-new::after { display: none !important; }
.fattoria-has-menu-badge { position: relative; }
.fattoria-menu-badge {
    position: absolute; top: -12px; right: -10px; z-index: 100;
    padding: 2px 6px; border: 2px solid #000; border-radius: 4px;
    background: #ffd000; color: #000; box-shadow: 2px 2px 0 #000;
    font-family: var(--fattoria-body-font); font-size: 9px; font-weight: var(--fattoria-body-weight);
    line-height: 1; letter-spacing: 0; transform: rotate(8deg); pointer-events: none;
}
.fattoria-mobile-nav .fattoria-menu-badge, #masthead .fattoria-menu-badge, .ast-mobile-popup-drawer .fattoria-menu-badge {
    position: static; display: inline-block; margin-inline-start: 12px; vertical-align: middle;
}
/* Same white gradient already used by the Homepage/Asinelli hero. */
.page-id-1328 .wp-block-uagb-container.uagb-block-aeda9cd7::before {
    background-image: linear-gradient(0deg,rgba(7,146,227,0) 78%,rgb(255,255,255) 94%) !important;
    opacity: 1 !important;
}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h1 {
    font-family: var(--fattoria-h1-font) !important;
    font-size: var(--fattoria-h1-size-desktop) !important;
    font-weight: var(--fattoria-h1-weight) !important;
    line-height: var(--fattoria-h1-line-height) !important;
    letter-spacing: var(--fattoria-h1-letter-spacing) !important;
}

:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h2 {
    font-family: var(--fattoria-h2-font) !important;
    font-size: var(--fattoria-h2-size-desktop) !important;
    font-weight: var(--fattoria-h2-weight) !important;
    line-height: var(--fattoria-h2-line-height) !important;
    letter-spacing: var(--fattoria-h2-letter-spacing) !important;
}

:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h3 {
    font-family: var(--fattoria-h3-font) !important;
    font-size: var(--fattoria-h3-size-desktop) !important;
    font-weight: var(--fattoria-h3-weight) !important;
    line-height: var(--fattoria-h3-line-height) !important;
    letter-spacing: var(--fattoria-h3-letter-spacing) !important;
}

:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h4 {
    font-family: var(--fattoria-h4-font) !important;
    font-size: var(--fattoria-h4-size-desktop) !important;
    font-weight: var(--fattoria-h4-weight) !important;
    line-height: var(--fattoria-h4-line-height) !important;
    letter-spacing: var(--fattoria-h4-letter-spacing) !important;
}

:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h5 {
    font-family: var(--fattoria-h5-font) !important;
    font-size: var(--fattoria-h5-size-desktop) !important;
    font-weight: var(--fattoria-h5-weight) !important;
    line-height: var(--fattoria-h5-line-height) !important;
    letter-spacing: var(--fattoria-h5-letter-spacing) !important;
}

:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h6 {
    font-family: var(--fattoria-h6-font) !important;
    font-size: var(--fattoria-h6-size-desktop) !important;
    font-weight: var(--fattoria-h6-weight) !important;
    line-height: var(--fattoria-h6-line-height) !important;
    letter-spacing: var(--fattoria-h6-letter-spacing) !important;
}

body.page :is(.entry-content, main, .fattoria-site-content) :is(summary, .brutal-faq-q-text, .fattoria-event-form legend) {
    font-family: var(--fattoria-h4-font) !important;
    font-size: var(--fattoria-h4-size-desktop) !important;
    font-weight: var(--fattoria-h4-weight) !important;
    line-height: var(--fattoria-h4-line-height) !important;
    letter-spacing: var(--fattoria-h4-letter-spacing) !important;
}

body.page :is(.entry-content, main, .fattoria-site-content) a:is([class*="btn"],[class*="button"],[class*="bottone"]) { font-family:var(--fattoria-body-font)!important;font-size:var(--fattoria-body-size-desktop)!important;font-weight:var(--fattoria-body-weight)!important;line-height:var(--fattoria-body-line-height)!important;letter-spacing:var(--fattoria-body-letter-spacing)!important; }

:is(.menu-wrapper, .fattoria-site-header, #masthead, .site-footer) :is(a,span,button) { font-family:var(--fattoria-body-font)!important; }

@media(max-width:921px) {
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h1 {font-size:var(--fattoria-h1-size-tablet)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h2 {font-size:var(--fattoria-h2-size-tablet)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h3 {font-size:var(--fattoria-h3-size-tablet)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h4 {font-size:var(--fattoria-h4-size-tablet)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h5 {font-size:var(--fattoria-h5-size-tablet)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h6 {font-size:var(--fattoria-h6-size-tablet)!important;}
body.page :is(.entry-content, main,.fattoria-site-content,.brutal-footer-wrapper,.site-footer) :is(p,label,li,td,th,input,textarea,select,button,.wp-block-button__link), body.page :is(.entry-content, main,.fattoria-site-content) a:is([class*="btn"],[class*="button"],[class*="bottone"]) {font-size:var(--fattoria-body-size-tablet)!important;}
body.page :is(.entry-content, main,.fattoria-site-content) :is(summary,.brutal-faq-q-text,.fattoria-event-form legend) {font-size:var(--fattoria-h4-size-tablet)!important;}
}

@media(max-width:544px) {
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h1 {font-size:var(--fattoria-h1-size-mobile)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h2 {font-size:var(--fattoria-h2-size-mobile)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h3 {font-size:var(--fattoria-h3-size-mobile)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h4 {font-size:var(--fattoria-h4-size-mobile)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h5 {font-size:var(--fattoria-h5-size-mobile)!important;}
:root body.page :is(.entry-content, main, .fattoria-site-content, .brutal-footer-wrapper, .site-footer) h6 {font-size:var(--fattoria-h6-size-mobile)!important;}
body.page :is(.entry-content, main,.fattoria-site-content,.brutal-footer-wrapper,.site-footer) :is(p,label,li,td,th,input,textarea,select,button,.wp-block-button__link), body.page :is(.entry-content, main,.fattoria-site-content) a:is([class*="btn"],[class*="button"],[class*="bottone"]) {font-size:var(--fattoria-body-size-mobile)!important;}
body.page :is(.entry-content, main,.fattoria-site-content) :is(summary,.brutal-faq-q-text,.fattoria-event-form legend) {font-size:var(--fattoria-h4-size-mobile)!important;}
}

@media(max-width:921px){body :is(.entry-content,main,.fattoria-site-content,.brutal-footer-wrapper,.site-footer){font-size:var(--fattoria-body-size-tablet);}}

@media(max-width:544px){body :is(.entry-content,main,.fattoria-site-content,.brutal-footer-wrapper,.site-footer){font-size:var(--fattoria-body-size-mobile);}}

/* Also inherit global families in markup emitted by legacy contact shortcodes. */
:root body.page :is(.entry-content,main,.fattoria-site-content,.site-footer) * {font-family:var(--fattoria-body-font)!important;}
:root body.page :is(.entry-content,main,.fattoria-site-content,.site-footer) :is(h1,h2,h3,h4,h5,h6) * {font-family:inherit!important;}
