@charset "UTF-8";
/*
Theme Name: Theme Xindadong
Theme URI: https://example.com/
Description: 自定义WordPress主题
Author: Meidongwei
Author URI: https://example.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theme_xindadong
*/

/* 通用样式 */
:root {
  --color-primary: #0b3d6f;
  --color-secondary: #feb602;
  --color-darker: #303133;
  --color-dark: #606266;
  --color-base: #909399;
  --color-light: #A8ABB2;
  --color-lighter: #EBEEF5;
  --color-white: #fff;
  --color-black: #000;
}

body {
  background-color: var(--color-white);
  color: var(--color-darker);
  background-image: url('assets/img/logo_bg.svg');
  background-size: 200px;
  background-repeat: repeat;
}

/* 为常见元素添加过渡效果 */
body * {
  transition: background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease, fill 0.6s ease;
}

body.dark {
  background-color: var(--color-black);
  color: var(--color-white);
  background-image: url('assets/img/logo_bg2.svg');
}

.m-spacer-200 {
  width: 100%;
  height: 200px;
}

.m-spacer-100 {
  width: 100%;
  height: 100px;
}

.m-spacer-50 {
  width: 100%;
  height: 50px;
}

.strong {
  color: var(--color-secondary);
}

.flex {
  display: flex;
}

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

.align-items-center {
  align-items: center;
}

.m-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.m-btn-circle {
  font-size: 20px;
  font-weight: bold;
  padding: 0 20px;
  border-radius: 50px;
  background: none;
  border: 2px solid;
  width: 200px;
  height: 50px;
  text-decoration: none;
  z-index: 2;
}

.m-btn-white,
.m-btn-white-always {
  color: var(--color-white);
  border-color: var(--color-white);
}

.dark .m-btn-white {
  color: var(--color-black);
  border-color: var(--color-black);
}

.m-btn-black,
.m-btn-black-always {
  color: var(--color-black);
  border-color: var(--color-black);
}

.dark .m-btn-black {
  color: var(--color-white);
  border-color: var(--color-white);
}

.m-btn-circle:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* header */
.m-header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--color-lighter);
}

.dark .m-header {
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--color-darker);
}

.m-brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.m-brand a {
  height: 35px;
}

.m-brand img {
  height: 100%;
}

.m-nav>ul {
  display: flex;
  padding: 0;
  margin: 0;
}

.m-nav>ul>li {
  display: block;
  height: 30px;
  position: relative;
}

.m-nav>ul>li>a {
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0 15px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  color: var(--color-darker);
}

.m-nav>ul>li>a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background-color: var(--color-darker);
  transition: width 0.3s ease;
}

.dark .m-nav>ul>li>a {
  color: var(--color-white);
}

.dark .m-nav>ul>li>a::after {
  background-color: var(--color-lighter);
}

.m-nav>ul>li>a:hover::after {
  width: 100%;
}

/* 导航栏子菜单样式 */
.m-nav>ul>li:hover .m-nav-sub {
  display: block;
  position: absolute;
  top: 30px;
  left: 0;
  background-color: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
  padding: 0;
  width: 150px;
}

.m-nav-sub {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-nav-sub li {
  display: block;
}

.m-nav-sub li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--color-darker);
}

.dark .m-nav-sub li a {
  color: var(--color-white);
}

.m-nav-sub li a:hover {
  background-color: var(--color-lighter);
}

.dark .m-nav-sub li a {
  background-color: var(--color-black);
}

.dark .m-nav-sub li a:hover {
  background-color: var(--color-dark);
}


.m-rightbar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.m-toggle-theme {
  font-size: 16px;
  padding: 10px;
  color: var(--color-darker);
}

.dark .m-toggle-theme {
  color: var(--color-lighter);
}

.m-toggle-lang {
  font-size: 16px;
  padding: 10px;
  color: var(--color-darker);
  width: 40px;
}

.dark .m-toggle-lang {
  color: var(--color-lighter);
}

