/* =========================================================
   CUSTOM-ARTICLES.CSS
   New article component system for upgraded pages
   Safe to load AFTER custom.css
========================================================= */

/* =========================
   ARTICLE PAGE WRAPPER
========================= */
.sa-page {
  max-width: 980px;
  margin: 0 auto;
  color: #1f1f1f;
  line-height: 1.7;
}

.sa-page *,
.sa-page *:before,
.sa-page *:after {
  box-sizing: border-box;
}

.sa-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sa-page a {
  color: #134e8b;
  text-decoration: none;
}

.sa-page a:hover {
  text-decoration: underline;
}

.sa-page p {
  margin: 0 0 1em 0;
}

.sa-page ul,
.sa-page ol {
  margin: 0 0 1em 0;
  padding-left: 1.4em;
}

.sa-page li {
  margin-bottom: 0.4em;
}

.sa-page h1,
.sa-page h2,
.sa-page h3,
.sa-page h4 {
  margin-top: 0;
  color: #134e8b;
  line-height: 1.35;
}

.sa-page h1 {
  font-size: 38px;
  margin-bottom: 18px;
}

.sa-page h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.sa-page h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.sa-page strong {
  color: #111;
  font-weight: 600;
}

/* =========================
   SPACING SECTIONS
========================= */
.sa-section {
  margin: 0 0 42px 0;
}

.sa-section:last-child {
  margin-bottom: 0;
}

.sa-section-intro {
  margin-bottom: 18px;
}

.sa-muted {
  color: #555;
}

.sa-small {
  font-size: 14px;
  color: #666;
}

/* =========================
   HERO
========================= */
.sa-hero {
  margin: 0 0 34px 0;
  padding: 34px 30px;
  background: #f8fbff;
  border: 1px solid #dbe7f3;
}

.sa-hero-inner {
  max-width: 760px;
}

.sa-hero-title {
  font-size: 38px;
  line-height: 1.25;
  margin: 0 0 18px 0;
  color: #134e8b;
}

.sa-hero-lead {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 14px 0;
}

.sa-hero-text {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 22px 0;
}

.sa-hero-media {
  margin: 0 0 38px 0;
  text-align: center;
}

.sa-hero-media img {
  margin: 0 auto;
}

/* =========================
   BUTTONS
========================= */
.sa-button-row {
  margin: 0 0 18px 0;
}

.sa-button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none !important;
  font-weight: bold;
  margin-right: 12px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.sa-button-primary {
  background: #134e8b;
  color: #ffffff !important;
  border: 1px solid #134e8b;
}

.sa-button-secondary {
  background: #ffffff;
  color: #134e8b !important;
  border: 1px solid #134e8b;
}

/* =========================
   TRUST SIGNALS
========================= */
.sa-trust {
  margin-top: 18px;
  font-size: 15px;
  color: #444444;
}

.sa-trust span {
  display: inline-block;
  margin-right: 18px;
  margin-bottom: 6px;
}

/* =========================
   FEATURED / CALLOUT BLOCKS
========================= */
.sa-highlight {
  padding: 28px;
  background: #f8f8f8;
  border-left: 4px solid #134e8b;
}

.sa-soft-block {
  padding: 28px;
  background: #f8f8f8;
}

.sa-outline-block {
  padding: 24px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
}

/* =========================
   CARD GRID
========================= */
.sa-card-grid {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.sa-card-grid:after {
  content: "";
  display: block;
  clear: both;
}

.sa-card {
  width: 48%;
  float: left;
  margin: 0 4% 18px 0;
  padding: 22px;
  border: 1px solid #d9d9d9;
  box-sizing: border-box;
  background: #ffffff;
}

.sa-card:nth-child(2n) {
  margin-right: 0;
}

.sa-card h3 {
  margin-top: 0;
  color: #134e8b;
}

.sa-card p:last-child,
.sa-card ul:last-child,
.sa-card ol:last-child {
  margin-bottom: 0;
}

/* =========================
   STACKED PROGRAM BLOCKS
========================= */
.sa-stack {
  margin: 0;
  padding: 0;
}

.sa-stack-item {
  margin: 0 0 22px 0;
  padding: 24px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
}

.sa-stack-item:last-child {
  margin-bottom: 0;
}

.sa-stack-item h3 {
  margin-top: 0;
}

/* =========================
   CTA BLOCK
========================= */
.sa-cta {
  margin: 0 0 24px 0;
  padding: 30px;
  border: 1px solid #d9d9d9;
  background: #fcfcfc;
}

.sa-cta h2 {
  font-size: 30px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #134e8b;
}

.sa-cta p:last-child {
  margin-bottom: 0;
}

/* =========================
   SIMPLE UTILITIES
========================= */
.sa-text-center {
  text-align: center;
}

.sa-mb-0 {
  margin-bottom: 0 !important;
}

.sa-mt-0 {
  margin-top: 0 !important;
}

/* =========================
   ARTICLE TABLES IF NEEDED
========================= */
.sa-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px 0;
}

.sa-page th,
.sa-page td {
  border: 1px solid #d9d9d9;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.sa-page th {
  background: #f7f9fb;
  color: #134e8b;
  font-weight: 600;
}

/* =========================
   <= 768px
========================= */
@media (max-width: 768px) {
  .sa-page {
    max-width: 100%;
    padding: 0 12px;
  }

  .sa-page h1,
  .sa-hero-title {
    font-size: 28px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .sa-page h2 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .sa-page h3 {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .sa-page p,
  .sa-page li {
    font-size: 15px;
    line-height: 1.65;
  }

  .sa-section {
    margin-bottom: 24px;
  }

  .sa-hero {
    margin: 0 0 18px 0;
    padding: 16px 14px;
  }

  .sa-hero-lead {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .sa-hero-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .sa-hero-media {
    margin: 0 0 18px 0;
  }

  .sa-trust span {
    display: block;
    margin-right: 0;
    margin-bottom: 6px;
  }

  .sa-highlight,
  .sa-soft-block,
  .sa-outline-block,
  .sa-cta,
  .sa-stack-item,
  .sa-card {
    padding: 14px;
  }

  .sa-card-grid {
    overflow: visible;
  }

  .sa-card {
    width: 100%;
    float: none;
    margin: 0 0 12px 0;
  }

  .sa-card:nth-child(2n) {
    margin-right: 0;
  }

  .sa-button-row {
    margin-bottom: 12px;
  }

  .sa-button {
    display: block;
    width: 100%;
    margin: 0 0 8px 0;
    text-align: center;
    padding: 10px 12px;
  }

  .sa-cta h2 {
    font-size: 26px;
  }

  .sa-page table,
  .sa-page thead,
  .sa-page tbody,
  .sa-page th,
  .sa-page td,
  .sa-page tr {
    display: block;
    width: 100%;
  }

  .sa-page th {
    margin-top: 10px;
  }
}

/* =========================
   <= 480px
========================= */
@media (max-width: 480px) {
  .sa-page {
    padding: 0 10px;
  }

  .sa-page h1,
  .sa-hero-title {
    font-size: 24px;
  }

  .sa-page h2 {
    font-size: 21px;
  }

  .sa-page h3 {
    font-size: 17px;
  }

  .sa-hero,
  .sa-highlight,
  .sa-soft-block,
  .sa-outline-block,
  .sa-cta,
  .sa-stack-item,
  .sa-card {
    padding: 12px;
  }
}