
.xf_cs_container {
  display: grid;
  grid-template-columns: auto auto;
  padding: 10px;
}
.xf_cs_grid_item {
  border: 1px solid #E3E3E3;
  box-sizing: border-box;


  margin: 10px;
  min-height: 516px;
}

.xf_container_triangle {
	position: relative;
	height: 32px;
    width: 100%;
}

.xf_cs_triangle{
	position: absolute;
	right: 16px;
    top: 16px;
	fill: #CE122D;
}


.xf_cs_inner_container {
	display: flex;
	position: relative;
	/*width: calc(100% - 64px);*/
  width: 100%;
  height: 50%;
	padding-bottom: 32px;
	padding-left: 32px;
	padding-right: 32px;
}

.xf_inner_column {
	flex: 50%;
}

.xf_cs_image_container {
	display: block;
	position: relative;
	height: 100%;
	width: 100%;
}

.xf_cs_img {
  position: absolute;
  width: 100%;
  height: 100%;

  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.xf_cs_title_container{
	position: relative;
	width: 100%;
	height: 100%;
}

.xf_cs_caption {
	position: absolute;
	bottom: 40px;

	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	line-height: 24px;

	/* identical to box height, or 171% */
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #C8BFBF;
}

.xf_cs_title {
	position: absolute;
	bottom: 0px;
	margin-bottom: 0;

	font-family: Montserrat;
	font-style: normal;
	font-weight: normal;
	font-size: 24px;
	line-height: 36px;
	color: #101828;

}


.xf_text_content {
	position: relative;
	height: 100%;
	/*width: calc(100% - 64px);*/
  width: 100%;
	/*padding: 32px;*/
	padding-bottom: 32px;
	padding-left: 32px;
	padding-right: 32px;
	text-overflow: ellipsis;
	overflow: hidden;
}

.xf_cs_btn_icon {
	width: 16px;
	height: 16px;
	fill: #CE122D;
	margin-bottom: -6px;
}

.xf_cs_text {
	font-family: Montserrat;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;

  height: 170px;
  width: 100%;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
	color: #877B7B;
}

.xf_cs_button {
	font-family: Montserrat;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;

	color: #CE122D;
}


/* PHONE DESIGN */
@media screen and (max-width:766px) {
  .xf_cs_container {
    grid-template-columns: auto!important;
  }

  .xf_cs_image_container {
    position: absolute;
    left: 0px;
    width: calc(100% - 30px);
  }
}
