/******************************************************************
Site Name:
Author:

Stylesheet: Variables

Here is where we declare all our variables like colors, fonts,
base values, and defaults. We want to make sure this file ONLY
contains variables that way our files don't get all messy.
No one likes a mess.

******************************************************************/
/*********************
COLORS
*********************/
/*********************
FONTS
*********************/
.upcoming-events-carousel {
  padding: 2rem 1rem;
  max-width: 1150px;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
}
@media (min-width: 768px) {
  .upcoming-events-carousel {
    padding: 3rem 0;
  }
}
.upcoming-events-carousel__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-bottom: 1.5rem;
  gap: 2rem;
}
@media (max-width: 768px) {
  .upcoming-events-carousel__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.upcoming-events-carousel__heading-wrap {
  text-align: left;
}
.upcoming-events-carousel__heading {
  font-family: "Montserrat", sans-serif;
  font-size: 2.25rem;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.upcoming-events-carousel__intro {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  max-width: 640px;
}
.upcoming-events-carousel__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.upcoming-events-carousel__nav > .prevArrow,
.upcoming-events-carousel__nav > .nextArrow {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  cursor: pointer;
  z-index: 2;
  background: #0572BA;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 35px;
  height: 35px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.upcoming-events-carousel__nav > .prevArrow svg path,
.upcoming-events-carousel__nav > .nextArrow svg path {
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
@media only screen and (min-width: 768px) {
  .upcoming-events-carousel__nav > .prevArrow,
  .upcoming-events-carousel__nav > .nextArrow {
    width: 36px;
    height: 36px;
  }
  .upcoming-events-carousel__nav > .prevArrow svg,
  .upcoming-events-carousel__nav > .nextArrow svg {
    width: 46px;
    height: 46px;
  }
}
.upcoming-events-carousel__nav > .prevArrow:hover,
.upcoming-events-carousel__nav > .nextArrow:hover {
  background: #fff;
}
.upcoming-events-carousel__nav > .prevArrow:hover svg path,
.upcoming-events-carousel__nav > .nextArrow:hover svg path {
  stroke: #0572BA;
}
.upcoming-events-carousel__nav .prevArrow {
  -webkit-transform: scaleX(-1);
      -ms-transform: scaleX(-1);
          transform: scaleX(-1);
}
.upcoming-events-carousel__carousel .slick-list {
  padding-top: 20px;
  padding-bottom: 20px;
}
.upcoming-events-carousel__carousel .slick-slide {
  margin-left: 5px;
  margin-right: 5px;
}
.upcoming-events-carousel__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  min-height: 360px;
}
.upcoming-events-carousel__item:hover {
  -webkit-transform: translateY(-4px);
      -ms-transform: translateY(-4px);
          transform: translateY(-4px);
}
.upcoming-events-carousel__item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.upcoming-events-carousel__item a .upcoming-events-carousel__info {
  padding: 1rem;
}
.upcoming-events-carousel__item a .upcoming-events-carousel__info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #02416b;
}
.upcoming-events-carousel__item a .upcoming-events-carousel__info .upcoming-events-carousel__date {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: #006633;
  font-weight: bold;
  margin-bottom: 0.75rem;
}
.upcoming-events-carousel__item a .upcoming-events-carousel__info .upcoming-events-carousel__learn-more {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  color: #006633;
  text-align: right;
}
.upcoming-events-carousel__item img {
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
}
.upcoming-events-carousel__footer {
  text-align: center;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .upcoming-events-carousel__footer {
    text-align: right;
  }
}
.upcoming-events-carousel__button {
  cursor: pointer;
  text-align: center;
  border: 3px solid #02416b;
  background: transparent;
  color: #02416b;
  font-family: "Montserrat", sans-serif;
  margin: 1em auto 0;
  font-weight: 600;
  font-size: 1em;
  border-radius: 5px;
  padding: 0.5em 1.5em;
  display: inline-block;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.upcoming-events-carousel__button:hover {
  border: 3px solid #35a8f3;
  background: #35a8f3;
  color: #fff;
}