/* Template-specific styles for blog article pages. */
:root {
  --blog-green: #047856;
  --blog-green-soft: #eaf7ef;
  --blog-text: #1f2937;
  --blog-heading: #111827;
  --blog-muted: #53615c;
  --blog-border: #e5e7eb;
  --blog-shell: #f8faf9;
}

html {
  scroll-behavior: smooth;
}

body.blog-article-page {
  color: var(--blog-text);
  background: #fff;
  overflow-x: clip;
}

.blog-article-page img,
.blog-article-page iframe,
.blog-article-page video,
.blog-article-page embed,
.blog-article-page object {
  max-width: 100%;
}

.blog-article-main {
  overflow: visible;
}

.blog-article-hero {
  position: relative;
  min-height: min(680px, 88svh);
  display: flex;
  align-items: flex-end;
  padding: clamp(210px, 21vh, 250px) 0 clamp(52px, 8vw, 88px);
  background: #17231f;
  isolation: isolate;
}

.blog-article-hero__picture,
.blog-article-hero__picture img,
.blog-article-hero__overlay {
  position: absolute;
  inset: 0;
}

.blog-article-hero__picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.blog-article-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 24, 20, .88) 0%, rgba(12, 24, 20, .58) 48%, rgba(12, 24, 20, .16) 100%),
    linear-gradient(0deg, rgba(12, 24, 20, .56), rgba(12, 24, 20, .14));
}

.blog-article-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.blog-article-breadcrumbs {
  width: 100%;
  max-width: none;
  margin-bottom: 26px;
}

.blog-article-breadcrumbs .breadcrumbs,
.blog-article-breadcrumbs .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

.blog-article-breadcrumbs .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.blog-article-hero .blog-article-breadcrumbs .breadcrumb > li,
.blog-article-hero .blog-article-breadcrumbs .breadcrumb > li.active,
.blog-article-hero .blog-article-breadcrumbs .breadcrumb > li a,
.blog-article-hero .blog-article-breadcrumbs .breadcrumb > li span {
  display: inline-flex;
  align-items: center;
  color: #fff !important;
}

.blog-article-hero .blog-article-breadcrumbs .breadcrumb > li + li::before {
  content: "/";
  margin-right: 6px;
  color: #fff !important;
}

.blog-article-hero .blog-article-breadcrumbs a {
  color: #fff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .42);
}

.blog-article-breadcrumbs a:hover {
  border-bottom-color: currentColor;
}

.blog-article-hero__content {
  max-width: 820px;
}

.blog-article-hero__eyebrow {
  margin: 0 0 16px;
  color: #94e0b7;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-article-hero__title {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4vw, 55px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.blog-article-hero__lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.blog-article-section {
  padding: clamp(38px, 5vw, 66px) 0 clamp(56px, 8vw, 96px);
  background: #fff;
}

.blog-article-render {
  display: block;
}

.blog-article-render--no-toc {
  display: block;
}

.blog-article-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 32px;
}

.blog-article-sidebar {
  flex: 0 0 300px;
  min-width: 0;
  position: relative;
}

.blog-article-render--no-toc .blog-article-content {
  max-width: none;
}

.blog-article-content {
  min-width: 0;
  max-width: 820px;
  width: 100%;
  color: var(--blog-text);
  font-size: 18px;
  line-height: 1.72;
  overflow-wrap: break-word;
}

.blog-article-content > *:first-child {
  margin-top: 0;
}

.blog-article-content p {
  margin: 0 0 22px;
}

.blog-article-content h2,
.blog-article-content h3 {
  color: var(--blog-heading);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  scroll-margin-top: 110px;
  overflow-wrap: anywhere;
}

.blog-article-content h2 {
  margin: 46px 0 18px;
  font-size: 32px;
}

.blog-article-content h3 {
  margin: 34px 0 14px;
  font-size: 22px;
}

.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 {
  margin: 28px 0 12px;
  color: var(--blog-heading);
  font-weight: 800;
  line-height: 1.25;
  font-size: 18px;
}

.blog-article-content ul,
.blog-article-content ol {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 0 24px;
  padding-left: 1.55em;
  list-style-position: outside;
  overflow-wrap: break-word;
}

.blog-article-content ul {
  list-style-type: disc;
}

.blog-article-content ol {
  list-style-type: decimal;
}

.blog-article-content li {
  max-width: 100%;
  margin: 0 0 10px;
  padding-left: .18em;
  line-height: 1.65;
  list-style-position: outside;
  overflow-wrap: break-word;
}

