/* Base Styles */
:root {
    --blue: #4fd6cf;
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #ffffff;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
    --white: #fff;
    --black: #000;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Open Sans', sans-serif;
    --contact-text-color: #333; /* 联系信息文本颜色 */
    --contact-heading-color: #333; /* 联系信息标题颜色 */
    --contact-font-size: 1.6rem; /* 联系信息字体大小 */
    --contact-heading-font-size: 2rem; /* 联系信息标题字体大小 */
}

*{
    margin:0; padding:0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}

section{
    padding:2rem 9%;
}

.heading{
    text-align: center;
    font-size: 4rem;
    color:#333;
    padding:1rem;
    margin:2rem 0;
    background:rgba(2, 173, 165, 0.05);
    /* 标题框颜色#02AD85 */
}

.heading span{
    color:var(--blue);
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background:#333;
    color:#fff;
    padding:.9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn:hover{
    background:var(--blue);
}

header{
    position: fixed;
    top:0; left:0; right:0;
    background:#fff;
    padding:2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

header .logo{
    font-size: 3rem;
    color:#333;
    font-weight: bolder;
}

header .logo span{
    color:var(--blue);
}

header .navbar a{
    font-size: 2rem;
    padding:0 1.5rem;
    color:#666;
}

header .navbar a:hover{
    color:var(--blue);
}

header .icons a{
    font-size: 2.5rem;
    color:#bfeee2;
    margin-left: 1.5rem;
}

header .icons a:hover{
    color:var(--blue);
}


header #toggler{
    display: none;
}

header .fa-bars{
    font-size: 3rem;
    color:#333;
    border-radius: .5rem;
    padding:.5rem 1.5rem;
    cursor: pointer;
    border:.1rem solid rgba(0,0,0,.3);
    display: none;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #222;
}

p {
    margin-bottom: 20px;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Layout */
.container, 
.header-container,
.content-container,
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
/* .site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-branding {
    flex: 0 0 200px;
}

.logo-img {
    max-height: 60px;
    width: auto;
} */




header{
    position: fixed;
    top:0; left:0; right:0;
    background:#fff;
    padding:1.5rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

header .logo{
    font-size: 3rem;
    color:#333;
    font-weight: bolder;
}

header .logo span{
    color:var(--blue);
}

header .navbar a{
    white-space: nowrap; /* 文本不换行 */
    flex-shrink: 0; /* 不收缩 */
    font-size: 1.3rem; /* 进一步调整字体大小 */
    padding: 0 1rem; /* 调整间距 */
    /* font-size: 2rem; */
    /* padding:0 1.5rem; */
    color:#666;
}

header .navbar a:hover{
    color:var(--blue);
}

/* 确保选择器优先级足够高 */
header .icons a.mail-icon {
    margin-top: 0.5rem !important; /* 强制应用 */
}

/* 调整 Flexbox 设置 */
header .icons {
    display: flex;
    align-items: flex-start; /* 允许顶部间距 */
}

/* 确保图标元素结构正确 */
header .icons a[data-platform="email"] {
    margin-top: 0.5rem;
}

header .icons a{
    font-size: 2rem;
    color:#bfeee2;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
    margin-top: 0; /* 重置默认顶部间距 */
}


/* 特别针对信封图标的调整 */
header .icons a.mail-icon {
    margin-top: 0.5rem !important; /* 强制应用 */
    /* margin-top: 0.5rem;  */
    /* 向下移动 0.5rem */
}

header .icons a:hover{
    color:var(--blue);
    background-color: transparent; /* 确保 hover 时背景色为透明 */
}

header .icons a:focus {
    outline: none; /* 移除默认焦点样式 */
}

/* 移除伪元素默认样式 */
/* header .icons a:before,
header .icons a:after {
    content: none;
} */

header #toggler{
    display: none;
}

header .fa-bars{
    font-size: 3rem;
    color:#333;
    border-radius: .5rem;
    padding:.5rem 1.5rem;
    cursor: pointer;
    border:.1rem solid rgba(0,0,0,.3);
    display: none;
}

/* 保持导航栏始终一行，并允许滚动 */
.navbar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.navbar a {
    white-space: nowrap;
    flex-shrink: 0;
}


/* 搜索框 */ 
/* 工具容器 - 确保不影响原有布局 */
/* .utility-container {
    display: flex;
    align-items: center;
    gap: 5px;  */
    /* 控制搜索框和语言切换之间的距离 */
    /* position: relative;
  } */
  
  /* 搜索框样式 */
  /* .search-container {
    position: relative;
    display: inline-block;
  }
  
  .search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    transition: width 0.3s;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #4a90e2;
    width: 250px;
  }
  
  .search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    color: #666;
  }
  
  .search-button:hover {
    color: #333;
  }
  
  .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
  }
  
  .search-results a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
  }
  
  .search-results a:hover {
    background-color: #f5f5f5;
  } */


 /* 语言切换样式 */
  .language-switcher {
    position: relative;
    display: inline-block;
  }
  
  .language-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
  }
  
  .language-toggle:hover {
    background-color: #f5f5f5;
  }
  
  .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 150px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
  }
  
  .language-dropdown a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
  }
  
  .language-dropdown a:hover {
    background-color: #f5f5f5;
  }
  
  /* 显示下拉菜单 */
  .language-switcher:hover .language-dropdown {
    display: block;
  }

  /* 语言切换器激活状态 */