.m-rightbar .m-sidebar-btn {
  font-size: 16px;
  padding: 10px;
  fill: var(--color-darker);
}

.dark .m-rightbar .m-sidebar-btn {
  fill: var(--color-lighter);
}

@media (max-width: 768px) {
  .m-nav {
    display: none;
  }
}

/* headeroom样式 */
.headroom {
  will-change: transform;
  transition: transform 200ms linear;
}

.headroom--pinned {
  transform: translateY(0%);
}

.headroom--unpinned {
  transform: translateY(-100%);
}

/* sidebar */
.m-side-panel {
  background-color: var(--color-white);
  width: 18rem;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  border-left: 1px solid var(--color-lighter);
  z-index: 10;
  box-sizing: border-box;
  overflow-y: auto;
  animation: animateright 0.4s;
  display: none;
}

.dark .m-side-panel {
  background-color: var(--color-darker);
  border-left: 1px solid var(--color-darker);
}

.m-sidePanel-close {
  padding: 20px;
}

.m-sidePanel-closeBtn {
  width: 100%;
  height: 40px;
}

.m-sidePanel-closeBtn:hover {
  background-color: var(--color-lighter);
}

.dark .m-sidePanel-closeBtn svg {
  fill: var(--color-white);
}

.dark .m-sidePanel-closeBtn:hover {
  background-color: var(--color-dark);
}

.m-side-panel-list {
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.m-side-panel-list>ul {
  padding: 0;
  margin: 0;
}

.m-side-panel-list>ul li {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
}

.m-side-panel-list>ul li a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-darker);
}

.m-side-panel-list>ul li a:hover {
  background-color: var(--color-lighter);
}

.dark .m-side-panel-list>ul li a {
  color: var(--color-white);
}

.dark .m-side-panel-list>ul li a:hover {
  background-color: var(--color-dark);
}

@keyframes animateright {
  from {
    right: -300px;
    opacity: 0;
  }

  to {
    right: 0;
    opacity: 1;
  }
}

.m-toggle-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 54px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}

/* m-form */
.m-form {
  padding: 100px 0;
}

.m-form-title {
  font-size: 38px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .m-form-title {
    font-size: 38px;
    text-align: center;
  }
}

/* footer */
.m-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-lighter);
  padding-top: 100px;
  padding-bottom: 10px;
}

.dark .m-footer {
  background-color: var(--color-black);
}

.m-footer-logo>img {
  height: 50px;
  margin-bottom: 50px;
}

.m-footerContent-left {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-top: 5px;
}

.m-footer-address,
.m-footer-email {
  color: var(--color-base);
}

.m-footerContent-right {
  margin-bottom: 30px;
}

.m-footer-copyright {
  color: var(--color-base);
  text-align: center;
  padding-top: 20px;
}

.m-footer-nav ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--color-secondary);
  padding-left: 30px;
}

.m-footer-nav ul li {
  display: block;
  height: 30px;
  line-height: 30px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
}

.m-footer-nav ul li a {
  display: block;
  height: 30px;
  line-height: 30px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  color: var(--color-base);
}

.m-footer-nav ul li a:hover {
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .m-footerContent-left {
    margin-bottom: 50px;
  }

  .m-footerContent-right {
    margin-bottom: 50px;
  }
}

/* swiper */
.swiper1 .swiper-wrapper {
  position: relative;
  overflow: hidden;
}

.swiper1 .swiper-slide {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh;
}

.swiper1-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.swiper1-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.swiper1-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  text-align: center;
  padding: 0 20px;
}

.swiper1-content.animate-in {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.swiper1-content h2 {
  font-size: 70px;
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0 250px;
}

.swiper1-content p {
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-bottom: 30px;
  font-size: 30px;
}

@media (max-width: 768px) {
  .page-home {
    padding-top: 80px;
  }
  .swiper1 .swiper-slide {
    height: auto;
  }
  .swiper1-content h2 {
    font-size: 38px;
    margin: 0;
  }

  .swiper1-content p {
    font-size: 20px;
  }
}

.swiper1-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper1-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper1 .swiper-button-prev,
.swiper1 .swiper-button-next {
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper1:hover .swiper-button-prev,
.swiper1:hover .swiper-button-next {
  opacity: 1;
}

.swiper.swiper2 {
  width: 100%;
  height: 100%;
}

.swiper2 .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--color-lighter);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease-in-out !important;
  transform: scale(0.99) !important;
  position: relative;
}

