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

File#: _1_read-more
Title: Read More
Descr: A truncated paragraph with the option of reading more content
Usage: codyhouse.co/license

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

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}



table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

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

  /* spacing */
  --rh9-space-md: 1.25rem;
  --rh9-space-sm: 0.75rem;
  --rh9-space-xs: 0.5rem;

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

@media(min-width: 64rem){
  :root {
    /* spacing */
    --rh9-space-md: 2rem;
    --rh9-space-sm: 1.125rem;
    --rh9-space-xs: 0.75rem;

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

/* component */
.read-more {
  opacity: 0;
}

.read-more--loaded {
  opacity: 1;
}

.read-more__btn {
  background-color: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  color: hsl(var(--rh9-color-primary-hsl));
  text-decoration: underline;
}

/* utility classes */
.rh9-hide {
  display: none !important;
}

.rh9-text-component :where(h1, h2, h3, h4) {
  line-height: var(--rh9-heading-line-height, 1.2);
  margin-top: calc(var(--rh9-space-md) * var(--rh9-space-multiplier, 1));
  margin-bottom: calc(var(--rh9-space-sm) * var(--rh9-space-multiplier, 1));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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