/* ============================================================================
   Global CNC Machining Industry: Trends, Sourcing & Supplier Landscape
   Scope: 100% isolated under .gc-gl-page — no :root, no bare element selectors,
          does not touch WordPress / Kadence global header or nav.
   Deploy to: https://www.xmgoldcattle.com/assets/css/cnc-industry-global-landscape.css
   Bump ?ver=N to clear cache after edit.
   ============================================================================ */

.gc-gl-page {
  /* ====== Design tokens ====== */
  --gl-blue: #0052cc;
  --gl-blue-d: #003a8c;
  --gl-navy: #0f2747;
  --gl-accent: #00a3c4;
  --gl-ink: #1f2d3d;
  --gl-muted: #5b6b7f;
  --gl-line: #dbe2ee;
  --gl-bg: #f4f7fc;
  --gl-card: #ffffff;
  --gl-soft: #e7f0ff;
  --gl-good: #0a7d4d;
  --gl-good-bg: #e8f6ef;
  --gl-warn: #b54708;
  --gl-warn-bg: #fdf3e7;
  --gl-r: 14px;
  --gl-r-sm: 8px;
  --gl-shadow: 0 1px 2px rgba(15, 39, 71, .06), 0 10px 28px rgba(15, 39, 71, .07);
  --gl-shadow-lg: 0 14px 40px rgba(15, 39, 71, .10);
  --gl-container: 1200px;
}

.gc-gl-page *,
.gc-gl-page *::before,
.gc-gl-page *::after { box-sizing: border-box; }

.gc-gl-page {
  color: var(--gl-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.gc-gl-page img { max-width: 100%; display: block; }
.gc-gl-page a { color: var(--gl-blue); text-decoration: none; }
.gc-gl-page a:hover { text-decoration: underline; }

/* ===================================================================
   1. HERO
   =================================================================== */
.gc-gl-hero { background: linear-gradient(180deg, #f7faff 0%, #eef4fd 100%); padding: 56px 0 48px; }
.gc-gl-wrap { max-width: var(--gl-container); margin: 0 auto; padding: 0 24px; }
.gc-gl-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.gc-gl-hero-copy { min-width: 0; }
.gc-gl-eyebrow { display: inline-block; background: var(--gl-soft); color: var(--gl-blue); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.gc-gl-h1 { font-size: 40px; line-height: 1.12; font-weight: 800; color: var(--gl-navy); margin: 0 0 16px; letter-spacing: -.5px; }
.gc-gl-h1 .accent { color: var(--gl-blue); }
.gc-gl-sub { font-size: 16.5px; color: var(--gl-muted); margin: 0 0 22px; max-width: 640px; }
.gc-gl-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.gc-gl-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: var(--gl-r-sm); font-weight: 700; font-size: 15px; cursor: pointer; border: 0; transition: transform .15s, box-shadow .15s; }
.gc-gl-cta--primary { background: var(--gl-blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 82, 204, .28); }
.gc-gl-cta--primary:hover { background: var(--gl-blue-d); transform: translateY(-1px); text-decoration: none; }
.gc-gl-cta--secondary { background: #fff; color: var(--gl-blue); border: 1.5px solid var(--gl-blue); }
.gc-gl-cta--secondary:hover { background: var(--gl-soft); text-decoration: none; }
.gc-gl-cta--inverse { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.gc-gl-cta--inverse:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; text-decoration: none; }
.gc-gl-cta-row--center { justify-content: center; margin-top: 26px; }

.gc-gl-hero-card { background: #fff; border-radius: var(--gl-r); box-shadow: var(--gl-shadow); border: 1px solid var(--gl-line); padding: 24px 26px; }
.gc-gl-hero-card h3 { font-size: 16px; font-weight: 800; color: var(--gl-navy); margin: 0 0 14px; }
.gc-gl-kv { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gc-gl-kv th, .gc-gl-kv td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--gl-line); vertical-align: top; }
.gc-gl-kv tr:last-child th, .gc-gl-kv tr:last-child td { border-bottom: 0; }
.gc-gl-kv th { color: var(--gl-navy); font-weight: 700; width: 44%; }
.gc-gl-kv td { color: var(--gl-muted); }

/* ===================================================================
   2. SECTIONS
   =================================================================== */
.gc-gl-section { padding: 58px 0; }
.gc-gl-section--alt { background: var(--gl-bg); }
.gc-gl-section-head { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.gc-gl-eyebrow-center { display: inline-block; background: var(--gl-soft); color: var(--gl-blue); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.gc-gl-section-head h2 { font-size: 31px; line-height: 1.22; font-weight: 800; color: var(--gl-navy); margin: 0 0 12px; letter-spacing: -.3px; }
.gc-gl-section-head p { font-size: 16px; color: var(--gl-muted); margin: 0; }

/* ===================================================================
   3. CARDS (supply chain / evaluation)
   =================================================================== */
.gc-gl-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gc-gl-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gc-gl-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gc-gl-card { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r); padding: 22px 20px; box-shadow: var(--gl-shadow); position: relative; }
.gc-gl-card h3 { font-size: 15.5px; font-weight: 800; color: var(--gl-navy); margin: 10px 0 8px; }
.gc-gl-card p { font-size: 13.5px; color: var(--gl-muted); margin: 0; line-height: 1.6; }
.gc-gl-card-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--gl-soft); color: var(--gl-blue); display: flex; align-items: center; justify-content: center; }
.gc-gl-card-ico svg { width: 22px; height: 22px; }
.gc-gl-step { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gl-blue); color: #fff; font-size: 13px; font-weight: 800; }
.gc-gl-grid-4--eval .gc-gl-card h3 { margin-top: 12px; }

.gc-gl-mini { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r); padding: 20px 18px; box-shadow: var(--gl-shadow); }
.gc-gl-mini h3 { font-size: 14.5px; font-weight: 800; color: var(--gl-navy); margin: 0 0 8px; padding-top: 10px; border-top: 3px solid var(--gl-accent); }
.gc-gl-mini p { font-size: 13px; color: var(--gl-muted); margin: 0; line-height: 1.6; }

/* ===================================================================
   4. REGION PANELS
   =================================================================== */
.gc-gl-region { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r); box-shadow: var(--gl-shadow); padding: 26px 28px 22px; margin-bottom: 18px; }
.gc-gl-region-head { margin-bottom: 16px; }
.gc-gl-region-head h3 { font-size: 21px; font-weight: 800; color: var(--gl-navy); margin: 0 0 6px; }
.gc-gl-region-head p { font-size: 14.5px; color: var(--gl-muted); margin: 0; }
.gc-gl-region-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gc-gl-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; margin: 0 0 10px; }
.gc-gl-col:first-child h4 { color: var(--gl-good); }
.gc-gl-col:last-child h4 { color: var(--gl-warn); }
.gc-gl-ticks, .gc-gl-checks { list-style: none; margin: 0; padding: 0; }
.gc-gl-ticks li, .gc-gl-checks li { font-size: 13.5px; color: var(--gl-ink); line-height: 1.6; padding: 5px 0 5px 22px; position: relative; }
.gc-gl-ticks li::before { content: "✓"; position: absolute; left: 0; top: 5px; color: var(--gl-good); font-weight: 700; }
.gc-gl-checks li::before { content: "!"; position: absolute; left: 2px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--gl-warn-bg); color: var(--gl-warn); font-size: 11px; font-weight: 800; text-align: center; line-height: 15px; }
.gc-gl-region-note { font-size: 13px; color: var(--gl-muted); background: var(--gl-soft); border-left: 3px solid var(--gl-blue); border-radius: 0 var(--gl-r-sm) var(--gl-r-sm) 0; padding: 10px 14px; margin: 18px 0 0; line-height: 1.6; }