.blog-article-content ul > li {
  list-style-type: disc;
}

.blog-article-content ol > li {
  list-style-type: decimal;
}

.blog-article-content ul ul > li {
  list-style-type: circle;
}

.blog-article-content ol ol > li {
  list-style-type: lower-alpha;
}

.blog-article-content li::marker {
  color: var(--blog-green);
  font-weight: 800;
}

.blog-article-content li > ul,
.blog-article-content li > ol {
  margin-top: 10px;
  margin-bottom: 10px;
}

.blog-article-content a {
  color: var(--blog-green);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(4, 120, 86, .3);
  overflow-wrap: anywhere;
}

.blog-article-content a:hover {
  border-bottom-color: currentColor;
}

.blog-article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto 24px;
  border-radius: 8px;
}

.blog-article-content a[data-fancybox] {
  display: block;
  border: none;
  outline: none;
}

.blog-article-content a[data-fancybox] img {
  width: 100%;
  cursor: zoom-in;
  transition: opacity .2s ease;
}

.blog-article-content a[data-fancybox]:hover img {
  opacity: .88;
}

.blog-article-content blockquote {
  margin: 32px 0;
  padding: 22px 24px 22px 18px;
  border-left: 6px solid var(--blog-green);
  border-radius: 12px;
  background: var(--blog-shell);
  color: #374151;
  font-size: 1.02em;
  line-height: 1.68;
}

.blog-article-content blockquote > *:last-child {
  margin-bottom: 0;
}

.blog-article-content hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--blog-border);
}

.blog-article-content .blog-article-table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-article-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: 1px solid var(--blog-border);
  background: #fff;
}

.blog-article-content th,
.blog-article-content td {
  padding: 13px 16px;
  border: 1px solid var(--blog-border);
  text-align: left;
  vertical-align: top;
}

.blog-article-content th {
  color: var(--blog-heading);
  font-weight: 800;
  background: #f3f7f4;
}

.blog-article-content tr:nth-child(even) td {
  background: #fbfcfb;
}

.blog-article-toc {
  position: sticky;
  top: calc(var(--header-fixed-height) + 16px);
  float: none;
  clear: both;
  min-width: 0;
  z-index: 10;
  padding: 20px;
  border: 1px solid #e8eee9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 24, 39, .06);
}

.blog-article-toc__title {
  margin: 0 0 14px;
  color: var(--blog-heading);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.blog-article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-article-toc__item + .blog-article-toc__item {
  margin-top: 10px;
}

.blog-article-toc__item--h3 {
  padding-left: 14px;
}

.blog-article-toc__item--h4 {
  padding-left: 28px;
}

.blog-article-toc a {
  display: block;
  color: #53615c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s ease;
}

.blog-article-toc a:hover {
  color: var(--blog-green);
}

.blog-article-page .fixed1 {
  position: static !important;
  top: auto !important;
}

.blog-article-related {
  max-width: 100%;
  margin-top: clamp(48px, 7vw, 82px);
}

.blog-article-related__header {
  margin-bottom: 22px;
}

.blog-article-reviews {
  margin-top: 0;
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--blog-shell);
}

.blog-article-reviews__widget {
  width: 100%;
  max-width: 560px;
  height: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.blog-article-reviews__widget iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .blog-article-hero {
    min-height: 560px;
    padding-top: 180px;
  }

  .blog-article-render {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .blog-article-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .blog-article-sidebar {
    flex-basis: auto;
    width: 100%;
  }

  .blog-article-content {
    max-width: 100%;
  }

  .blog-article-toc {
    position: static;
    top: auto;
    order: -1;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .blog-article-toc {
    position: static;
    top: auto;
  }
}

@media (max-width: 767px) {
  .blog-article-hero {
    min-height: 500px;
    padding: 160px 0 44px;
  }

  .blog-article-breadcrumbs {
    margin-bottom: 20px;
  }

  .blog-article-hero__title {
    font-size: clamp(32px, 11vw, 46px);
    line-height: 1.04;
  }

  .blog-article-hero__lead {
    font-size: 17px;
    line-height: 1.48;
  }

  .blog-article-content {
    font-size: 17px;
    line-height: 1.68;
  }

  .blog-article-content h2 {
    margin-top: 38px;
  }

  .blog-article-content ul,
  .blog-article-content ol {
    padding-left: 1.35em;
  }

  .blog-article-content blockquote {
    padding: 18px 18px 18px 14px;
  }

  .blog-article-reviews__widget {
    height: 720px;
  }
}
