/* ============================================================================
   Injection Molding Technology Trends: 2026 Guide
   Scope: 100% isolated under .gc-imt-page — no :root, no bare element selectors,
          does not touch WordPress / Kadence global header or nav.
   Deploy to: https://www.xmgoldcattle.com/assets/css/injection-molding-technology-trends.css
   Bump ?ver=N to clear cache after edit.
   ============================================================================ */

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

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

.gc-imt-page {
  color: var(--imt-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  background: var(--imt-bg);
  padding-bottom: 8px;
}
.gc-imt-page img { max-width: 100%; display: block; }
.gc-imt-page a { color: var(--imt-blue); text-decoration: none; }
.gc-imt-page a:hover { text-decoration: underline; }
.gc-imt-page h2 { font-size: 28px; line-height: 1.22; font-weight: 800; color: var(--imt-navy); margin: 0 0 14px; letter-spacing: -.3px; }
.gc-imt-page h3 { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--imt-navy); margin: 0 0 8px; }
.gc-imt-page p { margin: 0 0 14px; }
.gc-imt-page ul.gc-imt-list { margin: 0 0 6px; padding-left: 18px; }
.gc-imt-page ul.gc-imt-list li { font-size: 14.5px; color: var(--imt-muted); margin-bottom: 6px; }

