/**
Styles, specific to the 'all companies' section.
Loaded only by 'section-companies-all-companies.php'
 */
.all-companies-section {
	margin-top: 60px;
}

.all-companies-section .inner .section-title {
	margin-bottom: 40px;
	max-width: 70%;
}

.all-companies-section .inner .section-title .count {
	color: var(--color-primary);
	margin-left: 10px;
}

.all-companies-section .inner .all-companies-wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 10px;
	row-gap: 10px;
}

.all-companies-section .inner .all-companies-wrap .company-column {
	display: flex;
	flex-direction: column;
	row-gap: 10px;
	width: 100%;
}

/* Medium & down */
@media screen and (max-width: 1200px) {
	.all-companies-section .inner .all-companies-wrap {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Small */
@media screen and (max-width: 950px) {
	.all-companies-section .inner .all-companies-wrap {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Tiny - We usually refrain from using this breakpoint but in this case it's the better thing to do. */
@media screen and (max-width: 950px) {
	.all-companies-section .inner .all-companies-wrap {
		grid-template-columns: 1fr;
	}
}
