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

html {
  scroll-behavior: smooth;
}

:root {
  /* fonts */
  --blog-font-1: 'Nohemi', serif;
  --blog-font-2: 'Instrument Serif', serif;
  --blog-font-3: 'Satoshi', sans-serif;

  /* colors */
  --blog-color-white: #fff;
  --blog-color-black: #000;
  --blog-color-transparent: transparent;
  --blog-color-1: #ff5900;
  --blog-color-2: #3e3e3e;

  /* lead section */
  --lead-section-bg: var(--blog-color-transparent);
  --lead-section-title: var(--blog-color-2);

  /* summary */
  --summary-bg-color: #fedfce;
  --summary-heading-color: var(--blog-color-1);
  --summary-text-color: var(--blog-color-1);

  /* callout left */
  --callout-left-bg-color: #ff590033;
  --callout-left-after-color: var(--blog-color-black);
  --callout-left-text-color: var(--blog-color-1);
  --callout-left-cta-bg-color: var(--blog-color-1);
  --callout-left-cta-text-color: var(--blog-color-white);
  --callout-left-cta-hover-bg-color: #f8fcda;
  --callout-left-cta-hover-text-color: var(--blog-color-1);

  /* callout right */
  --callout-right-bg-color: #f8fcda;
  --callout-right-after-color: var(--blog-color-1);
  --callout-right-text-color: var(--blog-color-1);
  --callout-right-cta-bg-color: var(--blog-color-1);
  --callout-right-cta-text-color: var(--blog-color-white);
  --callout-right-cta-hover-bg-color: #f8fcda;
  --callout-right-cta-hover-text-color: var(--blog-color-1);

  /* quote */
  --quote-bg-color: var(--blog-color-white);
  --quote-text-color: var(--blog-color-2);
  --quote-border-color: var(--blog-color-1);

  /* key takeaways */
  --key-takeaways-bg-color: #f8fcda;
  --key-takeaways-border-color: #f8fcda;
  --key-takeaways-text-color: var(--blog-color-1);
  --key-takeaways-heading-color: var(--blog-color-1);
  --key-takeaways-cta-bg-color: var(--blog-color-1);
  --key-takeaways-cta-text-color: var(--blog-color-white);
  --key-takeaways-cta-hover-bg-color: #f8fcda;
  --key-takeaways-cta-hover-text-color: var(--blog-color-1);

  /* references */
  --references-bg-color: #cedffe;
  --references-border-color: #cedffe;
  --references-text-color: var(--blog-color-2);
  --references-heading-color: var(--blog-color-2);
  --references-divider-color: #3e3e3e33;

  /* about company */
  --about-company-bg-color: var(--blog-color-white);
  --about-company-heading-color: var(--blog-color-1);
  --about-company-text-color: var(--blog-color-2);
  --about-company-border-color: var(--blog-color-1);
  --about-company-icon-color: var(--blog-color-1);

  /* toc */
  --toc-bg-color: var(--blog-color-white);
  --toc-heading-color: var(--blog-color-1);
  --toc-text-color: var(--blog-color-2);
  --toc-border-color: var(--blog-color-1);
  --toc-active-bg-color: var(--blog-color-white);
  --toc-active-text-color: var(--blog-color-1);
  --toc-active-divider-color: var(--blog-color-1);
}

.blog-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.blog-wrapper .flex-container {
  width: 100%;
}

.blog-wrapper .blog-content {
  padding-top: 6rem;
}

/* About */
.about_company {
  border: 1px solid var(--about-company-border-color);
  background-color: var(--about-company-bg-color);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 14px;
  margin-bottom: 24px;
}

.about_company_title {
  color: var(--about-company-heading-color);
  font-size: 28px;
  line-height: 22px;
  font-family: var(--blog-font-2);
}

.about_company_text {
  font-size: 14px;
  line-height: 20px;
  color: var(--about-company-text-color);
}

