/*
* News / Blog Styles
*/

.newsPageWrapper {
    padding: 96px 0 113px;
}

.blogGrid {

    display: flex;
	flex-wrap: wrap;
	width: ~"calc(100% + 102px)";
	margin: 0 -51px -102px -51px;

	.recommendedArticles & {
		flex-wrap: nowrap;
		margin-bottom: 0;
	}

	&__item {
		flex: 0 0 33.333333%;
		padding: 0 51px;
		margin-bottom: 102px;

		.recommendedArticles & {
			margin-bottom: 0;
		}

	}

	&.splide {

	}

	.splide__track {
		width: 100%;
		overflow: visible;
	}

	.splide__list {
		display: flex;
		width: 100%;
	}

	.splide__arrows {

		.splide__arrow{

			width: 50px;
			height: 50px;
			opacity: 1;
			visibility: visible;
			pointer-events: auto;
			transition: opacity 200ms linear, visibility 200ms linear;

			&[disabled] {
				opacity: 0;
				visibility: hidden;
				pointer-events: none;
				transition: opacity 200ms linear, visibility 200ms linear;
			}

			&:after {
				content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="52" height="52" viewBox="0 0 52 52" fill="none"><path d="M26.1698 0.601329C12.1986 0.601329 0.839354 11.9606 0.839354 25.9317C0.839355 39.9029 12.1986 51.2621 26.1698 51.2621C40.1409 51.2621 51.5002 39.9029 51.5002 25.9317C51.5002 11.9606 40.1409 0.601328 26.1698 0.601329ZM29.4236 38.3575L25.4782 34.4121L31.1837 28.7067L11.6649 28.7046L11.6649 23.1596L31.1837 23.1596L25.4782 17.4542L29.4236 13.5088L41.7949 25.9324L29.4236 38.3575Z" fill="%23165F59"/></svg>');
				width: 100%;
				height: 100%;
				transform: translate(-50%, -50%) rotate(0deg);
				background: transparent !important;
			}

			&.splide__arrow--next{
				right: -20px;

				@media all and (max-width: 1400px) {
					right: -16px;
				}
			}

			&.splide__arrow--prev {

				left: -20px;

				@media all and (max-width: 1400px) {
					left: -16px;
				}

				&:after {
					transform: translate(-50%, -50%) rotate(-180deg);

				}

			}

			&:hover, &:active, &:focus-visible {
				opacity: 0.8;
				transition: opacity 200ms linear, visibility 200ms linear;

				&:after {
					background: transparent !important;
				}
			}

			svg {
				display: none;
			}

		}

	}


	&:before, &:after {
        display: none;
    }

	.innerGridItem {

		display: flex;
		flex-direction: column;
		padding: 0;
		background: #fff;
		border-radius: 37px;
		color: var(--text_color);
		height: 100%;
		text-align: center !important;
		border: none;
		position: relative;
		overflow: hidden;



		&:hover, &:active, &:focus {
			.cardHeader {
				background: color-mix(in srgb, var(--fade_mixin_color), var(--primary_color) 90%);
				transition: background 300ms;
			}
		}


		.cardImage {

			width: 100%;
			height: auto;
			flex: 0 0 auto;
			position: relative;
			color: inherit;
			margin-top: 0;

			.imageWrap {
				border: none;
				box-shadow: none;
				position: relative;
				background: color-mix(in srgb, var(--fade_mixin_color), var(--primary_color) 10%);
				overflow: hidden;
				width: 100%;
				padding-bottom: 120%;


				img {
					position: absolute;
					top: 50%;
					left: 50%;
					transform: translate(-50%,-50%);
					width: 100%;
					height: auto;
				}

				.noImageSvg {
					position: absolute;
					left: 50%;
					top: 50%;
					transform: translate(-50%,-50%);
					width: 56px;
					height: 56px;
					opacity: 0.08;

					svg {
						width: 100%;
						height: auto;
						position: absolute;
						left: 50%;
						top: 50%;
						transform: translate(-50%,-50%);

						path {
							fill: #000;
						}
					}
				}

			}

		}

		.cardHeader {

			padding: 24px;
			background: color-mix(in srgb, var(--fade_mixin_color), var(--primary_color) 60%);
			backdrop-filter: blur(6.9px);
			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
			color: #fff;
			transition: background 300ms;

			.date {
				text-align: inherit !important;
				.rems(12);
				opacity: 0.8;
				min-height: 24px;
				display: none;
			}

			.title {
				.rems(24);
				line-height: 32px;
				position: relative;
				text-align: inherit !important;
				margin: 0 0 8px;
				color: inherit;

			}

			.summary {
				text-align: inherit !important;
				display: none;
			}

		}

		.cardFooter {
			width: 100%;
			padding: 0;
			height: auto;
			flex: 0 0 auto;
			flex-direction: row;
			align-items: center;
			justify-content: center;
			color: inherit;
			flex-wrap: wrap;
			margin-top: auto;
			display: none;

			.cardCta {
				width: 100%;
				text-align: left;
				padding: 0;

				@media (min-width: 981px) and (max-width: 1100px) {
					padding: 16px 0 0;
				}

			}


			.button, .buttonAlt {
				margin: 0;
				display: block;
				min-height: 0;
				width: 100%;
			}
		}


	}



}

