#resources-grid .container {
	max-width: 1400px;
}

#resources-grid .row {
	--bs-gutter-x: 1rem;
	--bs-gutter-y: 1rem;
}

#resources-grid .resource {
}

#resources-grid .resource a {
	display: block;
	text-decoration: none;
}

#resources-grid .resource .resource-card {
	background: var(--aapi-dark-bg-color);
	color: var(--aapi-white-text-color);
	border-radius: 20px;
	font-family: var(--aapi-body-font);
	height: 100%;
	text-align: center;
	padding: 30px;
}

#resources-grid .resource .resource-card .resource-content {
	font-size: .95rem;
}

#resources-grid .resource .resource-card h2 {
	font: 2rem var(--aapi-body-font);
}

#resources-grid .resource .resource-card .resource-image {
	margin: 5px auto 20px auto;
}

#resources-grid .resource .resource-card .resource-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

#resources-grid .resource .resource-card .resource-meta {
	margin-top: 30px;
}

#resources-grid .resource .resource-card .resource-meta .resource-meta-term {
	border: 1px solid var(--aapi-white-text-color);
	border-radius: 10px;
	font-size: .8rem;
	display: inline-block;
	margin-bottom: 20px;
	padding: 6px 10px;
	width: auto;
}

#resources-grid .resource .resource-card .resource-meta h4 {
	font: 1rem var(--aapi-body-font);
}

#resources-grid .resource .resource-card .resource-term.category {
	background: var(--aapi-green-color);
	color: var(--aapi-white-text-color);
	font: 1rem var(--aapi-headline-font);
	border-radius: 10px;
	padding: 8px 24px;
	text-transform: uppercase;
}

#resources-grid .resource .resource-card.blue .resource-term.category {
	background: var(--aapi-blue-color);
}

#resources-grid .resource .resource-card.gold .resource-term.category {
	background: var(--aapi-gold-color);
	color: var(--aapi-text-color);
}

/* Filters */
#resources {
	background: var(--aapi-dark-bg-color);
	color: var(--aapi-white-text-color);
	margin-top: -3vw;
}

#resources .resource-filter {
	font-size: 1.2rem;
	padding-bottom: 2vw;
}


#resources .resource-filter .filter-terms-list li {
	display: inline-block;
}

#resources .resource-filter .filter-terms-list li input[type="radio"] {
	display: none;
}

#resources .resource-filter .filter-terms-list li.dropdown>label {
	background: var(--aapi-white-bg-color);
	color: var(--aapi-text-color);
	border-radius: 30px;
	cursor: pointer;
	padding: 10px 30px;
}

#resources .resource-filter .filter-terms-list li.dropdown.active >label {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

#resources .resource-filter .filter-terms-list li :checked + label, #resources .resource-filter .filter-terms-list li label.active {
	background: var(--aapi-selected-color);
	color: var(--aapi-white-text-color);
}

#resources .resource-filter .filter-terms-list li>ul {
	font-size: .8rem;
	padding: 0;
	list-style: none;
	display: none;
	position: absolute;
	z-index: 10;
	width: 100%;
}

#resources .resource-filter .filter-terms-list li>ul li {
	display: block;
}

#resources .resource-filter .filter-terms-list li>ul li label {
	background: var(--aapi-white-bg-color);
	color: var(--aapi-text-color);
	cursor: pointer;
	display: block;
	padding: 10px;
}

#resources .resource-filter .years-list>ul>li {
	padding: 0;
}

#resources .resource-filter .years-list>ul>li>label {
	background: var(--aapi-white-bg-color);
	color: var(--aapi-text-color);
	border-radius: 30px;
	margin: 0 -5px;
	cursor: pointer;
	padding: 10px 30px !important;
}

#resources .resource-filter .years-list>ul>li.dropdown>ul {
	margin-left: -5px;
	width: 100%;
}

#resources .resource-filter .years-list>ul>li:nth-child(1)>label {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

#resources .resource-filter .years-list>ul>li:nth-child(2)>label {
	border-radius: 0;
}

#resources .resource-filter .years-list>ul>li:nth-child(3)>label {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

#resources #filter-clear {
	font-size: .9rem;
	text-align: right;
}

#resources #filter-clear a {
	color: var(--aapi-white-text-color);
	text-decoration: none;
}

.container.resources-none {
	padding: calc(40px + 3vw) 0;
}

/* Individual resource */
body.single-report .entry-header.page-header h1 {
	font-size: 1.5rem;
}

/* DESKTOP */
@media screen and (min-width: 992px) {
#resources-grid .resource .resource-card {
	padding: 40px;
}

/* DESKTOP: Individual resource */
body.single-report .entry-header.page-header h1 {
	font-size: 2.5rem;
}

}

/* WIDE DESKTOP */
@media screen and (min-width: 1400px) {

#resources .resource-filter .filter-terms-list li.dropdown>label {
	padding: 15px 30px;
}

#resources .resource-filter .years-list>ul>li>label {
	padding: 15px 40px !important;
}

}