/* ===================================================================
   5. TABLES (comparison / risk)
   =================================================================== */
.gc-gl-table-wrap { overflow-x: auto; border-radius: var(--gl-r); box-shadow: var(--gl-shadow); border: 1px solid var(--gl-line); background: var(--gl-card); }
.gc-gl-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.gc-gl-table thead th { background: var(--gl-navy); color: #fff; text-align: left; padding: 13px 16px; font-size: 13px; letter-spacing: .3px; white-space: nowrap; }
.gc-gl-table tbody th, .gc-gl-table tbody td { padding: 12px 16px; border-top: 1px solid var(--gl-line); text-align: left; vertical-align: top; }
.gc-gl-table tbody th { color: var(--gl-navy); font-weight: 700; width: 24%; }
.gc-gl-table tbody td { color: var(--gl-muted); }
.gc-gl-table tbody td.hl { color: var(--gl-navy); font-weight: 700; background: rgba(0, 82, 204, .05); }
.gc-gl-table--risk tbody th { width: 30%; }
.gc-gl-table--risk tbody td { color: var(--gl-ink); }

/* ===================================================================
   6. NOTE / CALLOUT
   =================================================================== */
.gc-gl-note { border-left: 3px solid var(--gl-blue); background: var(--gl-soft); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 14px; color: #233a5c; margin-top: 20px; line-height: 1.6; }
.gc-gl-note--warn { border-left-color: var(--gl-warn); background: var(--gl-warn-bg); color: #6b3405; }
.gc-gl-flow-note { font-size: 13.5px; color: var(--gl-muted); margin: 20px auto 0; text-align: center; max-width: 760px; line-height: 1.6; }

/* ===================================================================
   7. TRENDS
   =================================================================== */
.gc-gl-trend { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r); padding: 20px 24px; margin-bottom: 14px; box-shadow: var(--gl-shadow); }
.gc-gl-trend-no { font-size: 30px; font-weight: 800; color: var(--gl-soft); -webkit-text-stroke: 1.5px var(--gl-blue); letter-spacing: -1px; line-height: 1; padding-top: 4px; }
.gc-gl-trend-body h3 { font-size: 17px; font-weight: 800; color: var(--gl-navy); margin: 0 0 6px; }
.gc-gl-trend-body p { font-size: 14px; color: var(--gl-muted); margin: 0; line-height: 1.65; }

/* ===================================================================
   8. LANDED COST STACK
   =================================================================== */
.gc-gl-cost { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; }
.gc-gl-cost-stack { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r); box-shadow: var(--gl-shadow); padding: 24px; }
.gc-gl-cost-row { background: var(--gl-bg); border: 1px solid var(--gl-line); border-radius: var(--gl-r-sm); padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--gl-navy); }
.gc-gl-cost-plus, .gc-gl-cost-eq { text-align: center; font-size: 16px; font-weight: 800; color: var(--gl-muted); padding: 4px 0; }
.gc-gl-cost-eq { color: var(--gl-blue); }
.gc-gl-cost-total { background: var(--gl-blue); color: #fff; border-radius: var(--gl-r-sm); padding: 13px 14px; font-size: 15.5px; font-weight: 800; text-align: center; box-shadow: 0 6px 18px rgba(0, 82, 204, .28); }
.gc-gl-cost-aside h3 { font-size: 20px; font-weight: 800; color: var(--gl-navy); margin: 0 0 12px; line-height: 1.3; }
.gc-gl-cost-aside p { font-size: 14.5px; color: var(--gl-muted); margin: 0 0 12px; line-height: 1.68; }

/* ===================================================================
   9. DECISION FRAMEWORK
   =================================================================== */
.gc-gl-decide { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r); padding: 22px 22px 18px; box-shadow: var(--gl-shadow); }
.gc-gl-decide h3 { font-size: 16px; font-weight: 800; color: var(--gl-navy); margin: 0 0 12px; }
.gc-gl-decide--hl { background: linear-gradient(180deg, #ffffff 0%, var(--gl-soft) 100%); border-color: rgba(0, 82, 204, .35); }

/* ===================================================================
   10. GOLDCATTLE STATS
   =================================================================== */
.gc-gl-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 30px; }
.gc-gl-stat { background: var(--gl-navy); border-radius: var(--gl-r-sm); padding: 16px 14px; text-align: center; }
.gc-gl-stat .v { display: block; font-size: 17px; font-weight: 800; color: #fff; line-height: 1.25; }
.gc-gl-stat .k { display: block; font-size: 11.5px; color: #9bb3d6; margin-top: 5px; line-height: 1.4; }

/* ===================================================================
   11. CASE PROFILE
   =================================================================== */
.gc-gl-case { background: var(--gl-card); border-radius: var(--gl-r); box-shadow: var(--gl-shadow); border: 1px solid var(--gl-line); overflow: hidden; display: grid; grid-template-columns: 1fr 1.5fr; }
.gc-gl-case-visual { background: linear-gradient(135deg, var(--gl-navy), #1c3d6e); padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.gc-gl-case-visual h3 { font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.gc-gl-case-visual .subtitle { font-size: 13.5px; color: #9bb3d6; margin: 0 0 20px; }
.gc-gl-case-visual .stat-row { display: flex; gap: 22px; margin-top: 8px; }
.gc-gl-case-visual .stat-row--mt { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
.gc-gl-case-stat { display: flex; flex-direction: column; }
.gc-gl-case-stat .v { font-size: 19px; font-weight: 800; color: #fff; white-space: nowrap; }
.gc-gl-case-stat .k { font-size: 11px; color: #9bb3d6; text-transform: uppercase; letter-spacing: .4px; }
.gc-gl-case-body { padding: 26px 30px; }
.gc-gl-case-body h4 { font-size: 13px; font-weight: 700; color: var(--gl-blue); text-transform: uppercase; letter-spacing: .5px; margin: 0 0 8px; }
.gc-gl-case-body h4:not(:first-child) { margin-top: 18px; }
.gc-gl-case-body .spec-line { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--gl-line); font-size: 13.5px; }
.gc-gl-case-body .spec-line .k { color: var(--gl-muted); min-width: 82px; }
.gc-gl-case-body .spec-line .v { color: var(--gl-navy); font-weight: 600; }
.gc-gl-case-body p.gc-gl-case-prose { font-size: 14px; line-height: 1.68; color: var(--gl-ink); margin: 0; }
.gc-gl-case-foot { background: var(--gl-soft); padding: 13px 30px; font-size: 12.5px; color: var(--gl-muted); border-top: 1px solid var(--gl-line); grid-column: 1 / -1; }

/* ===================================================================
   12. FAQ
   =================================================================== */
.gc-gl-faq { max-width: 860px; margin: 0 auto; }
.gc-gl-faq details { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r-sm); margin-bottom: 10px; overflow: hidden; }
.gc-gl-faq summary { cursor: pointer; padding: 15px 20px; font-size: 15px; font-weight: 700; color: var(--gl-navy); list-style: none; position: relative; padding-right: 44px; }
.gc-gl-faq summary::-webkit-details-marker { display: none; }
.gc-gl-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 700; color: var(--gl-blue); transition: transform .18s; }
.gc-gl-faq details[open] summary::after { content: "−"; }
.gc-gl-faq .answer { padding: 0 20px 18px; font-size: 14.5px; color: var(--gl-muted); line-height: 1.68; }

/* ===================================================================
   13. FINAL CTA
   =================================================================== */
.gc-gl-final-cta { background: linear-gradient(135deg, #0f2747 0%, #1c3d6e 100%); color: #fff; padding: 62px 0; text-align: center; }
.gc-gl-final-cta h2 { font-size: 30px; font-weight: 800; margin: 0 0 14px; }
.gc-gl-final-cta p { font-size: 16px; color: #c5d3e8; max-width: 660px; margin: 0 auto 26px; }
.gc-gl-final-cta .checklist { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin: 0 auto 8px; max-width: 760px; }
.gc-gl-final-cta .checklist span { font-size: 14px; color: #c5d3e8; display: inline-flex; align-items: center; gap: 6px; }
.gc-gl-final-cta .checklist span::before { content: "✓"; color: #4ade80; font-weight: 700; }

/* ===================================================================
   14. RELATED
   =================================================================== */
.gc-gl-rel { display: block; background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-r); padding: 20px 22px; box-shadow: var(--gl-shadow); transition: transform .15s, box-shadow .15s; }
.gc-gl-rel:hover { transform: translateY(-2px); box-shadow: var(--gl-shadow-lg); text-decoration: none; }
.gc-gl-rel h3 { font-size: 15.5px; font-weight: 800; color: var(--gl-blue); margin: 0 0 8px; }
.gc-gl-rel p { font-size: 13.5px; color: var(--gl-muted); margin: 0; line-height: 1.6; }

/* ===================================================================
   15. MODAL (#gcqModal must carry .gc-gl-modal-overlay class)
   =================================================================== */
.gc-gl-modal-overlay { display: none; }
.gc-gl-modal-overlay.is-open { display: block; position: fixed; inset: 0; background: rgba(15, 39, 71, .55); z-index: 9999; }
.gc-gl-modal-overlay .modal-box { position: relative; background: #fff; width: 92%; max-width: 980px; height: 86vh; max-height: 760px; margin: 7vh auto; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.gc-gl-modal-overlay .modal-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.gc-gl-modal-overlay .modal-close { position: absolute; top: 8px; right: 12px; background: #fff; border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; color: var(--gl-navy); cursor: pointer; z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

/* ===================================================================
   16. RESPONSIVE
   =================================================================== */
@media (max-width: 1000px) {
  .gc-gl-page .gc-gl-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gc-gl-page .gc-gl-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .gc-gl-page .gc-gl-stats { grid-template-columns: repeat(3, 1fr); }
  .gc-gl-page .gc-gl-cost { grid-template-columns: 1fr; }
  .gc-gl-page .gc-gl-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .gc-gl-page .gc-gl-section { padding: 42px 0; }
  .gc-gl-page .gc-gl-wrap { padding: 0 16px; }
  .gc-gl-page .gc-gl-h1 { font-size: 29px; }
  .gc-gl-page .gc-gl-section-head h2 { font-size: 25px; }
  .gc-gl-page .gc-gl-grid-3 { grid-template-columns: 1fr; }
  .gc-gl-page .gc-gl-grid-4 { grid-template-columns: 1fr; }
  .gc-gl-page .gc-gl-grid-5 { grid-template-columns: 1fr; }
  .gc-gl-page .gc-gl-region-cols { grid-template-columns: 1fr; gap: 18px; }
  .gc-gl-page .gc-gl-stats { grid-template-columns: repeat(2, 1fr); }
  .gc-gl-page .gc-gl-case { grid-template-columns: 1fr; }
  .gc-gl-page .gc-gl-trend { grid-template-columns: 1fr; gap: 8px; }
  .gc-gl-page .gc-gl-cta { width: 100%; justify-content: center; }
}
