/*
Theme Name: Inventivity Theme
Theme URI: https://inventivity.ro
Author: Catalin Ivan
Author URI: https://inventivity.ro
Description: A lightweight Nova Builder-ready WordPress theme focused on performance and clean structure.
Version: 1.4.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inventivity-theme
Tags: custom-logo, custom-menu, full-width-template
*/

/* Minimal Box-Sizing Defaults */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1f2937;
    background-color: #ffffff;
}

.inventivity-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.inventivity-content img {
    max-width: 100%;
    height: auto;
}

/* Screen reader text accessibility helper */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Fallback pages only. Builder widget typography and layout remain untouched. */
.inventivity-fallback { max-width: 1100px; margin: 40px auto; padding: 0 20px; color: var(--inventivity-text, #1f2937); font-family: var(--inventivity-fallback-font, inherit); overflow-wrap: anywhere; }
.inventivity-fallback-card { margin-block: 24px; padding: 24px; border: 1px solid #e5e7eb; border-radius: 12px; background: var(--inventivity-surface, #fff); }
.inventivity-fallback a { color: var(--inventivity-accent, #111827); }
.inventivity-fallback img { max-width: 100%; height: auto; }
.inventivity-fallback input:not([type=checkbox]):not([type=radio]), .inventivity-fallback textarea { max-width: 100%; box-sizing: border-box; }
.inventivity-fallback .comment-list { padding-inline-start: 1.5em; }
.inventivity-fallback pre { overflow: auto; }
