.cover {
	position: relative;
	min-height: 635px;
	border-top: 5px solid #fff;
	margin-top: 70px;
}

.cover .grade {
	position: absolute;
	height: 100%;
	width: 100%;
	inset: 0;
	background: linear-gradient(to left, rgb(from var(--prime1) r g b / 0.87), rgb(from var(--prime2) r g b / 0));
}

@media (min-width: 992px) {
	.cover {
		height: 100vh;
	}
}


.cover-slick {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}

.cover-slick div {
	height: 100%;
	background-size: cover;
	background-position: center;

}

.cover .toggle-slick {
	position: absolute;
	top: 125px;
	right: 15px;
	background: none;
	border: 0;
}


.msg {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	padding-right: 8%;


	& .wrap {
		width: min(100%, 67.5vw);
		font-weight: 500;
		display: flex;
		flex-direction: column;
		gap: 1rem;
		color: #fff;
	}

	& .wrap > p {
		font-size: calc(1.5vw + 1rem);
		margin: 0;
		line-height: 1;
	}

	& h2 {
		position: relative;
		line-height: 0.5;
		font-weight: 900;
		font-size: calc(4.5vw + 1rem);

		&::after {
			content: '';
			position: relative;
			display: block;
			height: 5px;
			border-radius: 5px;
			width: 65px;
			background-color: var(--prime2);
			bottom: -2rem;
		}
	}

	& .special-effect {
		margin-top: 2.53rem;
		font-size: calc(0.9vw + 1rem);
		line-height: 1;
	}

	& > *:focus,
	& > *:focus-within {
		outline: 2px solid lime;
	}
}

/* typewriter cursor */
.special-effect .typewriter-cursor {
	display: inline-block;
	font-weight: 300;
	margin-right: 2px;
	color: var(--prime2);
	animation: typewriter-blink 0.75s step-end infinite;
}

@keyframes typewriter-blink {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}
}


/**/

video {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	transition: 1s opacity;
	object-fit: cover;
	z-index: -1;
}

#toggle-video {
	position: absolute;
	top: 125px;
	right: 15px;
	background: none;
	border: 0;
}



/**/


.services {
	position: relative;
	top: -200px;
	right: 0;
	width: 90%;
	display: flex;
	justify-content: center;
	margin-inline: auto;
	z-index: 3;
}


.services-slick {
	padding: .5rem 1rem;

	& .slick-slide > div {
		display: flex;
		justify-content: center;
	}
}

.services a {
	margin: auto;
	position: relative;
	text-align: center;
	display: block;
	background-color: #fff;
	margin: 1rem auto;
	aspect-ratio: 350 / 300;
	max-width: 300px;
	height: 100%;
	height: 300px;
	border-radius: 40px;
	box-shadow: 1px 6px 10px #b9b9b9;
	color: var(--prime4);
	top: 0;

	&:hover {
		top: -12px;
		text-decoration: none;
	}
}

@media (max-width:1500px) {
	.services a {
		max-width: 275px;
	}
}

@media (max-width:1350px) {
	.services a {
		height: 250px;
		max-width: 245px;
	}
}

@media (max-width:1199px) {
	.services {
		width: 100%;
	}

}

.services figure {
	padding: 1.5rem 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	height: inherit;
}

.services img {
	display: block;
	margin: 0 auto;
	margin-bottom: 1rem;
	max-width: 65%;
}

.services .h3 {
	font-weight: 700;
	font-size: calc(0.7vw + 1rem);
	position: relative;
	line-height: 1;

	&::after {
		content: '';
		position: relative;
		display: block;
		height: 1px;
		border-radius: 5px;
		width: 65px;
		background-color: var(--prime2);
		bottom: -5px;
		margin: 0 auto;
	}

	& + span {
		font-size: calc(0.5vw + 1rem);
	}
}

.frow {
	display: flex;
}

/* Articles */

/**/

