.container {
	width: min(90%, 1800px);
	max-width: unset;
}

.cover {
	position: relative;
	min-height: 500px;

	&::after {
		content: '';
		position: absolute;
		width: 150px;
		height: 150px;
		border-radius: 1rem;
		background-color: rgb(from var(--prime2) r g b / 0.9);
		transform: rotate(45deg);
		bottom: 105px;
		right: 65px;
		z-index: 5;
	}
}

@media (min-width: 992px) {
	.cover {
		margin-top: 6rem;
		height: 88vh;
	}
}



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

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

	& .shaded {
		position: absolute;
		height: 100%;
		width: 100%;
		inset: 0;
		background: linear-gradient(to top, rgb(from #323152 r g b / 0.87), rgb(from #000 r g b / 0));
		mix-blend-mode: multiply;
	}

	& .slick-slide {
		padding: 0 15px;
		box-sizing: border-box;
		position: relative;



		& > div > div {
			position: relative;
			border-radius: 50px;
			overflow: hidden;
		}
	}

	& a {
		position: absolute;
		bottom: 0;
		display: inline-block;
	}

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

	& .wrap {
		position: relative;
		z-index: 2;
		margin-right: auto;
		height: 50%;
		width: 58%;
		margin-top: auto;
		padding: 5rem;
		color: #fff;
		display: flex;
		flex-direction: column;

		&:before {
			content: '';
			position: absolute;
			width: 240px;
			height: 240px;
			border-radius: 1rem;
			background-color: rgb(from var(--prime1) r g b / 0.9);
			transform: rotate(90deg);
			top: -75px;
			right: -22px;
			z-index: 5;
		}
	}

	& h2 {
		line-height: 0.9;
		width: 100%;
		font-size: calc(2.53vw + 16px);
		font-weight: 500;
		position: relative;
		z-index: 6;

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

	& span {
		margin-top: 0.5rem;
		font-size: calc(0.75vw + 16px);
		font-weight: 400;
		display: inline-block;
	}

	& i {
		padding-right: 0.5rem;
		font-size: calc(0.15vw + 16px);
		color: var(--prime2);
	}
}

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

}

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

@media (max-width: 991px) {
	.cover .toggle-slick {
		display: none;
	}
}




/**/


.services {
	margin-block: 3rem;
	position: relative;
	bottom: 0;
	right: 0;
	width: 100%;
}




.service {
	text-align: center;
	display: block;
	margin: 1rem;
	padding: 1rem;
}

.service {
	font-size: calc(0.15vw + 1rem);

	& figcaption {
		font-weight: 500;
		color: var(--prime6);
	}

	& img {
		margin: 0 auto;
		display: block;
		height: 67px;
		object-fit: cover;
		object-position: center;
		margin-bottom: .75rem;
	}
}

.services-slick .slick-slide {
	position: relative;
}

.services-slick .slick-slide::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	border-left: 1px solid #eee;
	height: 120px;
	width: 1px;
}

.services-slick .slick-slide.slick-active:not(:has(~ .slick-slide.slick-active)):after {
	content: none;
}


