.content .template * + .listing {
	margin-top: 50px;
}

/************************************/
/********** LISTING HEADER **********/
/************************************/

.listing .header {
	margin-bottom: 30px;
	position: relative;
}
.listing .header h3,
.listing .header .h3 {
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--black);
	margin: 0;
}
.listing .header .link {
	margin-top: 15px;
	margin-left: auto;
}

.listing hr {
	margin: 0;
	border-top: 1px solid #e0dedd;
}

.template .listing .items h3,
.template .listing .items .h3 {
	font-size: 1.25rem;
	margin: 0;
	transition: var(--transition);
    -webkit-transition: var(--transition);
}

.listing .items > *:not(hr) {
	position: relative;
}


@media(min-width: 768px) {
	.content .template * + .listing {
		margin-top: 70px;
	}
	
	.listing .header {
        display: flex;
		align-items: flex-end;
	}
	.listing .header .link {
        margin-top: 0;
	}
}

@media(min-width: 992px) {
	.content .template * + .listing {
		margin-top: 100px;
	}
}


/*****************************************/
/********** LISTING FILTER FORM **********/
/*****************************************/

.listing .filter.form {
	padding: 25px 40px;
	background-color: var(--white);
	text-align: left;
	overflow: initial;
	margin-bottom: 30px;
}

.listing .filter.form > div {
	display: flex;
	padding: 0;
	text-transform: none;
	letter-spacing: normal;
	cursor: default;
}
.listing .filter.form > div::before {
	content: normal;
}

.listing .filter.form .row {
	margin: -10px;
}
.listing .filter.form .row > div {
	padding: 10px;
}

.listing .filter.form .input-wrapper {
	position: relative;
	padding: 0;
}
.listing .filter.form .input-wrapper label {
	display: none;
}
.listing .filter.form input,
.listing .filter.form .custom-select {
	appearance: none;
	-webkit-appearance: none;
	font-family: var(--font-family);
	font-size: 14px;
	color: var(--black);
	background-color: white;
	width: 100%;
}
.listing .filter.form input,
.listing .filter.form select,
.listing .filter.form .custom-select .placeholder {
	padding: 15px 20px;
	border: none;
}
.listing .filter.form .custom-select .options-wrapper {
	border: none;
}
.listing .filter.form select,
.listing .filter.form .custom-select .placeholder {
	line-height: 1.25;
}
.listing .filter.form input {
	padding-right: 53px;
}
.listing .filter.form .custom-select:not(.has-reset) .placeholder::before,
.listing .filter.form .custom-select.has-reset .placeholder > div.reset {
	right: 20px;
}


.listing .filter.form [submit] {
	position: absolute;
	width: 49px;
	height: 49px;
	top: 0;right: 0;
}
.listing .filter.form [submit]::before {
	content: "";
	width: 15px;
	height: 15px;
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	margin: auto;
	background-image: url(/assets/img/lupe.svg)
}


@media(min-width: 768px) {
	.listing .filter.form {
		margin-bottom: 60px;
	}

	.listing .filter.form .row {
		margin: -15px -10px;
	}
	.listing .filter.form .row > div {
		padding: 15px 10px;
	}
}


/******************************************/
/********** GENERIC ITEM LISTING **********/
/******************************************/

.listing .item {
	padding: 25px 0;
}

.listing .item h3,
.listing .item .h3 {
	flex: 1;
}

.listing .item .link {
	margin-top: 15px;
}


@media(min-width: 768px) {
    .listing .item {
		padding: 45px 0;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}
	
	.listing .item h3,
	.listing .item .h3 {
		padding-right: 40px;
	}
	
	.listing .item .link {
		margin-top: 0;
    }
}


/***************************************/
/********** ACCORDION LISTING **********/
/***************************************/

.listing .accordion {
	background-color: var(--white);
}

.listing .accordion > div {
	flex: 1;
	position: relative;
	padding: 20px;
	cursor: pointer;
	transition: var(--transition);
}

.template .listing .accordion h3,
.template .listing .accordion .h3 {
	font-size: 1.25rem;
	font-weight: 500;
    padding-right: 35px;
}

