/*
Theme Name:   Salient Child – Sunrise Physical Therapy
Theme URI:    https://sunrisephysio.ca
Description:  Child theme for Sunrise Physical Therapy (Spruce Grove, AB). Adds the Sunrise design system and custom WPBakery elements (Sunrise Hero, Services, Conditions, Accident Care, Team, Approach, Contact CTA, Ticker). Requires the Salient parent theme.
Author:       Pixamate
Author URI:   https://pixamate.com
Template:     salient
Version:      1.0.1
Text Domain:  salient-child-sunrise
*/

/* Main styles live in assets/css/sunrise.css. Small overrides below. */

/* Salient forces images to full width – restore the Sunrise image sizing */
.sr .sr-arch img{height:96%!important;width:auto!important;max-width:none!important;margin:0!important}
.sr .sr-footer img{height:54px!important;width:auto!important;max-width:none!important}
.sr .sr-ph img{width:100%!important;height:100%!important;max-width:none!important;margin:0!important}

/* Sunrise pages: make Salient full-width rows truly edge to edge (Salient's JS leaves a gap) */
.container-wrap:has(.sr) .container.main-content{padding-left:0!important;padding-right:0!important;max-width:none!important;width:100%!important}
.container-wrap:has(.sr) .main-content > .row{margin:0!important;width:100%!important}
.wpb_row.full-width-content:has(.sr){margin-left:0!important;margin-right:0!important;width:100%!important;left:0!important}

/* Header menu: Salient colours the inner span, so target it too */
#header-outer #top nav > ul > li.sr-menu-btn > a,
#header-outer #top nav > ul > li.sr-menu-btn > a .menu-title-text{color:#fff!important}
body.sunrise-site #header-outer .sf-menu > li.sr-menu-btn > a{margin-left:8px}
#header-outer #top nav > ul > li.sr-menu-tel > a,
#header-outer #top nav > ul > li.sr-menu-tel > a .menu-title-text{color:#232E65!important;font-weight:600}
#header-outer #top nav > ul > li:not(.sr-menu-btn) > a:hover,
#header-outer #top nav > ul > li:not(.sr-menu-btn) > a:hover .menu-title-text{color:#137A7B!important}

/* Salient adds a bottom margin to headings */
.sr h3,.sr h4{margin-bottom:0!important}

/* Salient list bullets off inside Sunrise sections */
.sr ul,.sr ul li{list-style:none!important;margin-left:0!important;padding-left:0!important}
.sr ul li::before,.sr ul li::marker{display:none!important;content:none!important}

/* Phones: slightly smaller hero headline so "Recover stronger." sits on one line */
@media (max-width:600px){.sr-hero h1{font-size:46px!important}}
