/* Existing Elementor typography and spacing remain in control. */
.bys-faq-accordion .bys-faq-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1em;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0.35em 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-decoration: none;
    text-align: start;
    /* Themes often force nowrap on buttons. FAQ questions must wrap. */
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
    touch-action: manipulation;
    cursor: pointer;
}
.bys-faq-accordion .bys-faq-toggle:hover,
.bys-faq-accordion .bys-faq-toggle:focus {
    color: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.bys-faq-accordion .bys-faq-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.bys-faq-accordion .bys-faq-label {
    display: block;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.bys-faq-accordion .bys-faq-icon { flex: 0 0 1em; text-align: center; }
.bys-faq-accordion .bys-faq-icon::before { content: '+'; }
.bys-faq-accordion .bys-faq-open .bys-faq-icon::before { content: '\2212'; }
.bys-faq-accordion .bys-faq-answer[hidden] { display: none !important; }

/* Keep the column count configured in Elementor at each breakpoint,
   but allow every column to shrink below the question's intrinsic width. */
.bys-faq-accordion > .elementor-widget-container > .elementor-loop-container.elementor-grid,
.bys-faq-accordion > .elementor-loop-container.elementor-grid {
    grid-template-columns: repeat(var(--grid-columns, 1), minmax(0, 1fr));
}
.bys-faq-accordion .bys-faq-item,
.bys-faq-accordion .bys-faq-item .e-con,
.bys-faq-accordion .bys-faq-item .e-con-inner,
.bys-faq-accordion .bys-faq-item .elementor-widget,
.bys-faq-accordion .bys-faq-item .elementor-widget-container,
.bys-faq-accordion .bys-faq-item .elementor-heading-title {
    min-width: 0;
    box-sizing: border-box;
}
.bys-faq-accordion .bys-faq-item,
.bys-faq-accordion .bys-faq-answer {
    max-width: 100%;
}
.bys-faq-accordion .bys-faq-answer {
    white-space: normal;
    overflow-wrap: anywhere;
}
