/* LOCAL REVIEW: remove the nested reading frame, keep the approved outer 86% and 75/25 grid. */
.ud-editorial,
.ud-copy > h2,
.ud-copy > .ud-toc {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
@media (min-width: 1101px) {
  .ud-editorial p,
  .ud-editorial li {
    font-size: 18px;
    line-height: 1.7;
  }
  .ud-gallery img {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

/* Keep the image and introduction as one hero on compact laptops. */
@media (min-width: 900px) and (max-width: 1100px) {
  .ud-hero.has-photo {
    display: block;
    min-height: 410px;
    padding: 32px 0 36px;
  }
  .ud-hero.has-photo .ud-hero-copy {
    width: 61%;
    padding-right: 24px;
  }
  .ud-hero.has-photo > .ud-figure {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 70%;
    overflow: hidden;
  }
  .ud-hero.has-photo > .ud-figure img {
    height: 100%;
    object-position: 60% center;
    mask-image: linear-gradient(90deg, transparent 0%, #0009 30%, #000 55%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0009 30%, #000 55%);
  }
  .ud-hero.has-photo:after {
    display: block;
  }
  .ud-hero.has-photo > .ud-figure figcaption {
    position: absolute;
    bottom: 6px;
    right: 8px;
    max-width: 48%;
    padding: 5px 7px;
    background: #fffdf6ed;
    font-size: 10px;
  }
  .ud-hero.has-photo h1 {
    font-size: clamp(30px, 3.5vw, 38px);
    line-height: 1.12;
  }
  .ud-hero.has-photo .ud-summary {
    font-size: 17px;
  }
}
/* On touch widths, let the title meet the photograph; credits stay with the image. */
@media (max-width: 899px) {
  .ud-hero.has-photo {
    display: grid;
    grid-template-areas: "photo" "intro";
    gap: 0;
    padding-top: 18px;
  }
  .ud-hero.has-photo > .ud-figure {
    grid-area: photo;
    position: relative;
    z-index: 0;
    overflow: hidden;
  }
  .ud-hero.has-photo > .ud-figure img {
    height: clamp(210px, 32vw, 280px);
  }
  .ud-hero.has-photo > .ud-figure figcaption {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: auto;
    max-width: 53%;
    padding: 6px 8px;
    background: #fffdf6ed;
    font-size: 10px;
  }
  .ud-hero.has-photo .ud-hero-copy {
    grid-area: intro;
    margin-top: -25px;
    padding: 22px 16px 0;
    background: var(--ud-paper, #fcf9f1);
  }
}

/* Borrow Giao Hoa's reading structure, with the travel theme's typography and palette. */
.ud-rail-toc {
  display: none;
}
.ud-rail-explore {
  padding: 20px;
  border: 1px solid #e4dcc4;
  border-radius: 10px;
  background: #fffdf7;
}
.ud-rail-explore h2 {
  font-size: 21px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.ud-rail-explore p {
  font:
    12px/1.6 Arial,
    sans-serif;
  color: #506e73;
  margin: 0 0 10px;
}
.ud-rail-explore a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #e4dcc4;
  font:
    13px/1.5 Arial,
    sans-serif;
}
.ud-cta {
  display: grid;
  gap: 16px;
}
.ud-next-reading {
  margin: 36px 0 26px;
  padding: 20px;
  border-top: 1px solid #e4dcc4;
  border-bottom: 1px solid #e4dcc4;
  background: #f4efdf;
}
.ud-next-reading > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 22px;
  text-decoration: none;
  align-items: center;
}
.ud-next-reading img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.ud-reading-kicker {
  font:
    11px/1.5 Arial,
    sans-serif;
  color: #896716;
}
.ud-next-reading h3 {
  font-size: 24px;
  margin: 6px 0 10px;
}
.ud-next-reading p {
  font-size: 15px;
  line-height: 1.6;
}
.ud-reading-action {
  display: inline-block;
  margin-top: 8px;
  color: #896716;
  font:
    600 12px/1.5 Arial,
    sans-serif;
  border-bottom: 1px solid #c5b78e;
}
.ud-read-more {
  border-top: 1px solid #e4dcc4;
  margin-top: 32px;
  padding-top: 18px;
}
.ud-read-more > p {
  color: #506e73;
  font-size: 15px;
}
.ud-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0;
}
.ud-related-item {
  min-width: 0;
}
.ud-related-item > a {
  text-decoration: none;
  display: block;
}
.ud-related-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.ud-related-item h4 {
  font-size: 23px;
  line-height: 1.25;
  margin: 14px 0 10px;
}
.ud-related-item p {
  font-size: 15px;
  line-height: 1.6;
}
.ud-related-credit {
  display: block;
  margin-top: 12px;
  color: #506e73;
  font:
    10px/1.5 Arial,
    sans-serif;
}
@media (min-width: 740px) {
  .ud-inline-toc {
    display: none;
  }
  .ud-rail-toc {
    display: block;
    margin: 0;
  }
  .ud-rail-toc summary {
    font-size: 12px;
    padding: 14px;
  }
  .ud-rail-toc nav {
    font-size: 12px;
    line-height: 1.5;
  }
  .ud-cta {
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 3px;
  }
}
@media (min-width: 740px) and (max-width: 1100px) {
  .ud-columns {
    grid-template-columns: minmax(0, 2.5fr) minmax(200px, 1fr);
    gap: 24px;
  }
  .ud-cta {
    position: sticky;
    top: 20px;
    order: 0;
  }
  .ud-cta-panel,
  .ud-rail-explore {
    padding: 15px;
  }
  .ud-cta-band {
    padding: 10px 15px;
    margin: -15px -15px 14px;
  }
  .ud-cta-panel > h2,
  .ud-rail-explore h2 {
    font-size: 21px;
  }
  .ud-providers {
    display: block;
  }
  .ud-cta .ud-available-action {
    font-size: 12px;
  }
  .ud-copy > h2 {
    font-size: 28px;
  }
  .ud-editorial h3 {
    font-size: 23px;
  }
  .ud-gallery img {
    height: auto;
    aspect-ratio: 3/2;
  }
  .ud-next-reading {
    padding: 16px;
  }
  .ud-next-reading > a {
    gap: 15px;
  }
  .ud-next-reading h3 {
    font-size: 22px;
  }
  .ud-related-grid {
    gap: 16px;
  }
  .ud-related-item h4 {
    font-size: 20px;
  }
}
@media (min-width: 740px) and (max-width: 800px) {
  .ud-columns {
    grid-template-columns: minmax(0, 2.2fr) minmax(190px, 1fr);
    gap: 20px;
  }
  .ud-related-grid {
    grid-template-columns: 1fr;
  }
  .ud-next-reading > a {
    grid-template-columns: 1fr;
  }
  .ud-next-reading img {
    aspect-ratio: 16/7;
  }
}
@media (max-width: 739px) {
  .ud-cta {
    order: 1;
    position: static;
  }
  .ud-rail-toc {
    display: none;
  }
  .ud-related-grid,
  .ud-next-reading > a {
    grid-template-columns: 1fr;
  }
}

.ud-related-item > a,
.ud-next-reading > a {
  color: #073b48;
}
.ud-rail-search {
  display: flex;
  margin: 16px 0;
}
.ud-rail-search input {
  min-width: 0;
  width: 100%;
  padding: 10px;
  border: 1px solid #c9d4cf;
  border-right: 0;
  background: #fffdf7;
  font:
    12px Arial,
    sans-serif;
  color: #073b48;
}
.ud-rail-search button {
  border: 1px solid #147781;
  padding: 10px;
  background: #147781;
  color: white;
  font:
    12px Arial,
    sans-serif;
  min-height: 40px;
}

.ud-share {
  border-top: 1px solid #cdd8d1;
  border-bottom: 1px solid #cdd8d1;
  padding: 22px 0;
  margin: 32px 0 26px;
}
.ud-share > h3 {
  color: #073b48;
  font-size: 24px;
  margin: 0 0 8px;
}
.ud-share > p {
  font:
    13px/1.6 Arial,
    sans-serif;
  color: #506e73;
  margin: 0 0 15px;
}
.ud-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ud-share-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #c8d4ce;
  border-radius: 6px;
  color: #073b48;
  background: #fffdf7;
  font:
    12px/1.4 Arial,
    sans-serif;
  cursor: pointer;
}
.ud-share-buttons button:hover {
  border-color: #147781;
  background: #edf3ed;
}
.ud-share-buttons button:focus-visible {
  outline: 2px solid #147781;
  outline-offset: 3px;
}
.ud-share-buttons button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.ud-share-buttons svg {
  flex: 0 0 18px;
}
.ud-share-extra {
  margin-top: 12px;
}
.ud-share-extra[hidden],
.ud-share-fallback[hidden],
.ud-share-fallback a[hidden] {
  display: none;
}
.ud-share > .ud-share-status:empty {
  display: none;
}
.ud-share > .ud-share-status {
  margin: 14px 0 0;
  color: #147781;
}
.ud-share-fallback {
  margin-top: 14px;
  font:
    12px/1.6 Arial,
    sans-serif;
}
.ud-share-fallback label {
  display: block;
  margin-bottom: 5px;
}
.ud-share-fallback input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #c8d4ce;
  padding: 10px;
  color: #073b48;
  background: #fffdf7;
}
.ud-share-fallback a {
  display: inline-block;
  margin-top: 10px;
}

/* Reader-facing photo treatment is consistent; source details remain collapsed. */
.ud-page .ud-figure img,
.ud-next-reading img,
.ud-related-item img {
  border-radius: 10px;
}
.ud-next-reading {
  border: 1px solid #e4dcc4;
  border-radius: 12px;
}
.ud-image-provenance {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid #ded9cb;
}
.ud-image-provenance h4 {
  font-size: 19px;
  margin: 0 0 15px;
}
.ud-image-provenance ul {
  padding-left: 20px;
}
.ud-image-provenance li {
  margin: 0 0 18px;
}
.ud-image-provenance .ud-image-label {
  font:
    13px/1.6 Arial,
    sans-serif;
  margin: 0 0 5px;
}
.ud-image-attribution {
  font:
    12px/1.6 Arial,
    sans-serif;
  color: #506e73;
}

/* Shared Giao Hoa language control, localized routes from the travel catalogue. */
.pqb-language-switcher {
  position: relative;
  font-size: 0.85rem;
  white-space: nowrap;
}
.pqb-language-trigger,
.pqb-language-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  color: inherit;
}
.pqb-language-trigger {
  border: 0;
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.pqb-language-chevron {
  transition: transform 0.15s;
}
.pqb-language-trigger[aria-expanded="true"] .pqb-language-chevron {
  transform: rotate(180deg);
}
.pqb-language-flag {
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px #0002;
  border-radius: 2px;
  overflow: hidden;
}
.pqb-language-options {
  position: absolute;
  z-index: 100;
  top: calc(100% + 6px);
  right: 0;
  min-width: 188px;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  border: 1px solid var(--line, #d4dfdf);
  border-radius: 7px;
  background: var(--paper, #fff);
  color: var(--ink, #123c45);
  box-shadow: 0 8px 24px #001b2526;
}
.pqb-language-options[hidden] {
  display: none;
}
.pqb-language-option {
  width: 100%;
  border-radius: 4px;
  text-decoration: none;
}
.pqb-language-option:hover,
.pqb-language-option[aria-current="page"] {
  background: var(--wash, #edf5f4);
}
.pqb-language-option[aria-current="page"] {
  font-weight: 700;
}
.pqb-language-option[aria-disabled="true"] {
  opacity: 0.45;
}
.pqb-language-selected {
  margin-left: auto;
}
.pqb-language-trigger:focus-visible,
.pqb-language-option:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.header .pqb-language-switcher {
  z-index: 110;
  flex-shrink: 0;
}
.header .pqb-language-flag {
  width: 24px;
  height: 16px;
  stroke: none;
  fill: none;
}
.header .pqb-language-options {
  box-sizing: border-box;
  background: #fffdf7;
  color: #073b48;
  border-color: #d6ddcf;
  border-radius: 8px;
}
.header .pqb-language-option {
  box-sizing: border-box;
}
.header .pqb-language-option:hover,
.header .pqb-language-option[aria-current="page"] {
  background: #edf3ed;
}

.header .pqb-language-switcher {
  display: block;
}
.header .pqb-language-option {
  border-bottom: 0;
}

.header .pqb-language-switcher {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  height: auto;
  width: auto;
  max-width: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font:
    12px/1.5 Arial,
    sans-serif;
}
.header .pqb-language-option {
  padding: 8px 11px;
}

/* Local mobile conversion journey: contextual block, compact recall bar, native modal sheet. */
.ud-mobile-stay,
.ud-stay-bar {
  display: none;
}
.ud-stay-bar[hidden] {
  display: none;
}
.ud-stay-sheet:not([open]) {
  display: none;
}
@media (max-width: 739px) {
  .has-mobile-stay {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .has-mobile-stay .ud-cta > .ud-cta-panel {
    display: none;
  }
  .ud-mobile-stay {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 26px;
    border: 1px solid #ded4b8;
    border-radius: 12px;
    padding: 22px 20px;
    background: linear-gradient(135deg, #f4eed9, #fffdf7);
  }
  .ud-mobile-stay .ud-mobile-stay-label,
  .ud-stay-sheet .ud-mobile-stay-label {
    margin: 0 0 9px;
    font:
      12px/1.5 Arial,
      sans-serif;
    color: #876211;
  }
  .ud-mobile-stay h2 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: #073b48;
  }
  .ud-mobile-stay > p:not(.ud-mobile-stay-label) {
    margin: 0 0 18px;
    color: #506e73;
    font:
      14px/1.65 Arial,
      sans-serif;
  }
  .ud-stay-primary {
    border: 1px solid #896716;
    border-radius: 8px;
    padding: 13px 16px;
    min-height: 46px;
    background: #896716;
    color: white;
    font:
      600 13px/1.4 Arial,
      sans-serif;
    cursor: pointer;
  }
  .ud-mobile-stay .ud-stay-primary {
    width: 100%;
  }
  .ud-stay-primary:hover {
    background: #71520c;
  }
  .ud-stay-primary:focus-visible,
  .ud-stay-sheet-close:focus-visible,
  .ud-stay-sheet-links a:focus-visible {
    outline: 2px solid #147781;
    outline-offset: 3px;
  }
  .ud-stay-bar {
    display: flex;
    position: fixed;
    z-index: 90;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #ddd5bd;
    background: #fffdf7f7;
    box-shadow: 0 -5px 24px #073b4812;
    backdrop-filter: blur(12px);
  }
  .ud-stay-bar-context {
    min-width: 0;
  }
  .ud-stay-bar-context span {
    display: block;
    margin-bottom: 4px;
    font:
      10px/1.4 Arial,
      sans-serif;
    color: #506e73;
  }
  .ud-stay-bar-context strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.2;
    color: #073b48;
  }
  .ud-stay-bar .ud-stay-primary {
    flex-shrink: 0;
    padding-inline: 15px;
    font-size: 12px;
  }
  .ud-stay-sheet {
    box-sizing: border-box;
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: 85dvh;
    margin: 0;
    padding: 16px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    border: 1px solid #ded4b8;
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: #fcf9f1;
    color: #073b48;
    overflow-y: auto;
    box-shadow: 0 -12px 40px #073b4829;
  }
  .ud-stay-sheet[open] {
    display: block;
  }
  .ud-stay-sheet::backdrop {
    background: #073b4873;
  }
  .ud-stay-sheet-handle {
    width: 42px;
    height: 4px;
    border-radius: 5px;
    background: #c5ccbf;
    margin: 0 auto 24px;
  }
  .ud-stay-sheet-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #073b48;
    font:
      28px Arial,
      sans-serif;
    cursor: pointer;
  }
  .ud-stay-sheet h2 {
    margin: 0 40px 12px 0;
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -0.4px;
  }
  .ud-stay-sheet-intro {
    margin: 0 0 20px;
    font:
      14px/1.65 Arial,
      sans-serif;
    color: #506e73;
  }
  .ud-stay-sheet-links {
    display: grid;
    gap: 10px;
  }
  .ud-stay-sheet-links a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 17px 15px;
    border: 1px solid #ddd5bd;
    border-radius: 10px;
    background: #fffdf7;
    text-decoration: none;
    color: #073b48;
  }
  .ud-stay-sheet-links strong {
    grid-column: 1;
    font:
      600 14px/1.4 Arial,
      sans-serif;
  }
  .ud-stay-sheet-links span {
    grid-column: 1;
    font:
      12px/1.5 Arial,
      sans-serif;
    color: #506e73;
  }
  .ud-stay-sheet-links b {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    color: #876211;
  }
  .ud-stay-sheet-note {
    margin: 20px 0 0;
    font:
      12px/1.6 Arial,
      sans-serif;
    color: #506e73;
  }
}
@media (min-width: 740px) {
  .ud-stay-sheet {
    display: none;
  }
}