.about_company_social {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.about_company_social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about_company_social svg {
  fill: var(--about-company-icon-color);
}

.blog-wrapper .flex-container #toc {
  position: fixed;
  left: 1rem;
  right: 1rem;
  top: auto;
  bottom: 1.25rem;
  z-index: 3;
  height: 3rem;
  border-radius: 14px;
  border-width: 1px;
  border-color: var(--toc-border-color);
  background-color: var(--toc-bg-color);
  padding: 0.75rem 1.25rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--toc-text-color);
}

/* Toc */
.blog-wrapper .flex-container #toc:not(.open) {
  padding: 0.25rem 1rem;
}

.blog-wrapper .flex-container #toc:is(.open) {
  top: auto;
  height: auto;
}

.blog-wrapper .flex-container #toc:is(.open) ul {
  height: auto;
}

.blog-wrapper .flex-container #toc ul {
  height: 0px;
  overflow: hidden;
}

.blog-wrapper .flex-container #toc ul li {
  position: relative;
}

.blog-wrapper .flex-container #toc ul li a:hover {
  color: var(--toc-active-text-color);
}

.blog-wrapper .flex-container #toc ul li:before {
  position: absolute;
  left: -0.625rem;
  top: 0.375rem;
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background-color: transparent;
  content: '';
}

.blog-wrapper .flex-container #toc>ul>li:before {
  left: 0;
}

.blog-wrapper .flex-container #toc ul li>ul li {
  padding-left: 0.625rem;
}

.blog-wrapper .flex-container #toc>ul>li:not(:first-child):before {
  margin-top: 0.75rem;
}

.blog-wrapper .flex-container #toc ul li.active:before {
  background-color: var(--toc-active-text-color);
}

.blog-wrapper .flex-container #toc ul li.active {
  color: var(--toc-active-text-color);
}

.blog-wrapper .flex-container #toc>ul>li.active {
  padding-left: 0.625rem;
}

.blog-wrapper .flex-container #toc details.active>summary {
  color: var(--toc-active-text-color);
}

.blog-wrapper .flex-container #toc b,
.blog-wrapper .flex-container #toc strong {
  position: relative;
  display: block;
  font-family: var(--blog-font-2);
  font-size: 28px;
  line-height: 38px;
  font-weight: 400;
  color: var(--toc-heading-color);
}

.blog-wrapper .flex-container #toc b:after,
.blog-wrapper .flex-container #toc strong::after {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  right: 0;
  height: 0.875rem;
  width: 0.875rem;
  background-repeat: no-repeat;
  content: '';
  background-image: url('data:image/svg+xml, <svg viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 12.0001L11 1.50122" stroke="%23FF5900" stroke-width="1.49992"/><path d="M2.25 1L11.75 1L11.75 9.99905" stroke="%23FF5900" stroke-width="1.49992"/></svg>');
}

.blog-wrapper .flex-container #toc:is(.open) b:after,
.blog-wrapper .flex-container #toc:is(.open) strong:after {
  transform: rotate(90deg);
}

#toc summary {
  display: flex;
  cursor: pointer;
  list-style-type: none;
  align-items: flex-start;
}

#toc summary::-webkit-details-marker {
  display: none;
}

#toc summary:before {
  margin-right: 0.125rem;
  display: inline-block;
  width: 0.875rem;
  text-align: center;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  content: '+';
}

#toc details[open]>summary:before {
  transform: rotate(180deg);
  content: '-';
}

.blog-wrapper .flex-container #toc ul,
.blog-wrapper .flex-container #toc ol {
  margin-top: 0.5rem;
  list-style-position: outside;
  list-style-type: none;
}

.blog-wrapper .flex-container #toc>ul>li+li,
.blog-wrapper .flex-container #toc>ol>li+li {
  margin-top: 0.75rem;
  border-top-width: 1px;
  border-color: var(--toc-active-divider-color);
  padding-top: 0.75rem;
}

.blog-wrapper .flex-container #toc ul>li ul,
.blog-wrapper .flex-container #toc ol>li ul {
  padding-left: 1.75rem;
}

