/* 你可以在这里写一些自定义的全局CSS样式 */
/* 全局重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "calibri","PingFang SC", Arial, sans-serif; */
}

/* 链接样式 */
a {
    text-decoration: none;
    color: rgb(57, 57, 57);
    transition: all 0.3s ease;
}

a:hover {
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease;
}

/* 主容器样式 */
#box {
    width: 80%;
    margin: 0 auto;
    margin-top: 14vh;
}

/* 图片样式 */
img {
    display: flex;
    max-width: 100%;
    height: auto;
}

.article-content{
    width: 80%;
    margin: 0 auto;
    padding: 30px;
}

/* 页脚样式 */
#footer {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    padding: 10px;
}

/* 页面样式 */
.page-style {
    display: flex;
    justify-content: start;
    margin-top: 10px;
}

/* 按钮组样式 */
#btns {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

#btns button {
    margin: 0 10px;
    padding: 5px 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fbfbfb;
    cursor: pointer;
    transition: all 0.3s ease;
}

#btns button:hover {
    background: #f6f6f6;
    border: 1px solid #d7d7d7;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* 自定义样式文件 */
/* 导航栏样式 */
.main-nav {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.main-nav .menu-items li a {
    transition: color 0.3s ease;
}

/* 分页导航样式 */
.pagination {
    margin: 60px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination .page-numbers:hover {
    background: #f9fafb;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    min-width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
    color: #9ca3af;
    box-shadow: none;
    font-weight: 400;
}

.pagination .page-numbers.dots:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
    color: #9ca3af;
}

/* 分页导航响应式 */
@media (max-width: 768px) {
    .pagination {
        margin: 40px 0;
        gap: 4px;
    }

    .pagination .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .content-area {
        padding: 15px;
    }
}

/* 
* 首页Banner轮播组件样式
*/

/* Banner轮播容器样式已移至block-banner.php中的内联样式 */

.banner-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 80%;
    color: white;
    margin: 0 auto;
}
/* Banner分页器样式已移至block-banner.php中的内联样式 */

.banner-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    margin-top: 20px;
    background: #fff;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #0056b3;
}

.banner-btn:hover {
    transform: translateY(-2px);
    background: #fff;
    opacity: 0.7;
    color: #0056b3;
    transition: all 0.3s ease;
}

/* Banner导航按钮和分页器样式已移至block-banner.php中的内联样式 */

