/* luxury-small-group-travel-8.css — вынесено из inline <style> компонента view/luxury-small-group-travel.php */
.faq-section {
    padding: 120px 0;
    position: relative;
    color: #1a1a1a;
}


.section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-title .highlight {
    position: relative;
    color: #1a1a1a;
    font-weight: 600;
}


.faq-container {
    margin: 80px auto 0;
    position: relative;
    z-index: 1;
}

.faq-item {
    background-color: white;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 3px solid transparent;
    border-radius: 10px;
}

.faq-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-left: 3px solid #ab8f6a;
}

.faq-question {
    padding: 30px 35px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-question.active {
    border-bottom: 1px solid rgba(171, 143, 106, 0.2);
}

.faq-question h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    transition: color 0.3s ease;
    color: #1a1a1a;
}

.faq-question:hover h3 {
    color: #ab8f6a;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.icon-line {
    position: absolute;
    background-color: #ab8f6a;
    transition: all 0.3s ease;
}

.icon-line:first-child {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.icon-line:last-child {
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    transform: translateX(-50%);
}

.faq-question.active .icon-line:last-child {
    transform: translateX(-50%) scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
    padding: 0 35px;
}

.faq-answer.active {
    padding: 5px 35px 30px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    font-weight: 300;
    max-width: 90%;
}

@media (max-width: 767px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .faq-container {
        margin-top: 50px;
    }

    .faq-icon {
    position: relative!important;
    width: 18px!important;
    height: 18px!important;
}
    
    .faq-question {
        padding: 22px 25px;
    }

    .faq-answer p {
    margin: 0;
    line-height: 1.8;
    color: #555;
    font-size: 15px;
    font-weight: 300;
    max-width: 90%;
}
    
    .faq-question h3 {
        font-size: 1rem;
        width: 80%;
    }
    
    .faq-answer.active {
        padding: 5px 25px 22px;
    }
}
