:root {
  --ink: #232c3d;
  --blue: #398ffc;
  --soft: #f0f4f7;
  --yellow: #fff84f;
}

.bg-ink { background-color: var(--ink) !important; }
.bg-blue { background-color: var(--blue) !important; }
.bg-soft { background-color: var(--soft) !important; }
.bg-yellow { background-color: var(--yellow) !important; }
.text-ink { color: var(--ink) !important; }
.text-blue { color: var(--blue) !important; }
.text-muted { color: #969ba2 !important; }
.text-yellow { color: var(--yellow) !important; }
.border-blue { border-color: var(--blue) !important; }
.hover\:bg-blue:hover { background-color: var(--blue) !important; }
.hover\:bg-ink:hover { background-color: var(--ink) !important; }
.hover\:text-blue:hover { color: var(--blue) !important; }
.hover\:text-ink:hover { color: var(--ink) !important; }

html {
  scroll-behavior: smooth;
}

body {
  color: #3b3d42;
  font-family: "Archivo", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a,
button {
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}

.mega-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
}

.nav-pages:hover .mega-menu,
.nav-pages.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.page-title {
  background: #eef3f7;
}

.cta-about {
  background-image: url("images/section-gradient-bg-1-1024x126-1.jpg");
  background-position: center;
  background-size: cover;
}

.post-date {
  background: #f0f4f7;
  color: var(--blue);
}

.article-copy p,
.article-copy li {
  color: #777f89;
  font-size: 15px;
  line-height: 1.9;
}

.article-copy h1,
.article-copy h2,
.article-copy h3,
.article-copy h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 30px;
}

.article-copy h1 { font-size: 30px; }
.article-copy h2 { font-size: 26px; }
.article-copy h3 { font-size: 22px; }
.article-copy h4 { font-size: 18px; }

.article-copy a {
  color: var(--blue);
  font-weight: 600;
}

.article-copy blockquote {
  border-left: 4px solid var(--blue);
  color: #777f89;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 28px;
  padding-left: 20px;
}

.article-copy img {
  height: auto;
  margin-top: 28px;
  max-width: 100%;
}

.article-copy table {
  border-collapse: collapse;
  color: #777f89;
  margin-top: 28px;
  width: 100%;
}

.article-copy th,
.article-copy td {
  border: 1px solid #e7edf2;
  padding: 12px;
  text-align: left;
}

.article-copy p + p,
.article-copy ul + p,
.article-copy p + ul {
  margin-top: 20px;
}

.article-copy ul {
  margin-top: 14px;
  padding-left: 20px;
}

.article-copy li + li {
  margin-top: 12px;
}

.sidebar-widget + .sidebar-widget {
  border-top: 1px solid #e7edf2;
  margin-top: 42px;
  padding-top: 42px;
}

.accordion-panel {
  display: none;
}

.accordion-item.open .accordion-panel {
  display: block;
}

.accordion-item .accordion-open-icon {
  display: none;
}

.accordion-item.open .accordion-closed-icon {
  display: none;
}

.accordion-item.open .accordion-open-icon {
  display: inline-flex;
}

.service-menu-link.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.project-lightbox {
  background: rgba(35, 44, 61, .96);
}

.to-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top.visible.footer-visible {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

@media (max-width: 767px) {
  .page-title {
    text-align: center;
  }
}