.events {
	overflow-x: clip;
	margin-bottom: 8rem;

	& h2 {
		font-size: calc(2.5vw + 1rem);
		margin-bottom: 6.5rem;
		font-weight: 900;
		color: var(--prime4);
		position: relative;
		padding-inline: 1rem;

		&::after {
			content: '';
			position: relative;
			display: block;
			height: 5px;
			border-radius: 2px;
			width: 105px;
			background-color: var(--prime2);
			bottom: -1rem;
		}
	}

	& .item {
		position: relative;
		width: 97%;
		display: flex;
		flex-direction: column;
		margin-bottom: 9.5rem;

		&:hover {
			text-decoration: none;
		}
	}

	& img {
		anchor-name: --map-anchor;
		position: absolute;
		left: -1rem;
		width: min(90%, 350px);
		top: -75px;
		box-shadow: 1px 6px 10px #2e2e2e8c;
		transform: rotate(0deg);

		transition: all 0.2s ease;
	}

	& .bttn {
		margin-right: 0;
		position: absolute;
		z-index: 1;
		border-radius: 100vw;
		display: flex;
		justify-content: center;
		align-items: center;
		position-anchor: --map-anchor;
		background-color: var(--prime6);
		bottom: calc(anchor(bottom) - 35px);
		right: calc(anchor(right) - 35px);
		justify-self: anchor-right;

		width: 70px;
		height: 70px;
		border-radius: 100vw;

		transition: all 0.1s ease;

		& i {
			font-size: calc(0.5vw + 1rem);
			display: inline-block;
			color: var(--prime1);
		}
	}

	& i {
		font-size: calc(0.15vw + 1rem);
		color: var(--prime6);
	}


	& .top {
		margin-right: auto;

		& .wrap {
			position: relative;
			display: flex;
		}
	}

	& .date {
		position: relative;
		z-index: -1;
		font-size: calc(3.2vw + 1rem);
		color: var(--prime2);
		font-weight: 900;
		padding-left: 440px;
		line-height: 0.6;
		letter-spacing: -5px;
		top: 0;
		transition: all 0.2s ease;
	}

	& .low {
		font-size: calc(0.5vw + 1rem);

		& .wrap {
			width: 100%;
			color: #fff;
			background-color: var(--prime1);
			border-radius: 35px;
			padding: 2.5rem;
		}
	}

	& .sub {
		padding: 0 1.5rem;
		width: 70%;
	}

	& h3 {
		width: 80%;
		font-weight: 700;
		font-size: calc(1.3vw + 1rem);
		line-height: 1.1;
		margin-bottom: 2.25rem;
	}

	& .day {
		margin-bottom: 0.25rem;
	}

	& .time {
		display: flex;
		gap: 5rem;
	}



	& .item:last-of-type {
		margin-bottom: 7.5rem;
	}
}

@media (min-width:1199px) {
	.events .item {

		&:hover .date {
			top: -0.5rem;
			color: var(--prime3);
		}

		&:hover .bttn {
			background-color: var(--prime3);
			margin-right: 1rem;
		}

		&:hover .low i {
			color: var(--prime3);
		}

		&:hover .wrap {
			color: var(--prime3);
		}

		&:hover img {
			transform: rotate(-1deg);
		}
	}

	.events .item:nth-of-type(2) {
		&:hover .bttn {
			margin-left: -0.5rem;
		}

		&:hover img {
			transform: rotate(2deg);
		}
	}
}

@media (min-width:1091px) {
	.events .item:nth-of-type(2) {

		& img {
			left: unset;
			right: -4rem;
		}

		& .top {
			margin-left: auto;
		}

		& .bttn {
			margin-right: unset;
			margin-left: 0;
			position-anchor: --map-anchor;
			right: unset;
			left: calc(anchor(left) - 35px);
			justify-self: anchor-left;
		}

		& .top {
			margin-right: unset;
			margin-left: auto;

			& .date {
				padding-left: unset;
				padding-right: 400px;
			}
		}

		& .sub {
			margin-left: unset;
			margin-right: auto;
		}


	}
}

