/* -------------------------------- 

File#: _2_feature-v8
Title: Feature v8
Descr: A section containing a list of features
Usage: codyhouse.co/license

-------------------------------- */

/* variables */
:root {
  /* colors */
  --fs9-color-primary-hsl: 250, 84%, 54%;
  --fs9-color-bg-hsl: 0, 0%, 100%;
  --fs9-color-contrast-high-hsl: 230, 7%, 23%;
  --fs9-color-contrast-higher-hsl: 230, 13%, 9%;
  --fs9-color-contrast-lower-hsl: 240, 4%, 85%;
  --fs9-color-contrast-medium-hsl: 225, 4%, 47%;
  --fs9-color-accent-hsl: 342, 89%, 48%;

  /* spacing */
  --fs9-space-sm: 0.75rem;
  --fs9-space-md: 1.25rem;
  --fs9-space-lg: 2rem;
  --fs9-space-xl: 3.25rem;
  --fs9-space-2xl: 5.25rem;
  --fs9-space-xs: 0.5rem;

  /* typography */
  --fs9-text-sm: 0.833rem;
  --fs9-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --fs9-space-sm: 1.125rem;
    --fs9-space-md: 2rem;
    --fs9-space-lg: 3.125rem;
    --fs9-space-xl: 5.125rem;
    --fs9-space-2xl: 8.25rem;
    --fs9-space-xs: 0.75rem;

    /* typography */
    --fs9-text-sm: 1rem;
    --fs9-text-sm: 1rem;
  }
}

/* component */
:root {
  --feature-v8-gap: var(--fs9-space-xl);
}

.feature-v8 {
  position: relative;
  z-index: 1;
}

.feature-v8__main-content {
  padding-bottom: calc(var(--feature-v8-gap) * 2);
}

.feature-v8__sub-content {
  margin-top: calc(var(--feature-v8-gap) * -1);
}

/* utility classes */
.fs9-text-component :where(h1, h2, h3, h4) {
  line-height: var(--fs9-heading-line-height, 1.2);
  margin-top: calc(var(--fs9-space-md) * var(--fs9-space-multiplier, 1));
  margin-bottom: calc(var(--fs9-space-sm) * var(--fs9-space-multiplier, 1));
  color: var(--color-bg-light);
}

.fs9-text-component :where(p, blockquote, ul li, ol li) {
  line-height: var(--fs9-body-line-height, 1.4);
}

.fs9-text-component :where(ul, ol, p, blockquote, .fs9-text-component__block) {
  margin-bottom: calc(var(--fs9-space-sm) * var(--fs9-space-multiplier, 1));
}

.fs9-text-component :where(ul, ol) {
  padding-left: 1.25em;
}

.fs9-text-component ul :where(ul, ol), .fs9-text-component ol :where(ul, ol) {
  padding-left: 1em;
  margin-bottom: 0;
}

.fs9-text-component ul {
  list-style-type: disc;
}

.fs9-text-component ol {
  list-style-type: decimal;
}

.fs9-text-component img {
  display: block;
  margin: 0 auto;
}

.fs9-text-component figcaption {
  margin-top: calc(var(--fs9-space-xs) * var(--fs9-space-multiplier, 1));
  font-size: var(--fs9-text-sm);
  text-align: center;}

.fs9-text-component em {
  font-style: italic;
}

.fs9-text-component strong {
  font-weight: bold;
}

.fs9-text-component s {
  text-decoration: line-through;
}

.fs9-text-component u {
  text-decoration: underline;
}

.fs9-text-component mark {
  background-color: hsla(var(--fs9-color-accent-hsl), 0.2);
  color: inherit;
}

.fs9-text-component blockquote {
  padding-left: 1em;
  border-left: 4px solid hsl(var(--fs9-color-contrast-lower-hsl));
  font-style: italic;
}

.fs9-text-component hr {
  margin: calc(var(--fs9-space-md) * var(--fs9-space-multiplier, 1)) auto;
  background: hsl(var(--fs9-color-contrast-lower-hsl));
  height: 1px;
}

