.cpfaq-wrapper {
    max-width: 100%;
    margin: 30px auto;
    padding: 0;
    clear: both;
    display: block;
    width: 100%;
}

.cpfaq-program-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 3px solid #4e49ac;
    display: block;
}

.cpfaq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 0 0 12px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    clear: both;
    display: block;
    width: 100%;
}

.cpfaq-item:hover {
    box-shadow: 0 4px 12px rgba(78, 73, 172, 0.15);
    border-color: #4e49ac;
}

.cpfaq-question {
    background: #f8f9fa;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    user-select: none;
    transition: all 0.3s ease;
}

.cpfaq-question:hover {
    background: #f0e6f6;
}

.cpfaq-item.active .cpfaq-question {
    background: #ed52a0;
    color: #fff;
}

.cpfaq-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    margin: 0;
    padding: 0;
}

.cpfaq-item.active .cpfaq-title {
    color: #fff;
}

.cpfaq-icon {
    font-size: 28px;
    font-weight: 300;
    color: #4e49ac;
    transition: all 0.3s ease;
    margin-left: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.cpfaq-item.active .cpfaq-icon {
    transform: rotate(45deg);
    color: #fff;
}

.cpfaq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.cpfaq-item.active .cpfaq-answer {
    max-height: 3000px;
}

.cpfaq-content {
    padding: 24px;
    color: #555;
    line-height: 1.7;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.cpfaq-content p {
    margin: 0 0 12px 0;
}

.cpfaq-content p:last-child {
    margin-bottom: 0;
}

.cpfaq-content ul,
.cpfaq-content ol {
    margin: 12px 0 12px 20px;
    padding: 0;
}

.cpfaq-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .cpfaq-program-title {
        font-size: 20px;
    }
    
    .cpfaq-question {
        padding: 16px 18px;
    }
    
    .cpfaq-title {
        font-size: 15px;
    }
    
    .cpfaq-content {
        padding: 18px;
        font-size: 14px;
    }
    
    .cpfaq-icon {
        font-size: 24px;
    }
}