.faq-container {
    max-width: 1080px;
}

.faq-item {
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
}

.faq-item:last-child {
    border-bottom: none;
        padding-bottom: 0px;
            margin-bottom: 0px;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question-text {
    flex: 1;
    padding-right: 15px;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 29px;
    line-height: 41px;
    letter-spacing: 0px;
    text-align: left;
    color: #000000;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #666;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 30px;
    height: 15px;
}

.faq-icon-path {
    transition: stroke-width 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-icon-path {
    stroke-width: 4;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-top: 20px;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
    letter-spacing: 0px;
    text-align: left;
    color: #000000;
}

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

@media (max-width: 1600px) {
.faq-question-text {

    font-size: 25px;
}


        }

/* Reszponzív stílusok */
@media (max-width: 768px) {
    .faq-question {
                   padding: 20px 15px 0px 15px;
    }

.faq-item {
    margin-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 32px;
}
    
    .faq-question-text {
           font-size: 18px;
        line-height: 29px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

/* XD alignment 2026-11-21 */
.faq-container { max-width: 810px; margin-left: auto; margin-right: auto; }
.faq-item { margin-bottom: 28px; padding-bottom: 28px; }
.faq-question-text { font-size: 22px; line-height: 30px; }
.faq-icon { color: #000; }
.faq-icon svg { width: 34px; height: 20px; }
.faq-icon-path { stroke-width: 1.5; }
.faq-item.active .faq-icon-path { stroke-width: 2; }
.faq-answer p { font-size: 16px; line-height: 26px; }
@media (max-width: 1600px) { .faq-question-text { font-size: 22px; } }
@media (max-width: 768px) {
  .faq-question { padding: 0; }
  .faq-item { margin-bottom: 24px; padding-bottom: 24px; }
  .faq-question-text { font-size: 17px; line-height: 26px; font-weight: 600; }
  .faq-icon svg { width: 30px; height: 18px; }
  .faq-answer, .faq-item.active .faq-answer { padding-left: 0; padding-right: 0; }
  .faq-item.active .faq-answer { padding-top: 14px; padding-bottom: 0; }
}
