/*
Theme Name: Windrush Custom
Theme URI: https://windrushdayspa.com/
Author: Windrush Day Spa
Description: Standalone theme for Windrush Day Spa & Nail Bar. Presentation only — the content model, settings and enquiry handling live in the Windrush Core plugin. No parent theme or page builder.
Version: 3.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: windrush
License: GNU General Public License v2 or later
*/

/* The design system lives in assets/css/windrush.css and ships unchanged from
   the approved static build. Keep site-wide additions here, small and scoped. */

/* Editor-written post content: WordPress wraps images and embeds in figures. */
.article figure{margin:2rem 0}
.article figure img{max-width:100%;height:auto}
.article figcaption{font-size:.9rem;color:var(--on-ivory-3);margin-top:.6rem}

/* WordPress menus wrap each link in <li>. In the original the links were
   direct flex items, which blockifies them; keep that, or the vertical
   padding collapses and the active underline rides 3px high. */
.nav__links>li,.drawer__links>li{display:flex}
.drawer__links>li>a{flex:1}

/* WordPress writes width AND height on images (it prevents layout shift while
   loading). The design only ever set max-width, so once an image is narrower
   than its file it kept the full height and stretched. :where() carries no
   specificity, so every sized image rule in the design system still wins. */
:where(img[width][height]){height:auto}
