.sh-gate{border:1px solid #d6e6fb;border-radius:12px;background:#f6faff;padding:22px 24px;margin:0 0 28px}
.sh-gate-h{margin:0 0 14px;font-weight:700;font-size:18px;color:#0e2a4a}
.sh-gate-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sh-gate-col{background:#fff;border:1px solid #e4eefb;border-radius:10px;padding:16px 18px}
.sh-gate-col--lead{border-color:#bcdcff;box-shadow:0 1px 4px rgba(54,159,255,.12)}
.bp-body p a{text-decoration:underline;text-underline-offset:2px}.sh-gate-t{margin:0 0 6px;font-weight:700;font-size:13px;color:#1a6fca;text-transform:uppercase;letter-spacing:.4px}
.sh-gate-col p{margin:0 0 10px;font-size:15px;line-height:1.5}
.sh-gate-col a{display:inline-block;background:#1a6fca;color:#fff;padding:9px 18px;border-radius:7px;font-weight:600;text-decoration:none;font-size:14px}
.sh-gate-col a:hover{background:#1a7de8}
@media (max-width:680px){.sh-gate{padding:18px 16px}.sh-gate-grid{grid-template-columns:1fr!important}}
/* === FIX 1: Feature pages — SEO toggle section on WHITE bg, FULL width === */
    .si-seo {
        padding: 32px 0 56px !important;
        background: #ffffff !important;
    }
    /* Keep toggle button at full container width (no card wrap) */
    .si-seo__toggle {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .si-seo__toggle-btn {
        max-width: 720px !important;
    }
    /* When open, content uses full container width naturally */
    .si-seo__content {
        max-width: 100% !important;
    }
    @media (max-width: 768px) {
        .si-seo { padding: 24px 0 40px !important; }
    }

    /* === FIX 2: Homepage seo-toggle — force single column on mobile === */
    @media (max-width: 768px) {
        .seo-toggle__text section > div[style*="grid-template-columns"] {
            grid-template-columns: 1fr !important;
            gap: 24px !important;
        }
        .seo-toggle__text section {
            padding: 24px 16px !important;
        }
        .seo-toggle__text h2 {
            font-size: 22px !important;
        }
        .seo-toggle__text p {
            font-size: 15px !important;
            line-height: 1.7 !important;
        }
    }
/* ===== CTA box — ensure text stays white even if inline color is missing ===== */
    .sh-cta-box { background: linear-gradient(135deg, #369fff, #1a7de8); border-radius: 12px; padding: 40px; margin: 40px 0; text-align: center; }
    .sh-cta-box p { color: #ffffff !important; margin: 0 0 10px; line-height: 1.4; }
    .sh-cta-box p.sh-cta-title { font-size: 22px; font-weight: 700; margin: 0 0 10px; color: #ffffff !important; }
    .sh-cta-box p.sh-cta-sub { font-size: 15px; color: rgba(255,255,255,0.88) !important; margin: 0 0 24px; }
    .sh-cta-box .sh-btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 15px; margin: 6px 8px; }
    .sh-cta-box .sh-btn[style*="background: #ffffff"],
    .sh-cta-box .sh-btn[style*="background:#ffffff"],
    .sh-cta-box .sh-btn--primary { background: #ffffff !important; color: #369fff !important; }
    .sh-cta-box .sh-btn[style*="background: transparent"],
    .sh-cta-box .sh-btn[style*="background:transparent"],
    .sh-cta-box .sh-btn--ghost { background: transparent !important; color: #ffffff !important; border: 2px solid #ffffff; }

    /* ===== Numbered badges in listicles — covers all 4 markup variants ===== */
    .sh-tool-card { margin: 40px 0 8px; }
    .sh-tool-card > div,
    .sh-tool-h3,
    .sh-tool-head,
    .sh-tool-h { display: flex !important; align-items: center !important; gap: 12px !important; margin: 40px 0 8px !important; font-size: 22px; font-weight: 700; line-height: 1.3; }
    .sh-tool-h3 .sh-tool-badge,
    .sh-tool-head .sh-tool-badge,
    .sh-tool-h .sh-tool-badge,
    .sh-tool-num { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 36px; height: 36px; min-width: 36px; background: #369fff; color: #ffffff !important; border-radius: 8px; font-size: 18px; font-weight: 700; flex-shrink: 0; }
    .sh-tool-h3 .sh-tool-name,
    .sh-tool-head h3,
    .sh-tool-h h3 { display: inline-block; margin: 0 !important; font-size: 22px; font-weight: 700; line-height: 1.3; }

    /* ===== sh-read-also: kill wpautop-injected empty <p>/<br> inside flex container ===== */
    .sh-read-also > p:empty { display: none; }
    .sh-read-also > br { display: none; }

    /* ===== sh-tip ===== */
    .sh-tip { border-left: 3px solid #10b981; background: #ecfdf5; padding: 12px 16px; margin: 18px 0; border-radius: 0 6px 6px 0; font-size: 15px; }

    /* ===== Mobile ===== */
    @media (max-width: 768px) {
        .sh-cta-box { padding: 28px 18px; }
        .sh-cta-box p.sh-cta-title { font-size: 19px; }
        .sh-cta-box .sh-btn { display: block; margin: 8px 0; }
        .sh-tool-card { padding: 14px; }
        .sh-tool-num,
        .sh-tool-h3 .sh-tool-badge { width: 32px; height: 32px; min-width: 32px; font-size: 16px; }
        .sh-tool-h3 { font-size: 20px; }
    }

    /* ===== single-dash .sh-btn variant (older markup, e.g. truck-dispatcher-training) ===== */
    .sh-cta-box .sh-btn-primary { background: #ffffff !important; color: #369fff !important; border: 2px solid #ffffff; }
    .sh-cta-box .sh-btn-secondary { background: transparent !important; color: #ffffff !important; border: 2px solid #ffffff; }
    .sh-btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

    /* ===== components whose in-content CSS was stripped on migration (now global) ===== */
    .sh-read-also { border-left: 3px solid #369fff; background: #f0f7ff; padding: 12px 16px; margin: 20px 0; border-radius: 0 6px 6px 0; display: flex; align-items: flex-start; gap: 10px; }
    .sh-info-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
    .sh-table-wrap { margin: 24px 0; overflow-x: auto; }
    .sh-table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
    .sh-table-wrap thead tr { background: #1a6fca; color: #ffffff; }
    .sh-table-wrap th { padding: 12px 16px; text-align: left; font-weight: 600; }
    .sh-table-wrap td { padding: 11px 16px; border-bottom: 1px solid #e2e8f0; }

    /* ===== .cta-box (FSM small-business & challenges articles) — desktop is inline-styled;
            this restores the responsive mobile overrides that were stripped from in-content <style> on migration ===== */
    @media (max-width: 600px) {
        .cta-box { padding: 24px 16px !important; }
        .cta-box p { font-size: 0.9rem !important; }
        .cta-box a { padding: 12px 24px !important; font-size: 0.9rem !important; }
        .cta-inline { padding: 20px 16px !important; }
    }

    /* ===== Top Picks block (sh-picks) — global: used on 75505 + translations + future listicles ===== */
    /* Top Picks — lead card carries the rank; no numerals (Jump to numbers the list) */
    .bp-content .sh-picks{background:#f0f7ff;border-radius:14px;padding:20px;margin:24px 0}
    .bp-content .sh-picks-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px;align-items:start}
    .bp-content .sh-pick{background:#fff;border:1px solid #e2ecf7;border-radius:10px;padding:18px}
    .bp-content .sh-pick--lead{padding:22px;box-shadow:0 2px 10px rgba(20,60,120,.08);border-color:#cfe4fb}
    .bp-content .sh-pick-name{margin:0 0 8px;font-size:21px;font-weight:800;line-height:1.2;color:#1a7de8}
    .bp-content .sh-pick--lead .sh-pick-name{font-size:26px}
    .bp-content .sh-pick-desc{margin:0;font-size:14px;line-height:1.55;color:#3d4552}
    .bp-content .sh-pick-actions{display:flex;align-items:center;gap:16px;margin:16px 0 0;flex-wrap:wrap}
    .bp-content .sh-pick-more{font-size:14px;color:#1a6fca;text-decoration:underline;font-weight:600}
    .bp-content .sh-pick-btn{display:inline-block;background:#369fff;color:#fff!important;padding:11px 22px;border-radius:8px;font-weight:700;font-size:14px;text-decoration:none}
    .bp-content .sh-pick-btn:hover{background:#1a7de8}
    .bp-content .sh-trust{margin:20px 0 0;padding:18px 0 0;border-top:1px solid #d9e8fa}
    .bp-content .sh-trust .sh-trust-h{margin:0 0 8px!important;font-size:13px!important;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#1a7de8;line-height:1.3}
    .bp-content .sh-trust p{margin:0 0 8px;font-size:14px;line-height:1.6;color:#3d4552}
    .bp-content .sh-trust p:last-child{margin-bottom:0}
    @media (max-width:760px){.bp-content .sh-picks{padding:14px}.bp-content .sh-picks-grid{grid-template-columns:1fr;gap:10px}.bp-content .sh-pick--lead .sh-pick-name{font-size:22px}}
@media(max-width:991px){#bp-sidebar,.bp-sidebar{display:none!important}}
/* Shifton category badges */
.sh-category-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  color: #fff !important;
  line-height: 1.6;
  transition: opacity 0.2s;
}
.sh-category-badge:hover { opacity: 0.82; color: #fff !important; }
.sh-category-badge.cat-scheduling { background: #2563eb; }
.sh-category-badge.cat-workforce-management { background: #7c3aed; }
.sh-category-badge.cat-hr-management { background: #059669; }
.sh-category-badge.cat-call-center { background: #d97706; }
.sh-category-badge.cat-time-tracking { background: #0891b2; }
.sh-category-badge.cat-leadership { background: #dc2626; }
.sh-category-badge.cat-top-tools { background: #ea580c; }
.sh-category-badge.cat-uncategorized { display: none; }

/* Blog filter bar */
.sh-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.sh-cat-filter a {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border: 2px solid #e5e7eb;
  color: #374151 !important;
  background: #fff;
  transition: all 0.2s;
}
.sh-cat-filter a:hover,
.sh-cat-filter a.active {
  border-color: #2563eb;
  color: #2563eb !important;
  background: #eff6ff;
}
.sh-cat-filter a.active { font-weight: 700; }

/* === Shifton Category Badges (Connecteam-style) === */
.sh-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  color: #fff !important;
  line-height: 1.8;
  white-space: nowrap;
}
.sh-cat-badge:hover { opacity: 0.85; color: #fff !important; }
.sh-cat-badge.cat-scheduling          { background: #2563eb; }
.sh-cat-badge.cat-workforce-management { background: #7c3aed; }
.sh-cat-badge.cat-hr-management       { background: #047857; }
.sh-cat-badge.cat-call-center         { background: #b45309; }
.sh-cat-badge.cat-time-tracking       { background: #0e7490; }
.sh-cat-badge.cat-leadership          { background: #dc2626; }
.sh-cat-badge.cat-top-tools           { background: #c2410c; }
.sh-cat-badge.cat-uncategorized       { display: none; }

/* Card meta: author · date · read time */
.bp-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
  flex-wrap: wrap;
}
.bp-card-meta .bp-author { color: #374151; font-weight: 500; }
.bp-card-meta .bp-sep    { color: #d1d5db; }
.bp-card-meta .bp-read-time { color: #6b7280; }
.bp-card-meta-top { margin-bottom: 8px; }

/* Blog filter bar */
.sh-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  align-items: center;
}
.sh-cat-filter a {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  border: 1.5px solid #e5e7eb;
  color: #374151 !important;
  background: #fff;
  transition: all 0.18s;
  white-space: nowrap;
}
.sh-cat-filter a:hover { border-color: #2563eb; color: #2563eb !important; background: #eff6ff; }
.sh-cat-filter a.active { border-color: #2563eb; color: #fff !important; background: #2563eb; font-weight: 600; }
.sh-cat-badge.cat-field-service,.sh-category-badge.cat-field-service{background:#0f766e !important;color:#fff !important;}.sh-tool-card>div{display:flex !important;align-items:center !important;gap:12px !important;}.sh-tool-card>div .sh-tool-h3{margin:0 !important;align-self:center !important;}.sh-tool-card>div .sh-tool-num{align-self:center !important;}.sh-cta-box br{display:none !important;}.sh-cta-box .sh-btn{display:inline-flex !important;align-items:center !important;vertical-align:middle;}.bp-sidebar__sticky{position:sticky;top:100px;align-self:flex-start;}.bp-sidebar__sticky .bp-sidebar__inner{position:static !important;max-height:none !important;overflow:visible !important;top:auto !important;}
/* WCAG AA fix: #5a6278 (4.38:1) → #4a5568 (5.9:1 on white) */
.si-hero__sub,
.pr-hero__sub,
.feat-hero__sub,
.page-intro__subtitle,
[style*="color: #5a6278"],
[style*="color:#5a6278"] {
    color: #4a5568 !important;
}