/* ---------------------------------------------------------------------------- */
/*  Reech Theme Blocks Functions
/* 
/*  Uses Bootstrap functions that are needed to compile block styles, i.e. breakpoints.
/*  This saves compiling all BS files into each individual block CSS file.
/*
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Hex Code Background with Opacity - Use @include rgba-background(#000000, 0.5);
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Link Hover Transition
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Heading Style (uppercase and letter spacing)
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Letter Spacing
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Flex Controller
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Grid Controller
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Text Column Flex
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Ratio Flex Basis
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Font Awesome Styles
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Primary Animation Controllers
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Aspect Ratio Controller
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Border Bottom's
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Line Clamp
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Clamp min/max bounds
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme section base
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme image defaults
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme full height area
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Full height browser/window dependant
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme transitions
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Spacing top inset
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Grid Columns
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Ratio Flex Basis
/* ---------------------------------------------------------------------------- */
.post-content__aside {
  position: sticky;
  top: calc(var(--header-height) + var(--spacing-6));
  align-self: start;
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height) - var(--spacing-6) - var(--spacing-6));
}
.post-content__aside-heading {
  margin: 0 0 var(--spacing-4);
}
.post-content__nav, .post-content__related-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.post-content__nav {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.post-content__related {
  flex-shrink: 0;
  padding-top: var(--spacing-7);
}
.post-content__tab, .post-content__related-link {
  display: block;
  padding-left: var(--spacing-2);
  border-left: 1px solid transparent;
  transition: border-color var(--transition-speed-medium) var(--ease-standard), color var(--transition-speed-medium) var(--ease-standard);
}
.post-content__tab.is-active, .post-content__related-link.is-active {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  border-left-color: var(--color-primary);
}
.post-content__related-link:hover {
  color: var(--color-primary);
}
.post-content__aside-hint {
  opacity: 0.6;
}
.post-content__share {
  margin-top: auto;
  padding-top: var(--spacing-7);
}
.post-content__body {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: var(--spacing-5);
  align-content: start;
}
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) {
  display: contents;
}
.post-content__body * {
  margin: 0;
}
.post-content__body > :is(*),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(*) {
  grid-column: 3/-1;
}
.post-content__body > :is(h2.wp-block-heading),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(h2.wp-block-heading) {
  font-size: var(--wp--preset--font-size--insight-xl);
  scroll-margin-top: calc(var(--header-height) + var(--spacing-4));
}
.post-content__body > :is(h2.wp-block-heading:not(:first-child)),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(h2.wp-block-heading:not(:first-child)) {
  margin-top: var(--space-48);
}
.post-content__body > :is(.post-content-results, .post-content-case-study, .faqs-embed, [data-type="reech/post-content-results"], [data-type="reech/post-content-case-study"], [data-type="reech/faqs-embed"]),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.post-content-results, .post-content-case-study, .faqs-embed, [data-type="reech/post-content-results"], [data-type="reech/post-content-case-study"], [data-type="reech/faqs-embed"]) {
  margin-block: var(--spacing-6);
}
.post-content__body > :is(.post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]) {
  grid-column: 2/-1;
  margin-block: var(--space-64);
}
.post-content__body > :is(.post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]):last-child,
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]):last-child {
  margin-bottom: 0;
}
.post-content__body > :is(.post-content-carousel, [data-type="reech/post-content-carousel"]),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.post-content-carousel, [data-type="reech/post-content-carousel"]) {
  grid-column: 1/-1;
}
.post-content__body > :is(.post-content-cta, [data-type="reech/post-content-cta"]),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.post-content-cta, [data-type="reech/post-content-cta"]) {
  grid-column: 3/-1;
}
.post-content__body > :is(.wp-block-image),
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.wp-block-image) {
  width: 100%;
  margin-inline: 0 !important;
}
.post-content__body > :is(.wp-block-image) img,
.post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.wp-block-image) img {
  width: 100% !important;
  height: auto !important;
}
.post-content__apply {
  margin-top: var(--space-48);
}
@media (max-width: 1279.98px) {
  .post-content {
    padding-top: var(--spacing-8);
  }
  .post-content__inner {
    row-gap: var(--spacing-5);
  }
  .post-content__aside {
    position: static;
    grid-column: 1/-1;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .post-content__aside > .post-content__aside-heading, .post-content__nav, .post-content__aside-hint {
    display: none;
  }
  .post-content__related {
    order: 1;
    padding-top: var(--spacing-6);
  }
  .post-content__related .post-content__aside-heading {
    margin-bottom: var(--spacing-4);
  }
  .post-content__share {
    flex-direction: row;
    margin-top: 0;
    padding-top: 0;
  }
  .post-content__body {
    grid-column: 1/-1;
  }
  .post-content__body > :is(*, .post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]),
  .post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(*, .post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]) {
    grid-column: 1/-1;
  }
  .post-content__body > :is(.post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]),
  .post-content__body > :is(.acf-innerblocks-container, .block-editor-inner-blocks) > :is(.post-content-media, .post-content-carousel, .post-content-cta, .wp-block-image, [data-type="reech/post-content-media"], [data-type="reech/post-content-carousel"], [data-type="reech/post-content-cta"]) {
    margin-block: var(--space-32);
  }
}