/**
 * Blog Hero Section Styles
 *
 * Styles for the blog hero section with title, subtitle, and featured posts carousel.
 *
 * @package PhilFred
 */

/* Blog Hero Section */
@media (max-width: 75rem) {
  .blog-hero {
    padding-top: 236px;
  }
}

@media (max-width: 75rem) and (max-width: 1440px) {
  .blog-hero {
    padding-top: calc(116px + 120 * (100vw - 390px) / 1050);
  }
}

.blog-hero__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (max-width: 75rem) {
  .blog-hero__body {
    gap: 34px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
}

@media (max-width: 75rem) and (max-width: 1440px) {
  .blog-hero__body {
    gap: calc(32px + 2 * (100vw - 390px) / 1050);
  }
}

@media (max-width: 75rem) {
  .blog-hero__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media (min-width: 75rem) {
  .blog-hero__info {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 19.0625rem;
    flex: 0 0 19.0625rem;
  }
}

.blog-hero__title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 104%;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

@media (max-width: 1440px) {
  .blog-hero__title {
    font-size: calc(38px + 12 * (100vw - 390px) / 1050);
  }
}

.blog-hero__subtitle {
  max-width: 16.25rem;
}

.blog-hero__subtitle p:not(:last-child) {
  margin-bottom: 0.9375rem;
}

.blog-hero__subtitle span {
  color: #e5193a;
}

/* Actions Blog Hero (Carousel Container) */
.actions-blog-hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-width: 0;
}

@media (min-width: 75rem) {
  .actions-blog-hero {
    overflow: hidden;
    padding-top: 236px;
    padding-inline: 1.25rem;
  }
}

@media (min-width: 75rem) and (max-width: 1440px) {
  .actions-blog-hero {
    padding-top: calc(116px + 120 * (100vw - 390px) / 1050);
  }
}

.actions-blog-hero__swiper {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.actions-blog-hero__nav {
  margin-left: auto;
}

/* Nav Swiper (Shared with other carousels) */
.nav-swiper {
  margin-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

@media (max-width: 1440px) {
  .nav-swiper {
    margin-top: calc(14px + -4 * (100vw - 390px) / 1050);
  }
}

.nav-swiper__button {
  display: inline-block;
  border: 0.0625rem dashed #fff;
  color: #fff;
  height: 2.4375rem;
  width: 2.4375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

@media (any-hover: hover) {
  .nav-swiper__button:hover {
    border-color: #e5193a;
    color: #e5193a;
  }
}

.nav-swiper__button-dark {
  background: #1d1d1d;
}

.nav-swiper__button-next {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
