.gyik-container h2,
.gallery-container h2 {
margin-bottom: 3.5rem;
}
.faq-item {
width: 100%;
background: var(--light-grey);
border-radius: 15px;
margin-bottom: 16px;
overflow: hidden;
transition: all 0.3s ease;
}
.faq-question {
width: 100%;
padding: 24px 60px 24px 24px;
background: var(--light-grey);
border: none;
text-align: left;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
transition: background 0.3s ease;
}
.faq-question:hover {
background: white;
}
.question-icon {
color: var(--red);
font-size: 20px;
margin-right: 12px;
flex-shrink: 0;
}
.question-text {
color: var(--txt-p);
flex-grow: 1;
margin-right: 24px;
}
.faq-item.active .question-text {
font-weight: 700;
}
.arrow-icon {
position: absolute;
right: 24px;
top: 50%;
transform: translateY(-50%);
width: 24px;
height: 24px;
transition: transform 0.3s ease;
}
.arrow-icon svg {
width: 100%;
height: 100%;
stroke: var(--txt-p);
}
.faq-item.active .arrow-icon {
transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.4s ease;
padding: 0 24px;
}
.faq-item.active .faq-answer {
max-height: 1000px;
padding: 1.2rem 1.2rem 2.3rem 1.2rem;
border-top: 1px solid var(--middle-grey);
}
.answer-content {
color: var(--txt-p);
font-size: 18px;
padding-left: 32px;
}
.answer-content h4{
margin-bottom: 1rem;
}
.answer-content ul li,
.answer-content p {
margin-bottom: 12px;
letter-spacing: 1px;
}
.answer-content p:last-child {
margin-bottom: 0;
}
.answer-content strong {
font-weight: 700;
}
.answer-content ul {
list-style: none;
padding-left: 0;
margin: 1.5rem 0;
}
.answer-content ul li {
padding-left: 25px;
position: relative;
margin-bottom: 0;
}
@media (max-width: 768px) {
.answer-content {
padding-left: 0;
}
.faq-question {
padding: 15px 10px 15px 20px;
}
.arrow-icon {
right: 20px;
}
}