/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*
 * Common CTA styles
 */
.muotolevy-cta-button-wrap {
  text-align: center;
}

.cta-textarea-wrap {
  background-color: #fbaf00;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 18px 0;
  font-weight: 600;
}

.cta-textarea-wrap .cta-textbox {
  font-size: 24px;
  font-weight: 600;
  width: 60%;
  padding: 18px;
}

.cta-textarea-wrap .muotolevy-cta-button-wrap {
  width: 40%;
  text-align: center;
}
.muotolevy-cta-button {
  display: inline-block;
  text-align: center;
}
.muotolevy-cta-button,
.muotolevy-cta-button:hover,
.muotolevy-cta-button:focus,
.muotolevy-cta-button:active {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.cta-textarea-wrap .muotolevy-cta-button,
.muotolevy-cta-button:hover {
  background-color: #fff;
  color: #fbaf00;
  border: 1px solid #fbaf00;
}

.muotolevy-cta-button,
.cta-textarea-wrap .muotolevy-cta-button:hover {
  background-color: #fbaf00;
  color: #fff;
  border-radius: 50px;
  border: 1px solid #fff;
  box-shadow: none !important;
}

/*
 * S size CTA styles
 */
.muotolevy-cta-button-wrap_size_s {
  margin: 20px 0;
}

.muotolevy-cta-button_size_s {
  font-size: 15px;
  padding: 5px 15px;
}

/*
 * M size CTA styles
 */
.muotolevy-cta-button-wrap_size_m {
  margin: 30px 0;
}

.muotolevy-cta-button_size_m {
  font-size: 18px;
  padding: 10px 25px;
}

/*
 * L size CTA styles
 */
.muotolevy-cta-button-wrap_size_l {
  margin: 40px 0;
}

.muotolevy-cta-button_size_l {
  font-size: 24px;
  padding: 20px 35px;
}

/*
 * muotolevy-shared-content
 */

.muotolevy-shared-content {
}

.muotolevy-shared-content__article {
  margin: 1.5rem 0;
}

.muotolevy-shared-content__article a {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #eee;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out;
}
.muotolevy-shared-content__article a:hover .aspect-wrap div {
  transform: scale(1.08);
}

.muotolevy-shared-content__img {
  width: 30%;
  overflow: hidden;
  position: relative;
}

.muotolevy-shared-content__img .aspect-wrap div {
  transition: all 0.2s ease-in-out;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.aspect-wrap {
  position: relative;
  padding-bottom: calc(100% * 9 / 16);
}

.muotolevy-shared-content__info {
  width: 70%;
  border-left: 0;
  display: flex;
  flex-direction: column;
}

.muotolevy-shared-content__info h2 {
  color: #888;
  font-size: 1.2rem;
  font-weight: normal;
  margin: 0 !important;
  padding: 0 16px;
  width: 80%;
}

.muotolevy-shared-content a:hover {
  text-decoration: none;
  color: #dc6b25;
}

.muotolevy-shared-content__info h4 {
  margin: 0;
  padding: 0 0 6px 16px;
  font-size: 12px;
  color: #dc6b25;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: normal;
}

@media (max-width: 480px) {
  .muotolevy-shared-content__article a {
	flex-direction: column;
	align-items: baseline;
	padding: 18px;
  }
  .muotolevy-shared-content__img {
	width: 100%;
  }
  .muotolevy-shared-content__img .aspect-wrap div {
	width: 100%;
  }
  .muotolevy-shared-content__info {
	margin-top: 1rem;
	width: auto;
  }
  .muotolevy-shared-content__info h4,
  .muotolevy-shared-content__info h2 {
	padding: 0;
  }
  .muotolevy-shared-content__info h4 {
	margin-bottom: 12px !important;
  }
  .muotolevy-shared-content__info h2 {
	font-size: 18px !important;
  }
  .cta-textarea-wrap .cta-textbox,
  .cta-textarea-wrap .muotolevy-cta-button-wrap {
	width: 100%;
  }
  .cta-textarea-wrap .cta-textbox {
	font-size: 16px;
	letter-spacing: 1px;
  }
  .cta-textarea-wrap .muotolevy-cta-button-wrap {
	text-align: right;
	padding-right: 18px;
  }
  .muotolevy-cta-button-wrap_size_l,
  .muotolevy-cta-button-wrap_size_m,
  .muotolevy-cta-button-wrap_size_s {
	margin: 18px 0;
  }
  .cta-textarea-wrap {
	flex-direction: column;
	align-items: flex-start;
  }
}
