/* Vecchia Cascina: correzione mobile articoli. Solo pagine singole. */
@media (max-width: 767px) {
  body.page:not(.home):not(.front-page), body.single-post, body.single-epvp_evento, body.single-vc_evento_territorio, body.single-vc_evento_speciale {
    max-width:100%;
    overflow-x:clip;
  }
  body.page:not(.home):not(.front-page) :is(main,article,.entry-content,[class*="vc-"],.e-con,.elementor-section,.elementor-column),
  body.single-post :is(main,article,.entry-content,.post-content,.elementor-widget-wrap,.elementor-container,.vc-managed-article,.vc-article,.vc-article-body,.vc-article-content,.vc-article-prose,[class*="vc-article"],[class*="vc-post"],[class*="vc-share"],.wp-block-group,.wp-block-columns,.wp-block-column),
  body.single-epvp_evento :is(main,article,.vc-ce-event-page,.vc-ce-event-layout,.vc-ce-event-body),
  body.single-vc_evento_territorio :is(main,article,.vc-ce-event-page,.vc-ce-event-layout,.vc-ce-event-body),
  body.single-vc_evento_speciale :is(main,article) {
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body.page:not(.home):not(.front-page) :is(.vc-article-layout,.vc-post-layout,.vc-article-grid,.vc-article-columns,[class*="article-grid"],[class*="article-layout"],[class*="post-grid"],[class*="post-layout"]),
  body.single-post :is(.vc-article-layout,.vc-post-layout,.vc-article-grid,.vc-article-columns,.vc-managed-layout,.wp-block-columns,[class*="article-grid"],[class*="article-layout"],[class*="post-grid"],[class*="post-layout"]) {
    grid-template-columns:minmax(0,1fr)!important;
    flex-wrap:wrap!important;
  }
  body.page:not(.home):not(.front-page) :is(main,article) :is(h1,h2,h3,h4,h5,h6),
  body.single-post :is(main,article) :is(h1,h2,h3,h4,h5,h6),
  body.single-vc_evento_speciale :is(main,article) :is(h1,h2,h3,h4) {
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    line-height:1.2!important;
    letter-spacing:normal!important;
  }
  body.page:not(.home):not(.front-page) :is(main,article) h1,
  body.single-post :is(main,article) h1,
  body.single-vc_evento_speciale :is(main,article) h1 {
    font-size:clamp(1.85rem,8.4vw,2.65rem)!important;
  }
  body.page:not(.home):not(.front-page) :is(main,article) h2,
  body.single-post :is(main,article) h2,
  body.single-vc_evento_speciale :is(main,article) h2 {
    font-size:clamp(1.5rem,7.1vw,2.2rem)!important;
  }
  body.page:not(.home):not(.front-page) :is(main,article) h3,
  body.single-post :is(main,article) h3,
  body.single-vc_evento_speciale :is(main,article) h3 {
    font-size:clamp(1.3rem,6vw,1.9rem)!important;
  }
  body.page:not(.home):not(.front-page) :is(main,article) :is(h1,h2,h3,h4) :is(span,strong,b,em),
  body.single-post :is(main,article) :is(h1,h2,h3,h4) :is(span,strong,b,em),
  body.single-vc_evento_speciale :is(main,article) :is(h1,h2,h3,h4) :is(span,strong,b,em) {
    font-size:inherit!important;
    letter-spacing:inherit!important;
    line-height:inherit!important;
  }
  body.page:not(.home):not(.front-page) :is(main,article) :is(p,li,blockquote,td,a,button,span,strong),
  body.single-post :is(main,article) :is(p,li,blockquote,td,a,button,span,strong),
  body.single-vc_evento_speciale :is(main,article) :is(p,li,blockquote,td,a,button,span,strong) {
    overflow-wrap:anywhere;
    word-break:normal;
  }
  body.page:not(.home):not(.front-page) :is(main,article) :is(img,video,iframe,figure,table),
  body.single-post :is(main,article) :is(img,video,iframe,figure,table),
  body.single-vc_evento_speciale :is(main,article) :is(img,video,iframe,figure,table) {
    box-sizing:border-box;
    max-width:100%!important;
    height:auto;
  }
  body.page:not(.home):not(.front-page) :is(main,article) [style*="width:"],
  body.single-post :is(main,article) [style*="width:"],
  body.single-vc_evento_speciale :is(main,article) [style*="width:"] {
    max-width:100%!important;
  }
  body.single-post .vc-social-share-actions,
  body.single-post .vc-social-share-downloads,
  body.single-post .vc-social-share-tools,
  body.single-post .vc-ce-share,
  body.single-vc_evento_speciale .vc-ce-share {
    max-width:100%;
    min-width:0;
    display:flex;
    flex-wrap:wrap;
  }
  body.single-post .vc-social-share-actions>* ,
  body.single-vc_evento_speciale .vc-ce-share>* {
    box-sizing:border-box;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  body.single-post .vc-social-share-wrap,
  body.single-post .vc-social-share,
  body.single-post .vc-event-details,
  body.single-post [class*="vc-article-cta"],
  body.single-post [class*="vc-article-aside"],
  body.single-post [class*="vc-article-panel"] {
    box-sizing:border-box!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.single-post .vc-social-share-actions a,
  body.single-post .vc-social-share-actions button {
    white-space:normal!important;
    max-width:100%;
    min-width:0;
    font-size:clamp(.82rem,3.5vw,1rem)!important;
  }
  body.single-post .entry-content,body.single-post .vc-article-prose {
    padding-inline:0;
    width:auto;
  }
}
