/* Child Page Nav — Pill Style */

.cpn-wrap {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto 0.75rem !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

.cpn-nav {
    margin-bottom: 0.75rem;
}

.cpn-title {
    font-family: 'Figtree', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 50px;
    letter-spacing: 1px;
    line-height: 1.1em;
    margin: 0 0 0.25rem !important;
    padding: 0 !important;
}

/* ── Back link ───────────────────────────────────────────────────────────── */

.cpn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s;
    margin-bottom: 1rem;
}

.cpn-back:hover {
    color: #111;
    text-decoration: none;
}

.cpn-back svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.cpn-back:hover svg {
    transform: translateX(-3px);
}

/* ── Pills container ─────────────────────────────────────────────────────── */

.cpn-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Individual pill ─────────────────────────────────────────────────────── */

.cpn-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid currentColor;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #555;
    background: transparent;
    transition: all 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

.cpn-pill:hover {
    color: #111;
    border-color: #111;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.cpn-pill--active {
    background: #111;
    border-color: #111;
    color: #fff !important;
}
