/**
* Homepage carousel
*/

.homepage-carousel {
  margin-top: 40px;
}

.homepage-carousel .owl-carousel .owl-stage,
.homepage-carousel .owl-carousel .owl-stage .owl-item {
	display:flex;
  height:100%
}

.homepage-carousel .owl-carousel .owl-stage-outer {
  padding-bottom: 40px;
}

.homepage-carousel .owl-carousel .owl-stage .owl-inner-item {
  height:100%;
  display: flex;
  flex-direction: column;
  background: white;
  -webkit-box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.1);
  border-radius:5px
}

.homepage-carousel .owl-item .post-article {
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.homepage-carousel .owl-item .button {
  margin-top:auto;
  margin-bottom:40px;
  margin-left: 40px;
  padding:12px 12px
}

.homepage-carousel .post-title {
  margin-top:0;
}

.homepage-carousel .post-title a {
  font-weight: 800;
  text-decoration: none;
  font-size: 20px;
}

.homepage-carousel .post-summary {
	font-size: 13px;
  line-height: 1.9em;
  margin-bottom: 0
}

/**
* Service content 2
*/

.hero.service-content-2 {
  padding-top:80px;
}

.service-content-2 .hero-content {
  grid-template-columns: 1fr 2fr;
}

/**
* Homepage blog section
*/

.homepage-blog-section .small-title ,
.homepage-blog-section .large-title ,
.homepage-blog-section .content-text,
.homepage-blog-section .call-to-actions {
  text-align: center;
}

.homepage-blog-section .line {
  margin-bottom: 20px;
}

.homepage-blog-section .call-to-actions {
  margin-top: 20px;
  text-align: center;
}

/**
* Newsletter
*/

.newsletter-wrap {
  background:#e6faff;
  padding: 80px 0;
}

.newsletter-inner {
  display: grid;
  gap:20px;
  align-items: center;
  position: relative;
  z-index: 1;
  grid-template-columns: 4fr 3fr;
  align-items: flex-start;
}

.newsletter-inner .newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-inner .newsletter-text {
  order:2;
  margin: 40px 0 0 0;
}

.newsletter-inner .newsletter-text .subscribe-result {
  margin-bottom: 0;
}

.newsletter-inner .mc-subscribe {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width:100%; margin:auto
}

@media (max-width: 992px) {

  .newsletter-inner,
  .service-content-2 .hero-content {
    grid-template-columns: 1fr;
  }

  .newsletter-wrap {
    padding-bottom: 40px;
  }

}