/* Proportions from design/trangchu.png, with readable tablet and mobile layouts. */
.heritage-home { --forest: #103e31; --forest-deep: #0c342a; --cream: #faf8f4; }
.heritage-header { height: 54px; padding: 0 5.5%; gap: 22px; grid-template-columns: 1fr auto 1fr; }
.heritage-header__logo, .heritage-header__logo img { width: 180px; }
.heritage-nav { gap: 30px; }
.heritage-nav a { font: 12px var(--sans); }
.heritage-header__actions { gap: 24px; }
.heritage-book { display: block; min-width: 98px; padding: 9px 13px; font: 13px var(--sans); }
.heritage-language { display: block; font-size: 11px; }
.heritage-search svg { width: 20px; height: 20px; }
.heritage-hero { height: clamp(330px, 34.8vw, 505px); }
.heritage-hero picture > img { object-position: center; }
.heritage-hero__shade { background: linear-gradient(90deg, #08110ec9, #08110e40 42%, transparent 75%, #08110e50); }
.heritage-hero__content { left: 5.5%; top: 50%; transform: translateY(-48%); }
.heritage-kicker { font: 600 8px var(--sans); letter-spacing: .22em; gap: 8px; }
.heritage-hero h1 { font-size: clamp(44px, 4.95vw, 70px); line-height: 1.2; margin-top: 15px; }
.heritage-hero__content > p:not(.heritage-kicker) { margin-top: 15px; font: clamp(14px, 1.45vw, 18px)/1.3 var(--sans); max-width: 430px; }
.heritage-watch { margin-top: 12px; font-size: 12px; gap: 14px; }
.heritage-watch span { width: 33px; height: 33px; font-size: 10px; }
.heritage-hero__note { display: block; font: clamp(21px, 2.4vw, 32px)/1.02 var(--script); bottom: 68px; right: 4.7%; transform: rotate(-7deg); }
.heritage-hero__note::after { width: 27px; bottom: -18px; }
.heritage-booking { margin: -28px auto 0; width: 89%; min-height: 50px; padding: 5px; grid-template-columns: 1.25fr .95fr .95fr .75fr 1fr; border-radius: 6px; max-width: 1320px; }
.heritage-booking label { padding: 5px 18px; gap: 15px; border-bottom: 0; }
.heritage-booking label > svg { width: 19px; height: 19px; flex-basis: 19px; }
.heritage-booking small { font: 11px var(--sans); margin-bottom: 3px; }
.heritage-booking select, .heritage-booking input { font: 11px var(--sans); height: 18px; }
.heritage-booking select { appearance: none; }
.heritage-booking button { font: 15px var(--sans); padding: 6px 13px; min-width: 0; gap: 15px; }
.heritage-booking button .heritage-icon { width: 17px; height: 17px; }
.heritage-date { position: relative; display: block; min-height: 18px; color: #707581; font: 11px/18px var(--sans); }
.heritage-date input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.heritage-date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.heritage-date:focus-within { outline: 2px solid #b88042; outline-offset: 3px; border-radius: 2px; }
.heritage-section { max-width: 1480px; padding-inline: 5.5%; }
.heritage-explore { padding-top: 29px; padding-bottom: 19px; }
.heritage-section__head { margin-bottom: 11px; align-items: center; gap: 12px; }
.heritage-section__head > div > p { font: 600 10px var(--sans); letter-spacing: .18em; margin-bottom: 8px; }
.heritage-section__head h2 { font-size: clamp(27px, 3vw, 40px); line-height: 1.2; }
.heritage-section__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.heritage-section__actions a { font: 12px var(--sans); margin-right: 9px; white-space: nowrap; }
.heritage-section__actions button { display: grid; place-items: center; background: transparent; border: 1px solid #bf8b5b; border-radius: 50%; width: 28px; height: 28px; font: 16px var(--sans); cursor: pointer; }
.heritage-section__actions button:disabled { color: #a3aaa8; border-color: #ddc2a8; cursor: default; }
.heritage-explore__grid, .heritage-stays__grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 3); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -14px; }
.heritage-explore__grid::-webkit-scrollbar, .heritage-stays__grid::-webkit-scrollbar { display: none; }
.heritage-explore__grid > *, .heritage-stays__grid > * { scroll-snap-align: start; min-width: 0; }
.heritage-image-card { aspect-ratio: 1.57; border-radius: 5px; }
.heritage-image-card > div { bottom: 12px; left: 16px; right: 35px; }
.heritage-image-card h3 { font-size: clamp(19px, 2.05vw, 27px); }
.heritage-image-card small { font: 600 clamp(8px, .8vw, 11px) var(--sans); letter-spacing: .1em; margin-top: 7px; }
.heritage-image-card > b { width: 26px; height: 26px; right: 13px; bottom: 13px; font-size: 14px; }
.heritage-destinations { border: 0; background: linear-gradient(110deg, #fbf9f5, #fefdfb); }
.heritage-destinations__inner { padding-top: 13px; padding-bottom: 18px; }
.heritage-section__head--destinations { display: flex; margin-bottom: 11px; gap: 12px; }
.heritage-section__head--destinations > div { gap: 18px; }
.heritage-section__head--destinations > div > p { font-size: 8px; letter-spacing: .1em; margin: 0; white-space: nowrap; }
.heritage-section__head--destinations > p { display: block; font: 11px var(--sans); margin: 0 0 0 auto; }
.heritage-section__head--destinations > a { font-size: 12px; white-space: nowrap; }
.heritage-destinations__layout { grid-template-columns: 73px minmax(0, 1fr); gap: 17px; margin-inline: -14px; }
.heritage-destinations__layout > nav { flex-direction: column; gap: 0; }
.heritage-destinations__layout > nav a { font-size: 13px; padding: 8px 14px; }
.heritage-destinations__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.heritage-destination-card { aspect-ratio: 1.08; border-radius: 4px; }
.heritage-destination-card > div { left: 12px; bottom: 9px; max-width: calc(100% - 40px); }
.heritage-destination-card h3 { font-size: clamp(19px, 2vw, 27px); }
.heritage-destination-card p { font: 12px/1.3 var(--sans); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.heritage-destination-card > b { width: 23px; height: 23px; bottom: 12px; right: 9px; font-size: 12px; }
.heritage-stories { grid-template-columns: 24.8% minmax(0, 1fr) 23.8%; gap: 14px; padding-top: 14px; padding-bottom: 25px; }
.heritage-stories__intro { padding-right: 14px; }
.heritage-stories__intro > i { width: 27px; margin: 13px 0 12px; }
.heritage-stories__intro h2 { font-size: clamp(29px, 3.4vw, 44px); line-height: 1.2; }
.heritage-stories__intro h2::after { content: ''; display: block; background: var(--ochre); height: 1px; width: 27px; margin-top: 13px; }
.heritage-stories__intro > p { font-size: 13px; line-height: 1.4; margin-top: 13px; }
.heritage-stories__intro > a { font-size: 12px; margin-top: 17px; padding: 9px 14px; gap: 10px; }
.heritage-story-feature { min-height: 232px; height: clamp(232px, 24.6vw, 335px); border-radius: 4px; }
.heritage-story-feature > div { left: 20px; bottom: 13px; right: 16px; }
.heritage-story-feature h3 { font-size: clamp(20px, 2.1vw, 29px); line-height: 1.2; max-width: 240px; }
.heritage-story-feature small, .heritage-story-list small { font: 600 8px var(--sans); letter-spacing: .12em; }
.heritage-story-feature p { font-size: 12px; line-height: 1.3; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.heritage-story-feature b { font-size: 12px; margin-top: 6px; }
.heritage-story-list { grid-template-rows: repeat(3, minmax(0, 1fr)); min-width: 0; }
.heritage-story-list > a { grid-template-columns: 40% minmax(0, 1fr) 10px; gap: 9px; padding: 5px 0; }
.heritage-story-list > a:last-child { border-bottom: 0; }
.heritage-story-list img { width: 100%; height: 66px; border-radius: 4px; }
.heritage-story-list strong { font-size: 13px; line-height: 1.35; }
.heritage-story-list span { gap: 4px; }
.heritage-stays { padding-bottom: 12px; }
.heritage-section__head--stays { gap: 10px; margin-bottom: 12px; }
.heritage-section__head--stays > div { display: flex; flex: 1; gap: 20px; align-items: center; }
.heritage-section__head--stays h2 { font-size: clamp(27px, 3vw, 39px); white-space: nowrap; }
.heritage-section__head--stays h2::after { content: ''; display: inline-block; vertical-align: middle; margin-left: 15px; width: 32px; height: 1px; background: var(--ochre); }
.heritage-section__head--stays > div > p { font: 600 7px var(--sans); color: #777b8b; letter-spacing: .1em; margin: 0 0 0 auto; max-width: 275px; }
.heritage-stay-card { border-color: #eceee8; border-radius: 4px; background: white; }
.heritage-stay-card > .heritage-stay-card__media { position: relative; padding: 0; }
.heritage-stay-card__image { height: auto; aspect-ratio: 2.95; min-height: 0; }
.heritage-stay-card__image > small { font: 600 8px var(--sans); padding: 5px 9px; left: 12px; top: 11px; }
.heritage-stay-card > .heritage-stay-card__body { padding: 10px 14px 11px; }
.heritage-stay-card h3 { font-size: 15px; margin-bottom: 4px; }
.heritage-stay-card .heritage-stay-card__location { display: flex; gap: 5px; align-items: center; font: 11px var(--sans); margin-bottom: 6px; }
.heritage-stay-card__location .heritage-icon { width: 12px; height: 12px; }
.heritage-stay-card__body > p:not(.heritage-stay-card__location) { min-height: 28px; font: 11px/1.35 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.heritage-stay-card__body > div { margin-top: 8px; align-items: flex-end; gap: 8px; display: flex; flex-wrap: nowrap; justify-content: space-between; }
.heritage-stay-card__body > div > span { font: 11px var(--sans); white-space: nowrap; }
.heritage-stay-card__body > div strong { font: 700 15px var(--sans); }
.heritage-stay-card__body > div > a { white-space: nowrap; font: 11px var(--sans); padding: 9px 11px; gap: 9px; }
.heritage-stay-card .heritage-favorite { width: 27px; height: 27px; top: 12px; right: 12px; border: 1px solid white; }
.heritage-stay-card .heritage-favorite svg { width: 18px; height: 18px; }
.heritage-home a:focus-visible, .heritage-home button:focus-visible, .heritage-home select:focus-visible, .heritage-home [tabindex='0']:focus-visible { outline: 2px solid #b88042; outline-offset: 3px; }
@media (min-width: 761px) and (max-width: 1150px) {
  .heritage-destinations__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .heritage-header { grid-template-columns: 1fr auto 1fr; gap: 18px; }
  .heritage-nav { display: flex; gap: 25px; }
  .heritage-nav a { font-size: 11px; }
  .heritage-header__actions { gap: 18px; }
  .heritage-search { display: grid; }
  .heritage-menu { display: none; }
  .heritage-header__logo, .heritage-header__logo img { width: 180px; }
  .heritage-explore .heritage-section__head h2 { font-size: 28px; }
  .heritage-section__head--stays > div { gap: 10px; }
  .heritage-section__head--stays > div > p { font-size: 7px; }
  .reference-footer--home .reference-footer__column > a, .reference-footer--home .reference-footer__column > span { font-size: 10px; }
  .reference-footer--home .reference-footer__brand > p { font-size: 11px; }
  .reference-footer--home .reference-footer__main { grid-template-columns: 2.2fr 1.08fr .97fr .85fr .95fr .85fr; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .heritage-header { padding-inline: 4%; gap: 12px; }
  .heritage-header__logo, .heritage-header__logo img { width: 160px; }
  .heritage-nav { gap: 15px; }
  .heritage-header__actions { gap: 12px; }
  .heritage-language { display: none; }
  .heritage-booking { grid-template-columns: 1.25fr .95fr .95fr .75fr 1fr; }
  .heritage-booking label { padding: 5px 10px; gap: 8px; }
  .heritage-booking button { grid-column: auto; min-height: 38px; }
  .heritage-section__head--destinations > p, .heritage-section__head--stays > div > p { display: none; }
  .heritage-explore .heritage-section__head h2 { font-size: 25px; }
  .heritage-stay-card__body > div { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .heritage-header { height: 64px; padding: 0 18px; grid-template-columns: 1fr auto; }
  .heritage-header__logo, .heritage-header__logo img { width: 155px; }
  .heritage-header__actions { gap: 8px; }
  .heritage-nav, .heritage-language, .heritage-search { display: none; }
  .heritage-book { display: block; min-width: 84px; padding: 10px; }
  .heritage-menu { display: block; }
  .heritage-hero { height: 430px; }
  .heritage-hero picture > img { object-position: 60% center; }
  .heritage-hero__content { left: 24px; right: 22px; }
  .heritage-hero h1 { font-size: clamp(36px, 9.5vw, 48px); margin-top: 22px; }
  .heritage-kicker { font-size: 8px; line-height: 1.8; letter-spacing: .1em; gap: 5px; flex-wrap: wrap; }
  .heritage-hero__content > p:not(.heritage-kicker) { font-size: 15px; line-height: 1.45; margin-top: 18px; }
  .heritage-hero__content > p br { display: none; }
  .heritage-hero__note { display: none; }
  .heritage-watch { font-size: 13px; margin-top: 18px; }
  .heritage-booking { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); margin: -24px auto 0; padding: 12px; gap: 8px; }
  .heritage-booking label { padding: 8px 5px; gap: 8px; border-bottom: 1px solid #eee; }
  .heritage-booking label:first-child { grid-column: 1 / -1; border-right: 0; }
  .heritage-booking label:nth-child(2) { border-right: 1px solid #eee; }
  .heritage-booking small { font-size: 12px; }
  .heritage-booking select, .heritage-booking input { font-size: 16px; min-height: 24px; }
  .heritage-date { font-size: 14px; line-height: 24px; }
  .heritage-booking button { grid-column: auto; min-height: 47px; font-size: 15px; gap: 8px; }
  .heritage-section { padding-inline: 22px; }
  .heritage-explore { padding-top: 30px; padding-bottom: 25px; }
  .heritage-section__head { align-items: flex-end; flex-wrap: wrap; gap: 15px; margin-bottom: 16px; }
  .heritage-section__head h2, .heritage-explore .heritage-section__head h2 { font-size: 27px; }
  .heritage-section__head > div > p { line-height: 1.5; }
  .heritage-section__actions { margin-left: auto; }
  .heritage-section__actions button { width: 34px; height: 34px; }
  .heritage-explore__grid, .heritage-stays__grid { grid-auto-columns: 88%; margin-inline: 0; gap: 14px; }
  .heritage-image-card h3 { font-size: 21px; }
  .heritage-image-card small { font-size: 9px; }
  .heritage-destinations__inner { padding-top: 23px; padding-bottom: 25px; }
  .heritage-section__head--destinations > div { display: block; }
  .heritage-section__head--destinations > div > p { margin-top: 10px; font-size: 9px; }
  .heritage-section__head--destinations > p { display: none; }
  .heritage-destinations__layout { grid-template-columns: 1fr; margin-inline: 0; gap: 14px; }
  .heritage-destinations__layout > nav { flex-direction: row; gap: 14px; overflow-x: auto; }
  .heritage-destinations__layout > nav a { padding: 8px 0; font-size: 13px; }
  .heritage-destinations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .heritage-destination-card { aspect-ratio: .9; }
  .heritage-destination-card h3 { font-size: 22px; }
  .heritage-destination-card p { font-size: 12px; }
  .heritage-stories { grid-template-columns: 1fr; padding-top: 25px; padding-bottom: 30px; gap: 20px; }
  .heritage-stories__intro { padding: 0; }
  .heritage-stories__intro h2 { font-size: 32px; }
  .heritage-stories__intro h2 br { display: none; }
  .heritage-stories__intro > p { font-size: 15px; }
  .heritage-story-feature { height: 290px; }
  .heritage-story-feature h3 { font-size: 27px; }
  .heritage-story-feature p { font-size: 14px; }
  .heritage-story-list > a { grid-template-columns: 86px minmax(0, 1fr) 18px; padding: 9px 0; }
  .heritage-story-list img { height: 70px; }
  .heritage-story-list strong { font-size: 16px; }
  .heritage-story-list small { font-size: 10px; }
  .heritage-stays { padding-bottom: 28px; }
  .heritage-section__head--stays > div { display: block; }
  .heritage-section__head--stays h2 { font-size: 27px; white-space: normal; }
  .heritage-section__head--stays h2::after { display: none; }
  .heritage-section__head--stays > div > p { margin: 10px 0 0; font-size: 9px; line-height: 1.6; }
  .heritage-stay-card__image { aspect-ratio: 1.85; }
  .heritage-stay-card > .heritage-stay-card__body { padding: 14px; }
  .heritage-stay-card h3 { font-size: 19px; }
  .heritage-stay-card .heritage-stay-card__location { font-size: 12px; }
  .heritage-stay-card__body > p:not(.heritage-stay-card__location) { font-size: 13px; min-height: 36px; }
  .heritage-stay-card__body > div { margin-top: 12px; flex-wrap: wrap; }
  .heritage-stay-card__body > div strong { font-size: 18px; }
  .heritage-stay-card__body > div > a { font-size: 12px; padding: 10px; }
}
.heritage-section__head .heritage-section__actions { display: flex; flex: 0 0 auto; flex-direction: row; align-items: center; gap: 6px; margin-left: auto; }
.heritage-destinations__layout > nav a { white-space: nowrap; padding-inline: 14px 0; }
.reference-footer--home .reference-footer__note p { font-size: 19px; line-height: 1.1; }
.reference-footer--home .reference-footer__main { grid-template-columns: 2.2fr 1.15fr 1fr 1fr 1.1fr 1.05fr; }
@media (min-width: 761px) and (max-width: 1050px) {
  .heritage-section__head--stays > div > p { font-size: 6.5px; }
  .heritage-section__head--stays h2::after { width: 20px; margin-left: 10px; }
  .reference-footer--home .reference-footer__note { padding-inline: 9px 0; }
  .reference-footer--home .reference-footer__note p { font-size: 17px; }
}
@media (max-width: 760px) {
  .heritage-destinations__grid { display: grid; margin: 0; padding: 0; overflow: visible; }
  .heritage-story-feature { min-height: 290px; }
  .heritage-story-list { grid-template-columns: 1fr; }
  .heritage-story-list b { display: block; }
  .heritage-stay-card { display: block; }
  .heritage-section__head--stays > div { flex: 1 1 100%; }
  .heritage-section__head .heritage-section__actions { flex: 0 0 auto; }
  .reference-footer--home .reference-footer__main { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 359px) {
  .heritage-header { padding-inline: 12px; gap: 8px; }
  .heritage-header__logo, .heritage-header__logo img { width: 128px; }
  .heritage-header__actions { gap: 4px; }
}
.heritage-home .heritage-stay-card__body > p { margin-top: 4px; }
.heritage-home .heritage-stay-card__body > p.heritage-stay-card__location { font: 11px var(--sans); }
.heritage-home .heritage-stay-card__body > div { margin-top: 8px; }
.heritage-home .heritage-stay-card__body > div > span { font-size: 11px; }
.heritage-home .heritage-stay-card__body > div > span strong { font: 700 15px var(--sans); }
.heritage-home .heritage-stay-card__body > div > a { padding: 9px 11px; font: 11px var(--sans); }
@media (max-width: 760px) {
  .heritage-home .heritage-stay-card__body > div > span strong { font-size: 18px; }
  .heritage-home .heritage-stay-card__body > div > a { padding: 10px; font-size: 12px; }
}
