.featured-section-1, .featured-section-2, .featured-section-3 {
	background-color: #f1f0ec;
}
.resources-banner-top .resources-branner-top-column {
	gap: 0px;
    margin-top: 5%;
}
span.resources-banner-subtitle {
	color: #fff;
    opacity: 70%;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    margin: auto;
    display: inline-block;
    width: 100%;
}
.resource-banner-top-content p {
	color: #fff;
    opacity: 70%;
    font-size: 14px;
    width: 70%;
    text-align: center;
    margin: auto;
}
.resource-content-section .resources-taxonomy {
	margin-bottom: 20px;
}
.resources-taxonomy {
	margin-bottom: 10px;
}
.resources-taxonomy span {
	color: #000;
	font-size: 12px;
	text-transform: uppercase;
    border: 1px solid #1F1F1F;
    display: inline-block;
    padding: 12px 20px;
    border-radius: 1000px;
    margin: 0 5px 12px 0;
	cursor: pointer;
}
.resources-taxonomy span.is-active,
.resources-taxonomy span:hover {
	background-color: #1F1F1F;
	color: #fff;
}
.featured-section.section-text {
	margin-bottom: 35px;
}
.featured-section.section-text .community-title h3 {
	font-size: 36px;
}
.library-all .post-card__type {
	color: #184FA5;
    font-size: 12px;
    padding: 20px 20px 0px 20px;
	text-transform: uppercase;
}
.resources-all .post-card__tag,
.library-all .post-card__tag {
	position: absolute;
    z-index: 999;
    color: #fff;
    background-color: #00000099;
    bottom: 10px;
    padding: 2px 10px;
    left: 10px;
    text-transform: uppercase;
    font-size: 9px;
}
.resources-all .post-card__title,
.library-all .post-card__title {
	font-size: 16px;
	height: 60px;
}
.resources-all .post-card__excerpt,
.library-all .post-card__excerpt {
	font-size: 12px;
}
.resources-all .post-card__content,
.library-all .post-card__content {
	padding: 0;
}
.resources-all .post-card__content .post-card__content-inner,
.library-all .post-card__content .post-card__content-inner  {
	padding: 20px 20px 0px 20px;	
}
.resources-all .post-card__content .post-card__content-inner,
.library-all .post-card__content .post-card__content-inner  {
	padding: 20px 20px 0px 20px;	
}
.resources-all .post-card__link,
.library-all .post-card__link {
	border-top: 2px solid #D0D4D2;
	border-bottom: 0;
    padding: 10px 15px;
}
.resources-all .post-card__subtitle,
.library-all .post-card__subtitle {
	font-size: 11px;
	color: #6E7C78;
	opacity: 80%;
	padding: 0 20px 20px 20px;
	text-transform: uppercase;
}
.resources-all .post-card__link a,
.library-all .post-card__link a {
	background-image: url('/wp-content/themes/Divi-child/assets/images/score-two-icon.png');
    background-repeat: no-repeat;
    display: inline-block;
    background-position: center right;
	font-size: 12px;
    color: #CE2253;
    padding: 4px 15px 4px 4px;
	text-transform: uppercase;
}
.resources-partners-section-inner {
	text-align: center;
}
.resources-partners-section-inner span {
	font-size: 12px;
	color: #000;
	opacity: 70%;
	text-transform: uppercase;
}
.resources-partners-section-inner h3 {
	font-size: 36px;
	color: #000;
}
.library-grid article {
	min-height: 279px;
}
.resources-partners-content {
	text-align: center;
}
.resources-partners-content h3 {
	font-size: 16px;
	color: #000;
	line-height: 16px;
	margin: 0 auto 10px auto;
	height: 40px;
}
.resources-partners-content p {
	font-size: 12px;
	color: #000;
	line-height: 16px;
	margin: 0 auto 20px auto;
	opacity: 70%;
	width: 80%;
}
.resources-partners-content a {
	background-image: url('/wp-content/themes/Divi-child/assets/images/score-two-icon.png');
    background-repeat: no-repeat;
    display: inline-block;
    background-position: center right;
	font-size: 12px;
    color: #CE2253;
	padding: 4px 15px 4px 4px;
	opacity: 70%;
	text-transform: uppercase;
}

