/* Open State for Top-Level Accordion */
.nestedAcc.active>.accContent {
    max-height: 2000px;
    /* enough to show nested years */
    padding: 10px 0 0 0;
    opacity: 1
}

/* Sub-Nested Accordion (Year) */
.subNestedAcc {
    margin-left: 0;
    margin-bottom: 0;
}


.subNestedAcc>h5 {
    padding: 18px 50px 18px 100px;
    margin: 0;
    cursor: pointer;
    font-size: 23px;
    line-height: 26px;
    font-weight: normal;
    font-family: var(--font);
    color: #000;
}

.subNestedAcc:first-child {
    padding-top: 12px
}

.subNestedAcc:first-child>h5 {
    border-top: 1px solid var(--brand)
}

.subNestedAcc>.nestedaccContent {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-left: 150px;
}

/* Open State for Sub-Nested Accordion */
.subNestedAcc.active>.nestedaccContent {
    max-height: 1000px;
    padding: 12px 18px;
    padding-left: 150px;
}

/* PDF Entry Styles */
.pdf-entry {
    margin-bottom: 15px;
}

.pdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pdf-list li {
    margin-bottom: 6px;
}

.pdf-list a {
    color: var(--brand2);
    text-decoration: none;
    font-weight: 600;
}

.pdf-list a:hover {
    text-decoration: underline;
}

.accWraper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.fwAccordion {
    grid-template-columns: 1fr;
}

.accWraper>div>div {
    margin-bottom: 12px
}

.accWraper>div>div:last-child {
    margin-bottom: 0
}

.accWrapper {
    overflow: hidden;
}

.accItem {
    background-color: var(--darkBlue);
    border-bottom: 1px solid var(--border)
}

.accItem h4 {
    padding: 0 58px 12px 0;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.accItem.active h4 {}

.accItem h4:after {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    width: 32px;
    height: 32px;
    background: url(../../img/faqDown.svg) center center no-repeat;
    background-size: 100% auto;
    margin-left: 30px;
    transition: all 0.2s;
}

.accItem.active h4:after {
    transform: scaleY(-1);
    top: 4px;
}

.accContent {
    display: grid;
    grid-template-rows: 0fr;
    transition: 300ms grid-template-rows, 300ms opacity;
    opacity: 0;
}

.accContent>div.accitem {
    overflow: hidden;
}

.accItem.active .accContent {
    grid-template-rows: 1fr;
    padding-bottom: 12px;
    opacity: 1;
}


.accContent {
    padding: 0 40px 0 0
}

.accContent p {
    margin-top: 0;
}

.accContent p:last-child {
    margin-bottom: 0
}

@media screen and (max-width:767px) {
    .accWraper {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
}

.noBorderItem .accItem {
    border-bottom: 0
}

/* Accordion Container */
.nestedAccordionWrapper {
    width: 100%;
    margin: 0 auto;
}

/* Top-Level Accordion (Decade) */
.nestedAcc {
    border-bottom: 1px solid var(--border);
}

.nestedAcc>h4 {
    padding: 12px 20px;
    margin: 0;
    cursor: pointer;
    font-size: 23px;
    line-height: 26px;
    color: #000;
    font-family: var(--font);
    padding-left: 0
}

.nestedAcc.active>h4 {
    padding-bottom: 0
}

.nestedAcc>.accContent {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.subNestedAcc:last-child {
    margin-bottom: 0;
    border-bottom: 0
}

@media screen and (max-width:767px) {
    .subNestedAcc>h5 {
        padding-left: 50px
    }

    .subNestedAcc>.nestedaccContent {
        padding-left: 80px;
    }

    .subNestedAcc.active>.nestedaccContent {
        padding-left: 80px
    }
}