/* Blog system v2 */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
  font-size: 0.92rem;
  color: #687387;
}

.breadcrumbs a {
  color: #2E4A7A;
  font-weight: 700;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.blog-hero .lead,
.blog-article-hero .lead {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.blog-article-hero h1 {
  max-width: 1040px;
  font-size: clamp(2.7rem, 5.4vw, 5.5rem);
}

.article-byline {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.article-byline span + span:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  vertical-align: middle;
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  overflow: hidden;
  padding: 0;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #E8ECF2;
}

.blog-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.blog-card-copy h2 {
  margin-top: 14px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.blog-card-copy p {
  margin-top: 12px;
}

.blog-meta {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  color: #687387;
  font-size: 0.9rem;
  font-weight: 700;
}

.empty-blog-card {
  max-width: 760px;
  margin: 0 auto;
}

.empty-blog-card code {
  white-space: nowrap;
}

.article-section {
  padding-top: 54px;
}

.article-shell {
  width: min(980px, calc(100% - 40px));
}

.article-featured-image,
.article-media {
  overflow: hidden;
  margin: 0 0 44px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 28px;
  background: #E8ECF2;
  box-shadow: 0 24px 70px rgba(27, 43, 75, 0.12);
}

.article-featured-image img,
.article-media img {
  display: block;
  width: 100%;
  height: auto;
}

.article-media {
  margin-top: 42px;
  margin-bottom: 46px;
}

.article-media figcaption {
  margin: 0;
  padding: 16px 20px;
  background: #ffffff;
  color: #5e6d7f;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.article-content {
  color: #141416;
  font-size: 1.075rem;
  line-height: 1.76;
}

.article-content h2 {
  margin-top: 50px;
  margin-bottom: 16px;
  color: #1B2B4B;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 10px;
  color: #1B2B4B;
  font-size: 1.38rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin-top: 0;
  margin-bottom: 21px;
}

.article-content p {
  color: #344255;
}

.article-content ul,
.article-content ol {
  padding-left: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
  color: #344255;
}

.article-content li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #5B7DB1;
  transform: translateY(-50%);
}

.article-content a {
  color: #2E4A7A;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-content a:hover {
  color: #1B2B4B;
}

.article-faq {
  margin-top: 58px;
  padding: 34px;
  border: 1px solid #E8ECF2;
  border-radius: 30px;
  background: linear-gradient(180deg, #F7F8FA 0%, #ffffff 100%);
  box-shadow: 0 18px 50px rgba(27, 43, 75, 0.07);
}

.article-faq > h2 {
  margin-top: 0;
  max-width: 760px;
}

.article-faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.article-faq-item {
  padding: 24px;
  border: 1px solid rgba(219, 227, 239, 0.95);
  border-radius: 22px;
  background: #ffffff;
}

.article-faq-item h3 {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 0;
  font-size: 1.12rem;
}

.article-faq-item h3:before {
  content: "?";
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: #E8ECF2;
  color: #2E4A7A;
  font-size: 0.95rem;
  font-weight: 900;
}

.article-faq-item p:last-child {
  margin-bottom: 0;
}

.article-trust-box {
  margin-top: 48px;
  padding: 30px;
  border: 1px solid #E8ECF2;
  border-radius: 26px;
  background: #F7F8FA;
}

.article-trust-box h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.article-trust-box p:last-child {
  margin-bottom: 0;
}

.article-cta {
  margin-top: 48px;
}

.related-articles-section {
  border-top: 1px solid #E8ECF2;
}

@media (max-width: 760px) {
  .breadcrumbs {
    flex-wrap: wrap;
    padding-left: 28px;
    padding-right: 28px;
  }

  .article-byline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .article-byline span + span:before {
    display: none;
  }

  .blog-card-copy {
    padding: 24px;
  }

  .article-section {
    padding-top: 34px;
  }

  .article-shell {
    width: min(100% - 28px, 980px);
  }

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

  .article-featured-image,
  .article-media {
    border-radius: 20px;
  }

  .article-faq {
    padding: 22px;
    border-radius: 24px;
  }

  .article-faq-item {
    padding: 20px;
  }
}

/* Blog breadcrumb spacing fix */
.breadcrumbs {
  display: block;
  padding: 0;
  border-top: 1px solid #E8ECF2;
  border-bottom: 1px solid #E8ECF2;
  background: #ffffff;
  color: #687387;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  min-height: 54px;
  gap: 0;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.35;
}

.breadcrumbs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #1B2B4B;
  font-weight: 800;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #2E4A7A;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumb-separator {
  flex: 0 0 auto;
  margin: 0 12px;
  color: #A3AFBF;
  font-weight: 900;
}

.breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  color: #687387;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Blog article readability fix */
.article-page .reveal,
.blog-article-page .reveal,
.article-shell .reveal,
.article-body.reveal,
.article-body .reveal,
.article-content.reveal,
.article-content .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 760px) {
  .breadcrumb-inner {
    min-height: auto;
    padding-top: 13px;
    padding-bottom: 13px;
    overflow: visible;
    font-size: 0.86rem;
  }

  .breadcrumb-separator {
    margin: 0 9px;
  }

  .breadcrumb-current {
    flex-basis: 100%;
    margin-top: 3px;
    white-space: normal;
    line-height: 1.4;
  }
}
