@charset "utf-8";
/* ==========================================================
   新闻详情页样式（作用域 .news_detail，避免影响其它页面）
   配色沿用全站：--brcolor #00adaa / --titlecolor #033333
   ========================================================== */

.news_detail {
    background: #f5f9f9;
    color: #4a5c5b;
}

/* ---------- 顶部横幅 ---------- */
.news_detail_hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 172px 0 64px;
    overflow: hidden;
}
.news_detail_hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 30, 30, .62) 0%, rgba(2, 30, 30, .28) 34%, rgba(2, 30, 30, .72) 100%),
        linear-gradient(118deg, rgba(2, 46, 45, .82) 0%, rgba(3, 74, 72, .66) 46%, rgba(0, 173, 170, .58) 100%);
}
.news_detail_hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -140px;
    top: -220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128, 214, 213, .38) 0%, rgba(128, 214, 213, 0) 68%);
}
.news_detail_hero .container {
    position: relative;
    z-index: 2;
}
.news_detail_hero_inner {
    max-width: 900px;
}

/* 面包屑 */
.news_detail_crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .72);
}
.news_detail_crumb a {
    color: rgba(255, 255, 255, .78);
    transition: color .25s;
}
.news_detail_crumb a:hover {
    color: #fff;
}
.news_detail_crumb i {
    margin: 0 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
}
.news_detail_crumb span {
    color: #8fe3e1;
}

/* 分类徽标 */
.news_detail_cate {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .32);
    backdrop-filter: blur(6px);
    transition: .3s;
}
.news_detail_cate i {
    font-size: 15px;
}
.news_detail_cate:hover {
    background: var(--brcolor);
    border-color: var(--brcolor);
    color: #fff;
}

/* 标题 */
.news_detail_hero h1 {
    margin: 18px 0 24px;
    font-size: 42px;
    line-height: 1.34;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
}

/* 元信息 */
.news_detail_meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
}
.news_detail_meta li {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    color: rgba(255, 255, 255, .82);
}
.news_detail_meta li i {
    margin-right: 8px;
    font-size: 16px;
    color: #8fe3e1;
}

/* ---------- 主体布局 ---------- */
.news_detail_main {
    padding: 64px 0 88px;
}

/* 文章卡片 */
.news_detail_card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px -34px rgba(3, 51, 51, .42);
    border: 1px solid rgba(0, 173, 170, .07);
}
.news_detail_cover {
    position: relative;
    overflow: hidden;
}
.news_detail_cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .7s ease;
}
.news_detail_card:hover .news_detail_cover img {
    transform: scale(1.03);
}
.news_detail_body {
    padding: 42px 46px 38px;
}

/* 导语 */
.news_detail_lead {
    margin: 0 0 30px;
    padding: 20px 24px;
    font-size: 17px;
    line-height: 1.9;
    color: #2f4f4d;
    background: #f1fafa;
    border-left: 4px solid var(--brcolor);
    border-radius: 0 10px 10px 0;
}

/* 正文排版 */
.news_detail_content {
    font-size: 16.5px;
    line-height: 2;
    color: #4a5c5b;
    word-break: break-word;
}
.news_detail_content > *:first-child {
    margin-top: 0;
}
.news_detail_content p {
    margin: 0 0 20px;
}
.news_detail_content h2 {
    margin: 38px 0 18px;
    padding-left: 14px;
    font-size: 24px;
    line-height: 1.4;
    color: var(--titlecolor);
    border-left: 4px solid var(--brcolor);
}
.news_detail_content h3 {
    margin: 30px 0 14px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--titlecolor);
}
.news_detail_content h4 {
    margin: 24px 0 12px;
    font-size: 18px;
    color: var(--titlecolor);
}
.news_detail_content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 8px 0 24px;
}
.news_detail_content ul,
.news_detail_content ol {
    margin: 0 0 22px;
    padding-left: 24px;
}
.news_detail_content li {
    margin-bottom: 10px;
}
.news_detail_content blockquote {
    margin: 28px 0;
    padding: 20px 26px;
    background: #f1fafa;
    border-left: 4px solid var(--brcolor);
    border-radius: 0 10px 10px 0;
    color: #2f4f4d;
}
.news_detail_content blockquote p:last-child {
    margin-bottom: 0;
}
.news_detail_content a {
    color: var(--brcolor);
    text-decoration: underline;
}
.news_detail_content strong {
    color: var(--titlecolor);
}