@media (max-width: 768px) {
    .nenghui-banner {
        height: 400px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .banner-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* 
* Futures 组件样式
*/

.warpbox {
    text-align: center;
}

.section-title {
    font-size: 2.125rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-weight: 600;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 20px;
}

.stat-item img {
    margin: 0 auto 15px;
    height: 75px;
}

.stat-label {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 15px 0;
}

.cta-button {
    padding: 12px 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    background-color: #ffffff;
    border-radius: 2rem;
    color: #03447c;
    margin-top: 1rem;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-item img {
        width: 50px;
        height: 50px;
    }

    .stat-value {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fadeInUp {
    animation-name: fadeInUp;
}

/* 
* 首页News板块
*/
.news-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 40px 20px;
    margin-top: 3rem;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
}

.learn-more-btn {
    background-color: #1976d2;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.learn-more-btn:hover {
    background-color: #1565c0;
    transition: all 0.3s ease;
}

.learn-more-btn::after {
    content: '→';
    font-size: 16px;
}

.news-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.image-section {
    flex: 1;
}

.main-image {
    width: 100%;
    height: 330px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item-link:hover {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.news-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-tag {
    background-color: #1976d2;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.news-date {
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .news-container {
        padding: 20px 15px;
    }

    .news-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .news-title {
        font-size: 36px;
    }

    .news-content {
        flex-direction: column;
        gap: 30px;
    }
}

    
/* 
* 首页Tabs选项卡样式 
*/
.nenghui-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.nenghui-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.nenghui-container > * {
    position: relative;
    z-index: 2;
}

.nenghui-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.nenghui-tab {
    padding: 12px 24px;
    background-color: #e8e8e8;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 20px;
    margin-right: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.nenghui-tab.active {
    background-color: #1e5a96;
    color: white;
}

.nenghui-tab:hover {
    background-color: #d0d0d0;
    transition: all 0.3s ease;
}

.nenghui-tab.active:hover {
    background-color: #1e5a96;
    transition: all 0.3s ease;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    align-items: center;
    gap: 60px;
    border-radius: 20px;
    padding: 60px;
    background: #ffffff;
    margin-top: 20px;
}

.content-left {
    flex: 1;
}

.content-right {
    flex: 1;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
    margin-bottom: 30px;
}

.highlight {
    color: #1e5a96;
}

.learn-more-btn {
    background-color: #1e5a96;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.learn-more-btn:hover {
    background-color: #164a7a;
    transition: all 0.3s ease;
}

.arrow {
    font-size: 14px;
}

.tab-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* 当没有图片时的占位样式 */
.tab-image:empty::before {
    content: "暂无图片";
    color: #999;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nenghui-container {
        max-width: 95%;
        padding: 40px 15px;
        border-radius: 20px;
    }
    
    .main-content {
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nenghui-container {
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    .main-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .main-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 20px;
    }

    .nenghui-tabs {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 30px;
    }

    .nenghui-tab {
        font-size: 13px;
        padding: 10px 18px;
    }
    
    .tab-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .nenghui-container {
        padding: 20px 10px;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .nenghui-tab {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .learn-more-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .tab-image {
        height: 200px;
    }
}

/* 
* Footer 样式
*/
.main-footer {
    background-color: #fff !important;
    padding: 60px 0 30px;
    border-top: 1px solid #e9ecef;
     position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 40px;
}

/* Logo 和品牌区域 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo .logo-img {
    height: 60px;
    width: auto;
    margin: 0 !important;
}

.footer-social {
    display: flex;
    gap: 15px;
}
/* 社交图标基础样式 (适配浅色背景) */
.social-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    
    /* 默认状态：深色图标，浅色背景 */
    background: #ffffff; /* 纯白背景 */
    border: 1px solid rgba(13, 27, 23, 0.1); /* 极淡的深色边框 */
    color: #0d1b17; /* 深绿色/黑色图标，确保可见性 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 轻微阴影增加层次感 */
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

/* --- 悬停通用效果 --- */
.social-btn:hover {
    transform: translateY(-4px); /* 上浮 */
    color: #ffffff; /* 图标反白 */
    border-color: transparent;
}

/* --- 品牌色定义 (悬停时触发) --- */

/* LinkedIn Blue */
.social-btn.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 10px 20px -5px rgba(0, 119, 181, 0.4);
}

/* Facebook Blue */
.social-btn.facebook:hover {
    background: #1877f2;
    box-shadow: 0 10px 20px -5px rgba(24, 119, 242, 0.4);
}

/* X (Twitter) Black */
.social-btn.twitter:hover {
    background: #000000;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

/* YouTube Red */
.social-btn.youtube:hover {
    background: #ff0000;
    box-shadow: 0 10px 20px -5px rgba(255, 0, 0, 0.4);
}

/* --- 点击反馈 --- */
.social-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #000;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0069a0;
    transform: translateY(-2px);
}

.social-link.linkedin:hover {
    background-color: #0077b5;
}

.social-link.facebook:hover {
    background-color: #1877f2;
}

.social-link.twitter:hover {
    background-color: #1da1f2;
}

/* 导航菜单区域 */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.footer-nav-list li a:hover {
    color: #0069a0;
}

/* 订阅区域 */
.footer-subscribe {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.subscribe-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 300px;
}

.subscribe-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.subscribe-input:focus {
    border-color: #0069a0;
}

.subscribe-input::placeholder {
    color: #adb5bd;
}

.subscribe-btn {
    padding: 12px 20px;
    background-color: #0069a0;
    color: white;
    border: 1px solid #0069a0;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background-color: #005580;
    border-color: #005580;
}

/* 分隔线 */
.footer-divider {
    height: 1px;
    background-color: #dee2e6;
    margin: 40px 0 30px;
}

/* 底部版权区域 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    color: #000;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0069a0;
}

/* Footer 响应式设计 */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-subscribe {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .article-content {
        width: 90%;
        padding: 20px 10px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-main {
        gap: 30px;
    }

    .footer-logo {
        justify-content: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .subscribe-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-links {
        gap: 10px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .subscribe-input {
        border-radius: 4px;
        border-right: 1px solid #dee2e6;
    }
    
    .subscribe-btn {
        border-radius: 4px;
    }
}