article {
	text-align: center;
}

/*#SearchResultsColumn, #SearchColumn {
	display: inline-block;
	vertical-align: top;
	text-align: left;
	flex-grow: 1;
	width: 300px;
}*/

#SearchColumn label {
	display: block;
	text-align: left;
}

.objectLinkDiv {
	color: var(--primary);
}

.objectLinkDiv a {
	text-decoration: inherit;
	color: inherit !important;
}

.objectLinkDiv a:visited {
	color: inherit !important;
}

.childCategory {
    margin-left: 25px !important;
    font-size: 0.9em;
    color: #666; /* Subtle color for children */
}

/* Ensure labels don't collapse */
/*#SearchColumn label {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}*/

.metadataGroup:not(:has(> *)) + hr {
    display: none;
}


/* NEW BIT */

#SearchListContainer {
    display: flex;
    align-items: flex-start;
	justify-content: center;
    gap: 20px;
}

#SearchResultsColumn {
    flex: 0 1 auto;
    min-width: 0; /* prevents flex blowout on long text */
    text-align: left;
	order: 1;
}

#SearchColumn {
    flex: 0 0 300px;
    text-align: left;
	order: 2;
}

#SearchColumn label {
    display: block;
    text-align: left;
}

@media (max-width: 600px) {
    #SearchListContainer {
        flex-direction: column;
    }

    #SearchColumn {
        flex: 0 0 auto;
        width: 100%;
        order: 1;
    }

    #SearchResultsColumn {
        width: 100%;
        order: 2;
    }
}