.hero--home {
  width: 100%;
  height: 580px;
  display: flex;
  flex-direction: row;
  border-top: 10px solid var(--primary);
  border-bottom: 10px solid var(--primary);
}
.hero--home.admin {
  height: 500px;
}
.hero--home.admin .hero-slider .splide__slide:nth-child(n+2) {
  display: none;
}
.hero--home.admin a {
  pointer-events: none;
}
.hero--home .hero-image {
  display: flex;
  align-items: center;
  width: 66.6%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.hero--home .hero-image .hero-image__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--home .hero-image .hero-tagline {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--secondary);
  opacity: 0.8;
}
.hero--home .hero-image .hero-tagline a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
}
.hero--home .hero-image .hero-tagline a:hover {
  text-decoration: underline;
}
.hero--home .hero-slider {
  width: 33.3%;
}
.hero--home .hero-slider h2 {
  display: none;
}
.hero--home .hero-slider .hero-slider__splide {
  height: 100%;
}
.hero--home .hero-slider .splide__track {
  width: 100%;
  height: 100%;
}
.hero--home .hero-slider .splide__list {
  height: 100%;
  padding: 0;
  margin: 0;
}
.hero--home .hero-slider .splide__slide {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero--home .hero-slider .slide-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background-color: var(--secondary);
  height: 200px;
  width: 100%;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
}
.hero--home .hero-slider .slide-title a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.4rem;
}
.hero--home .hero-slider .slide-title .link--learn {
  text-transform: capitalize;
  font-weight: 700;
}
.hero--home .hero-slider .slide-image {
  position: relative;
  height: calc(100% - 200px);
}
.hero--home .hero-slider .slide-image img {
  display: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .hero--home {
    flex-direction: column;
    height: auto;
    border-bottom: none;
  }
  .hero--home .hero-image {
    width: 100%;
    height: 500px;
    border-bottom: 10px solid var(--primary);
  }
  .hero--home .hero-slider {
    width: 100%;
    padding: 0 16px;
    text-align: center;
    margin-bottom: 32px;
  }
  .hero--home .hero-slider h2 {
    display: block;
  }
  .hero--home .hero-slider__splide {
    width: 100%;
    height: 500px;
  }
}
.hero--home .weather-map {
  display: inline-block;
  position: relative;
  z-index: 2;
  background-color: rgba(251, 246, 228, 0.8);
  margin-top: -80px;
  padding: 8px;
  color: var(--secondary);
  text-align: center;
}
.hero--home .weather-map .icon--weather {
  font-size: 3rem;
}
.hero--home .weather-map .temp {
  font-size: 2.5rem;
  text-align: center;
}
.hero--home .weather-map .temp div:not(.ca-map) {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.hero--home .weather-map .ca-map img {
  width: 175px;
  height: auto;
}
@media (max-width: 900px) {
  .hero--home .weather-map {
    width: 120px;
  }
}
