/* BSTTV R2R4 Homepage Three-Mode Candidate */

.r2r4-identity{
    display:grid;
    grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
    gap:36px;
    align-items:end;
    padding:56px 0 34px;
}

.r2r4-identity h1{
    margin:10px 0 18px;
    font-size:clamp(3rem,6vw,5.8rem);
    line-height:.98;
    letter-spacing:-.035em;
}

.r2r4-identity-copy>p{
    max-width:760px;
    color:#57534e;
    font-weight:650;
    line-height:1.9;
}

.r2r4-kicker{
    font-size:12px;
    font-weight:900;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:#b91c1c;
}

.r2r4-weather{
    border:1px solid #e7e5e4;
    border-radius:24px;
    background:rgba(255,255,255,.92);
    padding:22px;
    box-shadow:0 16px 44px rgba(28,25,23,.08);
}

.r2r4-weather-place{
    margin-top:5px;
    font-size:18px;
    font-weight:900;
}

.r2r4-weather-main{
    margin-top:18px;
    display:flex;
    align-items:center;
    gap:16px;
}

.r2r4-weather-icon{
    width:58px;
    height:58px;
}

.r2r4-weather-icon svg{
    width:58px;
    height:58px;
    fill:none;
    stroke:#a16207;
    stroke-width:3.5;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.r2r4-weather-temp{
    font-size:32px;
    line-height:1;
    font-weight:950;
    letter-spacing:-.04em;
}

.r2r4-weather-text{
    margin-top:6px;
    color:#57534e;
    font-weight:800;
}

.r2r4-weather-source{
    margin-top:16px;
    color:#a8a29e;
    font-size:11px;
    font-weight:700;
}

.r2r4-mode-debug{
    margin:4px 0 26px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:11px;
    color:#78716c;
}

.r2r4-mode-debug span{
    border-radius:999px;
    background:#1c1917;
    color:#fff;
    padding:5px 9px;
    font-weight:900;
    letter-spacing:.14em;
}

.r2r4-mode-debug strong{
    color:#b91c1c;
}

.r2r4-surface{
    margin:0 0 54px;
}

.r2r4-section-head{
    margin-bottom:24px;
}

.r2r4-section-head h2{
    margin:8px 0 8px;
    font-family:"Noto Serif TC","PMingLiU",serif;
    font-size:clamp(2rem,3.8vw,3.7rem);
    line-height:1.15;
}

.r2r4-section-head p{
    color:#78716c;
    font-weight:650;
}

.r2r4-photo-feature{
    display:grid;
    grid-template-columns:1.18fr .82fr;
    min-height:400px;
    overflow:hidden;
    border-radius:30px;
    border:1px solid #e7e5e4;
    background:#fff;
    text-decoration:none;
    color:#1c1917;
    box-shadow:0 20px 50px rgba(28,25,23,.08);
}

.r2r4-photo-art{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    grid-template-rows:1fr 1fr;
    gap:8px;
    padding:8px;
    background:#1c1917;
}

.r2r4-photo-tile{
    border-radius:20px;
    min-height:150px;
    background:
        radial-gradient(circle at 25% 25%,rgba(255,255,255,.30),transparent 22%),
        linear-gradient(135deg,#7f1d1d,#d97706 55%,#292524);
}

.r2r4-photo-tile-a{
    grid-row:1 / span 2;
    background:
        radial-gradient(circle at 35% 35%,rgba(253,230,138,.42),transparent 20%),
        linear-gradient(150deg,#450a0a,#b91c1c 45%,#78350f);
}

.r2r4-photo-tile-b{
    background:
        radial-gradient(circle at 62% 30%,rgba(255,255,255,.24),transparent 18%),
        linear-gradient(135deg,#1c1917,#57534e);
}

.r2r4-photo-tile-c{
    background:
        radial-gradient(circle at 35% 65%,rgba(253,230,138,.32),transparent 20%),
        linear-gradient(135deg,#92400e,#292524);
}

.r2r4-photo-copy{
    padding:48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.r2r4-photo-copy h3,
.r2r4-feature-card h3{
    margin:8px 0 14px;
    font-family:"Noto Serif TC","PMingLiU",serif;
    font-size:clamp(1.8rem,3vw,3rem);
}

.r2r4-photo-copy p,
.r2r4-feature-card p{
    color:#57534e;
    line-height:1.85;
    font-weight:600;
}

.r2r4-photo-copy span,
.r2r4-feature-card span{
    margin-top:22px;
    font-weight:950;
}

.r2r4-two-cards{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:20px;
}

.r2r4-feature-card{
    display:flex;
    min-height:250px;
    flex-direction:column;
    border:1px solid #e7e5e4;
    border-radius:26px;
    padding:32px;
    background:#fff;
    color:#1c1917;
    text-decoration:none;
}

.r2r4-feature-card-dark{
    background:#1c1917;
    border-color:#1c1917;
    color:#fff;
}

.r2r4-feature-card-dark .r2r4-kicker{
    color:#fca5a5;
}

.r2r4-feature-card-dark p{
    color:#d6d3d1;
}

.r2r4-pilgrimage-grid{
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:20px;
}

.r2r4-button-light{
    margin-top:22px;
    display:inline-flex;
    width:max-content;
    border-radius:14px;
    background:#fff;
    color:#1c1917;
    padding:12px 16px;
    font-weight:950;
    text-decoration:none;
}

.r2r4-timeline{
    margin-top:20px;
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:10px;
}

.r2r4-timeline-node{
    border-radius:18px;
    border:1px solid #e7e5e4;
    background:#fff;
    padding:18px 14px;
}

.r2r4-timeline-label{
    font-size:13px;
    font-weight:950;
}

.r2r4-timeline-time{
    margin-top:8px;
    color:#78716c;
    font-size:12px;
    line-height:1.55;
}

.r2r4-zanjing-head{
    display:flex;
    justify-content:space-between;
    gap:22px;
    align-items:end;
}

.r2r4-map-open{
    flex:0 0 auto;
    border-radius:15px;
    background:#b91c1c;
    color:#fff;
    padding:12px 16px;
    font-weight:950;
    text-decoration:none;
}

.r2r4-map-shell{
    overflow:hidden;
    border-radius:28px;
    border:1px solid #d6d3d1;
    background:#e7e5e4;
    box-shadow:0 22px 50px rgba(28,25,23,.11);
}

.r2r4-map-shell iframe{
    display:block;
    width:100%;
    height:min(68vh,720px);
    min-height:560px;
    border:0;
    background:#e7e5e4;
}

.r2r4-map-note{
    margin-top:14px;
    color:#57534e;
    font-size:13px;
    line-height:1.75;
}

@media(max-width:900px){
    .r2r4-identity,
    .r2r4-photo-feature,
    .r2r4-two-cards,
    .r2r4-pilgrimage-grid{
        grid-template-columns:1fr;
    }

    .r2r4-identity{
        gap:22px;
        padding-top:34px;
    }

    .r2r4-photo-feature{
        min-height:0;
    }

    .r2r4-photo-art{
        min-height:280px;
    }

    .r2r4-photo-copy{
        padding:28px;
    }

    .r2r4-timeline{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .r2r4-zanjing-head{
        align-items:start;
        flex-direction:column;
    }

    .r2r4-map-shell iframe{
        height:62vh;
        min-height:500px;
    }
}
/* R2R4A2 Visual Fidelity */
.r2r4-identity #hero-text{
    display:block;
    margin:10px 0 18px;
    min-height:2em;
}

.r2r4-photo-tile{
    position:relative;
    overflow:hidden;
    margin:0;
    background:#292524;
}

.r2r4-photo-tile img{
    display:block;
    width:100%;
    height:100%;
    min-height:100%;
    object-fit:cover;
    transform:scale(1.001);
}

.r2r4-photo-tile figcaption{
    position:absolute;
    left:12px;
    bottom:12px;
    max-width:calc(100% - 24px);
    border:1px solid rgba(255,255,255,.20);
    border-radius:999px;
    padding:6px 10px;
    background:rgba(28,25,23,.74);
    backdrop-filter:blur(8px);
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:900;
    letter-spacing:.04em;
}

.r2r4-zanjing-title{
    margin:8px 0 8px;
    font-family:"Noto Serif TC","PMingLiU",serif;
    font-size:clamp(1.75rem,3vw,2.75rem);
    line-height:1.18;
    letter-spacing:-.025em;
}

.r2r4-zanjing-title span{
    display:block;
}

@media(max-width:900px){
    .r2r4-identity #hero-text{
        min-height:2.1em;
    }

    .r2r4-zanjing-title{
        font-size:clamp(1.55rem,7vw,2.15rem);
    }

    .r2r4-photo-tile figcaption{
        left:9px;
        bottom:9px;
        font-size:10px;
    }
}
/* R2R4A2R2 Zanjing Presentation Microfix */
.r2r4-zanjing-head{
    position:relative;
    display:block;
}

.r2r4-zanjing-head > div:first-child{
    width:100%;
}

.r2r4-zanjing-head .r2r4-zanjing-title{
    width:min(100%, 960px);
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

.r2r4-zanjing-head > div:first-child > p{
    padding-right:180px;
}

.r2r4-zanjing-head > .r2r4-map-open{
    position:absolute;
    right:0;
    bottom:0;
}

@media(max-width:900px){
    .r2r4-zanjing-head > div:first-child > p{
        padding-right:0;
    }

    .r2r4-zanjing-head > .r2r4-map-open{
        position:static;
        margin-top:16px;
    }
}