.events {
	position: relative;

	&::after {
		content: '';
		position: absolute;
		bottom: 8rem;
		height: 55%;
		right: 0;
		background-color: var(--prime2);
		width: 100%;
		z-index: -1;
	}

	& h2 {
		display: flex;
		justify-content: center;
		width: 100%;
		color: var(--prime6);
		font-size: calc(2.2vw + 1rem);
		font-weight: 700;
		position: relative;
		text-align: center;

		&::before {
			content: "";
			position: absolute;
			height: 4px;
			border-radius: 5px;
			width: 120px;
			background-color: var(--prime2);
			margin: 1rem auto;
			bottom: -2.73rem;
		}
	}

	& .grid-row {
		margin-top: 5rem;
		position: relative;
		display: grid;
		grid-template-columns: 2fr repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 1.25rem;
		grid-row-gap: 1.75rem;

		&::after {
			content: '';
			position: absolute;
			width: 250px;
			height: 250px;
			border-radius: 1rem;
			background-color: rgb(from var(--prime9) r g b / 0.52);
			transform: rotate(45deg);
			top: -155px;
			left: 15%;
			z-index: -1;
		}


		& .grade {
			position: absolute;
			height: 100%;
			width: 100%;
			inset: 0;
			margin: auto;
			background: linear-gradient(to top, rgb(from #323152 r g b / 0.97), rgb(from #000 r g b / 0.25));
			mix-blend-mode: multiply;
		}


		& a {
			position: absolute;
			inset: 0;
			width: 100%;
			height: 100%;
			z-index: 2;
			color: #fff;
			display: flex;

			&:hover {
				text-decoration: none;
			}

		}

	}





	& .read {
		padding: 1rem;
		width: 100%;
		position: relative;
		margin-top: auto;
	}

	& h3 {
		margin-bottom: 1rem;
		font-weight: 700;
		line-height: 1;
		font-size: calc(0.75vw + 16px);
		min-height: 40px;
	}

	& .time {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		flex-direction: column;
		font-size: calc(0.3vw + 16px);
		line-height: 1;
	}

	& i {
		font-size: 1rem;
		color: oklch(from var(--prime2) calc(l + 0.05) calc(c + 0.05) h);
	}

	& .box {
		border: calc(0.1vw + 0.75rem) solid #fff;
		height: 100%;
		position: relative;
		background-size: cover;
		background-position: center;
		aspect-ratio: 1;
		border-radius: 35px;
		box-shadow: 2px 8px 18px #4e4d4d;
		overflow: clip;
	}

	& .box1 {
		grid-area: 1 / 1 / 3 / 2;
		/* grid-row: 1 / 3; */

		& .time {
			flex-direction: row;
			justify-content: space-between;
		}

		& h3 {
			line-height: 1;
			font-size: calc(1.8vw + 16px);
		}
	}

	/* & .box2 {
		grid-area: 1 / 2 / 2 / 3;

	}

	& .box3 {
		grid-area: 1 / 3 / 2 / 4;

	}

	& .box4 {
		grid-area: 2 / 2 / 3 / 3;

	}

	& .box5 {
		grid-area: 2 / 3 / 3 / 4;
	} */

	& .all-links {
		width: 90%;
		display: flex;
		justify-content: flex-end;
		gap: 2rem;
		margin-top: 8rem;
		margin-bottom: 3rem;

		& a {
			padding: 1rem 3.5rem;
			border-radius: 8px;
			background: linear-gradient(-25deg, var(--prime5), var(--prime2));
			text-align: center;
			color: #fff;
			font-weight: 400;
			font-size: calc(0.8vw + 1rem);

			&:hover {
				transform: scale(1.05);
				text-decoration: none;
			}

			&.all {}

			&.cat {
				isolation: isolate;
				position: relative;
				color: var(--prime5);

				&::after {
					content: '';
					position: absolute;
					width: calc(100% - 5px);
					height: calc(100% - 5px);
					inset: 0;
					margin: auto;
					border-radius: 5px;
					background-color: #fff;
					z-index: -1;
				}
			}
		}
	}
}


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

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

.news .content {
	position: relative;
}

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

.news a {
	color: #000;
	display: block;
}

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

.news 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;
}

.news h2 a {
	color: inherit;
}

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

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

.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 .date {
	font-weight: bold;
}

.news .date:after {
	content: ' | ';
	margin: 0 10px;
}

.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 (max-width:1580px) {
	.cover-slick {
		& .wrap {
			width: 75%;

			&:before {
				width: 180px;
				height: 180px;
				top: -25px;
			}
		}
	}

	.events {
		& .grid-row {
			& h3 {
				font-size: calc(0.4vw + 16px);
				font-weight: 500;
			}

			&::after {
				width: 180px;
				height: 180px;
				top: -130px;
				left: 13%;
			}
		}

		& .box1 {
			& h3 {
				font-size: calc(1.4vw + 16px);
			}
		}
	}
}



@media (max-width:1199px) {
	.events {
		& .grid-row {
			grid-template-columns: repeat(2, 1fr);
			grid-template-rows: unset;
			gap: 1.75rem 1.25rem;
		}

		& .box {
			height: 410px;
		}

		& .box1 {
			grid-column: 1 / -1;
			grid-row: 1;
			width: 100%;
			height: 590px;
		}
	}
}


@media (max-width: 991px) {
	.cover {
		&::after {
			width: 90px;
			height: 90px;
			right: 1rem;
			bottom: -55px;
		}
	}



	.cover-slick {
		& .wrap {
			width: 97%;
			padding: 4rem 0.25rem;

			&::before {
				width: 90px;
				height: 90px;
				top: 5px;
				right: 0;
			}
		}
	}

	.events {
		& .grid-row {
			&::after {
				width: 100px;
				height: 100px;
				top: -100px;
				left: 5%;
			}
		}

		& .box {
			height: 320px;
		}


		& .all-links {
			width: 100%;
			justify-content: center;

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

@media (max-width:767px) {
	.events {
		& .grid-row {
			display: flex;
			flex-direction: column;

			&::after {
				width: 75px;
				height: 75px;
				top: -80px;
				left: 0%;
			}

		}

		& .box:nth-child(n+4) {
			display: none;
		}
	}
}


@media (max-width:600px) {
	.cover-slick .slick-list {
		padding: 0 20px !important;
	}


	.cover-slick .slick-arrow {
		display: block !important;
	}

	.cover-slick {
		& .slick-slide {
			padding: 0 5px !important;
		}
	}

	.events {
		&::after {
			bottom: 5rem;
		}

		& .all-links {
			flex-direction: column;
			align-items: center;
			gap: 1rem;
			margin-top: 3rem;
		}
	}
}