/* ── LBI FAQ accordion — details/summary implementation ── */

details.faq-item {
    position: relative;
    width: 100%;
    border: none;
    padding: 0;
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.75em;
}

details.faq-item > summary.tab-label {
    display: flex;
    justify-content: space-between;
    padding: 1.25em 1em;
    background: #2c3e50;
    color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    list-style: none;
    list-style-type: none;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 20px;
    position: relative;
}

/* Suppress disclosure triangle — all browsers */
details.faq-item > summary.tab-label::-webkit-details-marker {
    display: none;
    width: 0;
}

details.faq-item > summary.tab-label::marker {
    content: '';
    display: none;
}

/* Safari renders the triangle as ::before in older versions */
details.faq-item > summary.tab-label::before {
    display: none;
    content: '';
}

details.faq-item > summary.tab-label:hover {
    background: #233140;
}

details.faq-item > summary.tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: transform 0.2s ease-out;
    transform-origin: bottom center;
    flex-shrink: 0;
    text-decoration: none;
    background-image: none;
}

details.faq-item[open] > summary.tab-label::after {
    transform: rotate(90deg);
}

details.faq-item .tab-content {
    max-height: none;
    padding: 0.75em 1em;
    color: #2c3e50;
    background: white;
    transition: none;
}

details.faq-item .tab-content p:last-child {
    margin: 0;
}

.faq-container {
    margin-bottom: 2em;
	padding-bottom: 1em;   
}

.faq-container p:empty {
    display: none;
}
