.page-hero {
    height: 500px;
    background: #151719;
    position: relative;
    color: white;
    overflow: hidden
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#111 0%,#151719 34%,transparent 75%),var(--page-image);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%
}

.page-hero .wrap {
    position: relative;
    padding-top: 65px
}

.page-hero h1 {
    font-size: 65px;
    line-height: 1.22;
    margin: 0 0 20px;
    letter-spacing: 2px
}

.page-hero h1 em {
    font-style: normal;
    color: #f22b40
}

.page-hero p {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.55;
    max-width: 650px;
    margin: 0 0 24px
}

.page-hero .actions {
    margin-top: 22px
}

.hero-tag {
    font-size: 13px;
    letter-spacing: 4px;
    color: #b9bdc3;
    margin-bottom: 17px
}

.metric-band {
    background: #f3f6fa
}

.metric-band .wrap {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: space-around
}

.metric-band .metric {
    flex: 1;
    border-right: 1px solid #c7ccd2;
    text-align: center
}

.metric-band .metric:last-child {
    border: 0
}

.metric-band strong {
    font-size: 36px;
    display: block
}

.metric-band span {
    font-size: 16px;
    color: #66717d
}

.content {
    max-width: 1400px;
    margin: auto;
    padding: 45px 26px
}

.content h2 {
    font-size: 32px;
    margin: 0 0 11px
}

.content h3 {
    font-size: 22px;
    margin: 0 0 12px
}

.content p {
    color: #333;
    font-size: 17px;
    line-height: 1.75
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.title-row a {
    font-weight: bold
}

.title-row a:hover {
    color: #f0293e
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 22px
}

.tile {
    background: #fff;
    border: 1px solid #e9edf2;
    overflow: hidden;
    transition: box-shadow 1s,transform .7s
}

.tile:hover {
    box-shadow: 0 14px 30px #1b293b22
}

.tile img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 1s
}

.tile:hover img {
    transform: scale(1.08)
}

.tile-body {
    padding: 22px
}

.tile-body h3 {
    margin: 0 0 8px
}

.tile-body p {
    margin: 0
}

.photo-tile {
    position: relative;
    height: 320px;
    overflow: hidden;
    color: #fff;
    background: #171b20
}

.photo-tile img {
    height: 100%
}

.photo-tile:after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent,#090c10dd)
}

.photo-tile .tile-body {
    position: absolute;
    bottom: 0;
    z-index: 1
}

.photo-tile .tile-body p {
    color: #e4e7eb
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin: 32px 0
}

.icon-box {
    padding: 20px;
    border: 1px solid #eef0f3;
    background: #fff;
    min-height: 150px
}

.icon-box img {
    width: 52px;
    height: 52px;
    display: block;
    margin-bottom: 12px
}

.icon-box h3 {
    font-size: 19px;
    margin: 0 0 5px
}

.icon-box p {
    font-size: 14px;
    margin: 0
}

.red {
    color: #f0293e
}

.soft {
    background: #f7f9fc
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.two-col>img {
    width: 100%;
    height: 400px;
    object-fit: cover
}

.pill-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0
}

.pill-tabs button,.line-tabs button {
    border: 0;
    background: #f2f4f7;
    padding: 12px 18px;
    color: #303843;
    font-size: 15px;
    cursor: pointer
}

.pill-tabs button.active,.pill-tabs button:hover {
    color: #fff;
    background: #ef293e
}

.line-tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    position: relative;
}
.line-tabs ol{
    list-style: none;
    padding: 0;
    margin: 0;
}

.line-tabs a {
    background: #fff;
    padding: 22px 14px;
    position: relative;
}
/* .line-tabs a::before{
    content: "";
    position: absolute;
    inset: 0;
    background: #ef293e;
} */

.line-tabs a.active,.line-tabs a:hover {
    /* border-bottom: 3px solid #ef293e; */
    color: #ef293e;
    position: relative;
}
.line-tabs a.active::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ef293e;
}
.line-tabs .sub-tabs {
    display: none;
    position: absolute;
    width: 100%;
    padding-top: 20px;
    top: 107px;
    left: 0;
}
.line-tabs .sub-tabs div{
    box-shadow: 0 0 20px 0px #bcbcbc;
    background: #fff;
    width: 100%;
    height: 60px;
    display: block;
    opacity: 0;
    justify-content: space-around;
    border-radius: 7px;
}
.line-tabs .arr{
    display: none;
    position: relative;
    width: 100%;
    height: 10px;
    margin-top: -8px;
}
.line-tabs ol:hover .sub-tabs {
    display: block;
}
.line-tabs ol:hover .sub-tabs div {
    opacity: 1;
    display: flex;
}
.line-tabs ol:hover .arr {
    display: block;
}
.line-tabs ol:hover .arr::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 35px;
    left: 45%;
    transform: rotate(45deg);
    background: #ffffff;
    z-index: 999;
}

