/* DONE - MINIMISED */

/* FFI News Panel, FFI News Article */
:root {
	--news-item-padding: 32px;
	--news-item-dimension-hover: calc(100% + var(--news-item-padding));
	--news-item-offset-hover: calc(-1 * calc(var(--news-item-padding) / 2));

	--news-item-motion-size: 72px;
	--news-item-2-motion-size: 320px;
	--news-item-3-motion-size: 256px;

	--news-item-image-zoom: scale(1.1) rotate(1deg);
}

.news-panel {
	position: relative;
}

.news-panel-list {
	margin: 0;
}

.news-panel-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0;
	position: relative;
}
.news-panel-item.fade{
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.4s ease;

}
	.news-panel-item.show {
		opacity: 1;
		transform: translateY(0);
	}

.news-panel-featured-item {
	padding: 0;
}

/* TODO: To be removed */
.news-panel-item-motion {
	display: none;
	height: 100%;
	position: relative;
	width: 100%;
	z-index: 0;
}

.news-panel-item-motion span {
	background-color: var(--light-grey-color);
	border-radius: var(--xl-border-radius);
	filter: blur(28px);
	position: absolute;
	height: var(--news-item-motion-size);
	width: var(--news-item-motion-size);
}

.news-panel-item-motion span:nth-child(1) {
	left: -32px;
	top: 72px;
}

.news-panel-item-motion span:nth-child(2) {
	height: var(--news-item-2-motion-size);
	width: var(--news-item-2-motion-size);
	border-radius: 100px;
	right: 32px;
	top: 64px;
}

.news-panel-item-motion span:nth-child(3) {
	height: var(--news-item-3-motion-size);
	width: var(--news-item-3-motion-size);
	left: 220px;
	top: 120px;
}

.news-panel-item-headline {
	align-items: center;
	border-radius: var(--border-radius);
	display: flex;
	justify-content: center;
	margin: 0;
	overflow: hidden;
	padding: 16px;
	position: relative;
}

.news-panel-item-headline::before {
	content: "";
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.25;
	position: absolute;
	top: 0;
	width: 100%;
}

.news-panel-item-headline .row {
	width: 100%;
	max-width: none;
}

.news-panel-item-headline .col-lg-6 {
	align-items: center;
	display: flex;
}

.news-panel-item-headline .col-lg-6:nth-child(2) {
	justify-content: flex-end;
}

.news-panel-item-headline h2 {
	margin: 0;
	padding: 0;
}

/* Fixed headline on scroll */
.news-panel-item-fixed-headline {
	background-color: var(--fhl-white);
	border-radius: 0;
	box-shadow: var(--header-mega-menu-shadow);
	left: 0;
	margin: 0;
	position: fixed;
	top: var(--header-height);
	width: 100%;
	z-index: 9;
}

.news-panel-item-card {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 100%;
	padding: 16px;
	position: relative;
	width: 100%;
}


.news-panel-item-card * {
	transition: transform 0.3s ease-in;
}

.news-panel-item-anchor,
.news-panel-item-anchor:focus,
.news-panel-item-anchor:hover {
	outline: none;
	text-decoration: none;
}

.news-panel-item-anchor:focus,
.news-panel-item-anchor:hover {
	z-index: 1;
}

.news-panel-item-anchor {
	display: flex;
	flex-direction: column;
	flex: 1;
	height: auto;
	line-height: unset;
	margin: 0;
	min-height: 100%;
	padding: 0;
	position: relative;
}

.news-panel-item-anchor::before {
	-moz-transition: all 250ms ease-in-out;
	-ms-transition: all 250ms ease-in-out;
	-o-transition: all 250ms ease-in-out;
	-webkit-transition: all 250ms ease-in-out;
	background-color: var(--fhl-white);
	border-radius: var(--xl-border-radius);
	box-shadow: var(--xxl-card-shadow);
	content: "";
	display: block;
	height: var(--news-item-dimension-hover);
	left: var(--news-item-offset-hover);
	opacity: 0;
	position: absolute;
	top: var(--news-item-offset-hover);
	transition: all 250ms ease-in-out;
	visibility: hidden;
	width: var(--news-item-dimension-hover);
	z-index: -1;
}

.news-panel-item-anchor:focus::before,
.news-panel-item-anchor:hover::before {
	opacity: 1;
	visibility: visible;
}