.swiper2 .swiper-slide:hover {
  transform: scale(1) !important;
}

.swiper2 .swiper-slide {
  width: 500px;
  aspect-ratio: 3/4;
  position: relative;
  height: auto;
}

.swiper-pagination-bullet-active {
  background: var(--color-secondary);
}

/* 为了确保内部内容也遵循这个比例 */
.swiper2 .swiper-slide>* {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 确保图片或其他内容填充整个区域 */
}

@media (max-width: 768px) {
  .swiper2 .swiper-slide {
    width: 90%;
  }
}

.swiper2 .swiper-btnbox {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 80px;
}

.swiper2 .swiper-button-prev,
.swiper2 .swiper-button-next {
  position: static;
  margin: 0;
  width: 36px;
  height: 36px;
  background: var(--color-lighter);
  border-radius: 50%;
}

.swiper2 .swiper-button-prev {
  margin-right: 20px;
}

.swiper2 .swiper-button-prev:after,
.swiper2 .swiper-button-next:after {
  content: none;
  display: none;
}

.swiper2 .swiper-img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.swiper2 .swiper-content {
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  /* 添加渐变透明的黑色蒙版 */
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%); */
}

.swiper2 .swiper-title {
  font-size: 1.5rem;
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.swiper2 .swiper-category {
  font-size: 30px;
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 5px;
  text-align: left;
}

@media (max-width: 768px) {
  .swiper2 .swiper-content {
    padding: 30px 20px;
  }
  .swiper2 .swiper-category {
    font-size: 20px;
  }
}

.swiper2 .swiper-date {
  font-size: 14px;
  color: var(--color-white);
  margin-bottom: 15px;
  text-align: left;
}

.swiper2 .arrow-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 50px;
}

.swiper2 .arrow-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--color-primary);
}

.swiper2 .arrow-item:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.swiper2 .arrow-item-left {
  margin-right: 20px;
}

.swiper3 .swiper-wrapper {
  position: relative;
  overflow: hidden;
}

.swiper3 .swiper-slide {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh;
}

.swiper3-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* page */
.page {
  padding-top: 200px;
}

.page-title {
  text-align: center;
  font-size: 70px;
  margin-bottom: 50px;
}

.page-subTitle {
  text-align: center;
  font-size: 24px;
  margin-bottom: 50px;
}

/* post */
.post {
  padding-top: 180px;
}

.m-post-header {
  margin-bottom: 50px;
  border-top: 5px double var(--color-primary);
  padding-top: 20px;
  border-bottom: 5px dotted var(--color-primary);
  padding-bottom: 20px;
  position: relative;
}

.m-post-header::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-image: url('assets/img/fz.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-white);
  padding: 0 10px;
}

.dark .m-post-header::after {
  background-color: var(--color-black);
}

.m-post-bar {
  display: flex;
  color: var(--color-base);
}

.m-post-point {
  margin: 0 10px;
}

.m-post-content p {
  margin-bottom: 30px;
}

.m-post-content .wp-block-heading {
  margin-bottom: 15px;
}

.m-post-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.m-post-nav a {
  text-decoration: none;
}

/* 图文版块图片下边距 */
.wp-block-media-text__media img {
  margin-bottom: 20px;
}

/* single-category-exhibition.php */
/* .post-exhibition {} */

.m-post-thumbnail {
  margin-bottom: 100px;
}

.m-post-thumbnail>img {
  width: 100%;
  height: auto;
  /* height: 100vh; */
  /* object-fit: cover; */
}

.m-exhibition-meta {
  background: var(--color-lighter);
  color: var(--color-darker);
  padding: 50px;
  border-radius: 10px;
}

