@import './custom/evera-tokens.css';
@import './custom/navigation.css';

.merritt-signature {
  color: #0e103c;
  font-family: "Allura", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.47rem, 5.6vw, 2.1rem);
  line-height: 0.25;
  margin-left: 0.35em;
  margin-top: 0.7rem;
}

.merritt-personal-note {
  border-left-color: #5b65b6;
  quotes: none;
}

.merritt-personal-note p:first-of-type::before,
.merritt-personal-note p:first-of-type::after {
  content: none;
}

footer a[href^="tel:"],
footer a[href="/privacy"],
footer a[href="/terms"] {
  color: #5a64b5 !important;
}

.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)) {
    margin-top: 1.05em;
    margin-bottom: 1.05em;
}

[aria-labelledby="hello-introduction-title"] p + p {
  margin-top: 1.25rem;
}

#notice-block a {
  color: #e5e4fb;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

#notice-block a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(91 101 182 / 0.55);
  outline-offset: 3px;
}

.blog-index-heading {
  align-items: flex-end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.blog-view-toggle {
  align-self: flex-start;
  background: #f8f7fc;
  border: 1px solid #e1ddef;
  border-radius: 0.65rem;
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 2rem;
  padding: 0.2rem;
}

.blog-view-toggle button {
  align-items: center;
  border-radius: 0.45rem;
  color: #424456;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 500;
  gap: 0.3125rem;
  padding: 0.375rem 0.55rem;
}

.blog-view-toggle button[aria-pressed="true"] {
  background: #fff;
  color: #0e103c;
  box-shadow: 0 1px 2px rgb(14 16 60 / 0.1);
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-list-item {
  background: #fff;
  border: 1px solid #d4ceee;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) 1fr;
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(14 16 60 / 0.08);
}

.blog-list-image {
  display: block;
  min-height: 100%;
}

.blog-list-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.blog-list-placeholder {
  align-items: stretch;
  display: flex;
}

.blog-list-placeholder svg {
  display: block;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
  width: 100%;
}

.blog-list-content {
  padding: 1.4rem 1.6rem;
}

.blog-list-meta {
  color: #525466;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.65rem;
}

.blog-list-content h2 {
  color: #0e103c;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0.65rem 0;
}

.blog-list-content h2 a,
.blog-list-read {
  color: inherit;
  text-decoration: none;
}

.blog-list-content > p {
  color: #3b3c4d;
  line-height: 1.6;
  margin: 0 0 0.8rem;
}

.blog-list-read {
  color: #5b65b6;
  font-weight: 700;
}

@media (max-width: 767px) {
  .blog-index-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-view-toggle {
    align-self: flex-start;
    margin-top: 0;
  }

  .blog-list-item {
    grid-template-columns: 1fr;
  }

  .blog-list-image img {
    aspect-ratio: 16 / 9;
  }
}

.hello-promo-wrap {
  background: #fff;
  padding: 0.75rem 1rem;
}

.hello-promo-banner {
  background: #f1eff9;
  border: 1px solid #d4ceee;
  border-radius: 9999px;
  color: #303247;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 72rem;
  padding: 0.6rem 1rem;
  text-align: center;
}

.hello-promo-banner strong {
  color: #0e103c;
  font-weight: 800;
}

.no-hero-page {
  background: #fff;
  color: #3b3c4d;
  padding-top: 0.01px;
}

.no-hero-intro {
  margin: 0 auto;
  max-width: 53.75rem;
  padding: 3rem 1rem 0;
  text-align: left;
}

.no-hero-eyebrow,
.no-hero-subtitle {
  color: #5b65b6;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.no-hero-intro h1 {
  color: #0e103c;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0.5rem 0;
}

.no-hero-summary {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-top: 1rem;
}

.no-hero-summary p {
  margin: 0;
}
