:root {
  --spacing-sm: 4px;
  --callout-right-cta-bg-color: transparent;
}

.body {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: flex-start;
  column-gap: 20px;
  padding-top: 54px;
  padding-bottom: 110px;
  font-family: Montserrat, "Montserrat Fallback";
  max-width: 100%;
  width: 100%;
}

.lead-meta {
  font-family: Montserrat, "Montserrat Fallback"
}

#summary strong {
  font-family: Roboto, "Roboto Fallback";
}

.body h2 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 20px;
}

.body h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

body h4,
body h5,
body h6 {
  font-size: 16px;
  font-weight: 700;
}

.body p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.lead-section .title-container,
.lead-section .lead-image-container,
.lead-section .lead-meta,
.body,
section.contain-content .max-w-screen-xl {
  margin-left: 16px;
  margin-right: 16px;
}

.title-container h1 {
  font-size: 30px;
  line-height: 36px;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 0;
  font-weight: 900;
  color: #3a488a !important;
}

.lead-section {
  background-color: #eff8ff;
  display: flex;
  flex-direction: row;
  margin-bottom: 96px;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* Lead image fixes */
.lead-image {
  height: 210px;
  width: 100%;
  max-width: 100%;
}

.lead-image-container {
  margin-bottom: -32px;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
}

.lead-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.lead-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 34px;
  padding-bottom: 0px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.lead-section .title-container,
.lead-section .lead-image-container {
  z-index: 2;
  width: calc(100% - 32px);
  max-width: 100%;
}

.lead-section .lead-meta {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #3a488a;
}

.lead-section .lead-meta>a {
  display: inline-block;
}

.lead-section .lead-meta>div {
  position: relative;
  padding-left: 16px;
}

.lead-section .lead-meta>div::before {
  content: '';
  position: absolute;
  top: 8px;
  left: -2px;
  width: 4px;
  height: 4px;
  background-color: #d0d5dd;
}

section.contain-content {
  padding-bottom: 0 !important;
  contain: none;
  width: 100%;
  max-width: 100%;
}

section.contain-content .max-w-screen-xl {
  position: relative;
  z-index: 2;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  max-width: 100%;
}

section.contain-content .max-w-screen-xl .grid.grid-cols-12 {
  display: block;
  width: 100%;
}

section.contain-content .max-w-screen-xl .grid.grid-cols-12>div>.relative.block {
  max-width: 100%;
  height: 210px;
  transform: translateY(32px);
  margin-top: 0;
  border-radius: 4px;
  aspect-ratio: auto !important;
  max-width: 100% !important;
}

section.contain-content .max-w-screen-xl .grid.grid-cols-12>div>.relative.block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Summary */
#summary {
  background-color: #228ec2;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  padding: 20px 16px 20px 16px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 26px;
  box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
  width: 100%;

  box-sizing: border-box;
}

#summary,
.about_company,
#references {
  max-width: calc(100vw - 32px) !important;
}

#summary strong {
  font-size: 24px;
  line-height: 44px;
  display: block;
  color: #fff;
  font-weight: 900;
}

/* Callout */
.post_callout {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  margin-top: 32px;
  margin-bottom: 32px;
  border-radius: 4px;
  text-align: start;
  box-shadow: 0px 24px 40px -24px rgba(16, 24, 40, 0.18);
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  padding: 24px 16px 24px 40px;
}

.post_callout .post_callout_text {
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  margin-bottom: 0 !important;
  color: #ffffff !important;
}

.post_callout_left {
  background-color: #228ec2 !important;
}

.post_callout_right {
  background-color: #a6a7a9 !important;
  border: 1px solid #eff7ff !important;
}

.callout_left_cta_button,
.callout_right_cta_button {
  display: inline-block !important;
  margin-top: 24px !important;
}

.callout_left_cta_dest_url,
.callout_right_cta_dest_url {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background-color: #63656a !important;
  text-decoration: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  padding: 7px 16px !important;
}

/* Quote */
.quote {
  margin: 32px 0px;
  background-color: #eff7ff;
  border-radius: 4px;
  border-top: 8px solid #228ec2;
  padding: 32px 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #228ec2;
  box-shadow: 0px 8px 48px -4px rgba(16, 24, 40, 0.08);
}

.quote_wide_text {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.quote_wide_source_name {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  margin-top: 16px;
}

.quote_wide_source_title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-top: 8px;
}

/* Key Takeaways */
#key-takeaways {
  background-color: white;
  border: 1px solid #e7e8f0;
  padding: 24px 20px;
  position: relative;
  border-radius: 4px;
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: 0px 6px 48px -12px rgba(16, 24, 40, 0.18);
  width: 100%;
  box-sizing: border-box;
}

