/* Joomla uses row headers for article titles. The turquoise header belongs
   to the column labels in the original JM Commune Offices table. */
#jm-maincontent .com-content-category__table tbody th.list-title[scope="row"] {
    padding: 8px;
    background: transparent;
    color: inherit;
    font-weight: inherit;
    text-align: start;
    vertical-align: top;
    overflow-wrap: anywhere;
}

#jm-maincontent .com-content-category__table tbody tr:first-child th.list-title {
    border-top: 0;
}

#jm-maincontent .com-content-category__table tbody th.list-title > a {
    color: #196375;
    text-decoration: underline;
}

#jm-maincontent .com-content-category__table a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

body[data-contrast="highcontrast2"] #jm-maincontent .com-content-category__table tbody th.list-title > a,
body[data-contrast="highcontrast3"] #jm-maincontent .com-content-category__table tbody th.list-title > a {
    color: inherit;
}

/* The legacy template has no Bootstrap 5 visually-hidden helper. */
.com-content-category__articles .visually-hidden:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%);
    white-space: nowrap !important;
    border: 0 !important;
}
