@charset "utf-8";
/* ============================================================
   olsmed.com — TAG 标签页样式
   文件：/template/pc/skin/css/tag.css
   作用域：全部以 .tag- 前缀命名，不影响站点任何现有样式
   设计语言：对齐站点 style.css
     主色 #1ea4fe / 标题 #4c4e52 / 次级 #808080
     边框 #e5e5e5 / 浅底 #f2f2f2 / 链接蓝 #1677b8
     容器 80vw max-width:1440px / 字体 Noto Sans SC
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
    --tag-blue: #1ea4fe;
    --tag-blue-d: #1f8fff;
    --tag-blue-l: #eef7ff;
    --tag-link: #1677b8;
    --tag-t1: #4c4e52;
    --tag-t2: #808080;
    --tag-t3: #898989;
    --tag-line: #e5e5e5;
    --tag-bg: #f2f2f2;
    --tag-radius: 12px;
    --tag-shadow: 0 18px 42px -20px rgba(23, 35, 45, .3);
}

html,
body {
    overflow-x: hidden;
}

/* ---------- 页头 ---------- */
.tag-page {
    background: var(--tag-bg);
    padding-bottom: 60px;
}

.tag-hero {
    background: #fff;
    border-bottom: 1px solid var(--tag-line);
    padding: 30px 0 26px;
}

.tag-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.tag-hero__kicker {
    font-size: 12px;
    letter-spacing: .18em;
    color: var(--tag-blue);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tag-hero__title {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--tag-t1);
    word-break: break-all;
}

.tag-hero__title em {
    font-style: normal;
    color: var(--tag-blue);
}

.tag-hero__sub {
    margin: 0;
    font-size: 14px;
    color: var(--tag-t2);
}

.tag-hero__right {
    flex: none;
    padding-bottom: 4px;
}

.tag-bread {
    font-size: 13px;
    color: var(--tag-t2);
    white-space: nowrap;
}

.tag-bread a {
    color: var(--tag-t2);
    text-decoration: none;
    transition: color .2s;
}

.tag-bread a:hover {
    color: var(--tag-blue);
}

.tag-bread .fa-home {
    margin-right: 4px;
}

.tag-bread .sep {
    margin: 0 6px;
    color: #ccc;
}

/* ---------- 两栏布局 ---------- */
.tag-body {
    padding-top: 26px;
}

.tag-cols {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.tag-main {
    flex: 1 1 auto;
    min-width: 0;
}

.tag-side {
    flex: 0 0 320px;
    width: 320px;
}

/* ---------- 卡片 ---------- */
.tag-card {
    background: #fff;
    border: 1px solid var(--tag-line);
    border-radius: var(--tag-radius);
    overflow: hidden;
}

.tag-card--side+.tag-card--side,
.tag-card--side+.tag-cta,
.tag-cloud__more {
    margin-top: 20px;
}

.tag-card__hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--tag-line);
}

.tag-card__hd h2 {
    position: relative;
    margin: 0;
    padding-left: 13px;
    font-size: 18px;
    font-weight: 600;
    color: var(--tag-t1);
    line-height: 1.4;
}

.tag-card__hd h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--tag-blue);
}

.tag-card__hd-count {
    flex: none;
    font-size: 13px;
    color: var(--tag-t2);
}

/* ---------- 列表 ---------- */
.tag-list {
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

.tag-list__item+.tag-list__item {
    border-top: 1px solid #f0f0f0;
}

.tag-list__item>a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    text-decoration: none;
    transition: background .22s;
}

.tag-list__item>a:hover {
    background: #fafcff;
}

.tag-list__num {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--tag-bg);
    color: var(--tag-t2);
    font-size: 13px;
    font-weight: 600;
    line-height: 34px;
    text-align: center;
    transition: background .22s, color .22s;
    font-variant-numeric: tabular-nums;
}

.tag-list__item>a:hover .tag-list__num {
    background: var(--tag-blue);
    color: #fff;
}

.tag-list__body {
    flex: 1 1 auto;
    min-width: 0;
}

.tag-list__title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--tag-t1);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .22s;
}

.tag-list__item>a:hover .tag-list__title {
    color: var(--tag-blue);
}

.tag-list__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--tag-t3);
}

.tag-list__cat {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 4px;
    background: var(--tag-blue-l);
    color: var(--tag-link);
    font-size: 12px;
    line-height: 18px;
}

.tag-list__dot {
    color: #d0d0d0;
}

.tag-list__arrow {
    flex: none;
    color: #c8c8c8;
    transition: transform .22s, color .22s;
}

.tag-list__item>a:hover .tag-list__arrow {
    color: var(--tag-blue);
    transform: translate(3px, -3px);
}

/* ---------- 分页 ---------- */
.tag-pager {
    padding: 18px 22px 24px;
    text-align: center;
    border-top: 1px solid var(--tag-line);
}

.tag-pager .pagination {
    display: inline-block;
}

.tag-pager .pagination li {
    display: inline-block;
    margin: 0 3px;
}

.tag-pager .pagination a,
.tag-pager .pagination span,
.tag-pager .pagination strong {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--tag-line);
    border-radius: 8px;
    background: #fff;
    color: var(--tag-t1);
    font-size: 13px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    transition: all .2s;
}

