/* ==========================================================================
   Vrisa brand layer. Loaded last, overrides the OLMO template defaults.
   ========================================================================== */

:root {
  --vrisa-blue: #6064e3;
  --vrisa-violet: #8b46e0;
}


/* ACCESSIBILITY
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 14px 22px;
  background-color: var(--stateblue);
  color: #fff;
  font-weight: 500;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--stateblue);
  outline-offset: 3px;
}


/* BRAND LOCKUP
   ========================================================================== */

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-lockup .brand-mark {
  flex: 0 0 auto;
}

.brand-lockup .brand-word {
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.4px;
  line-height: 1;
  color: var(--header-color);
}

.navbar-dark .logo-white,
.navbar-light .logo-black {
  display: none;
}

.tra-menu.navbar-light .scroll .logo-black {
  display: inline-flex;
}

.logo-white .brand-word {
  color: #fff;
}

.wsmobileheader .brand-lockup .brand-word {
  font-size: 1.4rem;
}

.footer-brand {
  margin-bottom: 22px;
}


/* PAGE HERO
   ========================================================================== */

.page-hero {
  background-color: var(--sky);
  background-image: linear-gradient(160deg, #eef2ff 0%, #f7f5ff 55%, #fff 100%);
  padding-bottom: 70px;
}

.page-hero-txt h1 {
  margin-bottom: 28px;
}

.page-hero-txt p:last-of-type {
  margin-bottom: 32px;
}

.page-hero-txt .section_badge {
  color: var(--stateblue);
  font-weight: 500;
}

.txt-block .section_badge,
.section-title .section_badge {
  color: var(--stateblue);
  font-weight: 500;
}


/* HOME HERO
   ========================================================================== */

.hero-21 {
  padding-top: 170px;
  padding-bottom: 80px;
  /* The template adds 120px below the hero on top of the next section's own
     padding, which reads as a hole. The next section supplies the gap. */
  margin-bottom: 0;
}

.hero-txt h1 {
  margin-bottom: 26px;
}

.hero-txt p {
  color: var(--text-color);
}

.hero-txt .btn {
  margin-top: 14px;
}

.hero-img {
  padding-left: 20px;
}

.mr-15 {
  margin-right: 15px;
}

@media (max-width: 991.98px) {
  .hero-21 {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .hero-img {
    padding-left: 0;
    margin-top: 50px;
  }
}


/* FEATURE BOXES
   ========================================================================== */

/* The template ships fbox-8 tuned for a two-across grid. Reset the
   asymmetric gutters so it works at three and four across too. */
.fbox-8.fb-1,
.fbox-8.fb-2,
.fbox-8.fb-3,
.fbox-8.fb-4,
.fbox-8.fb-5,
.fbox-8.fb-6 {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 24px;
  height: calc(100% - 24px);
  border-color: #eceef4;
}

/* Stacked variant: icon above the text. Used at three and four across, where
   the template's side-by-side layout squeezes the copy into a narrow ribbon. */
.fbox-8.fbox-stack {
  flex-direction: column;
  padding: 34px 32px 30px;
}

.fbox-8.fbox-stack .fbox-ico-wrap {
  margin-bottom: 22px;
}

.fbox-8.fbox-stack .fbox-ico,
.fbox-8.fbox-stack .fbox-txt {
  width: 100%;
  padding-left: 0;
}

.fbox-8.fbox-stack .fbox-txt span.main-font {
  display: block;
  margin-bottom: 12px;
}

.fbox-4-wrapper .col {
  display: flex;
}

.fbox-4-wrapper .col > .fbox-8,
.fbox-4-wrapper .col > .card-link {
  width: 100%;
}

.card-link {
  display: flex;
  text-decoration: none;
}

.card-link:hover .fbox-8 {
  border-color: var(--stateblue);
  transform: translateY(-3px);
}

.card-link .fbox-txt span.main-font {
  color: var(--header-color);
}

.card-link:hover .fbox-txt span.main-font {
  color: var(--stateblue);
}

.fbox-8 .fbox-txt p a {
  color: var(--stateblue);
  font-weight: 500;
  word-break: break-word;
}


/* PROSE BLOCKS
   ========================================================================== */

.txt-block h2 {
  margin-bottom: 26px;
}

.simple-list .list-item p {
  margin-bottom: 14px;
}


/* CONTACT
   ========================================================================== */

.contact-email-lockup {
  display: inline-block;
  font-family: var(--main-font);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--stateblue);
  border-bottom: 3px solid rgba(96, 100, 227, 0.25);
  padding-bottom: 6px;
  word-break: break-word;
}

.contact-email-lockup:hover {
  color: var(--header-color);
  border-bottom-color: var(--header-color);
}

@media (max-width: 575.98px) {
  .contact-email-lockup {
    font-size: 1.5rem;
  }
}


/* FOOTER
   ========================================================================== */

.footer-email {
  color: var(--stateblue);
  font-weight: 500;
}

.footer-email:hover {
  color: var(--header-color);
}

.footer-info p {
  max-width: 460px;
}


/* BANNER
   ========================================================================== */

.banner-2-wrapper {
  padding: 55px 60px;
}

@media (max-width: 991.98px) {
  .banner-2-wrapper {
    padding: 40px 30px;
  }
  .banner-2-wrapper .text-end {
    text-align: left !important;
  }
  .banner-2-btn {
    text-align: left !important;
    margin-top: 25px;
  }
}


/* ACCORDION
   ========================================================================== */

.accordion-item {
  border-bottom: 1px solid #e8eaf0;
}

.accordion-thumb {
  cursor: pointer;
}

.accordion-item.is-active .accordion-thumb span.main-font {
  color: var(--stateblue);
}

/* The template opened panels with an inline style from jQuery. Drive them from
   the state class instead, with [hidden] as the authority so the markup stays
   honest for assistive technology. */
.accordion-item.is-active > .accordion-panel {
  display: block;
}

.accordion-panel[hidden] {
  display: none !important;
}


/* STATISTICS
   ========================================================================== */

/* The template floats the digit beside its caption. Stack them instead, so
   captions of different lengths line up. */
.statistic-1-wrapper .statistic-block {
  display: block;
  text-align: left;
}

.statistic-block-digit {
  float: none;
  margin: 0 0 10px;
}

.statistic-block-digit h2 {
  color: var(--stateblue);
  margin-bottom: 0;
}

.statistic-1-wrapper .statistic-block-txt {
  padding-left: 0;
  max-width: 260px;
}

.statistic-1-wrapper .col {
  margin-bottom: 30px;
}
