/* Friend links use the same type, spacing, and rules as the editorial theme. */
body.route_page article#page_4 .friends-summary {
    margin: -12px 0 20px;
    color: var(--editorial-muted);
    font-size: 13px;
}

body.route_page article#page_4 .friends-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--editorial-line);
}

body.route_page article#page_4 .friends-list > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--editorial-line);
}

body.route_page article#page_4 .friend-entry {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 14px;
    padding: 19px 0 20px;
    color: var(--editorial-ink);
    text-decoration: none;
}

body.route_page article#page_4 .friend-entry:hover .friend-name,
body.route_page article#page_4 .friend-entry:focus-visible .friend-name {
    color: var(--editorial-accent);
    text-decoration: underline;
    text-underline-offset: .18em;
}

body.route_page article#page_4 .friend-number {
    padding-top: 5px;
    color: #89938a;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

body.route_page article#page_4 .friend-copy {
    display: block;
    min-width: 0;
}

body.route_page article#page_4 .friend-name {
    display: block;
    font-family: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

body.route_page article#page_4 .friend-description {
    display: block;
    margin-top: 5px;
    color: var(--editorial-muted);
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body.route_page article#page_4 .friend-domain {
    max-width: 175px;
    overflow: hidden;
    color: #89938a;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.route_page article#page_4 .friends-contact {
    margin-top: 54px;
}

body.route_page article#page_4 .friends-contact h3 {
    margin: 0 0 12px;
    font-family: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: 25px;
    font-weight: 600;
}

body.route_page article#page_4 .friends-contact > p {
    margin: 0 0 10px;
    font-size: 14px;
}

body.route_page article#page_4 .friends-email a {
    color: var(--editorial-accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

body.route_page article#page_4 .friends-self {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--editorial-line);
}

body.route_page article#page_4 .friends-self h4 {
    margin: 0 0 13px;
    color: var(--editorial-accent);
    font-size: 13px;
    font-weight: 650;
}

body.route_page article#page_4 .friends-self dl {
    margin: 0;
    font-size: 13px;
}

body.route_page article#page_4 .friends-self dl > div {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 10px;
    padding: 6px 0;
}

body.route_page article#page_4 .friends-self dt {
    color: var(--editorial-muted);
}

body.route_page article#page_4 .friends-self dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

body.route_page article#page_4 .friends-self dd a {
    color: var(--editorial-accent);
    text-underline-offset: .18em;
}

body.route_page article#page_4 .friends-old-name {
    color: var(--editorial-muted);
}

@media (max-width: 640px) {
    body.route_page article#page_4 .friend-entry {
        grid-template-columns: 29px minmax(0, 1fr);
        gap: 5px 12px;
        padding: 17px 0 18px;
    }
    body.route_page article#page_4 .friend-domain {
        grid-column: 2;
        max-width: 100%;
    }
    body.route_page article#page_4 .friend-name { font-size: 17px; }
    body.route_page article#page_4 .friends-contact { margin-top: 43px; }
}
