/* Colours */
/* Typography */
/* Needed to use an obscure value as the default value for the 'when' to check for. Initially the default for all directions was '0', but this became a problem when the Top & Right values were greater than 0, but the Bottom & Left values were set as 0. Instead of taking the 0 value, the mixin would detect the 0 values and set the Bottom & Left values as the Top & Right values. Also, when trying to use 'auto' as the default value in the mixin, compiler errors would come up. Also tried a value like '0%', but it would be recognized as 0. That's why I'm using an obscure default value like -0.01. */
/* Colour Swatches */
.colour {
  width: 16em;
}
.colour p {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 24px;
  line-height: 2.4rem;
  border-bottom: 1px solid #d3cfcd;
  padding: 5px 10px 5px 10px;
  padding: 0.5rem 1rem 0.5rem 1rem;
  color: #49423f;
}
.colour p:last-of-type {
  border: none;
}
.colour.colour--secondary {
  width: 10em;
}

.colour__swatch {
  height: 0;
  padding-bottom: 100%;
  display: block;
}

/* File Downloads */
.download p {
  padding: 0;
}
.download .download__thumbnail {
  padding: 15px 15px 15px 15px;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}
.download .download__actions {
  padding: 10px 10px 10px 10px;
  padding: 1rem 1rem 1rem 1rem;
}
.download .btn {
  width: 100%;
}

/* Typography Sample */
.type_sample {
  width: 100%;
}
.type_sample .type_sample__content {
  padding: 10px 10px 10px 10px;
  padding: 1rem 1rem 1rem 1rem;
}
.type_sample .type_sample__content p:last-of-type {
  padding: 0;
}
.type_sample .type_sample__usage,
.type_sample .type_sample__properties {
  font-size: 16px;
  font-size: 1.6rem;
  padding: 10px 10px 10px 10px;
  padding: 1rem 1rem 1rem 1rem;
  border-top: 1px solid #d3cfcd;
  color: #49423f;
}
.type_sample .type_sample__usage p:last-of-type {
  padding: 0;
}
.type_sample .type_sample__properties span {
  display: block;
}
.type_sample.text--large .type_sample__content p {
  font-size: 22px;
  font-size: 2.2rem;
}
@media (min-width: 1025px) {
  .type_sample .type_sample__properties {
    display: flex;
  }
  .type_sample .type_sample__properties span {
    display: inline-block;
    flex: 1 0 33.33%;
  }
}

.colour,
.download,
.type_sample {
  border: 1px solid #d3cfcd;
  border-radius: 4px;
  margin: 0px 24px 24px 0px;
  margin: 0rem 2.4rem 2.4rem 0rem;
  display: inline-block;
}
.colour > h3,
.download > h3,
.type_sample > h3 {
  font-weight: 800;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 24px;
  line-height: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px 5px 10px;
  padding: 0.5rem 1rem 0.5rem 1rem;
  border-bottom: 1px solid #d3cfcd;
  color: #7F746F;
}

.page__content figure.wp-block-image {
  border-radius: 4px;
  border: 1px solid #d3cfcd;
}
.page__content figure.wp-block-image img {
  border-radius: 4px 4px 0 0;
  width: 100%;
}
.page__content figure.wp-block-image figcaption {
  margin: 0;
  padding: 10px 10px 10px 10px;
  padding: 1rem 1rem 1rem 1rem;
  border-top: 1px solid #d3cfcd;
  color: #49423f;
  border-radius: 0 0 4px 4px;
}
.page__content figure.wp-block-image.img--circle {
  border: none;
}
.page__content figure.wp-block-image.img--circle img {
  border-radius: 50%;
}
.page__content figure.wp-block-image.figure--dont figcaption {
  background-color: rgba(255, 65, 54, 0.4);
}