=== Legacy Law ===
Contributors: codeandcore
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, full-site-editing
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Legacy Law WordPress Theme, Copyright 2026 Code and Core
Legacy Law is distributed under the terms of the GNU GPL

== Third-party Resources ==
* Owl Carousel - Copyright 2013-2018 David Deutsch, Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)

* Images / Icons
  - All SVG Icons and Images used in the theme are designed by Code and Core.
  - Source: https://codeandcore.com/
  - License: GPLv2 or later (same as the theme)

== Description ==

Legacy Law is a premium-grade professional legal services block theme built specifically for Full Site Editing (FSE). Designed with the modern legal practice in mind, it features a sophisticated dark green and gold color palette that exudes trust, authority, and elegance.

The theme is built to be lightweight and fast, adhering to the latest WordPress standards by separating design from functionality. All critical data (like Practice Areas and Case Results) is managed via the companion "Legacy Law Core" plugin, ensuring your data remains safe even if you switch themes.

== Features ==

* **Full Site Editing**: Total control over your header, footer, and templates using the WordPress Site Editor.
* **Sophisticated Branding**: A curated color palette of deep greens (#1B3E3F) and elegant gold (#CB9A65).
* **Premium Typography**: Uses the "Outfit" font for headings and "Lexend" for body text, providing a modern and readable experience.
* **Branded Admin Dashboard**: A custom-built setup page to help you manage your firm's identity and global styles.
* **Professional Block Patterns**: Includes sophisticated patterns for "Working Hours", "Practice Areas", "Client Testimonials", and more.
* **Fully Responsive**: Crafted to look stunning on desktops, tablets, and mobile devices.

== Installation ==

1. In your WordPress dashboard, go to Appearance > Themes and click the Add New button.
2. Click Upload Theme and choose the `legacy-law.zip` file.
3. Click Install Now and then Activate.
4. **Important**: Upon activation, you will see a notice to install the "Legacy Law Core" plugin. Click the link to install and activate it.
5. Navigate to **Legacy Law > Theme Dashboard** to start the setup process.

== Frequently Asked Questions ==

= Why is the Legacy Law Core plugin required? =
WordPress.org standards require that "plugin territory" functionality (like Custom Post Types and custom blocks) be kept in a separate plugin. This ensures that your Practice Areas and Case Results are not lost if you change your theme.

= How do I change the theme colors? =
You can easily change the global colors in the Site Editor (Appearance > Editor > Styles).

= Is this theme translation-ready? =
Yes, all strings are wrapped in translation functions and the theme includes a .pot file.

== Screenshots ==

1. **The Professional Dashboard**: A custom interface for managing your legal firm's branding.
2. **Practice Area Section**: A sophisticated grid layout for displaying legal services.
3. **Responsive Design**: How the theme appears on mobile devices.

== Changelog ==

= 1.0.2 =
* Fixed: `a:focus { outline: none }` replaced with `:focus:not(:focus-visible)` to properly support keyboard navigation.
* Fixed: Google Fonts moved from CSS `@import` to `wp_enqueue_style()` per WordPress.org TRT requirements.
* Fixed: Added `languages/legacy-law.pot` translation file for translation-ready compliance.
* Fixed: Hardcoded `href="/"` in 404 template replaced with `wp:home-link` block.
* Fixed: Removed hardcoded `font-size: 18px` from global `a` element.
* Fixed: Admin notice strings wrapped in `esc_html__()` for translatability.
* Fixed: Duplicate `.container` CSS rule merged into single definition.
* Fixed: `outline: 0` removed from CSS reset; focus styles managed via `style.css`.
* Fixed: `h3 { color: white }` scoped to dark-background sections only.
* Fixed: `wideSize` in theme.json set to 1700px (wider than contentSize 1506px).
* Fixed: `require_once` includes moved before class instantiation in functions.php.

= 1.0.1 =
* Fixed image rendering in the WordPress editor.
* Added license details and updated headers as per WordPress TRT guidelines.

= 1.0.0 =
* Initial professional release.
* Full integration with Legacy Law Core plugin.
* Custom branded admin notice and dashboard.
* Advanced FSE template support.