#key-takeaways strong {
  display: block;
  font-size: 24px;
  line-height: 34px;
  font-weight: 900;
  color: #228ec2;
  margin-bottom: 16px;
}

#key-takeaways ul,
#key-takeaways ol {
  margin-bottom: 0;
}

#key-takeaways ul:not(:last-child),
#key-takeaways ol:not(:last-child) {
  margin-bottom: 24px;
}

#key-takeaways ul li,
#key-takeaways ol li {
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  list-style: none;
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

#key-takeaways ul li:last-child,
#key-takeaways ol li:last-child {
  margin-bottom: 0;
}

#key-takeaways ul li::before,
#key-takeaways ol li::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 1;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml, <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="24" height="24" rx="12" fill="%23228ec2"/><path d="M7.5 12L10.5 15L16.5 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 4px;
}

.key_takeaways_cta_button {
  display: inline-block !important;
}

.key_takeaways_cta_dest_url {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background-color: #228ec2 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  padding: 7px 16px !important;
}

/* References */
#references {
  border-top: 12px solid #228ec2;
  background-color: #eff7ff;
  padding: 24px;
  border-radius: 4px;
  color: #3a488a;
  font-size: 16px;
  line-height: 28px;
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: 0px 4px 68px 0px rgba(0, 0, 0, 0.1);
  /* box-shadow: 0px 0px 0px 8px rgba(125, 190, 255, 0.1); */
  backdrop-filter: blur(36px);
  width: calc(100% - 16px);
  max-width: calc(100vw - 32px);
  overflow-x: hidden;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

#references a:hover {
  text-decoration: underline;
}

#references strong {
  display: block;
  font-size: 24px;
  line-height: 34px;
  font-weight: 900;
  color: #228ec2;
  margin-bottom: 16px;
}

#references ul,
#references ol {
  padding-left: 16px;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 0;
}

#references ul li,
#references ol li {
  padding-top: 14px;
  padding-bottom: 14px;
  list-style-type: decimal;
  border-bottom: 1px solid #c1defb;
}

#references ul li:first-child,
#references ol li:first-child {
  padding-top: 0px;
}

#references ul li:last-child,
#references ol li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#references ul li a,
#references ol li a {
  color: rgba(58, 72, 138, 1);
  font-weight: bold;
  list-style-type: none;
  position: relative;
}

/* About */
.about_company {
  background-color: #eff7ff;
  box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 4px;
}

.about_company_title {
  color: #228ec2;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.about_company_text {
  color: #3a488a;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.about_company_social {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

/* Table of Content */
.flex-container {}

.flex-container.show {
  top: auto;
  bottom: 30px;
  overflow-y: scroll;
}

.toc-overlay.show {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

#toc {
  position: fixed;
  left: 16px;
  right: 16px;
  top: unset;
  bottom: 20px;
  z-index: 10;
  width: calc(100% - 32px);
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  border: 1px solid #228ec2;
  border-top: #228ec2 solid 8px;
  background-color: white;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
}

#toc strong {
  font-size: 18px;
  line-height: 28px;
  display: block;
  width: 100%;
  color: #228ec2;
  cursor: pointer;
}

#toc ul.hide {
  visibility: hidden;
  opacity: 0;
  height: 0px;
  margin: 0px;
}

#toc a {
  color: #3a488a;
  font-weight: bold;
}

#toc .active a {
  color: #106ad1;
}

#toc li::marker {
  display: none;
}

#toc ul {
  padding: 0px;
}

#toc ul li ul {
  padding-left: 28px;
}

#toc ul {
  list-style-type: none;
}

#toc>ul {
  margin-bottom: 0;
  margin-top: 12px;
}

#toc>ul>li {
  padding: 8px;
  transition: height 0.3s ease-in-out;
}

#toc>ul>li>ul {
  overflow: hidden;
  height: 0px;
  margin-bottom: 0;
}

#toc>ul>li.parentActive ul {
  height: auto;
  border-top: 1px solid #c1defb;
  margin-top: 10px;
}

#toc>ul>li>ul>li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -12px;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: transparent;
}

#toc>ul>li.active {
  background: rgba(239, 247, 255, 1);
}

#toc>ul>li:has(.active) {
  border-radius: 4px;
  background: rgba(239, 247, 255, 1);
}

#toc>ul>li>ul>li.active {
  list-style-type: inherit;
  position: relative;
}

#toc>ul>li>ul>li.active::before {
  background-color: rgba(13, 75, 178, 1);
}

#toc ul li ul li {
  margin: 10px 0;
}

/* Content area - Expanded width */
.content {
  width: 100%;
}