.tag-pager .pagination a:hover {
    border-color: var(--tag-blue);
    color: var(--tag-blue);
}

.tag-pager .pagination .active a,
.tag-pager .pagination .cur,
.tag-pager .pagination strong {
    border-color: var(--tag-blue);
    background: var(--tag-blue);
    color: #fff;
}

.tag-pager .pagination .disabled a,
.tag-pager .pagination .disabled span {
    color: #c0c0c0;
    cursor: not-allowed;
}

.tag-pager .pagination .disabled a:hover {
    border-color: var(--tag-line);
    color: #c0c0c0;
}

/* ---------- 空状态 ---------- */
.tag-empty {
    padding: 70px 22px;
    text-align: center;
}

.tag-empty__icon {
    font-size: 40px;
    color: #d8d8d8;
    margin-bottom: 16px;
}

.tag-empty__t {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--tag-t1);
}

.tag-empty__d {
    margin: 0 0 22px;
    font-size: 14px;
    color: var(--tag-t2);
}

.tag-empty__btn {
    display: inline-block;
    padding: 0 26px;
    height: 38px;
    border-radius: 8px;
    background: var(--tag-blue);
    color: #fff;
    font-size: 14px;
    line-height: 38px;
    text-decoration: none;
    transition: background .22s;
}

.tag-empty__btn:hover {
    background: var(--tag-blue-d);
    color: #fff;
}

/* ---------- 侧栏：统计 ---------- */
.tag-stats {
    display: flex;
    padding: 20px 10px;
}

.tag-stat {
    flex: 1 1 0;
    text-align: center;
}

.tag-stat+.tag-stat {
    border-left: 1px solid var(--tag-line);
}

.tag-stat__n {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tag-blue);
    font-variant-numeric: tabular-nums;
}

.tag-stat__l {
    margin-top: 6px;
    font-size: 12px;
    color: var(--tag-t2);
}

/* ---------- 侧栏：标签云 ---------- */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 20px 8px;
}

.tag-cloud__item {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--tag-line);
    border-radius: 20px;
    background: #fafafa;
    color: var(--tag-t1);
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
    transition: all .2s;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-cloud__item:hover {
    border-color: var(--tag-blue);
    background: var(--tag-blue-l);
    color: var(--tag-link);
}

.tag-cloud__more {
    display: block;
    padding: 0 20px 18px;
    font-size: 13px;
    color: var(--tag-t2);
    text-decoration: none;
    transition: color .2s;
}

.tag-cloud__more:hover {
    color: var(--tag-blue);
}

.tag-cloud__more .fa {
    margin-left: 2px;
    transition: transform .2s;
    display: inline-block;
}

.tag-cloud__more:hover .fa {
    transform: translateX(3px);
}

/* ---------- 侧栏：快捷入口 ---------- */
.tag-links {
    margin: 0;
    padding: 10px 0;
    list-style: none;
}

.tag-links li+li {
    border-top: 1px solid #f0f0f0;
}

.tag-links a {
    display: block;
    padding: 13px 22px;
    font-size: 14px;
    color: var(--tag-t1);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

.tag-links a:hover {
    color: var(--tag-blue);
    padding-left: 27px;
}

.tag-links .fa {
    width: 18px;
    margin-right: 8px;
    color: var(--tag-blue);
    text-align: center;
}

/* ---------- 侧栏：咨询块 ---------- */
.tag-cta {
    padding: 24px 22px;
    border-radius: var(--tag-radius);
    background: linear-gradient(140deg, #1ea4fe 0%, #1f8fff 100%);
    color: #fff;
}

.tag-cta__t {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tag-cta__d {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
}

.tag-cta__btn {
    display: block;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    color: var(--tag-link);
    font-size: 14px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    transition: opacity .2s;
}

.tag-cta__btn:hover {
    opacity: .88;
    color: var(--tag-link);
}

.tag-cta__tel {
    margin-top: 14px;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, .85);
}

.tag-cta__tel strong {
    display: block;
    margin-top: 3px;
    font-size: 17px;
    letter-spacing: .04em;
    color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .tag-cols {
        flex-direction: column;
        gap: 20px;
    }

    .tag-side {
        flex: 1 1 auto;
        width: 100%;
    }

    .tag-cloud {
        padding-bottom: 14px;
    }
}

@media (max-width: 768px) {
    .tag-hero {
        padding: 22px 0 20px;
    }

    .tag-hero__title {
        font-size: 24px;
    }

    .tag-hero__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .tag-hero__right {
        padding-bottom: 0;
    }

    .tag-bread {
        white-space: normal;
    }

    .tag-card__hd {
        padding: 14px 16px;
    }

    .tag-card__hd h2 {
        font-size: 17px;
    }

    .tag-list__item>a {
        padding: 15px 16px;
        gap: 12px;
    }

    .tag-list__title {
        white-space: normal;
        font-size: 15px;
    }

    .tag-pager {
        padding: 16px 16px 20px;
    }

    .tag-stat__n {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .tag-list__num {
        display: none;
    }

    .tag-list__arrow {
        display: none;
    }

    .tag-cta {
        padding: 20px 18px;
    }
}
