@charset "utf-8";

/* 专题中间内容；字体继承项目已有设置，标题采用图片底框加真实文字。 */
.Strolling_through_Beijing {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

/* 仅将已有导航叠放在首屏背景上，导航内部沿用共用样式。 */
.Strolling_through_Beijing > .newsTopNav,
.Strolling_through_Beijing > .newsTopNavMob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.Strolling_through_Beijing > .newsTopNav {
    background: transparent;
}

.Strolling_through_Beijing > .newsTopNav .newsTopNav-box {
    max-width: calc(100% - 40px);
}

.strolling-content {
    /* 超宽屏按 PSD 的 1920px 画幅同比例放大，背景尺寸不再跟随文字区域高度。 */
    --strolling-stage-unit: max(1px, 0.0520833333vw);
    --strolling-scene-width: calc(1920 * var(--strolling-stage-unit));
    --strolling-scene-height: calc(1018 * var(--strolling-stage-unit));
    overflow: hidden;
    color: #fff;
    background-color: #b7280e;
    background-image: url("./Strolling_through_Beijing_background.jpg"), url("./Strolling_through_Beijing_texture.jpg");
    background-position: top center;
    background-repeat: no-repeat, repeat-y;
}

.strolling-content *,
.strolling-content *::before,
.strolling-content *::after {
    box-sizing: border-box;
}

.strolling-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.strolling-hero {
    position: relative;
    min-height: var(--strolling-scene-height);
    padding: calc(227 * var(--strolling-stage-unit)) 0 calc(69 * var(--strolling-stage-unit));
}

.strolling-hero-title {
    width: calc(1052 * var(--strolling-stage-unit));
    margin: 0 0 0 calc(50% - 440 * var(--strolling-stage-unit));
    padding: 0 calc(18 * var(--strolling-stage-unit));
    color: #d91900;
    font-size: calc(80 * var(--strolling-stage-unit));
    line-height: calc(103 * var(--strolling-stage-unit));
    font-weight: 900;
    -webkit-text-stroke: calc(1 * var(--strolling-stage-unit)) currentColor;
    paint-order: stroke fill;
    text-shadow: 2px 3px 0 #ffdf9a;
    letter-spacing: -1px;
    text-align: right;
    filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 4px #fff0c4);
}

.strolling-hero-title span {
    display: block;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.strolling-intro {
    position: relative;
    width: calc(1153 * var(--strolling-stage-unit));
    max-width: calc(100% - 40px);
    min-height: calc(258 * var(--strolling-stage-unit));
    margin: calc(155 * var(--strolling-stage-unit)) auto 0;
    padding: 0;
    border: calc(60 * var(--strolling-stage-unit)) solid transparent;
    border-image: url("./Strolling_through_Beijing_intro.png") 60 fill / calc(60 * var(--strolling-stage-unit)) stretch;
    filter: drop-shadow(3px 5px 5px #85200d);
}

.strolling-intro p {
    color: #151515;
    font-size: calc(23 * var(--strolling-stage-unit));
    line-height: calc(34 * var(--strolling-stage-unit));
    font-weight: bold;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.strolling-intro p:lang(en) {
    hyphens: manual;
}

.strolling-sections {
    width: min(1252px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 51px;
}

.strolling-section {
    min-width: 0;
    min-height: 620px;
    padding-bottom: 90px;
}

.strolling-section-header {
    position: relative;
    display: flow-root;
    min-height: 190px;
    padding-bottom: 22px;
    text-align: center;
}

/* 标题和 MORE 共用一行；两侧留出空间，长标题增高时一起向下排。 */
.strolling-section-heading-row {
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 0;
    margin-top: -10px;
    padding-inline: 120px;
}

.strolling-section-title {
    --strolling-heading-image: url("./Strolling_through_Beijing_heading_small_bg.png");
    position: relative;
    isolation: isolate;
    width: fit-content;
    min-width: min(662px, 100%);
    max-width: 100%;
    min-height: 137px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 36px 52px 39px;
    color: #b51c14;
    font-size: 44px;
    line-height: 1.25;
    font-weight: bold;
    -webkit-text-stroke: 2px #fff4d6;
    paint-order: stroke fill;
    filter: drop-shadow(3px 5px 4px #842009);
}

.strolling-section-title::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: solid transparent;
    border-width: 60px 80px;
    border-image: var(--strolling-heading-image) 60 80 fill / 60px 80px stretch;
    pointer-events: none;
}

.strolling-section-title span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.strolling-section-title-wide {
    --strolling-heading-image: url("./Strolling_through_Beijing_heading_bg.png");
    min-width: min(785px, 100%);
}

.strolling-section-description {
    width: 960px;
    max-width: calc(100% - 180px);
    margin: 9px auto 0;
    font-size: 20px;
    line-height: 32px;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.strolling-more {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 82px;
    max-width: 96px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #e69477;
    border-radius: 30px;
    color: #fff;
    background: #b93b2d;
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.strolling-carousel-shell {
    --strolling-visible-slides: 3;
    --strolling-slide-gaps: 60px;
    --strolling-carousel-insets: 148px;
    position: relative;
}

.strolling-swiper {
    margin: 0 74px;
    overflow: hidden;
}

.strolling-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    color: inherit;
    text-decoration: none;
}

.strolling-card-image {
    flex-shrink: 0;
    aspect-ratio: 348 / 196;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
    border: 1px solid #315603;
    transition: border-color 240ms ease;
}

/* 正式图片可直接放入 strolling-card-image 内。 */
.strolling-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.strolling-card-caption {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    margin-top: 8px;
    padding: 14px 18px;
    border: 1px solid #f76847;
    border-radius: 14px;
    color: #151515;
    background: linear-gradient(100deg, #ffedcb, #f9dec1);
    text-align: center;
    transition: transform 240ms ease, box-shadow 240ms ease, color 240ms ease;
}

.strolling-card-caption p {
    font-size: 30px;
    line-height: 25px;
    font-weight: bold;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.strolling-arrow {
    --strolling-arrow-nudge: 0px;
    position: absolute;
    top: 0;
    z-index: 2;
    width: 74px;
    height: 74px;
    margin: 0;
    /* 上边距的百分比按容器宽度计算，因此始终对齐配图中心，不受长文案影响。 */
    margin-top: calc((100% - var(--strolling-carousel-insets) - var(--strolling-slide-gaps)) / var(--strolling-visible-slides) * 0.2844827586);
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: filter 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.strolling-prev {
    left: -5px;
}

.strolling-next {
    right: -5px;
}

.strolling-arrow:hover {
    filter: brightness(1.08);
}

.strolling-arrow img {
    transform: translateX(var(--strolling-arrow-nudge));
    transition: transform 180ms ease;
}

.strolling-arrow:active img {
    transform: translateX(var(--strolling-arrow-nudge)) scale(0.95);
}

.strolling-card:focus-visible .strolling-card-caption {
    transform: translateY(-3px);
    color: #b51c14;
    box-shadow: 0 10px 18px -12px rgba(83, 15, 5, 0.5);
}

@media (hover: hover) and (pointer: fine) {
    .strolling-card:hover .strolling-card-image {
        border-color: #f4d49a;
    }

    .strolling-card:hover .strolling-card-image img {
        transform: scale(1.035);
    }

    .strolling-card:hover .strolling-card-caption {
        transform: translateY(-3px);
        color: #b51c14;
        box-shadow: 0 10px 18px -12px rgba(83, 15, 5, 0.5);
    }

    .strolling-prev:hover {
        --strolling-arrow-nudge: -2px;
    }

    .strolling-next:hover {
        --strolling-arrow-nudge: 2px;
    }
}

.strolling-arrow:focus-visible,
.strolling-more:focus-visible {
    outline: 3px solid #fff0c9;
    outline-offset: 3px;
}

.strolling-card:focus-visible {
    outline: 3px solid #fff0c9;
    outline-offset: -3px;
    border-radius: 14px;
}

.strolling-arrow.swiper-button-lock {
    display: none;
}

@media screen and (min-width: 1025px) and (max-width: 1279px) {
    .strolling-content {
        --strolling-scene-width: 1735.17px;
        --strolling-scene-height: 920px;
    }

    .strolling-hero {
        min-height: 920px;
        padding-top: 210px;
        padding-bottom: 42px;
    }

    .strolling-hero-title {
        width: 75%;
        margin-left: 24%;
        font-size: 6.1vw;
        line-height: 1.28;
    }

    .strolling-intro {
        width: calc(100% - 80px);
        margin-top: 150px;
        border-width: 54px;
        border-image-width: 54px;
    }

    .strolling-intro p {
        font-size: 21px;
        line-height: 31px;
    }

    .strolling-section {
        min-height: 590px;
    }

    .strolling-section-description {
        font-size: 18px;
        line-height: 28px;
    }

    .strolling-card-caption p {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width: 1024px) {
    .strolling-content {
        background-image: url("./Strolling_through_Beijing_texture.jpg");
        background-position: center top;
        background-size: 960px auto;
        background-repeat: repeat-y;
    }

    .strolling-hero {
        min-height: 0;
        padding: clamp(132px, 30vw, 260px) 0 44px;
        background-image: url("./Strolling_through_Beijing_banner_M.jpg");
        background-size: auto clamp(430px, 75vw, 680px);
        background-position: center top;
        background-repeat: no-repeat;
    }

    .strolling-hero-title {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 32px);
        max-width: 760px;
        margin: 0 auto;
        padding: 14px 6px;
        font-size: clamp(20px, 6.2vw, 58px);
        line-height: 1.25;
        letter-spacing: -0.4px;
    }

    .strolling-intro {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 28px);
        max-width: 800px;
        min-height: 0;
        margin: clamp(100px, 25vw, 190px) auto 0;
        padding: 8px 0;
        border-width: 30px;
        border-image-width: 30px;
        transform: none;
    }

    .strolling-intro p {
        font-size: 16px;
        line-height: 25px;
    }

    .strolling-sections {
        width: calc(100% - 24px);
        max-width: 800px;
        padding-bottom: 36px;
    }

    .strolling-section {
        min-height: 0;
        padding-bottom: 64px;
    }

    .strolling-section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 0;
        padding: 0 0 14px;
    }

    .strolling-section-heading-row {
        display: contents;
    }

    .strolling-section-title {
        order: 0;
        min-width: min(480px, 100%);
        min-height: 90px;
        max-width: 100%;
        margin: 0 auto;
        padding: 25px 32px 27px;
        font-size: clamp(20px, 4.6vw, 34px);
        -webkit-text-stroke-width: 1px;
    }

    .strolling-section-title::before {
        border-width: 30px 40px;
        border-image-width: 30px 40px;
    }

    .strolling-section-title-wide {
        min-width: min(560px, 100%);
        font-size: clamp(16px, 4.5vw, 32px);
    }

    .strolling-section-description {
        order: 1;
        position: static;
        width: calc(100% - 32px);
        max-width: 640px;
        margin: 14px auto 0;
        transform: none;
        font-size: 16px;
        line-height: 26px;
    }

    .strolling-more {
        order: 2;
        align-self: flex-end;
        position: static;
        min-width: 66px;
        min-height: 26px;
        max-width: calc(100% - 72px);
        padding: 5px 10px;
        margin: 10px 36px 0 auto;
        font-size: 11px;
    }

    .strolling-swiper {
        margin: 0 40px;
    }

    .strolling-carousel-shell {
        --strolling-visible-slides: 1;
        --strolling-slide-gaps: 0px;
        --strolling-carousel-insets: 80px;
    }

    .strolling-card-caption {
        min-height: auto;
        padding: 14px 10px;
        border-radius: 10px;
    }

    .strolling-card-caption p {
        font-size: 16px;
        line-height: 23px;
    }

    .strolling-card-image {
        border-radius: 10px;
    }

    .strolling-arrow {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .strolling-prev {
        left: -3px;
    }

    .strolling-next {
        right: -3px;
    }
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
    .strolling-carousel-shell {
        --strolling-visible-slides: 2;
        --strolling-slide-gaps: 24px;
    }
}

@media screen and (max-width: 599px) {
    .strolling-section-title {
        min-height: 68px;
        padding: 21px 26px 23px;
    }

    .strolling-section-description {
        width: calc(100% - 28px);
        font-size: 15px;
        line-height: 24px;
    }

    .strolling-intro p {
        font-size: 15px;
        line-height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .strolling-arrow,
    .strolling-arrow img,
    .strolling-card-image,
    .strolling-card-image img,
    .strolling-card-caption {
        transition: none;
    }

    .strolling-arrow img,
    .strolling-arrow:active img,
    .strolling-card:hover .strolling-card-image img,
    .strolling-card:hover .strolling-card-caption,
    .strolling-card:focus-visible .strolling-card-caption {
        transform: none;
    }
}
