.entry-page {
  --entry-pine: #21372f;
  --entry-ink: #282e27;
  --entry-gold: #e9cf96;
  background: #fbf9f3;
  color: var(--entry-ink);
}
.entry-page .frame { width: min(1220px, calc(100% - clamp(40px, 9vw, 128px))); }
.entry-page h1, .entry-page h2, .entry-page h3 { overflow-wrap: anywhere; }
.entry-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(445px, 40vw, 625px);
  color: #fffbef;
  background: var(--entry-pine);
}
.entry-hero-image { margin: 0; overflow: hidden; }
.entry-hero-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.entry-home .entry-hero-image { position: absolute; inset: 0 0 0 28%; z-index: -2; }
.entry-home .entry-hero-image > img { object-position: 55% 48%; }
.entry-home .entry-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,#21372f 0%,#21372f 26%,rgba(33,55,47,.95) 34%,rgba(29,42,31,.64) 46%,rgba(29,42,31,.05) 70%,transparent 85%);
}
.entry-hero-image figcaption {
  display: flex; align-items: center; gap: .45rem; position: absolute;
  bottom: 0; right: 0; max-width: 90%; border-radius: 2px 0 0;
  color: #fff9e9; font: 500 .72rem/1.5 var(--sans); letter-spacing: .012em;
  padding: .48rem .85rem; background: #151c16d9;
}
.entry-hero-image figcaption svg { width: .9rem; height: .9rem; }
.entry-hero-image figcaption a { text-decoration: underline; text-underline-offset: .2em; }
.entry-home .entry-hero-frame { pointer-events: none; }
.entry-home .entry-hero-frame a { pointer-events: auto; }
.entry-hero-copy { padding-block: clamp(3.2rem, 6.6vw, 6.7rem); max-width: min(40vw, 535px); }
.entry-hero-copy h1 {
  font-family: var(--serif); font-weight: 500; line-height: .99; letter-spacing: -.047em;
  font-size: clamp(3.65rem, 6.45vw, 6.5rem);
}
.entry-hero-copy h1::before {
  content: ""; display: block; width: 48px; height: 2px; margin-bottom: clamp(19px, 2vw, 27px); background: var(--entry-gold);
}
.entry-intro, .entry-closed {
  max-width: 37ch; margin-block-start: 1.3rem; color: #f1f1e7;
  font: 400 clamp(1rem, 1.27vw, 1.19rem)/1.62 var(--sans); overflow-wrap: anywhere;
}
.entry-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; margin-block-start: 1.7rem; }
.entry-primary {
  display: inline-flex; gap: 1.05rem; min-height: 48px; align-items: center; justify-content: center;
  padding: .83rem 1.28rem; background: var(--entry-gold); color: #223027; border-radius: 4px;
  font: 700 .94rem/1.3 var(--sans); text-align: center;
}
.entry-primary:hover { background: #fae4b4; }
.entry-shortcut {
  display: inline-flex; gap: .42rem; min-height: 44px; align-items: center; font: 500 .86rem/1.35 var(--sans);
  text-decoration: underline; text-underline-offset: .27em;
}
.entry-shortcut svg { width: 13px; height: 13px; }
.entry-hub .entry-hero {
  color: var(--entry-ink); background: #f0ecdf;
  min-height: clamp(405px, 35vw, 535px); border-bottom: 1px solid #e0d9c8;
}
.entry-hub .entry-hero-image {
  position: absolute; inset: 0 0 0 49%; z-index: -1;
  border-bottom-left-radius: clamp(60px, 8vw, 145px);
}
.entry-hub .entry-hero-image img { object-position: 50% 55%; }
.entry-hub .entry-hero-copy { max-width: 43%; }
.entry-hub .entry-hero-copy h1::before { background: #9e7b45; }
.entry-hub .entry-intro, .entry-hub .entry-closed { max-width: 39ch; color: #485146; }
.entry-hub .entry-primary { color: #fff9e8; background: var(--entry-pine); }
.entry-hub .entry-primary:hover { background: #365343; }
.entry-hub .entry-hero-plain .entry-hero-copy { max-width: 760px; }
.entry-reading { padding-block: clamp(3rem, 5.5vw, 5.5rem); }
.entry-reading-grid { display: grid; justify-content: center; min-width: 0; }
.entry-with-aside { grid-template-columns: minmax(0, 2.4fr) minmax(240px, 1fr); gap: clamp(35px, 7vw, 110px); }
.entry-article { max-width: 72ch; min-width: 0; overflow-wrap: anywhere; }
.entry-article h2 { font-size: clamp(2.15rem, 3vw, 3.2rem); line-height: 1.12; letter-spacing: -.025em; margin: 1.08em 0 .34em; }
.entry-article > :first-child { margin-top: 0; }
.entry-article p, .entry-article li { color: #42473e; line-height: 1.78; font-size: clamp(1rem, 1.2vw, 1.09rem); }
.entry-article p + p { margin-top: .8rem; }
.entry-article a { text-decoration: underline; text-underline-offset: .17em; }
.entry-reading-list { align-self: start; border-top: 2px solid #ac8a55; padding-top: .95rem; }
.entry-reading-list h2 { font-size: 1.52rem; }
.entry-reading-list ul { list-style: none; margin: .65rem 0 0; padding: 0; }
.entry-reading-list li { border-bottom: 1px solid #dad5c8; }
.entry-reading-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #424b3e;
  min-height: 46px; padding: .85rem 0; font-size: .94rem; line-height: 1.4;
}
.entry-reading-list a:hover span { text-decoration: underline; text-underline-offset: .23em; }
.entry-reading-list svg, .entry-room svg { width: 16px; color: #8c6b39; }
/* One responsive slot with an uninterrupted reading order at narrow widths. */
.entry-with-slot { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); column-gap: clamp(45px,7vw,105px); }
.entry-with-slot > .entry-opening { grid-area: 1 / 1; }
.entry-with-slot > .entry-continuation { grid-area: 2 / 1; }
.entry-continuation > h2:first-child { margin-top: 1.08em; }
.entry-with-slot > .google-ad { grid-area: 1 / 2 / span 2; align-self: start; width: 100%; margin: 0; }
.entry-with-slot + .entry-reading-list { max-width: 72ch; margin-top: clamp(2.75rem,4vw,4rem); }
.entry-article .entry-citation { margin-top: 1.2rem; color: #646053; font-size: .85rem; }
@media(max-width: 850px) {
  .entry-reading-grid.entry-with-slot { display: block; }
  .entry-with-slot > .google-ad { margin: 2.6rem auto; }
}
.entry-room-section { padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.entry-room-section > h2 { border-top: 1px solid #d5cfbe; font-size: clamp(2.05rem, 3vw, 3.1rem); padding-top: 2rem; margin-bottom: 1.4rem; }
.entry-room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(205px,100%), 1fr)); gap: 1.25rem; }
.entry-room { min-width: 0; }
.entry-room img { display: block; width: 100%; height: auto; aspect-ratio: 1.66; object-fit: cover; background: #dbd5c6; border-radius: 3px; }
.entry-room > div { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-block: .8rem .25rem; }
.entry-room h3 { font-size: clamp(1.45rem, 1.6vw, 1.85rem); }
.entry-room:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.entry-room p { font-size: .88rem; line-height: 1.5; color: #595e53; overflow-wrap: anywhere; }
.entry-page:lang(zh-CN) h1 { font-size: clamp(3rem, 4.85vw, 5rem); letter-spacing: .025em; line-height: 1.17; }
.entry-page:lang(zh-CN) .entry-article h2 { font-size: clamp(1.72rem, 2.5vw, 2.5rem); line-height: 1.32; }
.entry-page:lang(zh-CN) .entry-article p { line-height: 1.94; }
@media (max-width: 800px) {
  .entry-hero-copy { max-width: min(49vw, 385px); }
  .entry-home .entry-hero::before { background: linear-gradient(90deg,#21372f 10%,#21372ff5 33%,#21372f91 57%,transparent 85%); }
  .entry-with-aside { grid-template-columns: minmax(0,1fr) minmax(185px,.48fr); gap: 28px; }
}
@media (max-width: 640px) {
  .entry-page .frame { width: calc(100% - 40px); }
  .entry-hero, .entry-hub .entry-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .entry-home .entry-hero::before { display: none; }
  .entry-hero-frame { order: 1; }
  .entry-hero-copy, .entry-hub .entry-hero-copy { max-width: 100%; padding: 1.85rem 0 1.6rem; }
  .entry-hero-copy h1 { font-size: clamp(2.85rem, 10.7vw, 4rem); }
  .entry-page:lang(zh-CN) h1 { font-size: clamp(2.45rem, 9.7vw, 3.55rem); }
  .entry-hero-copy h1::before { width: 32px; margin-bottom: .77rem; }
  .entry-intro, .entry-closed { max-width: 100%; margin-top: .7rem; font-size: .99rem; line-height: 1.5; }
  .entry-actions { margin-top: 1.05rem; column-gap: 1.2rem; row-gap: .15rem; }
  .entry-home .entry-hero-image, .entry-hub .entry-hero-image {
    position: relative; inset: auto; z-index: auto; order: 2; width: 100%; height: clamp(176px, 54vw, 265px);
    border-radius: 0;
  }
  .entry-home .entry-hero-image > img { object-position: 50% 44%; }
  .entry-hero-image figcaption { font-size: .67rem; padding: .3rem .55rem; }
  .entry-with-aside { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .entry-reading { padding-block: 2.3rem; }
  .entry-room-grid { grid-template-columns: repeat(auto-fit,minmax(min(215px, 100%),1fr)); row-gap: 1.5rem; }
  .entry-room-section { padding-top: .8rem; }
}
@media (max-width: 400px) {
  body:has(.entry-page) .topinner { gap: 8px; width: calc(100% - 30px); }
  body:has(.entry-page) .topinner .brand { font-size: 23px; gap: 7px; }
  body:has(.entry-page) .langs { min-width: 0; padding-left: 0; }
  body:has(.entry-page) .langs summary { gap: 4px; }
  body:has(.entry-page) .langs summary span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body:has(.entry-page) .footinner > div { min-width: 0; max-width: 100%; flex-wrap: wrap; gap: .5rem .85rem; }
}
