:root {
  --wd-green: #99d63d;
  --wd-dark: #3f3f3f;
  --wd-blue: #1d5f9d;
  --wd-content: 1170px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #333;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

img {
  height: auto;
  max-width: 100%;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.site-header {
  background: rgba(39, 39, 39, 0.82);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 30;
}

.site-header .content,
.content {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: var(--wd-content);
  width: calc(100% - 40px);
}

.site-header .logo {
  align-items: center;
  display: flex;
  height: 98px;
}

.site-header .logo img {
  display: block;
  height: auto;
  max-height: 58px;
  width: auto;
}

.custom-logo-link {
  display: block;
}

.site-header .inmuen > ul,
.site-header .inmuen .menu {
  display: flex;
}

.site-header .inmuen li {
  position: relative;
}

.site-header .inmuen li a {
  border-radius: 4px;
  color: #fff;
  display: block;
  padding: 13px 22px;
  white-space: nowrap;
}

.site-header .inmuen li.current-menu-item > a,
.site-header .inmuen li.current_page_item > a,
.site-header .inmuen li a:hover {
  background: var(--wd-green);
}

.nav_handle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
}

.home-hero {
  background: #eef7ff;
  height: 720px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.home-hero .swiper-wrapper,
.home-hero .swiper-slide {
  height: 100%;
}

.home-hero--single .swiper-wrapper {
  transform: none !important;
  width: 100% !important;
}

.home-hero--single .swiper-slide {
  width: 100% !important;
}

.hero-slide {
  overflow: hidden;
  position: relative;
}

.hero-slide__image-link,
.hero-slide__img {
  display: block;
  height: 100%;
  width: 100%;
}

.hero-slide__image-link,
.hero-slide__image-link:hover,
.hero-slide__image-link:focus {
  background: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

.hero-slide__img,
.hero-slide__image-link:hover .hero-slide__img,
.hero-slide__image-link:focus .hero-slide__img,
.hero-slide:hover .hero-slide__img {
  filter: none !important;
  opacity: 1 !important;
  object-fit: cover;
  transform: none !important;
}

.hero-slide__image,
.home-poster__background {
  inset: 0;
  position: absolute;
}

.hero-slide__image,
.home-poster__background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide__image--left {
  background-position: left center;
}

.hero-slide__image--right {
  background-position: right center;
}

.hero-slide__overlay {
  background: rgba(0, 0, 0, 0.22);
  inset: 0;
  position: absolute;
}

.hero-slide__inner,
.home-poster__inner {
  align-items: center;
  display: flex;
  height: 100%;
  position: relative;
  z-index: 2;
}

.hero-slide--v-top .hero-slide__inner,
.hero-slide--v-top .home-poster__inner {
  align-items: flex-start;
  padding-top: 150px;
}

.hero-slide--v-bottom .hero-slide__inner,
.hero-slide--v-bottom .home-poster__inner {
  align-items: flex-end;
  padding-bottom: 90px;
}

.hero-slide__copy,
.home-poster__copy {
  max-width: 54%;
  text-align: center;
}

.hero-slide--h-left .hero-slide__copy,
.hero-slide--h-left .home-poster__copy {
  margin-right: auto;
  text-align: left;
}

.hero-slide--h-center .hero-slide__copy,
.hero-slide--h-center .home-poster__copy {
  margin-left: auto;
  margin-right: auto;
}

.hero-slide--h-right .hero-slide__copy,
.hero-slide--h-right .home-poster__copy {
  margin-left: auto;
  text-align: right;
}

.hero-slide--light {
  color: #fff;
}

.hero-slide--dark {
  color: #222;
}

.hero-slide--blue {
  color: var(--wd-blue);
}

.hero-slide__copy h1 {
  font-size: clamp(32px, 3.3vw, 54px);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 16px;
}

.hero-slide__copy p {
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.5;
}

.hero-slide__button,
.home-poster__copy a {
  border: 1px solid currentColor;
  color: inherit;
  display: inline-block;
  margin-top: 28px;
  padding: 12px 30px;
}

.hero-slide__full-link {
  inset: 0;
  position: absolute;
  z-index: 3;
}

.home-hero__pagination {
  bottom: 24px;
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 5;
}

.home-hero__pagination .swiper-pagination-switch {
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  margin: 0 5px;
  opacity: 0.65;
  width: 10px;
}

.home-hero__pagination .swiper-active-switch {
  background: var(--wd-green);
  opacity: 1;
}

.home-product-heading {
  color: #222;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  margin: 42px auto;
  padding: 0 20px;
  text-align: center;
}

.home-posters {
  overflow: hidden;
}

.home-posters > img,
.home-poster--full > img {
  display: block;
  height: auto;
  width: 100%;
}

.home-module--visual {
  background: #fff;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.home-hero + .home-module--visual {
  margin-top: 36px;
}

.home-module--visual + .home-module--visual {
  margin-top: 24px;
}

.home-module--visual + .home-module:not(.home-module--visual) {
  margin-top: 64px;
}

.home-poster {
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.home-poster--full {
  min-height: 0;
}

.home-poster--full a,
.home-poster--full img {
  display: block;
}

.home-poster__copy {
  padding: 40px 0;
}

.home-poster__copy h2 {
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.25;
}

.home-poster__copy p {
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.8;
  margin-top: 18px;
}

.home-advantages {
  padding: 75px 0;
}

.home-advantages ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-advantages ul li {
  box-sizing: border-box;
  float: none;
  width: auto;
}

.home-about {
  background-position: center !important;
  background-size: cover !important;
}

.home-news .nr ul {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.home-news .nr ul li {
  float: none;
  margin: 0;
  width: auto;
}

.home-news .nr ul li a {
  color: inherit;
  display: block;
}

.home-news .pic img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.site-footer .fnav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer .fnav li {
  display: inline-block;
}

.search-form {
  display: flex;
}

.search-form label {
  flex: 1;
}

.search-form .text {
  box-sizing: border-box;
  width: 100%;
}

.page-down {
  align-items: center;
  background: var(--wd-green);
  border: 0;
  border-radius: 3px;
  bottom: 30px;
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 25px;
  height: 42px;
  justify-content: center;
  position: fixed;
  right: 30px;
  width: 42px;
  z-index: 30;
}

.inner-page .nybanner {
  padding-top: 98px;
}

.inner-page .nybanner img {
  display: block;
  width: 100%;
}

.entry-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 30px;
  text-align: center;
}

.entry-content {
  font-size: 16px;
  line-height: 2;
}

.entry-content img {
  height: auto;
}

.news-list,
.product-grid,
.gallery-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.news-list li,
.product-grid li {
  background: #fff;
  border: 1px solid #eee;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.gallery-grid figure {
  background: #fff;
  border: 1px solid #eee;
  margin: 0;
  padding: 12px;
  text-align: center;
}

.gallery-grid img {
  display: block;
  margin: 0 auto;
}

.gallery-grid figcaption {
  font-size: 16px;
  padding: 12px 4px 4px;
}

.contact-page {
  padding: 70px 0;
}

.contact-layout {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 1fr;
}

.contact-layout h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
}

.contact-details ul {
  border-top: 1px solid #eee;
  line-height: 2;
  margin-top: 25px;
  padding-top: 20px;
}

.wendaosw-contact-form form {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.contact-field--full,
.wendaosw-contact-form button {
  grid-column: 1 / -1;
}

.contact-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-field label span {
  color: #c72b1b;
}

.contact-field input,
.contact-field textarea {
  border: 1px solid #ddd;
  box-sizing: border-box;
  font: inherit;
  padding: 12px;
  width: 100%;
}

.wendaosw-contact-form button {
  background: var(--wd-green);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  padding: 13px 30px;
}

.contact-field-hp {
  left: -9999px;
  position: absolute;
}

.form-notice {
  margin: 0 0 20px;
  padding: 12px 15px;
}

.form-notice--success {
  background: #edf8e0;
  color: #467b16;
}

.form-notice--error {
  background: #fff0f0;
  color: #a22424;
}

.news-list li:hover,
.product-grid li:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
  transform: translateY(-4px);
}

.news-list a,
.product-grid a {
  color: inherit;
  display: block;
}

.news-list .pic img,
.product-grid .pic img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.news-list__body,
.product-grid .tit,
.product-grid .fenl {
  padding-left: 22px;
  padding-right: 22px;
}

.news-list .tit,
.product-grid .tit {
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0 10px;
}

.news-list .date {
  color: #999;
  margin-bottom: 12px;
}

.news-list .jj,
.product-grid .fenl {
  color: #666;
  line-height: 1.8;
  padding-bottom: 22px;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }

  .site-header .content {
    width: calc(100% - 30px);
  }

  .site-header .logo {
    height: 64px;
  }

  .site-header .logo img {
    max-height: 42px;
    max-width: 170px;
  }

  .nav_handle {
    display: block;
    height: 64px;
    position: absolute;
    right: 15px;
    top: 0;
    width: 42px;
  }

  .nav_handle i {
    background: #fff;
    display: block;
    height: 2px;
    margin: 6px auto;
    transition:
      transform 0.2s,
      opacity 0.2s;
    width: 27px;
  }

  .nav_handle.on .l_1 {
    transform: translateY(8px) rotate(45deg);
  }

  .nav_handle.on .l_2 {
    opacity: 0;
  }

  .nav_handle.on .l_3 {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-header .inmuen {
    background: rgba(35, 35, 35, 0.98);
    display: none;
    float: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 64px;
    width: 100%;
  }

  .site-header .inmuen > ul,
  .site-header .inmuen .menu {
    display: block;
  }

  .site-header .inmuen li {
    float: none;
    text-align: center;
  }

  .site-header .inmuen li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .home-hero {
    height: clamp(250px, 56vw, 430px);
  }

  .hero-slide__copy {
    max-width: 68%;
  }

  .hero-slide--v-top .hero-slide__inner {
    padding-top: 45px;
  }

  .hero-slide--v-bottom .hero-slide__inner {
    padding-bottom: 45px;
  }

  .hero-slide__copy h1 {
    font-size: clamp(23px, 5.8vw, 38px);
  }

  .hero-slide__copy p {
    font-size: clamp(16px, 4vw, 24px);
  }

  .home-advantages ul,
  .home-news .nr ul,
  .news-list,
  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inner-page .nybanner {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .content,
  .site-header .content {
    width: calc(100% - 28px);
  }

  .home-hero {
    height: 58vw;
    min-height: 220px;
  }

  .hero-slide__image {
    background-size: cover;
  }

  .hero-slide__copy {
    max-width: 74%;
  }

  .hero-slide__copy h1 {
    font-size: 22px;
    line-height: 1.35;
  }

  .hero-slide__copy p {
    font-size: 16px;
  }

  .hero-slide__button {
    margin-top: 14px;
    padding: 8px 18px;
  }

  .home-product-heading {
    font-size: 28px;
    line-height: 1.45;
    margin: 30px auto;
  }

  .home-poster {
    min-height: 68vw;
  }

  .home-poster--full {
    min-height: 0;
  }

  .home-poster__copy {
    max-width: 60%;
  }

  .home-poster__copy h2 {
    font-size: 26px;
  }

  .home-poster__copy p {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-advantages {
    padding: 45px 0;
  }

  .home-advantages ul,
  .home-news .nr ul,
  .news-list,
  .product-grid,
  .gallery-grid,
  .contact-layout,
  .wendaosw-contact-form form {
    grid-template-columns: 1fr;
  }

  .contact-field--full,
  .wendaosw-contact-form button {
    grid-column: auto;
  }

  .home-advantages ul li {
    min-height: 170px;
  }

  .entry-title {
    font-size: 26px;
  }

  .page-down {
    bottom: 18px;
    right: 18px;
  }
}

.home-module__title {
  color: #222;
  font-size: 36px;
  margin: 0 0 38px;
  text-align: center;
}

.home-media,
.home-products {
  padding: 70px 0;
}

.home-media img,
.home-media video {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

.home-media p,
.home-media .home-module__text {
  line-height: 1.9;
  margin: 18px auto 0;
  max-width: 900px;
  text-align: center;
}

.home-card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card {
  background: #fff;
  border: 1px solid #eee;
  color: #333;
  display: block;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.home-card:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
  transform: translateY(-4px);
}

.home-card__image img {
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  width: 100%;
}

.home-card h3 {
  font-size: 20px;
  line-height: 1.55;
  margin: 20px 22px 10px;
}

.home-card p {
  color: #666;
  line-height: 1.8;
  margin: 0;
  padding: 0 22px 24px;
}

.home-module__more,
.home-module__button {
  background: var(--wd-green);
  border-radius: 4px;
  color: #fff;
  display: table;
  margin: 35px auto 0;
  padding: 12px 28px;
}

.home-text-block {
  align-items: center;
  background-color: #f7fbf1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  min-height: 0;
  padding: 76px 0;
  position: relative;
}

.home-text-block::before {
  background: rgba(0, 0, 0, 0.2);
  content: "";
  inset: 0;
  position: absolute;
}

.home-text-block:not([style])::before {
  display: none;
}

.home-text-block .content {
  position: relative;
  z-index: 1;
}

.home-text-block--left .content {
  text-align: left;
}

.home-text-block--center .content {
  text-align: center;
}

.home-text-block--right .content {
  text-align: right;
}

.home-text-block .lmtit {
  font-size: 38px;
  margin-bottom: 24px;
}

.home-text-block .nr,
.home-text-block__subtitle {
  font-size: 16px;
  line-height: 2;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.home-text-block.hero-slide--light,
.home-text-block.hero-slide--light .lmtit {
  color: #fff;
}

.home-text-block.hero-slide--dark,
.home-text-block.hero-slide--dark .lmtit {
  color: #222;
}

.home-text-block:not([style]).hero-slide--dark,
.home-text-block:not([style]).hero-slide--dark .lmtit {
  color: #333;
}

.home-text-block.hero-slide--blue,
.home-text-block.hero-slide--blue .lmtit {
  color: var(--wd-blue);
}

.page-tabs {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 0 0 48px;
}

.page-tabs a {
  background: #f3f3f3;
  border-radius: 6px;
  color: #333;
  display: inline-block;
  font-size: 16px;
  line-height: 1.4;
  padding: 14px 28px;
}

.page-tabs a.is-active,
.page-tabs a:hover {
  background: var(--wd-green);
  color: #fff;
}

.contact-details--single {
  font-size: 22px;
  line-height: 1.9;
  margin: 0 auto;
  max-width: 820px;
}

.contact-details--single ul {
  margin: 0 0 42px;
  padding: 0;
}

.contact-details--single li {
  list-style: none;
  margin: 0;
}

.contact-details--single h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.contact-details--single p {
  margin: 0;
}

@media (max-width: 900px) {
  .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-module__title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .home-media,
  .home-products {
    padding: 45px 0;
  }

  .home-hero + .home-module--visual {
    margin-top: 20px;
  }

  .home-module--visual + .home-module--visual {
    margin-top: 14px;
  }

  .home-module--visual + .home-module:not(.home-module--visual) {
    margin-top: 36px;
  }

  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .home-text-block {
    min-height: 320px;
    padding: 50px 0;
  }

  .home-text-block .lmtit {
    font-size: 28px;
  }

  .page-tabs {
    gap: 10px;
    margin-bottom: 30px;
  }

  .page-tabs a {
    font-size: 15px;
    padding: 11px 20px;
  }

  .contact-details--single {
    font-size: 18px;
  }
}

/*
 * Final theme ownership layer. The legacy stylesheet supplies the original
 * visual language; these rules keep its fixed floats and widths from leaking
 * into the WordPress templates.
 */
body.page {
  padding: 0 !important;
  text-align: initial;
}

body.page a {
  background: transparent;
  height: auto;
  line-height: inherit;
  margin: 0;
  overflow: visible;
  width: auto;
}

.site-header {
  box-sizing: border-box;
  padding: 0 !important;
  position: relative;
}

.site-header .content {
  align-items: center;
  display: flex;
  height: 98px !important;
  padding: 0 10px;
}

.site-header .logo {
  flex: 0 0 auto;
  float: none !important;
  height: auto;
  padding: 0;
  width: 230px;
}

.site-header .logo a,
.site-header .logo img {
  display: block;
  height: auto !important;
  max-height: 58px;
  max-width: 230px;
  width: auto !important;
}

.site-header .inmuen {
  float: none !important;
  line-height: normal;
  margin-left: auto;
  padding: 0 !important;
  width: auto;
}

.site-header .inmuen > ul,
.site-header .inmuen .menu {
  align-items: center;
  background: transparent !important;
  margin: 0;
  padding: 0;
  width: auto !important;
}

.site-header .inmuen li {
  float: none !important;
  margin: 0;
  width: auto !important;
}

.site-header.header .inmuen ul li > a {
  background: transparent;
  height: auto;
  line-height: 1.4 !important;
  padding: 12px 20px !important;
}

.site-header.header .inmuen li.current-menu-item > a,
.site-header.header .inmuen li.current_page_item > a,
.site-header.header .inmuen li.current-menu-ancestor > a,
.site-header.header .inmuen li > a:hover {
  background: var(--wd-green);
}

.site-header .clean {
  display: none;
}

.inner-page .nybanner {
  margin: 0;
  padding-top: 0 !important;
}

.inner-page .nybanner img {
  height: clamp(210px, 22vw, 350px);
  object-fit: cover;
  object-position: center;
}

.nypro,
.nynews {
  padding: 30px 0 70px;
}

.product-grid {
  display: grid !important;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.nypro .product-grid > li {
  box-sizing: border-box;
  float: none !important;
  margin: 0 !important;
  min-width: 0;
  width: auto !important;
}

.product-grid .pic {
  margin: 0 !important;
}

.product-grid .tit,
.product-grid .fenl {
  box-sizing: border-box;
  height: auto !important;
  min-width: 0;
  white-space: normal !important;
  width: auto !important;
}

.product-grid .tit {
  line-height: 1.55 !important;
  min-height: 0;
  padding-bottom: 24px;
  text-align: center !important;
}

.product-grid .fenl {
  color: #666 !important;
  display: -webkit-box;
  line-height: 1.8;
  min-height: 92px;
  overflow: hidden;
  text-align: left !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nypro .product-grid .fenl {
  display: none !important;
}

.showpro .info {
  box-sizing: border-box;
}

.showpro .info .product-summary {
  padding-top: 8px;
}

.showpro .info .jj p {
  margin: 0 0 12px;
}

.showpro .info .jj strong {
  color: #333;
  font-weight: 700;
}

.news-post-nav {
  border-top: 1px solid #e8e8e8;
  display: grid;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
}

.news-post-nav__item {
  align-items: center;
  display: flex;
  gap: 8px;
}

.news-post-nav__item span {
  color: #666;
  flex: 0 0 auto;
}

.news-post-nav__item a,
.news-post-nav__item em {
  border: 1px solid #8cd635;
  border-radius: 4px;
  color: #6cad1d;
  display: inline-block;
  font-style: normal;
  line-height: 1.5;
  padding: 9px 16px;
}

.news-post-nav__item a:hover {
  background: #8cd635;
  color: #fff;
}

.news-list {
  display: block !important;
}

.nynews .news-list > li {
  box-sizing: border-box;
  float: none !important;
  margin: 0 0 28px !important;
  min-height: 0;
  padding: 0 !important;
  width: 100% !important;
}

.news-list > li > a {
  align-items: stretch;
  display: grid !important;
  grid-template-columns: minmax(240px, 32%) 1fr;
}

.nynews .news-list .pic {
  height: 100%;
  left: auto;
  margin: 0 !important;
  min-height: 220px;
  overflow: hidden;
  position: static !important;
  top: auto;
  width: auto !important;
}

.news-list .pic img {
  height: 100%;
  min-height: 220px;
}

.news-list__body {
  box-sizing: border-box;
  padding: 24px 30px !important;
}

.nynews .news-list .tit {
  height: auto;
  line-height: 1.55;
  margin: 0 0 10px;
  white-space: normal;
}

.nynews .news-list .date {
  border: 0;
  height: auto;
  margin: 0 0 12px;
  padding: 0;
  position: static;
}

.nynews .news-list .jj {
  display: -webkit-box;
  height: auto;
  line-height: 1.9;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-news .nr ul {
  width: 100%;
}

.home-news .nr ul li {
  box-sizing: border-box;
  height: auto !important;
  min-width: 0;
}

.home-news .nr ul li .wz {
  padding: 20px;
}

.home-news .nr ul li .wz .jj {
  display: -webkit-box;
  height: auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.shownews .nr {
  font-size: 15px;
  line-height: 1.9;
  padding: 28px 0;
}

.shownews .nr p {
  line-height: 1.9 !important;
  margin: 0 !important;
}

.shownews .nr br {
  line-height: 0.75;
}

.site-footer .fnav,
.site-footer .fnav ul {
  background: transparent !important;
  width: auto !important;
}

.site-footer .fnav {
  display: block !important;
}

.site-footer .fnav li {
  float: none !important;
  width: auto !important;
}

.site-footer .fnav a {
  background: transparent !important;
  color: #f2f2f2 !important;
  height: auto !important;
  width: auto !important;
}

.site-footer .banq,
.site-footer .banq a {
  background: transparent !important;
  height: auto !important;
  width: auto !important;
}

.site-footer .banq a {
  display: inline;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-header .content {
    height: 64px !important;
    position: relative;
  }

  .site-header .logo {
    width: 170px;
  }

  .site-header .logo img {
    max-height: 42px;
    max-width: 170px;
  }

  .site-header .inmuen {
    margin: 0;
    padding: 0 !important;
    position: absolute;
    top: 64px;
  }

  .site-header .inmuen > ul,
  .site-header .inmuen .menu {
    display: block;
  }

  .site-header.header .inmuen ul li > a {
    padding: 13px 15px !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .inner-page .nybanner img {
    height: 38vw;
    min-height: 150px;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .news-list > li > a {
    display: block !important;
  }

  .nynews .news-list .pic,
  .news-list .pic img {
    height: auto;
    min-height: 0;
    width: 100% !important;
  }

  .news-list__body {
    padding: 20px !important;
  }

  .site-footer .fnav a {
    padding: 0 8px;
  }

  .site-footer .banq {
    font-size: 12px;
  }
}

/* Final visual refinements for the WordPress rebuild. */
body.home .site-header {
  position: relative;
}

.home-about .nr {
  line-height: 2;
  margin: 0 auto;
  max-width: 1000px;
  text-align: left !important;
}

.home-about .nr p {
  margin: 0 0 14px;
  text-indent: 2em;
}

.home-about .home-module__button {
  margin-top: 26px;
  text-align: center;
}

.inner-page .nybanner {
  margin: 0;
  padding-top: 0 !important;
}

.inner-page .nybanner img {
  display: block;
  height: clamp(180px, 18vw, 280px) !important;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.weizhi {
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  height: auto !important;
  line-height: 1.6 !important;
}

.weizhi .content {
  color: #666;
  font-size: 15px;
  padding: 16px 0 !important;
}

.nyabout,
.nypro,
.nynews,
.contact-page,
.showpro,
.shownews {
  padding-top: 52px !important;
}

.entry-title,
.nynews .entry-title,
.nypro .entry-title,
.nyabout .entry-title,
.contact-page .entry-title {
  color: #333 !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 38px !important;
  text-align: center !important;
}

.page-tabs {
  margin: -18px 0 44px !important;
}

.site-header .logo a,
.site-header .logo a:hover,
.site-header .logo a:focus,
.site-header .custom-logo-link,
.site-header .custom-logo-link:hover,
.site-header .custom-logo-link:focus {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  outline: none;
  transform: none !important;
}

.site-header .logo img,
.site-header .logo a:hover img,
.site-header .custom-logo-link:hover img {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.home-news .nr ul li,
.news-list li,
.product-grid li,
.home-card {
  background: #fff !important;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.home-news .nr ul li:hover,
.news-list li:hover,
.product-grid li:hover,
.home-card:hover {
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px);
}

.home-news .nr ul li:hover .wz,
.news-list li:hover .news-list__body,
.product-grid li:hover .tit,
.home-card:hover .home-card__body {
  background: #fff !important;
}

.home-news .nr ul li:hover .tit,
.news-list li:hover .tit,
.product-grid li:hover .tit,
.home-card:hover h3 {
  color: #333 !important;
}

.home-news .nr ul li:hover .date,
.news-list li:hover .date,
.home-card:hover .date {
  color: #999 !important;
}

.home-news .nr ul li:hover .jj,
.news-list li:hover .jj,
.home-card:hover p {
  color: #666 !important;
}

.product-grid li:hover img,
.news-list li:hover img,
.home-card:hover img {
  filter: none !important;
  opacity: 1 !important;
}

.site-footer.footer {
  padding: 28px 0 0 !important;
}

.site-footer .flogo {
  padding: 0 !important;
}

.site-footer .flogo img {
  max-height: 76px;
  width: auto;
}

.site-footer .fnav {
  line-height: 1.6 !important;
  padding: 16px 0 20px !important;
}

.site-footer .banq {
  line-height: 1.8 !important;
  padding: 16px 0 18px !important;
}

@media (max-width: 900px) {
  .nyabout,
  .nypro,
  .nynews,
  .contact-page,
  .showpro,
  .shownews {
    padding-top: 38px !important;
  }

  .site-footer .flogo img {
    max-height: 64px;
  }
}

@media (max-width: 600px) {
  .inner-page .nybanner img {
    height: 38vw !important;
    min-height: 145px;
  }

  .entry-title,
  .nynews .entry-title,
  .nypro .entry-title,
  .nyabout .entry-title,
  .contact-page .entry-title {
    font-size: 28px !important;
    margin-bottom: 28px !important;
  }
}

/* Launch polish: keep the rebuilt pages visually consistent. */
.home-hero + .home-module--visual,
.home-module--visual + .home-module--visual,
.home-module--visual + .home-module:not(.home-module--visual),
.home-module--visual + .home-advantages {
  margin-top: 0 !important;
}

/* Full-poster homepage banner: keep the uploaded image ratio on every viewport.
   The original slider height left a pale blank area when the browser became narrow. */
.home-hero {
  background: #fff !important;
  height: auto !important;
  min-height: 0 !important;
}

.home-hero .swiper-wrapper,
.home-hero .swiper-slide {
  height: auto !important;
}

.hero-slide__image-link,
.hero-slide__img {
  height: auto !important;
}

.hero-slide__img,
.hero-slide__image-link:hover .hero-slide__img,
.hero-slide__image-link:focus .hero-slide__img,
.hero-slide:hover .hero-slide__img {
  object-fit: contain !important;
  width: 100%;
}

.home-advantages {
  padding: 64px 0 !important;
}

.inyous.home-advantages {
  background:
    linear-gradient(90deg, rgba(29, 95, 157, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(29, 95, 157, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 18% 25%, rgba(153, 214, 61, 0.18), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(29, 95, 157, 0.16), transparent 26%),
    linear-gradient(135deg, #f7fbff 0%, #eef7fb 52%, #f7fbf4 100%) !important;
  background-size: 34px 34px, 34px 34px, auto, auto, auto !important;
  border-bottom: 1px solid #e2edf3;
  border-top: 1px solid #e2edf3;
}

.inyous.home-advantages ul {
  gap: 28px;
}

.inyous.home-advantages ul li {
  margin: 0 !important;
}

.inyous.home-advantages ul li .sz {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 95, 157, 0.18);
  box-shadow: 0 18px 38px rgba(29, 95, 157, 0.12);
  color: #173f63;
}

.inyous.home-advantages ul li .jj {
  color: #40586b;
  font-size: 15px;
  font-weight: 600;
  height: auto;
  line-height: 1.75;
}

.home-about {
  padding: 72px 0 !important;
}

.home-news {
  padding: 68px 0 !important;
}

.home-about .home-module__button,
.wd-button {
  background: var(--wd-green) !important;
  border: 0 !important;
  border-radius: 4px;
  color: #fff !important;
  display: table;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 30px;
  text-align: center;
}

.home-about .home-module__button {
  margin-left: auto !important;
  margin-right: auto !important;
}

.home-about .home-module__button:hover,
.wd-button:hover {
  background: #8acb2f !important;
  color: #fff !important;
}

/* Homepage call-to-action sections, including the cooperation block. */
.home-cta {
  background:
    radial-gradient(circle at 12% 18%, rgba(153, 214, 61, 0.13), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(29, 95, 157, 0.12), transparent 32%),
    linear-gradient(135deg, #f7fafc 0%, #edf5fb 54%, #f7faf8 100%) !important;
  border-bottom: 1px solid #e2ebf2;
  border-top: 1px solid #e2ebf2;
  overflow: hidden;
  padding: 72px 0 !important;
}

.home-cta::before {
  display: none !important;
}

.home-cta .content {
  box-sizing: border-box;
  max-width: 1160px;
  padding-left: 24px;
  padding-right: 24px;
}

.home-cta .lmtit {
  color: #173f63 !important;
  font-size: clamp(32px, 3.1vw, 44px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 22px;
}

.home-cta .lmtit::after {
  background: linear-gradient(90deg, var(--wd-green), var(--wd-blue));
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin: 16px auto 0;
  width: 54px;
}

.home-cta .nr {
  color: #526475;
  font-size: 18px;
  line-height: 1.9;
  max-width: 980px;
}

.home-cta .nr p {
  margin: 0;
}

body.page .home-cta .home-module__button,
.home-cta .home-module__button {
  align-items: center;
  background: linear-gradient(135deg, var(--wd-blue), #2d78b8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(29, 95, 157, 0.2);
  color: #fff !important;
  display: inline-flex !important;
  font-size: 16px;
  font-weight: 600;
  height: auto !important;
  justify-content: center;
  line-height: 1.4 !important;
  margin: 30px auto 0 !important;
  min-width: 170px;
  padding: 13px 30px !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  width: auto !important;
}

.home-cta .home-module__button::after {
  content: "\2192";
  font-size: 18px;
  margin-left: 10px;
  transition: transform 0.2s ease;
}

body.page .home-cta .home-module__button:hover,
.home-cta .home-module__button:hover {
  background: linear-gradient(135deg, #174e80, #246ca8) !important;
  box-shadow: 0 13px 28px rgba(29, 95, 157, 0.28);
  color: #fff !important;
  transform: translateY(-2px);
}

.home-cta .home-module__button:hover::after {
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .home-cta {
    min-height: 0;
    padding: 52px 0 !important;
  }

  .home-cta .lmtit {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .home-cta .nr {
    font-size: 16px;
    line-height: 1.8;
  }

  body.page .home-cta .home-module__button,
  .home-cta .home-module__button {
    margin-top: 24px !important;
    min-width: 160px;
    padding: 12px 24px !important;
  }
}

.entry-content,
.showpro .detail,
.shownews .nr,
.nyabout .entry-content,
.contact-details,
.cooperation-contact {
  color: #444;
  font-size: 16px;
  line-height: 1.9;
}

.entry-content [style] {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.entry-content p {
  margin: 0 0 16px !important;
}

.entry-content strong,
.showpro .detail strong,
.shownews .nr strong {
  color: #333;
  font-weight: 700;
}

.showpro .info .jj {
  color: #555;
  font-size: 17px;
  line-height: 1.9;
}

.product-grid li,
.product-grid li a,
.product-grid .pic,
.product-grid .tit,
.product-grid .fenl {
  background: #fff !important;
}

.product-grid li:hover,
.product-grid li:hover a,
.product-grid li:hover .pic,
.product-grid li:hover .tit,
.product-grid li:hover .fenl {
  background: #fff !important;
}

.product-grid .pic {
  line-height: 0 !important;
  overflow: hidden;
}

.product-grid .pic img {
  display: block !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  vertical-align: bottom;
}

.product-grid li:hover .pic img {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.contact-details ul {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.contact-details--single {
  color: #444;
  font-size: 20px !important;
  line-height: 2 !important;
  max-width: 760px;
}

.contact-details--single ul {
  display: grid;
  gap: 12px;
  margin: 0 0 32px !important;
  padding: 0;
}

.contact-details--single li {
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0 0 10px;
}

.contact-details--single strong {
  color: #333;
  flex: 0 0 100px;
}

.contact-details--single h2 {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  margin: 26px 0 10px;
}

.contact-details--single p {
  display: flex;
  gap: 12px;
  margin: 0;
}

.cooperation-contact {
  background: #f7fbf2;
  border: 1px solid #e1f0d1;
  border-radius: 10px;
  margin: 48px 0 0;
  padding: 28px 32px;
}

.cooperation-contact ul {
  display: grid;
  gap: 12px 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 18px;
  padding: 0;
}

.cooperation-contact li {
  list-style: none;
}

.cooperation-contact strong {
  color: #2f8f12;
}

.cooperation-contact h2 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  margin: 14px 0 8px;
}

.cooperation-contact p {
  margin: 0;
}

.cooperation-contact .wd-button {
  margin: 24px 0 0;
}

.gallery-albums {
  display: grid;
  gap: 56px;
}

.gallery-album__title {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 24px;
  text-align: left;
}

.gallery-grid figure {
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  padding: 0 !important;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.gallery-grid figure:hover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.gallery-lightbox-trigger {
  background: #fff;
  border: 0;
  cursor: zoom-in;
  display: block;
  line-height: 0;
  padding: 0;
  width: 100%;
}

.gallery-lightbox-trigger img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.gallery-grid figcaption {
  color: #333;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  padding: 18px 18px 20px !important;
  text-align: center;
}

.gallery-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 70px 86px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.18s ease;
  z-index: 9999;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox__image {
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  max-height: calc(100vh - 160px);
  max-width: min(1200px, 100%);
  object-fit: contain;
}

.gallery-lightbox__caption {
  bottom: 26px;
  color: #fff;
  font-size: 16px;
  left: 20px;
  line-height: 1.6;
  position: absolute;
  right: 20px;
  text-align: center;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: absolute;
  transition: background 0.18s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  background: var(--wd-green);
}

.gallery-lightbox__close {
  font-size: 34px;
  height: 46px;
  line-height: 1;
  right: 28px;
  top: 24px;
  width: 46px;
}

.gallery-lightbox__nav {
  font-size: 54px;
  height: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
}

.gallery-lightbox__nav--prev {
  left: 24px;
}

.gallery-lightbox__nav--next {
  right: 24px;
}

@media (max-width: 600px) {
  .home-advantages,
  .home-about,
  .home-news {
    padding: 48px 0 !important;
  }

  .contact-details--single {
    font-size: 17px !important;
  }

  .contact-details--single li,
  .contact-details--single p {
    display: block;
  }

  .contact-details--single strong {
    display: inline;
  }

  .cooperation-contact {
    padding: 22px 18px;
  }

  .cooperation-contact ul {
    grid-template-columns: 1fr;
  }

  .gallery-albums {
    gap: 38px;
  }

  .gallery-album__title {
    font-size: 21px;
    text-align: center;
  }

  .gallery-lightbox {
    padding: 58px 16px;
  }

  .gallery-lightbox__image {
    max-height: calc(100vh - 140px);
  }

  .gallery-lightbox__nav {
    bottom: 18px;
    font-size: 36px;
    height: 44px;
    top: auto;
    transform: none;
    width: 44px;
  }

  .gallery-lightbox__nav--prev {
    left: 22px;
  }

  .gallery-lightbox__nav--next {
    right: 22px;
  }
}