.listing .accordion .toggle {
	height: 26px;
	width: 26px;
	position: absolute;
	top: 0;bottom: 0;
	right: 20px;
	margin: auto;
	transition: var(--transition);
}
.listing .accordion.has-image .toggle {
	top: 19px;
	bottom: auto;
}
.listing .accordion:not(.open) .toggle:hover,
.listing .accordion:not(.open) .toggle:focus {
	transform: rotate(90deg);
}
.listing .accordion .toggle::before,
.listing .accordion .toggle::after {
	content: "";
	position: absolute;
	top: 0;bottom: 0;
	margin: auto;
	height: 2px;
	width: 100%;
	background-color: var(--purple);
	transition: var(--transition);
}

.listing .accordion .toggle::after {
	transform: rotate(90deg);
}
.listing .accordion.open .toggle::after,
.listing .accordion.active .toggle::after {
	transform: rotate(0deg);
}

.listing .accordion .description {
	max-height: 0;
	overflow: hidden;
	transition: var(--transition);
	cursor: default;
	padding: 0 20px;
}
.listing .accordion.active .description {
	max-height: none;
}
.listing .accordion .description p,
.listing .accordion .description ul,
.listing .accordion .description ol {
	font-size: 1rem;
}

.listing .accordion .description > *:first-child {
	margin-top: 1em;
}
.listing .accordion .description > *:last-child {
	margin-bottom: 30px;
}


@media(min-width: 768px) {
	.template .listing .accordion h4,
	.template .listing .accordion .h4 {
		font-size: 1.5rem;
	}

	.listing .accordion > div {
		padding: 30px 35px;
	}

	.listing .accordion .description > *:first-child {
		margin-top: 1.5em;
	}

	.listing .accordion.has-image .toggle {
		top: 32px;
	}

	.listing .accordion .description {
		padding: 0 70px 0 35px;
	}

	.listing .accordion .description .lower {
		margin: 40px 0 50px;
	}
}

@media(min-width: 992px) {	
	.listing .accordion > div {
		padding: 40px 45px;
	}
	
	.listing .accordion .toggle {
		height: 34px;
		width: 34px;
		right: 25px;
	}

	.listing .accordion .description {
		padding: 0 100px 0 45px;
	}

	.listing .accordion .description > *:last-child {
		margin-bottom: 50px;
	}
}


/**********************************/
/********** FILE LISTING **********/
/**********************************/

