#case-filter{
    padding-bottom: 80px;
}
.brand img{
    margin-bottom: 0px;
}
.page-hero {
    height: 500px;
    background: #151719;
    position: relative;
    color: white;
    overflow: hidden
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--page-image);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    -webkit-mask: linear-gradient(90deg, transparent 50%, #000 75%);
    mask: linear-gradient(90deg, transparent 50%, #000 75%);
}
@media screen and (min-width: 2000px) {
    .page-hero:before {
        -webkit-mask: linear-gradient(90deg, transparent 62%, #000 78%);
        mask: linear-gradient(90deg, transparent 62%, #000 78%);
    }
}

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

.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: 47px
}

.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;
    color: var(--main-color);
}

.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: #66717d;
    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 10px;
    border: 1px solid #eef0f3;
    background: #fff;
    min-height: 150px;
    text-align: center;
}

.icon-box img {
    width: 52px;
    height: 52px;
    display: block;
    margin: 0 auto;
    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 a,.line-tabs a {
    border: 0;
    background: #f2f4f7;
    padding: 12px 18px;
    color: #303843;
    font-size: 15px;
    cursor: pointer
}

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

/* 图片橱窗 Lightbox */
.case-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999
}
.case-lightbox.show {
    display: flex
}
.case-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .5)
}
.case-lightbox .lb-close,
.case-lightbox .lb-prev,
.case-lightbox .lb-next {
    position: absolute;
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}
.case-lightbox .lb-close:hover,
.case-lightbox .lb-prev:hover,
.case-lightbox .lb-next:hover {
    background: rgba(255, 255, 255, .35)
}
.case-lightbox .lb-close {
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    font-size: 28px
}
.case-lightbox .lb-prev,
.case-lightbox .lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 18px
}
.case-lightbox .lb-prev {
    left: 100px
}
.case-lightbox .lb-next {
    right: 100px
}
.case-end {
    text-align: center;
    padding-top: 100px;
    color: #ccc;
    position: relative;
    line-height: 0px;
}
.case-end::after,
.case-end::before {
    content: "";
    display: block;
    width: 40%;
    height: 1px;
    background: #ebebeb;
    position: absolute;
    left: 6%;
}
.case-end::before {
    right: 6%;
    left: auto;
}
@media (max-width: 768px) {
    .case-lightbox .lb-close { top: 12px; right: 12px; width: 34px; height: 34px; font-size: 24px }
    .case-lightbox .lb-prev { left: 8px; width: 38px; height: 38px }
    .case-lightbox .lb-next { right: 8px; width: 38px; height: 38px }
}

.line-tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd
}

.line-tabs button {
    background: #fff;
    padding: 22px 14px
}

.line-tabs button.active {
    border-bottom: 3px solid #ef293e;
    color: #ef293e
}

.case-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 25px 0;
    border: 1px solid #e9edf1
}

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

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

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

.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);
    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
}

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

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

.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;
    border-bottom: 1px solid #f0f1f3
}

.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
}

.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;
    display: block;
}

.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
    }

    .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
    }

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

    .line-tabs {
        overflow-x: auto
    }

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