@media (min-width: 386px) and (max-width: 1280px) {
  figure.effect-milo h3 {
    font-size: calc(18px + (18 - 14) * ( (100vw - 320px) / ( 1280 - 320) ));
  }
}

@media (min-width: 386px) and (max-width: 1280px) {
  figure.effect-milo p {
    font-size: calc(6px + (16 - 6) * ( (100vw - 320px) / ( 1280 - 320) ));
  }
}

@media (min-width: 386px) and (max-width: 1280px) {
  figure.effect-milo:hover p {
    font-size: calc(6px + (16 - 6) * ( (100vw - 320px) / ( 1280 - 320) ));
  }
}

@media (min-width: 285px) and (max-width: 385px) {
  .carousel-item figure {
	  width: 30rem;
  }
  .carousel-item figure figcaption p {
      font-size: 7px !important;
      padding-top: 0;
      padding-left: 5%;
  }
  .carousel-item figure figcaption h3 {
      font-size: 10px !important;
      width: 80%;
  }
}

/* Common style */
.carousel-item figure {
	position: relative;
	background: #3085a3;
	text-align: left;
	cursor: pointer;
}

.carousel-item figure img {
	position: relative;
	display: flex;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.carousel-item figure figcaption {
	padding-top: 20%;
	padding-left: 10%;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.carousel-item figure figcaption::before,
.carousel-item figure figcaption::after {
	pointer-events: none;
}

.carousel-item figure figcaption,
.carousel-item figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.carousel-item figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.carousel-item figure h3 {
	font-weight: 300;
}

.carousel-item figure h3 span {
	font-weight: 800;
}

.carousel-item figure h3,
.carousel-item figure p {
	margin: 0;
}

.carousel-item figure p {
	color: black;
	font-size: 70%;
}


figure.effect-milo {
	background: white;
}

figure.effect-milo img {
	max-width: none;
	width: -webkit-calc(100% + 60px);
	width: calc(100% + 60px);
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-10px,0,0) scale(1.2);
	transform: translate3d(-10px,0,0) scale(1.2);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-milo:hover img {
	opacity: 0.5;
	-webkit-transform: translate3d(0,0,0) scale(1.35);
	transform: translate3d(0,0,0) scale(1.35);
}

figure.effect-milo h3 {
	position: absolute;
	left: 0;
	top: 0;
	padding: 1em 1.2em;
}

figure.effect-milo p {
	padding: 0 0 0 10px;
	width: 50%;
	border-left: 1px solid #fff;
	text-align: left;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0,0);
	transform: translate3d(-40px,0,0);
}

figure.effect-milo:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
