{% scope_css %}

/* ── Root tokens ───────────────────────────────────────────── */
.container.scb-section {
  --scb-navy:     #003087;
  --scb-gold:     #F2AF29;
  --scb-red:      #d1495b;
  --scb-line:     #F2AF29;   /* NEW: controls the gold lines, overridden by the module field */
  --scb-text:     #003087;
  --scb-muted:    #5a6278;
  --scb-card-bg:  #f7f8fc;
  --scb-border:   rgba(0,48,135,0.10);
  --scb-radius:   14px;
  font-family: 'Work Sans', sans-serif;
  background: transparent !important;
}

/* ── Section wrapper ───────────────────────────────────────── */
.container.scb-section {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px 20px 10px !important;
  width: 100%;
  box-sizing: border-box;
}

/* ── Header block ──────────────────────────────────────────── */
.scb-header {
  text-align: center;
  margin-bottom: 8px;
  padding: 0 20px;
}

.scb-eyebrow {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--scb-gold);
  margin-bottom: 10px;
}

.scb-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 33px;
  font-weight: 700;
  color: var(--scb-navy);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scb-rule {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--scb-line), transparent);   /* CHANGED */
  margin: 0 auto 16px;
  border-radius: 2px;
}

.scb-subtext {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  color: var(--scb-muted);
  margin: 0 auto;
  line-height: 1.6;
}

.scb-header::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--scb-line) 20%, var(--scb-line) 80%, transparent);   /* CHANGED */
  margin-top: 32px;
  opacity: 0.7;
}

/* ── Benefits grid ─────────────────────────────────────────── */
.scb-grid {
  background: #f7f8fc;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  padding: 8px 24px;
  position: relative;
  border-radius: 12px;
  margin: 8px 0px;
}

.scb-card + .scb-card {
  border-left: 1px solid var(--scb-border);
}

/* ── Single card ───────────────────────────────────────────── */
.scb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding: 32px 36px;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.scb-card:hover {
  background: #ffffff;
  border-radius: var(--scb-radius);
  box-shadow: 0 4px 20px rgba(0,48,135,0.08);
}

.scb-card:hover .scb-icon-wrap {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,48,135,0.15);
}

/* ── Icon wrapper ──────────────────────────────────────────── */
.scb-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--scb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 10px rgba(0,48,135,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.scb-icon-svg {
  width: 32px;
  height: 32px;
  color: var(--scb-navy);
}

.scb-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ── Card body ─────────────────────────────────────────────── */
.scb-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ── Card text ─────────────────────────────────────────────── */
.scb-card-title {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  color: var(--scb-navy) !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: left;
  width: 100%;
  display: block;
  text-decoration: none !important;
}

.scb-card-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: var(--scb-muted);
  margin: 0;
  line-height: 1.6;
  text-align: left;
  flex: 1;
}

.scb-card-text ol {
  list-style: decimal outside;   /* brings the numbers back */
  margin: 0 0 12px;
  padding-left: 1.5em;           /* room for the numbers */
  text-align: left;
}

.scb-card-text li {
  list-style: inherit;           /* li follows the ol's decimal style */
  margin: 0 0 12px;
  padding: 0;
  font: inherit;
  color: inherit;
}

.scb-card-text li:last-child { margin-bottom: 0; }

.scb-card-text ol + p {
  margin-top: 16px;
}
.scb-card-text p {
  font: inherit;            /* font family, size, weight and line height from .scb-card-text */
  letter-spacing: inherit;
  color: inherit;
  text-align: left;
  margin: 0 0 12px;         /* space between items */
  padding: 0;
}

.scb-card-text p.scb-num {
  padding-left: 1.6em;
  text-indent: -1.6em;
}
/* ── Lists inside card text ────────────────────────────────── */
.scb-card-text ul {
  list-style: disc outside;
  margin: 0;
  padding-left: 1.25em;   /* small indent so bullets sit just inside the left edge */
  text-align: left;
}

.scb-card-text li {
  margin: 0 0 12px;
  padding: 0;
}

.scb-card-text li p {
  margin: 0;              /* removes the extra spacing from <p> inside <li> */
  text-align: left;
}
.scb-highlight {
  display: inline-block;
  margin-top: 10px;
  background: rgba(242,175,41,0.12);
  color: var(--scb-navy);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(242,175,41,0.35);
  min-width: 80px;
  max-width: fit-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scb-card-text p:last-child {
  margin-bottom: 0;
}

.scb-card-text a {
  color: var(--scb-navy);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.scb-card-text a:hover,
.scb-card-text a:focus {
  color: #c0505d;   /* hover color, change to any color you like */
}
/* ── Footer rule & CTA ─────────────────────────────────────── */
.scb-footer-rule {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--scb-line) 20%, var(--scb-line) 80%, transparent);   /* CHANGED */
  opacity: 0.7;
}

.scb-cta-wrap {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.scb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--scb-navy);
  color: #ffffff;
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 20px 94px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 2px 10px rgba(0,48,135,0.2);
}

.scb-cta-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,48,135,0.28);
  text-decoration: none;
  color: var(--scb-red);
}

/* ── HubSpot spacing overrides ─────────────────────────────── */
@media (max-width: 991px) {
  .container.scb-section {
    {% if module.style.change_spacing %}
      
    {% endif %}
  }
}
@media (max-width: 767px) {
  .container.scb-section {
    {% if module.style.change_spacing %}
      
    {% endif %}
  }
}

/* ── Tablet: 2-col ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .scb-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .scb-card + .scb-card {
    border-left: none !important;
  }
  .scb-card:nth-child(odd) {
    border-right: 1px solid var(--scb-border) !important;
  }
  .scb-card:nth-child(n+3) {
    border-top: 1px solid var(--scb-border) !important;
  }
  .scb-card:first-child,
  .scb-card:nth-child(2) {
    border-top: none !important;
  }
}


/* ── Mobile: 1 card per row ────────────────────────────────── */
@media (max-width: 700px) {
  .scb-grid {
    grid-template-columns: 1fr !important;
  }

  /* resets the 2-column borders from the tablet block */
  .scb-card:nth-child(n) {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--scb-border) !important;
  }
  .scb-card:first-child {
    border-top: none !important;
  }

  .scb-title { font-size: 26px !important; }
  .scb-card-title { font-size: 20px !important; }
  .scb-card-text { font-size: 16px !important; }
  .scb-card { padding: 20px 16px 24px !important; }
}

{% end_scope_css %}

/* ── CTA button color overrides ────────────────────────────── */
.scb-cta-btn {
  {% if module.cta_style.button_background_color %}
  background-color: rgba(, ) !important;
  {% endif %}
  {% if module.cta_style.button_text_color %}
  color: rgba(, ) !important;
  {% endif %}
}
.scb-cta-btn:hover {
  {% if module.cta_style.button_hover_background_color %}
  background-color: rgba(, ) !important;
  {% endif %}
}