.dark .m-exhibition-meta {
  background: var(--color-darker);
  color: var(--color-white);
}

.exhibition-no {
  margin-bottom: 20px;
}

.exhibition-date {
  margin-bottom: 20px;
}

.exhibition-location {
  margin-bottom: 20px;
}

/* page-news.php */
.m-filter {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.m-filter li a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  color: var(--color-darker);
  transition: all 0.3s ease;
}

.m-filter li a:hover,
.m-filter li a.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.dark .m-filter li a {
  color: var(--color-white);
}

.dark .m-filter li a:hover,
.dark .m-filter li a.active {
  background-color: var(--color-white);
  color: var(--color-black);
}

.m-news-list {
  margin-bottom: 50px;
}

.m-news-list .col-md-4:first-child {
  width: 100%;
}

.m-news-list .col-md-4:first-child .m-news-item {
  flex-direction: row;
}

.m-news-list .col-md-4:first-child .m-news-item-img-container {
  height: 100%;
  width: 60%;
}

.m-news-list .col-md-4:first-child .m-news-item-info {
  height: 100%;
}

.m-news-item {
  display: flex;
  flex-direction: column;
  background: var(--color-lighter);
  border-radius: 10px;
  height: 500px;
}

.dark .m-news-item {
  background: var(--color-darker);
}

.m-news-item-img-container {
  display: inline-block;
  height: 250px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.m-news-item-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.m-news-item-img:hover {
  transform: scale(1.1);
}

.m-news-item-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.m-news-item-info a {
  text-decoration: none;
}

.m-news-item-category {
  color: var(--color-secondary);
  font-size: 18px;
  font-weight: bold;
}

.m-news-item-date {
  color: var(--color-base);
  font-size: 18px;
}

.m-news-item-title {
  margin-bottom: 15px;
  text-align: center;
  font-size: 30px;
  height: 75px;
}

.m-news-item-title a {
  color: var(--color-darker);
}

.dark .m-news-item-title a {
  color: var(--color-lighter);
}

.m-news-item-excerpt {
  margin-bottom: 50px;
  text-align: center;
}

.m-news-item-excerpt a {
  color: var(--color-darker);
  font-size: 18px;
}

@media (max-width: 768px) {
  .m-news-list .col-md-4:first-child .m-news-item {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .m-news-list .col-md-4:first-child .m-news-item-img-container {
    border-radius: 10px 10px 0 0;
    height: 250px;
    width: 100%;
  }

  .m-news-list .col-md-4:first-child .m-news-item-info {
    padding: 15px;
  }

  .m-news-item-img-container {
    height: 250px;
  }

  .m-news-item-info {
    padding: 15px;
  }
}

/* page-products.php */
.m-products-tagList {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.m-products-list {
  margin-bottom: 50px;
}

.m-products-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.m-products-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08),
    0 6px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.m-products-item-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  scale: 1.02;
}

.m-products-item-info {
  padding: 10px;
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-white);
  font-weight: bold;
  border-radius: 10px;
}

.m-products-item-title {
  font-size: 26px;
  margin-bottom: 0;
}

.m-products-item-subtitle {
  font-size: 14px;
  /* margin-bottom: 10px; */
  color: var(--color-secondary);
}

/* pagination */
.m-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.m-pagination a {
  color: var(--color-secondary);
}

.m-pagination-arrow {
  text-align: center;
  font-size: 25px;
  margin: 0 10px;
}

/* hero */
.hero-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-box {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-background {
  width: 100vw;
  height: 100vh;
}

.hero-background video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.hero-background img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1;
}

.hero-info-subtitle {
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 0;
}