.all-btn {
	color: var(--prime1);
	background-color: var(--prime3);
	border-radius: 100vw;
	padding: 10px 2rem;
	display: flex;
	margin-inline: auto;
	width: fit-content;
	font-size: calc(0.5vw + 16px);

	&:hover {
		transform: scale(1.02);
		text-decoration: none;
		background-color: var(--prime1);
		color: var(--prime3);
	}
}


.events-slider {
	display: block;
	width: 100%;

	& h2 {
		padding-inline: 1rem;
		font-size: calc(2.5vw + 1rem);
		margin-bottom: 5rem;
		font-weight: 900;
		color: var(--prime4);
		position: relative;
	}
}

.events-slick .slick-slide > div {
	padding: 0 1rem;
}

.events-slick a {
	display: flex;
	flex-direction: column;
	padding: 1rem;
	border: 1px solid var(--prime4);
	border-radius: 10px;
	height: 100%;

	& img {
		height: 250px;
		object-fit: cover;
		margin-bottom: 2rem;
	}

	& .info {
		padding-inline: 2rem;
		text-align: right;
	}

	& h3 {
		font-weight: 700;
		line-height: 1.1;
		color: var(--prime4);
		font-size: calc(0.75vw + 16px);
		min-height: 80px;
	}

	& span {
		font-size: 1rem;
		line-height: 1;
	}
}

/* Position slick arrows beside the .info of the center slide */
.events-slick .slick-prev,
.events-slick .slick-next {
	display: grid;
	place-content: center;
	top: calc(190px + 3.5rem);

	&:hover {
		background-color: var(--prime1);
		border-color: var(--prime1);
	}
}

.events-slick .slick-prev {
	z-index: 1;
	background-color: #fff;
	border-radius: 100vw;
	width: 40px;
	height: 40px;
	right: calc(33.33% + 20px);
	left: auto;
	background: #fff;
	border: 1px solid var(--prime4);
	color: var(--prime3);

	&:before {
		color: var(--prime3);
		content: "\f061";
	}
}

.events-slick .slick-next {
	background-color: #fff;
	border-radius: 100vw;
	width: 40px;
	height: 40px;
	left: calc(33.33% + 20px);
	right: auto;
	border: 1px solid var(--prime4);
	background: #fff;
	color: var(--prime3);

	&:before {
		color: var(--prime3);
		content: "\f060";
	}
}

.symbols {
	margin-top: 3rem;

	& .row {
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-end;
		gap: 5rem;

		& img {
			transition: all 0.2s ease;
		}

		& a:first-child img {
			height: 100px;
		}

		& a:hover img {
			transform: scale(1.1);
		}
	}
}

@media (max-width:991px) {
	.symbols .row {
		gap: 1.5rem;
	}
}

.panorama {
	overflow-x: clip;
	position: relative;

	& h2 {
		padding-inline: 1rem;
		font-size: calc(3.5vw + 1rem);
		margin-bottom: 0;
		font-weight: 900;
		color: var(--prime4);
		position: relative;
	}
}


.ls-curved-carousel {
	--viewport-height: 33rem;
	--viewport-height-m: 30rem;
	--perspective: 600px;
	--perspective-m: 400px;
	--block-offset: 0;
	--block-offset-m: 0;
	--fadeout: none;

	position: relative;
	width: 100%;
	height: var(--viewport-height);
	transform-style: preserve-3d;
	user-select: none;
	overflow: visible;
	z-index: 1;
	margin-block: var(--block-offset);
	-webkit-mask-image: var(--fadeout);
	mask-image: var(--fadeout);
}

/* Optional fadeout effect on the sides */
.ls-curved-carousel.fadeout {
	--fadeout: linear-gradient(90deg, transparent, white 20%, white 80%, transparent 100%);
}

