/* About */
.section-about-pages {
  position: relative;
  background: url(../images/bg-about.webp) no-repeat center / cover;
}

.section-about-pages::before {
  content: "";
  position: absolute;
  background: url(../images/before-about.webp) no-repeat center / cover;
  width: 100%;
  max-width: 889px;
  height: 89px;
  left: 0;
  bottom: 120px;
  z-index: 1;
  pointer-events: none;
}

.section-about-pages .wrap-content {
  border-radius: 20px;
  background: #fff;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.15);
  padding: 20px 60px 120px;
}

.card-history .card-history__name {
  color: #e93037;
  font-family: "UTM Eremitage";
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 0;
}

.card-history:not(:last-child) .card-history__info {
  border-bottom: 1px solid #e93037;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.card-history .card-history__info h3 {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.card-history .card-history__info p {
  color: #000;
  text-align: justify;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
}

/* Product */
.product-slider__left {
}

.product-slider__left .product-slider__item {
  background: url(../images/bg-product-slider.png) no-repeat center / cover;
  border-radius: 20px;
  padding: 20px 50px;
}

.product-slider__left .product-slider__item a {
  min-height: 320px;
}

.product-slider__right .product-slider__item {
  border: 1px solid #b0b0b0;
  border-radius: 20px;
  padding: 20px;
  background: #fff;
}

.product-slider__item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 45%;
  align-items: center;
  gap: 1rem;
}

.product-slider__left .product-slider__title {
  font-weight: 700;
  color: #fff;
  font-size: 30px;
  margin-bottom: 1.5rem;
}

.product-slider__right .product-slider__title {
  font-weight: 700;
  color: var(--clr-primary);
  font-size: 18px;
  margin-bottom: 1.5rem;
  -webkit-line-clamp: 2;
}

.product-slider__item .product-slider__image {
  position: relative;
  text-align: center;
}

/* Swiper */
.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-size: 18px;
  width: 35px;
  height: 35px;
}

/* Post */
.post-card--first {
  background: #f1f1f3;
  display: grid;
  grid-template-columns: 65% minmax(0, 1fr);
  align-items: center;
}

.post-card--first .post-card__image {
  border-radius: 20px;
}

.post-card--first .post-card__content {
  padding: 30px;
}

.post-card--first .post-card__title {
  display: block;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-card--first .post-card__title h3 {
  font-size: 25px;
  font-weight: 700;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.post-card--first .post-card__title:hover h3 {
  color: var(--clr-primary);
}

.post-card--first .post-card__title::before {
  content: "";
  position: absolute;
  background: var(--clr-primary);
  width: 106px;
  height: 1px;
  left: 0;
  bottom: 0;
}

.post-card--first .post-card__date {
  font-weight: 400;
  font-size: 14px;
  color: #000;
  margin-bottom: 0.75rem;
}

.post-card--first .post-card__description {
  font-weight: 400;
  font-size: 14px;
  color: #333;
  margin-bottom: 0.75rem;
}

/* Video Post */
.post-card--video .post-card__image {
  display: block;
  margin-bottom: 0.75rem;
}

.post-card--video .post-card__title {
  display: block;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-card--video .post-card__title h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-primary);
  transition: color 0.3s ease;
}

.post-card--video .post-card__title:hover h3 {
  color: var(--clr-primary);
}

.post-card--video .post-card__title::before {
  content: "";
  position: absolute;
  background: var(--clr-primary);
  width: 106px;
  height: 1px;
  left: 0;
  bottom: 0;
}

.post-card--video .post-card__date {
  font-weight: 400;
  font-size: 14px;
  color: #000;
  margin-bottom: 0.75rem;
}

.post-card--video .post-card__description {
  font-weight: 400;
  font-size: 14px;
  color: #333;
  margin-bottom: 0.75rem;
}

/* Blog Post */
.post-card--blog {
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 0.75rem;
}

.post-card--blog .post-card__title {
  display: block;
  margin-bottom: 0.5rem;
}

.post-card--blog .post-card__title h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-primary);
  transition: color 0.3s ease;
}

.post-card--blog .post-card__title:hover h3 {
  color: var(--clr-primary);
}

.post-card--blog .post-card__date {
  font-weight: 400;
  font-size: 14px;
  color: #000;
  margin-bottom: 0;
}