.language-switcher.active .language-dropdown {
    display: block;
}

/* 当前语言指示器 */
.current-language {
    font-size: 14px;
    /* 翻译键内的字母大小 */
    font-weight: bold;
}


/* 在CSS中添加RTL支持阿拉伯语 */
[lang="ar"] {
    direction: rtl;
    text-align: right;
}

.nav-item {
    min-width: 120px; /* 保证不同语言下的统一间距 德语和俄语的导航项可能较长*/
}

/* 分享按钮样式 */
.share-btn {
    padding: 10px 20px;
    background: #4fd6cf;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
  }
  
  .share-btn:hover {
    background: #37948e;
  }
  
  /* 分享模态框样式 */
  .share-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 20px;
    z-index: 1000;
    width: 320px;
    max-width: 90%;
  }
  
  .share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .share-header h3 {
    margin: 0;
    font-size: 18px;
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
  }
  
  .share-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);/* 改为每行显示2个 */
    gap: 15px;
  }
  
  .share-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
  }
  
  .share-icon:hover {
    transform: translateY(-3px);
  }
  
  .share-icon i {
    font-size: 24px;
    margin-bottom: 5px;
  }
  
  .share-icon span {
    font-size: 12px;
  }
  
  /* 各平台品牌色 */
  .facebook { background: #3b5998; }
  .twitter { background: #1da1f2; }
  .linkedin { background: #0077b5; }
  .whatsapp { background: #25d366; }
  .weibo { background: #e6162d; }
  
  /* 模态框遮罩 */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }


  
.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation li {
    position: relative;
    margin-left: 25px;
}

.main-navigation a {
    font-weight: 600;
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation .current-menu-item > a {
    color: var(--primary-color);
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Content */
.site-content {
    padding: 40px 0;
    /* padding-top: 80px;  */
    /* 值可以根据导航栏高度调整 */
}

.content-container {
    display: flex;
    flex-wrap: wrap;
}

.main-content {
    flex: 0 0 70%;
    max-width: 70%;
    padding-right: 40px;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

/* Article */
.post {
    margin-bottom: 50px;
}

.entry-header {
    margin-bottom: 30px;
    padding-top: 100px;
}

.entry-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333; /* 或您想要的任何颜色 */
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 20px;
}

.entry-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.entry-meta i {
    margin-right: 5px;
    font-size: 14px;
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2 {
    font-size: 26px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.entry-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.wp-block-image {
    margin: 30px 0;
}

.wp-block-image figcaption {
    text-align: center;
    font-size: 14px;
    color: var(--light-text);
    margin-top: 10px;
}

.wp-block-quote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    background: var(--bg-light);
    margin: 30px 0;
    font-style: italic;
}

.wp-block-columns {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

.wp-block-column {
    flex: 1;
}

.wp-block-table {
    margin: 30px 0;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.wp-block-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

.wp-block-embed {
    margin: 30px 0;
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.entry-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tags-links {
    margin-bottom: 20px;
}

.tags-links a {
    display: inline-block;
    margin-right: 5px;
    padding: 3px 10px;
    background: var(--bg-light);
    border-radius: 3px;
    font-size: 14px;
}

.social-sharing {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.social-sharing span {
    margin-right: 15px;
    font-weight: 600;
}

.social-sharing a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-sharing a:hover {
    color: var(--white);
}

.social-sharing .facebook:hover { background: #3b5998; }
.social-sharing .twitter:hover { background: #1da1f2; }
.social-sharing .linkedin:hover { background: #0077b5; }
.social-sharing .pinterest:hover { background: #e60023; }

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.nav-previous,
.nav-next {
    flex: 0 0 48%;
}

.nav-previous {
    padding-right: 20px;
}

.nav-next {
    text-align: right;
    padding-left: 20px;
}

.nav-subtitle {
    display: block;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
}

/* Related Posts */
.related-posts {
    margin-bottom: 50px;
}

.related-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.related-post:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post h3 {
    font-size: 18px;
    padding: 15px;
    margin: 0;
}

/* Sidebar */
.sidebar {
    padding-left: 30px;
}

.widget {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.search-form {
    position: relative;
}

.search-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.search-submit {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text);
}

.widget_categories ul,
.widget_recent_entries ul {
    list-style: none;
}

.widget_categories li,
.widget_recent_entries li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}

.widget_categories li:last-child,
.widget_recent_entries li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget_recent_entries .post-date {
    display: block;
    font-size: 13px;
    color: var(--light-text);
    margin-top: 5px;
}

.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tagcloud a {
    display: inline-block;
    padding: 5px 10px;
    background: var(--bg-light);
    border-radius: 3px;
    font-size: 14px !important;
}

.tagcloud a:hover {
    background: var(--primary-color);
    color: var(--white);
}





/* contact section styles */
.contact .row{
    display: flex;
    flex-wrap: wrap-reverse;
    gap:1.5rem;
    align-items: center;
}

.contact .row form{
    flex:1 1 40rem;
    padding:2rem 2.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border:.1rem solid rgba(0,0,0,.1);
    background: #fff;
    border-radius: .5rem;
}

.contact .row .image{
    flex:1 1 40rem;
}

.contact .row .image img{
    width: 100%;
}

.contact .row form .box{
    padding:1rem;
    font-size: 1.7rem;
    color:#333;
    text-transform: none;
    border:.1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    margin:.7rem 0;
    width: 100%;
}

.contact .row form .box:focus{
    border-color: var(--blue);
}

.contact .row form textarea{
    height: 15rem;
    resize: none;
}

.contact .row {
    display: flex;
}

.contact .row > * {
    flex: 1;
    padding: 10px; 
    /* 可选：添加一些内边距 */
}


 
.contact .contact-info {
    color: var(--contact-text-color);
    font-size: var(--contact-font-size);
}

.contact .contact-info h3 {
    color: var(--contact-heading-color);
    font-size: var(--contact-heading-font-size);
    margin-bottom: 4rem; /* 添加一些间距 */
}

.contact .contact-info p {
    margin-bottom: 1.5rem; /* 添加一些间距 */
}


/* Footer */
/* Footer Styles */
/* Footer Styles */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 0 0 23%;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #4fd6cf;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: #4fd6cf;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    /* text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 13px; */
    text-align: center; /* 确保文本居中 */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center; /* 使用 Flexbox 确保内容居中 */
    align-items: center;
}

.copyright-text {
    display: block; /* 确保为块级元素 */
    margin: 0 auto; /* 进一步确保居中 */
    font-size: 14px;
    color: #bdc3c7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-column {
        flex: 0 0 48%;
    }
}

@media (max-width: 480px) {
    .footer-column {
        flex: 0 0 100%;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
}

/* ========== 新增的汉堡菜单相关样式 ========== */

/* 汉堡菜单按钮 */
.mobile-menu-btn {
    display: none; /* 默认隐藏 */
    cursor: pointer;
    font-size: 2rem;
    color: #333;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.5rem;
}

/* 遮罩层样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}

/* 导航栏基础样式 */
.navbar {
    display: flex;
    gap: 1.5rem;
}

.navbar a {
    font-size: 1.3rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.navbar a:hover {
    color: var(--secondary-color);
}

/* ========== 移动端样式 ========== */
@media (max-width: 768px) {
    /* 修改点1：显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: block;
        order: 1; /* 确保在最左侧 */
    }
    
    /* 修改点2：调整logo位置 */
    .logo {
        order: 2;
        margin: 0 auto;
    }
    
    /* 修改点3：调整工具容器位置 */
    .utility-container {
        order: 3;
    }
    
    /* 修改点4：导航栏移动端样式 */
    .navbar {
        position: fixed;
        top: 70px; /* 根据header高度调整 */
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 997;
    }
    
    .navbar a {
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
        font-size: 1.2rem;
    }
    
    /* 修改点5：当汉堡菜单被选中时的样式 */
    #toggler:checked ~ .navbar {
        max-height: 500px;
    }
    
    #toggler:checked ~ .modal-overlay {
        display: block;
    }
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #bdc3c7;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .main-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    
    .sidebar {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        margin-top: 50px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wp-block-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .site-branding {
        margin-bottom: 15px;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-top: 15px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-previous,
    .nav-next {
        flex: 0 0 100%;
        padding: 15px 0;
    }
    
    .nav-next {
        text-align: left;
        border-top: 1px solid var(--border-color);
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .entry-title {
        font-size: 28px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .entry-content {
        font-size: 16px;
    }
}




/* 汉堡按钮在小屏显示 */
@media (max-width: 768px) {
    header .fa-bars {
        display: block !important; /* 强制覆盖原有隐藏设置 */
        font-size: 2.5rem;
        color: #333;
        background-color: #f5f5f5;
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    header .navbar {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 999;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    #toggler:checked ~ .navbar {
        max-height: 300px;
        transition: max-height 0.5s ease-in;
    }

    /* 遮罩层激活时显示 */
    #toggler:checked ~ .modal-overlay {
        display: block;
    }

    /* 工具栏如搜索/语言切换隐藏 */
    .utility-container {
        display: none;
    }
}



@media (max-width: 768px) {
    .navbar a {
        display: block;
        padding: 1rem 2rem;
        text-align: left;
        font-size: 1.6rem;
        border-bottom: 1px solid #eee;
    }

    .navbar a:hover {
        background-color: #f9f9f9;
    }
}


/* article001.css */
/* article001.css */

/* article001.css */

/* PC 端导航栏样式 */
@media (min-width: 769px) {
    header {
        justify-content: space-between; /* 两端对齐 */
    }

    header .logo {
        flex: 0 0 auto; /* Logo 固定宽度 */
    }

header .navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    white-space: nowrap !important;
    justify-content: center !important;
}

    header .navbar a {
        white-space: nowrap; /* 文本不换行 */
        flex-shrink: 0; /* 不收缩 */
        font-size: 1.5rem; /* 调整字体大小 */
        padding: 0 1rem; /* 调整间距 */
    }

    .utility-container {
        display: flex;
        align-items: center;
        gap: 15px; /* 调整工具容器间距 */
        /* gap: 10px;  */
        /* 控制间距 */
    }
}



/* 移动端导航栏样式 */
@media (max-width: 768px) {
    header {
        justify-content: space-between; /* 两端对齐 */
    }

    header .logo {
        flex: 0 0 auto; /* Logo 固定宽度 */
    }

    header .navbar {
        display: none; /* 默认隐藏 */
        flex-direction: column;
    }

    #toggler:checked ~ .navbar {
        display: block; /* 汉堡菜单点击后显示 */
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        /* flex-direction: column; */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 999;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    #toggler:checked ~ .navbar {
        max-height: 300px;
        transition: max-height 0.5s ease-in;
    }

    header .navbar a {
        font-size: 1.2rem;
        width:48rem;
        /* 48products菜单框横宽度大小和其他菜单框一致 */
        padding: 0.8rem 1.5rem;
    }

    .utility-container {
        display: flex;
        align-items: center;
        gap: 10px; /* 控制间距 */
    }

    .utility-container .language-switcher,
    .utility-container .share-btn {
        display: block; /* 显示语言切换和分享按钮 */
    }
}









/* 导航栏下拉菜单基础样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

/* 修复PC端下拉菜单显示问题 */
@media (min-width: 769px) {
    header .navbar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: visible !important; /* 改为 visible */
        white-space: nowrap !important;
        justify-content: center !important;
        position: relative; /* 确保定位上下文 */
    }
    
    /* 调整下拉菜单定位 */
    .dropdown-menu {
        position: absolute;
        left: 0;
        top: 100%;
        background: #fff;
        min-width: 250px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 1000;
        border-radius: 5px;
        padding: 10px 0;
        display: none;
    }
    
    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        display: block;
    }

/* 导航栏下拉菜单项样式 */
.dropdown-item {
    position: relative; /* 确保子菜单正确定位 */
    padding: 5px 15px;
}

.dropdown-item > a {
    display: block;
    padding: 8px 0;
    color: #333;
    font-weight: bold;
    font-size: 1.6rem;
    text-decoration: none;
}

/* 子菜单定位调整 */
    .submenu {
        position: absolute;
        border-left: 2px solid var(--blue);
        left: 100%;
        top: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 1001;
        border-radius: 5px;
        padding: 10px 0;
        display: none;
    }
    
    .dropdown-item:hover .submenu {
        display: block;
    }
}
.submenu a {
    display: block;
    padding: 6px 15px;
    color: #666;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.2s;
}

.submenu a:hover {
    color: var(--blue);
    background-color: #f8f9fa;
}

/* 修复移动端菜单显示问题 */
/* 移动设备上，需要调整下拉菜单的显示方式 */
@media (max-width: 768px) {
    /* 确保移动端菜单容器可见 */
    header #toggler:checked ~ .navbar {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        background: #fff;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        border-radius: 0;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 10px 0;
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background: #e9ecef;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-item.active .submenu {
        max-height: 200px;
    }
    
    /* 确保菜单项可见 */
    .navbar a {
        color: #333 !important;
        background: #fff !important;
    }
    
    .dropdown-item > a {
        color: #333 !important;
        font-weight: bold;
    }
    
    .submenu a {
        color: #495057 !important;
    }
}









/* 右侧悬浮栏样式 */
/* 浮动工具栏样式 */
        .floating-contact-bar {
            position: fixed;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            background: #fff;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
            border-radius: 8px 0 0 8px;
            z-index: 9999;
        }

        .contact-icon {
            padding: 15px;
            color: #fff;
            text-align: center;
            position: relative;
            transition: all 0.3s;
            cursor: pointer;
            font-size: 20px;
        }

        .contact-icon:hover {
            transform: translateX(-5px);
        }

        /* 不同联系方式的背景色 */
        .email { background: #b4dbdb; }
        .phone { background:  #6eb8bb; }
        .whatsapp { background:  #83cbce;  }
        .wechat { background:  #b4dbdb; }

        /* 悬停提示框样式 */
        .contact-tooltip {
            position: absolute;
            right: 100%;
            top: 50%;
            transform: translateY(-50%);
            background: #333;
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            margin-right: 10px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            pointer-events: none;
        }

        .contact-tooltip::after {
            content: "";
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent transparent #333;
        }

        .contact-icon:hover .contact-tooltip {
            opacity: 1;
            visibility: visible;
        }

        /* 新增微信二维码悬停样式 */
        .wechat-qr-tooltip {
            position: absolute;
            right: 100%;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            width: 200px;
            text-align: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            margin-right: 15px;
            z-index: 10000;
        }

        .wechat-qr-tooltip::after {
            content: "";
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border-width: 8px;
            border-style: solid;
            border-color: transparent transparent transparent white;
        }

        .wechat:hover .wechat-qr-tooltip {
            opacity: 1;
            visibility: visible;
        }

        .qr-code {
            width: 170px;
            height: 170px;
            margin: 0 auto;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .qr-code img {
            max-width: 100%;
            max-height: 100%;
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .floating-contact-bar {
                transform: translateY(-50%) scale(0.9);
            }
            
            .contact-icon {
                padding: 12px;
                font-size: 18px;
            }
            
            .wechat-qr-tooltip {
                width: 160px;
                margin-right: 10px;
            }
            
            .qr-code {
                width: 140px;
                height: 140px;
            }
        }
        /* 保留原有的模态框样式 */
        .contact-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 25px;
            border-radius: 8px;
            width: 300px;
            text-align: center;
            position: relative;
        }

        .modal-close {
            position: absolute;
            right: 15px;
            top: 10px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .modal-title {
            margin-bottom: 15px;
            font-size: 18px;
            color: #333;
        }

        .phone-popup {
            padding: 15px;
            font-size: 18px;
            color: #333;
        }

        /* 新增WhatsApp二维码悬停样式 */
    .whatsapp-qr-tooltip {
        position: absolute;
        right: 100%;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        width: 200px;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        margin-right: 15px;
        z-index: 10000;
    }

    .whatsapp-qr-tooltip::after {
        content: "";
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent transparent white;
    }

    .whatsapp:hover .whatsapp-qr-tooltip {
        opacity: 1;
        visibility: visible;
    }
    
    /* 二维码容器样式 */
    .qr-code {
        width: 170px;
        height: 170px;
        margin: 0 auto;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .qr-code img {
        max-width: 100%;
        max-height: 100%;
    }

        @media (max-width: 768px) {
            .modal-content {
                width: 90%;
                margin: 30% auto;
            }
        }
        /* 移动设备下的二维码样式 */
        @media (max-width: 768px) {
    .whatsapp-qr-tooltip {
        width: 160px;
        margin-right: 10px;
    }
    
    .qr-code {
        width: 140px;
        height: 140px;
    }
}
/* 右侧悬浮栏样式end */


/* 双图片并排 */
.image-container {
    display: flex;
    gap: 20px;
}

.image-container .wp-block-image {
    flex: 1;
}



body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.footer {
  margin-top: auto;
}
















/* 推荐详情页商品 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.recommended-product {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recommended-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.recommended-product-image {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.recommended-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-product:hover .recommended-product-image img {
    transform: scale(1.05);
}

.recommended-product-content {
    padding: 20px;
}

.recommended-product-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recommended-product-content .product-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-category {
    display: inline-block;
    background: linear-gradient(135deg, #66ead8, #61bbbbe1);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    grid-column: 1 / -1;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
    grid-column: 1 / -1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .recommended-product-image {
        height: 180px;
    }
}

/* @media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
} */

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr); /* 在小屏幕上显示2个 */
        gap: 15px;
    }
}



.image-group {
    margin: 1em 0;
}

.image-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.image-item {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.image-item .step-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-item figcaption {
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
    color: #666;
}
















/* 底部导航和脚底标 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            /* padding-bottom: 300px;  */
            /* 为底部导航留出空间 */
        }
        
        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #8ee2e21f;
        }
        
        p {
            margin-bottom: 20px;
            font-size: 18px;
        }
        
        /* 底部导航栏样式 */
        .footer {
            background-color: #8ee2e21f;
            color: #7c8d99;
            padding: 30px 0 10px;
            /* position: fixed;
            bottom: 0;
            width: 100%; */
            /* box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); */
        }
        
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .footer-column {
            flex: 0 0 23%;
            margin-bottom: 10px;
            /* 底部链接与脚标距离 */
        }
        
        .footer-column h3 {
            color: #3498db;
            font-size: 20px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-column li {
            margin-bottom: 10px;
        }
        
        .footer-column a {
            color: #7c8d99;
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            padding: 3px 0;/* 链接内边距 */
            font-size: 16px; /* 添加链接文字大小 */
        }
        
        .footer-column a:hover {
            color: #3498db;
            transform: translateX(5px);
        }
        
        .contact-info li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;/* 添加联系信息间距 */
            font-size: 16px; /* 添加联系信息文字大小 */
        }
        
        .contact-info i {
            margin-right: 10px;
            color: #3498db;
            width: 20px;
            text-align: center;
        }
        
        .footer-bottom {
           /* text-align: center; */
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 2px;
            margin-top: 5px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #7c8d99;
            /* font-size: 5px  !important; */
        }
        
        .footer .footer-bottom p {
            font-size: 12px !important;
        }
        /* 公司信息样式 */
        .company-info {
            display: flex;
            flex-direction: column;
        }
        
        .company-logo {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .logo-icon {
            width: 50px;
            height: 50px;
            background-color: #3498db;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 24px;
            color: white;
        }
        
        .logo-text {
            font-size: 20px;
            font-weight: bold;
            color: #3498db;
        }
        
        .company-description {
            margin-bottom: 20px;
            font-size: 16px;
            line-height: 1.5;
            color: #7c8d99;
        }
        
        .social-media {
            display: flex;
            gap: 15px;
        }
        
        .social-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgb(147, 186, 212);
            transition: all 0.3s;
        }
        
        .social-icon:hover {
            background-color: #85db34;
            color: white;
            transform: translateY(-3px);
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .footer-column {
                flex: 0 0 48%;
            }
            
            /* body {
                padding-bottom: 400px;
            } */
        }
        
        @media (max-width: 768px) {
            .footer-column {
                flex: 0 0 100%;
            }
            
            .footer {
                padding: 30px 0 15px;
            }
            
            /* body {
                padding-bottom: 500px;
            } */
            
        }





        