.hero-info-title {
  font-size: 70px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-info-desc {
  font-size: 30px;
  color: var(--color-white);
}

/* page-home.php */
.m-homeSecTitle {
  font-size: 70px;
  text-align: center;
  padding: 50px 0;
}

.m-homeSecTitle a {
  text-decoration: none;
  color: var(--color-darker);
}

.dark .m-homeSecTitle a {
  color: var(--color-lighter);
}

.m-company-segment {
  margin: 100px 0;
}

.m-companySegLeft-desc {
  padding: 50px;
  width: 100%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  height: 1100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.m-companySegRight-desc {
  padding: 0 100px;
}

.m-companySegRight-desc p {
  font-size: 20px;
  margin-bottom: 30px;
}

.m-companySegRight-desc p:first-child {
  font-size: 30px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .m-homeSecTitle {
    font-size: 38px;
  }

  .m-companySegLeft-desc {
    height: 800px;
    margin-bottom: 50px;
  }

  .m-companySegRight-desc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 30px;
  }
}

.m-companySegLeft-desc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.m-companySegLeft-desc>* {
  position: relative;
  z-index: 2;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.m-companySegLeft-desc p {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.m-companySegLeft-desc:hover::before,
.m-companySegLeft-desc:hover>* {
  opacity: 1;
}

.m-sustainability-segment {
  color: var(--color-white);
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
}

.m-sustainability-segment h2 {
  font-size: 70px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .m-sustainability-segment h2 {
    font-size: 38px;
    text-align: center;
  }
}

/* page-company.php */
.m-company {
  margin: 100px 0;
}

.m-company-title {
  font-size: 60px;
  width: 50%;
  margin-top: 100px;
  margin-bottom: 60px;
}

.m-company-imgBox {
  display: flex;
  align-items: center;
}

.m-company-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.m-company .col-md-6:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.m-company-desc {
  padding: 50px;
}

.m-company-desc h3 {
  font-weight: bold;
  font-size: 38px;
  margin-bottom: 30px;
}

.m-company-desc h3 span {
  color: var(--color-secondary);
}

.m-company-desc p {
  font-size: 20px;
  color: var(--color-darker);
  margin-bottom: 30px;
}

.dark .m-company-desc p {
  color: var(--color-lighter);
}

.m-green {
  margin-bottom: 50px;
}

.m-green .col-md-3 {
  margin-bottom: 20px;
}

.m-green-title {
  font-size: 60px;
  width: 50%;
  margin-top: 120px;
  margin-bottom: 60px;
}

@media (max-width: 768px) { 
  .m-green-title {
    width: 80%;
  }
}

.m-green-box {
  padding: 30px;
  border-radius: 10px;
  background: var(--color-lighter);
  height: 100%;
}

.dark .m-green-box {
  background: var(--color-darker);
}

.m-green-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.m-green-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.m-data {
  padding: 30px;
  border-radius: 10px;
  background: var(--color-primary);
}

.m-data-box {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.m-databox-val {
  font-size: 60px;
  font-weight: bold;
  /* 渐变文字效果 */
  background-image: linear-gradient(135deg, #f6ff2e, var(--color-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.m-databox-text {
  color: var(--color-white);
}

.video-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.video-box {
  width: 80vw;
  height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.video-background {
  width: 100vw;
  height: 100vh;
}

.video-background video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.video-background img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.video-info {
  position: absolute;
  z-index: 1;
  width: 100%;
  padding: 0 300px;
  text-align: center;
}

.video-info-subtitle {
  font-size: 24px;
  color: var(--color-secondary);
  margin-bottom: 0;
}

.video-info-title {
  font-size: 60px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.video-info-desc {
  font-size: 20px;
  color: var(--color-lighter);
  text-align: left;
}

.timeline-item {
  display: flex;
  margin-bottom: 5px;
}

.timeline-year {
  flex-shrink: 0;
  width: 70px;
  margin-right: 10px;
  text-align: right;
}

.timeline-text {
  flex-grow: 1;
}

.m-partner {
  padding: 200px 20px;
}

.dark .m-partner {
  background: var(--color-light);
  color: var(--color-black);
}

.m-process {
  padding: 150px 20px;
}

.m-process-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.m-process-title {
  font-size: 50px;
  position: absolute;
  width: 260px;
  text-align: center;
}

.m-process-desc {
  font-size: 20px;
  text-align: center;
  padding-top: 50px;
}

.m-process-content>img {
  width: 520px;
  height: 520px;
}

.m-process-list {
  width: 520px;
  height: 520px;
  position: absolute;
}

.m-process-item {
  position: absolute;
  text-align: center;
}

.m-process-itemImg {
  width: 80px;
  height: 80px;
}

.m-process-itemTitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
}

.m-process-item1 {
  left: 55px;
  top: 40px;
}

.m-process-item2 {
  right: 40px;
  top: 40px;
}

.m-process-item3 {
  right: 36px;
  bottom: 70px;
}

.m-process-item4 {
  left: 36px;
  bottom: 70px;
}

@media (max-width: 768px) {
  .m-process-title {
    font-size: 35px;
  }

  .m-process-content>img {
    width: 100%;
    height: 100%;
  }

  .m-process-list {
    width: 100%;
    height: 100%;
  }

  .m-process-itemImg {
    width: 50px;
    height: 50px;
  }

  .m-process-itemTitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
  }

  .m-process-item1 {
    left: 25px;
    top: 20px;
  }

  .m-process-item2 {
    right: 15px;
    top: 20px;
  }

  .m-process-item3 {
    right: 10px;
    bottom: 42px;
  }

  .m-process-item4 {
    left: 10px;
    bottom: 42px;
  }
}

.m-certification {
  padding: 200px 20px;
  background: var(--color-primary);
  color: var(--color-white);
}

.m-partner h2,
.m-certification h2 {
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 80px;
}

.m-partner img,
.m-certification img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  margin-bottom: 20px;
}

.m-partner img:hover,
.m-certification img:hover {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .m-company-title {
    font-size: 30px;
    width: 80%;
    margin-bottom: 30px;
  }

  .m-company-desc {
    padding: 30px 20px;
  }

  .video-info {
    padding: 0 50px;
  }

  .video-info-subtitle {
    font-size: 16px;
  }

  .video-info-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .video-info-desc {
    font-size: 16px;
  }

  .timeline-year {
    width: 60px;
  }
}

/* page-sustainability.php */
.sust-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
  position: relative;
}

.sust-hero .page-sust-title {
  color: var(--color-white);
}

.sust-hero .page-sust-subtitle {
  color: var(--color-white);
}

/* 箭头图标样式 */
.arrow-down {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  z-index: 10;
}

.arrow-icon {
  width: 100%;
  height: 100%;
  position: relative;
  animation: breathe 2s infinite ease-in-out;
}

.arrow-icon::after {
  content: '';
  position: absolute;
  background-color: white;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.arrow-icon::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  background-color: transparent;
}


/* 呼吸动画效果 */
@keyframes breathe {
  0% {
    opacity: 0.4;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-10px);
  }

  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
}

.page-sust-title {
  font-size: 70px;
  font-weight: 600;
  text-align: center;
  width: 750px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.page-sust-subtitle {
  font-size: 25px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.page-sust-p {
  color: var(--color-dark);
  font-size: 25px;
  text-align: center;
  margin-bottom: 20px;
}

.sust-item {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.sust-item:hover {
  transform: scale(1.02);
}

.sust-item-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  color: var(--color-white);
  padding: 20px;
  border-radius: 0 0 10px 10px;
  /* 添加渐变透明的黑色蒙版 */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.m-carbon-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.m-carbon-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.m-carbon-item:nth-child(1) {
  margin-right: 0;
  margin-left: 100px;
}

.m-carbon-item:nth-child(2) {
  margin-right: 50px;
  margin-left: 50px;
}

.m-carbon-item:nth-child(3) {
  margin-right: 100px;
  margin-left: 0;
}

.m-carbon-item:nth-child(4) {
  margin-right: 50px;
  margin-left: 50px;
}

.m-carbon-item:nth-child(5) {
  margin-right: 0;
  margin-left: 100px;
}

.m-carbon-item>img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
}

.m-carbon-item>p {
  font-size: 14px;
  margin-bottom: 0;
}

.circle-container {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 50px auto;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: green;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: var(--initial-opacity);
  will-change: opacity;
  animation: fade var(--animation-duration, 1.5s) infinite alternate ease-in-out;
  overflow: hidden;
}

.circle-center-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  object-fit: contain;
}

@keyframes fade {
  from {
    opacity: var(--initial-opacity);
  }

  to {
    opacity: calc(var(--initial-opacity) * 0.5);
  }
}

.circle-1 {
  width: 120px;
  height: 120px;
  --initial-opacity: 0.8;
  animation-delay: 0.3s;
}

.circle-2 {
  width: 200px;
  height: 200px;
  --initial-opacity: 0.6;
  animation-delay: 0.6s;
}

.circle-3 {
  width: 280px;
  height: 280px;
  --initial-opacity: 0.4;
  animation-delay: 0.9s;
}

.circle-4 {
  width: 360px;
  height: 360px;
  --initial-opacity: 0.2;
  animation-delay: 1.2s;
}

@media (max-width: 768px) {
  .m-carbon-item:nth-child(n) {
    margin-left: 0;
    margin-right: 0;
  }
}

.m-rawMaterials {
  background: green;
  border-radius: 10px;
  padding: 50px;
}

.m-rawMaterials .page-sust-title,
.m-rawMaterials .row p {
  color: var(--color-white);
}

.m-rawMaterials .row svg {
  width: 100px;
  height: 100px;
  fill: var(--color-white);
  margin-bottom: 20px;
}

.m-sust-cert {
  background: green;
}

.m-sust-cert h2 {
  font-size: 38px;
  color: var(--color-white);
}

.sust-slogan {
  border-left: 5px solid var(--color-secondary);
  padding-left: 50px;
  margin-bottom: 50px;
}

.sust-slogan p {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-darker);
}

.sust-slogan-subtext p {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-light);
  text-align: right;
}

.dark .sust-slogan p {
  color: var(--color-lighter);
}

.dark .sust-slogan-subtext p {
  color: var(--color-light);
}

.sust-slogan-subtext p::before {
  content: '——';
  color: var(--color-light);
  margin-right: 10px;
}

@media (max-width: 768px) {
  .page-sustainability {
    padding-top: 50px;
  }

  .page-sust-subtitle {
    font-size: 18px;
  }

  .page-sust-title {
    font-size: 38px;
    width: 70%;
    margin-bottom: 30px;
  }

  .page-sust-p {
    font-size: 18px;
  }

  .m-sust-cert h2 {
    font-size: 38px;
  }

  .sust-slogan {
    padding-left: 30px;
  }

  .sust-slogan p {
    font-size: 24px;
  }

  .sust-slogan-subtext p {
    font-size: 16px;
  }
}

/* single.php, single-products.php */
.m-navbox {
  background: var(--color-primary);
  width: 100%;
  margin-top: 100px;
}

.m-navbox-info {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}

.m-navbox-info a {
  text-decoration: none;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  font-size: 24px;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.m-navbox-info a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
  z-index: 0;
}

.m-navbox-info a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  animation: border-pulse 1.5s infinite;
}

