h1 {
  text-align: center;
  color: #0b6b4b;
  letter-spacing: 1px;
}

.card ul {
  margin: 0;
  padding: 0;
}

.about-story .description {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  position: relative;
  color: #333333;
  max-width: 100%;
  margin: 20px auto 80px;
}

.about-story .timeline {
  position: relative;
}

.about-story .line {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 4px;
  background: #0b6b4b;
}

.about-story .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 30px;
}

.about-story .card {
  flex: 0 1 calc(33.333% - 30px);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

.about-story .year {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b6b4b;
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: bold;
}

.about-story .card img {
  width: 100%;
  max-width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.about-story .card h3 {
  font-family: "Lora";
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  margin: 0 0 10px 0;
  color: #0b6b4b;
}

.about-story .card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  position: relative;
  color: #333333;
}

.about-story .center-row {
  display: flex;
  justify-content: center;
}

.about-story .center-row .card {
  width: 40%;
}

.about-item__list li::before {
  position: absolute;
  content: "";
  background: #00945e;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  top: 10px;
  left: -15px;
}

.about-item__list li::marker {
  display: none;
}

.about-item__list {
  margin: 0;
  padding: 0;
}

.news div.type-page-container div.no-padding .about-item__list li {
  margin-bottom: 10px;
}

.about-item__list li {
  left: 15px;
  margin-bottom: 10px;
  font-family: "Open Sans";
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  position: relative;
  color: #333333;
  list-style-type: none;
}

.card-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.card.open .preview {
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: unset;
}

.card.open .card-extra {
  max-height: 800px;
  /* подбери под самый длинный контент */
}

.preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.show-btn {
  margin: 10px 0 14px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  cursor: pointer;
}

.gw-section,
.inv-section,
.about-story,
.photogallery {
  margin: 56px 0;
}

.gw-section + .gw-section {
  padding: 45px;
  border-top: 2px solid #e8f4ef;
}
@media only screen and (min-width: 321px) and (max-width: 767px) {

.gw-section + .gw-section {
  padding: 45px 0px;
  border-top: 2px solid #e8f4ef;
}
}
.gw-heading {
  font-family: "Lora", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  margin: 0 0 10px 0;
  color: #0b6b4b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gw-intro {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 20px;
}

.gw-services-label {
  font-size: 14px;
  line-height: 1.65;
  color: #01945d;
  font-family: "Lora";
  font-weight: 700;
  padding: 0;
  margin: 20px 0 30px 0;
}

.gw-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.gw-service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #1a1a1a;
  background: #f5faf8;
  border-left: 3px solid #0b6b4b;
  padding: 12px 14px;
  border-radius: 0 6px 6px 0;
}

.gw-service-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: #0b6b4b;
  border-radius: 50%;
  margin-top: 6px;
}

.gw-outro {
  font-size: 14px;
  line-height: 1.75;
  color: #01945d;
  font-weight: 700;
  background: #f0faf5;
  border-radius: 8px;
  padding: 18px 22px;
  border-left: 4px solid #0b6b4b;
}

.gw-mission-intro {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  position: relative;
  color: #333333;
  margin-bottom: 20px;
  margin-top: 60px;
}

.gw-mission-history {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  position: relative;
  color: #333333;
  margin-bottom: 16px;
}

.gw-values-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.gw-value-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid #b6dece;
  border-radius: 10px;
  padding: 18px 22px;
}

.gw-value-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: #0b6b4b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-value-icon svg {
  width: 16px;
  height: 16px;
}

.gw-value-text {
  font-size: 14px;
  line-height: 1.65;
  font-family: "Lora";
  color: #01945d;
  font-weight: 700;
  padding: 0;
  margin: 0;
}

.about-story .title,
.gw-section .gw-heading {
  text-align: center;
  font-family: "Lora";
  color: #01945d;
  font-weight: bold;
  font-size: 32px;
  margin: 0;
  padding: 0;
}

.news div.type-page-container div.no-padding ul li.gw-service-item {
  margin-bottom: 0;
}

.inv-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.inv-heading {
  font-family: "Lora", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  margin: 0 0 10px 0;
  color: #0b6b4b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex: 1;
  min-width: 280px;
}

.inv-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 4px;
}

.inv-logo-cct {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
  position: relative;
}

.inv-logo-cct::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px solid #e8e8e8;
}

.inv-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.inv-logo-chinese {
  font-size: 24px;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: 2px;
}

.inv-logo-en {
  font-size: 9px;
  font-weight: 600;
  color: #999;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.inv-subtitle-line {
  width: 48px;
  height: 3px;
  background: #0b6b4b;
  border-radius: 2px;
  margin-bottom: 28px;
}

.inv-text {
  font-size: 15px;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 22px;
}

.inv-text-muted {
  font-size: 14px;
  line-height: 1.8;
  color: #999;
  margin-bottom: 22px;
}

.inv-link-row {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 4px;
}

.inv-link-row a {
  color: #0b6b4b;
  text-decoration: none;
  border-bottom: 1px solid #b6dece;
  padding-bottom: 1px;
}

.inv-link-row a:hover {
  color: #084d35;
}

div.type-page .mySwiperAbout img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  height: 100%;
}

.mySwiperAbout .preview_picture {
  object-fit: cover;
  height: 100%;
}

.mySwiperAbout .swiper-button-next,
.mySwiperAbout .swiper-button-prev {
  color: #ffffff;
}

.mySwiperAbout .swiper-pagination-bullet-active {
  background: #ffffff;
}

.mySwiperAbout .swiper-slide {
  height: auto;
}

.mySwiperAbout .swiper-wrapper {
  align-items: normal;
}

