:root { --wp--preset--color--custom-cor-1: var(--wp--preset--color--contrast-2); } .faq-container { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0 auto 20px auto; padding: 60px 20px; max-width: 1000px; width: 100%; background-color: white; box-sizing: border-box; } .faq-title { font-size: 28px !important; font-weight: 500 !important; text-align: left !important; color: #333; margin: 0 0 50px 0; line-height: 1.2; width: 100%; } .faq-item { width: 100%; max-width: 100%; margin: 0; border-bottom: 1px solid #eee; background: white; overflow: hidden; transition: all 0.3s ease; } .faq-question { cursor: pointer; font-weight: 500; color: #333; display: flex; justify-content: space-between; align-items: center; font-size: 18px !important; padding: 30px 0; background: white; transition: all 0.3s ease; user-select: none; } .faq-question:hover { color: var(--wp--preset--color--contrast-2); } .faq-answer { max-height: 0; overflow: hidden; padding: 0; color: #666; line-height: 1.7; font-size: 18px !important; background: white; transition: max-height 0.3s ease, padding 0.3s ease; } .faq-toggle { font-size: 18px; font-weight: 400; line-height: 1; transition: transform 0.3s ease; color: #999; width: auto; height: auto; background: none; border: none; flex-shrink: 0; } .faq-item.active .faq-toggle { transform: rotate(45deg); color: var(--wp--preset--color--contrast-2); } .faq-item.active .faq-answer { max-height: 500px; padding: 0 0 30px 0; } .faq-item.active .faq-question { color: var(--wp--preset--color--contrast-2); } @media (max-width: 768px) { .faq-container { padding: 20px 0 20px 0; max-width: 100% !important; width: 100% !important; box-sizing: border-box; } .faq-title { font-size: 1.3rem; } .faq-item { max-width: 100%; margin: 0 0 15px 0; } .faq-question { font-size: 16px; padding: 15px 20px; } .faq-answer { font-size: 15px; padding: 0 20px; } .faq-item.active .faq-answer { padding: 15px 20px 20px 20px; max-height: 1200px; } .faq-toggle { width: 25px; height: 25px; font-size: 18px; line-height: 1; } }