.case-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 25px 0;
    border: 1px solid #e9edf1
}
/* 翻页 */
.pagination li span, .pagination li a {
    padding: 10px 20px;
}

.case-feature>img {
    width: 100%;
    height: 450px;
    object-fit: cover
}

.case-feature>div {
    padding: 45px
}

.case-feature .btn {
    margin-top: 25px
}

.case-card-link {
    display: block;
    border: 1px solid #e8eaf0
}

.case-card-link:hover {
    color: #e9283c
}

.case-card-link img {
    width: 100%;
    height: 230px;
    object-fit: cover
}

.case-card-link div {
    padding: 20px
}

.case-card-link p {
    font-size: 14px
}

.article-layout {
    display: grid;
    /* grid-template-columns: minmax(0,2fr) minmax(280px,1fr); */
    grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr);
    gap: 38px
}

.article-item {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 25px;
    border-bottom: 1px solid #e9eaf0;
    padding: 20px 0
}

.article-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform .3s;
}

.article-item img:hover {
    transform: scale(1.08)
}



.article-item h3 {
    font-size: 23px
}

.article-item small {
    color: #89919a
}

/* 正文 */
.cont_title{
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}
.cont_title span{
    padding: 2rem 10px;
    color: #999;
}
.cont_title h1{
    font-size: 28px;
}
.fly-detail-info{
    text-align: center;
    border-top: 1px solid #eef0f3;
    padding: 10px 0;
    color: #666;
}
/* 代码块 */
pre[class*="language-"].line-numbers {
  position: relative;
  padding-left: 3.8em;
  counter-reset: linenumber;
}
pre[class*="language-"].line-numbers > code {
  position: relative;
  white-space: inherit;
}
pre[class*="language-"] code {
  display: block;
  position: relative;
}
pre[class*="language-"] {
    background: #50556B !important;
    color: #fff !important;
    padding: 10px !important;
}

.article--copyright {
    padding: 30px;
    background: #eee;
}

/* 关键词云 */
.sidebar-card .keywords{ padding: 0px;text-align: justify;}
.sidebar-card .keywords li{ 
    list-style: none;
    background: #ffc0c0;
    margin: 0 3px 10px 0;
    display: inline-block;
    padding: 0px 7px;
}
.sidebar-card .keywords li::before{
    display: none;
}
.sidebar-card .keywords li:nth-child(2){
    background-color: beige;
}
.sidebar-card .keywords li:nth-child(3){
    background-color: rgb(220, 243, 245);
}
.sidebar-card .keywords li:nth-child(4){
    background-color: rgb(213, 232, 247);
}
.sidebar-card .keywords li:nth-child(5){
    background-color: rgb(245, 222, 210);
}
.sidebar-card .keywords li:nth-child(6){    
    background-color: rgb(245, 220, 231);
}
.sidebar-card .keywords li a:hover{
    transform: unset;
    transform: scale(1.08);
}


.sidebar-card {
    background: #fff;
    border: 1px solid #e7eaf0;
    padding: 25px;
    margin-bottom: 25px
}

.sidebar-card h3 {
    font-size: 24px
}

.sidebar-card a {
    display: block;
    padding: 12px 0;
    transition: all .3s;
    /* border-bottom: 1px solid #f0f1f3 */
}
.sidebar-card a.btn{
    padding: 12px 20px;
}
.sidebar-card a.btn:hover {
    transform: translateX(0px);
    transform: scale(1.08);
    color: #ffcfd4;
}
.sidebar-card a.ad-img:hover{
    transform: translateX(0px);
    transform: scale(1.08);
}
.sidebar-card a:hover {
    color: #f0293e;
    transform: translateX(10px);
}
.sidebar-card li{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f1f3;
    position: relative;
}
.sidebar-card li::before{
    content: "";
    position: absolute;
    bottom: 21px;
    left: -19px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background: #f0293e;
    transition: all .3s;
}
.sidebar-card li span {
    font-size: 14px;
    color: #89919a;
    vertical-align: bottom;
    padding: 12px 0;
}

.sidebar-card a:hover {
    color: #f0293e
}

