/* Outer wrapper */
.schema-faq.wp-block-yoast-faq-block {
    background: #FAFBFC;
    border-radius: 10px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1e8ed;
}

/* Each FAQ card */
.schema-faq-section {
    border-bottom: 1px solid #e1e8ed;
    transition: background 0.3s ease, border-left 0.3s ease;
    padding-left: 15px;
    border-left: 4px solid transparent;
}
.schema-faq-section:last-child {
    border-bottom: none;
}

/* Active section left border */
.schema-faq-section.active {
    border-left: 4px solid #2872fa;
    background: #ffffff;
}

/* Question */
.schema-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3A4F66;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}
.schema-faq-question:hover {
    color: #1559ed;
}

/* Plus/Minus icon */
.schema-faq-question::after {
    content: "+";
    font-weight: bold;
    font-size: 1.2rem;
    color: #2872fa;
    transition: transform 0.3s ease, color 0.3s ease;
}
.schema-faq-section.active .schema-faq-question::after {
    content: "−";
    transform: rotate(180deg);
    color: #1559ed;
}

/* Answer */
.schema-faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
    color: #3A4F66;
    line-height: 1.6;
}
.schema-faq-section.active .schema-faq-answer {
    max-height: 800px; /* Large enough for tall answers */
    opacity: 1;
    padding: 0 0 15px 0;
}