.fs9-text-component > *:first-child {
  margin-top: 0;
}

.fs9-text-component > *:last-child {
  margin-bottom: 0;
}

.fs9-text-component.fs9-line-height-xs {
  --fs9-heading-line-height: 1;
  --fs9-body-line-height: 1.1;
}

.fs9-text-component.fs9-line-height-sm {
  --fs9-heading-line-height: 1.1;
  --fs9-body-line-height: 1.2;
}

.fs9-text-component.fs9-line-height-md {
  --fs9-heading-line-height: 1.15;
  --fs9-body-line-height: 1.4;
}

.fs9-text-component.fs9-line-height-lg {
  --fs9-heading-line-height: 1.22;
  --fs9-body-line-height: 1.58;
}

.fs9-text-component.fs9-line-height-xl {
  --fs9-heading-line-height: 1.3;
  --fs9-body-line-height: 1.72;
}

.fs9-margin-bottom-sm {
  margin-bottom: var(--fs9-space-sm);
}

.fs9-color-contrast-medium {
  --fs9-color-o: 1;
  color: var(--color-bg-darker);
}

.fs9-text-sm {
  font-size: var(--fs9-text-sm);
}

.fs9-padding-sm {
  padding: var(--fs9-space-sm);
  background-color: var(--color-contrast-medium);
}

.fs9-radius-lg {
  border-radius: 0.5em;
}

.fs9-bg {
  --fs9-bg-o: 1;
  background-color: hsla(var(--fs9-color-bg-hsl), var(--fs9-bg-o, 1));
}

.fs9-gap-y-lg {
  row-gap: var(--fs9-space-lg);
}

.fs9-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.fs9-grid > * {
  min-width: 0;
  grid-column-end: span 12;
}

.fs9-max-width-adaptive-md {
  max-width: 32rem;
}

@media(min-width: 48rem) {
  .fs9-max-width-adaptive-md {
    max-width: 48rem;
  }
}

@media(min-width: 64rem) {
  .fs9-max-width-adaptive-md {
    max-width: 64rem;
  }
}

.fs9-container {
  width: calc(100% - 2*var(--fs9-space-md));
  margin-left: auto;
  margin-right: auto;
}

.fs9-gap-y-sm {
  row-gap: var(--fs9-space-sm);
}

.fs9-padding-top-2xl {
  padding-top: var(--fs9-space-2xl);
}

.fs9-bg-contrast-lower {
  --fs9-bg-o: 1;
  background-color: var(--color-accent-dark);
}

.fs9-padding-bottom-2xl {
  padding-bottom: var(--fs9-space-2xl);
}

.fs9-max-width-adaptive-lg {
  max-width: 32rem;
}
.fs9-text-component h1{
    color: var(--color-bg-light);
}

@media(min-width: 48rem) {
  .fs9-max-width-adaptive-lg {
    max-width: 48rem;
  }
}

@media(min-width: 64rem) {
  .fs9-max-width-adaptive-lg {
    max-width: 64rem;
  }
}

@media(min-width: 80rem) {
  .fs9-max-width-adaptive-lg {
    max-width: 80rem;
  }
}

.fs9-gap-md {
  gap: var(--fs9-space-md);
}

.fs9-bg-opacity-50\% {
  --fs9-bg-o: 0.5;
}

@media(min-width: 48rem){
  .fs9-gap-lg\@sm {
    gap: var(--fs9-space-lg);
  }

  .fs9-col-6\@sm {
    grid-column-end: span 6;
  }
}

@media(min-width: 64rem){
  .fs9-gap-lg\@md {
    gap: var(--fs9-space-lg);
  }

  .fs9-col-start-7\@md {
    grid-column-start: 8;
  }

  .fs9-col-6\@md {
    grid-column-end: span 6;
  }

  .fs9-col-5\@md {
    grid-column-end: span 5;
  }

  .fs9-col-4\@md {
    grid-column-end: span 4;
  }
}