.faq-container {
    overflow-x: hidden;
}

/* Main FAQ button styling */

.faq-toggle-button {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    color: #f1f0ec;
    background: linear-gradient(45deg, transparent 3%, #E31E33 3%);
    box-shadow: 4px 0 0 #1bb2df;
    border-right: 6px solid #1bb2df;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 2.25% 100%, 0 97.75%);
}

/* Collapsed state */

.faq-toggle-button.collapsed {
    background: linear-gradient(45deg, transparent 3%, #000 3%);
}

/* Hover/focus */

.faq-toggle-button:hover, .faq-toggle-button:focus {
    background: linear-gradient(45deg, transparent 3%, #E31E33 3%);
    color: #f1f0ec;
    outline: none;
}

/* Icon styling */

.faq-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 1.5rem;
    text-align: center;
}

/* Icon toggle state */

.faq-toggle-button:not(.collapsed) .faq-icon::before {
    content: "–";
}

.faq-toggle-button.collapsed .faq-icon::before {
    content: "+";
}

/* Ensure text wraps inside buttons */

.faq-toggle-button span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Accordion body */

.accordion-body {
    background-color: #ffffff;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: #212529;
    line-height: 1.5;
    border-top: 1px solid #dee2e6;
    word-wrap: break-word;
}

/* Collapse transition */

.accordion-collapse {
    transition: height 0.3s ease;
}

/* Optional: tweak spacing on small screens */

@media (max-width: 576px) {
    .faq-toggle-button {
        padding: 0.75rem 1rem;
    }
}

