/* Campaign Hero Block Styles */

.finserv_grey {
  background: #EFF3F4;
}

.finserv_header {
  background-position: center center;
  background-size: cover;
  color: #fff;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .finserv_header {
    min-height: unset;
  }
}

.header_slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.header_slider .slide {
  width: 100%;
  height: 100%;
}

.header_slider div {
  height: 100%;
}

.slick-slide div {
  width: 100%;
}

.header_slider .desktop {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
}

.header_slider .mobile {
  display: none;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
}

@media only screen and (max-width: 768px) {
  .header_slider .desktop {
    display: none;
  }
  .header_slider .mobile {
    display: block;
  }
}

.finserv_header .background {
  background: #0C577E;
  background: linear-gradient(
    177deg,
    rgba(12, 87, 126, 0.87) 3%,
    rgba(8, 83, 122, 0) 71%,
    rgba(17, 19, 35, 50%) 88%,
    rgba(19, 38, 56, 0.68) 100%
  );
}

.finserv_header .background .container .row {
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 768px) {
  .finserv_header .background .container .row {
    min-height: unset;
  }
}

.finserv_header .background .container .row > * {
  flex: 0; /* Don't grow */
}

.finserv_header .background .container .row > *:last-child {
  flex: 1; /* Only the last item expands */
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.header-title {
  max-width: 630px;
}

.finserv_header h1 {
  font-weight: 700;
  font-size: 50px;
  line-height: 58px;
  color: #fff;
}

.finserv_header h2 {
  font-weight: 700;
  font-size: 50px;
  line-height: 54px;
  color: #ffffff;
}

.header-intro {
  max-width: 798px;
  margin: 0 auto;
}

.header-intro p {
  color: white;
    font-size: 24px;
    line-height: 30px;
}

/* Mobile fonts */
@media only screen and (max-width: 768px) {
  .finserv_header h1 {
    font-size: 45px;
    line-height: 49px;
  }
  .finserv_header h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 44px;
  }
  .header-intro {
    font-size: 25px;
    line-height: 30px;
  }
}