.ls-curved-carousel__stage {
	perspective: var(--perspective);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.ls-curved-carousel__ring {
	position: absolute;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	gap: 0;
	pointer-events: none;
}

.ls-curved-carousel__slide {
	position: absolute;
	/* Width and height will be dynamically set by JavaScript */
	transform-style: preserve-3d;
	overflow: visible;
}

.panorama-prev-btn,
.panorama-next-btn {
	position: absolute;
	top: 60%;
	transform: translateY(-50%);
	z-index: 10;
	border-radius: 100vw;
	width: 40px;
	height: 40px;
	left: calc(33.33% + 20px);
	right: auto;
	border: 1px solid var(--prime4);
	background: #fff;
	color: var(--prime3);
	font-size: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;

	&:hover {
		background: var(--prime1);
		color: #fff;
	}
}

.panorama-prev-btn {
	right: 1.5rem;
}

.panorama-next-btn {
	left: 1.5rem;
}

.ls-curved-carousel__slide > a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 0;
	/* prevents inline gap below the img */
	pointer-events: auto;
	transition: transform 0.25s ease;

	&:hover {
		transform: scale(1.04);
	}
}

.ls-curved-carousel__media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 24px;
}

.ls-curved-carousel__slide .info {
	position: absolute;
	top: 100%;
	inset-inline: 0;
	padding: 0.75rem 1rem;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	border-radius: 0 0 14px 14px;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;

	& h3 {
		font-size: calc(0.5vw + 0.9rem);
		font-weight: 700;
		margin: 0 0 0.25rem;
		line-height: 1.2;
	}

	& span {
		font-size: calc(0.25vw + 0.75rem);
		line-height: 1.2;
		opacity: 0.9;
	}
}

