/* Native custom components: extracted design rules{
      --colore-sfondo: #b8c0ff;   /* Lilla pop */
      --colore-bordo: #000000;
      --ombra-spessore: 8px;

      width: 100%;
      display: flex;
      justify-content: center;
      margin: 40px 0 20px 0;
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      padding: 0 15px;
      box-sizing: border-box;
    }

    /* OTTIMIZZAZIONE RESPONSIVE PER MOBILE */
    @media(max-width: 768px) {
    }
  

    /* ==========================================================================
       VARIABILI GLOBALI E SETTAGGI STILE UNIFICATO (ROUNDED NEO-BRUTALIST)
       ========================================================================== */
    .brutal-interactive-wrapper {
      --colore-sfondo-sezione: #2a9d8f; /* Verde petrolio */
      --colore-bordo: #000000;
      --colore-attivo: #ffd000;         /* Giallo pop */
      --colore-rosa: #ff3366;
      --colore-azzurro: #33bfff;
      
      background-color: var(--colore-sfondo-sezione);
      padding: 60px 20px;
      border: 5px solid var(--colore-bordo);
      border-radius: 24px; 
      box-shadow: 10px 10px 0px var(--colore-bordo);
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      width: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .brutal-interactive-wrapper *, 
    .brutal-interactive-wrapper *::before, 
    .brutal-interactive-wrapper *::after {
      box-sizing: border-box;
    }

    /* TITOLO CENTRATO CON OMBRA POP TRIDIMENSIONALE */
    .brutal-inter-title {
      color: #ffffff !important;
      text-transform: uppercase;
      font-family: var(--fattoria-h2-font, "DM Serif Display", Georgia, serif) !important;
      font-size: clamp(2.2rem, 6vw, 3.8rem);
      line-height: 1.1;
      letter-spacing: -1px;
      text-align: center !important;
      margin: 0 auto 50px auto !important;
      width: 100%;
      text-shadow: 3px 3px 0px #000000, -1px -1px 0px #000000, 1px -1px 0px #000000, -1px 1px 0px #000000, -1px 1px 0px #000000;
      user-select: none;
    }

    /* LAYOUT A DUE COLONNE */
    .brutal-inter-container {
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 40px;
      align-items: start;
    }

    /* COLONNA PULSANTI (TAB SELETTORI) */
    .brutal-inter-tabs {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .brutal-tab-btn {
      background: #fffdf9;
      border: 4px solid var(--colore-bordo);
      border-radius: 20px; 
      box-shadow: 6px 6px 0px var(--colore-bordo);
      padding: 18px 25px;
      display: flex;
      align-items: center;
      gap: 20px;
      cursor: pointer;
      text-align: left;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
    }

    .brutal-tab-btn:hover {
      transform: translate(-2px, -2px);
      box-shadow: 8px 8px 0px var(--colore-bordo);
      background: #ffffff;
    }

    /* Stato attivo del pulsante */
    .brutal-tab-btn.active {
      background: var(--colore-attivo);
      transform: translate(4px, 4px);
      box-shadow: 0px 0px 0px var(--colore-bordo);
    }

    /* Cerchio con numero o icona */
    .tab-num-circle {
      font-family: var(--fattoria-h2-font, "DM Serif Display", Georgia, serif);
      font-size: 1.5rem;
      font-weight: 700;
      background: #ffffff;
      width: 55px;
      height: 55px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 3.5px solid var(--colore-bordo);
      border-radius: 50%; 
      box-shadow: 3px 3px 0px var(--colore-bordo);
      color: var(--colore-bordo);
      flex-shrink: 0;
    }

    .tab-num-circle img.emoji {
      width: 28px;
      height: 28px;
    }

    .tab-txt {
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-size: 1.3rem;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--colore-bordo);
      letter-spacing: -0.5px;
    }

    /* COLONNA LAVAGNA INFORMATIVA */
    .brutal-inter-board {
      background: #fffdf9;
      border: 4px solid var(--colore-bordo);
      border-radius: 24px;
      box-shadow: 8px 8px 0px var(--colore-bordo);
      padding: 45px 35px;
      min-height: 420px;
      display: flex;
      box-sizing: border-box;
      position: relative;
      transform: rotate(1deg);
    }

    /* Contenuti interni */
    .brutal-board-content {
      display: none; 
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      width: 100%;
    }

    .brutal-board-content.active {
      display: flex;
      animation: brutalPop 0.15s steps(2);
    }

    @keyframes brutalPop {
      0% { transform: scale(0.98); }
      100% { transform: scale(1); }
    }

    /* Badge superiore inclinato */
    .board-badge {
      border: 3px solid var(--colore-bordo);
      border-radius: 8px;
      padding: 5px 14px;
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 25px;
      transform: rotate(-3deg);
      box-shadow: 3px 3px 0px var(--colore-bordo);
      color: #000000;
      display: inline-block;
    }

    .board-h3 {
      margin: 0 0 15px 0 !important;
      font-family: var(--fattoria-h3-font, Helvetica, Arial, sans-serif) !important;
      font-size: 1.9rem !important;
      font-weight: 700;
      text-transform: uppercase;
      line-height: 1.2;
      color: #000000;
      letter-spacing: -0.5px;
    }

    .board-p {
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-size: 1.05rem;
      line-height: 1.6;
      color: #111111;
      font-weight: 500;
      margin: 0 0 35px 0 !important;
    }

    /* STILI INTEGRATI PER I NUOVI DETTAGLI ORARI */
    .separatore-brutal {
      border: none;
      height: 4px;
      background: var(--colore-bordo);
      width: 100%;
      margin: 0 0 25px 0 !important;
    }

    .evidenziato {
      background: var(--colore-attivo);
      padding: 0 8px;
      border: 2px solid var(--colore-bordo);
      display: inline-block;
      transform: rotate(-1.5deg);
      box-shadow: 2px 2px 0px var(--colore-bordo);
    }

    .info-orari-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin-bottom: 35px;
    }

    .info-riga {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .info-riga .emoji-icon {
      width: 42px;
      height: 42px;
      background: #ffffff;
      border: 2.5px solid var(--colore-bordo);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 2px 2px 0px var(--colore-bordo);
      flex-shrink: 0;
    }

    .info-riga .emoji-icon img {
      width: 22px;
      height: 22px;
    }

    .info-riga p {
      margin: 0 !important;
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-size: 1.1rem;
      color: #111111;
    }

    /* Pulsante di azione inferiore delle lavagne */
    .board-link-btn, .bottone-cta {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      background-color: var(--colore-attivo);
      color: var(--colore-bordo) !important;
      text-decoration: none !important;
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-weight: 700;
      font-size: 1.1rem;
      padding: 0 35px;
      border: 3px solid var(--colore-bordo);
      border-radius: 12px;
      box-shadow: 4px 4px 0px var(--colore-bordo);
      text-transform: uppercase;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
      cursor: pointer;
    }

    .board-link-btn:hover, .bottone-cta:hover {
      background: #ffffff;
      transform: translate(-2px, -2px);
      box-shadow: 6px 6px 0px var(--colore-bordo);
    }

    .container-bottone-cta {
      width: 100%;
      margin-top: auto;
    }

    /* ==========================================================================
       OTTIMIZZAZIONE RESPONSIVE AGGRESSIVA PER COMPATTARE IL MOBILE
       ========================================================================== */
    @media (max-width: 850px) {
      .brutal-interactive-wrapper {
        padding: 25px 12px; /* Ridotto spazio esterno */
        border-radius: 16px;
      }
      .brutal-inter-title {
        font-size: 22px; /* Titolo più compatto */
        margin: 0 0 20px 0 !important;
      }
      .brutal-inter-container {
        grid-template-columns: 1fr;
        gap: 15px; /* Meno spazio tra i macro blocchi */
      }
      
      /* LE TAB DIVENTANO UNA GRIGLIA COMPATTA 2x2 */
      .brutal-inter-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
      .brutal-tab-btn-wide-mobile {
        grid-column: 1 / -1;
      }

      .brutal-tab-btn {
        padding: 10px 12px;
        border-radius: 12px;
        gap: 10px;
        flex-direction: column; /* Icona sopra, testo sotto */
        text-align: center;
        box-shadow: 4px 4px 0px var(--colore-bordo);
      }
      .brutal-tab-btn.active {
        transform: translate(2px, 2px);
        box-shadow: 0px 0px 0px var(--colore-bordo);
      }
      .tab-num-circle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border: 2px solid var(--colore-bordo);
        box-shadow: 2px 2px 0px var(--colore-bordo);
      }
      .tab-txt {
        font-size: 0.85rem;
        line-height: 1.2;
      }

      /* COMPATTAZIONE DELLA LAVAGNA CONTENUTI */
      .brutal-inter-board {
        transform: rotate(0deg);
        padding: 20px 15px;
        border-radius: 16px;
        min-height: auto; /* Rimosso vincolo di altezza minima */
      }
      .board-badge {
        margin-bottom: 12px;
        font-size: 0.75rem;
        padding: 3px 10px;
      }
      .board-h3 { 
        font-size: 1.35rem !important; 
        margin-bottom: 10px !important;
      }
      .board-p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 20px !important;
      }
      
      /* Ottimizzazione tab orari */
      .separatore-brutal {
        margin: 0 0 15px 0 !important;
      }
      .info-orari-container {
        gap: 10px;
        margin-bottom: 20px;
      }
      .info-riga p {
        font-size: 0.95rem;
      }
      .info-riga .emoji-icon {
        width: 32px;
        height: 32px;
      }
      .info-riga .emoji-icon img {
        width: 18px;
        height: 18px;
      }

      /* Pulsanti ad altezza ridotta */
      .board-link-btn, .bottone-cta {
        height: 44px;
        font-size: 0.95rem;
        width: 100%; /* Occupa tutto lo spazio disponibile per facilitare il click */
      }
    }
  

    .brutal-animals-wrapper {
      --colore-sfondo: #b8c0ff;   /* Lilla pop per titolo e dettagli */
      --colore-attivo: #ffe500;   /* Giallo evidenziatore */
      --colore-bordo: #000000;
      --ombra-spessore: 8px;
      
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      width: 100%;
      box-sizing: border-box;
      padding: 50px 0px;
      display: flex;
      flex-direction: column;
      align-items: center; /* Centra tutto il contenuto internamente */
    }

    .brutal-animals-wrapper *, 
    .brutal-animals-wrapper *::before, 
    .brutal-animals-wrapper *::after {
      box-sizing: border-box;
    }

    /* TITOLO FORZATO AL CENTRO DEL BLOCCO */
    .brutal-animals-title {
      font-size: 36px;
      font-weight: 900;
      color: var(--colore-bordo);
      text-transform: uppercase;
      margin: 0 auto 45px auto !important;
      line-height: 1.2;
      letter-spacing: -1px;
      
      /* Forza la centratura matematica orizzontale */
      display: block !important;
      text-align: center !important;
      width: 100%;
    }

    /* Gestione dei componenti interni al titolo */
    .brutal-animals-title span.testo-normale {
      display: inline-block;
      margin-right: 12px;
      vertical-align: middle;
    }

    .brutal-animals-title .evidenziato {
      background: var(--colore-sfondo);
      padding: 4px 15px;
      border: 4px solid var(--colore-bordo);
      display: inline-block;
      transform: rotate(-1deg);
      box-shadow: 4px 4px 0px var(--colore-bordo);
      white-space: nowrap;
      vertical-align: middle;
    }

    /* TRACCIA DELLO SLIDER (DRAGGABILE) */
    .brutal-animals-track {
      display: flex;
      gap: 30px;
      overflow-x: auto;
      padding: 20px 10px 30px 10px;
      cursor: grab;
      user-select: none;
      -webkit-overflow-scrolling: touch;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }

    .brutal-animals-track:active {
      cursor: grabbing;
    }

    /* BARRA DI SCORRIMENTO CUSTOM STILE NEO-BRUTALIST */
    .brutal-animals-track::-webkit-scrollbar {
      height: 16px; 
    }
    .brutal-animals-track::-webkit-scrollbar-track {
      background: #ffffff;
      border: 3px solid var(--colore-bordo);
    }
    .brutal-animals-track::-webkit-scrollbar-thumb {
      background: var(--colore-sfondo);
      border: 3px solid var(--colore-bordo);
      box-shadow: inset -2px -2px 0px rgba(0,0,0,0.1);
    }
    .brutal-animals-track {
      scrollbar-color: var(--colore-sfondo) #ffffff;
      scrollbar-width: auto;
    }

    /* CARD FORMATO POLAROID STILE BRUTAL */
    .brutal-animals-card {
      flex: 0 0 310px;
      background: #ffffff;
      padding: 20px;
      border: 4px solid var(--colore-bordo);
      box-shadow: var(--ombra-spessore) var(--ombra-spessore) 0px var(--colore-bordo);
      position: relative;
      display: flex;
      flex-direction: column;
      transition: transform 0.1s ease, box-shadow 0.1s ease;
    }

    /* Preserva il drag disattivando gli eventi sulle immagini interne */
    .brutal-animals-card * {
      pointer-events: none;
    }

    /* Rotazioni alternate asimmetriche */
    .brutal-animals-card:nth-child(odd) { transform: rotate(0.8deg); }
    .brutal-animals-card:nth-child(even) { transform: rotate(-0.8deg); }

    .brutal-animals-card:hover {
      transform: scale(1.02) rotate(0deg) !important;
      box-shadow: 10px 10px 0px var(--colore-bordo);
    }

    /* CONTENITORE IMMAGINE */
    .animals-image-container {
      width: 100%;
      height: 240px;
      overflow: hidden;
      border: 3px solid var(--colore-bordo);
      background: #f8f9fa;
      box-shadow: 3px 3px 0px var(--colore-bordo);
    }

    .animals-image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* BADGE / ETICHETTE POLAROID */
    .animals-banner {
      position: absolute;
      top: -12px;
      left: 15px;
      z-index: 10;
      color: var(--colore-bordo);
      border: 2px solid var(--colore-bordo);
      border-radius: 4px;
      padding: 3px 10px;
      font-size: 11px;
      font-weight: 900;
      transform: rotate(-4deg); 
      box-shadow: 2px 2px 0 var(--colore-bordo);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    /* RESPONSIVE MOBILE */
    @media(max-width: 768px) {
      .brutal-animals-wrapper {
        padding: 30px 10px;
      }
      .brutal-animals-title {
        font-size: 28px;
      }
      .brutal-animals-title span.testo-normale {
        margin-right: 6px;
      }
      .brutal-animals-card {
        flex: 0 0 280px;
        padding: 15px;
        transform: rotate(0deg) !important;
      }
      .animals-image-container {
        height: 210px;
      }
    }
  

    /* ==========================================================================
       VARIABILI E SETTAGGI GENERALI (ROUNDED NEO-BRUTALIST STYLE)
       ========================================================================== */
    .brutal-eventi-wrapper {
      --colore-sfondo-sezione: #33bfff; /* Azzurro Pop del secondo mockup */
      --colore-bordo: #000000;
      --colore-carta: #fffdf9;
      --colore-pulsante: #ffd000;       /* Giallo pop */
      --colore-badge: #ff3366;          /* Rosa Shocking */

      background-color: var(--colore-sfondo-sezione);
      padding: 70px 30px;
      border: 5px solid var(--colore-bordo);
      border-radius: 24px;
      box-shadow: 10px 10px 0px var(--colore-bordo);
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      width: 100%;
      box-sizing: border-box;
      margin: 40px 0;
    }

    .brutal-eventi-wrapper *, 
    .brutal-eventi-wrapper *::before, 
    .brutal-eventi-wrapper *::after {
      box-sizing: border-box;
    }

    /* GRID LAYOUT A DUE COLONNE ASIMMETRICHE */
    .brutal-eventi-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 50px;
      align-items: center;
    }

    /* COLONNA TESTI: SCHEDA INFORMATIVA CARTA */
    .brutal-eventi-info-card {
      background: var(--colore-carta);
      border: 4px solid var(--colore-bordo);
      border-radius: 20px;
      padding: 45px;
      box-shadow: 8px 8px 0px var(--colore-bordo);
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      transform: rotate(-0.5deg);
    }

    /* BADGE INCLINATO SUPERIORE */
    .brutal-eventi-badge {
      background: var(--colore-badge);
      color: #ffffff !important;
      border: 3px solid var(--colore-bordo);
      border-radius: 8px;
      padding: 5px 15px;
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 25px;
      transform: rotate(-3deg);
      box-shadow: 3px 3px 0px var(--colore-bordo);
      letter-spacing: 0.5px;
    }

    /* TITOLO STRUTTURATO CON OMBRA TRIDIMENSIONALE */
    .brutal-eventi-h2 {
      color: var(--colore-bordo) !important;
      text-transform: uppercase;
      font-family: var(--fattoria-h2-font, "DM Serif Display", Georgia, serif) !important;
      font-size: clamp(2rem, 5vw, 3rem) !important;
      line-height: 1.1 !important;
      letter-spacing: -1px;
      margin: 0 0 20px 0 !important;
      font-weight: 500;
    }

    /* DESCRIZIONE PARAGRAFO */
    .brutal-eventi-p {
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-size: 1.1rem;
      line-height: 1.6;
      color: #111111;
      font-weight: 500;
      margin: 0 0 35px 0 !important;
    }

    /* PULSANTE CONTATTACI BRUTAL */
    .brutal-eventi-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 52px;
      background-color: var(--colore-pulsante);
      color: var(--colore-bordo) !important;
      text-decoration: none !important;
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-weight: 600;
      font-size: 1.1rem;
      padding: 0 35px;
      border: 3px solid var(--colore-bordo);
      border-radius: 12px;
      box-shadow: 4px 4px 0px var(--colore-bordo);
      text-transform: uppercase;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
    }

    .brutal-eventi-btn:hover {
      background: #ffffff;
      transform: translate(-2px, -2px);
      box-shadow: 6px 6px 0px var(--colore-bordo);
    }

    /* COLONNA GALLERY: GRIGLIA SFALSATA DINAMICA COERENTE */
    .brutal-eventi-gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      position: relative;
    }

    /* POLAROID PHOTO CARD */
    .brutal-eventi-photo {
      background: #ffffff;
      border: 4px solid var(--colore-bordo);
      border-radius: 16px;
      padding: 12px 12px 24px 12px;
      box-shadow: 6px 6px 0px var(--colore-bordo);
      transition: transform 0.2s ease;
    }

    .brutal-eventi-photo img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border: 3px solid var(--colore-bordo);
      border-radius: 10px;
      display: block;
    }

    /* Inclinazioni alternate e asimmetriche del mockup */
    .brutal-eventi-photo:nth-child(1) { transform: rotate(-2deg); }
    .brutal-eventi-photo:nth-child(2) { transform: rotate(3deg); margin-top: 20px; }
    .brutal-eventi-photo:nth-child(3) { transform: rotate(1.5deg); margin-top: -15px; }
    .brutal-eventi-photo:nth-child(4) { transform: rotate(-3deg); }

    .brutal-eventi-photo:hover {
      transform: scale(1.05) rotate(0deg) !important;
      box-shadow: 10px 10px 0px var(--colore-bordo);
      z-index: 10;
    }

    /* RESPONSIVE DESIGN PER TABLET E SMARTPHONE */
    @media (max-width: 950px) {
      .brutal-eventi-wrapper {
        padding: 40px 15px;
        border-radius: 16px;
      }
      .brutal-eventi-container {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .brutal-eventi-info-card {
        padding: 30px 20px;
        transform: rotate(0deg);
      }
      .brutal-eventi-gallery {
        gap: 15px;
      }
      .brutal-eventi-photo {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
      }
      .brutal-eventi-photo img {
        height: 150px;
      }
    }
  

    /* ==========================================================================
       VARIABILI E SETTAGGI GLOBALI (ALLEVAMENTO NEO-BRUTALIST VARIANT)
       ========================================================================== */
    .brutal-allevamento-wrapper {
      --colore-sfondo-sezione: #ffb703; /* Giallo caldo/arancio pop */
      --colore-bordo: #000000;
      --colore-carta: #fffdf9;
      --colore-pulsante: #2a9d8f;       /* Verde petrolio a contrasto */
      --colore-badge-domenica: #ff3366; /* Rosa Shocking */

      background-color: var(--colore-sfondo-sezione);
      padding: 70px 30px;
      border: 5px solid var(--colore-bordo);
      border-radius: 24px;
      box-shadow: 10px 10px 0px var(--colore-bordo);
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      width: 100%;
      box-sizing: border-box;
      margin: 40px 0;
    }

    .brutal-allevamento-wrapper *, 
    .brutal-allevamento-wrapper *::before, 
    .brutal-allevamento-wrapper *::after {
      box-sizing: border-box;
    }

    /* GRID STRUTTURALE */
    .brutal-allevamento-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 50px;
      align-items: center;
    }

    /* COLONNA INFORMATIVA PRINCIPALE */
    .brutal-allevamento-main-card {
      background: var(--colore-carta);
      border: 4px solid var(--colore-bordo);
      border-radius: 20px;
      padding: 45px;
      box-shadow: 8px 8px 0px var(--colore-bordo);
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      transform: rotate(0.5deg);
    }

    /* BADGE CON GLI ORARI (DOMENICA) */
    .brutal-allevamento-badge {
      background: var(--colore-badge-domenica);
      color: #ffffff !important;
      border: 3px solid var(--colore-bordo);
      border-radius: 10px;
      padding: 6px 16px;
      font-size: 0.9rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 25px;
      transform: rotate(-2deg);
      box-shadow: 3px 3px 0px var(--colore-bordo);
      letter-spacing: 0.5px;
    }

    /* TITOLI CON GESTIONE TIPOGRAFICA */
    .brutal-allevamento-h2 {
      margin: 0 0 20px 0 !important;
      font-family: var(--fattoria-h2-font, "DM Serif Display", Georgia, serif) !important;
      font-size: clamp(1.8rem, 4.5vw, 2.8rem) !important;
      line-height: 1.2 !important;
      text-transform: uppercase;
      letter-spacing: -0.5px;
      color: var(--colore-bordo) !important;
    }

    .brutal-allevamento-h2 a {
      color: var(--colore-bordo) !important;
      text-decoration: none !important;
      border-bottom: 4px solid var(--colore-pulsante);
      transition: background-color 0.1s ease;
    }

    .brutal-allevamento-h2 a:hover {
      background-color: #ffd000;
    }

    .brutal-allevamento-p {
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-size: 1.15rem;
      line-height: 1.6;
      color: #111111;
      font-weight: 500;
      margin: 0 0 30px 0 !important;
    }

    /* BOTTONE AD ANELLO COERENTE */
    .brutal-allevamento-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 52px;
      background-color: var(--colore-pulsante);
      color: #ffffff !important;
      text-decoration: none !important;
      font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
      font-weight: 700;
      font-size: 1.1rem;
      padding: 0 35px;
      border: 3px solid var(--colore-bordo);
      border-radius: 12px;
      box-shadow: 4px 4px 0px var(--colore-bordo);
      text-transform: uppercase;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
    }

    .brutal-allevamento-btn:hover {
      background: var(--colore-bordo);
      color: #ffffff !important;
      transform: translate(-2px, -2px);
      box-shadow: 6px 6px 0px var(--colore-bordo);
    }

    /* COLONNA COPERTINA FOTOGRAFICA STILE SNAPSHOT MULTIPLO */
    .brutal-allevamento-media-stack {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 25px;
    }

    /* CORNICE PELLICOLA ISTANTANEA */
    .brutal-snapshot-card {
      background: #ffffff;
      border: 4px solid var(--colore-bordo);
      border-radius: 16px;
      padding: 15px 15px 35px 15px; /* Fondo più largo stile Polaroid */
      box-shadow: 8px 8px 0px var(--colore-bordo);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      position: relative;
    }

    .brutal-snapshot-card img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      border: 3px solid var(--colore-bordo);
      border-radius: 10px;
      display: block;
    }

    /* Foro estetico della clip della finta macchina fotografica - RIMOSSA IMPRONTA DI ZAMPA */
    .brutal-snapshot-card::before {
      content: '';
      position: absolute;
      bottom: 8px;
      right: 15px;
      font-size: 1.2rem;
    }

    /* Rotazioni alternate asimmetriche */
    .brutal-snapshot-card:nth-child(1) { transform: rotate(-3deg); }
    .brutal-snapshot-card:nth-child(2) { transform: rotate(2deg); margin-top: -15px; }

    .brutal-snapshot-card:hover {
      transform: scale(1.04) rotate(0deg) !important;
      box-shadow: 12px 12px 0px var(--colore-bordo);
      z-index: 5;
    }

    /* RESPONSIVE PER MOBILES */
    @media (max-width: 950px) {
      .brutal-allevamento-wrapper {
        padding: 40px 15px;
        border-radius: 16px;
      }
      .brutal-allevamento-container {
        grid-template-columns: 1fr;
        gap: 45px;
      }
      .brutal-allevamento-main-card {
        padding: 30px 20px;
        transform: rotate(0deg);
      }
      .brutal-snapshot-card {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
        padding-bottom: 25px;
      }
      .brutal-snapshot-card img {
        height: 200px;
      }
    }
  

