/*
Theme Name: Forma Native
Theme URI: https://formaart.org/
Author: Forma
Description: Minimal native WordPress host theme for FormaArt. Visual header/footer ownership belongs to the ECM Forma Public Shell.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: forma-native
*/



:root {
  --forma-font-sans: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif;
}

html, body, button, input, select, textarea, option {
  font-family: var(--forma-font-sans);
}

body {
  font-family: var(--forma-font-sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea {
  font: inherit;
}

/* Ensure plugin/public-shell typography cannot silently fall back to system fonts. */
.forma-public-shell,
.forma-public-shell *,
.forma-theme-main,
.forma-theme-main * {
  font-family: var(--forma-font-sans);
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; }
img, svg, video, canvas { max-width: 100%; height: auto; }

/* The theme intentionally owns no visual header/footer. */
.forma-theme-main { min-height: 1px; }
.forma-theme-content { width: 100%; }

/* Neutral fallback for content that is not owned by a Forma renderer. */
.forma-theme-fallback {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding-block: 40px 72px;
}
.forma-theme-fallback > :first-child { margin-top: 0; }
.forma-theme-fallback > :last-child { margin-bottom: 0; }

@media (max-width: 639px) {
  .forma-theme-fallback {
    width: min(100% - 24px, 1180px);
    padding-block: 28px 56px;
  }
}
