body.evg-expert-article-page #sidebar,
body.evg-expert-article-page .sidebar {
  display: none;
}

body.evg-expert-article-page .evg-expert-page-shell {
  max-width: 1040px;
}

body.evg-expert-article-page .card-form-single {
  padding-top: 32px !important;
  background: transparent;
}

body.evg-expert-article-page #ex_title {
  max-width: 860px;
  margin: 28px auto 24px !important;
}

body.evg-expert-article-page #ex_title h1 {
  margin: 0 !important;
  color: #1f4e6d !important;
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

body.evg-expert-article-page #ex_title h2.lead {
  max-width: 760px;
  margin-top: 18px !important;
  padding-left: 18px;
  border-left: 2px solid rgba(31, 78, 109, 0.18);
  color: #536575;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.58;
}

body.evg-expert-article-page .card-form-single > .entry-meta {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.evg-expert-article {
  max-width: 820px;
  margin: 0 auto;
  color: #27384a;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.78;
}

.evg-expert-article__dek {
  margin: 0 0 40px;
  color: #536575;
  font-size: 21px;
  line-height: 1.58;
}

.evg-expert-article p {
  margin: 0 0 24px;
}

.evg-expert-article h2 {
  margin: 64px 0 22px;
  color: #1f4e6d;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.evg-expert-article h3 {
  margin: 38px 0 16px;
  color: #314158;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
}

.evg-expert-article__list {
  margin: 0 0 28px;
  padding-left: 28px;
}

.evg-expert-article__list li {
  margin-bottom: 10px;
  padding-left: 5px;
  color: #27384a !important;
}

.evg-expert-article__callout {
  margin: 38px 0;
  padding: 22px 26px;
  border: 0;
  border-left: 3px solid rgba(31, 78, 109, 0.48);
  background: #f6f9fb;
  color: #314158;
  font-size: 19px;
  font-style: normal;
  line-height: 1.68;
}

.evg-expert-article__callout p:last-child {
  margin-bottom: 0;
}

.evg-expert-article__cta {
  margin: 46px 0;
  padding: 24px 26px;
  border: 1px solid rgba(31, 78, 109, 0.2);
  border-radius: 12px;
  background: #f3f7fa;
}

.evg-expert-article__cta p {
  max-width: 690px;
  margin-bottom: 12px;
  color: #314158;
  font-size: 17px;
  line-height: 1.62;
}

.evg-expert-article__cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #1f4e6d;
  border-radius: 8px;
  background: #1f4e6d;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.evg-expert-article__cta-link:hover {
  border-color: #173d57;
  background: #173d57;
  color: #fff !important;
}

.evg-expert-article__cta-link:focus-visible {
  outline: 3px solid rgba(31, 78, 109, 0.28);
  outline-offset: 3px;
}

.evg-expert-article__figure {
  margin: 48px 0;
}

.evg-expert-article__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  border-radius: 12px;
  object-fit: cover;
}

.evg-expert-article__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.evg-expert-article__credit {
  flex: 0 0 auto;
  text-align: right;
}

.evg-expert-article__credit a,
.evg-expert-article__source-ref a,
.evg-expert-article__sources a {
  color: #46677c;
  text-decoration-color: rgba(70, 103, 124, 0.3);
  text-underline-offset: 3px;
}

.evg-expert-article__source-ref {
  margin-left: 4px;
  font-size: 11px;
  line-height: 1;
}

.evg-expert-article__sources {
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid rgba(31, 78, 109, 0.14);
}

.evg-expert-article__sources h2 {
  margin-top: 0;
  font-size: 25px;
}

.evg-expert-article__sources ol {
  margin: 0;
  padding-left: 24px;
}

.evg-expert-article__sources li {
  margin-bottom: 12px;
  padding-left: 5px;
  font-size: 14px;
  line-height: 1.55;
}

.evg-expert-article__sources li span {
  display: block;
  color: #536575;
}

.evg-expert-landing-heading {
  max-width: 820px;
  margin: 96px auto 22px;
  padding-top: 54px;
  border-top: 1px solid rgba(31, 78, 109, 0.18);
  scroll-margin-top: 24px;
}

.evg-expert-landing-heading h2 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #1f4e6d;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
}

.evg-expert-landing-heading p {
  max-width: 720px;
  margin: 0;
  color: #536575;
  font-size: 18px;
  line-height: 1.58;
}

body.evg-expert-article-page #evg-post-landing,
body.evg-expert-article-page #ai-paid-chat {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

body.evg-expert-article-page #evg-post-landing {
  display: flex;
  flex-direction: column;
}

body.evg-expert-article-page #ai-paid-chat[data-chat-state="initial"] {
  margin-top: 18px !important;
}

body.evg-expert-chat-focused #evg-expert-article,
body.evg-expert-chat-focused #evg-expert-chat,
body.evg-expert-chat-focused #evg-post-landing,
body.evg-expert-chat-focused #evg-expert-sources,
body.evg-expert-chat-focused #ex_title {
  visibility: hidden !important;
}

body.evg-expert-chat-active #evg-expert-article,
body.evg-expert-chat-active #evg-expert-chat,
body.evg-expert-chat-active #evg-post-landing,
body.evg-expert-chat-active #evg-expert-sources,
body.evg-expert-chat-active #ex_title {
  display: none !important;
}

body.evg-expert-chat-focused .card-form-single,
body.evg-expert-chat-active .card-form-single {
  padding-top: 0 !important;
}

body.evg-expert-chat-focused .card-form-single .entry-content,
body.evg-expert-chat-active .card-form-single .entry-content {
  margin-top: 0;
}

@media (max-width: 768px) {
  body.evg-expert-article-page .card-form-single {
    padding-top: 12px !important;
  }

  body.evg-expert-article-page #ex_title {
    margin: 10px auto 18px !important;
  }

  body.evg-expert-article-page #ex_title h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  body.evg-expert-article-page #ex_title h2.lead {
    margin-top: 14px !important;
    padding-left: 14px;
    font-size: 16px;
    line-height: 1.5;
  }

  .evg-expert-article {
    font-size: 17px;
    line-height: 1.72;
  }

  .evg-expert-article__dek {
    margin-bottom: 32px;
    font-size: 19px;
    line-height: 1.54;
  }

  .evg-expert-article h2 {
    margin-top: 48px;
    font-size: 27px;
  }

  .evg-expert-article h3 {
    margin-top: 32px;
    font-size: 21px;
  }

  .evg-expert-article__figure {
    margin: 38px -15px;
  }

  .evg-expert-article__image {
    border-radius: 0;
  }

  .evg-expert-article__figure figcaption {
    display: block;
    padding: 0 15px;
  }

  .evg-expert-article__credit {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

  .evg-expert-article__cta {
    margin: 38px 0;
    padding: 20px;
  }

  .evg-expert-article__callout {
    margin: 32px 0;
    padding: 18px 20px;
    font-size: 17px;
  }

  .evg-expert-landing-heading {
    margin-top: 70px;
    padding-top: 40px;
  }

  .evg-expert-landing-heading h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evg-expert-article__cta-link {
    transition: none;
  }
}
