
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@200;300;400;600;700&display=swap');

#jps-content {
  --jps-font: "Libre Franklin", Helvetica, Arial, sans-serif;
  --jps-text: #666666;
  --jps-heading: #151515;
  --jps-navy: #003087;     /* JPS logo navy: CTA banner, buttons */
  --jps-teal: #00a9ce;     /* JPS logo teal: links, accents */
  --jps-muted: #6c757d;
  --jps-light: #f8f9fa;
  --jps-border: #dee2e6;
}

/* Reset - insulate against whatever the host page/theme already defines
   (same approach as teldio-content.css; order is load-bearing)
   ========================================================================== */

#jps-content {
  all: initial;
  display: block;
}

#jps-content,
#jps-content *,
#jps-content *::before,
#jps-content *::after {
  box-sizing: border-box;
}

#jps-content,
#jps-content * {
  font-family: var(--jps-font);
}

#jps-content *::before,
#jps-content *::after {
  content: none !important;
}

#jps-content h2, #jps-content h3, #jps-content h4,
#jps-content p, #jps-content li, #jps-content a, #jps-content span,
#jps-content strong, #jps-content div, #jps-content small {
  text-transform: none;
  letter-spacing: normal;
  font-style: normal;
  text-align: left;
  background: none;
  border: 0;
}

#jps-content em,
#jps-content i {
  font-style: italic;
}

/* Base
   ========================================================================== */

#jps-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 15px 60px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--jps-text);
  background: #fff;
}

#jps-content p {
  margin: 0 0 24px;
}

#jps-content a {
  color: var(--jps-teal);
  text-decoration: none;
  cursor: pointer;
}

#jps-content a:hover {
  text-decoration: underline;
}

#jps-content strong {
  font-weight: 700;
  color: #000;
}

#jps-content img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

/* Headings
   ========================================================================== */

#jps-content h2,
#jps-content h3,
#jps-content h4 {
  color: var(--jps-heading);
  margin: 48px 0 16px;
  line-height: 1.3;
}

#jps-content h2:first-child,
#jps-content h3:first-child {
  margin-top: 0;
}

#jps-content h2 { font-size: 32px; font-weight: 200; }
#jps-content h3 { font-size: 24px; font-weight: 300; }
#jps-content h4 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }

/* Intro: logo + lead line
   ========================================================================== */

#jps-content .jps-logo {
  width: 220px;
  margin: 0 0 32px;
}

#jps-content .jps-lead {
  font-size: 22px;
  font-weight: 300;
  color: var(--jps-heading);
}

/* Link cards (landing page) and solution/product cards
   ========================================================================== */

#jps-content .jps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 24px;
}

#jps-content .jps-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--jps-border);
  border-top: 4px solid var(--jps-teal);
  padding: 24px;
}

#jps-content .jps-card img {
  margin: 0 auto 16px;
  max-height: 200px;
  width: auto;
}

#jps-content .jps-card h3,
#jps-content .jps-card h4 {
  margin: 0 0 8px;
}

#jps-content .jps-card p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

#jps-content .jps-card p:last-child {
  margin-bottom: 0;
}

#jps-content .jps-card .jps-card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 16px;
}

/* Product category: image beside the category intro */

#jps-content .jps-category {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin: 0 0 32px;
}

/* Solution blocks: teal rule on the left */

#jps-content .jps-solution {
  border-left: 4px solid var(--jps-teal);
  background: var(--jps-light);
  padding: 24px;
  margin: 0 0 24px;
}

#jps-content .jps-solution h3 {
  margin: 0 0 8px;
}

#jps-content .jps-solution p {
  margin: 0;
}

/* CTA banner + buttons
   ========================================================================== */

#jps-content .jps-cta {
  background: var(--jps-navy);
  padding: 48px;
  margin: 48px 0 0;
  text-align: center;
}

#jps-content .jps-cta h3 {
  color: #fff;
  text-align: center;
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 200;
}

#jps-content .jps-cta p {
  color: #fff;
  text-align: center;
  margin: 0 0 24px;
}

#jps-content .jps-btn {
  display: inline-block;
  background: var(--jps-teal);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.72px;
  padding: 14px 32px;
  border-radius: 3px;
  text-decoration: none !important;
}

#jps-content .jps-btn:hover {
  background: #0090b0;
}

#jps-content .jps-cta .jps-btn {
  background: #fff;
  color: var(--jps-navy) !important;
}

#jps-content .jps-cta .jps-btn:hover {
  background: var(--jps-light);
}

#jps-content .jps-note {
  font-size: 14px;
  color: var(--jps-muted);
}

/* Mobile
   ========================================================================== */

@media (max-width: 767px) {
  #jps-content { padding: 24px 0 40px; }
  #jps-content .jps-grid,
  #jps-content .jps-category { grid-template-columns: minmax(0, 1fr); }
  #jps-content .jps-category img { max-width: 280px; }
  #jps-content .jps-cta { padding: 32px 20px; }
  #jps-content h2 { font-size: 28px; }
}
