/* 1.0.21: internal pages only; preserve typography and desktop */
@media (max-width:900px) {
 body.diagnovet-full-site:not(.home):not(.front-page) #main,
 body.diagnovet-full-site:not(.home):not(.front-page) #main > .fusion-row,
 body.diagnovet-full-site:not(.home):not(.front-page) #content,
 body.diagnovet-full-site:not(.home):not(.front-page) .post-content,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-builder-content,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-fullwidth,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-fullwidth .fusion-row,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-builder-row,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-layout-column,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-column-wrapper,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-column-content-centered,
 body.diagnovet-full-site:not(.home):not(.front-page) .fusion-text {
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main {
  width:100%!important;
  padding-inline:clamp(12px,4vw,22px)!important;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main > .fusion-row,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-builder-row,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-fullwidth .fusion-row {
  width:100%!important;
  margin-inline:auto!important;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-layout-column {
  width:100%!important;
  flex-basis:100%!important;
  float:none!important;
  margin-inline:0!important;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-text,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-text p {
  overflow-wrap:anywhere;
  white-space:normal;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main img,
 body.diagnovet-full-site:not(.home):not(.front-page) #main video {
  max-width:100%!important;height:auto;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main iframe {
  max-width:100%!important;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main table {
  display:block;max-width:100%;overflow-x:auto;
 }
}

/* v1.0.22: contain fixed-width legacy builder blocks, without changing fonts */
@media(max-width:900px){
 body.diagnovet-full-site:not(.home):not(.front-page) #main,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-row,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-builder-row,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-layout-column,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-column-wrapper,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-text,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-text > div,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-builder-content,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .diagnovet-builder-content,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .post-content {
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  max-width:100%!important;float:none!important;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-text p,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-text li,
 body.diagnovet-full-site:not(.home):not(.front-page) #main .diagnovet-builder-content p {
  max-width:100%!important;overflow-wrap:break-word!important;
 }
 body.diagnovet-full-site:not(.home):not(.front-page) #main .fusion-text [style*="width"],
 body.diagnovet-full-site:not(.home):not(.front-page) #main .post-content [style*="width"] {
  max-width:100%!important;min-width:0!important;
 }
}

/* 1.0.23 — Responsive video only on About page. #player-controls is a
   player overlay; size the player frame too, without distorting controls. */
@media (max-width:900px) {
 body.page:not(.home) #main :is(.wp-block-embed,.wp-block-embed__wrapper,.video-container,.video-wrapper,.fluid-width-video-wrapper,.fusion-video,.fusion-youtube,.fusion-vimeo):has(#player-controls) {
   position:relative!important;width:100%!important;max-width:100%!important;
   min-width:0!important;overflow:hidden!important;aspect-ratio:16/9;
 }
 body.page:not(.home) #main :is(.wp-block-embed,.wp-block-embed__wrapper,.video-container,.video-wrapper,.fluid-width-video-wrapper,.fusion-video,.fusion-youtube,.fusion-vimeo):has(#player-controls) iframe {
   position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
   max-width:100%!important;
 }
 body.page:not(.home) #main #player-controls {
   max-width:100%!important;box-sizing:border-box!important;
 }
 body.page:not(.home) #main iframe[src*="youtube.com/embed"],
 body.page:not(.home) #main iframe[src*="youtube-nocookie.com/embed"],
 body.page:not(.home) #main iframe[src*="player.vimeo.com/video"] {
   display:block;max-width:100%!important;width:100%!important;
   aspect-ratio:16/9;height:auto!important;
 }
}