.blog-wrapper .flex-container #toc ul>li ul>li,
.blog-wrapper .flex-container #toc ol>li ul>li {
  margin-bottom: 0.5rem;
}

.blog-wrapper .blog-content a {
  color: var(--toc-active-text-color);
  text-decoration-line: underline;
}

.blog-wrapper .blog-content ul li {
  list-style-position: inside;
  list-style-type: disc;
}

.blog-wrapper .blog-content ol li {
  list-style-position: inside;
  list-style-type: decimal;
}

.blog-wrapper div#references ol li,
.blog-wrapper div#references ul li {
  list-style: none;
}

/* summary */
.blog-content #summary {
  margin-bottom: 2rem;
  border-radius: 14px;
  background-color: rgb(254 223 206);
  padding: 0.5rem 1rem 1rem;
  font-family: var(--blog-font-1);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--summary-text-color);
}

.blog-content #summary p {
  margin-bottom: 0;
  margin-top: 0;
  font-family: var(--blog-font-1);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.blog-content #summary b,
.blog-content #summary strong {
  margin-bottom: 0.5rem;
  display: inline-block;
  font-family: var(--blog-font-2);
  font-size: 34px;
  line-height: 44px;
  font-weight: 400;
}

/* basic style */
.blog-content h2 {
  margin-top: 2rem;
  font-family: var(--blog-font-1);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.blog-content h2:first-of-type {
  margin-top: 0;
}

.blog-content h3 {
  margin-top: 0.75rem;
  font-family: var(--blog-font-1);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.blog-content p,
.blog-content ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* callout */
.blog-content .callout {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  border-radius: 14px;
  padding: 1.5rem;
  font-family: var(--blog-font-2);
  font-size: 38px;
  line-height: 44px;
  letter-spacing: -0.02em;
}

.blog-content .callout .callout_text {
  font-size: 38px;
  line-height: 44px;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  margin-top: 0;
}

.blog-content .callout_left .callout_text {
  color: var(--callout-left-text-color);
}

.blog-content .callout_right .callout_text {
  color: var(--callout-right-text-color);
}

.blog-content .callout_left_cta_dest_url,
.blog-content .callout_right_cta_dest_url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border-width: 1px;
  border-style: solid;
  padding: 8px 20px;
  font-family: var(--blog-font-1);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none !important;
  transition-property: color, background-color, border-color, text-decoration-color, fill,
    stroke;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-content .callout_left_cta_dest_url svg,
.blog-content .callout_right_cta_dest_url svg {
  stroke: currentColor;
}

.blog-content .callout_left_cta_dest_url {
  border-color: var(--callout-left-cta-bg-color);
  background-color: var(--callout-left-cta-bg-color);
  color: var(--callout-left-cta-text-color) !important;
}

.blog-content .callout_right_cta_dest_url {
  border-color: var(--callout-right-cta-bg-color);
  background-color: var(--callout-left-cta-bg-color);
  color: var(--callout-left-cta-text-color) !important;
}

.blog-content .callout_left_cta_dest_url:hover {
  cursor: pointer;
  background-color: var(--callout-left-cta-hover-bg-color);
  color: var(--callout-left-cta-hover-text-color) !important;
}

.blog-content .callout_right_cta_dest_url:hover {
  cursor: pointer;
  background-color: var(--callout-right-cta-hover-bg-color);
  color: var(--callout-right-cta-hover-text-color) !important;
}

.blog-content .callout_left {
  float: none;
  background-position: right bottom -3.5rem;
  background-repeat: no-repeat;
}

.blog-content .callout_left {
  background-image: url('data:image/svg+xml, <svg width="183" height="250" viewBox="0 0 183 250" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M227 19L19 231" stroke="white" stroke-width="52"/></svg>');
  background-size: 183px 250px;
  background-color: var(--callout-left-bg-color);
}

.blog-content .callout_right {
  float: none;
  background-image: url('data:image/svg+xml, <svg width="216" height="213" viewBox="0 0 216 213" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.7888 190.431L172.283 45.0587" stroke="white" stroke-width="62.6488"/><path d="M24.2398 32.2399L184.509 32.2399L184.509 192.509" stroke="white" stroke-width="62.6488"/></svg>');
  background-size: 213px;
  background-position: right 1rem bottom -2.25rem;
  background-repeat: no-repeat;
  background-color: var(--callout-right-bg-color);
}

.blog-content code,
.blog-content kbd,
.blog-content samp,
.blog-content pre {
  white-space: normal;
}

.blog-content code,
.blog-content kbd,
.blog-content samp,
.blog-content pre {
  font-family: var(--blog-font-3);
}

/* quote */
.blog-content .quote {
  margin: 32px 0px;
  background-color: var(--quote-bg-color);
  border-radius: 14px;
  border: 1px solid var(--quote-border-color);
  border-top: 8px solid var(--quote-border-color);
  padding: 32px 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  box-shadow: 0px 8px 48px -4px rgba(16, 24, 40, 0.08);
}

.blog-content .quote_wide_text {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.blog-content .quote_wide_source_name {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  margin-top: 16px;
  color: var(--quote-text-color);
}

.blog-content .quote_wide_source_title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-top: 8px;
  color: var(--quote-text-color);
}

/* key takeaways */
.blog-content #key-takeaways {
  margin-top: 1.75rem;
  border-radius: 14px;
  background-color: var(--key-takeaways-bg-color);
  background-position: left top;
  background-repeat: no-repeat;
  padding: 1rem;
  font-family: var(--blog-font-3);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--key-takeaways-text-color);
}

