/* 健康资料查询页：药品、偏方、药茶、酒方与食物搭配。 */
.yz-health-library {
    padding-top: 2px;
    padding-bottom: 28px;
}

.yz-health-library .layui-card {
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #dce6ee;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(30, 68, 104, .035);
}

.yz-health-library .layui-card-header {
    box-sizing: content-box;
    height: auto;
    min-height: 24px;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e9ef;
    color: #29465e;
    line-height: 24px;
}

.yz-health-library .box__tit {
    position: relative;
    padding-left: 29px;
    font-size: 17px;
}

.yz-health-library .box__tit::before {
    position: absolute;
    top: 18px;
    left: 17px;
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: #f39932;
    content: "";
}

.yz-health-library .layui-card-body {
    padding: 20px;
    color: #4b6276;
    line-height: 1.85;
}

.yz-health-search-card {
    background: linear-gradient(120deg, #eef7ff, #fff 72%);
}

.yz-health-search-card .layui-card-body {
    padding: 24px 26px;
}

.yz-health-search-card h1,
.yz-health-detail-title h1 {
    margin: 0;
    color: #203d56;
    font-size: 26px;
    line-height: 1.4;
}

.yz-health-search-card .yz-health-lead,
.yz-health-detail-title p {
    margin: 7px 0 0;
    color: #708596;
    font-size: 14px;
    line-height: 1.7;
}

.yz-health-search {
    display: flex;
    width: 100%;
    max-width: 650px;
    margin: 18px 0 0;
}

.yz-health-search .layui-input {
    box-sizing: border-box;
    height: 42px;
    border: 1px solid #c9d8e4;
    border-right: 0;
    border-radius: 5px 0 0 5px;
}

.yz-health-search .layui-input:focus {
    border-color: #2387c9 !important;
}

.yz-health-search-button {
    flex: 0 0 auto;
    min-width: 92px;
    padding: 0 18px;
    border-radius: 0 5px 5px 0;
    background: #1787cf;
    color: #fff;
    cursor: pointer;
    line-height: 42px;
    text-align: center;
}

.yz-health-search-button:hover {
    background: #0876b9;
}

.yz-health-note {
    margin-top: 16px;
    padding: 11px 14px;
    border-left: 3px solid #ef9b38;
    border-radius: 2px;
    background: #fffaf2;
    color: #6d604e;
    font-size: 13px;
    line-height: 1.75;
}

.yz-health-link-grid {
    margin: -1px -8px 0;
}

.yz-health-link-grid li {
    box-sizing: border-box;
    padding: 0 8px !important;
}

.yz-health-link-grid li a {
    display: block;
    overflow: hidden;
    padding: 10px 4px;
    border-bottom: 1px dashed #dfe7ed;
    color: #405d74;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yz-health-link-grid li a::before {
    margin-right: 7px;
    color: #47a4db;
    content: "›";
}

.yz-health-link-grid li a:hover {
    color: #137fc3;
}

.yz-health-library-side .layui-card-body {
    font-size: 14px;
}

.yz-health-library-side .yz-health-link-grid li {
    width: 50%;
}

.yz-health-library-side .yz-health-link-grid li a {
    padding-top: 8px;
    padding-bottom: 8px;
}

.yz-health-detail-title {
    padding: 4px 0 17px;
    border-bottom: 1px solid #e5ebf0;
    text-align: left;
}

.yz-health-detail-title h1 {
    font-size: 25px;
}

.yz-health-detail-table {
    overflow-x: auto;
    margin-top: 18px;
}

.yz-health-detail-table .layui-table {
    width: 100%;
    table-layout: fixed;
}

.yz-health-detail-table .layui-table td:first-child,
.yz-health-detail-table .layui-table th:first-child {
    box-sizing: border-box;
    width: 116px;
    white-space: nowrap;
    word-break: keep-all;
}

.yz-health-detail-table .layui-table td:not(:first-child),
.yz-health-detail-table .layui-table th:not(:first-child) {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.yz-health-library .layui-table {
    margin: 0;
    color: #405970;
}

.yz-health-library .layui-table th,
.yz-health-library .layui-table td {
    padding: 12px 14px;
    border-color: #dfe7ee;
    line-height: 1.8;
    vertical-align: top;
}

.yz-health-library .layui-table th,
.yz-health-library .layui-table td:first-child {
    background: #f5f9fc;
    color: #2d506b;
    font-weight: 600;
}

.yz-health-article {
    color: #405970;
    font-size: 16px;
    line-height: 2;
}

.yz-health-article p {
    margin: 0 0 14px;
}

.yz-health-correction {
    margin-top: 14px;
    color: #8899a7;
    font-size: 13px;
    text-align: right;
}

.yz-health-page-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5ebf0;
}

.yz-health-page-nav div {
    overflow: hidden;
    color: #8092a0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yz-health-page-nav a {
    color: #2b6f9d;
}

.yz-health-food-table td:first-child,
.yz-health-food-table th:first-child {
    width: 120px;
}

@media (max-width: 767px) {
    .yz-health-library {
        padding-bottom: 18px;
    }

    .yz-health-search-card .layui-card-body,
    .yz-health-library .layui-card-body {
        padding: 16px;
    }

    .yz-health-search-card h1,
    .yz-health-detail-title h1 {
        font-size: 22px;
    }

    .yz-health-search-button {
        min-width: 78px;
        padding: 0 12px;
    }

    .yz-health-link-grid li,
    .yz-health-library-side .yz-health-link-grid li {
        width: 50%;
    }

    .yz-health-page-nav {
        grid-template-columns: 1fr;
    }

    .yz-health-library .layui-table {
        min-width: 620px;
    }

    .yz-health-food-table {
        min-width: 520px !important;
    }
}
.yz-drug-identity {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.yz-drug-identity span {
    display: inline-block;
}

@media (max-width: 767px) {
    .yz-drug-identity {
        display: block;
    }

    .yz-drug-identity span {
        display: block;
        margin-top: 4px;
    }
}
