﻿section { 
	font-family: Roobert, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--hl-dark-green);
}

h2.section-title { 
	font-family: inherit;
	font-weight: 300;
	font-size: 28px;
	margin-bottom: 0.75em;
}

section.header { 
	padding-top: 20px; 
}

section.header .header-bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: calc(100% - 50px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

section.header .header-intro { 
	background-color: var(--hl-dark-green);
	padding: 30px;
	width: 100%;
	max-width: 340px;
}

section.header .header-intro h1 { 
	font-size: 46px;
	font-weight: 600;
	color: var(--hl-light-green);
	line-height: 1.1;
}

section.header .header-intro .intro { 
	color: #ffffff;
}

section.standard-toolbar {
	margin-top: 0;
	padding-top: 0;
}

section.standard-toolbar .search-bar-container {
	justify-content: end;
}

.page-intro { 
	font-size: 20px;
}

/*** ***/

.product-panel { 
	overflow: hidden;
	position: relative;

	height: 280px;
}

.product-panel .listing-image { 
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
	transition: transform 0.2s;
}

.product-panel .tint {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.product-panel a.link {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	display: flex;
	align-items: end;
	text-decoration: none;
	padding: 25px;
	font-size: 26px;
	color: #ffffff;
	line-height: 1.25;
}

.product-panel a.link p { 
	color: inherit;
	line-height: inherit;
}

.product-panel a.link > :last-child { 
	margin-bottom: 0; 
}

.product-panel:hover .listing-image {
	transform: scale(1.1);
}

/*** ***/

.video-panel { 
	background-color: var(--hl-light-taupe);
	display: flex;
	flex-direction: column;
	gap: 0;
	height: 100%;
	transition: all 0.2s;
}

.video-panel .tag,
.podcast-panel .tag {
	display: flex;
	flex-direction: row;
	width: 100%;
	padding: 0;
	align-items: start;
	justify-content: space-between;
	font: inherit;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.2em;
	gap: 4px;
	text-decoration: none;
}

.video-panel .tag .type,
.podcast-panel .tag .type {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	color: var(--hl-dark-green);
	text-decoration: none;
	width: 100%;
	padding-bottom: 10px;
}

.video-panel .tag .type .icon,
.podcast-panel .tag .type .icon {
	width: 45px;
	height: 45px;
	background-color: var(--hl-light-green);
	background-size: 28px auto;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

.video-panel .tag .type .icon {
	background-image: url('/_uploads/icons/content-types/icon-ct-panel-video.png');
}

.video-panel .content { 
	padding: 0 25px 25px 25px;
	display: flex;
	flex-direction: column;
	gap: 0px;
	height: calc(100% - 45px);
	/*justify-content: space-between;*/
}

.video-panel .content a.title { 
	display: block;
	font-family: inherit;
	font-weight: 400;
	text-decoration: none;
	font-size: 23px;
	color: inherit;
}

.video-panel a.image { 
	padding-top: 0;
	display: flex;
	flex-basis: 100%;
	align-items: end;
}

.video-panel div.image {
	position: relative;
	flex-shrink: 0;
	width: 100%;
	height: 130px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.video-panel:hover {
	background-color: #d8d8d8;
}


section.videos {
	margin-top: 30px;
}

/*** ***/

section.podcasts { 
	margin-top: 30px;
	padding: 25px 0;
	background-image: url("/_uploads/esg-academy/podcasts-bg.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.podcast-panel-wrapper { padding: 0 5px; }

.podcast-panel { 
	display: block;
	background-color: #ffffff; 
	text-decoration: none;
	font: inherit;
	color: inherit;
	transition: all 0.2s;
}

.podcast-panel .tag .type .icon { 
	background-image: url("/_uploads/icons/content-types/icon-ct-panel-podcast.png");
}

.podcast-panel .content { 
	padding: 10px 25px 25px 25px;
	color: inherit;
}

.podcast-panel .content p.subtitle { 
	font: inherit;
	font-size: 12px;
	color: inherit;
}

.podcast-panel .content p.title { 
	font: inherit;
	font-size: 23px;
	color: inherit;
}

.podcast-panel .image { 
	position: relative;
	margin-top: 20px;
	width: 100%;
	height: 150px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.podcast-panel div.image:after {
	content: "";
	display: block;
	position: absolute;
	top: calc(50% - 25px);
	left: calc(50% - 25px);
	width: 50px;
	height: 50px;
	background-image: url("/_assets/icon-play-circle-hl-light-green-dark-green.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.podcast-panel:hover { 
	background-color: var(--hl-light-taupe);
}

section.podcasts .slick-arrow { 
	background-color: var(--hl-light-green);
}

section.podcasts .slick-arrow:hover { 
	background-color: #ffffff;
}

section.podcasts .carousel-controls { 
	display: block;
}

/*** ***/

.carousel-controls {
	display: none;
	margin-top: 20px;
}

.carousel-buttons {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: center;
}

.slick-arrow { 
	width: 35px;
	height: 35px;
	font-size: 0;
	background-color: #ffffff;
	border: 1px solid var(--hl-light-green);
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png");
	background-size: 17px auto;
	background-position: center;
	background-repeat: no-repeat;
}

.slick-arrow.slick-prev { 
	transform: rotate(180deg);
}

@media (max-width: 1200px) {
	.product-panel { 
		height: calc(25vw - 10px);
	}
}

@media (max-width: 1100px) {
	.product-panel {
		height: calc(33vw - 10px);
	}
}

@media (max-width: 800px) {
	.product-panel {
		height: calc(50vw - 10px);
	}
}

@media (max-width: 640px) {
	.grid-4.carousel {
		display: block;
	}

	section.products .carousel-controls,
	section.videos .carousel-controls { 
		display: block;
	}

	.product-panel-wrapper,
	.video-panel-wrapper {
		padding: 0 5px;
	}

	.product-panel {
		height: 250px;
	}
}

@media (max-width: 520px) {
	section .header .header-bg { 
		height: 240px;
	}

	section.header .header-intro h1 { 
		font-size: 32px; 
	}

	section.header .header-intro {
		margin-top: 180px;
		max-width: 100%;
	}
}