/*
Converts a pixel value to matching rem value. *Any* value passed, regardless of unit, is assumed to be a pixel value. By default, the base pixel value used to calculate the rem value is taken from the `$global-font-size` variable.
@access private
@param {Number} $value - Pixel value to convert.
@param {Number} $base [null] - Base for pixel conversion.
@returns {Number} A number in rems, calculated based on the given value and the base pixel value. rem values are passed through as is.
*/
/*
Removes the unit (e.g. px, em, rem) from a value, returning the number only.
@param {Number} $num - Number to strip unit from.
@returns {Number} The same number, sans unit.
*/
/*
Converts one or more pixel values into matching rem values.
@param {Number|List} $values - One or more values to convert. Be sure to separate them with spaces and not commas. If you need to convert a comma-separated list, wrap the list in parentheses.

@param {Number} $base [null] - The base value to use when calculating the `rem`. If you're using Foundation out of the box, this is 16px. If this parameter is `null`, the function will reference the `$base-font-size` variable as the base.

@returns {List} A list of converted values.
*/
/**
 * Contrast
 */
/*
* Fluid Type function
*/
/**
*	Basic link hover function
*/
.block-blog-slider {
  padding: 2.5rem 0;
  overflow: hidden;
}
@media (min-width: 992px) {
  .block-blog-slider {
    padding: 6rem 0;
  }
}
.block-blog-slider .swiper {
  overflow: visible;
  position: relative;
}
.block-blog-slider .swiper:before {
  content: "";
  background: inherit;
  position: absolute;
  left: -50%;
  right: 100%;
  top: 0;
  bottom: 0;
  z-index: 2;
}
.block-blog-slider .swiper .post-card__row {
  box-sizing: border-box;
}
.block-blog-slider .swiper .post-card {
  height: 250px;
}
.block-blog-slider .swiper-wrapper {
  position: relative;
}
.block-blog-slider .swiper-wrapper:before {
  content: "";
  transition: opacity 0.5s;
  border: 4px solid #072E41;
  border-radius: 5rem;
  height: 2rem;
  width: 2rem;
  position: absolute;
  border-right-color: transparent;
  opacity: 0;
  animation: 1s linear infinite spinner-border;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.block-blog-slider .swiper-wrapper .swiper-slide {
  transition: opacity 0.5s;
  opacity: 1;
}
.block-blog-slider.loading .swiper-wrapper:before {
  opacity: 1;
}
.block-blog-slider.loading .swiper-wrapper .swiper-slide {
  opacity: 0.4;
  pointer-events: none;
}
.block-blog-slider.loading .block-blog-slider__actions {
  opacity: 0.5;
  pointer-events: none;
}
.block-blog-slider.bg--tertiary .swiper:before {
  background-color: #F3EEE3;
}
.block-blog-slider__pre-heading {
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.block-blog-slider .heading {
  max-width: 200px;
  margin-bottom: 1.875rem;
}
@media (min-width: 576px) {
  .block-blog-slider .heading {
    max-width: 250px;
  }
}
@media (min-width: 768px) {
  .block-blog-slider .heading {
    max-width: unset;
    margin-bottom: 3.5rem;
  }
}
.block-blog-slider__actions {
  align-items: start;
  justify-content: flex-end;
  display: flex;
  padding-right: 3rem;
  margin-top: 24px;
}
@media (min-width: 576px) {
  .block-blog-slider__actions {
    justify-content: flex-start;
    padding-right: 0;
  }
}
.block-blog-slider .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.block-blog-slider .categories .category {
  background-color: #E2BB65;
  border-radius: 5rem;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
}
.block-blog-slider .categories .category:hover {
  background-color: #27969C;
  color: #fff;
}
.block-blog-slider .categories .category.active {
  background-color: #072E41;
  color: #fff;
}
.block-blog-slider .controls {
  align-items: center;
  justify-content: flex-end;
  display: flex;
  flex-shrink: 0;
  border-left: 1px solid #d9d9d9;
  padding-left: 16px;
  margin-left: 16px;
}
.block-blog-slider .swiper-navigation {
  display: none;
  gap: 0.5rem;
}
@media (min-width: 576px) {
  .block-blog-slider .swiper-navigation {
    display: flex;
  }
}
.block-blog-slider .swiper-navigation .swiper-control {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(7, 46, 65, 0.2);
  background: transparent;
  color: #072E41;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.block-blog-slider .swiper-navigation .swiper-control:hover {
  border-color: #D4AB5A;
  background: rgba(212, 171, 90, 0.08);
}
.block-blog-slider .swiper-navigation .swiper-control.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}
.block-blog-slider .more {
  font-weight: 500;
  color: #072E41;
  text-decoration: underline;
  margin-left: 1rem;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}
.block-blog-slider .more:hover {
  color: #000;
}

@keyframes spinner-border {
  to {
    transform: translate(-50%, -50%) rotate(360deg) /* rtl:ignore */;
  }
}
