/*
Theme Name: IFEX Pastorizzatore Fullscreen
Author: IFEX
Description: Homepage dedicata al plugin [ifex_pastorizzatore], a tutta larghezza e altezza, senza header, menu, sidebar o footer visibili.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ifex-pastorizzatore-fullscreen
*/

html { box-sizing: border-box; min-height: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body.ifex-fullscreen {
  --ifex-toolbar-height: 0px;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - var(--ifex-toolbar-height));
  min-height: calc(100dvh - var(--ifex-toolbar-height));
  background: #f4f6f8;
  color: #172534;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.ifex-fullscreen.admin-bar { --ifex-toolbar-height: 32px; }
.ifex-screen,
.ifex-application {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - var(--ifex-toolbar-height));
  min-height: calc(100dvh - var(--ifex-toolbar-height));
}
/* Espande il contenitore esterno prodotto dallo shortcode,
   senza intervenire sui pannelli o sulle tabelle interne del plugin. */
.ifex-application > :where(div, section, main, article) {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  min-width: 0;
}
.ifex-status { padding: clamp(24px, 5vw, 64px); }
.ifex-status h1 { margin-top: 0; font-size: clamp(24px, 4vw, 40px); }
.ifex-document { width: 100%; padding: 24px; overflow-wrap: anywhere; }
.ifex-document img { max-width: 100%; height: auto; }
.ifex-skip-link {
  position: fixed; top: -200px; left: 12px; z-index: 100001;
  padding: 12px 20px; background: #fff; color: #172534;
}
.ifex-skip-link:focus { top: calc(var(--ifex-toolbar-height) + 12px); }
@media (max-width: 782px) {
  body.ifex-fullscreen.admin-bar { --ifex-toolbar-height: 46px; }
}
