/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s;
}

a:hover {
    color: #004499;
}

img {
    max-width: 100%;
    height: auto;
}
.footer{width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #004499;
    color: white;
}

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

/* 头部样式 */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 5px;
}

.logo p {
    font-size: 12px;
    color: #666;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
}

.main-nav a:hover, .main-nav .active a {
    color: #0066cc;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/ban02.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 70px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* 产品展示 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #0066cc;
    margin: 15px auto 0;
}

.featured-products {
    padding: 50px 0;
    background-color: white;
}

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

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 20px 5px;
    font-size: 20px;
}

.product-card .price {
    padding: 0 20px 15px;
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
}

.product-card .btn {
    display: block;
    margin: 0 20px 20px;
}

/* 关于我们 */
.about-section {
    padding: 50px 0;
    background-color: #f5f9ff;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
    line-height: 35px;
}
@media (min-width: 1021px) {
  .sidepc {
    position: fixed;
    right: 20px;
    top: 15%;
    z-index: 1000;
    border-bottom:0;
    text-align: center;
    border:1px solid #005be3;
    padding:15px 20px 0px 20px;
    background-color: #fff;
  }
  .mzixun{display:none;}
}
@media (max-width: 1021px) {
     .sidepc {display: none;}
}
.sitezixun {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-bottom:85px;
  line-height: 25px;
}
.mzixun {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 50%;
  -webkit-transform:
translate3d(-50%,0,0);
  transform: translate3d(-50%,0,0);
  overflow:hidden;
  background-color: #fff;
  border-top:#eceded;
  -webkit-box-shadow:0 0 4px rgba(0,0,0,.2);
  box-shadow: 0 0 4px rgba(0,0,0,.2);
z-index: 9999;
padding: 10px 0px 10px 0px;
}
.mzixun li {
  float: left;
  width: 33.33%;
  text-align: center;
  height: 100%;
  margin-top: 5px;
  list-style: none;
}

.mzixun p{
  font-size: 15px;
  padding-top: 5px;
text-align: center;
color: #000;
}
@media (max-width: 480px) {
  li {
    font-size: 0.85em;
  }
}
mzixun ul li a {
    color: #2f2f2f !important;
}
@media (min-width: 1021px) {
  .m-button {
    display: none;
  }
  .sitezixun {
    display: none;
  }
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 海参知识 */
.knowledge-section {
    padding: 80px 0;
    background-color: white;
}

.article-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card h3 {
    padding: 15px 20px 5px;
    font-size: 20px;
}

.article-card .excerpt {
padding: 0px 20px 0px 20px;
  color: #666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card .read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: #0066cc;
    font-weight: 500;
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.testimonial-card .customer {
    font-weight: bold;
    color: #0066cc;font-size: 15px;
}

/* 页脚 */
.main-footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 0;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #aaa;
}

.footer-column a:hover {
    color: white;
}

.qrcode {
    width: 120px;
    height: 120px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #111;
    color: #666;
    font-size: 14px;
}
.related-articles li p{font-size: 18px;margin:10px 0 0px;text-align:center;font-weight: bold;}
.article-main h1 {font-size:20px;}
/* 文章列表页 */
.page-header {
  margin: -20px 0px 0px 0px;
  background-color: #f5f9ff;
  text-align: center;
  padding: 80px 0px 80px 0px;
}
.content img{margin: 15px auto; display: block;}
.content p{line-height:30px;}
.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding:10px 0;
}

.article-item {
    display: flex;
    gap: 30px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-item img {
    width: 228px;
    margin: 20px 20px 0px 20px;
  border-radius: 5px;
}

.article-content {
    padding: 20px 20px 12px 0;
    flex: 1;
}

.article-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.article-content .meta {
    color: #666;
    font-size: 14px;margin-bottom: 10px;
}

.article-content .excerpt {
color: #666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}
.pagination li{list-style:none;}
.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* 文章内容页 */
.article-meta {
  color: #666;
  font-size: 13px;
  padding: 10px 0 5px 0px;
}

.article-content {
    background-color: white;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 18px;
    margin: 0px 0 20px;
    color: #333;
}

.article-content h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #444;
}

.article-content p {
    line-height: 1.8;
}

.article-content ul {
    margin: 20px 0 20px 40px;
}

.article-content li {
    margin-bottom: 10px;
}

.note {
    padding: 15px;
    background-color: #f5f9ff;
    border-left: 4px solid #0066cc;
    margin: 20px 0;
}

.article-tags {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f5f5f5;
    margin-right: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.article-share {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-share a {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
}

.share-wechat {
    background-color: #09bb07;
}

.share-weibo {
    background-color: #e6162d;
}

.share-qq {
    background-color: #12b7f5;
}

.related-articles {
  list-style: none;
}

.related-articles h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.related-articles li {
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}
@media (max-width: 768px) {
  .footer {
    grid-template-columns: 1fr;
  }
}
.page{display: flex;
  gap: 30px;
  margin: 0px 0 30px 0;
  width: 98%;
  max-width: 1200px;
  margin: 0 auto;
  margin: 8px auto 10px auto;
}
.article-main {
  flex: 2;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.article-sidebar {
  flex: 1;
}
.sidebar-widget {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}
.widget-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.bread_nav {
  max-width: 1200px;
  width: 100%;
  margin: 100px auto 0px auto;
  font-size: 13px;
  padding-left: 20px;
}
.product-card .productexcerpt {
  padding: 0px 20px 0px 20px;
  color: #666;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.benefit-item h3{font-size:16px;padding: 10px 0px;}
.disclaimer{color: #a2a2a2;font-size: 14px;}
.logo{text-align: center;}
.flink a{
  padding: 0 10px;
  font-size: 15px;
}