.a1-chapters{display:block}.a1-chapters .topic-card{margin:24px 0;padding:24px 0;border-bottom:1px solid currentColor}.a1-chapters h2{font-family:'Gelasio',serif;font-size:clamp(24px,3vw,34px)}.a1-chapter-nav ul,.a1-relations ul{display:flex;flex-wrap:wrap;gap:16px 32px;padding-left:20px}.a1-chapter-nav li{max-width:100%}.a1-chapters .topic-detail{margin:16px 0}.a1-relations a{text-decoration:underline}.pillar-header nav{gap:20px;align-items:center;flex-wrap:wrap}.a1-nav-group{position:relative}.a1-nav-group summary{cursor:pointer}.a1-nav-group>div{position:absolute;z-index:30;right:0;top:100%;min-width:250px;max-width:calc(100vw - 40px);padding:16px;background:#fbf7ed;color:#493e35;box-shadow:0 3px 12px #0003}.a1-nav-group>div a{display:block;white-space:normal;margin:10px 0;color:inherit}.pillar-header a:focus-visible,.a1-nav-group summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}.a1-relations{padding-top:32px;padding-bottom:32px}footer nav{display:flex;gap:20px;flex-wrap:wrap}@media(max-width:680px){.pillar-header{flex-wrap:wrap;gap:16px}.pillar-header nav{display:flex;gap:16px;font-size:14px}.a1-nav-group>div{position:fixed;left:20px;right:20px;top:auto;min-width:0}.a1-chapters .topic-card{padding:20px 0}} 
.locator svg text{fill:#493e35!important}
.a1-chapter-nav{display:block!important;position:static!important;inset:auto!important;background:transparent!important;padding:0!important;max-height:none!important;overflow:visible!important}.a1-chapter-nav button{margin-top:16px;padding:12px 16px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit}.seo-breadcrumbs{display:block!important}
nav[aria-label="Breadcrumb"]{display:block!important;position:static!important;inset:auto!important;padding:16px 24px!important;background:transparent!important;max-height:none!important;overflow:visible!important}
.locator svg text{color:#493e35!important}

/* Shared city footer: bounded columns and a compact utility row. */
footer.ccw-pillar-footer{display:block;padding:44px 5% 0;background:#493e35;color:#f5f2e9}
.ccw-footer-inner{max-width:1152px;margin:0 auto;width:100%}
.ccw-footer-main{display:grid;grid-template-columns:1fr 1fr;gap:64px;padding-bottom:32px}
footer.ccw-pillar-footer .brand{display:inline-block;font-family:Gelasio,serif;font-size:24px;line-height:32px}
.ccw-footer-brand>p{font-size:13px;line-height:24px;letter-spacing:1px;margin-top:16px}
.ccw-footer-label{font-size:14px;line-height:24px;margin:0 0 12px;color:#f5f2e9}
footer.ccw-pillar-footer nav{display:grid;grid-template-columns:1fr 1fr;position:static;gap:12px 32px;padding:0;background:transparent;width:auto;max-height:none}
footer.ccw-pillar-footer nav a{display:block;font-size:15px;line-height:24px;margin:0;padding:0;color:#f5f2e9}
footer.ccw-pillar-footer a:hover{text-decoration:underline}
.ccw-footer-bottom{border-top:1px solid #f5f2e933;padding:18px 0 0;font-size:13px;line-height:24px}
body:has(.ccw-pillar-footer) .ccw-photo-credits{max-width:none!important;margin:0!important;padding:12px max(5%,calc((100% - 1152px)/2)) 24px!important;background:#493e35;color:#f5f2e9!important;font-size:12px!important;line-height:22px!important}
body:has(.ccw-pillar-footer) .ccw-photo-credits a{color:inherit;text-decoration:underline}
body:has(.ccw-pillar-footer) .ccw-photo-credits summary{cursor:pointer}
@media(max-width:639px){footer.ccw-pillar-footer{padding:32px 6% 0}.ccw-footer-main{grid-template-columns:1fr;gap:28px;padding-bottom:28px}footer.ccw-pillar-footer nav{display:grid!important;grid-template-columns:1fr 1fr;gap:12px 20px}.ccw-footer-brand>p{margin-top:12px}body:has(.ccw-pillar-footer) .ccw-photo-credits{padding-left:6%!important;padding-right:6%!important}}

/* Copyright and photo attribution share one compact utility bar. */
.ccw-pillar-footer .ccw-footer-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;padding:16px 0 20px}
.ccw-pillar-footer .ccw-footer-bottom>p{margin:0;font-size:13px;line-height:22px;flex-shrink:0}
body:has(.ccw-pillar-footer) .ccw-footer-bottom .ccw-photo-credits{margin:0!important;padding:0!important;max-width:100%!important;font-size:12px!important;line-height:22px!important}
.ccw-footer-bottom .ccw-photo-credits ul{margin:8px 0 0;padding-left:18px;max-width:560px;overflow-wrap:anywhere}

/* Beijing editorial destination guide. */
.ccw-destination-editorial{--guide-width:1152px}
.ccw-destination-editorial>.page-heading,.ccw-destination-editorial>.pillar-tabs,.ccw-destination-editorial>#overview,.ccw-destination-editorial>#chapters{width:calc(100% - 80px);max-width:var(--guide-width);margin-left:auto;margin-right:auto;box-sizing:border-box}
.ccw-destination-editorial>.page-heading{padding:48px 0 28px}
.ccw-destination-editorial>.page-heading p{max-width:850px;margin-top:20px}
.ccw-destination-editorial>.pillar-tabs{display:flex;justify-content:flex-start;gap:0;padding:0;border-top:1px solid #493e3533;border-bottom:1px solid #493e3533;background:transparent;border-radius:0;position:static;flex-wrap:wrap}
.ccw-destination-editorial>.pillar-tabs a{padding:18px 22px;border-right:1px solid #493e3526;font-size:15px;line-height:24px}
.ccw-destination-editorial>.pillar-tabs a:first-child{padding-left:0;padding-right:28px;color:#a43c32}
.ccw-destination-editorial>.pillar-tabs a:hover{color:#a43c32;text-decoration:underline}
.ccw-destination-editorial>#overview{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;align-items:start;padding:48px 0}
.ccw-destination-editorial>#overview h2{font-size:36px;line-height:1.3;margin-bottom:20px}
.ccw-destination-editorial>#overview p{margin:0;max-width:none}
.ccw-destination-editorial .trip-note{padding:24px 28px;border-left:3px solid #a43c32;background:#e2e5d8;margin:0}
.ccw-destination-editorial .trip-note h3{font-size:24px;line-height:32px;margin:0 0 16px}
.ccw-destination-editorial .trip-note ul{display:grid!important;grid-template-columns:1fr;gap:12px;list-style:none;padding:0;margin:0}
.ccw-destination-editorial .trip-note li{display:block;margin:0;padding:0 0 0 18px;position:relative;font-size:16px;line-height:26px}
.ccw-destination-editorial .trip-note li:before{content:'•';position:absolute;left:0;color:#a43c32}
.ccw-destination-editorial>#chapters{display:grid;grid-template-columns:240px minmax(0,1fr);column-gap:40px;row-gap:24px;padding:8px 0 56px;align-items:start}
.ccw-destination-editorial .a1-chapter-nav{grid-column:1;grid-row:1 / span 6;border-top:3px solid #a43c32;align-self:stretch;counter-reset:chapter}
.ccw-destination-editorial .a1-chapter-nav ul{display:block;list-style:none;margin:0;padding:8px 0 0}
.ccw-destination-editorial .a1-chapter-nav li{margin:0;border-bottom:1px solid #493e3526;counter-increment:chapter}
.ccw-destination-editorial .a1-chapter-nav li a{display:grid;grid-template-columns:26px 1fr;gap:8px;padding:14px 0;font-size:14px;line-height:23px;color:#493e35}
.ccw-destination-editorial .a1-chapter-nav li a:before{content:counter(chapter,decimal-leading-zero);color:#a43c32}
.ccw-destination-editorial .a1-chapter-nav li a:hover{color:#a43c32}
.ccw-destination-editorial .a1-chapter-nav button{width:100%;font-size:14px;line-height:22px;color:#a43c32;border:1px solid #a43c3266;padding:12px;margin-top:20px}
.ccw-destination-editorial .a1-chapters>.topic-card{grid-column:2;display:grid;grid-template-columns:32% minmax(0,1fr);margin:0;padding:0;background:#f5f2e9;border:1px solid #493e3526;border-radius:0;overflow:hidden;box-shadow:none;scroll-margin-top:24px}
.ccw-destination-editorial .chapter-photo{width:100%;height:100%;min-height:290px;object-fit:cover;display:block}
.ccw-destination-editorial .chapter-copy{padding:24px;min-width:0}
.ccw-destination-editorial .chapter-number{display:block;font-family:Arimo,sans-serif;font-size:13px;line-height:20px;color:#a43c32;letter-spacing:2px;margin-bottom:10px}
.ccw-destination-editorial .a1-chapters h2{font-size:28px;line-height:36px;margin:0 0 14px}
.ccw-destination-editorial .a1-chapters .topic-summary{margin:0;font-size:18px;line-height:32px}
.ccw-destination-editorial .topic-detail{margin:16px 0!important;font-size:16px;line-height:28px}
.ccw-destination-editorial .topic-detail summary{font-size:15px;line-height:24px;color:#a43c32;padding:6px 0;cursor:pointer}
.ccw-destination-editorial .topic-detail p{margin:12px 0}
.ccw-destination-editorial .topic-link{margin-top:18px;border-top:1px solid #493e3526;padding-top:14px}
.ccw-destination-editorial .topic-link a{font-size:15px;line-height:25px;color:#a43c32;display:block}
.ccw-destination-editorial .a1-chapters>.chapter-planning{grid-template-columns:1fr;background:#e2e5d8;border-top:3px solid #a43c32}
@media(max-width:1000px){.ccw-destination-editorial>#chapters{grid-template-columns:200px minmax(0,1fr);gap:24px}.ccw-destination-editorial .a1-chapters>.topic-card{grid-template-columns:1fr}.ccw-destination-editorial .chapter-photo{height:210px;min-height:0}.ccw-destination-editorial>#overview{gap:32px}}
@media(max-width:639px){.ccw-destination-editorial>.page-heading,.ccw-destination-editorial>.pillar-tabs,.ccw-destination-editorial>#overview,.ccw-destination-editorial>#chapters{width:calc(100% - 40px)}.ccw-destination-editorial>.page-heading{padding:32px 0 24px}.ccw-destination-editorial>.pillar-tabs{display:grid;grid-template-columns:1fr 1fr}.ccw-destination-editorial>.pillar-tabs a,.ccw-destination-editorial>.pillar-tabs a:first-child{padding:12px 8px;border:0;font-size:14px}.ccw-destination-editorial>#overview{grid-template-columns:1fr;gap:24px;padding:32px 0}.ccw-destination-editorial>#overview h2{font-size:30px;line-height:40px}.ccw-destination-editorial .trip-note{padding:20px}.ccw-destination-editorial>#chapters{display:block;padding:0 0 40px}.ccw-destination-editorial .a1-chapter-nav{margin-bottom:24px}.ccw-destination-editorial .a1-chapter-nav ul{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.ccw-destination-editorial .a1-chapter-nav li a{font-size:13px;line-height:21px;grid-template-columns:20px 1fr}.ccw-destination-editorial .a1-chapters>.topic-card{margin:0 0 20px;display:block}.ccw-destination-editorial .chapter-photo{height:196px}.ccw-destination-editorial .chapter-copy{padding:20px}.ccw-destination-editorial .a1-chapters h2{font-size:26px;line-height:34px}.ccw-destination-editorial .a1-chapters .topic-summary{font-size:16px;line-height:28px}}

@media(min-width:640px){.ccw-destination-editorial .a1-chapter-nav{position:sticky!important;top:24px!important;align-self:start;}}

/* Keep all Beijing guide sections on the same content edges. */
.ccw-destination-editorial>section.wrap{width:calc(100% - 80px);max-width:1152px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;box-sizing:border-box}
@media(max-width:639px){.ccw-destination-editorial>section.wrap{width:calc(100% - 40px)}}

/* Differentiate place discovery from practical reading; align the route band. */
.ccw-destination-editorial>#route>.wrap{width:calc(100% - 80px);max-width:1152px;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
.ccw-destination-editorial #guides .section-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:24px;margin-bottom:24px}
.ccw-destination-editorial #guides .section-head p{max-width:300px;margin:0}
.ccw-destination-editorial #guides .carousel-controls{display:none}
.ccw-destination-editorial #guides .guide-grid{display:grid!important;grid-template-columns:1fr;gap:0;overflow:visible;padding:0;border-top:1px solid #493e3533;scroll-snap-type:none}
.ccw-destination-editorial #guides .guide-link{display:grid!important;grid-template-columns:112px minmax(0,1fr) 110px;align-items:center;column-gap:28px;width:100%;min-width:0;padding:20px 0;margin:0;border:0;border-bottom:1px solid #493e3533;background:transparent;box-shadow:none;border-radius:0;flex-basis:auto!important}
.ccw-destination-editorial #guides .guide-link img{grid-column:1;grid-row:1;width:112px;height:76px;aspect-ratio:auto;object-fit:cover;margin:0}
.ccw-destination-editorial #guides .guide-link h3{grid-column:2;grid-row:1;font-size:24px;line-height:32px;margin:0;padding:0}
.ccw-destination-editorial #guides .guide-link>span{grid-column:3;grid-row:1;margin:0;padding:0;font-size:15px;line-height:24px;text-align:right;color:#a43c32}
.ccw-destination-editorial #guides .guide-link:hover h3{color:#a43c32}
@media(max-width:639px){.ccw-destination-editorial>#route>.wrap{width:calc(100% - 40px)}.ccw-destination-editorial #guides .section-head{grid-template-columns:1fr;gap:16px}.ccw-destination-editorial #guides .guide-link{grid-template-columns:80px minmax(0,1fr);column-gap:16px;row-gap:8px;padding:18px 0}.ccw-destination-editorial #guides .guide-link img{width:80px;height:70px;grid-row:1 / span 2}.ccw-destination-editorial #guides .guide-link h3{font-size:20px;line-height:28px}.ccw-destination-editorial #guides .guide-link>span{grid-column:2;grid-row:2;text-align:left}}

/* Landscape image and concise copy, balanced at the same height. */
.ccw-destination-editorial .a1-chapters>.topic-card{display:grid;grid-template-columns:45% minmax(0,1fr);align-items:center;margin:0;padding:0;overflow:hidden}
.ccw-destination-editorial .a1-chapters .chapter-photo{width:100%;height:auto;min-height:0;aspect-ratio:16/9;object-fit:cover;align-self:center;display:block}
.ccw-destination-editorial .a1-chapters .chapter-copy{padding:16px 20px;min-width:0}
.ccw-destination-editorial .a1-chapters h2{font-size:24px;line-height:30px;margin:0 0 10px}
.ccw-destination-editorial .a1-chapters .topic-summary{font-size:16px;line-height:26px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ccw-destination-editorial .topic-link{margin-top:12px;padding-top:0;border:0}
.ccw-destination-editorial .topic-link a{font-size:14px;line-height:22px}
.ccw-destination-editorial .a1-chapters>.chapter-planning{grid-template-columns:1fr}
@media(max-width:1000px) and (min-width:640px){.ccw-destination-editorial .a1-chapters>.topic-card{grid-template-columns:1fr}.ccw-destination-editorial .a1-chapters .chapter-photo{width:100%;max-height:220px;object-fit:contain}.ccw-destination-editorial .a1-chapters .chapter-copy{padding:16px 20px}}
@media(max-width:639px){.ccw-destination-editorial .a1-chapters>.topic-card{display:block}.ccw-destination-editorial .a1-chapters .chapter-photo{height:auto;width:100%;aspect-ratio:16/9}.ccw-destination-editorial .a1-chapters .chapter-copy{padding:16px}.ccw-destination-editorial .a1-chapters h2{font-size:23px;line-height:30px}}

@media(min-width:1001px){.ccw-destination-editorial .a1-chapters>.topic-card{grid-template-columns:36% minmax(0,1fr)}.ccw-destination-editorial .a1-chapters .chapter-copy{padding:12px 18px}.ccw-destination-editorial .a1-chapters h2{font-size:23px;line-height:29px;margin-bottom:8px}.ccw-destination-editorial .topic-link{margin-top:8px}}

@media(min-width:1001px){.ccw-destination-editorial .a1-chapters>.topic-card{grid-template-columns:30% minmax(0,1fr)}.ccw-destination-editorial .a1-chapters .chapter-copy{padding:10px 16px}.ccw-destination-editorial .a1-chapters h2{font-size:23px;line-height:29px;margin-bottom:6px}.ccw-destination-editorial .a1-chapters .topic-summary{font-size:16px;line-height:24px}.ccw-destination-editorial .topic-link{margin-top:6px}}

/* The entire chapter image is a readable guide link. */
.ccw-destination-editorial .chapter-image-link{display:block;position:relative;width:100%;align-self:center;overflow:hidden;color:#f5f2e9}
.ccw-destination-editorial .chapter-image-link .chapter-photo{width:100%;height:auto;margin:0;display:block;aspect-ratio:16/9;object-fit:cover}
.ccw-destination-editorial .chapter-image-label{position:absolute;bottom:0;left:0;right:0;padding:8px 12px;background:#493e35ed;color:#f5f2e9;font:14px/22px Arimo,sans-serif;letter-spacing:0;transition:background .15s}
.ccw-destination-editorial .chapter-image-link:hover .chapter-image-label{background:#a43c32}
.ccw-destination-editorial .chapter-image-link:focus-visible{outline:3px solid #a43c32;outline-offset:3px}

/* Photo-first caption, inspired by the owner's reference. */
@media(min-width:1001px){.ccw-destination-editorial .a1-chapters>.topic-card{grid-template-columns:25% minmax(0,1fr)}}
.ccw-destination-editorial .chapter-image-link{border-radius:4px;isolation:isolate}
.ccw-destination-editorial .chapter-image-link:after{content:'';position:absolute;inset:28% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.68));pointer-events:none;z-index:1}
.ccw-destination-editorial .chapter-image-label{z-index:2;bottom:8px;left:8px;right:8px;padding:0;background:transparent;color:#f5f2e9;text-align:center;font:600 14px/20px Arimo,sans-serif;text-shadow:0 1px 3px #000;letter-spacing:0}
.ccw-destination-editorial .chapter-image-link:hover .chapter-image-label{background:transparent;text-decoration:underline}
.ccw-destination-editorial .chapter-image-link .chapter-photo{transition:transform .2s}
.ccw-destination-editorial .chapter-image-link:hover .chapter-photo{transform:scale(1.025)}
.ccw-destination-editorial .a1-chapters>.topic-card:has(.chapter-image-link){background:transparent;border:0;border-bottom:1px solid #493e3526;padding:0 0 20px;overflow:visible}
@media(prefers-reduced-motion:reduce){.ccw-destination-editorial .chapter-image-link .chapter-photo{transition:none}}

@media(min-width:1001px){.ccw-destination-editorial .a1-chapters>.topic-card{grid-template-columns:20% minmax(0,1fr)}.ccw-destination-editorial .chapter-image-label{font-size:13px;line-height:19px;left:6px;right:6px;bottom:7px}}

@media(min-width:1001px){.ccw-destination-editorial .chapter-image-link .chapter-photo{height:123px;aspect-ratio:auto;object-fit:cover}.ccw-destination-editorial .chapter-image-link{height:123px}}
