/******** Header Fix *******/


.admin-bar.single-resource .elementor-element-69da913.elementor-sticky,
.admin-bar.single-resource .elementor-element-69da913.elementor-sticky--active {
	top: 32px;
}

.single-resource .elementor-element-69da913.elementor-sticky,
.single-resource .elementor-element-69da913.elementor-sticky--active {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100% !important;
	z-index: 9999;
}

/***************************************
 ****** Resource Typeset ****************
 ***************************************/

.resource-typeset {
	font-family: "Lato", Sans-serif!important;
    font-size: 16px!important;
    font-weight: 500!important;
    color: var(--e-global-color-dae4c36)!important;
}

.resource-typeset h1,
.resource-typeset h2 {
	font-family: "Playfair Display", Sans-serif!important;
	font-weight: 400!important;
}

.resource-typeset h1 {
	font-size: 60px!important;
}

.resource-typeset h2 {
	font-size: 40px!important;
}

.resource-typeset h3,
.resource-typeset h4,
.resource-typeset h5 {
	font-family: "Lato", Sans-serif!important;
	font-weight: 700!important;
}

.resource-typeset h3 {
	font-size: 30px!important;
}
.resource-typeset h4 {
	font-size: 24px!important;
}
.resource-typeset h5 {
	font-size: 18px!important;
}

@media (max-width: 768px) {
	.resource-typeset h1 {
		font-size: 42px!important;
	}
	.resource-typeset h2 {
		font-size: 30px!important;
	}
	.resource-typeset h3 {
		font-size: 24px!important;
	}
	.resource-typeset h4 {
		font-size: 20px!important;
	}
	.resource-typeset h5 {
		font-size: 18px!important;
	}
}

/***************************************
 ****** Single Resource ****************
 ***************************************/

.resource-single {
	background: var( --e-global-color-a9fe85b );
}

.res-title-box {
	background-color: var( --e-global-color-8d008b4 );
	padding: 200px 0 80px 0;
}


.res-title-box-wrap {
	max-width:1060px;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
	color: #fff;
}

.res-title-box-wrap .resource-type {
	font-weight: 700;
}

.res-title-box-wrap h1 {
	color: #fff!important;
}

.res-title-box-wrap .resource-subtitle {
	font-size: 1.5rem;
}

.res-content-box {
	
}

.res-content-box-wrap {
	max-width:1060px;
	margin: 0 auto;
	padding: 100px 20px;
}

/************* Videos ***************/

.resource-video {
	text-align: center;
	margin: 0 0 60px 0;
}

/************* Guides ***************/

.resource-button-wrap {
	margin: 0 0 60px 0;
}
.resource-button {
	background-color: var( --e-global-color-secondary );
	color: #fff!important;
	font-weight: 700;
	padding: 10px 20px;
	border-radius: 10px;
}

/************* Events ***************/

.resource-event-details {
	margin: 0 0 60px 0;
}

.event-button-wrap {
	margin-top: 40px;
}

/**************************************
 ****** Resource Archive **************
 **************************************/

.resources-archive {
}

.res-archive-hero {
	padding: 300px 0 80px 0;
	background-image: url(https://gainlinefp.com/wp-content/uploads/2026/06/resources_hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
}

.res-hero-content {
	max-width:1060px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}

.res-hero-content h1 {
	font-family: "Playfair Display", Sans-serif!important;
    font-size: 4rem!important;
	color: #fff!important;
	font-weight: 600 !important;
	
}

.res-archive-content {
	padding: 100px 0;
}

.res-archive-content-wrap {
	max-width:1060px;
	margin: 0 auto;
	padding: 0 20px;
}


/************* Filter Buttons ***************/

.res-filters {
	text-align: center;
	padding: 0 0 80px 0;
}

button.res-filter {
	background: var( --e-global-color-a9fe85b )!important;
	color: #0D2444!important;
	border: 2px solid #d1b281!important;
	font-family: "Lato", Sans-serif!important;
	text-transform: uppercase!important;
	border-radius: 999px!important;
	box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.31);
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.31);
	-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.31);
	margin: 4px;
}

button.res-filter.active {
	background-color: var( --e-global-color-8d008b4 )!important;
	color: #fff!important;
	border: 1px solid #2c426b!important;
}

/************* Resource Grid ***************/

.res-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

@media (max-width: 768px) {
	.res-grid {
		grid-template-columns: 1fr;
	}
}

.resource-card {
	display: flex;
	flex-direction: column;
	background: var( --e-global-color-a9fe85b );
	-webkit-border-top-left-radius: 20px;
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-topright: 20px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	overflow: hidden;
}

.resource-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.resource-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.resource-card__image img:hover {
	opacity: .7;
}

.resource-card__content {
	padding: 20px;
}

.resource-type {
	display: inline-block;
	font-weight: 700;
	font-size: 1rem;
}

.resource-card__title {
	margin: 0;
	font-size: 1.5rem!important;
	text-decoration: none;
	color: #0d2444!important;
}

.resource-card__title a {
	color: #0d2444!important;
	font-family: "Lato", Sans-serif!important;
}

.resource-card__title a:hover {
	text-decoration: none!important;
	opacity: .7;
}