/* Compact court summary on the public lawyer profile. */
body.single-property .court_jurist.hrnt-courts {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-after-h2);
    padding: var(--space-after-h2);
    box-sizing: border-box;
}
body.single-property .hrnt-courts .text_court {
    flex: 1 1 auto;
    min-width: 0;
}
body.single-property .hrnt-courts .hrnt-courts-heading {
    display: flex;
    align-items: center;
    gap: var(--text-xs);
    margin-bottom: var(--space-after-h4);
}
body.single-property .hrnt-courts .hrnt-courts-heading h2 {
    min-width: 0;
    margin: 0;
}
body.single-property .hrnt-courts .hrnt-courts-icon { display: none; }
body.single-property .hrnt-courts .list_court {
    width: 100%;
    margin: 0;
    padding: 0;
}
body.single-property .hrnt-courts .list_court > li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: var(--text-xs);
    margin: 0;
    padding: calc(var(--text-xs) * 2 / 3) 0;
    color: var(--color-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}
body.single-property .hrnt-courts .list_court .hrnt-court-name {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: var(--weight-regular);
}
body.single-property .hrnt-courts .list_court .hrnt-court-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--space-after-h2);
    padding: calc(var(--text-xs) / 3) calc(var(--text-xs) * 2 / 3);
    border-radius: var(--radius-xs);
    background: var(--color-white);
    color: var(--color-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    line-height: var(--leading-snug);
    white-space: nowrap;
    box-sizing: border-box;
}
body.single-property .hrnt-courts .image_court {
    flex: 0 0 calc(var(--h-big) * 2);
    width: calc(var(--h-big) * 2);
    margin: 0;
}
body.single-property .hrnt-courts .image_court img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}
body.single-property .hrnt-courts .more_court {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: var(--h-touch);
    width: auto;
    margin: calc(var(--text-xs) / 3) 0 0;
    padding: calc(var(--text-xs) * 2 / 3) var(--space-after-h2) calc(var(--text-xs) * 2 / 3) 0;
    top: auto;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    line-height: var(--leading-heading);
    text-decoration: none;
    cursor: pointer;
}
body.single-property .hrnt-courts .more_court::after {
    top: 50%;
    right: 0;
    width: var(--text-xs);
    height: var(--text-xs);
    font-size: var(--text-xs);
    line-height: 1;
    transform: translateY(-50%);
}
body.single-property .hrnt-courts .more_court.active::after {
    transform: translateY(-50%) rotate(180deg);
}
body.single-property .hrnt-courts .more_court.hidden { display: none; }
body.single-property .hrnt-courts .more_court:focus-visible {
    outline: var(--hc-focus-width) solid var(--color-primary);
    outline-offset: var(--hc-focus-offset);
}
@media (hover: hover) and (pointer: fine) {
    body.single-property .hrnt-courts .more_court:hover {
        color: var(--color-primary-hover);
        text-decoration: underline;
    }
}
@media (max-width: 767px) {
    body.single-property .court_jurist.hrnt-courts {
        display: block;
        padding: var(--space-after-h3);
    }
    body.single-property .hrnt-courts .hrnt-courts-icon {
        display: inline-flex;
        flex: 0 0 var(--h-small);
        align-items: center;
        justify-content: center;
        width: var(--h-small);
        height: var(--h-small);
        border-radius: var(--radius-sm);
        background: var(--color-white);
        color: var(--color-primary);
        font-size: var(--text-xl);
        line-height: 1;
    }
    body.single-property .hrnt-courts .image_court { display: none; }
}