/* ===== Layout primitives ===== */
.gc-imt-wrap { max-width: var(--imt-container); margin: 0 auto; padding: 0 24px; }
.gc-imt-section { padding: 46px 0; }
.gc-imt-section:nth-of-type(even) { background: #ffffff; }
.gc-imt-section--alt { background: #ffffff; }
.gc-imt-section-head { max-width: 820px; margin: 0 auto 30px; text-align: center; }
.gc-imt-eyebrow { display: inline-block; background: var(--imt-soft); color: var(--imt-blue); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.gc-imt-eyebrow-center { display: inline-block; background: var(--imt-soft); color: var(--imt-blue); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.gc-imt-prose { font-size: 16px; color: var(--imt-muted); margin: 0 0 16px; }
.gc-imt-note { background: var(--imt-warn-bg); border-left: 4px solid var(--imt-warn); color: #7a3a0c; padding: 14px 18px; border-radius: 0 var(--imt-r-sm) var(--imt-r-sm) 0; font-size: 15px; margin-top: 18px; }
.gc-imt-note strong { color: #5e2c08; }

/* ===== Hero ===== */
.gc-imt-hero { background: linear-gradient(180deg, #f7faff 0%, #eef4fd 100%); padding: 56px 0 48px; }
.gc-imt-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.gc-imt-hero-copy { min-width: 0; }
.gc-imt-h1 { font-size: 40px; line-height: 1.12; font-weight: 800; color: var(--imt-navy); margin: 0 0 16px; letter-spacing: -.5px; }
.gc-imt-h1 .accent { color: var(--imt-blue); }
.gc-imt-sub { font-size: 16.5px; color: var(--imt-muted); margin: 0 0 22px; max-width: 640px; }
.gc-imt-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gc-imt-tag { background: #fff; border: 1px solid var(--imt-line); color: var(--imt-navy); font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; }
.gc-imt-hero-card { background: var(--imt-card); border: 1px solid var(--imt-line); border-radius: var(--imt-r); box-shadow: var(--imt-shadow); padding: 20px; }

/* ===== Freshness note ===== */
.gc-imt-fresh { display: flex; align-items: flex-start; gap: 8px; background: var(--imt-good-bg); border: 1px solid #bfe6d4; color: #0c5135; font-size: 13.5px; padding: 10px 12px; border-radius: var(--imt-r-sm); margin-bottom: 16px; }
.gc-imt-fresh-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--imt-good); margin-top: 5px; flex: none; }
.gc-imt-fresh strong { color: #0c5135; }

/* ===== Diagram ===== */
.gc-imt-diagram { background: #fff; border: 1px solid var(--imt-line); border-radius: var(--imt-r); padding: 16px; box-shadow: var(--imt-shadow); }
.gc-imt-diagram svg { width: 100%; height: auto; display: block; }
.gc-imt-diagram-cap { font-size: 13px; color: var(--imt-muted); margin-top: 10px; text-align: center; }

/* ===== CTA ===== */
.gc-imt-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.gc-imt-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: var(--imt-r-sm); font-weight: 700; font-size: 15px; cursor: pointer; border: 0; transition: transform .15s, box-shadow .15s; }
.gc-imt-cta--primary { background: var(--imt-blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 82, 204, .28); }
.gc-imt-cta--primary:hover { background: var(--imt-blue-d); transform: translateY(-1px); text-decoration: none; }
.gc-imt-cta--secondary { background: #fff; color: var(--imt-blue); border: 1.5px solid var(--imt-blue); }
.gc-imt-cta--secondary:hover { background: var(--imt-soft); text-decoration: none; }

/* ===== Grids & cards ===== */
.gc-imt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gc-imt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gc-imt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gc-imt-card { background: var(--imt-card); border: 1px solid var(--imt-line); border-radius: var(--imt-r); padding: 20px; box-shadow: var(--imt-shadow); }
.gc-imt-card-ico { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 38px; padding: 0 12px; background: var(--imt-soft); color: var(--imt-blue); font-weight: 800; font-size: 14px; border-radius: var(--imt-r-sm); margin-bottom: 12px; }
.gc-imt-card p { font-size: 14.5px; color: var(--imt-muted); margin: 0; }
.gc-imt-card h3 { margin-top: 0; }
.gc-imt-mini { background: #fff; border: 1px solid var(--imt-line); border-left: 4px solid var(--imt-accent); border-radius: var(--imt-r-sm); padding: 14px 16px; }
.gc-imt-mini h3 { font-size: 15px; margin-bottom: 4px; }
.gc-imt-mini p { font-size: 13.5px; color: var(--imt-muted); margin: 0; }

/* ===== Tables ===== */
.gc-imt-table-wrap { overflow-x: auto; border: 1px solid var(--imt-line); border-radius: var(--imt-r); box-shadow: var(--imt-shadow); }
.gc-imt-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; }
.gc-imt-table th, .gc-imt-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--imt-line); vertical-align: top; }
.gc-imt-table thead th { background: var(--imt-navy); color: #fff; font-weight: 700; }
.gc-imt-table tbody tr:nth-child(even) { background: #f7faff; }
.gc-imt-table tbody th { background: var(--imt-soft); color: var(--imt-navy); font-weight: 700; white-space: nowrap; }
.gc-imt-table tbody tr:last-child th, .gc-imt-table tbody tr:last-child td { border-bottom: 0; }

/* ===== Maturity badges ===== */
.gc-imt-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.gc-imt-badge--est { background: var(--imt-good-bg); color: var(--imt-good); }
.gc-imt-badge--main { background: #e3f0ff; color: #1b5fb0; }
.gc-imt-badge--grow { background: #e1f6fa; color: #0a7184; }
.gc-imt-badge--emg { background: #eaeaff; color: #4640b0; }
.gc-imt-badge--exp { background: #f1e9fb; color: #6b3fb0; }

/* ===== Callout ===== */
.gc-imt-callout { background: var(--imt-soft); border: 1px solid #c5dbff; border-left: 4px solid var(--imt-blue); color: var(--imt-navy); padding: 16px 18px; border-radius: 0 var(--imt-r-sm) var(--imt-r-sm) 0; font-size: 15px; margin-top: 18px; }
.gc-imt-callout strong { color: var(--imt-blue-d); }

/* ===== Flow ===== */
.gc-imt-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--imt-line); border-radius: var(--imt-r); padding: 16px; margin: 0 0 18px; box-shadow: var(--imt-shadow); }
.gc-imt-flow-step { background: var(--imt-soft); color: var(--imt-navy); font-weight: 700; font-size: 13.5px; padding: 9px 12px; border-radius: var(--imt-r-sm); }
.gc-imt-flow-arrow { color: var(--imt-accent); font-weight: 800; font-size: 16px; }

/* ===== FAQ ===== */
.gc-imt-faq { display: grid; gap: 10px; }
.gc-imt-faq details { background: #fff; border: 1px solid var(--imt-line); border-radius: var(--imt-r-sm); padding: 4px 18px; box-shadow: var(--imt-shadow); }
.gc-imt-faq summary { cursor: pointer; font-weight: 700; font-size: 16px; color: var(--imt-navy); padding: 12px 0; list-style: none; position: relative; }
.gc-imt-faq summary::-webkit-details-marker { display: none; }
.gc-imt-faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--imt-blue); font-weight: 700; }
.gc-imt-faq details[open] summary::after { content: "\2013"; }
.gc-imt-faq details p { font-size: 14.5px; color: var(--imt-muted); padding: 0 0 14px; margin: 0; }

/* ===== Final CTA ===== */
.gc-imt-final-cta { background: var(--imt-navy); padding: 54px 0; margin-top: 8px; }
.gc-imt-final-cta h2 { color: #fff; font-size: 30px; text-align: center; }
.gc-imt-final-cta .gc-imt-prose { color: #c5d4ea; text-align: center; max-width: 720px; margin: 0 auto 22px; }
.gc-imt-final-cta .gc-imt-cta-row { justify-content: center; }
.gc-imt-company-line { font-size: 13.5px; opacity: .82; margin-bottom: 18px; }
.gc-imt-company-line strong { color: #fff; }

/* ===== Modal (sibling of .gc-imt-page — standalone class) ===== */
.gc-imt-modal-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(15, 39, 71, .55); backdrop-filter: blur(2px); }
.gc-imt-modal-overlay.is-open { display: block; }
.gc-imt-modal-box { position: relative; width: min(720px, 92vw); height: min(86vh, 760px); margin: 6vh auto 0; background: #fff; border-radius: var(--imt-r); overflow: hidden; box-shadow: var(--imt-shadow-lg); }
.gc-imt-modal-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.gc-imt-modal-close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(15, 39, 71, .65); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.gc-imt-modal-close:hover { background: rgba(15, 39, 71, .9); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .gc-imt-hero-grid { grid-template-columns: 1fr; }
  .gc-imt-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gc-imt-h1 { font-size: 30px; }
  .gc-imt-section { padding: 34px 0; }
  .gc-imt-grid-2, .gc-imt-grid-3, .gc-imt-grid-4 { grid-template-columns: 1fr; }
}