/* 分类标签行 */
.news_detail_tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px dashed #e2eded;
    font-size: 14px;
}
.news_detail_tags_label {
    display: inline-flex;
    align-items: center;
    color: #7b8f8e;
    margin-right: 4px;
}
.news_detail_tags_label i {
    margin-right: 6px;
    font-size: 15px;
    color: var(--brcolor);
}
.news_detail_tags > a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: #eaf8f7;
    color: #018a87;
    font-size: 14px;
    transition: .25s;
}
.news_detail_tags > a:hover {
    background: var(--brcolor);
    color: #fff;
}
.news_detail_tags .news_detail_tags_all {
    margin-left: auto;
    background: transparent;
    color: #7b8f8e;
    padding: 6px 0;
}
.news_detail_tags .news_detail_tags_all i {
    font-size: 15px;
    vertical-align: -1px;
}
.news_detail_tags .news_detail_tags_all:hover {
    background: transparent;
    color: var(--brcolor);
}

/* 作者 / 分享 */
.news_detail_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding: 22px 24px;
    background: #f8fbfb;
    border: 1px solid #eaf2f2;
    border-radius: 14px;
}
.news_detail_author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.news_detail_avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brcolor), #80d6d5);
    color: #fff;
    font-size: 20px;
}
.news_detail_author_info strong {
    display: block;
    font-size: 16px;
    color: var(--titlecolor);
    line-height: 1.5;
}
.news_detail_author_info span {
    font-size: 13px;
    color: #7b8f8e;
}
.news_detail_share {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: #7b8f8e;
}
.news_detail_share > span {
    margin-right: 3px;
}
.news_detail_share a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e3eded;
    color: #5c7473;
    font-size: 16px;
    transition: .25s;
}
.news_detail_share a:hover,
.news_detail_share a.is_copied {
    background: var(--brcolor);
    border-color: var(--brcolor);
    color: #fff;
    transform: translateY(-2px);
}

/* 上一篇 / 下一篇 */
.news_detail_pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 26px;
}
.news_detail_pager_item {
    display: block;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid rgba(0, 173, 170, .1);
    border-radius: 16px;
    box-shadow: 0 14px 36px -30px rgba(3, 51, 51, .5);
    transition: .3s;
}
.news_detail_pager_item span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9aabaa;
    margin-bottom: 8px;
}
.news_detail_pager_item span i {
    font-size: 15px;
    color: var(--brcolor);
}
.news_detail_pager_item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--titlecolor);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s;
}
.news_detail_pager_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px -28px rgba(3, 51, 51, .55);
    border-color: rgba(0, 173, 170, .3);
}
.news_detail_pager_item:hover strong {
    color: var(--brcolor);
}
.news_detail_pager_item.is_next {
    text-align: right;
}
.news_detail_pager_item.is_next span {
    justify-content: flex-end;
}
.news_detail_pager_item.is_empty {
    background: #fafcfc;
    box-shadow: none;
}
.news_detail_pager_item.is_empty:hover {
    transform: none;
}
.news_detail_pager_item.is_empty strong {
    color: #b3c2c1;
    font-weight: 400;
}

/* ---------- 侧栏 ---------- */
@media (min-width: 992px) {
    .news_detail_side {
        position: sticky;
        top: 108px;
    }
}
.news_detail_widget {
    background: #fff;
    border-radius: 16px;
    padding: 26px 26px 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 173, 170, .07);
    box-shadow: 0 18px 44px -38px rgba(3, 51, 51, .6);
}
.news_detail_widget_title {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--titlecolor);
    border-bottom: 1px solid #eef4f4;
}
.news_detail_widget_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: var(--brcolor);
}