@media (min-width: 1024px) {
  .body {
    flex-direction: row-reverse;
    margin-bottom: 24px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
  }

  .body h2 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 30px;
  }

  .body h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .body p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 32px;
  }

  .lead-section .title-container,
  .lead-section .lead-meta,
  .lead-section .lead-image-container,
  section.contain-content .max-w-screen-xl {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: calc(100% - 64px);
  }

  .lead-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .lead-image {
    height: 430px;
    width: 100%;
  }

  .lead-image-container {
    margin-top: 40px;
    margin-bottom: -20px;
    width: calc(100% - 64px);
    max-width: 100%;
  }

  .title-container h1 {
    font-size: 60px;
    line-height: 72px;
    margin-top: 40px;
    direction: ltr;
    font-family: Roboto, "Roboto Fallback";
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: Roboto, "Roboto Fallback";
  }

  .lead-section .lead-meta {
    margin-top: 24px;
  }

  .lead-section::after,
  section.contain-content::after {
    height: 284px;
    background-image: url('data:image/svg+xml, <svg viewBox="0 0 1440 284" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1785.94 156.914L-514.058 156.914L-514.058 0.00050354L1785.94 0.000418326L1785.94 156.914Z" fill="%23228ec2"/><path d="M1785.94 145.09L-514.058 145.09L-514.058 32.4258L1785.94 32.4257L1785.94 145.09Z" fill="%23E00174"/><path d="M-514.058 80.5801L-514.058 32.4253L1785.94 32.4252L1785.94 80.58L-514.058 80.5801Z" fill="%23106AD1"/><path d="M1785.94 172.902L-514.058 172.902L-514.058 133.749L1785.94 133.749L1785.94 172.902Z" fill="%23FEA831"/><path d="M-514.058 172.637L1785.94 172.637L1785.94 232.141L-514.058 232.141L-514.058 172.637Z" fill="%23ED6E14"/><path d="M1785.94 265.414L-514.058 265.414L-514.058 224.229L1785.94 224.229L1785.94 265.414Z" fill="%23FEA831"/><path d="M1785.94 284L-514.058 284L-514.058 253.34L1785.94 253.34L1785.94 284Z" fill="%23FDD300"/></svg>');
  }

  section.contain-content .max-w-screen-xl .grid.grid-cols-12>div>.relative.block {
    max-width: 100%;
    height: 430px;
    margin-top: 20px;
    transform: translateY(20px);
  }

  .flex-container {
    width: 25%;
    gap: 34px;
    margin-bottom: 20px;
    display: flex;
    position: sticky;
    top: 82px;
    flex-direction: column;
  }

  .content {
    width: 75%;
  }

  #summary,
  #key-takeaways,
  #references {
    width: 100%;
    max-width: 100%;
  }

  #summary {
    padding: 42px 32px;
    margin-bottom: 64px;
    border-radius: 8px;
    font-size: 20px;
    line-height: 30px;
  }

  #summary p {
    margin: 0;
  }

  #summary strong {
    font-size: 36px;
    line-height: 38px;
    margin-bottom: 0;
  }

  .post_callout {
    width: 340px;
  }

  .post_callout_left {
    float: left;
    margin: 0 30px 20px 0px;
  }

  .post_callout_right {
    float: right;
    margin: 0 0 20px 30px;
  }

  #key-takeaways {
    padding: 76px 32px 32px 32px;
    margin-top: 64px;
    margin-bottom: 64px;
  }

  #key-takeaways::before {
    top: 32px;
    left: 32px;
    right: 32px;
    width: calc(100% - 64px);
  }

  #key-takeaways strong {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 24px;
  }

  #references {
    padding: 32px;
    margin-top: 64px;
    margin-bottom: 64px;
  }

  #references strong {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 24px;
  }

  #toc {
    position: relative;
    width: 100%;
    display: block;
    height: auto;
    inset: 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    background-color: white;
    padding: 16px 20px;
  }

  #toc strong {
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media (min-width: 1280px) {

  .lead-section .title-container,
  .lead-section .lead-meta,
  .lead-section .lead-image-container,
  section.contain-content .max-w-screen-xl {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    max-width: 1400px;
    width: calc(100% - 80px);
  }

  .lead-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 100%;
  }

  .body {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
  }

  .flex-container {
    width: 22%;
  }

  .content {
    width: 78%;
  }
}

@media (min-width: 1440px) {
  .body {
    max-width: 1600px;
    padding: 0 40px;
  }

  .lead-section {
    max-width: 1600px;
    width: 100%;
  }

  .lead-section .title-container,
  .lead-section .lead-meta,
  .lead-section .lead-image-container,
  section.contain-content .max-w-screen-xl {
    max-width: 1600px;
    width: calc(100% - 100px);
  }

  .flex-container {
    width: 20%;
  }

  .content {
    width: 80%;
  }
}

@media (max-width: 991px) {
  #references {
    box-shadow: none;
  }
}