.blog-content .key_takeaways_cta_dest_url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border-width: 1px;
  padding: 8px 20px;
  font-family: var(--blog-font-1);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: normal;
  border-color: var(--key-takeaways-bg-color);
  background-color: var(--key-takeaways-cta-bg-color);
  color: var(--key-takeaways-cta-text-color) !important;
  text-decoration: none !important;
  transition-property: color, background-color, border-color, text-decoration-color, fill,
    stroke;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-content .key_takeaways_cta_dest_url:hover {
  cursor: pointer;
  background-color: var(--key-takeaways-cta-hover-bg-color);
  color: var(--key-takeaways-cta-hover-text-color) !important;
}

.blog-content .key_takeaways_cta_dest_url svg {
  stroke: currentColor;
}

.blog-content #key-takeaways {
  background-image: url('data:image/svg+xml, <svg width="334" height="342" viewBox="0 0 334 342" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M-312.211 525.208L285.589 -56.1098" stroke="white" stroke-width="137.578"/></svg>');
}

.blog-content #key-takeaways p:first-child {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-content #key-takeaways b,
.blog-content #key-takeaways strong {
  margin-bottom: 1rem;
  display: inline-block;
  font-family: var(--blog-font-2);
  font-size: 34px;
  line-height: 44px;
  font-weight: 400;
  text-transform: capitalize;
}

.blog-content #key-takeaways ul,
.blog-content #key-takeaways ol {
  max-width: 100%;
  list-style-type: disc;
  padding-left: 0;
}

.blog-content #key-takeaways ul li+li,
.blog-content #key-takeaways ol li+li {
  margin-top: 1rem;
  border-top-width: 1px;
  padding-top: 1rem;
  word-break: break-word;
}

.blog-content #key-takeaways ul:not(:last-child),
.blog-content #key-takeaways ol:not(:last-child) {
  margin-bottom: 24px;
}

/* references */
.blog-content #references {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  border-radius: 14px;
  background-color: var(--references-bg-color);
  background-position: right -3.5rem bottom -3.5rem;
  background-repeat: no-repeat;
  padding: 1rem;
  color: var(--references-text-color);
}

.blog-content #references {
  background-image: url('data:image/svg+xml, <svg width="324" height="318" viewBox="0 0 324 318" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27.3225 289.498L296.082 28.1486" stroke="white" stroke-width="77.58"/></svg>');
}

