.resources-section {
	padding: 44px 0;
}

.resources-section__header {
	margin: 0 auto 22px;
	max-width: 1024px;
}

.resources-section__header h2 {
    text-align: center;
}

.resource__title {
	word-break: break-word;
}

.resources-tabs {
    margin-bottom: 22px;
}

.resources-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    border-bottom: 1px solid #dcdcdc;
    margin: 0 0 22px;
    padding: 0;
}

.resources-tabs__tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #3a3a3a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0 0 12px;
    text-transform: uppercase;
}

.resources-tabs__tab.is-active,
.resources-tabs__tab:focus,
.resources-tabs__tab:hover {
    color: #01916D;
    border-bottom-color: #01916D;
}

.resources-tabs__panel {
    display: none;
}

.resources-tabs__panel.is-active {
    display: block;
}

.resources-section__cta {
    margin-top: 22px;
    text-align: center;
}

.resources {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 44px;
}

.resources.slick-initialized {
	display: block;
}

.resources-section .slick-dots {
	bottom: 10px;
	left: 0;
	right: auto;
	text-align: center;
}

.resources:last-child {
	margin-bottom: 0;
}

.resources__item {
	margin-bottom: 44px;
	padding: 0;
}

@media( min-width : 1201px ) {
	.resources__item {
		padding: 0 22px;
	}
}

/*
 * Video cards use .video-slider-item inside .row.resources, not inside .video-slider.
 * video-slider.css applies height: 100% via .video-slider .slick-slide; Resources Slick
 * is on .resources, so we mirror track/slide heights and flex so cards match Video Section.
 */
.resources-section .resources.slick-initialized .slick-track {
	display: flex;
}

.resources-section .resources.slick-initialized .slick-slide {
	height: inherit;
}

.resources-section .resources.slick-initialized .slick-slide > div {
	height: 100%;
}

.resources-section .resources__item--video {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.resources-section .resources.slick-initialized .resources__item--video {
	height: 100%;
	align-self: stretch;
}

.resources-section .resources__item--video .video-slider-item {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
}

.resources-section .resources.slick-initialized .resources__item--video .video-slider-item {
	height: 100%;
}

.resources-section .resources__item--video .video-slider-image {
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

.resources-section .resources__item--video .video-slider-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.resources-section .resources__item--video .video-slider-content {
	flex: 1 1 auto;
}

@media (min-width: 768px) {
	.resources-section .resources__item--video .video-slider-item {
		min-height: 346px;
	}
}

@media (min-width: 1200px) {
	.resources-section .resources__item--video .video-slider-item {
		min-height: 425px;
		position: relative;
	}
}

.resource {
	display: flex;
	flex-direction: column;
	padding: 28px;
	height: 100%;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.10);
	background-color: #fff;
	transition: box-shadow 0.2s;
	overflow: hidden;
}

.resource:hover {
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.30);
}

.resource__link--no-border,
.resource__link--no-border:hover {
    border-bottom: none;
}

.resource__body {
    margin-top: 22px;
}

.resource__body,
.resource__footer {
	padding: 16px;
}

.resources-tabs__panels .resource__text {
	display: none;
}

.resource__figure {
	position: relative;
	z-index: 1;
	padding-top: 56.25%;
	margin: 0;
	overflow: hidden;
}

.case-study-cards .resource__logo {
	position: absolute;
	right: 16px;
	bottom: 16px;
	background: #ffffff;
	padding: 8px 10px;
	border-radius: 4px;
	box-shadow: 0 8px 14px rgba(0, 0, 0, 0.15);
	z-index: 2;
}

.case-study-cards .resource__logo img {
    display: block;
    height: 100px;
    width: 150px;
    object-fit: contain;
}

.case-study-cards .case-study-card__eyebrow {
	margin: 0 0 6px;
	padding-bottom: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a7a7a;
}

.resource__image {
	margin: auto;
	height: auto;
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
}

.resource__image.orientation--portrait {
	width: auto;
    height: 100%;
}

.resource__figure-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.30);
	transition: background-color 0.2s;
}

.resource:hover .resource__figure-overlay {
	background-color: rgba(0, 0, 0, 0.10);
}

.resource__figure-overlay-icon {
	position: relative;
	font-size: 96px;
	color: #20348C;
	transition: transform 0.2s;
}

.resource:hover .resource__figure-overlay-icon {
	transform: scale(1.1);
}

.resource__figure-overlay-icon::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 90%;
	height: 90%;
	background: #fff;
	z-index: -1;
	margin: auto;
}


.resource__footer {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-top: auto;
	padding-top: 22px;
}

.resource__share {
	margin-top: 10px;
}

.resource__share-link-icon {
	width: 20px;
	height: 20px;
	color: #20348C;
}

@media (min-width: 1025px) {
	.resources-section {
		padding: 100px 0;
	}
}

/* Modal */
.resource-modal {
	padding: 30px;
	position: absolute;
	top: calc(-100% - 35px);
	left: auto;
	right: 0;
	z-index: -1;
	background-color: #fff;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
	opacity: 0;
	transition: opacity 0.2s;
}

.resource-modal a,
.resource-modal a:hover,
.resource-modal__opener,
.resource-modal__opener:hover {
	border-bottom: none;
}

.resource-modal.is-active {
	z-index: 1;
	opacity: 1;
}

.resource-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.resource-modal__header-title {
	padding-bottom: 0;
	font-weight: 600;
}

.resource-modal__opener {
	display: inline-block;
}

.resource-modal__closer {
	position: absolute;
	top: 5px;
	right: 10px;
	font-size: 24px;
	font-weight: bold;
}

/* Social */
.resource-modal .social-share-row {
	margin-top: 20px;
}

.resource-modal .social-share-row__item {
	padding-left: 0;
	margin-bottom: 0;
}

.resource-modal .social-share-row__item::before {
	display: none;
}

.resource-modal .resp-sharing-button__link {
	margin-top: 0;
	margin-bottom: 0;
}