/**
 * Resource Section panel styles.
 */

.panel-resource-section {
	padding: 86px 0 0;
	background: #fff;
	overflow:hidden;
}

.panel-resource-section.has-divider {
	border-bottom:solid 2px #F4F4F6;
}

.panel-resource-section.no-divider .container {
	padding-bottom:210px;
}

.panel-resource-section--supplier_documents .container {
	background-image: url("data:image/svg+xml,%3Csvg width='366' height='419' viewBox='0 0 366 419' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M365.546 280.287H177.55V233.14H340.02L365.546 280.287Z' fill='%23F3F4F6'/%3E%3Cpath d='M125.543 0L97.8359 46.1021L177.958 185.362L232.009 185.135L125.543 0Z' fill='%23F3F4F6'/%3E%3Cpath d='M366 138.399H150.933L177.958 185.546H340.428L366 138.399Z' fill='%23F3F4F6'/%3E%3Cpath d='M1.99805 347.33H56.1851L135.126 209.66L107.692 163.058L1.99805 347.33Z' fill='%23F3F4F6'/%3E%3Cpath d='M0 71.1248L108.192 256.669L135.309 209.567L54.5504 71.1248H0Z' fill='%23F3F4F6'/%3E%3Cpath d='M177.504 233.322L97.3818 372.582L125.089 418.684L231.827 233.14L177.504 233.322Z' fill='%23F3F4F6'/%3E%3C/svg%3E%0A");
	background-position:left 30px bottom -144px;
	background-repeat:no-repeat;
}

.panel-resource-section__header {
	display: grid;
	grid-template-columns: minmax(0, 602px) auto;
	align-items: end;
	gap: 24px 40px;
	margin-bottom: 48px;
}

