/**
 * Related company
 */

.mm-related-companies {
  margin: 0 0 40px 0;
  width: 100%;
}

.mm-related-companies .mm-companies-title {
	display: block;
	font-size: 17px;
	margin: 0;
	padding: 0;
	padding-bottom: 6px;
  margin-bottom: 20px;
	font-weight: 600;
	line-height: 1.35;
	position: relative;
	text-align: left;
	color: var(--td_text_header_color, #000);
}

.mm-related-companies .mm-companies-title:before {
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #f5f5f5;
}

.mm-related-companies .mm-companies-title:after {
	content: '';
	width: 50px;
	height: 2px;
	position: absolute;
	top: 100%;
	left: 0;
	margin: auto;
	background-color: var(--td_header_color, var(--td_theme_color, #000));
}

.mm-company-container {
  display: flex;
  flex-direction: column;
}

.mm-related-companies .mm-companies-container > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .mm-related-companies .mm-companies-container > div {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }
}

.mm-company > a {
  display: flex;
  height: 100%;
  width: 100%;
}

.mm-company .mm-company-container {
  display: flex;
  height: 100%;
  width: 100%;
}

.mm-company .mm-company-container .mm-company-info {
  display: flex;
  flex-direction: column;
  flex: 2 1 auto;
}

.mm-company .mm-company-container > img {
  display: block;
  height: auto;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 12px;
}

.mm-company .mm-company-container .mm-company-info > span {
  display: block;
  flex: 2 1 auto;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.32;
  letter-spacing: -0.2px;
  margin: 0;
  color: var(--td_text_header_color, #000);
  margin-bottom: 8px;
}

.mm-company .mm-company-container .mm-company-info > p {
  display: block;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.32;
  letter-spacing: -0.2px;
  margin: 0;
  color: #6a6a6a;
  margin-bottom: 0px;
}