/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.9.1755396704
Updated: 2025-08-17 10:11:44

*/
ul,li{margin: 0; padding: 0; list-style: none;}
 /* 容器样式优化 */
 .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
a.link-w{color:#FFFFFF}
@media (min-width: 1580px) {.container,.dropdown-container {max-width: 1580px;}}        
/* 导航栏增强 */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
}

/* Logo样式增强 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #165DFF;
    font-size: 1.6rem;
    font-weight: bold;
    transition: var(--transition);
}

.logo i {
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(22, 93, 255, 0.3);
}

/* 导航链接样式优化 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links li a {
    display: inline-block;
    padding: 12px  32px;
    color: #121826;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a.active::after,
.nav-links li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(90deg, #165DFF, #0CC0DF);
    border-radius: 1px;
}

.nav-links li a.active,
.nav-links li a:hover {
    color: #165DFF;
}

.nav-links li a.btn-primary {
    background-color: #165DFF;
    color: white;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.nav-links li a.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(22, 93, 255, 0.3);
    transform: translateY(-2px);
}

.nav-links li a.btn-primary::after {
    display: none;
}

/* 下拉菜单容器增强 */
.has-dropdown {
    position: relative;
}

.dropdown-indicator {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-indicator {
    transform: rotate(180deg);
}

/* 下拉菜单样式增强 */
.dropdown-container-outer {
    position: fixed;
    top: 88px; /* 与导航栏高度一致 */
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(22, 93, 255, 0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.has-dropdown:hover .dropdown-container-outer {
    max-height: 600px; /* 足够容纳下拉内容 */
    padding: 30px 0;
}

/* 优化二级菜单排列 */
.dropdown-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: flex-start;
}

.dropdown {
    width: 100%;
}

.dropdown li {
    flex: 0 0 20%; /* 固定宽度20%，每行最多5个项目 */
    max-width: 20%;
}

.dropdown li a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    height: 100%;
    color: #1F2937;
    transition: background-color 0.3s ease;
    border-right: 1px solid rgba(22, 93, 255, 0.05);
    border-bottom: 1px solid rgba(22, 93, 255, 0.05);
}

/* 移除每行最后一个元素的右边框 */
.dropdown li:nth-child(5n) a {
    border-right: none;
}

/* 最后一行元素的底部边框处理 */
.dropdown li:nth-last-child(-n+5):nth-child(5n+1) a,
.dropdown li:nth-last-child(-n+5):nth-child(5n+2) a,
.dropdown li:nth-last-child(-n+5):nth-child(5n+3) a,
.dropdown li:nth-last-child(-n+5):nth-child(5n+4) a,
.dropdown li:nth-last-child(-n+5):nth-child(5n) a {
    border-bottom: none;
}

/* 响应式调整每行显示数量 */
@media (max-width: 1200px) {
    .dropdown li {
        flex: 0 0 25%; /* 每行最多显示4个项目 */
        max-width: 25%;
    }
    .dropdown li:nth-child(5n) a {
        border-right: 1px solid rgba(22, 93, 255, 0.05);
    }
    .dropdown li:nth-child(4n) a {
        border-right: none;
    }
    /* 最后一行底部边框处理 */
    .dropdown li:nth-last-child(-n+4):nth-child(4n+1) a,
    .dropdown li:nth-last-child(-n+4):nth-child(4n+2) a,
    .dropdown li:nth-last-child(-n+4):nth-child(4n+3) a,
    .dropdown li:nth-last-child(-n+4):nth-child(4n) a {
        border-bottom: none;
    }
}

@media (max-width: 992px) {
    .dropdown li {
        flex: 0 0 33.333%; /* 每行最多显示3个项目 */
        max-width: 33.333%;
    }
    .dropdown li:nth-child(4n) a {
        border-right: 1px solid rgba(22, 93, 255, 0.05);
    }
    .dropdown li:nth-child(3n) a {
        border-right: none;
    }
    /* 最后一行底部边框处理 */
    .dropdown li:nth-last-child(-n+3):nth-child(3n+1) a,
    .dropdown li:nth-last-child(-n+3):nth-child(3n+2) a,
    .dropdown li:nth-last-child(-n+3):nth-child(3n) a {
        border-bottom: none;
    }
}

.dropdown li a:hover {
    background-color: rgba(22, 93, 255, 0.03);
    color: #165DFF;
}

.dropdown li a i {
    font-size: 1.5rem;
    color: #165DFF;
    margin-top: 3px;
}

.dropdown-title {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.dropdown-desc {
    display: block;
    font-size: 0.9rem;
    color: #6B7280;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #1F2937;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* 移动端下拉菜单样式 */
    .dropdown-container-outer {
        position: static;
        box-shadow: none;
        padding: 0;
    }
    
    .has-dropdown.active .dropdown-container-outer {
        padding: 0;
    }
    
    .dropdown-container {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .dropdown li {
        flex: 0 0 100%;
        max-width: 100%;
        border-top: 1px solid rgba(22, 93, 255, 0.05);
    }
    
    .dropdown li a {
        display: flex;
        align-items: center;
        gap: 12px;
        border-right: none;
        border-bottom: none;
        text-align: left;
    }
    .dropdown li a i {
    margin-top: 0;
    width: 24px;
    height: 24px;
    text-align: center;
    flex-shrink: 0;
    }
    .dropdown-title {
    margin-bottom: 2px;
    line-height: 1.2;
    }

    .dropdown-desc {
    font-size: 0.825rem;
    line-height: 1.4;
    }
    /* 移动端点击显示下拉菜单 */
    .has-dropdown:hover .dropdown-container-outer {
        max-height: 0;
        padding: 0;
    }
    
    .has-dropdown.active .dropdown-container-outer {
        max-height: 600px;
    }
}


 /* 页脚增强 */
 footer {
    background-color: #121826;
    color: #FFFFFF;
    padding: 100px 0 50px;
    position: relative;
}

/*
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-dark), transparent);
}
*/
/* 增加网格背景 */
/*
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}
*/
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    color: #FFFFFF;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #165DFF, #0CC0DF);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 8px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: #4080FF;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #165DFF;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(22, 93, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: #4080FF;
}