/*
Theme Name: Fox Child (shared — mens-mag + sports-mag)
Template: fox
Author: TLM Consulting
Description: Shared Foxiz child theme used by mens-mag.de and sports-mag.de.
              Brand parameterised via CSS variables (--fox-brand etc.) plus a
              body.brand-* class set in functions.php. Single source of truth
              lives at themes-shared/fox-child in the nelles-hosting repo and
              is bind-mounted into both WP installs.
Version: 1.2.0
Text Domain: fox-child
*/

/* CLS fix: reserve header-nav height to prevent sticky-class swap + font-load reflow.
   Lighthouse desktop measured 3 sequential shifts on .header56__nav totalling ~0.128
   (article desktop CLS = 0.119). `min-height` reserves the post-sticky height baseline.
   Note: `contain: layout` was tried here but broke Foxiz submenu rendering — it makes
   .header56__nav a containing block for the absolutely-positioned `ul.sub-menu`
   descendants, trapping them inside the nav's bounding box. `min-height` alone does
   the CLS work; the containment hint was a "while we're at it" addition with side
   effects, so it stays out. */
.header56__nav {
    min-height: 60px;
}
@media (max-width: 767px) {
    .header56__nav {
        min-height: 56px;
    }
}
