/*
Theme Name: Znole X
Theme URI: https://znolex.com/
Author: Znole X
Author URI: https://znolex.com/
Description: Advanced classic WordPress theme for Znole X, a verified institutional identity registry. Includes built-in SEO, AI SEO (llms.txt + AI bot allowlist), professional menu system with utility bar and mobile drawer, per-page meta editor, JSON-LD Organization schema, and zero-polling performance-safe architecture.
Version: 4.6.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: znolex
Tags: minimal, classic, registry, institutional, custom-menu, custom-logo, translation-ready, elementor, page-builders

== Changelog ==

= 4.1.0 =
* SECURITY/UX FIX: footer never shows "Edit in Customizer" admin link to visitors - empty columns now render nothing at all
* ALL verify code removed from the theme (no verify.php, no modal, no verify CSS/JS, no CTA modal triggers) - verification now lives in its own Code Snippets phase
* Header CTA is a plain configurable button again (label + URL in Customizer)
* Built-in homepage hero uses the verify phase shortcode only if that phase is active; otherwise shows no verify UI


= 4.0.0 =
* Masthead bar REMOVED completely (top black strip gone for good)
* Professional neutral palette: pure white background, cool grays, DARK primary buttons - red now appears ONLY in the brand X mark
* Links, focus rings, inputs, radios - all neutralized to ink (zero brown anywhere)
* Built-in professional homepage (front-page.php): hero with inline verify, 3 feature cards, how-it-works, dark CTA band - all headline text Customizer-editable
* Smart homepage fallback: if the front page is built with Elementor or has content, it renders untouched
* Universal verify system unchanged (one input, auto-detect, intern card, /p/ and /i/ redirects)


= 3.2.0 =
* Universal verify: ONE input, any ID format - auto-detects intern (9-digit), member/freelancer ZN id, and institution reg number
* Kind selection radio removed - no need to choose type
* Intern results render an in-theme verify card: name, KYC blue tick, status, intern id, joined date (no sensitive fields)
* Member + institution redirect to their tamper-proof /p/ and /i/ profile pages
* Clear "No record found" page with searched ID + retry box (no more silent homepage landing)
* Employee verification intentionally excluded
* Rate limited: 30 lookups/min/IP
* Theme still runs zero direct DB queries - lookups use the prepared helpers exposed by ZNINT Phase 2 and the Profile+Directory phase


= 3.1.2 =
* Verify redirect: when profile phase functions are missing, show a clear "Verification temporarily unavailable" notice (with admin diagnostic) instead of silently landing on the homepage


= 3.1.1 =
* Removed all Hindi/Devanagari text (masthead + footer) - English only
* 404 page now standard "Page not found" (registry-specific language removed - theme is general purpose)
* Neutral empty states on archive/index ("Nothing found")
* Footer copyright: "All rights reserved" (standard wording)


= 3.1.0 =
* Verify system now BUILT INTO the theme (no separate snippet needed)
* [znolex_verify_box] shortcode - full verify box for a /verify page
* Global Verify modal - opens from the header "Verify now" CTA, the drawer CTA, and a new VERIFY link in the masthead bar (top of every page)
* ID redirect uses the Profile+Directory phase hash helpers - same URLs as the QR system
* Member/Freelancer/Student + Institution/School radio choice
* Customizer toggle: Header > "Enable quick Verify modal" (off = CTA navigates to URL)
* Graceful degrade when the Profile+Directory phase is inactive (notice, no fatal)


= 3.0.0 =
* FIX: mobile drawer menu now stacks vertically even without an assigned WP menu (context-aware fallback + CSS hard-guard)
* Footer rebuilt - 4 admin-editable link columns via Customizer textareas (one link per line: Label | URL), WP menus still override if assigned
* Footer statutory row: Entity / CIN / GSTIN / Registered office (all Customizer fields, empty ones auto-hidden)
* Footer legal ribbon: editable disclaimer + Devanagari line + tagline
* Footer jurisdiction line (editable)
* Institutional masthead bar: dual-script tagline + server-rendered IST timestamp (no polling), Customizer toggle
* Verification-aware pages: pages containing [znolex_directory], [znolex_profile], [znolex_institution_profile], [znolex_kyc_form], [znint_join], [znint_login] automatically render full-width instead of the 760px editorial column
* All new options prefixed znolex_, all functions guarded, zero polling / AJAX / DB queries added


= 2.0.3 =
* Page builder support: auto-detects Elementor, Divi, Beaver Builder, Bricks, Oxygen, Breakdance
* When a builder is active, editorial wrappers and auto-title are skipped so the builder controls layout
* New page template: "Full Width" (header + footer preserved, no editorial column, no auto-title)
* New page template: "Blank Canvas" (no header, no footer - equivalent to Elementor Canvas)
* Gutenberg .alignwide and .alignfull now escape the editorial column properly
* Safety CSS: .elementor-page also gets wrapper resets in case auto-detect misses edge cases

= 2.0.2 =
* Color discipline: red accent now appears only at brand mark + primary CTA (2 places per page max)
* All hover states neutralized to ink/muted (was red across nav, breadcrumbs, pagination, archive, drawer)
* H1 typography refined: larger size cap (56px), tighter letter-spacing, line-height 1.06
* Buttons refined: more padding, subtle shadow on hover, ghost button now ink-bordered
* New signature elements: .zx-stamp (monospace registry metadata), .zx-record-list (editorial numbered list, replaces boxed cards)
* Blockquote rule, 404 seal border, ::selection - all neutralized to ink

= 2.0.1 =
* Utility bar default OFF (cleaner header by default)
* Footer made compact: tighter padding, smaller labels, reduced gaps

= 2.0.0 =
* Pro header system: utility bar + sticky main nav + right-side mobile drawer + search modal
* Built-in SEO: meta description, OG, Twitter Cards, canonical, JSON-LD Organization schema
* AI SEO: llms.txt generator + robots.txt AI bot allowlist + per-page AI summary field
* Customizer: brand panel, header panel, organization panel, social profiles, SEO defaults
* Per-page meta box: SEO description, OG image, AI summary
* Breadcrumbs function and shortcode
* theme.json with brand design tokens
* Bug fix: sticky footer flex (no gap on short pages)
* Bug fix: mobile footer 2-column at 320px+
* Performance-safe: zero polling, zero custom AJAX, zero custom DB queries, JSON-LD transient cached

= 1.0.0 =
* Initial release
*/

/* All theme styles live in /assets/css/main.css */
