/* 首页疾病百科：紧凑的分类卡片与热读侧栏。 */
@media (min-width: 1240px) {
    .page-home .fh-home .fh-baike .fh-baike-main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 870px;
    }

    .page-home .fh-home .fh-baike .fh-baike-main::after {
        display: none;
    }

    .page-home .fh-home .fh-baike .fh-dise-item {
        float: none;
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        min-height: 0;
        margin: 0;
        padding: 14px 16px 12px;
        border: 1px solid #e9edf2;
        background: #fafbfd;
    }
}

.page-home .fh-home .fh-baike .fh-dise-item h3 {
    display: flex;
    align-items: center;
    margin: 0 0 8px;
    color: #253a51;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.page-home .fh-home .fh-baike .fh-dise-gico {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-right: 9px;
    border-radius: 6px;
    background: #eaf3ff;
    color: #438fe2;
    vertical-align: baseline;
}

.page-home .fh-home .fh-baike .fh-dise-gico svg {
    width: 15px;
    height: 15px;
}

.page-home .fh-home .fh-baike .fh-dise-item ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px 6px;
}

.page-home .fh-home .fh-baike .fh-dise-item li {
    float: none;
    min-width: 0;
    width: auto;
    padding: 0;
    line-height: 26px;
}

.page-home .fh-home .fh-baike .fh-dise-item li a {
    display: block;
    padding: 2px 6px;
    overflow: hidden;
    border-radius: 3px;
    color: #526579;
    font-size: 14px;
    line-height: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-home .fh-home .fh-baike .fh-dise-item li a:hover,
.page-home .fh-home .fh-baike .fh-dise-item li a:focus-visible {
    background: #e9f2ff;
    color: #287fd8;
}

@media (min-width: 1240px) {
    .page-home .fh-home .fh-baike .fh-baike-side {
        width: 300px;
        padding: 14px 15px 12px;
        border: 1px solid #e9edf2;
        background: #fafbfd;
    }
}

.page-home .fh-home .fh-baike .fh-baike-side .fh-h4 {
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e5ebf2;
    color: #253a51;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.page-home .fh-home .fh-baike .fh-baike-side .fh-imgcard {
    height: 154px;
    margin-bottom: 10px;
}

.page-home .fh-home .fh-baike .fh-baike-side .fh-imgcard .fh-thumb {
    height: 154px;
}

.page-home .fh-home .fh-baike .fh-baike-side .fh-imgcard p {
    font-size: 14px;
}

.page-home .fh-home .fh-baike .fh-baike-side .fh-list li {
    line-height: 32px;
}

.page-home .fh-home .fh-baike .fh-baike-side .fh-list li > a {
    font-size: 14px;
    line-height: 32px;
}

.page-home .fh-home .fh-baike .fh-baike-side .fh-dot {
    width: 4px;
    height: 4px;
    background: #9cbbde;
}

@media (max-width: 760px) {
    .page-home .fh-home .fh-baike .fh-dise-item {
        margin-bottom: 10px;
        padding: 12px;
        border: 1px solid #e9edf2;
        background: #fafbfd;
    }

    .page-home .fh-home .fh-baike .fh-dise-item h3 {
        font-size: 16px;
    }

    .page-home .fh-home .fh-baike .fh-dise-item ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .fh-home .fh-baike .fh-dise-item li a {
        font-size: 13px;
    }
}
