/**
 * Styles for the Sponsors archive page
 *
 */

body:not([class*=elementor-page-]) .noah-sponsors-archive.site-main {
	max-width: var( --content-width );
	padding-left: 0;
	padding-right: 0;
}

.noah-sponsors-row {
	width: 100%;
	margin: 0 auto;
	padding-left: var(--content-margin);
	padding-right: var(--content-margin);
}

/* Featured Sponsors */

.noah-featured-sponsors {
	left: 50%;
    position: relative;
    transform: translateX( -50% );
    width: calc( 100vw - 15px );
	background-color: var(--blue-light);
	padding: 70px 0;
}

.noah-featured-sponsors-inner {
	max-width: 752px;
	margin: 0 auto;
}

.noah-featured-sponsors__header {
	text-align: center;
	margin-bottom: 50px;
}

.noah-featured-sponsors__heading {
	margin-top: 0;
	margin-bottom: 15px;
}

.noah-featured-sponsors__sponsors-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px 0;
	margin: 0 auto 25px;
}

.noah-featured-sponsors__single {
	flex: 0 0 42.62%;
	text-align: center;
	height: 300px;
	max-width: 300px;
	width: auto;
	display: block;
	text-decoration: none;
}

.noah-featured-sponsors__single-inner {
	background-color: #ffffff;
	border-radius: 50%;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
}

.noah-featured-sponsors__single-logo {
	display: block;
	text-decoration: none;
}

.noah-featured-sponsors__single-logo img {
	display: block;
}

.noah-featured-sponsors__btn-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
}

.noah-featured-sponsors__btn-wrap .noah-button-wrapper a {
	background-color: #000000;
	border-color: #000000;
	color: #ffffff;
}

.noah-featured-sponsors__btn-wrap .noah-button-wrapper a:hover,
.noah-featured-sponsors__btn-wrap .noah-button-wrapper a:active,
.noah-featured-sponsors__btn-wrap .noah-button-wrapper a:focus {
	background-color: #ffffff;
	border-color: #000000;
	color: #000000;
}

@media screen and (max-width: 1024px) {
	.noah-featured-sponsors {
		width: 100vw;
	}
}

@media screen and (max-width: 767px) {
	.noah-featured-sponsors__sponsors-container {
		flex-direction: column;
	}

	.noah-featured-sponsors__single {
		flex-basis: auto;
	}
}

/* Main Archive */

.noah-sponsors-archive__main {
	padding: 70px 0 50px;
}

.noah-sponsors-archive__wrap-header {
	max-width: 800px;
	margin: 0 auto 30px;
}

.noah-sponsors-archive__header {
	text-align: center;
}

.noah-sponsors-archive__heading {
	margin-top: 0;
	margin-bottom: 25px;
}

.noah-sponsors-archive__posts {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 80px 0;
}

.noah-sponsors-archive__single-post {
	flex: 0 0 50%;
	padding: 0 45px;
}

.noah-sponsors-archive__single-post .post {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
}

.noah-sponsors-archive__single-post .entry-title {
	margin-top: 0;
	margin-bottom: 15px;
}

.noah-sponsors-archive__single-post .post p {
	margin-bottom: 15px;
}

.noah-sponsors-archive__single-post .post .wp-post-image {
	height: 120px;
	width: auto;
	margin-bottom: 30px;
	object-fit: contain;
}

.noah-sponsors-archive__single-post:nth-child(3n+1) .noah-button-wrapper a {
	background-color: var(--green-light);
	border-color: var(--green-light);
	color: #000000;
}

.noah-sponsors-archive__single-post:nth-child(3n+1) .noah-button-wrapper a:hover,
.noah-sponsors-archive__single-post:nth-child(3n+1) .noah-button-wrapper a:focus,
.noah-sponsors-archive__single-post:nth-child(3n+1) .noah-button-wrapper a:active {
	background-color: #000000;
	border-color: var(--green-light);
	color: var(--green-light);
}

.noah-sponsors-archive__single-post:nth-child(3n+3) .noah-button-wrapper a {
	background-color: #000000;
	border-color: #000000;
	color: #ffffff;
}

.noah-sponsors-archive__single-post:nth-child(3n+3) .noah-button-wrapper a:hover,
.noah-sponsors-archive__single-post:nth-child(3n+3) .noah-button-wrapper a:focus,
.noah-sponsors-archive__single-post:nth-child(3n+3) .noah-button-wrapper a:active {
	background-color: #ffffff;
	border-color: #000000;
	color: #000000;
}

@media screen and (max-width: 767px) {
	.noah-sponsors-archive__posts {
		flex-direction: column;
	}

	.noah-sponsors-archive__single-post {
		padding-left: 20px;
		padding-right: 20px;
	}

	.noah-sponsors-archive__single-post .post .wp-post-image {
		margin-bottom: 15px;
	}
}

/* Pagination */
.noah-sponsors-archive .pagination {
	display: flex;
	justify-content: space-between;
	padding-left: var(--content-margin);
	padding-right: var(--content-margin);
	margin-bottom: 70px;
}