.blog-content #references b,
.blog-content #references strong {
  margin-bottom: 1rem;
  display: inline-block;
  font-family: var(--blog-font-2);
  font-size: 34px;
  line-height: 44px;
  font-weight: 400;
  text-transform: capitalize;
}

.blog-content #references a {
  word-break: break-word;
  color: var(--references-text-color);
  text-decoration-line: none;
}

.blog-content #references a:hover {
  text-decoration-line: underline;
}

.blog-content #references ul,
.blog-content #references ol {
  max-width: 100%;
  list-style-type: disc;
  padding-left: 0;
  word-break: break-word;
}

.blog-content #references ul li,
.blog-content #references ol li {
  margin-bottom: 0.75rem;
  border-bottom-width: 1px;
  border-bottom-color: var(--references-divider-color);
  padding-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .blog-wrapper {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .blog-wrapper .blog-content {
    width: 70%;
  }

  /* about company */
  .about_company_title {
    font-size: 42px;
    line-height: 32px;
  }

  /* toc */
  .blog-wrapper .flex-container #toc {
    position: sticky;
    bottom: auto;
    top: 6rem;
    display: block;
    height: auto;
    max-width: 350px;
    border: red 1px solid;
  }

  .blog-wrapper .flex-container #toc:not(.open) {
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
  }

  .blog-wrapper .flex-container #toc ul {
    height: auto;
  }

  .blog-wrapper .flex-container #toc b,
  .blog-wrapper .flex-container #toc strong {
    font-size: 42px;
    line-height: 52px;
  }

  /* summary */
  .blog-content #summary {
    margin-bottom: 3rem;
    padding: 0.75rem 1.75rem 1.25rem;
    font-size: 1rem;
    line-height: 1.75rem;
  }

  .blog-content #summary p {
    font-size: 1rem;
    line-height: 24px;
  }

  .blog-content #summary b,
  .blog-content #summary strong {
    font-size: 42px;
    line-height: 52px;
  }

  /* basic style */
  .blog-content h2 {
    margin-top: 3.5rem;
    font-size: 36px;
    line-height: 46px;
  }

  .blog-content h3 {
    margin-top: 1.25rem;
    font-size: 24px;
    line-height: 32px;
  }

  .blog-content p,
  .blog-content ul {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 24px;
  }

  /* callout */
  .blog-content .callout {
    font-size: 42px;
    line-height: 48px;
  }

  /* key takeaways */
  .blog-content #key-takeaways {
    margin-top: 3.5rem;
    font-weight: 500;
  }

  .blog-content #key-takeaways b,
  .blog-content #key-takeaways strong {
    font-size: 64px;
    line-height: 72px;
  }

  /* references */
  .blog-content #references {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
    padding: 1.5rem 2rem;
  }

  .blog-content #references b,
  .blog-content #references strong {
    font-size: 64px;
    line-height: 72px;
  }

  .blog-content #references ul,
  .blog-content #references ol {
    list-style-type: none;
  }

  .blog-content #references ul li,
  .blog-content #references ol li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 1115px) {

  /* callout */
  .blog-content .callout {
    width: 300px;
  }

  .blog-content .callout_left {
    float: left;
    margin-right: 1.5rem;
  }

  .blog-content .callout_right {
    float: right;
    margin-left: 1.5rem;
  }

  /* key takeaways*/
  .blog-content #key-takeaways {
    padding: 1.75rem;
  }
}

@media (min-width: 1280px) {
  .blog-wrapper {
    max-width: 90%;
  }

  .blog-wrapper .blog-content {
    width: 72.5%;
  }

  .blog-wrapper .flex-container {
    width: 26.5%;
    position: sticky;
    top: 6rem;
  }

  /* callout */
  .blog-content .callout_left {
    margin-right: 2.5rem;
  }

  .blog-content .callout_right {
    margin-left: 2.5rem;
  }

  /* key takeaways */
  .blog-content #key-takeaways {
    padding: 2.5rem;
  }

  .key_takeaways_cta_dest_url {
    padding: 12px 28px;
  }
}

.blog-wrapper {
  box-shadow: none !important;
}