* {
    --item-tint-color: #006f00;
}

div.item-stats {
    border-top: 1px solid var(--item-tint-color);
    position: relative;
    padding: 0.25em 0.75em;
    z-index: 1;
    float: none;
}

div.item-stats ~ p {
    margin-left: 0.5em;
}

div.item-stats .left-stats {
    float: left;
    display: inline-block;
}

div.item-stats .right-stats {
    float: right;
    display: inline-block;
}

div.item-stats .clear {
    clear: both;
}

div.item-stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--item-tint-color);
    opacity: 0.05;
    z-index: -1;
}

div.item-stats + div.item-stats {
    border-top: none;
}

div.item-stats div.item-stat.label {
    display: inline-block;
    font-size: 0.9em;
    padding-right: 0.5em;
}

div.item-stats div.item-stat {
    display: inline-block;
    margin-right: 0.75em;
}

div.item-stats div.item-stat label {
    font-size: 0.75em;
    text-transform: uppercase;
    margin-right: 0.25em;
    color: var(--item-tint-color);
}

div.item-stats div.item-stat .feature,
.md-typeset__scrollwrap .md-typeset__table td a.item-feature
{
    font-size: 0.8em;
    display: inline-block;
    padding: 0.1em 0.75em 0;
    position: relative;
    color: black;
    font-weight: 400;
    font-family: var(--mono-font-family);
    z-index: 1;
}

div.item-stats div.item-stat .feature::before,
.md-typeset__scrollwrap .md-typeset__table td a.item-feature::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--item-tint-color);
    border-radius: 4px;
    opacity: 0.125;
    z-index: -1;
}

div.item-stats div.item-stat .feature:hover,
.md-typeset__scrollwrap .md-typeset__table td a.item-feature:hover
{
    color: white !important;
}

div.item-stats div.item-stat .feature:hover::before,
.md-typeset__scrollwrap .md-typeset__table td a.item-feature:hover::before
{
    opacity: 0.7;
}

h2.item, 
h3.item, 
h4.item 
{
    font-size: 1.2em;
    margin-left: 0.5em;
    margin-bottom: 0em;
    color: var(--item-tint-color) !important;
}


h3.item.inline-stats {
    border-top: none;
    border-bottom: 1px solid var(--item-tint-color);
    padding-left: 0.5em;
}

h3.item.inline-stats ~ p {
    padding-left: 0.5em;
}

div.item-stats.inline-stats {
    display: inline-block;
    float: right;
    border-top: none;
    position: relative;
    bottom: 2em;
}

div.item-stats + p:has(img.item-image) {
    float: right;
    min-width: 40%;
    text-align: center;
}

div.item-stats + p:has(img.item-image.full) {
    float: none;
    display: block;
}

div.item-stats + p img.item-image {
    object-fit: scale-down;
}


@media screen and (max-width: 600px) {

    div.item-stats + p:has(img.item-image.long) {
        float: none;
        width: 100%;
    }
    
}

hr.items-end {
    visibility: hidden;
    margin-top: 4rem;
    clear: both;
}