/*
 * @kanway-css-index
 * 文件: css/media/media-faq.css
 * 层级: 媒体
 * 引用页面: media-faqs.html
 * 依赖: contact.css
 * 修改指引: FAQ 手风琴 .faq-*
 * 索引: css/00-样式文件索引.css
 */
/* ==================== FAQ Page Styles ==================== */

/* Banner */
.faq-banner {
    background: linear-gradient(135deg, #1D5198 0%, #295692 100%);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.faq-banner h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.faq-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* FAQ Container */
.faq-container {
      padding: 30px 0 60px;
  }

/* FAQ Section */
.faq-section {
    margin-bottom: 40px;
}

.faq-title {
    font-size: 24px;
    color: #1D5198;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FC6B00;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item */
.faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    color: #1D5198;
    background: #f9f9f9;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #1D5198;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: #fafafa;
}

.faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* FAQ Categories Sidebar (if needed) */
.faq-categories {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.faq-categories h3 {
    font-size: 18px;
    color: #1D5198;
    margin-bottom: 16px;
}

.faq-categories ul {
    list-style: none;
}

.faq-categories li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.faq-categories li:last-child {
    border-bottom: none;
}

.faq-categories a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.faq-categories a:hover {
    color: #1D5198;
}

/* FAQ Search */
.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 12px;
}

.faq-search input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.faq-search input:focus {
    border-color: #1D5198;
}

.faq-search button {
    padding: 14px 28px;
    background: #1D5198;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-search button:hover {
    background: #295692;
}

/* FAQ Contact CTA */
.faq-contact {
    text-align: center;
    padding: 40px 20px;
    background: #f5f7fa;
    border-radius: 8px;
    margin-top: 40px;
}

.faq-contact h3 {
    font-size: 24px;
    color: #1D5198;
    margin-bottom: 12px;
}

.faq-contact p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.faq-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #FC6B00;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.faq-btn:hover {
    background: #e55a00;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-banner {
        padding: 40px 20px;
    }
    
    .faq-banner h1 {
        font-size: 28px;
    }
    
    .faq-banner p {
        font-size: 15px;
    }
    
    .faq-title {
        font-size: 20px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 16px 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 16px 20px;
    }
}