/**
 * Filter/sort controls + transition effect for [resources_grid] and [library_grid].
 * Place this file at: /assets/styles/resourcestype-filter.css
 */

.resources-taxonomy,
.library-taxonomy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.term-filter {
    border: 1px solid currentColor;
    background: transparent;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.term-filter.is-active {
    background-color: currentColor;
    color: #fff;
}
.post-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity .3s ease,
        transform .3s ease;
}
.post-card.is-hidden {
    opacity: 0;
    transform: translateY(20px) scale(.96);
    pointer-events: none;
}

.resources-sort-toggle {
    border: 1px solid currentColor;
    background: transparent;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    margin-left: auto;
}
/* Fade + scale transition when filtering */
.resources-grid article,
.library-grid article {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 1;
    transform: scale(1);
}
.resources-grid article.is-hidden,
.library-grid article.is-hidden {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}
/* Fade during re-sort, before the DOM order is swapped */
.resources-grid.is-sorting article,
.library-grid.is-sorting article {
    opacity: 0;
    transform: translateY(4px);
}
.cm-gf-form {
	width: 60%;
    margin: auto;
}
.cm-gf-form .gform-theme .gform_validation_errors {
	display: none;
	margin-top: 20px;
}
.cm-gf-form .gform-body .gform_fields {
	display: block;
}
.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner {
	display: flex;
	gap: 20px;
	margin: 30px 0;
}
.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner .gfield--type-text,
.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner .gfield--input-type-email {
	width: 33.333%;
}
.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner .gfield--type-text input ,
.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner .gfield--input-type-email input {
	height: 46px;
	border-radius: 2px;
}
.cm-gf-form .gform-body .gform_fields #field_4_6 label {
	color: #fff;
	font-size: 12px;
	margin-bottom: 20px;
}
.cm-gf-form .gform-body .gform_fields #field_4_8 p {
	color: #fff;
	font-size: 11px;
}
.cm-gf-form form .gform-footer {
	display: inline-block;
    text-align: center;
    width: 100%;
}
.cm-gf-form .gform-footer #gform_submit_button_4 {
	background-color: #E83621;
    color: #fff;
    width: 134px;
    border-radius: 1000px;
    height: 54px;
	filter: contrast(100%);
}
.cm-gf-form .gform-footer #gform_submit_button_4:hover {
	opacity: 70%;
}
.cm-gf-form .gform_confirmation_message {
	color: #fff;
    text-align: center;
    margin-top: 20px;
}
body.page-id-1451 .stay-connected-section,
body.page-id-97 .stay-connected-section {
	display: none;
}
#gform_wrapper_3 .gform-body.gform_body label.gfield_label,
#gform_wrapper_4 .gform-body.gform_body label.gfield_label {
	display: none;
}
@media (max-width: 990px) {
	.et_pb_section.resources-banner-top {}
	.et_pb_section.resources-banner-top .et_block_row {
		padding-top: 20px !important;
        padding-bottom: 30px !important;
		min-height: 100%;
        height: 100%;
	}
	.cm-gf-form {
		width: 80%;
	}
	.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner {
		display: inline-block;	
		width: 100%;
	}
	.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner .gfield--type-text,
	.cm-gf-form .gform-body .gform_fields .cm-gf-form-inner .gfield--input-type-email {
		width: 100%;
		margin-bottom: 10px;
	}
}

/**
 * Leaving-Site Interstitial (GLOBAL) — styles
 * Adjust colors/fonts to match the site's existing brand system.
 */
.lsi-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}
.lsi-overlay[hidden] {
    display: none;
}
.lsi-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 460px;
    width: 100%;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    font-family: inherit;
}
.lsi-headline {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
	color: #000;
}
.lsi-body {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin: 0 0 24px;
	opacity: 70%;
}
.lsi-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.lsi-btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}
.lsi-btn-primary {
    background: #E83621; /* placeholder — match site's primary brand color */
    color: #fff;
}
.lsi-btn-primary:hover {
    opacity: 70%;
}
.lsi-btn-secondary {
    background: #fff;
    color: #000; /* placeholder — match site's primary brand color */
    border-color: #000;
}
.lsi-btn-secondary:hover {
    opacity: 70%;
}
body.lsi-lock-scroll {
    overflow: hidden;
}