
/** inline content banners (blog, pages, services) **/

.content-banner{
  position: relative;
  display: block;
  clear: both;
}

.content-banner__card{
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.08);
  padding: 32px;
}

.content-banner__image{
  position: relative;
  flex: 0 0 140px;
  margin: 0;
}

.content-banner__image img{
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.content-banner__body{
  position: relative;
  flex: 1;
}

.content-banner__title{
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 10px;
}

.content-banner__subtitle{
  font-size: 16px;
  line-height: 26px;
  color: var(--text-color);
  margin-bottom: 20px;
}

.content-banner__actions{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.content-banner__bar{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 32px 40px;
}

.content-banner__bar .content-banner__title{
  color: #fff;
  margin-bottom: 8px;
}

.content-banner__bar .content-banner__subtitle{
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.content-banner__bar .content-banner__actions{
  flex-shrink: 0;
}

@media only screen and (max-width: 767px){
  .content-banner__card{
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .content-banner__actions{
    justify-content: center;
  }

  .content-banner__bar{
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}
