.moodie {
  position: relative;
}

.moodie--compact {
  position: relative;
  height: 325px;
}

.moodie--compact::after {
  content: '';
  height: 325px;
  width: 48%;
  background-color: var(--graphic-color);
  position: absolute;
  inset: 0 0 auto auto;
  clip-path: path('M0.46875 327H699V0H343.814C199.729 68.1138 77.8418 181.41 0.46875 327Z');
}

.moodie--compact .moodie__content {
  padding-top: 0;
  padding-bottom: 0;
}

.moodie--compact .moodie__inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.moodie__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.moodie__content {
  padding: var(--offset-y) var(--offset-x);
  box-sizing: border-box;
}

.moodie__title {
  font-size: 51px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  position: relative;
  padding: 20px 0;
  z-index: 1;
}

.moodie__title::before,
.moodie__title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  position: absolute;
  left: 0;
  background-color: currentColor;
}

.moodie__title::before {
  top: 0;
}

.moodie__title::after {
  bottom: 0;
}

.moodie__body {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.moodie__link {
  margin-top: 40px;
}

@media (min-width: 651px) {
  .moodie__body {
    font: var(--tall);
    font-weight: 400;
  }
}

@media (max-width: 650px) {
  .moodie__title {
    font-size: 30px;
  }
  
  .moodie__body {
    font: var(--short);
  }
}

@media (min-width: 651px) and (max-width: 1024px) {
  .moodie--compact .moodie__content {
    max-width: 70%;
  }

  .moodie__content {
    max-width: 60%;
  }

  .moodie__title {
    font-size: 38px;
  }
}

@media (min-width: 1125px) {
  .moodie--compact .moodie__content {
    max-width: 50%;
  }
}

@media (min-width: 1440px) {
  .moodie__content {
    margin: 0 0 0 var(--gutter);
  }
}

@media (min-width: 1025px) and (max-width: 1439px){
  .moodie__content {
    max-width: 60%;
  }

  .moodie__title {
    font-size: 48px;
  }
}