.ls-curved-carousel__slide:hover .info {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

@media (max-width: 991px) {
	.ls-curved-carousel {
		height: var(--viewport-height-m);
		margin-block: var(--block-offset-m);
	}

	.ls-curved-carousel__stage {
		perspective: var(--perspective-m);
	}

	.panorama-prev-btn,
	.panorama-next-btn {
		top: 65%;
	}
}

@media (max-width: 767px) {
	.ls-curved-carousel {
		height: 25vh;
		margin-block: 5rem;
	}

	.ls-curved-carousel__stage {
		perspective: var(--perspective-m);
	}
}

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.news {
	padding: 1rem;
	background: #fff;

	& .content {
		position: relative;
	}

	& .buttons {
		position: absolute;
		top: 1.9rem;
		left: 1.9rem;
	}

	& a {
		color: #000;
		display: block;

		@media (min-width: 768px) {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	}

	& h2 {
		background: #111;
		color: #fff;
		font-size: 1.2rem;
		font-weight: bold;
		position: absolute;
		top: 0;
		right: 0;
		padding: .219rem .75rem;
		margin: 0;
		border-radius: 2rem;
		z-index: 5;

		& a {
			color: inherit;
		}

		@media (max-width: 991px) {
			display: none;
		}
	}

	& .date {
		font-weight: bold;

		&:after {
			content: ' | ';
			margin: 0 10px;
		}
	}

	& .bn-news ul li a {
		font-size: 1.2rem;
		line-height: 1.2rem;
		padding: .36rem 0;
		color: inherit;
	}

	& .bn-news ul li a:hover {
		color: #000;
	}

	& .bn-effect-scroll & .bn-news ul li {
		padding: 0 1rem;
	}

	& .news-toggle {
		width: 26px;
		height: 26px;
		border: 1px solid #fff;
		border-radius: 50%;
		background: #111;
		color: #fff;
		background: none;
		font-size: 14px;
	}

	& .bn-controls {
		left: 0;
		right: auto;
	}

	& .bn-controls button {
		border: 0;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: #111;
		color: #fff;
		padding: 0;
		margin-right: 5px;
	}

	& .bn-arrow {
		top: -1px;
	}

	& .bn-pause::before,
	& .bn-pause::after {
		background-color: #fff;
	}

	& .bn-play::after {
		border-left-color: #fff;
	}

	& .bn-controls button:hover {
		background-color: #111;
		color: #fff;
		box-shadow: 0 0 5px rgb(255 255 0 / 90%);
	}
}

@media (min-width: 992px) {
	.news .bn-news {
		padding-right: 100px;
	}
}



[dir='rtl'] .slick-prev {
	z-index: 9;
}


@media (max-width:1599px) {
	.events {
		& .sub {
			width: 65%;
		}

		& img {
			width: min(90%, 325px);
		}

		& .bttn {
			height: 60px;
			width: 60px;
		}
	}
}


@media (max-width:1199px) {
	.events {
		& img {
			width: min(90%, 365px);
		}
	}
}

@media (max-width:1090px) {
	.events {
		margin-bottom: 4.5rem;

		& img {
			left: -2rem;
			width: min(90%, 300px);
		}

		& .bttn {
			height: 50px;
			width: 50px;
		}

		& .item {
			width: 100%;
		}

		& .sub {
			width: 100%;
		}

		& .sub h3 {
			width: 55%;
		}

		& .item:last-of-type {
			margin-bottom: 4.5rem;
		}
	}


}

@media (max-width: 991px) {

	.services-slick button {
		width: 40px;
		height: 50px;
	}

	[dir='rtl'] .slick-next {
		left: 0.5rem;
	}

	[dir='rtl'] .slick-prev {
		right: 0.5rem;
	}

	.panorama-next-btn {
		left: 0.5rem;
	}

	.panorama-prev-btn {
		right: 0.5rem;
	}

	.msg {
		margin-top: -75px;

		& h2 {
			line-height: 1;
		}

		& .special-effect {
			line-height: 1.25;
			font-size: calc(1.1vw + 1rem);
		}
	}

	.cover .toggle-slick {
		display: none;
	}

	.cover {
		padding: 0 15px;
		margin-top: 0;
	}


	video,
	#toggle-video {
		display: none;
	}

	.events {
		margin-top: -90px;
	}


}

@media (max-width:767px) {
	.events {
		margin-bottom: 4.5rem;

		& img {
			width: min(90%, 250px);
			left: 0;
		}

		& h3 {
			margin-bottom: 0.7rem;
		}

		& .time {
			gap: 1rem;
		}

		& .date {
			line-height: 0.6;
			letter-spacing: -1px;
			font-size: calc(2.5vw + 1rem);
		}

		& .bttn {
			right: calc(anchor(left) - 85px);
		}

		& .sub {
			padding: 0;
		}

		& .low {
			& .wrap {
				padding: 2rem 1rem;
			}
		}
	}

	.events-slick .slick-next {
		left: calc(7% + 20px);
	}

	.events-slick .slick-prev {
		right: calc(7% + 20px);
	}

	.events-slick a {
		& h3 {
			min-height: unset;
		}

		& .info {
			padding-inline: 0;
		}
	}
}

@media (max-width:640px) {
	.events h2 {
		margin-bottom: 6.5rem;
	}

	.events .item:nth-last-of-type(2) {
		& img {
			inset: auto;
		}
	}

	.events-slick .slick-next {
		left: 0;
	}

	.events-slick .slick-prev {
		right: 0;
	}

	.events {
		& .item {
			margin-bottom: 5rem;
		}

		& .sub h3 {
			width: 100%;
		}

		& .date {
			text-align: center;
			padding-left: 0;
		}

		& .pic {
			display: flex;
		}

		& img {
			width: 100%;
			position: relative;
			top: 0;
			margin: auto;
		}

		& .bttn {
			bottom: calc(anchor(bottom) - 25px);
			right: calc(anchor(center) - 35px);
		}

		& .top {
			margin-inline: auto;

			& .wrap {
				flex-direction: column;
			}
		}

		& .low {
			& .wrap {
				border-radius: 0 0 30px 30px;
			}
		}
	}
}

@media (max-width:500px) {

	.events-slick .slick-next {
		left: 0;
	}

	.events-slick .slick-prev {
		right: 0;
	}

	.events .time {
		display: flex;
		flex-direction: column;
		gap: 0;

		& span:has(span) {
			line-height: 1.1;
			margin-bottom: 0.2rem;
			display: grid;
			grid-template-columns: 0.15fr 1fr;
		}
	}


	.services a {
		aspect-ratio: unset;
		height: 230px;
		width: 95%;
	}
}