.searchbar {
    display: flex;
    width: min(780px,100%);
    height: 60px
}

.searchbar input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    padding: 0 18px;
    font-size: 16px
}

.searchbar button {
    background: #ed273c;
    color: white;
    border: 0;
    padding: 0 30px
}
.searchbar button span {
    font-size: 35px;
    vertical-align: sub;
}

.article-hero {
    height: 350px
}

.article-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px
}

.toc {
    position: sticky;
    top: 20px;
    align-self: start;
    background: #fafbfd;
    padding: 25px
}

.toc a {
    display: block;
    padding: 13px 5px;
    border-bottom: 1px solid #eee
}

.toc a:hover {
    color: #f0293e
}

.prose h2 {
    border-left: 4px solid #f0293e;
    padding-left: 15px;
    margin-top: 35px
}

.prose img {
    width: 100%;
    max-height: 320px;
    object-fit: cover
}

.prose p {
    font-size: 18px;
    line-height: 1.9
}

.highlight {
    padding: 22px;
    background: #fff1f3;
    color: #333;
    border-radius: 6px
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 2px solid #f79aa4;
    margin: 60px 0 20px
}

.timeline div {
    position: relative;
    flex: 1;
    padding-top: 25px
}

.timeline div:before {
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    width: 15px;
    height: 15px;
    background: #ed293e;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #ed293e
}

.timeline b {
    color: #ec273a
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px
}

.form-card {
    border: 1px solid #e7eaf0;
    padding: 30px
}

.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.form-fields label {
    font-weight: bold
}

.form-fields input,.form-fields select,.form-fields textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #dce1e7;
    padding: 14px;
    font: inherit
}

.form-fields .full {
    grid-column: 1/-1
}

.form-card button {
    margin-top: 22px;
    width: 100%
}

.form-message {
    color: #d52338;
    min-height: 24px
}

.contact-info p {
    font-size: 18px
}

.contact-info img {
    width: 100%;
    height: 290px;
    object-fit: cover
}

.accordion button {
    width: 100%;
    background: #fff;
    border: 1px solid #e7eaf0;
    text-align: left;
    padding: 18px;
    font: inherit;
    font-weight: bold
}

.accordion .panel {
    display: none;
    padding: 18px;
    border: 1px solid #eee
}

.accordion.open .panel {
    display: block
}

.filter-count {
    color: #888;
    font-size: 14px
}

.detail-stat {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    background: #f5f7fa;
    padding: 25px
}

.detail-stat strong {
    font-size: 35px;
    color: #e8273b
}

.detail-stat span {
    display: block
}

.footer-callout {
    background: linear-gradient(110deg,#1a1b1f,#500a12);
    color: #fff;
    padding: 30px 0
}

.footer-callout .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-callout h2 {
    margin: 0
}

.no-results {
    padding: 45px;
    text-align: center;
    color: #777
}

@media(max-width: 800px) {
    .page-hero {
        height:440px
    }

    .page-hero h1 {
        font-size: 42px
    }

    .page-hero:before {
        background-position: 55% center
    }

    .metric-band .wrap {
        height: auto;
        padding: 20px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .metric-band .metric {
        min-width: 45%;
        padding: 12px
    }

    .tile-grid,.icon-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .two-col,.case-feature,.article-layout,.article-body,.contact-grid {
        grid-template-columns: 1fr
    }

    .toc {
        position: static
    }

    .case-feature>img {
        height: 300px
    }

    .timeline {
        flex-wrap: wrap
    }

    .timeline div {
        min-width: 40%
    }
}

@media(max-width: 550px) {
    .tile-grid,.icon-grid,.form-fields {
        grid-template-columns:1fr
    }

    .article-item {
        grid-template-columns: 1fr
    }

    .article-item img {
        height: 210px
    }

    .footer-callout .wrap {
        display: block
    }

    .page-hero .wrap {
        padding-top: 45px
    }

    .page-hero h1 {
        font-size: 37px
    }

    .page-hero p {
        font-size: 16px
    }

    .content {
        padding: 30px 20px
    }

    .cont_title{
        flex-flow: column;
        text-align: center;
    }
    .cont_title span{
        padding: 0px;
    }

    .case-feature>div {
        padding: 25px
    }

    .line-tabs {
        overflow-x: auto
    }
    .line-tabs ol{
        padding: 30px 0;
    }
    .line-tabs .sub-tabs{
        display: none;
    }
    .line-tabs ol:hover .sub-tabs{
        display: none;
    }

    .line-tabs button {
        white-space: nowrap
    }
}
