.show_more {
    display: flex;
    width:100%;
    transition: background-color .2s;
    padding: .5rem;
    line-height: 1;
    color: var(--dark);
    cursor: pointer;
    border-radius: .25rem;
}

.show_more span{
    color: var(--link_blue);
}

.show_more span:before {
    content: 'Show';
}

.show_more span:before {
    content: 'Show';
}

#legacy_pages:has(input[type=checkbox]:checked) .show_more span:before {
    content: 'Hide';
}
    
.show_more img {
    height: 1rem;
    width: 1rem;
    margin-right: .5rem;
    transition: background-color .2s;
}

#legacy_pages .more_row:has(input[type=checkbox]:checked) .show_more img {
    transform: rotate(90deg);
}

#legacy_pages .more_row:has(input[type=checkbox]:checked) #stateFacts{
    margin-top: 1rem;
}

.show_more:hover {
    background-color: var(--light_gray);
}
    
.show_more + input {
    display: none;
}

.show_more + input[type=checkbox]:not(:checked) ~ #stateFacts{
    display: none;
}

#subcat a{
    padding: 0 0.5rem;
}

#subcat a:not(:last-child){
    border-right: 1px solid var(--light_gray);
}

.more_row{
    margin-top: 0.5rem;
}

#stateFacts img{
    border-radius: 20px;
}