/**
 * Thermico FAQ Frontend Styles
 * Modern minimalist design inspired by contact partner banner
 */

.thermico-faq-container {
    width: 100%;
    max-width: 800px;
    margin: 2em auto;
    font-family: montserrat, sans-serif;
}

.thermico-faq-item {
    margin-bottom: 1.5em;
    background-color: #f7f7f7;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thermico-faq-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.thermico-faq-question {
    position: relative;
    padding: 20px 60px 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.thermico-faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.thermico-faq-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.thermico-faq-icon:before,
.thermico-faq-icon:after {
    content: '';
    position: absolute;
    background-color: #555;
    transition: transform 0.3s ease;
}

.thermico-faq-icon:before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.thermico-faq-icon:after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.thermico-faq-question.active {
    background-color: #f0f0f0;
}

.thermico-faq-question.active .thermico-faq-icon:after {
    transform: rotate(90deg);
    opacity: 0;
}

.thermico-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.thermico-faq-answer-inner {
    padding: 0 25px 25px;
    color: #666;
}

.thermico-faq-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.thermico-faq-content p {
    margin: 10px 0 15px;
}

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

.thermico-faq-question.active + .thermico-faq-answer {
    max-height: 1000px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .thermico-faq-container {
        padding: 0 15px;
    }
    
    .thermico-faq-question {
        padding: 15px 50px 15px 20px;
    }
    
    .thermico-faq-question h3 {
        font-size: 1rem;
    }
    
    .thermico-faq-icon {
        right: 20px;
        width: 16px;
        height: 16px;
    }
    
    .thermico-faq-icon:before {
        top: 7px;
    }
    
    .thermico-faq-icon:after {
        left: 7px;
    }
    
    .thermico-faq-answer-inner {
        padding: 0 20px 20px;
    }
}
