/* General Layout */

.post-archive.resources-archive {
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
}

.post-archive.resources-archive .main-content {
	column-gap: 11%; /*this is almost same as the 9% padding on the parent*/
	column-gap: clamp(2.5rem, -4.3519rem + 14.2748vw, 7.4248125rem); /*this is almost same as the 9% padding on the parent, with minimum 40px*/
	row-gap: 30px;
}

.post-archive.resources-archive .posts-list {
	opacity: 1;
	transition: opacity 0.15s ease-in-out;
}

.post-archive.resources-archive .posts-list.loading {
	opacity: 0.5;
}

.promo-carousel + .post-archive.resources-archive {
	margin-top: 30px;
}

@media (min-width: 768px) {
	.post-archive.resources-archive .posts-list {
		max-width: calc(100% - 250px - clamp(2.5rem, -4.3519rem + 14.2748vw, 7.4248125rem));
	}

	.post-archive .main-content .archive-details {
		max-width: none;
		min-width: 250px;
		width: 250px;
	}

	.promo-carousel + .post-archive.resources-archive {
		margin-top: 45px;
	}

	/* Make Sidebar Sticky */
	.post-archive .main-content .archive-details {
		position: sticky;
		top: calc(55px + 86px); /* 55px header + 40px offset*/
	}
}

@media (min-width: 1025px) {
	.post-archive.resources-archive {
		padding-left: 9%;
		padding-right: 9%;
	}
}

/*Archive title*/
.post-archive.resources-archive .posts-list h1.archive-title {
	font-size: 36px;
	line-height: 1.15;
	margin: 0 0 20px;
	padding-bottom: 30px;
	border-bottom: 1px solid #718090;
}

@media (min-width: 768px) {
	.post-archive.resources-archive .posts-list h1.archive-title {
		font-size: 40px;
	}
}

/*Post*/

.tile-post.tile-post-resources:not(:last-child) {
	margin-bottom: 20px;
}

.tile-post.tile-post-resources {
	width: 100%;
	height: auto !important;
	border-radius: unset;
	overflow: auto;
	border-bottom: 1px solid #718090;
	padding-bottom: 20px;
	max-width: none;
	min-height: unset !important;
}

.resources-archive .tile-post.tile-post-resources:hover {
	box-shadow: unset;
}

/*Post title*/
.tile-post.tile-post-resources .text .title:last-child {
	margin-bottom: 0;
}

/*Post date for upcoming events*/
.tile-post .event-date {
	color: #4763E1;
	font-weight: bold;
	margin-bottom: 5px;
}

/*Post excerpt*/
.tile-post.tile-post-resources .text {
	height: auto;
	padding: 0;
}

.tile-post.tile-post-resources .text .post-excerpt {
	height: auto !important;
}

.tile-post.tile-post-resources .text p:not(:last-child) {
	margin-bottom: 5px;
}

.tile-post.tile-post-resources .text .post-excerpt a:hover {
	text-decoration: none;
}

/*Post terms*/

.tile-post.tile-post-resources .cats-wrapper {
	height: auto;
	position: static;
	width: auto;
	margin-top: 16px;
	padding: 0;
}

.tile-post.tile-post-resources .cats-wrapper {
	margin-top: 10px;
}

.tile-post.tile-post-resources .cats-wrapper .cats {
	width: 100%;
}

.tile-post-resources .cats a,
.resource-type-list a {
	margin-top: 2px;
	margin-bottom: 2px;
	display: inline-block;
	text-decoration: none;
}

.tile-post-resources .cats-wrapper .cats .cat-multi-item::after {
    content: ",";
    margin-right: 5px;
}

.tile-post-resources .cats-wrapper .cats .cat-multi-item:last-of-type::after {
	content: none;
	margin: unset;
}

.resource_type {
	font-family: var(--e-global-typography-b858b48-font-family), Sans-serif;
    font-size: var(--e-global-typography-b858b48-font-size);
    font-weight: var(--e-global-typography-b858b48-font-weight);
    text-transform: var(--e-global-typography-b858b48-text-transform);
    font-style: var(--e-global-typography-b858b48-font-style);
    text-decoration: var(--e-global-typography-b858b48-text-decoration);
    line-height: var(--e-global-typography-b858b48-line-height);
    letter-spacing: var(--e-global-typography-b858b48-letter-spacing);
    word-spacing: var(--e-global-typography-b858b48-word-spacing);
    display: inline-block;
    padding: 8.102px 19px 7.102px;
    border-radius: 3px;
    background-color: var(--e-global-color-fd4666d);
    color: white;
    white-space: nowrap;
	transition: opacity 0.15s ease-in-out;
	margin-right: 5px;
}

.elementor .resource_type,
.elementor .resource_type:hover {
	color: white;
	text-decoration: none;
}

