:root {
  --oe-blog-ink: #161b1e;
  --oe-blog-muted: #596267;
  --oe-blog-line: #dfe5e1;
  --oe-blog-soft: #f4f6f4;
  --oe-blog-green: #08a44a;
  --oe-blog-green-dark: #057835;
  --oe-blog-yellow: #ffe000;
}

.oe-blog-page {
  margin: 0;
  color: var(--oe-blog-ink);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
}

.oe-blog-page .container {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.oe-blog-eyebrow {
  margin: 0 0 14px;
  color: var(--oe-blog-green-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.oe-blog-index-hero {
  padding: 78px 0 66px;
  border-bottom: 1px solid var(--oe-blog-line);
}

.oe-blog-index-hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--oe-blog-ink);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.06;
}

.oe-blog-index-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--oe-blog-muted);
  font-size: 21px;
  line-height: 1.55;
}

.oe-blog-list {
  padding: 56px 0 92px;
}

.oe-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.oe-blog-card {
  min-width: 0;
}

.oe-blog-card__image-link {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--oe-blog-soft);
}

.oe-blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.oe-blog-card:hover .oe-blog-card__image {
  transform: scale(1.02);
}

.oe-blog-card__body h2 {
  margin: 12px 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.oe-blog-card__body h2 a {
  color: var(--oe-blog-ink);
  text-decoration: none;
}

.oe-blog-card__body h2 a:hover,
.oe-blog-card__body h2 a:focus-visible,
.oe-blog-card__more:hover,
.oe-blog-card__more:focus-visible {
  color: var(--oe-blog-green-dark);
}

.oe-blog-card__body > p {
  margin: 0 0 18px;
  color: var(--oe-blog-muted);
  font-size: 15px;
  line-height: 1.6;
}

.oe-blog-card__meta,
.oe-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--oe-blog-muted);
  font-size: 13px;
  line-height: 1.3;
}

.oe-blog-card__meta span:first-child {
  color: var(--oe-blog-green-dark);
  font-weight: 700;
}

.oe-blog-card__more {
  color: var(--oe-blog-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.oe-blog-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--oe-blog-line);
}

.oe-blog-card--featured .oe-blog-card__image-link {
  margin: 0;
}

.oe-blog-card--featured .oe-blog-card__body h2 {
  font-size: 34px;
}

.oe-blog-card--featured .oe-blog-card__body > p {
  font-size: 17px;
}

.oe-article-hero {
  padding: 58px 0 64px;
  border-bottom: 1px solid var(--oe-blog-line);
}

.oe-article-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 62px;
  align-items: center;
}

.oe-article-hero h1 {
  margin: 0 0 22px;
  color: var(--oe-blog-ink);
  font-size: 45px;
  font-weight: 800;
  line-height: 1.08;
}

.oe-article-hero__description {
  margin: 0 0 24px;
  color: var(--oe-blog-muted);
  font-size: 18px;
  line-height: 1.55;
}

.oe-article-hero__figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--oe-blog-soft);
}

.oe-article-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oe-article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 68px;
  justify-content: center;
  padding-top: 64px !important;
  padding-bottom: 88px !important;
}

.oe-article-sidebar {
  min-width: 0;
}

.oe-article-toc {
  position: sticky;
  top: 108px;
  padding-left: 18px;
  border-left: 3px solid var(--oe-blog-green);
}

.oe-article-toc__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}

