/*
Theme Name:   Naxonify Child
Theme URI:    https://naxonify.com/
Description:  Child theme for Naxonify. Adds the "Naxonify Service Detail" page templates and the main header navigation (SEO Services + White Label Services). All design, CSS, data and functionality still come from the parent Naxonify theme.
Author:       Naxonify
Template:     naxonify
Version:      1.0.5
Requires at least: 6.4
Requires PHP: 8.0
Text Domain:  naxonify-child
*/

/*
 * Loaded ONLY on pages using the "Naxonify Service Detail" template, after the parent's
 * assets/css/service.css (which holds the main "Service detail pages" block). Small fixes on top of it.
 * Every rule is scoped to .nxd.
 */

/* 1.0.1 — Mobile comparison tables: row labels use the full card width (was stuck at the desktop 22%). */
@media (max-width:760px){
.nxd .nxd-cmp tbody th{width:auto}
}

/* 1.0.1 — Chips placed directly on a navy panel (e.g. AI page channel chips): visible outline and tint. */
.nxd .nxd-panel>.mk-foot .mk-chip.on{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);color:#FFFFFF}
.nxd .nxd-panel>.mk-foot .mk-chip.on svg{color:var(--sky)}

/* 1.0.2 — SEO Services page only (page ID 159): two rows of five service cards, a 5-step process
   and the "Specialist SEO services" subheading. Scoped to #nxd-159 so no other page is affected. */
#nxd-159 .nxd-grid.g5{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
#nxd-159 .nxd-grid.g5 .nxd-card{padding:26px}
#nxd-159 .nxd-subh{font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.2;margin:80px 0 0;color:var(--ink)}
#nxd-159 .steps{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px){
#nxd-159 .nxd-grid.g5{grid-template-columns:repeat(2,minmax(0,1fr))}
#nxd-159 .nxd-grid.g5>:last-child{grid-column:1/-1}
#nxd-159 .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
#nxd-159 .sp:nth-child(5){padding-left:0;border-left:0}
}
@media (max-width:640px){
#nxd-159 .nxd-grid.g5,#nxd-159 .steps{grid-template-columns:minmax(0,1fr)}
#nxd-159 .nxd-subh{font-size:24px;margin-top:56px}
}

/* 1.0.2 — SEO Services (159) and Local SEO Services (160): outlined chips in the navy audit-form panel. */
#nxd-159 .quote .l .mk-chip.on,#nxd-160 .quote .l .mk-chip.on{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);color:#FFFFFF}