.elementor .resource_type:hover {
	opacity: 0.85;
}

.resource_type.whitepapers,
.resource_type.ebooks-whitepapers {
	background-color: #714B9A;
}
.resource_type.events,
.resource_type.events-webinars {
	background-color: #DBABEF;
}
.resource_type.videos {
	background-color: #5C7F6A;
}
.resource_type.posts {
	background-color: #4763E1;
}
.resource_type.podcasts {
	background-color: #A2C3F4;
}
.resource_type.solution-briefs {
	background-color: #787878;
}

.cats-wrapper-mobile {
	margin-bottom: 3px;
}

@media (min-width: 768px) {
	.cats-wrapper-mobile {
		display: none !important;
	}

	.tile-post.tile-post-resources .cats-wrapper {
		margin-top: 14px;
	}

	.resource_type {
		margin-right: 8px;
	}
}

/*Sidebar*/

@media (max-width: 767px) {
	.post-archive.resources-archive .archive-details .search-filter {
		flex-wrap: wrap;
		display: flex;
	}

	/* .resources-archive .archive-details {
		padding-bottom: 20px;
		border-bottom: 1px solid #718090;
	} */

	#resource_category {
		margin-bottom: 20px;
	}
}

@media (max-width: 559px) {
	.resources-archive .archive-details form {
		max-width: none;
	}
}

/*categories*/
.cats .resource_category {
	font-family: var(--e-global-typography-b858b48-font-family), Sans-serif;
    font-size: var(--e-global-typography-b858b48-font-size);
    font-weight: var(--e-global-typography-b858b48-font-weight);
    text-transform: var(--e-global-typography-b858b48-text-transform);
    font-style: var(--e-global-typography-b858b48-font-style);
    text-decoration: var(--e-global-typography-b858b48-text-decoration);
    line-height: var(--e-global-typography-b858b48-line-height);
    letter-spacing: var(--e-global-typography-b858b48-letter-spacing);
    word-spacing: var(--e-global-typography-b858b48-word-spacing);
    display: inline-block;
	color: #6a7771;
}

.resource-category-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.resource-category-list li {
	font-family: "FK Grotesk", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 16px;
}

.resource-category-list li {
	border-bottom: 1px solid #D4D4D3;
}

.resource-category-list li:last-child {
	border-bottom: 1px solid transparent;
}

.resource-category-list a {
	color: #0c0e13 !important;
	font-family: "FK Grotesk", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 16px;
	padding: 10px 0 8px;
	display: block;
	border-bottom: 1px solid transparent;
}

.resource-category-list a:focus {
	text-decoration: none;
}

.resource-category-list a:hover {
	text-decoration: none;
	color: #E54B24 !important;
}

.resource-category-list li.active,
.resource-category-list li.active a {
	border-color: #E54B24;
}

.resource-category-list li.active a {
	color: #E54B24 !important;
}

@media (max-width: 767px) {
	.resource-category-list {
		display: none;
	}
}

@media (min-width: 768px) {
	form#resource_category {
		display: none;
	}
}

/*types*/
.resource-type-list {
	margin-bottom: 20px;
}

.resource-type-list a {
	margin-top: 3px;
	margin-bottom: 3px;
}

/* .resource-type-list p {
	font-family: "FK Grotesk", Helvetica, Arial, sans-serif;
	line-height: 16px;
}
.resource-type-list a {
	color: white;
	font-family: "FK Grotesk", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.55px;
	text-transform: uppercase;
	position: relative;
	text-decoration: none !important;
	margin-top: 3px;
	margin-bottom: 3px;
}

.resource-type-list a.active {
	color: white !important;
}

.resource_type.whitepapers.active {
	background-color: #E54B24;
}
.resource_type.events.active,
.resource_type.events-webinars.active {
	background-color: #4763E1;
}
.resource_type.videos.active {
	background-color: #5C7F6A;
}
.resource_type.posts.active {
	background-color: #DBABEF;
}
.resource_type.podcasts.active {
	background-color: #718090;
}
.resource_type.solution-briefs.active {
	background-color: #4763E1;
} */

@media (max-width: 767px) {
	.resource-type-list {
		display: flex;
		order: -1;
		flex: 0 0 100%;
	}
}

/*Side promo*/
.resources-archive .side-promo-container {
	margin-top: 60px;
}

@media (max-width: 767px) {
	.resources-archive .side-promo-container {
		display: none;
	}
}

@media (min-width: 768px) {
	.resources-archive .side-promo-container {
		display: block;
	}
}

/*Pagination*/
.post-archive.resources-archive .post-nav .pagination-buttons {
	margin-left: auto;
	margin-right: auto;
}

/*Load more*/
.load-more {
	padding-top: 40px;
}

#load-more {
	width: 140px;
}