.brutal-slider-wrapper {
  --colore-sfondo-sezione: #ff3366; /* Nuovo sfondo Rosa Pop Acceso */
  --colore-bordo: #000000;
  
  background-color: var(--colore-sfondo-sezione);
  padding: 60px 30px; 
  border: 5px solid var(--colore-bordo);
  border-radius: 24px; 
  box-shadow: 10px 10px 0px var(--colore-bordo);
  font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* TITOLO CENTRATO AL BLOCCO CON OMBRA POP TRIDIMENSIONALE */
.brutal-slider-title {
  color: #ffffff !important;
  text-transform: uppercase;
  font-family: var(--fattoria-h2-font, "DM Serif Display", Georgia, serif) !important;
  font-size: clamp(2.5rem, 6.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -1px; 
  text-align: center;
  margin: 0 0 50px 0 !important; 
  text-shadow: 4px 4px 0px #000000, -1px -1px 0px #000000, 1px -1px 0px #000000, -1px 1px 0px #000000, 1px 1px 0px #000000;
  user-select: none;
  width: 100%; 
}

/* NUOVO CONTENITORE A GRIGLIA ASIMMETRICA (BENTO STYLE) */
.brutal-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1150px;
  box-sizing: border-box;
  padding: 10px;
}

/* CARD INFORMATIVA RINNOVATA */
.brutal-slide-card {
  background: #fffdf9; 
  padding: 45px 30px 35px 30px;
  border: 4px solid var(--colore-bordo);
  border-radius: 20px; 
  box-shadow: 8px 8px 0px var(--colore-bordo);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Effetto di asimmetria e rotazione sulle card della griglia */
.brutal-slide-card:nth-child(1) { transform: rotate(-1deg); }
.brutal-slide-card:nth-child(2) { transform: rotate(1.5deg); top: 15px; }
.brutal-slide-card:nth-child(3) { transform: rotate(1.2deg); }
.brutal-slide-card:nth-child(4) { transform: rotate(-1.5deg); top: -10px; }

.brutal-slide-card:hover {
  transform: scale(1.03) rotate(0deg) !important;
  box-shadow: 12px 12px 0px var(--colore-bordo);
  background: #ffffff;
  z-index: 5;
}

/* CERCHIO ICONA */
.slider-image-placeholder {
  font-size: 2.8rem;
  background: #ffffff;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--colore-bordo);
  border-radius: 50%; 
  box-shadow: 4px 4px 0px var(--colore-bordo);
  margin-bottom: 20px;
}

.slider-card-h3 {
  margin: 10px 0 12px 0 !important;
  font-family: var(--fattoria-h3-font, Helvetica, Arial, sans-serif) !important; 
  font-size: 1.7rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: #000000;
}

.slider-card-p {
  font-family: var(--fattoria-body-font, Helvetica, Arial, sans-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  color: #111111;
  font-weight: 500;
}

/* BADGE AGGIORNATI CON VARIANTI COLORE SU SFONDO ROSA */
.slider-banner {
  position: absolute;
  top: -12px;
  left: 20px;
  border: 3px solid var(--colore-bordo);
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0px var(--colore-bordo);
  color: #000000;
}

.cs-banner-verde { background: #2a9d8f; color: #ffffff !important; }
.cs-banner-azzurro { background: #33bfff; }
.cs-banner-giallo { background: #ffd000; }

/* RESPONSIVE PER MOBILES */
@media (max-width: 850px) {
  .brutal-slider-wrapper {
    padding: 40px 15px;
    border-radius: 16px;
  }
  .brutal-grid-container {
    grid-template-columns: 1fr; /* Colonna singola su smartphone */
    gap: 30px;
  }
  .brutal-slide-card {
    padding: 40px 20px 30px 20px;
    transform: rotate(0deg) !important;
    top: 0 !important;
  }
  .brutal-slider-title {
    margin: 0 0 35px 0 !important;
  }
}


/* HOME — GALLERIA: BADGE COLORATI E FRECCE */
body.home .brutal-animals-wrapper .brutal-animals-card .animals-banner {
    background: #f9c7da;
    color: #111;
}

body.home .brutal-animals-wrapper .brutal-animals-card:nth-child(5n+2) .animals-banner {
    background: #f8d66d;
}

body.home .brutal-animals-wrapper .brutal-animals-card:nth-child(5n+3) .animals-banner {
    background: #a9dbe8;
}

body.home .brutal-animals-wrapper .brutal-animals-card:nth-child(5n+4) .animals-banner {
    background: #bce4a1;
}

body.home .brutal-animals-wrapper .brutal-animals-card:nth-child(5n+5) .animals-banner {
    background: #d8c4f5;
}

body.home .fattoria-home-gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 18px auto 0;
}

body.home .fattoria-home-gallery-controls[hidden] {
    display: none;
}

body.home .fattoria-home-gallery-arrow {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 3px solid #111;
    border-radius: 8px;
    background: #ffe500;
    color: #111;
    box-shadow: 4px 4px 0 #111;
    font-size: 27px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

body.home .fattoria-home-gallery-arrow:hover:not(:disabled) {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111;
}

body.home .fattoria-home-gallery-arrow:focus-visible {
    outline: 3px solid #315f45;
    outline-offset: 4px;
}

body.home .fattoria-home-gallery-arrow:disabled {
    opacity: .4;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 600px) {
    body.home .fattoria-home-gallery-arrow {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }
}
