.post-type-archive-resource .page-banner-text {
	margin-bottom: 5em;
}

.post-type-archive-resource .page-banner-text .page-banner-text__container {
	background-image: url(../img/resource-hub-hero.png);
	background-size: cover;
	background-position: 50% 100%;
}

@media (min-width: 1280px) {
	.post-type-archive-resource .page-banner-text .page-banner-text__container {
		padding-top: 15rem;
		padding-bottom: 15rem;
	}

	.post-type-archive-resource .page-banner-text h4,
	.post-type-archive-resource .page-banner-text p {
		max-width: 26rem;
	}
}

.article-thumbnail.resource {
	background: white;
	border-bottom-right-radius: 35px;
	border-bottom: none;
}

.article-thumbnail.resource .text {
	padding: 1.5em;
}

.article-thumbnail.resource .text h3 {
	font-size: 1.6em;
}

.article-thumbnail.resource .resource-read-more {
	color: var(--colors-florida-orange);
	font-size: 1.2em;
	display: table;
}

.article-thumbnail.resource .resource-read-more::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 1.75em;
	height: 1.75em;
	line-height: 1.75em;
	text-align: center;
	margin: 0 0.5em 0.25em 0;
	background-color: var(--colors-florida-orange);
	background-image: url(../img/resource-icon-download.png);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: auto 1em;
	color: white;
	border-radius: 50%;
}

.article-thumbnail.resource[data-resource-type="video"] .resource-read-more::before,
.article-thumbnail.resource[data-resource-type="webinar"] .resource-read-more::before {
	background-image: url(../img/resource-icon-video.png);
}

.resource-modal-overlay {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 999;
}

.resource-modal {
	display: block;
	position: fixed;
	top: 2rem;
	right: 1rem;
	bottom: 2rem;
	left: 1rem;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: stretch;
}

.resource-modal-close {
	display: block;
	position: fixed;
	top: 1rem;
	right: 1rem;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 1.4em;
	z-index: 1001;
	margin-top: -0.5rem;
}

.resource-modal-close:hover {
	color: var(--colors-florida-orange);
}

.resource-modal-close:hover::before {
	background-color: var(--colors-florida-orange);
}

.resource-modal-close::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	margin: -0.25em 0.5em 0 0;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
	background: white url(../img/resource-modal-close.png) 50% 50% no-repeat;
	background-size: auto 0.675em;
	color: black;
	border-radius: 50%;
}

.resource-modal-close::after {
	content: "CLOSE";
}

.resource-modal iframe {
	display: block;
	width: 100%;
	flex-grow: 1;
	flex-shrink: 1;
	background: black;
}

.resource-modal img {
	display: block;
	width: 100%;
	height: 100%;
	flex-grow: 1;
	flex-shrink: 1;
	object-fit: cover;
	object-position: center center;
	overflow: hidden;
}

.resource-modal .resource-modal-text {
	display: block;
	width: 100%;
	flex-grow: 0;
	flex-shrink: 0;
	color: white;
	padding: 1em 0;
	min-height: 6em;
}

.resource-modal .resource-modal-download {
	display: block;
	margin: 1em 0 0;
	color: var(--colors-florida-orange);
	font-weight: bold;
	font-size: 1.4em;
	text-decoration: none;
}

.resource-modal .resource-modal-download:hover {
	text-decoration: underline;
}

.resource-modal .resource-modal-download::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	margin: -0.25em 0.5em 0 0;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
	background: var(--colors-florida-orange) url(../img/resource-modal-download.png) 50% 50% no-repeat;
	background-size: auto 0.675em;
	color: black;
	border-radius: 50%;
}

@media (min-width: 768px) {
	.resource-modal {
		top: 8rem;
		right: 4rem;
		bottom: 8rem;
		left: 4rem;
	}

	.resource-modal-close {
		top: 5rem;
		right: 4rem;
	}
}

@media (min-width: 960px) {
	.resource-modal {
		right: auto;
		left: 50%;
		margin-left: -25rem;
		width: 50rem;
	}

	.resource-modal-close {
		right: 50%;
		margin-right: -25rem;
	}

	.resource-modal .resource-modal-text {
		padding-right: 15em!important;
		position: relative;
		padding: 2rem 0;
		line-height: 1.5em;
	}

	.resource-modal .resource-modal-download {
		position: absolute;
		top: 0;
		right: 0;
		margin-top: 2rem;
	}
}

@media (min-width: 1440px) {
	.resource-modal {
		margin-left: -512px;
		width: 1024px;
	}

	.resource-modal-close {
		margin-right: -512px;
	}
}