/* Shared ProcessWire article template */
.article-page {
  color: #415464;
  padding: clamp(2rem, 4vw, 3.5rem) 1.25rem 4rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 36.25rem) minmax(15rem, 18rem);
  gap: 3rem;
  align-items: start;
  justify-content: center;
  width: min(100%, 64rem);
  margin-inline: auto;
}

.article {
  min-width: 0;
  max-width: 36.25rem;
}

.article-header h1 {
  margin: 0 0 1rem;
  color: #415464;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.article .date-wrapper {
  margin: 0 0 1.5rem;
}

.article .date-wrapper time {
  display: block;
  margin-bottom: 0.35rem;
  color: #596b78;
  font-size: 0.95rem;
}

.article .date-wrapper .date-disclaimer {
  display: block;
  color: #596b78;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
}

.article .main-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 32rem;
  margin: 0 0 1.75rem;
  object-fit: contain;
  object-position: center;
}

.article-content,
.article-content * {
  box-sizing: border-box;
}

.article-content {
  min-width: 0;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.article-content p {
  font-weight: 300;
}

.article-content ul,
.article-content li {
  font-weight: 300;
}

.article-content ol,
.article-content blockquote {
  margin-block: 0 1.25rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #415464;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
}

.article-content h2 { font-size: 1.65rem; }
.article-content h3 { font-size: 1.35rem; }
.article-content h4 { font-size: 1.1rem; }

.article-content img,
.article-content video,
.article-content iframe,
.article-content embed,
.article-content object,
.article-content svg {
  max-width: 100%;
}

.article-content img,
.article-content video {
  height: auto;
}

.article-content iframe,
.article-content embed,
.article-content object {
  display: block;
  width: 100%;
}

.article-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content .spreader,
.article-content .midscreen,
.article-content .flex-grid,
.article-content .cell {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.article-content .spreader,
.article-content .midscreen {
  margin-inline: auto;
}

.article-content .flex-grid {
  flex-wrap: wrap;
}

.article-content [style*="max-width: 900px"],
.article-content [style*="max-width:900px"] {
  box-sizing: border-box;
  max-width: min(100%, 56.25rem) !important;
}

.article-content .content-block > .container,
.article-content .content-block > .container > .row {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

/* Reusable service CTA within blog articles only */
.article-page .article .article-cta {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  margin: 2.5rem 0;
  padding: 2rem;
  color: #415464;
  background: #f8fbfd;
  border: 1px solid rgba(125, 174, 211, 0.5);
  border-radius: 1rem;
  overflow-wrap: anywhere;
}

.article-page .article .article-cta h2,
.article-page .article .article-cta h3 {
  margin: 0 0 1rem;
  color: #415464;
  font-size: 1.5rem;
  line-height: 1.3;
}

.article-page .article .article-cta p {
  margin: 0 0 1.5rem;
  color: #415464;
  line-height: 1.7;
}

.article-page .article .article-cta__button {
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  color: #fff;
  background: #415464;
  border: 2px solid #415464;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.article-page .article .article-cta__button:hover {
  color: #fff;
  background: #293a49;
  border-color: #293a49;
  text-decoration: none;
}

.article-page .article .article-cta__button:focus-visible {
  outline: 3px solid #415464;
  outline-offset: 3px;
}

.article-page .article .article-cta .article-cta__secondary {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-page .article .article-cta__secondary a {
  color: #415464;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.article-page .article .article-cta__secondary a:focus-visible {
  outline: 3px solid #415464;
  outline-offset: 3px;
}

@media (max-width: 37.5rem) {
  .article-page .article .article-cta {
    margin-block: 2rem;
    padding: 1.5rem;
  }

  .article-page .article .article-cta h2,
  .article-page .article .article-cta h3 {
    font-size: 1.3rem;
  }

  .article-page .article .article-cta__button {
    display: block;
    width: 100%;
  }
}
.article-sidebar {
box-sizing: border-box;
  min-width: 0;
  padding: 1.5rem;
  color: #415464;
  background: #f8fbfd;
  border: 1px solid #dce8ef;
  border-top: 3px solid #7daed3;
  border-radius: 0.5rem;
}

.sidebar-section + .sidebar-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dce8ef;
}

.sidebar-section h2 {
  margin: 0 0 0.75rem;
  color: #415464;
  font-size: 1.2rem;
  line-height: 1.35;
}

.sidebar-section p {
  font-weight: 300;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.sidebar-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.65rem 1rem;
  color: #fff;
  background: #415464;
  border: 2px solid #415464;
  border-radius: 0.25rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.sidebar-button:hover {
  color: #415464;
  background: #fff;
}

.sidebar-section a:focus-visible {
  outline: 3px solid #17618f;
  outline-offset: 3px;
}

.sidebar-popular ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-popular a,
.sidebar-contact-link {
  color: #294c66;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.sidebar-phone {
  display: block;
  margin: 0.25rem 0 0.75rem;
  color: #415464;
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
}

@media (max-width: 63.99rem) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    max-width: 36.25rem;
  }

  .article-sidebar {
    width: 100%;
  }
}

@media (max-width: 40rem) {
  .article-page {
    padding: 1.75rem 1rem 3rem;
  }

  .article-header h1 {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .article-content {
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-sidebar {
    padding: 1.25rem;
  }

  .sidebar-button {
    width: 100%;
  }
}
