﻿@charset "utf-8";

/* =========================================================
   News Detail Page
   ========================================================= */

.news-detail-page {
    width: 100%;
    padding: 58px 0 78px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
}


/* =========================================================
   Breadcrumb
   ========================================================= */

.news-breadcrumb-section {
    width: 100%;
    background: #f4f6f7;
    border-top: 1px solid #e7ebed;
    border-bottom: 1px solid #e7ebed;
}

.news-breadcrumb-section .container {
    min-height: 54px;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    min-height: 54px;
    color: #69767d;
    font-size: 14px;
    line-height: 24px;
}

.news-breadcrumb i {
    margin-right: 8px;
    color: #00A5F4;
    font-size: 15px;
}

.news-breadcrumb a {
    color: #4f5e66;
    text-decoration: none;
    transition: color 0.25s ease;
}

.news-breadcrumb a:hover {
    color: #00A5F4;
}

.news-breadcrumb em {
    margin: 0 9px;
    color: #a1aaaf;
    font-style: normal;
}


/* =========================================================
   Layout
   ========================================================= */

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: start;
    gap: clamp(28px, 3.3vw, 48px);
}

.news-detail-main {
    min-width: 0;
    padding: clamp(25px, 3vw, 40px);
    background: #ffffff;
    border: 1px solid rgba(31, 49, 59, 0.09);
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 14px 38px rgba(25, 47, 59, 0.07);
}


/* =========================================================
   Article Header
   ========================================================= */

.news-detail-head {
    margin-bottom: 25px;
}

.news-detail-head h1 {
    margin: 0;
    color: #202d34;
    font-size: clamp(28px, 2.55vw, 38px);
    font-weight: 700;
    line-height: 1.35;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 17px;
    color: #879198;
    font-size: 14px;
    line-height: 24px;
}

.news-detail-meta span {
    display: inline-flex;
    align-items: center;
}

.news-detail-meta i {
    margin-right: 7px;
    color: #01EFBA;
}

.news-detail-line {
    width: 100%;
    height: 3px;
    margin-top: 23px;
    background:
        linear-gradient(
            90deg,
            #00A5F4 0%,
            #01EFBA 82px,
            #e8ecee 82px,
            #e8ecee 100%
        );
}


/* =========================================================
   Summary
   ========================================================= */

.news-detail-summary {
    margin-bottom: 29px;
    padding: 20px 24px;
    color: #58666e;
    font-size: 15px;
    line-height: 28px;
    background:
        linear-gradient(
            90deg,
            rgba(0, 165, 244, 0.075) 0%,
            rgba(1, 239, 186, 0.045) 100%
        );
    border-left: 4px solid #00A5F4;
    box-sizing: border-box;
}

.news-detail-summary strong {
    margin-right: 5px;
    color: #202d34;
}


/* =========================================================
   Article Content
   ========================================================= */

.news-detail-content {
    color: #46555d;
    font-size: 16px;
    line-height: 2;
    overflow-wrap: break-word;
}

.news-detail-content p {
    margin: 0 0 18px;
}

.news-detail-content img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 25px auto;
}

.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    margin: 31px 0 16px;
    color: #202d34;
    font-weight: 700;
}

.news-detail-content h2 {
    font-size: 27px;
    line-height: 37px;
}

.news-detail-content h3 {
    font-size: 22px;
    line-height: 32px;
}

.news-detail-content h4 {
    font-size: 18px;
    line-height: 28px;
}

.news-detail-content a {
    color: #00A5F4;
    text-decoration: none;
}

.news-detail-content a:hover {
    color: #01D7C2;
    text-decoration: underline;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 0 0 20px 23px;
    padding: 0;
}

.news-detail-content li {
    margin-bottom: 8px;
}

.news-detail-content table {
    width: 100% !important;
    margin: 24px 0;
    border-collapse: collapse;
}

.news-detail-content table td,
.news-detail-content table th {
    padding: 12px;
    border: 1px solid #e4e9eb;
}

.news-detail-content table th {
    color: #ffffff;
    background: #263943;
}


/* =========================================================
   Share
   ========================================================= */

.news-detail-share {
    display: flex;
    align-items: center;
    margin-top: 37px;
    padding-top: 24px;
    border-top: 1px solid #e8ecee;
}

.news-detail-share span {
    margin-right: 12px;
    color: #68767d;
    font-size: 14px;
}

.news-detail-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 9px;
    color: #65747b;
    font-size: 15px;
    text-decoration: none;
    background: #f2f5f6;
    border-radius: 50%;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.news-detail-share a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #00A5F4 0%, #01EFBA 100%);
    transform: translateY(-2px);
}


/* =========================================================
   Previous and Next
   ========================================================= */

.blog-show-nav {
    margin-top: 35px;
    padding: 23px 26px;
    background: #f4f6f7;
    border-radius: 7px;
    box-sizing: border-box;
}