.panel-resource-section__title {
	margin: 0 0 36px;
	color: var(--ppi-navy, #1a1a4a);
	font-size: clamp(36px, 4vw, 49px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.735px;
}

.panel-resource-section__intro {
	color: var(--ppi-navy, #1a1a4a);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.32px;
}

.panel-resource-section__intro p {
	margin: 0;
}

.panel-resource-section__view-all,
.panel-resource-section__item-link,
.panel-resource-section__projects-link {
	color: var(--ppi-navy, #1a1a4a);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: underline;
	text-decoration-color: var(--ppi-blue, #089ef7);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	white-space: nowrap;
}

.panel-resource-section__view-all--supplier {
	display: block;
	margin-bottom: 24px;
	text-align: right;
}

.panel-resource-section__view-all:hover,
.panel-resource-section__view-all:focus,
.panel-resource-section__item-link:hover,
.panel-resource-section__item-link:focus {
	color: var(--ppi-blue, #089ef7);
	text-decoration: none;
}

.panel-resource-section__slider-wrap {
	position: relative;
}

.panel-resource-section__slider {
	margin: 0 -15px;
}

.panel-resource-section__slider .slick-list {
	overflow: visible;
}

.panel-resource-section__slider .slick-track {
	display: flex;
	align-items: stretch;
}

.panel-resource-section__slider .slick-slide {
	height: auto;
	padding: 0 15px;
}

.panel-resource-section__card {
	display: flex !important;
	flex-direction: column;
	width: 288px;
	max-width: 90vw;
	min-height: 100%;
}

.panel-resource-section__card-media {
	position: relative;
	aspect-ratio: 72/50;
	overflow: hidden;
	background: #fff;
}

.panel-resource-section--videos .panel-resource-section__card {
	border: 1px solid #e5e7eb;
	background: #fff;
}

.panel-resource-section--videos .panel-resource-section__card-media {
	height: 192px;
	border: 0;
}

.panel-resource-section--videos .panel-resource-section__card-content {
	padding: 20px 23px 24px;
}

.panel-resource-section--videos .panel-resource-section__video-trigger {
	display: inline-block;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.panel-resource-section--videos .panel-resource-section__video-trigger:not([data-video-src]) {
	cursor: default;
}

.panel-resource-section--videos .panel-resource-section__video-trigger:not([data-video-src]):hover,
.panel-resource-section--videos .panel-resource-section__video-trigger:not([data-video-src]):focus {
	color: var(--ppi-navy, #1a1a4a);
	text-decoration: underline;
}

.panel-resource-section__lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.panel-resource-section__lightbox[hidden] {
	display: none;
}

body.panel-resource-section-lightbox-open {
	overflow: hidden;
}

.panel-resource-section__lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 74, 0.82);
}

.panel-resource-section__lightbox-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 960px);
}

.panel-resource-section__lightbox-close {
	position: absolute;
	top: -44px;
	right: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
}

.panel-resource-section__lightbox-video {
	display: block;
	width: 100%;
	max-height: calc(100vh - 96px);
	background: #000;
}

.panel-resource-section__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position:50% 0;
}

.panel-resource-section--videos .panel-resource-section__card-media img {
	object-fit: cover;
}

.panel-resource-section__play-icon {
	vertical-align: top;
    display: inline-block;
    position: relative;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ppi-blue, #089ef7);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    margin-left: 6px;
}

.panel-resource-section__play-icon::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 3px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid var(--ppi-blue, #089ef7);
}

.panel-resource-section__card-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 12px;
	padding: 20px 0 0;
}

.panel-resource-section--catalogues .panel-resource-section__card-content {
	gap: 12px;
	min-height: 130px;
	padding: 20px 23px;
	background: #101828;
}

.panel-resource-section--catalogues .panel-resource-section__card-title,
.panel-resource-section--catalogues .panel-resource-section__item-link {
	color: #fff;
}

.panel-resource-section__card-title {
	margin: 0;
	color: var(--ppi-navy, #1a1a4a);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.1;
}

.panel-resource-section--catalogues .panel-resource-section__item-link,
.panel-resource-section--videos .panel-resource-section__item-link {
	font-size: 14px;
}

.panel-resource-section__controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin-top: 40px;
	margin-bottom: 64px;
}
.panel-resource-section__controls:has(.panel-resource-section__arrow--prev.slick-hidden):has(.panel-resource-section__arrow--next.slick-hidden) {
	visibility:hidden;
}

.panel-resource-section__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	border: 0;
	background: #fff;
	cursor: pointer;
	line-height: 0;
}

.panel-resource-section__arrow img {
	display: block;
	width: 10px;
	height: 48px;
}

.panel-resource-section__dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.panel-resource-section__dots .slick-dots {
	position: static;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	width: auto;
	list-style: none;
}

.panel-resource-section__dots .slick-dots li {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0;
}

.panel-resource-section__dots .slick-dots li button {
	display: block;
	width: 20px;
	height: 2px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #a3a3b7;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}

.panel-resource-section__dots .slick-dots li button:before {
	content: none;
}

.panel-resource-section__dots .slick-dots li.slick-active button {
	background: var(--ppi-blue, #089ef7);
}

.panel-resource-section__supplier-layout {
	display: grid;
	grid-template-columns: minmax(260px, 397px) minmax(0, 1fr);
	align-items: start;
	gap: 40px 80px;
}

.panel-resource-section__supplier-intro .panel-resource-section__title {
	margin-bottom: 36px;
}

.panel-resource-section__supplier-intro .panel-resource-section__intro {
	margin-bottom: 36px;
}

.panel-resource-section__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 5px 21px;
	border: 2px solid var(--ppi-blue, #089ef7);
	border-radius: 30px;
	color: var(--ppi-navy, #1a1a4a);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.panel-resource-section__cta:hover,
.panel-resource-section__cta:focus {
	background-color: var(--ppi-blue, #089ef7);
	color: #fff;
}

.panel-resource-section__supplier-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.panel-resource-section__supplier-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 80px;
	padding: 24px 32px;
	background: #f3f4f6;
}

.panel-resource-section__supplier-row-title {
	margin: 0;
	flex: 1 1 auto;
	color: var(--ppi-navy, #1a1a4a);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.1;
}

.panel-resource-section__divider {
	height: 1px;
	margin-top: 86px;
	background: #d9d9d9;
}

@media (max-width: 1024px) {
	.panel-resource-section__header {
		grid-template-columns: 1fr;
	}

	.panel-resource-section__supplier-layout {
		grid-template-columns: 1fr;
	}

	.panel-resource-section.panel-class-mobile-button-bottom .container {
		position: relative;
	}

	.panel-resource-section.panel-class-mobile-button-bottom .container .panel-resource-section__cta {
		position: absolute;
		bottom: 120px;
	}

	.panel-resource-section.panel-class-mobile-button-bottom .panel-resource-section__supplier-intro .panel-resource-section__intro {
		margin-bottom: 0;
	}

}

@media (max-width: 767px) {
	.panel-resource-section {
		padding-top: 64px;
	}

	.panel-resource-section__header {
		margin-bottom: 32px;
	}

	.panel-resource-section__title {
		margin-bottom: 24px;
	}

	.panel-resource-section__controls {
		justify-content: center;
	}

	.panel-resource-section__supplier-row {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}

	.panel-resource-section__supplier-row-title {
		font-size: 20px;
	}

	.panel-resource-section__divider {
		margin-top: 64px;
	}
}
