.entity-page__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    color: var(--seo-text-muted);
    font-size: 0.88rem;
}

.entity-page__breadcrumbs a:hover {
    color: rgba(255, 255, 255, 0.84);
}

.entity-page__layout {
    display: grid;
    gap: 0;
}

.entity-page__header {
    display: grid;
    gap: 0.55rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--seo-border);
}

.entity-page__meta {
    margin: 0;
    color: rgba(255, 127, 50, 0.84);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.entity-page__title {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    letter-spacing: 0.04em;
}

.entity-page__summary {
    max-width: 60ch;
    margin: 0;
    font-size: 0.98rem;
}

.entity-page__section {
    padding: 1rem 0 0.9rem;
    border-bottom: 1px solid var(--seo-border);
}

.entity-page__section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.entity-page__section .seo-heading {
    display: inline-block;
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    margin-bottom: 0.5rem;
    color: var(--seo-accent);
    letter-spacing: 0.01em;
}

.entity-page__section .seo-heading::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin-top: 0.45rem;
    background: linear-gradient(90deg, var(--seo-accent), transparent);
}

.entity-page__section .seo-text,
.entity-page__section .seo-list li {
    font-size: 0.96rem;
}

.entity-page__prose {
    display: grid;
    gap: 0.7rem;
}

.entity-page__paragraph {
    margin: 0;
    max-width: 66ch;
}

.entity-page__detailList {
    margin: 0.4rem 0 0;
    padding-left: 1rem;
}

.entity-page__section .seo-list li + li {
    margin-top: 0.38rem;
}

.entity-page__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.entity-page__column {
    min-width: 0;
    padding: 0.05rem 0;
}

.entity-page__column + .entity-page__column {
    border-left: 1px solid var(--seo-border);
    padding-left: 1rem;
}

.entity-page__subheading {
    margin: 0 0 0.45rem;
    color: rgba(247, 239, 232, 0.88);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.entity-page__header .seo-heading::after {
    content: none;
}

.entity-page__empty {
    margin: 0;
}

.entity-page__references {
    padding-top: 1rem;
}

.entity-page__referencesEmpty {
    margin: 0;
    color: var(--seo-text-muted);
}

.entity-page__references .seo-chipList {
    margin-top: 0.35rem;
}

.entity-page__actions {
    padding-top: 0.9rem;
}

.entity-page__actionLink {
    min-height: 34px;
    padding: 0.42rem 0.76rem;
    font-weight: 500;
}

.encyclopedia-page__section {
    padding-top: 1.1rem;
}

.encyclopedia-page__index,
.encyclopedia-page__entryList {
    display: grid;
}

.encyclopedia-page__categoryRow,
.encyclopedia-page__entryRow {
    display: grid;
    gap: 0.38rem;
    padding: 0.82rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: inherit;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.encyclopedia-page__categoryRow {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
}

.encyclopedia-page__categoryRow:last-child,
.encyclopedia-page__entryRow:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.encyclopedia-page__categoryRow:hover .encyclopedia-page__categoryName,
.encyclopedia-page__entryRow:hover .encyclopedia-page__entryTitle {
    color: #ffb98f;
}

.encyclopedia-page__categoryName,
.encyclopedia-page__entryTitle {
    color: #fff4ed;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.18s ease;
}

.encyclopedia-page__categoryName {
    font-size: 1rem;
}

.encyclopedia-page__categoryCount {
    color: var(--seo-text-muted);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.encyclopedia-page__entryTitle {
    font-size: 1rem;
}

.encyclopedia-page__entryDescription {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 720px) {
    .entity-page__column + .entity-page__column {
        border-left: 0;
        border-top: 1px solid var(--seo-border);
        padding-left: 0;
        padding-top: 0.9rem;
    }
}
