/* ==================================================
	common
================================================== */

/* ----------------------------------------
	links_list
---------------------------------------- */

.links_list {
	display: grid;
	gap: 20px;
	margin-top: 30px;
}
.links_list > li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px 20px;
}
.links_list > li > span {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 220px;
	height: 22px;
	padding: 2px 10px 0;
	font-size: 12px;
	text-align: center;
	background: rgb(86 131 147 / .5);
	border-radius: 4px;
}

@media screen and (min-width: 768px) {
	.links_list > li {
		flex-direction: row;
	}
}





/* ==================================================
	activity
================================================== */

.activity_list {
	display: grid;
	column-gap: 40px;
	margin-top: 30px;
}
.activity_list > li {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	row-gap: 20px;
	position: relative;
	padding: 30px 0;
	text-align: center;
}
.activity_list > li::before,
.activity_list > li::after {
	content: "";
	position: absolute;
	top: 0;
	background: #000;
}
.activity_list .cont {
	text-align: left;
}

@media screen and (max-width: 479px) {
	.activity_list > li:not(:last-child) {
		border-bottom: 1px solid #000;
	}
}

@media screen and (min-width: 480px) and (max-width: 1279px) {
	.activity_list {
		grid-template-columns: repeat(2, 1fr);
	}
	.activity_list > li:nth-child(odd)::before {
		right: -20px;
		width: 1px;
		height: 100%;
	}
	.activity_list > li:not(:first-child):nth-child(odd)::after {
		left: 0;
		width: calc(200% + 40px);
		height: 1px;
	}
}

@media screen and (min-width: 1280px) {
	.activity_list {
		grid-template-columns: repeat(5, 1fr);
	}
	.activity_list > li:not(:last-child)::before {
		right: -20px;
		width: 1px;
		height: 100%;
	}
}





/* ==================================================
	companies
================================================== */

.companies_list {
	display: grid;
	gap: 20px;
	margin-top: 30px;
}
.companies_list > li {
	padding: 30px 10px;
	text-align: center;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 16px;
}
.companies_logo_list {
	display: flex;
	flex-direction: column;
	margin-top: 30px;
	gap: 30px;
}
.companies_logo_list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.companies_logo_list a:hover img {
	opacity: .7;
}
.companies_logo_list a > p {
	margin-top: 0;
	font-size: 15px;
}

@media screen and (min-width: 768px) {
	.companies_list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1280px) {
	.companies_list {
		grid-template-columns: repeat(4, 1fr);
	}
}





/* ==================================================
	products
================================================== */

.products_list {
	display: grid;
	gap: 40px 20px;
	margin-top: 30px;
}
.products_list .media {
	overflow: hidden;
	margin-bottom: 20px;
	text-align: center;
	background: #f0f0f0;
	border-radius: 12px;
}
.products_list .title h3 a {
	text-decoration: underline;
}
.products_list .title h3 a:hover {
	text-decoration: none;
}

@media screen and (min-width: 768px) {
	.products_list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 1024px) {
	.products_list {
		grid-template-columns: repeat(4, 1fr);
	}
}





/* ==================================================
	apps
================================================== */

.apps_list {
	display: grid;
	gap: 20px;
	margin-top: 30px;
}
.apps_list > li {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	row-gap: 15px;
	padding: 20px;
	text-align: center;
	background: #fff;
	border-radius: 8px;
}
.apps_list .cont {
	display: flex;
	justify-content: center;
	align-items: center;
}
.apps_links_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 30px;
}

@media screen and (min-width: 480px) {
	.apps_list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 768px) {
	.apps_list {
		grid-template-columns: repeat(4, 1fr);
	}
}