.listing .file {
	padding: 20px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.listing .file .image {
	width: 40px;
}

.listing .file h3,
.listing .file .h3 {
	flex: 1;
	padding-left: 20px;
	min-width: calc(100% - 40px);
}

.listing .file .link {
	padding-left: 60px;
	margin-top: 15px;
}


@media(min-width: 768px) {
	.listing .file {
		padding: 30px 0;
	}

	.listing .file h3,
	.listing .file .h3 {
		min-width: auto;
		padding: 0 40px 0 20px;
	}
	
	.listing .file .link {
		padding-left: 0;
		margin-top: 0;
	}
}


/************************************/
/********** BUTTON LISTING **********/
/************************************/

.listing.listing-button .items {
    margin: -5px;
    font-size: 0;
}

.listing.listing-button .button {
    margin: 5px;
}


/***********************************/
/********** BOXES LISTING **********/
/***********************************/

.listing.listing-boxes .items {
	margin: -20px;
}
.listing.listing-boxes .items .box {
	padding: 20px;
	display: flex;
}

.listing.listing-boxes .items .box > div {
	position: relative;
	padding: 80px 25px 115px;
	background-color: var(--white);
	font-size: 0;
}

.listing.listing-boxes .items .box span {
	display: inline-block;
	font-size: 11px;
	font-weight: 400;
	color: var(--purple);
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.listing.listing-boxes .items .box h3 {
	font-size: 1.875rem;
	font-weight: bold;
	color: var(--black);
	line-height: 1.1;
	margin: 0;
}
.listing.listing-boxes .items .box p {
	font-size: 1rem;
	font-weight: 300;
	color: var(--darkgrey);
	line-height: 1.4;
	margin: 0;
	margin-top: 20px;
}

.listing.listing-boxes .items .box .button {
	position: absolute;
	bottom: 0;right: 0;
	padding: 0;
	width: 50px;
	height: 50px;
}
.listing.listing-boxes .items .box .button span {
	position: absolute;
	top: 0;bottom: 0;
	left: 0;right: 0;
	margin: auto;
	width: 70%;
	height: 60%;
	background-image: url(/assets/img/arrow-sm-white.svg);
	background-repeat: no-repeat;
	transition: inherit;
}
.listing.listing-boxes .items .box .button:hover span,
.listing.listing-boxes .items .box .button:focus span {
	transform: translateX(5px);
}


@media(min-width: 768px) {
	.listing.listing-boxes .items .box > div {
		padding-left: 60px;
		padding-right: 60px;
	}

	.listing.listing-boxes .items .box p {
		font-size: .9375rem;
	}
	
	.listing.listing-boxes .items .box .button {
		width: 60px;
		height: 60px;
	}
}


/*************************************/
/********** ARTICLE LISTING **********/
/*************************************/

.listing.listing-article .items.row {
	margin: -30px -20px;
}

.listing .article {
    padding: 30px 20px;
}

.listing .article img {
	display: block;
	margin-bottom: 35px;
	aspect-ratio: 16 / 9;
    object-fit: cover;
}

.listing .article h2,
.listing .article .h2 {
	font-size: 2.5rem;
    font-weight: 300;
    color: var(--black);
    line-height: 1.25;
    margin: 0.75em 0;
}

.listing .article p {
	font-size: 1.125rem;
    font-weight: 300;
    color: var(--darkgrey);
    line-height: 1.5;
    margin: 1.5em 0;
}

.listing .article .button {
    font-size: 12px;
    padding: 17px 35px;
	
}

.article .details {
	font-size: 0;
}
.listing .article .details {
	margin-bottom: 20px;
}
.article .details span {
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	color: var(--lightgrey);
	line-height: 1.25;
}
.article .details span + span {
	margin-left: 20px;
}
.article .details span.author {
	color: var(--darkgrey);
}
.article .template-module + .details span.author {
	display: block;
	margin: 0;
	margin-top: 10px;
}

.article .details span a {
	color: var(--purple);
	border-bottom: 1px solid transparent;
	display: inline;
}
.article .details span a:hover,
.article .details span a:focus {
	border-bottom: 1px solid currentColor;
}


@media(min-width: 768px) {
	.listing.listing-article .items.row {
		margin: -40px -30px;
	}

    .listing .article {
        padding: 40px 30px;
    }
}

@media(min-width: 992px) {
    .listing .article .button {
		padding: 17px 45px;
	}
}


/****************************************/
/********** LISTING PAGINATION **********/
/****************************************/

.listing .pagination {
	margin-top: 40px;
	justify-content: center;
}

.listing .pagination ul {
	display: block;
	text-align: center;
	list-style: none;
	font-size: 0;
	padding: 0;
	margin: 0 -7px;
}
.listing .pagination ul li {
	padding: 0;
	font-size: 18px;
	font-weight: 300;
	color: rgb(var(--primary));
	line-height: 1;
	display: inline-block;
}
.listing .pagination ul li.disabled {
	pointer-events:none;
	opacity: .4;
}
.listing .pagination ul li.prev {
	margin-right: 10px;
}
.listing .pagination ul li.next {
	margin-left: 10px;
}
.listing .pagination ul li::before {
	content: normal;
}
.listing .pagination ul li a,
.listing .pagination ul li.ellipsis {
    padding: 0 7px;
	display: inline-block;
	border: none;
}
.listing .pagination ul li a:hover,
.listing .pagination ul li a:focus,
.listing .pagination ul li.active a {
	color: var(--black);
	border: none;
}

.listing .pagination ul li.prev a, .listing .pagination ul li.next a {
    width: 20px;
    height: 10px;
	background-image: url(/assets/img/arrow-color.svg);
	background-repeat: no-repeat;
}
.listing .pagination ul li.prev a {
	transform: rotate(180deg);
}


@media(min-width: 768px) {
    .listing .pagination {
        margin-top: 60px;
    }
}

@media(min-width: 992px) {
    .listing .pagination {
        margin-top: 70px;
    }

    .listing .pagination ul {
        margin: 0;
	}
    .listing .pagination ul li a,
    .listing .pagination ul li.ellipsis {
		padding: 0 9px;
	}
	.listing .pagination ul li.prev {
		margin-right: 15px;
    }
    .listing .pagination ul li.next {
        margin-left: 15px;
    }
    .listing .pagination ul li.prev a,
    .listing .pagination ul li.next a {
        width: 27px;
        height: 12px;
	}
}