.resources {
	--tags-width: 30%;
	padding: 80px 80px;
	color: var(--blue1);
}

.resources .title {
	margin-bottom: 80px;
}

.resources .open-filters {
	position: sticky;
	top: 0;
	width: 100%;
	padding: 20px 0;
	margin-bottom: 20px;
	text-decoration: underline;
	background: var(--white);
	align-items: center;
	cursor: pointer;
	display: none;
}

.resources p,
.resources h4 {
	color: var(--black);
}

.resources p {
	margin-bottom: 40px;
}

.resources .tags {
	width: var(--tags-width);
	padding-right: 20px;
	max-height: calc(100vh - 40px);
	position: -webkit-sticky;
	position: sticky;
	top: 80px;
	overflow-y: auto;
}

.resources .tags .tags-title {
	justify-content: space-between;
}

.resources .tags .tags-title .close-filters {
	width: 20px;
	height: 20px;
	cursor: pointer;
	display: none;
}

.resources .tag-btn {
	display: block;
	color: var(--blue1);
	border: 2px solid var(--blue1);
	font-size: 12px;
	padding: 5px 10px;
	margin-bottom: 10px;
}

.resources .tag-btn:hover {
	background: var(--grey2);
}

.resources .tag-btn.active {
	background: var(--blue1);
	color: var(--white);
}

.resources hr {
	margin: 20px 0;
	border: 1px solid var(--grey);
}

.resources .items {
	width: calc(100% - var(--tags-width));
}

.resources .item.hidden {
	display: none;
}

.resources .item .row {
	justify-content: space-between;
	margin-bottom: 20px;
}

.resources .item .row.hidden {
	display: none;
}

.resources .item .row .subtitle {
	margin-right: 20px;
}

.resources .resource-btn {
	color: var(--blue1);
	border: 0;
	font-size: 12px;
	font-weight: 600;
	padding: 0 10px;
	background: var(--grey2);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 30px;
}

.resources .resource-btn:hover {
	color: var(--white);
	background: var(--blue1);
}

.resources .resource-btn svg {
	fill: var(--blue1);
}

.resources .resource-btn:hover svg {
	fill: var(--white);
}

.resources a {
	text-decoration: none;
}

@media only screen and (max-width: 1080px) {
	.resources {
		padding: 80px;
	}
}

@media only screen and (max-width: 900px) {
	.resources {
		padding: 40px;
	}

	.resources .title {
		margin-bottom: 20px;
	}

	.resources .open-filters {
		display: flex;
	}

	.resources .tags .tags-title .close-filters {
		display: inline-block;
	}

	.resources .tags {
		background: var(--white);
		position: fixed;
		top: 0;
		right: -100%;
		min-width: 200px;
		max-height: 100vh;
		padding: 20px;
		border-left: 2px solid var(--grey2);
		border-bottom: 2px solid var(--grey2);
		z-index: 10;
		transition: right 0.4s ease;
	}

	.resources .tags.active {
		right: 0;
	}

	.resources .items {
		width: 100%;
		min-height: calc(100vh - 160px);
	}
}
