
/* ==========================================================================
   城市页统一为敦煌式样：整屏居中主视觉 + 数据条
   ========================================================================== */
body.dhlike .cd-hero {
    min-height: auto;
    height: auto;
    max-height: 100svh;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    overflow: hidden;
}
body.dhlike .cd-hero .container {
    justify-content: center;
    align-items: center;
}
/* 与参考图一致：不放卡片，直接用文字压在画面上 */
body.dhlike .cd-hero__box {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.dhlike .cd-hero h1 {
    position: static; width: auto; height: auto; margin: 0 0 .35rem; padding: 0;
    overflow: visible; clip-path: none; white-space: normal; border: 0;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
    font-size: clamp(3.2rem, 8vw, 5.4rem);
    line-height: 1.1; letter-spacing: .12em; color: #fdf6e6;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}
body.dhlike .cd-hero__en {
    position: static; width: auto; height: auto; margin: 0 0 1rem; padding: 0;
    overflow: visible; clip-path: none; white-space: normal; border: 0;
    display: block; font-size: .72rem; letter-spacing: .42em; color: rgba(216, 180, 116, .9);
}
body.dhlike .cd-hero__eyebrow { margin-bottom: .7rem; letter-spacing: .24em; }
body.dhlike .cd-hero__tagline {
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.1rem, 1.8vw, 1.38rem);
    letter-spacing: .14em; color: #f0dcb4; margin: 0 0 .7rem;
}
body.dhlike .cd-hero__desc { font-size: .9rem; line-height: 1.95; color: rgba(255,255,255,.84); margin: 0 auto 1.3rem; max-width: 38rem; }
body.dhlike .cd-hero__actions { justify-content: center; }
body.dhlike .cd-hero::after { display: none; }
/* 与敦煌一致：壁纸整幅铺满，保留其自带的书画标题 */
/* 整幅壁纸完整显示，不裁剪 */
body.dhlike .cd-hero { background-color: #E8DDC6; }
body.dhlike .cd-hero::before {
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (max-width: 760px) {
    /* 手机：图整幅铺在顶部，文字区在下方，图不裁切 */
    body.dhlike .cd-hero {
        aspect-ratio: auto;
        min-height: 0;
        padding: calc(56.25vw + 78px) 0 0;
        background-color: #14201c;
        align-items: flex-start;
    }
    body.dhlike .cd-hero::before {
        top: 66px;
        bottom: 0;
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        background-color: transparent;
    }
    body.dhlike .cd-hero::after { display: none; }
    body.dhlike .cd-hero__box {
        background: rgba(18, 26, 23, .74);
        border-radius: .9rem;
        padding: 1.1rem .95rem 1.15rem;
    }
    body.dhlike .cd-hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}

/* 数据条：与敦煌一致的四格渐变条 */
.dhstats {
    background: linear-gradient(135deg, #193B38 0%, #245247 34%, #8a5a33 74%, #b4823f 100%);
    color: #fff;
}
.dhstats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    padding: 2.2rem 0;
    text-align: center;
}
.dhstats b {
    display: block;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    letter-spacing: .04em;
    color: #fdf6e6;
}
.dhstats span { display: block; margin-top: .25rem; font-size: .78rem; color: rgba(255,255,255,.75); }
@media (max-width: 760px) {
    body.dhlike .cd-hero { padding: 6rem 0 4rem; }
    body.dhlike .cd-hero__box { padding: 1.1rem 1rem 1.2rem; }
    .dhstats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.6rem 0; }
}

body.dhlike .cd-hero__scrim {
    background:
        radial-gradient(60% 54% at 50% 52%, rgba(12, 18, 15, .72) 0%, rgba(12, 18, 15, .5) 46%, rgba(12, 18, 15, .12) 78%, rgba(12, 18, 15, 0) 100%),
        linear-gradient(0deg, rgba(14, 20, 17, .38), rgba(14, 20, 17, 0) 38%);
}
body.dhlike .cd-hero__eyebrow {
    display: inline-block;
    padding: .3rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
    font-size: .72rem;
}

/* 首屏较亮，导航顶部再压一层，保证品牌与链接可读 */
body.dhlike .navbar::before {
    background: linear-gradient(180deg, rgba(8, 14, 12, .92) 0%, rgba(8, 14, 12, .6) 56%, rgba(8, 14, 12, .16) 86%, transparent 100%);
}

/* 无卡片后靠描边阴影保证文字可读 */
body.dhlike .cd-hero h1 { text-shadow: 0 4px 26px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .35); }
body.dhlike .cd-hero__tagline { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
body.dhlike .cd-hero__desc { text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }

/* 压暗与敦煌首屏一致：竖直三层渐变，中间最轻 */
body.dhlike .cd-hero::before {
    background-image:
        linear-gradient(rgba(17, 24, 39, .46) 0%, rgba(17, 24, 39, .16) 45%, rgba(17, 24, 39, .52) 100%),
        var(--hero-img) !important;
    background-size: cover, cover !important;
    background-position: center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
    filter: brightness(1.07) saturate(1.03);
}
/* 额外的旧压暗层关掉，避免叠加 */
body.dhlike .cd-hero__scrim { display: none; }

/* 压暗与敦煌一致后，用文字阴影补可读性（不改动压暗参数） */
body.dhlike .cd-hero h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 10px 34px rgba(0, 0, 0, .65);
}
body.dhlike .cd-hero__tagline {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 6px 20px rgba(0, 0, 0, .6);
}
body.dhlike .cd-hero__desc {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8), 0 4px 16px rgba(0, 0, 0, .7);
}

/* 高亮文字本体，弥补压暗变浅后的对比 */
body.dhlike .cd-hero h1 { -webkit-text-stroke: .4px rgba(20, 28, 24, .35); }
body.dhlike .cd-hero__tagline { color: #ffe6b8; }
body.dhlike .cd-hero__desc { color: #fff; }
body.dhlike .cd-hero__en { color: rgba(255, 236, 198, .95); }