/* 搜索框 */
.news_detail_search {
    display: flex;
    align-items: stretch;
    border: 1px solid #e3eded;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fbfb;
    transition: border-color .25s;
}
.news_detail_search:focus-within {
    border-color: var(--brcolor);
}
.news_detail_search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #33504e;
}
.news_detail_search input::placeholder {
    color: #a9bab9;
}
.news_detail_search button {
    flex: 0 0 50px;
    border: 0;
    background: var(--brcolor);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: background .25s;
}
.news_detail_search button:hover {
    background: #018a87;
}

/* 分类列表 */
.news_detail_cate_list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news_detail_cate_list li + li {
    margin-top: 6px;
}
.news_detail_cate_list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
    color: #44605e;
    transition: .25s;
}
.news_detail_cate_list a span {
    display: inline-flex;
    align-items: center;
}
.news_detail_cate_list a span i {
    margin-right: 9px;
    font-size: 15px;
    color: var(--brcolor);
}
.news_detail_cate_list a em {
    font-style: normal;
    min-width: 26px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    padding: 0 8px;
    border-radius: 100px;
    background: #eaf8f7;
    color: #018a87;
    font-size: 12px;
}
.news_detail_cate_list a:hover {
    background: #f1fafa;
    color: var(--brcolor);
    padding-left: 16px;
}

/* 近期文章 */
.news_detail_recent {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news_detail_recent li + li {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #edf3f3;
}
.news_detail_recent a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.news_detail_recent_thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef4f4;
}
.news_detail_recent_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.news_detail_recent a:hover .news_detail_recent_thumb img {
    transform: scale(1.08);
}
.news_detail_recent_info h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: #33504e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s;
}
.news_detail_recent_info span {
    font-size: 12.5px;
    color: #a3b3b2;
}
.news_detail_recent_info span i {
    margin-right: 5px;
}
.news_detail_recent a:hover .news_detail_recent_info h4 {
    color: var(--brcolor);
}

/* 咨询引导卡片 */
.news_detail_cta {
    position: relative;
    padding: 32px 28px 30px;
    border-radius: 16px;
    background: linear-gradient(150deg, #04302f 0%, #036b69 55%, #00adaa 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.news_detail_cta::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.news_detail_cta_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 22px;
}
.news_detail_cta h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 20px;
    color: #fff;
    z-index: 2;
}
.news_detail_cta p {
    position: relative;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .82);
    z-index: 2;
}
.news_detail_cta_btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 30px;
    border-radius: 100px;
    background: #fff;
    color: #036b69;
    font-size: 15px;
    font-weight: 600;
    z-index: 2;
    transition: .3s;
}
.news_detail_cta_btn:hover {
    background: #eaf8f7;
    color: #018a87;
    transform: translateY(-2px);
}
.news_detail_cta_tel {
    position: relative;
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    z-index: 2;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
    .news_detail_hero h1 {
        font-size: 36px;
    }
    .news_detail_body {
        padding: 36px 36px 32px;
    }
}
@media (max-width: 991px) {
    .news_detail_hero {
        padding: 150px 0 52px;
    }
    .news_detail_hero h1 {
        font-size: 30px;
    }
    .news_detail_main {
        padding: 44px 0 64px;
    }
    .news_detail_widget,
    .news_detail_cta {
        margin-top: 0;
    }
}
@media (max-width: 767px) {
    .news_detail_hero {
        padding: 138px 0 44px;
    }
    .news_detail_hero h1 {
        font-size: 24px;
        margin: 14px 0 18px;
    }
    .news_detail_meta {
        gap: 8px 18px;
    }
    .news_detail_meta li {
        font-size: 13.5px;
    }
    .news_detail_cover img {
        aspect-ratio: 4 / 3;
    }
    .news_detail_body {
        padding: 26px 20px 24px;
    }
    .news_detail_lead {
        padding: 16px 18px;
        font-size: 15.5px;
    }
    .news_detail_content {
        font-size: 15.5px;
        line-height: 1.95;
    }
    .news_detail_content h2 {
        font-size: 20px;
        margin: 30px 0 14px;
    }
    .news_detail_foot {
        padding: 18px;
    }
    .news_detail_pager {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .news_detail_pager_item.is_next {
        text-align: left;
    }
    .news_detail_pager_item.is_next span {
        justify-content: flex-start;
    }
    .news_detail_widget {
        padding: 22px 20px;
    }
}