.news-panel-item-header {
	justify-content: flex-start;
	padding-top: 4px;
}

.news-panel-item-header *:not(span) {
	filter: brightness(0.25);
}

.news-panel-item-indicator {
	background-color: var(--primary-color);
	border-radius: 100%;
	display: inline-flex;
	height: var(--dp);
	margin-left: var(--dp);
	margin-right: calc(var(--dp) * 2);
	position: relative;
	width: var(--dp);
}

.news-panel-item-indicator::before {
	--indicator-offset: -9px;
	--indicator-size: 24px;
	background-color: inherit;
	border-radius: inherit;
	content: "";
	display: block;
	height: var(--indicator-size);
	left: var(--indicator-offset);
	opacity: 0.25;
	position: absolute;
	top: var(--indicator-offset);
	width: var(--indicator-size);
}

.news-panel-item-category {
	display: inline-flex;
	font-family: "Avenir-Heavy", sans-serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 20px;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.news-panel-item-image {
	border-radius: var(--border-radius);
	height: 220px;
	margin: 8px 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.news-panel-item-image span {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: inherit;
	text-decoration: none;
	width: 100%;
}

.news-panel-item-image img {
	height: auto;
	max-height: 100%;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	position: absolute;
	width: auto;
	transform: none;
}

/* Rotate and zoom image on card hover */
.news-panel-item-anchor:hover .news-panel-item-image img {
	-ms-transform: var(--news-item-image-zoom);
	-webkit-transform: var(--news-item-image-zoom);
	transform: var(--news-item-image-zoom);
}

.news-panel-item-date {
	background-color: var(--fhl-white);
	border-radius: var(--border-radius);
	bottom: 16px;
	color: var(--black-color);
	display: flex;
	flex-direction: column;
	font-family: "Avenir-Heavy", sans-serif;
	height: 72px;
	justify-content: space-between;
	padding: 4px;
	position: absolute;
	right: 16px;
	width: 48px;
	z-index: 1;
}

.news-panel-item-date svg {
	align-items: center;
	color: inherit;
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0 4px;
	position: relative;
}

.news-panel-item-date svg text {
	fill: currentColor;
}

.news-panel-item-date svg:nth-child(1) text {
	font-size: 32px;
	font-weight: bold;
}
.news-panel-item-date svg:nth-child(2) text {
	font-size: 16px;
	font-weight: bold;
	opacity: 0.8;
	text-transform: uppercase;
}

.news-panel-item-date svg:nth-child(3) text {
	font-size: 14px;
	font-weight: bold;
	opacity: 0.6;
}

.news-panel-item-author {
	background-color: var(--dark-grey-color);
	border-radius: var(--border-radius);
	bottom: 16px;
	color: var(--fhl-white);
	flex: none;
	font-size: 10px;
	height: auto;
	left: 16px;
	line-height: 24px;
	margin: 0;
	opacity: 0.75;
	padding: 0 8px;
	position: absolute;
	text-transform: uppercase;
	visibility: hidden;
	z-index: 1;
}

.news-panel-item-card:hover .news-panel-item-image img {
	filter: none;
}

.news-panel-item-content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.news-panel-item-title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	flex: none;
	font-size: 20px;
	margin: 8px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: break-spaces;
}

.news-panel-item-intro {
	flex: 1;
	font-size: 16px;
	line-height: 22px;
	margin: 0;
}

.news-panel-item-intro p {
	margin: 0 0 16px;
}

.news-panel-item-button {
	font-size: 13px;
	margin: 0;
	text-transform: uppercase;
}

.news-panel-item-more {
    text-decoration: underline;
}

/* Featured item */
.news-panel-featured-item .news-panel-item-anchor {
	flex-direction: row;
}

.news-panel-featured-item .news-panel-item-title {
	font-size: 36px;
	line-height: 48px;
}

.news-panel-featured-item .news-panel-item-image {
	height: 280px;
}

@media (max-width: 991px) {
	.news-panel-item-headline {
		border-radius: 0;
	}
	.news-panel-item-headline .col-lg-6:nth-child(2) {
		justify-content: flex-start;
		margin-top: 16px;
	}
}

@media (min-width: 992px) {
	.news-panel-featured-item .news-panel-item-content {
		padding-left: 32px;
	}
	
	.news-panel-featured-item .news-panel-item-more {
	    position: absolute;
	    bottom: 10px;
	}
}

