/* ==============================================
   FATTORIA DEI SOGNI — SFONDO GLOBALE
   Le variabili sono gestite dal Customizer.
   ============================================== */

:root {
    --fc-pattern-image: url("/wp-content/uploads/2025/01/La-Fattoria-dei-sogni-Azienda-Agricola.png");
    --fc-pattern-size: 160px;
    --fc-pattern-base: #fffdf7;
    --fc-pattern-veil: rgba(255,253,247,.82);
}

/* Un solo pattern, applicato al documento. */
html {
    background-color: var(--fc-pattern-base);
}

body {
    background-color: var(--fc-pattern-base) !important;
    background-image:
        linear-gradient(
            var(--fc-pattern-veil),
            var(--fc-pattern-veil)
        ),
        var(--fc-pattern-image) !important;

    background-size:
        auto,
        var(--fc-pattern-size) auto !important;

    background-repeat:
        repeat,
        repeat !important;

    background-position:
        left top,
        left top !important;
}

/* Contenitori delle pagine: mostrano il pattern del body. */
body .fc-native-page,
body .fc-home,
body.page .fc-native-page > .fc-native-flow,
body.page .fc-native-page > .fc-content-group,
body.page .fc-native-page > .fc-content-group > .fc-content-inner {
    background-color: transparent !important;
    background-image: none !important;
}

/* Zone neutre della homepage. */
body.home .fc-home .hc-services,
body.home .fc-home .hc-story,
body.home .fc-home .hc-contact {
    background-color: transparent !important;
    background-image: none !important;
}

/* ==============================================
   CHI SIAMO — PAGINA 1324
   Rimuove il fondo delle sezioni, non delle card.
   ============================================== */

body.page-id-1324 .fc-native-page[data-native-page="1324"] .fc-content-group {
    --fc-background: transparent !important;
    --fc-pattern: none !important;
}

body.page-id-1324 .fc-native-page[data-native-page="1324"] .fc-mockup-section,
body.page-id-1324 .fc-native-page[data-native-page="1324"] .fc-about-values,
body.page-id-1324 .fc-native-page[data-native-page="1324"] .fc-about-story {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Le card Passione/Ospitalità/Rispetto conservano i colori. */

/* ==============================================
   ANIMALI — PAGINA 5750
   La sezione Benessere diventa trasparente.
   La card gialla rimane invariata.
   ============================================== */

body.page-id-5750 .fc-native-page.fc-animals-page .respect-section {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Nessuna modifica a Hero, card, footer e pulsanti. */


/* FATTORIA — SUPERFICI NEUTRE PAGINA 5760 */

/* Contenitore generale */
body.page-id-5760 .fc-free-content,

/* Sezioni normali e colorate */
body.page-id-5760 .fc-free-content .fc-free-section,
body.page-id-5760 .fc-free-content .fc-free-section--lavender,
body.page-id-5760 .fc-free-content .fc-free-section--yellow,

/* Sezione degli avvisi: solo contenitore esterno */
body.page-id-5760 .fc-free-notice-section {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Fotografie, card e pulsanti mantengono i loro colori. */

/* FC-ASINELLI-PATTERN-INIZIO */
/* Rimuove i fondi pieni dai wrapper della pagina Asinelli.
   Non modifica le card interne né il booking. */
body.page-id-5392 .fc-native-page .brutal-interactive-wrapper,
body.page-id-5392 .fc-native-page .brutal-faq-wrapper,
body.page-id-5392 .fc-native-page .brutal-eventi-wrapper-nuovo {
    background-color: transparent !important;
    background-image: none !important;
}
/* FC-ASINELLI-PATTERN-FINE */

/* FC-FIX-BACKGROUNDS-2026-START */

/*
 * Mostra il pattern globale nelle sezioni esterne.
 * Non interviene sulle card interne o sui form.
 */

/* ATTIVITÀ DIDATTICHE — 2871 */
body.page-id-2871 .fc-native-page .fc-activities-intro,
body.page-id-2871 .fc-native-page .fc-activities-manifesto,
body.page-id-2871 .fc-native-page .fc-mockup-section {
    background: transparent !important;
    background-image: none !important;
}

/* SCUOLE — 5472 */
body.page-id-5472 .fc-native-page .fc-schools-section,
body.page-id-5472 .fc-native-page .fc-schools-section--soft {
    background: transparent !important;
    background-image: none !important;
}

/* EVENTI — 3972 */
body.page-id-3972 .fc-native-page .fc-event-section,
body.page-id-3972 .fc-native-page .fc-event-section--soft {
    background: transparent !important;
    background-image: none !important;
}

/* APERITIVI — 4995 */
body.page-id-4995 .fc-native-page .fc-calendar-section,
body.page-id-4995 .fc-native-page .fc-calendar-section--soft {
    background: transparent !important;
    background-image: none !important;
}

/* CONTATTI — 1328 */
body.page-id-1328 .fc-native-page .fc-contact-cards {
    background: transparent !important;
    background-image: none !important;
}

/* FC-FIX-BACKGROUNDS-2026-END */


/* Prima sezione trekking: niente fondo bianco o cornice */
body.page-id-5392 .fc-native-page[data-native-page="5392"] .asini-experience {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Fotografia e contenuti interni restano invariati */

/* FIX: rimuove il vecchio sfondo inline nella pagina Asinelli */
body.page-id-5392 .fc-native-page .fc-content-group{
  --fc-background: transparent !important;
  --fc-pattern: none !important;
}

body.page-id-5392 .fc-native-page .fc-content-group::before{
  content: none !important;
  background-image: none !important;
}
