/* news */
.ul-disc li {
	list-style: inside disc;
}

.show-news .title-wrapper > p {
	margin-top: unset;
}

.news .flex-row {
	gap: 2rem;
	justify-content: space-between;
}

.news .flex-col {
	width: clamp(150px, 20vw, 350px);
	gap: 1rem;
	justify-content: flex-start;
}

.news.flex-col {
	padding-bottom: 2rem;
	justify-content: flex-start;
	transition: var(--speedFast);
}

.news.flex-col:hover {
	filter: brightness(0.7);
}

.news.flex-col button {
	padding: unset;
	border: unset;
	border-radius: unset;
	transition: var(--speedNormal);
	margin-top: 2rem;
	transition-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
	display: flex;
	gap: 1rem;
	align-items: center;
}

.news.flex-col button svg {
	fill: var(--bgLogo);
	width: 10px;
	height: auto;
	rotate: 180deg;
}

.news.flex-col:hover button {
	translate: 10px 0;
}

.news.flex-col button:hover {
	background-color: unset;
	color: var(--bgLogo);
}

.news.flex-col *:not(:first-child) {
	margin-top: 1rem;
}

.news img {
	width: 100%;
	display: block;
}

.news h6 {
	font-size: var(--fontSizeMedium);
	font-weight: 600;
}

.news h6,
.news p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news h6 {
	-webkit-line-clamp: 3;
}

.news p {
	-webkit-line-clamp: 2;
}

.news p :not(:nth-child(1)) {
	display: none;
}

/* news navigation tabs  */

.news-navi.flex-row {
	gap: 3vw;
	font-weight: 600;
	margin-top: 3rem;
	margin-bottom: 1rem;
	font-size: var(--fontSizeOK);
}

.news-navi a {
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	position: relative;
	padding: 0.2rem 0.5rem;
}

.flex-row.news-tabs {
	min-height: 40vh;
	overflow: hidden;
	position: relative;
	padding: 3px;
	margin-top: 1rem;
	margin-bottom: 3rem;
	transition: var(--speedNormal);
}

.news-tabs .grid:not(.show) {
	translate: 100vw 0;
	opacity: 0;
}
.news-tabs .grid {
	position: absolute;
	transition: var(--speedNormal);
	/* grid-template-columns: repeat(auto-fit, minmax(200px, 300px)); */
	grid-template-columns: repeat(3, 1fr);
	width: 99%;
	justify-content: flex-start;
	column-gap: 4rem;
	row-gap: 2rem;
}

a.selected::after {
	content: "";
	width: 100%;
	height: 3px;
	position: absolute;
	bottom: -5px;
	left: 0;
	background-color: var(--bgLogo);
}

.ddmenu-in-nav {
	position: relative;
	cursor: pointer;
	user-select: none;
}

.ddmenu-in-nav.selected::after {
	content: "";
	width: 100%;
	height: 3px;
	position: absolute;
	bottom: -5px;
	left: 0;
	background-color: var(--bgLogo);
}

.dd-in-nav {
	position: absolute;
	bottom: -30px;
	background: var(--textWhite);
	z-index: 1;
	opacity: 0;
	visibility: collapse;
	transition: var(--speedFast);
}

.dd-in-nav li > a {
	white-space: nowrap;
}

.dd-in-nav.show {
	bottom: -60px;
	opacity: 1;
	visibility: visible;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem 0;
}

/*  */

.highlight .slides-container {
	overflow: hidden;
}

.scroll-to-load {
	text-align: center;
	width: 100%;
	font-weight: 500;
	opacity: 0.7;
	transition: var(--speedNormal);
}

/* Overlay */

overlay {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: var(--textWhite);
	z-index: -1;
	visibility: hidden;
	opacity: 0;
	overflow: scroll;
	padding-bottom: 5rem;
	translate: 0 100px;
	scroll-behavior: smooth;
	--optimalWidth: clamp(815px, 60vw, 1600px);
}

overlay.show {
	z-index: 5;
	visibility: visible;
	transition: var(--speedNormal);
	opacity: 1;
	translate: 0 0;
}

overlay img {
	max-width: 100%;
}

overlay .title-wrapper h5 {
	color: var(--bgLogo);
}

overlay h3,
overlay h2 {
	color: var(--textDark);
	font-size: var(--fontSizeMedium);
	font-weight: 600;
	margin-bottom: 1.5rem;
	letter-spacing: unset;
}

.sub-title {
	font-size: var(--fontSizeOK);
}

added {
	gap: 1rem;
	display: flex;
	flex-direction: column;
}

added a {
	color: var(--bgLogo);
}

added p {
	margin: 0.5rem 0;
}

added p.quote {
	font-size: var(--fontSizeMedium);
	color: var(--bgLogo);
	font-weight: 600;
	text-align: center;
}

added ul {
	padding-left: 1.5rem;
	margin: 1rem 0;
}
added li {
	margin: 0.2rem 0;
	list-style-type: outside disc;
}

.close-news {
	width: fit-content;
	font-size: 2rem;
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 0;
	user-select: none;
	color: var(--bgLogo) !important;
}

.show-news .time {
	margin-top: 2rem;
}

/* .time .ohW,
.time .ohD {
	font-weight: 700;
} */

.video-container {
	height: clamp(500px, 70vw, 700px);
}

.featured {
	font-size: var(--fontSizeMedium);
	justify-content: space-between;
	margin-top: 5rem;
}

.featured h3 {
	font-size: var(--fontSizeBig);
	font-weight: 500;
}

.featured a {
	font-size: var(--fontSizeOK);
	font-weight: 400;
}

.featured-news {
	gap: 3rem;
	overflow-x: scroll;
}

.featured-news .news.flex-col {
	width: clamp(200px, 20vw, 300px);
	flex-shrink: 0;
	margin: 2rem 0;
}

.flex-row.featured-news {
	user-select: none;
	cursor: grab;
}

.flex-row.featured-news:active {
	cursor: grabbing;
}

.enlarge {
	z-index: 1;
	transition: var(--speedFast);
	pointer-events: none;
}

.enlarge.show {
	visibility: visible;
	pointer-events: all;
}

.enlarge.show .img-container.background {
	opacity: 1;
}

.img-container.background {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: fit-content;
	height: fit-content;
	background-size: 100%;
	cursor: zoom-in;
	opacity: 0;
}

.img-container.background img {
	width: auto;
	height: auto;
	visibility: hidden;
}

img.enlargable {
	position: relative;
	max-height: 90vh;
	max-width: 90vw;
	isolation: isolate;
}

.enlarge.show::after {
	content: "";
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: rgba(12, 12, 12, 0.651);
	z-index: -1;
}

.enlarge .enlarge-btn {
	visibility: visible;
	opacity: 1;
	pointer-events: all;
}

@media only screen and (min-width: 350px) and (max-width: 910px) {
	.news-tabs .grid {
		justify-content: center;
	}

	.news-tabs .grid {
		grid-template-columns: 1fr;
	}
}
