/* Adjust accordion child elements with padding*/
.accordion-body ul, .accordion-body ol {
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.accordion-body li {
    margin-bottom: 0.25rem;
}


/*Overrides default Bootstrap accordion styling */

/* Remove default accordion button styling */
.accordion-button {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0;
    color: #0099cc; /* RACELOGIC blue - adjust to match your brand */
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #0099cc;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:hover {
    color: #007399; /* Slightly darker on hover */
}

.accordion-button::after {
    display: none;
}

/* Replace the default chevron with a triangle */
.accordion-button::before {
    content: "►";
    margin-right: 0.5rem;
    background-image: none;
    font-size: 0.75rem;
    width: auto;
    height: auto;
    transform: none;
    transition: transform 0.2s ease-in-out;
}

/* Rotate triangle when expanded */
.accordion-button:not(.collapsed)::before {
    content: "►";
    background-image: none;
    transform: rotate(90deg);
}


/* Remove accordion item borders */
.accordion-item {
    border: none;
    background-color: transparent;
}


.accordion-counter {
    counter-reset: list-counter;
}

/* All ordered lists within continue the count */
.accordion-counter ol {
    counter-reset: none;
    list-style: none;
    padding-left: 2rem;
}

.accordion-counter ol li {
    counter-increment: list-counter;
}

.accordion-counter ol li::before {
    content: counter(list-counter) ". ";
    position: absolute;
    margin-left: -2rem;
    font-weight: 500;
}