.oe-article-toc ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oe-article-toc a {
  color: var(--oe-blog-muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.oe-article-toc a:hover,
.oe-article-toc a:focus-visible {
  color: var(--oe-blog-green-dark);
  text-decoration: underline;
}

.oe-article-content {
  min-width: 0;
  color: #2a3033;
  font-size: 18px;
  line-height: 1.72;
}

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

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

.oe-article-content .oe-article-lede {
  margin-bottom: 30px;
  color: var(--oe-blog-ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.58;
}

.oe-article-content h2 {
  margin: 56px 0 22px;
  color: var(--oe-blog-ink);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  scroll-margin-top: 105px;
}

.oe-article-content h3 {
  margin: 36px 0 16px;
  color: var(--oe-blog-ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  scroll-margin-top: 105px;
}

.oe-article-content ul,
.oe-article-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 24px;
}

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

.oe-article-figure {
  margin: 26px 0 40px;
}

.oe-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: #fff;
}

.oe-article-figure figcaption {
  margin-top: 9px;
  color: var(--oe-blog-muted);
  font-size: 13px;
  line-height: 1.4;
}

.oe-article-table-wrap {
  max-width: 100%;
  margin: 30px 0 38px;
  overflow-x: auto;
  border: 1px solid var(--oe-blog-line);
}

.oe-article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.oe-article-table th,
.oe-article-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid var(--oe-blog-line);
  border-bottom: 1px solid var(--oe-blog-line);
}

.oe-article-table th {
  color: var(--oe-blog-ink);
  background: #eef4f0;
  font-weight: 800;
}

.oe-article-table tr:last-child td {
  border-bottom: 0;
}

.oe-article-table th:last-child,
.oe-article-table td:last-child {
  border-right: 0;
}

.oe-article-services {
  margin-top: 64px;
  padding: 36px;
  color: var(--oe-blog-ink);
  background: var(--oe-blog-yellow);
}

.oe-article-services h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

.oe-article-services p:not(.oe-blog-eyebrow) {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.5;
}

.oe-article-services__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
}

.oe-article-services__links a {
  color: var(--oe-blog-green-dark);
  font-size: 15px;
  font-weight: 800;
}

.oe-blog-cta {
  min-height: 52px;
  padding: 0 26px;
  color: #fff;
  background: var(--oe-blog-green);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.oe-blog-cta:hover,
.oe-blog-cta:focus-visible {
  background: var(--oe-blog-green-dark);
}

.oe-related {
  padding: 70px 0 86px;
  background: var(--oe-blog-soft);
}

.oe-related > .container > h2 {
  margin: 0 0 34px;
  font-size: 34px;
  font-weight: 800;
}

.oe-related .oe-blog-card__image-link {
  background: #fff;
}

@media (max-width: 991px) {
  .oe-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oe-blog-card--featured,
  .oe-article-hero .container {
    grid-template-columns: 1fr;
  }

  .oe-blog-card--featured {
    gap: 28px;
  }

  .oe-article-hero .container {
    gap: 38px;
  }

  .oe-article-hero__figure {
    max-width: 760px;
  }

  .oe-article-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .oe-article-toc {
    position: static;
    columns: 2;
    column-gap: 32px;
  }

  .oe-article-toc__title {
    column-span: all;
  }
}

@media (max-width: 575px) {
  .oe-blog-page .container {
    width: min(100% - 30px, 1180px);
  }

  .oe-blog-index-hero {
    padding: 48px 0 42px;
  }

  .oe-blog-index-hero h1 {
    font-size: 38px;
  }

  .oe-blog-index-hero p:last-child {
    font-size: 17px;
  }

  .oe-blog-list {
    padding: 34px 0 64px;
  }

  .oe-blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oe-blog-card--featured {
    margin-bottom: 44px;
    padding-bottom: 44px;
  }

  .oe-blog-card--featured .oe-blog-card__body h2,
  .oe-blog-card__body h2 {
    font-size: 24px;
  }

  .oe-article-hero {
    padding: 38px 0 44px;
  }

  .oe-article-hero h1 {
    font-size: 34px;
  }

  .oe-article-hero__description {
    font-size: 17px;
  }

  .oe-article-hero__figure {
    aspect-ratio: 4 / 3;
  }

  .oe-article-layout {
    padding-top: 38px !important;
    padding-bottom: 62px !important;
  }

  .oe-article-toc {
    columns: 1;
  }

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

  .oe-article-content .oe-article-lede {
    font-size: 19px;
  }

  .oe-article-content h2 {
    margin-top: 46px;
    font-size: 27px;
  }

  .oe-article-content h3 {
    font-size: 21px;
  }

  .oe-article-services {
    margin-right: -15px;
    margin-left: -15px;
    padding: 30px 22px;
  }

  .oe-related {
    padding: 52px 0 64px;
  }

  .oe-blog-page .oe-discount-widget__tab {
    top: auto;
    bottom: 78px;
    min-height: 112px;
    transform: translate(100%, 0);
  }

  .oe-blog-page .oe-discount-widget.is-collapsed .oe-discount-widget__tab {
    transform: translate(0, 0);
  }
}
