@import "base.css";

.service {
	margin-top: var(--section-margin);
}

.service .list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
}

.service .item {
	background-color: #ffce8a;
	background-image: linear-gradient(to right, #fe9323, #ffce8a);
	color: #fff;
	font-size: 18px;
	padding: 30px 0 20px 30px;
	border-radius: 10px;
	letter-spacing: 1px;
}

.service .item h5 {
	font-size: 28px;
	margin-bottom: 20px;
	letter-spacing: 2px;
}

.service .item a {
	display: block;
	line-height: 45px;
	background: #fff;
	color: #fe9323;
	text-align: center;
	letter-spacing: 2px;
	border-radius: 30px;
	margin: 10px 0 10px;
	padding: 0 20px;
}

.service .item a:hover {
	background-color: #ffce8a;
	color: #fff;
}

.concentrate {
	margin-top: var(--section-margin);
}

.concentrate h3 {
	font-size: 28px;
	letter-spacing: 2px;
}

.concentrate .list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
	margin-top: 40px;
}

.concentrate .item {
	font-size: 21px;
	letter-spacing: 1px;
}

.concentrate .timer {
	color: var(--color-primary);
	font-weight: bold;
	font-size: 42px;
}

.team {
	margin-top: var(--section-margin);
}

.team h3 {
	font-size: 28px;
	letter-spacing: 2px;
}

.team .wrapper {
	width: 100%;
	overflow: scroll hidden;
	user-select: none;
	margin-top: 30px;
}

.team .wrapper::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.team .wrapper::-webkit-scrollbar-thumb {
	border-radius: 8px;
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	background: rgba(0, 0, 0, 0.5);
}

.team .wrapper::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 0;
	background: rgba(0, 0, 0, 0.2);

}

.team #team-wrapper {
	overflow: hidden;
	margin: auto;
}

.team .list {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 10px 0 0;
}

.team .item {
	font-size: 21px;
	letter-spacing: 1px;
	flex-shrink: 0;
	position: relative;
}

.team .item img {
	display: block;
/*	width: 100%;  */
	height: 320px;
	-webkit-user-drag: none;
    object-fit: cover;
}

.team .item span {
	position: absolute;
	left: 0;
	bottom: 20px;
	background-image: linear-gradient(to right, rgba(22, 74, 186, 0.9), rgba(22, 74, 186, .3));
	box-shadow: 10px 0 10px rgba(22, 74, 186, .3);
	color: #fff;
	padding: 0 40px 0 20px;
	height: 50px;
	line-height: 50px;
	font-size: 21px;
	overflow: hidden;
}

.env {
	margin-top: var(--section-margin);
	user-select: none;
}

.env h3 {
	font-size: 28px;
	letter-spacing: 2px;
}

.env h4 {
	    font-size: 16px;
    letter-spacing: 1px;
    margin: 30px 0;
    font-weight: bold;
    line-height: 200%;
}

.dynamics {
	margin-top: var(--section-margin);
}

.dynamics h3 {
	font-size: 28px;
	letter-spacing: 2px;
}

.dynamics img {
	display: block;
	width: 100%;
    object-fit: cover;
}

.dynamics .wrapper {
	margin-top: 50px;
}

.dynamics .headline {
	width: 480px;
}

.dynamics .headline a {
	display: block;
}

.dynamics .headline .swiper-pagination {
	width: 480px;
	left: 0;
	display: flex;
	justify-content: flex-end;
	padding-right: 10px;
}

.dynamics .headline .swiper-pagination-bullet {
	width: 26px;
	height: 5px;
	border-radius: unset;
}

.dynamics .headline .title {
	font-weight: bold;
	font-size: 20px;
	padding: 20px 10px;
	line-height: 1.5;
}

.dynamics .headline .swiper-slide {
	background-color: #f3f5f7;
	transition: .3s;
}

.dynamics .headline .swiper-slide:hover {
	background-color: #efefef;
}

.dynamics .headline .swiper-slide:hover .title {
	color: var(--color-primary);
}

.dynamics .headline .meta {
	padding: 0 10px;
	color: #b4b4b4;
}

.dynamics .headline .meta a {
	font-weight: bold;
	color: var(--color-primary);
}

.dynamics .headline img {
	height: 310px;
    object-fit: cover;
}

.dynamics .list {
	flex: 1;
}

.dynamics .list img {
	height: 220px;
    object-fit: cover;
}

.dynamics .list .item {
	position: relative;
}

.dynamics .list .item .title {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .5);
	color: #fff;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	padding: 0 10px;
	box-sizing: border-box;
}

.dynamics .list .item:hover .title {
	background-color: rgba(22, 74, 186, .9);
}

.dynamics .list .item span {
	display: block;
	position: absolute;
	left: 20px;
	top: 20px;
	background-color: var(--color-primary);
	color: #fff;
	padding: 5px 10px;
	border-top-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

.video-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}

.video-modal.hide {
  display: none;
}

.video-modal .wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-modal .close {
  display: block;
  width: 30px;
  height: 30px;
  background: url('../images/x.png') center/20px no-repeat rgba(255, 255, 255, .8);
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 10px;
}

.video-modal .close:hover {
  background-color: rgba(255, 255, 255, 1);
}

.videos {
  margin-top: var(--section-margin);
}

.videos .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.videos .swiper-slide span {
  display: block;
  line-height: 40px;
  text-align: center;
  background: #eaeaea;
  letter-spacing: 1px;
}

.videos .swiper-pagination {
  position: relative;
  bottom: 0;
  padding: 5px 0;
}