/* blog-case-studies.css - additions for template-parts/sliders/slider-blog-case-studies.php.
 * Loaded by the part itself, after homepage.css / new-sell.css / buy.css,
 * which supply the base slider styles. Everything here applies only when at
 * least one card has a label or result line (.blog-case-studies--details),
 * so carousels without them look exactly as before.
 */

/* homepage.css sizes the image as 75% of the card, and the card is a flex
   column, so the image shrank by however much text sat under it and cards
   ended up with different image heights. Give the image a fixed height and
   size the slider (slides are absolutely positioned) to fit image + text. */
.blog-case-studies--details .blog-case-studies__image {
  flex-shrink: 0;
  height: 18rem;
}
.blog-case-studies--details .blog-case-studies__slider {
  height: 32rem;
}
@media screen and (min-width: 1750px) {
  .blog-case-studies--details .blog-case-studies__image {
    height: 21rem;
  }
  .blog-case-studies--details .blog-case-studies__slider {
    height: 35rem;
  }
}
@media screen and (max-width: 768px) {
  .blog-case-studies--details .blog-case-studies__image {
    height: 17rem;
  }
  .blog-case-studies--details .blog-case-studies__slider {
    height: 31rem;
  }
}
@media screen and (max-width: 480px) {
  .blog-case-studies--details .blog-case-studies__image {
    height: 13rem;
  }
  .blog-case-studies--details .blog-case-studies__slider {
    height: 30rem;
  }
}

.blog-case-studies__label {
  margin: 1rem 0 0.25rem;
  color: #AF5B5B;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.blog-case-studies__result {
  max-width: 34rem;
  margin: 0.5rem auto 0;
  color: #232323;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.5;
}