.articlesWrap {
	&:before, &:after {
		display: none;
	}
}

.blogWrapper {

    padding: 56px 0 94px;
	background: #fff;

    @media all and (max-width: 1200px) {
        padding: 40px 0 80px;
    }

    .articlesWrap {
        .wrapper();
    }

    .paginationWrap {
        padding: 0;
    }

}

.emptyBlog {

    padding: 80px 0;

    h2 {
        .rems(32);
        line-height: 40px;
        margin: 0 0 8px;
        text-align: center;
    }

    p {
        margin: 0;
        text-align: center;
    }
}

/*
* News Articles
*/
.blogArticleWrapper {

    float: none;
    clear: both;
    padding: 64px 0 0;
    position: relative;
	background: #fff;

	.fixedHeader & {
		padding: 170px 0 0;
	}

    &:before {
        content: "";
        display: block;
        background: var(--light_color);
        width: 100%;
        height: 500px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

	& + .recommendedArticlesWrap {
		padding-top: 40px;
	}

    .wrapper {
        max-width: 920px;
        position: relative;
        z-index: 2;
    }

    .articleTitleBanner {

        text-align: center;
        padding: 0 0 64px;
        color: var(--primary_color);

        .articleDate {
            .rems(12);
            line-height: 14px;
            margin-bottom: 16px;
            text-align: inherit;
            color: inherit;
        }

        .articleTitle {
            .rems(35);
            line-height: 40px;
            margin: 0;
            text-align: inherit;
            font-weight: 400;
            color: inherit;
        }

    }

    .articleContent {

        .articleImage {
            background: transparent;
            width: 100%;
            height: auto;
            padding-bottom: 56.306%;
            position: relative;
            box-shadow: 0 8px 32px rgba(0,0,0,0.14);
            margin: 0;
			overflow: hidden;
			border-radius: 19px;

            img {
                width: 100%;
                height: auto;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
            }
        }

        .blogContentContain {

            padding: 80px 0;
            margin: 0 auto;
            max-width: 680px;

            @media @flyout {
                padding: 40px 0;
            }

        }

    }
}


/*
* Recommended articles
*/
.recommendedArticlesWrap {

    background: #fff;
	padding: var(--top_bottom_gutter) 0;
	width: 100%;
	margin: 0 auto;
	oveflow: hidden;

    @media @flyout {
		padding: var(--top_bottom_gutter_flyout) 0;
    }

	& > .wrapper {
		max-width: 1245px;
	}

    .introBlock {
        margin-bottom: 64px;

        @media @flyout {
            margin-bottom: 56px;
        }
    }


}



.blogProducts {

    float: none;
    clear: both;
    position: relative;

    .upsellItemsWrap {
        padding: 120px 0 88px;

        @media @flyout {
            padding: 56px 0;
        }
    }
}
