/* 联系我们页面样式 */
body .site-content,
body #content,
body .entry-content,
body .page,
body .ast-container,
body .page-content {
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 确保页面容器适应全宽 */
body .ast-container {
    max-width: 100vw !important;
    padding: 0 !important;
}

/* 移除任何边距和内边距 */
#primary {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* 页面内容容器 */
.page-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Banner区域样式 */
.contact-us-banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-us-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 3;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #eee;
}

.banner-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 面包屑导航样式 */
.breadcrumb-section {
    width: 100%;
    background-color: #f5f5f5;
    padding: 15px 0;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

#breadcrumbs {
    margin: 0;
    font-size: 14px;
    color: #666;
}

#breadcrumbs a {
    color: #333;
    text-decoration: none;
}

#breadcrumbs a:hover {
    color: #883E74;
}

#breadcrumbs .current {
    color: #883E74;
    font-weight: 500;
}

/* 联系信息区域样式 */
.contact-info-section {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-info-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.contact-info-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-info-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.contact-info-divider i {
    font-size: 1.5rem;
    color: #883E74;
}

/* 联系卡片网格 */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-cards-grid .contact-card{
    opacity: 1;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #883E74, #a855a8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-card-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
    word-wrap: break-word;
    hyphens: auto;
}

.contact-card-text:last-child {
    margin-bottom: 0;
}

/* 特殊样式调整 */
.contact-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 地址卡片特殊样式 */
.contact-card:first-child .contact-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 营业时间卡片调整 */
.contact-card:last-child {
    min-height: 320px;
}

/* 联系表单区域样式 */
.contact-form-section {
    width: 100%;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-form-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.contact-form-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-form-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.contact-form-divider i {
    font-size: 1.5rem;
    color: #883E74;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 左侧文本列 */
.contact-text-column {
    padding-right: 20px;
}

.contact-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #883E74, #a855a8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 右侧表单列 */
.contact-form-column {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-wrapper {
    width: 100%;
}

/* FAQ区域样式 */
.faq-section {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.faq-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.faq-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.faq-divider i {
    font-size: 1.5rem;
    color: #883E74;
}

.faq-content {
    max-width: 1400px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 25px 30px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.2rem;
    color: #883E74;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 25px 30px;
}

.faq-answer p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .contact-info-container,
    .contact-form-container,
    .faq-container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-text-column {
        padding-right: 0;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .contact-info-title,
    .contact-form-title,
    .faq-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .contact-card:last-child {
        min-height: auto;
    }

    .contact-card-text {
        font-size: 0.95rem;
    }

    .contact-card:first-child .contact-card-text {
        font-size: 0.9rem;
    }

    .contact-form-column {
        padding: 30px 20px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .contact-info-section,
    .contact-form-section,
    .faq-section {
        padding: 60px 0;
    }

    .contact-info-title,
    .contact-form-title,
    .faq-title {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-us-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 0.9rem;
    }

    .contact-info-container,
    .contact-form-container,
    .faq-container {
        padding: 0 15px;
    }

    .contact-card {
        padding: 25px 15px;
    }

    .contact-form-column {
        padding: 25px 15px;
    }

    .contact-feature {
        gap: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }
}

/* 表单样式优化 */
.form-wrapper .fluentform {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.form-wrapper .ff-el-form-control {
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.form-wrapper .ff-el-form-control:focus {
    border-color: #883E74 !important;
    box-shadow: 0 0 0 0.2rem rgba(136, 62, 116, 0.25) !important;
}

.form-wrapper .ff-btn-submit {
    background: linear-gradient(135deg, #883E74, #a855a8) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.form-wrapper .ff-btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(136, 62, 116, 0.3) !important;
}