.post-card--blog .post-card__description {
  font-weight: 400;
  font-size: 14px;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Event Post */
.event-new-item {
  background: #f1f1f3;
  padding: 13px;
  padding-left: 0;
}

.event-new-date {
  position: relative;
  color: #000;
  text-align: center;
}

.event-new-date::before {
  content: "";
  position: absolute;
  background: #dfdfdf;
  width: 2px;
  height: 45px;
  right: 0;
  top: calc(50% - 45px / 2);
}

.event-new-date .day {
  font-weight: 700;
  font-size: 30px;
  color: #d53323;
  margin-bottom: 0;
}

.event-new-date .month {
  font-weight: 400;
  font-size: 13px;
  margin-bottom: 0;
}

.event-new-name {
  font-size: 16px;
  font-weight: 700;
  color: #323031;
  margin-bottom: 0.25rem;
}

.event-new-desc {
  font-weight: 400;
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

/* Post Card */
.post-card--detail .post-card__image {
  display: block;
  margin-bottom: 0.75rem;
}

.post-card--detail .post-card__title {
  display: block;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-card--detail .post-card__title h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-primary);
  transition: color 0.3s ease;
}

.post-card--detail .post-card__title:hover h3 {
  color: var(--clr-primary);
}

.post-card--detail .post-card__title::before {
  content: "";
  position: absolute;
  background: var(--clr-primary);
  width: 106px;
  height: 1px;
  left: 0;
  bottom: 0;
}

.post-card--detail .post-card__date {
  font-weight: 400;
  font-size: 14px;
  color: #000;
  margin-bottom: 0.75rem;
}

.post-card--detail .post-card__description {
  font-weight: 400;
  font-size: 14px;
  color: #333;
  margin-bottom: 0.75rem;
}

/* Contact */
.section-contact .wrap-content {
  background: url(../images/bg-contact.webp) no-repeat center center / cover;
  border-radius: 20px;
  width: min(calc(100% - 2rem), 1317px);
  margin: 0 auto;
  padding: 60px;
}

.contact-form {
  max-width: 680px;
  margin-left: auto;
}

.form-group input,
.form-group textarea {
  border-radius: 10px;
  border: 0;
  padding: 10px;
  width: 100%;
  text-align: left;
  vertical-align: top;
}

.form-group input {
  height: 50px;
}

.form-group textarea {
  height: 200px;
}

.btn-form-contact {
  width: 100%;
  border: 0;
  background: #d00009;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-form-contact:hover {
  background: var(--clr-primary);
  color: #fff;
}

@media screen and (max-width: 992px) {
  .title-detail h1 {
    font-size: 30px;
  }

  .section-about-pages .wrap-content {
    padding: 15px;
  }

  .product-slider__left .product-slider__title {
    font-size: 26px;
  }

  .product-slider__right .product-slider__item {
    padding: 1rem;
  }

  .product-slider__item a {
    grid-template-columns: minmax(0, 1fr) 45%;
    gap: 10px;
  }

  .product-slider__right .product-slider__title {
    font-size: 16px;
    margin-bottom: 0.75rem;
  }

  .section-km {
    padding-top: 2rem;
  }

  .swiper-product-detail,
  .swiper-product-detail-gallery {
    height: auto;
  }

  .product-detail-desc-inner {
    height: 100px;
  }

  .post-card--first .post-card__content {
    padding: 1rem;
  }

  .post-card--first .post-card__title h3 {
    font-size: 20px;
  }

  .swiper-blog-news,
  .swiper-event-news {
    height: auto;
  }
  	.post-card--first {
    background: #f1f1f3;
    display: grid;
    grid-template-columns: repeat(1,minmax(0,1fr));
    align-items: center;
	}
	.section-about-pages::before{display:none}
}


@media screen and (max-width: 480px) {
	.section-contact .wrap-content {
		padding: 15px;
	}	
	.title-detail h1 {
    font-size: 24px;
	}
	.post-card--first .post-card__title h3 {
    font-size: 18px;
	}
	.product-slider__item a {
    grid-template-columns: repeat(1,minmax(0,1fr));
	}
		.card-history .card-history__info h3 {
    font-size: 18px;
	}
	.product-slider__left .product-slider__title {
    font-size: 22px;
	margin-bottom:1rem;
	}
}