/*
Theme Name: Memphis
Theme URI: https://newurbanmedia.io
Template: hello-elementor
Author: New Urban Media
Author URI: https://newurbanmedia.io
Description: NUM Blueprint child theme. Includes the NU Options admin suite (login branding, analytics, accessibility, form routing) and Apple-style design defaults. Designed as the master template for cloning to NUM client sites.
Tags: flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.0.3
Updated: 2026-05-16
*/

/* 3.0.2 changelog
   - Login screen: replaced fixed `aspect-ratio: 10 / 3` on body.login h1 a
     with `aspect-ratio: var(--nu-login-logo-aspect, 5 / 1)`. New default
     covers wide wordmark logos correctly; sites with non-default aspect
     ratios can set --nu-login-logo-aspect in style-login.css.
   - max-height raised from 140px to 180px to accommodate taller marks.
*/

/* 3.0.3 changelog
   - Gravity Forms base stylesheet migrated from Elementor Custom Code
     snippet to theme file at /inc/gravity-forms.css. Enqueued by
     memphis_enqueue_gravity_forms_styles() conditionally on pages where
     Gravity Forms is active. Per-site overrides via --gf-* custom
     properties on .gform_wrapper.
   - Added theme-color meta in header.php (default #ffffff). Filterable
     via the `memphis_theme_color` filter.
*/

/* =============================================================
   ANCHOR LINK SCROLLING
   Native smooth scrolling with sticky-header offset.
   Override --site-header-height per site if needed.
   ============================================================= */

html {
  scroll-behavior: smooth;
}

:target,
[id] {
  scroll-margin-top: var(--site-header-height, 100px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