.regalii h2.title ,
.photogallery h2.title {
  text-align: center;
}

.mySwiperAbout {
  margin-top: 30px;
}

.reviewsSwiper {
  max-width: 800px;
  position: relative;
}

.reviews-section .reviewsSwiper {
  overflow: visible;
}

.reviews-section {
  padding: 50px 0 80px 0;
  margin: 100px 0 80px 0;
  background: #f9f9f9;
  overflow: hidden;
}

.reviews-button-prev,
.reviews-button-next {
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  z-index: 10;
}

.review-slide {
  opacity: 0.4;
}

.review-slide.swiper-slide-active {
  opacity: 1;
}

.reviews-button-next {
  right: 2px;
}

.reviews-button-prev {
  left: 2px;
}

.reviews-title {
  font-size: 45px;
  font-weight: 700;
  line-height: 57.6px;
  text-align: center;
}

.review-slide-inner {
  background: #fff;
  padding: 60px 100px 70px 100px;
  border: 1px solid #dddddd;
  box-sizing: border-box;
  margin: 20px;
}

.review-slide-top-text span {
  display: block;
  color: #333333;
}

.review-slide-top-text .title {
  display: block;
  font-family: "Lora";
  font-size: 25px;
  font-weight: 700;
  line-height: 37.5px;
}

.review-slide-top-text .info {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.review-slide-top-img {
  height: 75px;
  width: 75px;
  min-width: 75px;
  overflow: hidden;
  border-radius: 50%;
}

.review-slide-top-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.review-slide-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.review-slide-review p {
  margin: 0;
  padding: 0;
}

.review-slide-review {
  font-family: "Open Sans";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  position: relative;
}

.reviewsSwiper .reviews-button-prev.swiper-button-disabled,
.reviewsSwiper .reviews-button-next.swiper-button-disabled {
  opacity: 0.4;
}

.reviewsSwiper .reviews-button-prev,
.reviewsSwiper .reviews-button-next {
  width: 34px;
  height: 34px;
  background: #333333;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewsSwiper .reviews-button-prev:hover,
.reviewsSwiper .reviews-button-next:hover {
  opacity: 0.4;
}

.review-slide-review::before,
.review-slide-review::after {
  position: absolute;
  content: "";
  height: 60px;
  width: 63px;
  background-repeat: no-repeat;
}

.review-slide-review::before {
  background-image: url("/test-glavnaya/img/review-l.svg");
  left: -80px;
  top: -15px;
}

.review-slide-review::after {
  background-image: url("/test-glavnaya/img/review-r.svg");
  bottom: 0;
  right: -90px;
}

@media (max-width: 900px) {
  .gw-services-grid {
    grid-template-columns: 1fr;
  }

  .gw-section,
  .inv-section,
  .about-story,
  .photogallery {
    margin: 26px 0;
  }

  .row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .card {
    width: 80%;
  }

  .center-row .card {
    width: 80%;
  }

  .about-story .card {
    width: 100%;
  }

  .inv-section {
    padding: 36px 20px;
  }

  .inv-heading {
    font-size: 20px;
  }

  .inv-logo-chinese {
    font-size: 20px;
  }

  .inv-header {
    flex-direction: column;
  }

  .review-slide-inner {
    padding: 20px 20px 80px 20px;
    margin: 20px;
  }

  .review-slide-review::before {
    left: -10px;
  }

  .reviews-section {
    padding: 30px 0 30px 0;
    margin: 50px 0 50px 0;
  }

  .partners-section {
    margin-bottom: 60px;
  }

  .nav-buttons {
    justify-content: center;
  }

  .review-slide-review::after {
    bottom: -60px;
    right: 00px;
  }

  .reviews-title {
    font-size: 27px;
    line-height: 34px;
  }

  .review-slide-top-text .title {
    font-size: 15px;
    line-height: 22px;
  }

  .review-slide-review {
    font-size: 10px;
    line-height: 17px;
  }

  .review-slide-top-text .info {
    font-size: 11px;
    line-height: 16px;
  }
}

.news div.type-page-container div.no-padding .about-first-list ul li {
  margin: 0;
  padding: 0 20px;
  height: auto;
}

@media only screen and (min-width: 321px) and (max-width: 767px) {
  body .about-first-list ul.first-list {
    display: block;
  }
}

.mySwiperRegalii {
    margin-top: 30px;
    padding-bottom: 40px; /* Отступ для точек пагинации */
    position: relative;
}

.mySwiperRegalii .swiper-slide {
    height: auto;
    display: flex;
}

.mySwiperRegalii .about-block {
    width: 100%;
    background: #fff;
    border: 1px solid #e8f4ef;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mySwiperRegalii .gud-block img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 15px;
}
.regalii .about-block.mission.gud-container {
	background: wait;
}
/* Делаем блок содержимого гибким контейнером */
.mySwiperRegalii .about-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Первый блок с текстом забирает всё свободное место */
.mySwiperRegalii .gud-block:first-child {
    flex-grow: 1;
}

/* Второй блок с картинкой прижимается к низу */
.mySwiperRegalii .gud-block:last-child {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

/* Центрирование самой картинки */
.mySwiperRegalii .gud-block img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 15px;
}

.regalii div.gud-block {
	margin-bottom: 6px;
}
.regalii div.gud-block p {
	margin-left: 20px;
}
.regalii  div.gud-block h2 {
	margin-left: 20px;
	margin-top: 42px;
	padding-right: 15px;
}
.regalii .about-block.mission.gud-container {
    background: white;
}
.regalii div.gud-block {
	height: auto;
}
@media only screen and (min-width: 1820px) {
	.regalii div.gud-block {
/*		height: auto;*/
	}
}