.m-navbox-info a:hover::before {
  left: 100%;
}

/* 为边框添加脉冲动画 */
@keyframes border-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
  }
}

.m-navbox-info .prev a,
.m-navbox-info .next a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

@media (max-width: 768px) {
  .m-navbox-info a {
    font-size: 16px;
    padding: 8px 16px;
  }
}

/* page-contact.php */
.page-contact {
  position: relative;
}

.page-contact-header {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
  position: relative;
}

.page-contact-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-contact .page-title {
  color: var(--color-white);
  font-size: 70px;
  z-index: 2;
}

.m-contact-info {
  font-size: 18px;
  background: var(--color-lighter);
  padding: 50px;
  border-radius: 10px;
  margin-bottom: 100px;
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.dark .m-contact-info {
  background: var(--color-darker);
}

.m-contact-text {
  padding: 0 150px;
  text-align: center;
  margin-bottom: 200px;
}

.m-join-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.m-join-content h2 {
  font-size: 50px;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 20px;
}

.m-join-content p {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 20px;
}

.m-join-arrow {
  display: inline-block;
  position: relative;
  animation: bounce 2s infinite ease-in-out;
}

/* 定义上下跳动动画 */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.m-spacerbox {
  width: 100%;
  height: 300px;
  background: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.m-spacerbox p {
  font-size: 20px;
}

/* 横向滚动容器样式 */
.horizontal-scroll-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.horizontal-scroll-content {
  display: flex;
  height: calc(100vh - 300px);
  width: max-content;
}

.horizontal-item {
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  background-size: cover;
  background-position: center;
  background: var(--color-lighter);
}

.dark .horizontal-item {
  background: var(--color-darker);
}

/* .horizontal-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  z-index: 1;
} */

.horizontal-item-category {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.horizontal-item-title {
  z-index: 2;
  margin-bottom: 20px;
}

.horizontal-item-title a {
  color: var(--color-darker);
  text-decoration: none;
}

.dark .horizontal-item-title a {
  color: var(--color-white);
}

.horizontal-item-excerpt {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 26px;
  color: var(--color-darker);
  z-index: 2;
  margin-bottom: 50px;
  width: 500px;
}

.dark .horizontal-item-excerpt {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .m-contact-text {
    padding: 0 20px;
  }

  .m-join-content h2 {
    font-size: 30px;
  }

  .m-join-box {
    font-size: 16px;
  }

  .horizontal-item-title {
    font-size: 20px;
  }

  .horizontal-item-excerpt {
    font-size: 16px;
    width: 80%;
  }
}

/* page-job.php */
.m-job-item {
  background: var(--color-lighter);
  border-radius: 10px;
  padding: 50px;
  margin-bottom: 30px;
}

.dark .m-job-item {
  background: var(--color-darker);
}

.m-job-category {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.m-job-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 30px;
}

.m-job-title a {
  text-decoration: none;
  color: var(--color-darker);
}

.dark .m-job-title a {
  color: var(--color-white);
}

.m-job-title a:hover {
  text-decoration: underline;
}

.m-job-excerpt {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-darker);
  margin-bottom: 20px;
  height: 150px;
}

.dark .m-job-excerpt {
  color: var(--color-white);
}

.m-job-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  color: var(--color-darker);
  font-size: 20px;
  font-weight: 600;
  padding: 0 20px;
  border-radius: 50px;
  border: 2px solid var(--color-darker);
  z-index: 2;
  width: 200px;
  height: 50px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.m-job-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* 404.php */
.page-404 h2 {
  font-size: 80px;
  font-weight: 600;
  color: var(--color-darker);
  text-align: center;
  margin-bottom: 20px;
}

.page-404 h4 {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-darker);
  text-align: center;
  margin-bottom: 20px;
}

.page-404 p {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-darker);
  text-align: center;
  margin-bottom: 20px;
}

.page-404 .page-404-back {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-darker);
  text-align: center;
  margin-bottom: 20px;
}

.page-404-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.page-404-nav li {
  margin-bottom: 10px;
  list-style: none;
  margin: 10px;
}

/* single-products.php */
.single-products-infoTop {
  font-size: 14px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--color-secondary);
}

.single-products-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 30px;
}

.single-products-desc {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
}

/* page-employee.php */
.page-employee-header {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
}

.employee-content1-title {
  font-size: 60px;
  width: 50%;
  margin-top: 100px;
  margin-bottom: 60px;
}

.employee-content1-itemImg {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.employee-content1-itemTitle {
  margin-bottom: 20px;
}

.employee-content1-itemDesc {
  font-size: 20px;
  color: var(--color-dark);
}

.employee-content2-title {
  font-size: 60px;
  width: 50%;
  margin-top: 100px;
  margin-bottom: 60px;
}

.employee-content2-itemImg {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.employee-content2-join {
  display: flex;
  justify-content: center;
  align-items: center;
}