.entity-heading {
    max-width: 960px;
    margin-bottom: 32px;
}

.entity-heading h1 {
    margin-block: 4px 16px;
}

.entity-heading p:last-child {
    margin-bottom: 0;
    line-height: 1.75;
}

.entity-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 48px;
}

.entity-stats > div {
    min-width: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    padding: 16px;
    background: #fff;
}

.entity-stats dt {
    color: var(--color-muted);
    font-weight: 700;
}

.entity-stats dd {
    margin: 8px 0 0;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.entity-section {
    margin-top: 48px;
}

.entity-section > h2 {
    margin: 0 0 16px;
}

.entity-highlight-grid {
    padding-bottom: 8px;
}

.entity-highlight-section {
    container-name: entity-highlight;
    container-type: inline-size;
}

@container entity-highlight (min-width: 864px) {
    .entity-highlight-grid > .item:nth-child(n + 5) {
        display: none;
    }
}

@container entity-highlight (min-width: 1082px) {
    .entity-highlight-grid > .item:nth-child(5) {
        display: flex;
    }
}

@media (max-width: 760px) {
    .entity-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 32px;
    }

    .entity-section {
        margin-top: 32px;
    }
}

@media (max-width: 420px) {
    .entity-stats {
        grid-template-columns: minmax(0, 1fr);
    }
}
