
/* ==========================================================================
   News Feed
   ========================================================================== */

.mnf-news-feed {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

/* ==========================================================================
   Slider
   ========================================================================== */

.mnf-slider {
	width: 91%; 
    max-width: 1430px;
	margin: 0 auto;
	overflow: hidden;
	flex: 1;
}

.mnf-slider .swiper-wrapper {
	align-items: stretch;
}

.mnf-slider .swiper-slide {
	height: auto;
}
.swiper-slide {
	padding-inline: 2.0%;
	box-sizing: border-box;
}
/* ==========================================================================
   Card
   ========================================================================== */

.mnf-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
}

.mnf-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding-top: 1rem;
}
.mnf-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;

	color: inherit;
	text-decoration: none;
}

/* ==========================================================================
   Image
   ========================================================================== */

.mnf-news-feed--hexagon .mnf-image {
	aspect-ratio: 1;
	overflow: hidden;
	clip-path: polygon(
		25% 6.7%,
		75% 6.7%,
		100% 50%,
		75% 93.3%,
		25% 93.3%,
		0% 50%
	);
}
.mnf-news-feed--square .mnf-image {
	aspect-ratio: 1;
	overflow: hidden;
	clip-path: none;
}
   /*.mnf-image {
	aspect-ratio: 1;
	overflow: hidden;

	clip-path: polygon(
		25% 6.7%,
		75% 6.7%,
		100% 50%,
		75% 93.3%,
		25% 93.3%,
		0% 50%
	);
}*/

.mnf-image a {
	display: block;
	height: 100%;
}

.mnf-image__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.mnf-title {
	margin: 0 0 0.5rem;
	text-transform: uppercase;
	line-height: 1.3;
}

.mnf-title a {
	color: inherit;
	text-decoration: none;
}

.mnf-title a:hover,
.mnf-title a:focus {
	text-decoration: underline;
}

.mnf-excerpt {
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin-bottom:2rem;
}

/* ==========================================================================
   Button
   ========================================================================== */

.mnf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
	text-decoration: none;
    background:transparent;
}

.mnf-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding:11px 20px;
    background:#1B9399;
    color:white;
    display: block;
    text-align: center;
    margin: auto;
	border:2px solid #1B9399;
}

.mnf-more:hover {
    background:white;
    color:#1B9399;
}
.mnf-news-feed--square .mnf-more {
	background:#00629B;
	border-color:#00629B;
}

.mnf-news-feed--square .mnf-more:hover {
    background:white;
	color:#00629B;
}
/* ==========================================================================
   Navigation
   ========================================================================== */

.mnf-button {
	flex: 0 0 48px;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 48px;
	height: 48px;

	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.mnf-button__icons {
	position: relative;
	display: block;
	width: 30px;
}

.mnf-button__icon {
	display: block;
	width: 30px;
	height: auto;
}

.mnf-button__icon--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.mnf-button:hover .mnf-button__icon--default,
.mnf-button:focus-visible .mnf-button__icon--default {
	opacity: 0;
}

.mnf-button:hover .mnf-button__icon--hover,
.mnf-button:focus-visible .mnf-button__icon--hover {
	opacity: 1;
}

.mnf-button-prev .mnf-button__icon {
	transform: rotate(180deg);
}

.mnf-card__link:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

/*.mnf-card__link:hover .mnf-title,*/
.mnf-card__link:focus-visible .mnf-title {
	text-decoration: underline;
}
.mnf-button:focus-visible,
.mnf-title a:focus-visible,
.mnf-card a:focus-visible {

	outline: 3px solid currentColor;
	outline-offset: 3px;

}

.mnf-button:disabled,
.mnf-button.swiper-button-disabled {

	opacity: .4;
	cursor: default;

}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {

	.mnf-news-feed {
		gap: 1rem;
	}

	.mnf-slider {
		width: 100%;
	}

}

@media (max-width: 767px) {

	.mnf-news-feed {
		gap: .5rem;
	}

	.mnf-button {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

}



/* ==========================================================================
   Ticker
   ========================================================================== */

.mnf-ticker {
	width: 100%;
	overflow-x: hidden;
	padding-block: 30px;
}

.mnf-ticker__track {
	display: flex;
	width: max-content;
	animation: mnf-ticker-scroll 40s linear infinite;
}

.mnf-ticker__group {
	display: flex;
	flex-shrink: 0;
	align-items: stretch;
	gap: 80px;
	padding-right: 80px;
}

.mnf-ticker__item {
	flex: 0 0 360px;
	width: 360px;
	margin: 0;
	padding: 1.5rem 2rem;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
	border-radius: 10px;
}

.mnf-ticker__title {
	margin: 0;
}

.mnf-ticker__excerpt {
	margin: 0;
}

.mnf-ticker__play {
	display: none;
}

.mnf-ticker.is-paused .mnf-ticker__track {
	animation-play-state: paused;
}

.mnf-ticker.is-paused .mnf-ticker__pause {
	display: none;
}

.mnf-ticker.is-paused .mnf-ticker__play {
	display: inline;
}

/* ==========================================================================
   Ticker controls
   ========================================================================== */

.mnf-ticker__toggle {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 30px;
	height: 30px;
	margin: 0 auto 20px;

	padding: 0;

	background: #fff;
	color: #000;

	border: 1px solid #000;
	border-radius: 0;

	font: inherit;
	font-size: 18px;
	line-height: 1;

	cursor: pointer;
}

.mnf-ticker__toggle:hover {
	background: #000;
	color: #fff;
}

.mnf-ticker__toggle:focus-visible {
	outline: 3px solid #000;
	outline-offset: 3px;
}

.mnf-ticker__pause,
.mnf-ticker__play {
	color: currentColor;
	line-height: 1;
}

.mnf-ticker__play {
	display: none;
}

.mnf-ticker.is-paused .mnf-ticker__pause {
	display: none;
}

.mnf-ticker.is-paused .mnf-ticker__play {
	display: inline;
}

/* Pause on mouseover */
.mnf-ticker:hover .mnf-ticker__track {
	animation-play-state: paused;
}


/* Continuous movement */
@keyframes mnf-ticker-scroll {

	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}

}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

	.mnf-ticker {
		overflow-x: auto;
	}

	.mnf-ticker__track {
		animation: none;
	}

}