.blog-show-nav ul {
    margin: 0;
    padding: 0;
}

.blog-show-nav li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #65737a;
    font-size: 15px;
    line-height: 28px;
    list-style: none;
    overflow: hidden;
}

.blog-show-nav li:last-child {
    margin-bottom: 0;
}

.blog-show-nav .nav-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 84px;
    height: 29px;
    margin-right: 13px;
    color: #ffffff;
    font-size: 13px;
    line-height: 29px;
    background: linear-gradient(135deg, #00A5F4 0%, #01EFBA 100%);
    border-radius: 16px;
}

.blog-show-nav a {
    color: #53636b;
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-show-nav a:hover {
    color: #00A5F4;
}

.blog-show-nav li > a,
.blog-show-nav li > em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.blog-show-nav em {
    color: #9aa4a9;
    font-style: normal;
}


/* =========================================================
   Sidebar
   ========================================================= */

.news-detail-side {
    position: sticky;
    top: 100px;
    min-width: 0;
}

.news-side-box {
    margin-bottom: 27px;
    padding: 28px 26px;
    background: #ffffff;
    border: 1px solid rgba(31, 49, 59, 0.09);
    border-radius: 9px;
    box-sizing: border-box;
    box-shadow: 0 12px 34px rgba(25, 47, 59, 0.07);
}

.news-side-title {
    margin-bottom: 18px;
}

.news-side-title h3 {
    margin: 0;
    color: #202d34;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}

.news-side-title span {
    display: block;
    width: 46px;
    height: 4px;
    margin-top: 10px;
    background: linear-gradient(90deg, #00A5F4 0%, #01EFBA 100%);
}


/* Popular News */

.news-side-list a {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    color: #405159;
    font-size: 15px;
    line-height: 24px;
    text-decoration: none;
    border-bottom: 1px solid #e8ecee;
    transition:
        color 0.25s ease,
        padding 0.25s ease;
}

.news-side-list a:last-child {
    border-bottom: 0;
}

.news-side-list a i {
    flex: 0 0 auto;
    margin-top: 4px;
    margin-right: 8px;
    color: #01EFBA;
}

.news-side-list a span {
    max-height: 48px;
    overflow: hidden;
}

.news-side-list a:hover {
    padding-left: 5px;
    color: #00A5F4;
}


/* Categories */

.news-side-cate {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-side-cate a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 7px 16px;
    color: #3c4d55;
    font-size: 14px;
    text-decoration: none;
    background: #f2f5f6;
    border: 1px solid #e5eaec;
    border-radius: 20px;
    box-sizing: border-box;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.news-side-cate a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #00A5F4 0%, #01EFBA 100%);
    border-color: transparent;
}


/* =========================================================
   Tablet
   ========================================================= */




/* =========================================================
   Mobile
   ========================================================= */




/* =========================================================
   Solid Header for Detail Page Without Banner
   ========================================================= */

.news-detail-no-banner .site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(31, 49, 59, 0.1);
    box-shadow: 0 7px 26px rgba(20, 40, 50, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Navigation Text */

.news-detail-no-banner .site-header .nav-item > a {
    color: #263943;
    text-shadow: none;
}

.news-detail-no-banner .site-header .nav-item > a:hover,
.news-detail-no-banner .site-header .nav-item:hover > a {
    color: #00A5F4;
}


/* Language */

.news-detail-no-banner .site-header .topLanguage {
    color: #263943;
    text-shadow: none;
}

.news-detail-no-banner .site-header .topLanguage:hover {
    color: #00A5F4;
}


/* Search */

.news-detail-no-banner .site-header .header-search-input {
    color: #263943;
    background: #f3f5f6;
    border-color: #e0e6e8;
}

.news-detail-no-banner .site-header .header-search-input:focus {
    background: #ffffff;
    border-color: #01EFBA;
    box-shadow: 0 0 0 3px rgba(1, 239, 186, 0.14);
}


/* Keep Content Below Fixed Header */

.news-detail-no-banner .news-breadcrumb-section {
    margin-top: 90px;
}


/* Active News Navigation */

.news-detail-no-banner .site-header .nav-item > a.news,
.news-detail-no-banner .site-header .nav-item.active > a {
    color: #00A5F4;
}


/* =========================================================
   Mobile
   ========================================================= */




/* =========================================================
   Print
   ========================================================= */

@media print {

    .news-detail-no-banner .site-header,
    .news-detail-no-banner .news-breadcrumb-section,
    .news-detail-no-banner .news-detail-side,
    .news-detail-no-banner .news-detail-share {
        display: none;
    }

    .news-detail-no-banner .news-detail-page {
        padding-top: 0;
    }

}

/* =========================================================
   News Detail Solid Header Logo
   ========================================================= */
.news-detail-no-banner .site-header{
    background:#fff;
}

.news-detail-no-banner .site-header .header-logo img{
    display:block;
    opacity:1;
    visibility:visible;
}
