body.single-post {
  --main-font: var(--font-family-mi-sans-regular-330);
  --second-font: var(--font-family-mi-sans-regular-330);
  background: #fff;
  text-align: left;
  font-family: var(--font-family-mi-sans-regular-330) !important;
}

body.single-post .boby-bg,
body.single-post .flat-breadcrumbs,
body.single-post .breadcrumbs-list,
body.single-post .NavXTbreadcrumbs-list,
body.single-post .yoast_breadcrumb,
body.single-post .content > .advertisement {
  display: none !important;
}

body.single-post .content {
  background: #fff;
  text-align: left;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  body.single-post .sg-hubbar {
    border-bottom: none;
  }
}

.sg-article-head {
  border-bottom: 1px solid #f3f3f4;
}

.sg-article-head-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 0;
}

.sg-article {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 0 80px;
  color: #0f0f0f;
  text-align: left;
  font-family: var(--font-family-mi-sans-regular-330);
}

.sg-article *,
.sg-article *::before,
.sg-article *::after {
  box-sizing: border-box;
}

.sg-article-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 380;
  line-height: 20px;
  color: #444446;
}

.sg-article-crumbs a {
  color: #444446;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sg-article-crumbs a:hover {
  color: #da291c;
}

.sg-article-crumbs-sep {
  color: #0f0f0f;
}

.sg-article-crumbs-current {
  color: #0f0f0f;
}

.sg-article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
}

.sg-article-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: #da291c;
  font-size: 16px;
  line-height: 22px;
  font-weight: 380;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}

.sg-article-date {
  font-size: 16px;
  font-weight: 330;
  line-height: 24px;
  color: #6e6e73;
}

.sg-article-title,
.sg-article-title.font-miSansSemiBold520 {
  margin: 0 0 48px;
  font-family: var(--font-family-mi-sans-semi-bold-520);
  font-weight: 520;
  font-style: normal;
  font-size: 48px;
  line-height: 58px;
  vertical-align: middle;
  color: var(--Primary-Black, #000);
}

.sg-article-media {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 5 / 2;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 20px;
  background: #f3f3f4;
}

.sg-article-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
}

.sg-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 64px;
}

.sg-article-tag {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 30px;
  padding: 0 8px;
  border-radius: 4px;
  background: #f3f3f4;
  font-family: var(--font-family-mi-sans-medium-380);
  font-weight: 380;
  font-style: normal;
  font-size: 16px;
  line-height: 22px;
  color: #0f0f0f;
  text-decoration: none;
}

.sg-article-tag:hover,
.sg-article-tag:focus {
  color: #0f0f0f;
  background: #e1e1e4;
  text-decoration: none;
}

.sg-article-body {
  font-family: var(--font-family-mi-sans-regular-330);
  font-size: 20px;
  line-height: 28px;
  color: var(--Gray-05, #6e6e73);
  text-align: left;
}

.sg-article-body *:not(i):not([class*="fa-"]) {
  font-family: var(--font-family-mi-sans-regular-330) !important;
}

.sg-article-body p,
.sg-article-body .wp-block-paragraph {
  margin: 0 0 14px;
  font-family: var(--font-family-mi-sans-regular-330);
  font-weight: 330;
  font-style: normal;
  font-size: 20px;
  line-height: 28px;
  color: var(--Gray-05, #6e6e73);
}

.sg-article-body ul,
.sg-article-body ol,
.sg-article-body blockquote {
  margin: 0 0 16px;
}

.sg-article-body h1,
.sg-article-body h2,
.sg-article-body h3,
.sg-article-body h4,
.sg-article-body h5,
.sg-article-body h6,
.sg-article-body .wp-block-heading {
  margin: 48px 0 16px;
  font-family: var(--font-family-mi-sans-demi-bold-450);
  font-weight: 450;
  font-style: normal;
  font-size: 28px;
  line-height: 34px;
  color: var(--Primary-Black, #000);
}

/* Outranks the shared heading rule above (0,3,1 vs 0,2,0). */
body.single-post .content h2,
body.single-post .content h3,
body.single-post .content h4,
body.single-post .content h5,
body.single-post .content h6 {
  margin-top: 0;
}

.sg-article-body a {
  color: #da291c;
  text-decoration: underline;
}

.sg-article-body img,
.sg-article-body .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.sg-article-body ul,
.sg-article-body ol {
  padding-left: 22px;
}

.sg-article-body li {
  margin: 0 0 8px;
}

.sg-article-body .sg-table-scroll {
  max-width: 100%;
  max-height: 510px;
  margin: 0 0 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.sg-article-body table {
  border-collapse: collapse;
  margin: 0;
  font-size: 16px !important;
  line-height: 24px;
}

.sg-article-body table th,
.sg-article-body table td {
  padding: 10px 16px;
  border: 1px solid #e6e6e6;
  font-size: 16px !important;
  line-height: 24px;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.sg-article-body table td {
  font-family: var(--font-family-mi-sans-regular-330) !important;
  font-weight: 330;
  font-style: normal;
  color: var(--Gray-05, #6e6e73);
}

.sg-article-body table th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-family: var(--font-family-mi-sans-regular-330) !important;
  font-weight: 450;
  color: #0f0f0f;
  background: #f7f7f8;
}

.sg-article-pages {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .sg-article-head {
    display: none;
  }

  /* #page-nav pads the hubbar by 16px (max-xl:px-4); cancel it so the
     hubbar's border-bottom runs edge to edge. */
  body.single-post .sg-hubbar {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Matches .sg-cat-badge.is-featured on the listing pages. */
  .sg-article-badge {
    padding: 4px;
    font-size: 11px;
    line-height: 14px;
  }

  .sg-article-date {
    font-size: 12px;
    line-height: 18px;
  }

  .sg-article {
    padding: 16px 0 64px;
  }

  .sg-article-media {
    aspect-ratio: 343 / 171.5;
  }

  .sg-article-title,
  .sg-article-title.font-miSansSemiBold520 {
    margin-bottom: 20px;
    font-family: var(--font-family-mi-sans-demi-bold-450);
    font-weight: 450;
    font-style: normal;
    font-size: 28px;
    line-height: 34px;
    text-transform: capitalize;
    vertical-align: unset;
  }

  .sg-article-tags {
    margin-bottom: 32px;
  }

  .sg-article-tag {
    height: 22px;
    padding: 0 8px;
    font-family: var(--font-family-mi-sans-medium-380);
    font-weight: 380;
    font-style: normal;
    font-size: 11px;
    line-height: 14px;
  }

  .sg-article-body h1,
  .sg-article-body h2,
  .sg-article-body h3,
  .sg-article-body h4,
  .sg-article-body h5,
  .sg-article-body h6,
  .sg-article-body .wp-block-heading {
    font-family: var(--font-family-mi-sans-demi-bold-450);
    font-weight: 450;
    font-style: normal;
    font-size: 18px;
    line-height: 22px;
  }

  .sg-article-body,
  .sg-article-body p,
  .sg-article-body .wp-block-paragraph {
    font-family: var(--font-family-mi-sans-regular-330);
    font-weight: 330;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
  }
}

@media (min-width: 1200px) {
  body.single-post .content {
    padding-left: 24px;
    padding-right: 24px;
  }
}
