.discover-home > section { margin-top: clamp(1.8rem, 3.5vw, 3.3rem); }
.discover-home > section > .section-heading { margin-bottom: .85rem; }
.discover-home .section-heading h2 { margin: 0; }
.discover-home .card h3 a,
.community-shelf h3 a,
.member-tile a { text-decoration: none; }
.discover-home .card h3 a:hover,
.community-shelf h3 a:hover,
.member-tile a:hover strong { text-decoration: underline; }
.discover-home .card { padding: clamp(.9rem, 1.6vw, 1.45rem); }
.discover-home .discover-product {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.discover-product .product-photo {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper);
  text-decoration: none;
}
.discover-product .product-photo img,
.discover-product .product-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.product-photo-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: linear-gradient(145deg, var(--surface), var(--paper));
}
.product-copy { padding: 1rem 1.15rem; overflow-wrap: anywhere; }
.product-copy h3 { margin: .2rem 0 .45rem; }
.product-copy p { margin: .45rem 0; }
.community-shelf { align-items: start; }
.community-shelf > .card { min-width: 0; }
.member-grid:has(.member-tile) {
  grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
  gap: .55rem;
}
.community-shelf .member-grid { grid-template-columns: minmax(0, 1fr); }
.member-tile { min-width: 0; }
.member-tile a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.member-grid .member-tile a img,
.community-shelf .member-tile a img,
.member-initial {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  aspect-ratio: 1;
  max-width: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.member-initial { background: var(--paper); color: var(--ink); font-weight: 700; }
.member-label { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.member-label small { display: block; margin-top: .2rem; color: var(--muted); }
.community-shelf .actions { margin-top: .9rem; }
@media (max-width: 640px) {
  .discover-home .section-heading { flex-wrap: wrap; gap: .55rem; }
  .discover-home > section { margin-top: 1.8rem; }
}

/* Shared typography for the public site and the administration pages. */
:root {
  --font-text: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-text);
}
:root[data-font-style="editorial"] {
  --font-display: Georgia, "Times New Roman", serif;
}
:root[data-font-style="simple"] {
  --font-text: Arial, system-ui, sans-serif;
}
body { font-family: var(--font-text); line-height: 1.6; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.55rem, 2.75vw, 2.45rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.42rem); letter-spacing: -.01em; }
.brand { font-family: var(--font-text); font-weight: 750; letter-spacing: -.035em; }
header nav a, .button, button, .top-pill, label { font-weight: 600; }
.banner-gallery h1 {
  max-width: none;
  font-size: clamp(2.3rem, 5vw, 4.65rem);
  line-height: 1.06;
  letter-spacing: -.027em;
  margin: .45em 0 .35em;
  text-wrap: balance;
}
.banner-gallery h1 span { display: block; white-space: nowrap; }
.banner-gallery section p { max-width: 52ch; line-height: 1.65; }
@media (max-width: 420px) {
  .banner-gallery h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
}

.discover-home .community-shelf { align-items: stretch; }
.discover-home .community-cover { display: block; text-decoration: none; }
.discover-home .community-cover:hover { border-color: var(--accent); }
.discover-home .community-cover img { display: block; aspect-ratio: 16 / 7; object-fit: cover; }
.discover-home .community-cover h3 { margin-bottom: .2rem; }
.discover-home .community-cover p { margin: 0; }
@media (max-width: 640px) {
  .discover-home .community-cover img { aspect-ratio: 16 / 9; }
}

.edit-image-preview { max-width: 420px; }
.crop-dialog {
  width: min(94vw, 34rem);
  max-height: 92vh;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--surface, var(--paper));
  color: var(--ink);
}
.crop-dialog::backdrop { background: rgb(15 30 48 / .72); }
.crop-dialog h2 { margin: 0 0 .65rem; }
.crop-dialog canvas { max-width: 100%; max-height: 35vh; height: auto; margin-inline: auto; }
.crop-dialog canvas:not([hidden]) { display: block; }
.crop-dialog label { margin: .5rem 0; }
.crop-dialog input[type="range"] { padding: 0; }
.crop-trigger:not([hidden]) { margin-bottom: .65rem; }

.crop-dialog canvas { touch-action: none; cursor: grab; }
.crop-dialog canvas:active { cursor: grabbing; }
.edit-image-preview img,
.travel-detail .travel-photo img { aspect-ratio: auto; height: auto; object-fit: contain; }
.place-fields {
  margin: 1rem 0;
  padding: .75rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.place-fields legend { font-weight: 650; padding-inline: .25rem; }
.post-location { margin: .7rem 0; }
.post-location p { margin: 0 0 .25rem; }

.crop-thumbnail { width: auto; max-width: 100%; height: auto; max-height: 240px; border-radius: .6rem; }

/* Preserve spacing and a common control height as action rows wrap. */
.actions, .form-actions, .header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
}
.actions > :is(.button, button), .form-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
}
.actions > form { margin: 0; }
.form-actions { margin-top: 1rem; }
form.panel + .actions, .actions + form.panel { margin-top: .85rem; }
form.panel > .crop-trigger:not([hidden]) { display: inline-flex; margin-top: .2rem; margin-bottom: 0; }
form.panel > button + button,
form.panel > .button + .button,
form.panel > button + .button,
form.panel > .button + button { margin-inline-start: .65rem; }
@media (max-width: 440px) {
  .place-fields .actions > :is(button, .button) { flex: 1 1 100%; }
}

.travel-extras { margin: .9rem 0; }
.travel-extras > summary { cursor: pointer; font-weight: 650; }

:root {
  --action-fill: rgb(229 241 255 / .58);
  --action-subtle: rgb(255 255 255 / .34);
  --action-hover: rgb(205 229 251 / .78);
  --action-line: rgb(82 131 174 / .46);
}
:root[data-theme="dark"] {
  --action-fill: rgb(98 147 198 / .2);
  --action-subtle: rgb(139 177 220 / .11);
  --action-hover: rgb(120 165 217 / .3);
  --action-line: rgb(162 198 235 / .48);
}
body :is(button, .button, .top-pill, .footer-pill),
body .button.secondary {
  background: var(--action-fill);
  color: var(--ink);
  border: 1px solid var(--action-line);
  box-shadow: none;
}
body :is(.button.secondary, .top-pill, .footer-pill) { background: var(--action-subtle); }
body :is(button, .button, .top-pill, .footer-pill):hover:not(:disabled) { background: var(--action-hover); }
body :is(button, .button, .top-pill, .footer-pill):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
body .national-hero .button:not(.secondary) { background: rgb(255 222 150 / .85); color: #172c46; }
body .national-hero .button.secondary { background: rgb(16 47 76 / .48); color: white; border-color: rgb(230 242 255 / .68); }
body .national-hero .button:hover { filter: brightness(1.12); }
body .ops-group a[aria-current] { background: var(--action-hover); color: var(--ink); border-color: var(--action-line); }
form.row-action,
td form.panel,
.owner-visibility form.panel {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
td form.panel .form-actions { margin-top: .5rem; }
td .actions form.row-action button { min-height: 40px; }
.owner-visibility { margin-bottom: 1rem; }
.owner-visibility > p { margin: 0 0 .65rem; }
.owner-visibility details { margin-bottom: .55rem; }
.owner-visibility details summary { display: inline-flex; list-style: none; }
.owner-visibility details summary::-webkit-details-marker { display: none; }

.discover-home .province-shelf[id^="travel-"] {
  grid-auto-columns: calc((100% - 3rem) / 4);
}
.discover-home .home-community > .home-provinces { margin-top: 1.5rem; }
.travel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.travel-card { min-width: 0; }
.travel-card-image { display: block; margin-bottom: .75rem; }
.travel-card .travel-card-image img { display: block; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.travel-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; }
.travel-author { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; text-decoration: none; font-size: .875rem; }
.travel-author span { overflow-wrap: anywhere; }
.travel-author:hover span { text-decoration: underline; }
.travel-card .travel-author img, .travel-card-meta .travel-author img, .travel-author .member-initial {
  width: 1.75rem !important;
  height: 1.75rem !important;
  min-width: 1.75rem;
  border-radius: 50% !important;
  aspect-ratio: 1;
  object-fit: cover;
}
.travel-card h3 { margin: .55rem 0; }
.travel-card p { margin: .45rem 0; }
@media (max-width: 1000px) {
  .discover-home .province-shelf[id^="travel-"] { grid-auto-columns: calc((100% - 2rem) / 3); }
  .travel-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .discover-home .province-shelf[id^="travel-"] { grid-auto-columns: calc((100% - 1rem) / 2); }
  .travel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .discover-home .province-shelf[id^="travel-"] { grid-auto-columns: 72%; }
  .travel-grid { grid-template-columns: 1fr; }
}

.account-pill { display: inline-flex; align-items: center; gap: .45rem; }
.account-pill img, .account-pill .member-initial {
  width: 1.65rem !important;
  height: 1.65rem !important;
  min-width: 1.65rem;
  border-radius: 50%;
  object-fit: cover;
}
.order-anchor { scroll-margin-top: 7rem; }
.order-next { margin-top: 1rem; }
.order-share summary { cursor: pointer; font-weight: 650; }
.order-share .qr-tile { margin-top: 1rem; }

.place-fields [data-photo-pin-use][hidden],
.place-fields [data-photo-pin-preview][hidden],
.place-fields [data-photo-pin-clear][hidden] { display: none; }

/* Keep account actions beside the brand when the navigation needs its own row. */
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand navigation tools";
  column-gap: clamp(.5rem, 1vw, 1rem);
}
.header-inner > .brand { grid-area: brand; }
.header-inner > nav {
  grid-area: navigation;
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: .2rem 0;
  gap: clamp(.1rem, .45vw, .55rem);
  justify-content: safe center;
}
.header-inner > nav a { flex-shrink: 0; padding-inline: .48rem; }
.header-inner > .header-tools {
  grid-area: tools;
  justify-content: flex-end;
  gap: .4rem;
}
.header-inner > .header-tools > .top-pill {
  white-space: nowrap;
  padding-inline: .55rem;
}

@media (max-width: 1140px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools" "navigation navigation";
    row-gap: .4rem;
  }
  .header-inner > nav { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "tools" "navigation";
    padding-block: .55rem;
  }
  .header-inner > .header-tools { justify-content: flex-start; }
}

.header-tools > .icon-pill,
.header-tools form > .icon-pill {
  position: relative;
  display: inline-grid;
  place-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
}
.header-tools > form { margin: 0; }
.tool-icon { font-size: 1.2rem; line-height: 1; }
.tool-badge {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 1rem;
  padding: .05rem .2rem;
  border-radius: 999px;
  background: #ffd072;
  color: #172c46;
  font-size: .67rem;
  line-height: 1.3;
  text-align: center;
}
@media (max-width: 600px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools" "navigation navigation";
  }
  .header-inner > .brand { font-size: clamp(1.15rem, 5vw, 1.85rem); }
  .header-inner > .header-tools { gap: .25rem; }
}
@media (max-width: 385px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "tools" "navigation";
  }
}

.national-hero.banner-gallery {
  min-height: clamp(350px, 39vw, 500px);
  grid-template-columns: minmax(0, 1fr) minmax(145px, 24%);
  border-radius: clamp(1.2rem, 2.5vw, 2rem);
  color: #fff;
}
.national-hero.banner-gallery::after {
  background: linear-gradient(90deg, #071b30ed 0%, #0b233bd9 26%, #0b233b80 56%, #0b233b14 100%);
}
.national-hero.banner-gallery section {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.national-hero.banner-gallery h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.1rem);
  margin: .3em 0 .28em;
  overflow-wrap: anywhere;
}
.national-hero.banner-gallery section p { margin: 0 0 1.1rem; }
.national-hero.banner-gallery .banner-map img { max-height: 305px; }

#featured-trips-shelf .featured-trip {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  text-decoration: none;
}
#featured-trips-shelf .featured-trip > img {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
.featured-trip-copy { padding: 1rem 1.15rem 1.15rem; }
.featured-trip-copy h3 { margin: .3rem 0 .55rem; }
.featured-trip-copy small { color: var(--ink); }
.featured-trip-copy p {
  margin: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
#featured-trips-shelf .featured-trip:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
#featured-trips-shelf .featured-trip:focus-visible { outline-offset: -4px; }

@media (max-width: 600px) {
  .national-hero.banner-gallery {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 0;
  }
  .national-hero.banner-gallery::after {
    background: linear-gradient(90deg, #071b30ed, #0b233b9c);
  }
  .national-hero.banner-gallery section { padding: 1.5rem 1.2rem .65rem; }
  .national-hero.banner-gallery h1 { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .national-hero.banner-gallery .banner-map {
    width: 5.25rem;
    margin: 0 1.1rem .8rem;
  }
}

.discover-home .province-filters { margin: 0 0 .65rem; }
.discover-home .province-filters[hidden],
.discover-home .shelf-arrow[hidden],
#province-shelf > [hidden] { display: none; }
.discover-home .province-filters [aria-pressed="true"] {
  color: var(--ink);
  background: var(--action-hover);
  border-color: currentColor;
}
#province-shelf {
  grid-auto-columns: calc((100% - 3rem) / 4);
}
#province-shelf .province-preview {
  padding: .8rem;
}
#province-shelf .province-preview :is(img, .atlas-image) {
  margin-bottom: .55rem;
  aspect-ratio: 16 / 10;
}
.destination-feature-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: repeat(2, minmax(130px, 1fr));
  gap: .9rem;
}
.destination-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 10rem;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #112e49;
  color: #fff;
  text-decoration: none;
}
.destination-feature:first-child { grid-row: span 2; }
.destination-feature :is(img, .atlas-image) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.destination-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 25%, #081c32ee);
}
.destination-feature-copy { padding: 1rem 1.2rem; }
.destination-feature-copy small { color: inherit; }
.destination-feature-copy h3 { margin: .25rem 0 0; }
.destination-feature:first-child h3 { font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
.destination-feature:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.destination-feature:focus-visible { outline-offset: -4px; }

@media (min-width: 601px) {
  .discover-home #travel-check-in-shelf[data-card-count="2"] {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}
@media (max-width: 900px) {
  #province-shelf { grid-auto-columns: calc((100% - 2rem) / 3); }
}
@media (max-width: 600px) {
  #province-shelf { grid-auto-columns: calc((100% - 1rem) / 2); }
  .destination-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: .65rem;
  }
  .destination-feature:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 13rem;
  }
  .destination-feature-copy { padding: .75rem; }
}

/* Neutral homepage surfaces keep the photography and main actions distinct. */
:root:not([data-theme="dark"]) .home-editorial {
  --ink: #151e2b;
  --muted: #465364;
  --paper: #f5f7fb;
  --surface: #fff;
  --line: #dce3ec;
  --accent: #244cce;
  --action-fill: #e9efff;
  --action-subtle: #fff;
  --action-hover: #eaf0ff;
  --action-line: #bac6dc;
}
:root[data-theme="dark"] .home-editorial {
  --ink: #f1f4fc;
  --muted: #b6c1d1;
  --paper: #121722;
  --surface: #1c2432;
  --line: #374356;
  --accent: #a4b8ff;
  --action-fill: #283552;
  --action-subtle: #1c2432;
  --action-hover: #303e5b;
  --action-line: #51617e;
}
:root body.home-editorial {
  background: var(--paper);
  color: var(--ink);
}
.home-editorial header {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(12px);
}
.home-editorial .header-inner nav a[aria-current] {
  background: var(--action-hover);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--action-line);
}
.home-editorial .national-hero.banner-gallery {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
  min-height: 0;
  gap: 0;
  padding: 0;
  isolation: auto;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: clamp(1rem, 2vw, 1.5rem);
}
.home-editorial .national-hero.banner-gallery::after { content: none; }
.home-editorial .national-hero .home-hero-copy {
  align-self: center;
  padding: clamp(1.55rem, 4.3vw, 3.75rem);
}
.home-editorial .national-hero.banner-gallery h1 {
  font-family: var(--font-text), system-ui, sans-serif;
  font-weight: 750;
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  line-height: 1.06;
  margin: 0 0 .35em;
  text-wrap: balance;
}
.home-editorial .national-hero.banner-gallery section p {
  max-width: 40ch;
  margin-bottom: 1.45rem;
  color: var(--muted);
}
.home-editorial .home-hero-image {
  position: relative;
  min-height: clamp(330px, 32vw, 465px);
}
.home-editorial .national-hero .home-hero-image > img {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  z-index: auto;
}
.home-editorial .national-hero .button:not(.secondary) {
  color: #fff;
  background: #244cce;
  border-color: #244cce;
}
.home-editorial .national-hero .button.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--action-line);
}
.home-editorial .national-hero .button.secondary:hover { background: var(--action-hover); }
.home-editorial .discover-home > section { margin-top: clamp(2.2rem, 4.2vw, 3.7rem); }
.home-editorial .discover-home .section-heading { align-items: center; }
.home-editorial .discover-home h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  letter-spacing: -.04em;
}
.home-editorial .discover-home .card {
  box-shadow: none;
  transition: border-color 160ms ease;
}
.home-editorial .discover-home .card:hover { transform: none; border-color: var(--accent); }
.home-editorial :is(#province-shelf, #speciality-shelf) .province-preview { border-top-width: 1px; }
.home-editorial #speciality-shelf .province-preview { padding: 0; overflow: hidden; }
.home-editorial #speciality-shelf .province-preview > :is(img, .atlas-image) {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  margin: 0;
}
.speciality-copy { padding: .9rem 1rem; }
.speciality-copy h3 { margin: .25rem 0 0; }
.home-editorial .product-copy > p {
  margin: .35rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-editorial .discover-home .community-cover {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}
.home-editorial .discover-home .community-cover img {
  width: 100%;
  height: 100%;
  min-height: 8rem;
  aspect-ratio: auto;
  border-radius: 0;
}
.community-cover-copy { align-self: center; padding: 1rem 1.15rem; }
.home-editorial .community-cover-copy h3 { margin: 0 0 .3rem; }
.home-editorial .community-cover-copy p { line-height: 1.45; }
.home-editorial #travel-check-in-shelf .travel-card { padding: .9rem; }
.home-editorial #travel-check-in-shelf .travel-card-image img {
  aspect-ratio: 16 / 9;
  max-height: 260px;
}

@media (max-width: 680px) {
  .home-editorial .national-hero.banner-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-editorial .national-hero .home-hero-copy { padding: 1.35rem 1.2rem; }
  .home-editorial .national-hero.banner-gallery h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    text-wrap: initial;
  }
  .home-editorial .home-hero-image { min-height: clamp(170px, 53vw, 320px); }
  .home-editorial .discover-home .community-cover { grid-template-columns: 32% minmax(0, 1fr); }
  .community-cover-copy { padding: .75rem; }
}

/* Translucent controls and surfaces, with a brighter rim catching the light. */
.home-editorial {
  --glass-rim: rgb(255 255 255 / .72);
  --glass-shadow: 0 8px 24px rgb(27 47 85 / .09);
}
:root[data-theme="dark"] .home-editorial {
  --glass-rim: rgb(255 255 255 / .18);
  --glass-shadow: 0 8px 24px rgb(0 0 0 / .24);
}
:root body.home-editorial {
  background: radial-gradient(ellipse at 8% 5%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 43rem),
    radial-gradient(ellipse at 96% 18%, color-mix(in srgb, #97b8ff 15%, transparent), transparent 32rem),
    var(--paper);
}
.home-editorial header {
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  backdrop-filter: blur(22px) saturate(155%);
}
.home-editorial .national-hero.banner-gallery {
  background: color-mix(in srgb, var(--surface) 61%, transparent);
  border-color: color-mix(in srgb, var(--line) 78%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(130%);
}
.home-editorial .home-hero-image {
  overflow: hidden;
  margin: .45rem .45rem .45rem 0;
  border-radius: clamp(.75rem, 1.5vw, 1.15rem);
}
.home-editorial .home-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45);
}
.home-editorial .header-tools > .icon-pill,
.home-editorial .discover-home .section-heading .button.secondary,
.home-editorial .discover-home .province-filters .button.secondary,
.home-editorial .national-hero .button.secondary {
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 75%, transparent),
    color-mix(in srgb, var(--surface) 24%, transparent));
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
  backdrop-filter: blur(12px) saturate(145%);
}
.home-editorial .header-tools > .icon-pill:hover,
.home-editorial .discover-home .section-heading .button.secondary:hover:not(:disabled),
.home-editorial .discover-home .province-filters .button.secondary:hover,
.home-editorial .discover-home .province-filters .button.secondary[aria-pressed="true"],
.home-editorial .national-hero .button.secondary:hover {
  background: color-mix(in srgb, var(--action-hover) 80%, transparent);
}
.home-editorial .discover-home .card {
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim), var(--glass-shadow);
}
@media (prefers-reduced-motion: no-preference) {
  .home-editorial .discover-home .card { transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
  .home-editorial .discover-home .card:hover { transform: translateY(-3px); }
  .home-editorial .header-tools > .icon-pill { transition: transform 160ms ease, background 160ms ease; }
  .home-editorial .header-tools > .icon-pill:hover { transform: translateY(-2px); }
}
@media (max-width: 680px) {
  .home-editorial .home-hero-image { margin: 0 .4rem .4rem; }
}

/* Feathered glass over the full-frame banner. */
:root[data-theme="dark"] .home-editorial {
  --paper: #25303f;
  --surface: #344357;
  --ink: #f2f6fc;
  --muted: #cedcec;
  --line: #53657b;
  --accent: #a9beff;
  --action-fill: #405675;
  --action-subtle: #344459;
  --action-hover: #465e7e;
  --action-line: #7388a2;
}
:root[data-theme="dark"] body.home-editorial {
  background: radial-gradient(ellipse at 15% 0%, #3a4d64, transparent 44rem),
    radial-gradient(ellipse at 100% 32%, #2e3e55, transparent 52rem),
    var(--paper);
}
:root[data-theme="dark"] .home-editorial header {
  background: color-mix(in srgb, #293749 86%, transparent);
}
.home-editorial .national-hero.banner-gallery {
  isolation: isolate;
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(360px, 38vw, 520px);
  padding: 0 clamp(.9rem, 2.7vw, 2.3rem) clamp(.9rem, 2.7vw, 2.3rem);
  background: #1b2635;
}
.home-editorial .national-hero .home-hero-copy {
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: min(100%, 36rem);
  padding: .45rem clamp(1.1rem, 2.7vw, 2.25rem) .8rem;
  position: relative;
  color: #fff;
}
.home-editorial .national-hero.banner-gallery::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(7px) saturate(115%);
}
.home-editorial .national-hero.banner-gallery::before {
  inset: 0 auto 0 0;
  width: 62%;
  background: rgb(9 20 32 / .48);
  mask-image: linear-gradient(to right, #000 0%, #000 55%, transparent 100%);
}
.home-editorial .national-hero.banner-gallery .home-hero-copy p {
  color: #fff;
  text-shadow: 0 1px 4px #081421;
}
.home-editorial .national-hero.banner-gallery .home-hero-copy h1 {
  font-size: clamp(2rem, 3.75vw, 3.5rem);
  text-shadow: 0 2px 10px #08142199;
}
.home-editorial .national-hero .home-hero-copy .button.secondary {
  color: #fff;
  background: rgb(255 255 255 / .15);
  border-color: #ffffff7a;
}
.home-editorial .national-hero .home-hero-copy .button.secondary:hover { background: rgb(255 255 255 / .25); }
.home-editorial .national-hero .home-hero-image {
  position: absolute;
  inset: 0;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  z-index: -1;
}
.home-slide { position: absolute; inset: 0; }
.home-slide[hidden] { display: none; }
.home-editorial .national-hero .home-slide > :is(img, video) {
  position: absolute;
  inset: 0;
  z-index: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}
.home-slide video { opacity: 0; pointer-events: none; }
.home-slide video.banner-video-playing { opacity: 1; }
@media (max-width: 680px) {
  .home-editorial .national-hero.banner-gallery {
    min-height: 25rem;
    padding: 0 .7rem .7rem;
  }
  .home-editorial .national-hero .home-hero-copy {
    width: 100%;
    padding: .4rem 1rem .75rem;
  }
  .home-editorial .national-hero.banner-gallery .home-hero-copy h1 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .home-editorial .national-hero .home-hero-copy p { margin-bottom: .85rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-editorial .destination-feature {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }
  .home-editorial .destination-feature :is(img, .atlas-image) {
    transition: transform 280ms ease;
  }
  .home-editorial .destination-feature:is(:hover, :focus-visible) {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow);
  }
  .home-editorial .destination-feature:is(:hover, :focus-visible) :is(img, .atlas-image) {
    transform: scale(1.035);
  }
}

.home-editorial .national-hero.banner-gallery .hero-map-glass {
  display: block;
  width: clamp(8rem, 15vw, 13rem);
  margin: 0 0 auto;
  padding-bottom: .6rem;
}
.home-editorial .national-hero.banner-gallery .hero-map-glass a { display: block; }
.home-editorial .national-hero.banner-gallery .hero-map-glass img {
  width: 100%;
  max-height: clamp(135px, 18vw, 225px);
  object-position: left center;
}
@media (max-width: 680px) {
  .home-editorial .national-hero.banner-gallery .hero-map-glass { width: 7.25rem; }
  .home-editorial .national-hero.banner-gallery .hero-map-glass img { max-height: 120px; }
  .home-editorial .national-hero.banner-gallery { min-height: 27rem; }
  .home-editorial .national-hero.banner-gallery::before {
    width: 100%;
    mask-image: linear-gradient(to right, #000 0%, #000 65%, #0007 100%);
  }
}

/* Public cards share a neutral frosted surface in each theme. */
.store-workspace {
  --frosted-top: rgb(255 255 255 / 54%);
  --frosted-bottom: rgb(255 255 255 / 22%);
  --frosted-edge: rgb(255 255 255 / 64%);
  --frosted-shadow: 0 8px 24px rgb(28 38 61 / 9%);
}
:root[data-theme="dark"] .store-workspace {
  --frosted-top: rgb(53 59 70 / 64%);
  --frosted-bottom: rgb(22 26 34 / 47%);
  --frosted-edge: rgb(255 255 255 / 19%);
  --frosted-shadow: 0 8px 24px rgb(0 0 0 / 21%);
}
.store-workspace :is(.card, .member-tile, .province-heading),
.home-editorial .discover-home .card {
  background: linear-gradient(155deg, var(--frosted-top), var(--frosted-bottom));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 var(--frosted-edge), var(--frosted-shadow);
}
.home-editorial .discover-home .card:is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}
@supports (mask-image: linear-gradient(transparent, #000)) {
  .store-workspace .destination-feature::after {
    background: linear-gradient(to bottom, rgb(10 13 20 / 8%), rgb(10 13 20 / 84%));
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    mask-image: linear-gradient(to bottom, transparent 18%, #000 82%);
  }
}

.footer-legal-identity {
  display: grid;
  gap: .35rem;
  margin: .75rem 0 0;
  overflow-wrap: anywhere;
}

.footer-legal-identity dt,
.footer-legal-identity dd {
  display: inline;
  margin: 0;
}

.footer-legal-identity dt {
  font-weight: 600;
  margin-inline-end: .4rem;
}

.legal-document {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.header-inner > .mobile-menu-toggle { display: none; }
.header-inner > nav[hidden] { display: none; }

@media (max-width: 760px) {
  .header-inner:has(> .mobile-menu-toggle:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand tools menu" "navigation navigation navigation";
    gap: .25rem;
  }

  .header-inner > .mobile-menu-toggle:not([hidden]) {
    grid-area: menu;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .mobile-menu-toggle > span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
  }

  .header-inner > #main-navigation {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    white-space: normal;
  }

  .header-inner > #main-navigation a {
    padding: .64rem .75rem;
  }
}

@media (max-width: 385px) {
  .header-inner:has(> .mobile-menu-toggle:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu" "tools tools" "navigation navigation";
  }
}

@media (max-width: 600px) {
  .home-editorial .store-workspace {
    width: calc(100% - 2rem);
    margin-block-start: 1rem;
    min-width: 0;
  }

  .home-editorial .discover-home > section { margin-top: 2rem; }

  .home-editorial .discover-home .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem .75rem;
  }

  .home-editorial .discover-home .section-heading h2 {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
    overflow-wrap: anywhere;
  }

  .home-editorial .home-provinces:has(.province-filters) .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-editorial .discover-home .section-heading .button.secondary {
    padding-inline: .7rem;
  }

  .home-editorial .discover-home .province-shelf,
  .home-editorial .discover-home .province-shelf[id^="travel-"] {
    grid-auto-columns: 100%;
    grid-template-columns: none;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .home-editorial .discover-home .province-shelf > .card {
    scroll-snap-align: start;
    min-width: 0;
  }

  .home-editorial .national-hero.banner-gallery {
    min-height: 0;
    padding: 0;
  }

  .home-editorial .national-hero .home-hero-copy {
    padding: 1rem;
    gap: .6rem;
  }

  .home-editorial .national-hero.banner-gallery .hero-map-glass {
    margin: 0;
    padding: 0;
    width: 6rem;
  }

  .home-editorial .national-hero.banner-gallery .hero-map-glass img { max-height: 108px; }

  .home-editorial .national-hero.banner-gallery .home-hero-copy h1 {
    margin: 0;
    overflow-wrap: anywhere;
  }

  .home-editorial .national-hero.banner-gallery .home-hero-copy h1 span { white-space: normal; }
  .home-editorial .national-hero.banner-gallery .home-hero-copy p { margin: 0; }
  .home-editorial .national-hero .home-hero-copy .actions { margin-top: .3rem; }
}

@media (max-width: 335px) {
  .home-editorial .discover-home .section-heading { grid-template-columns: minmax(0, 1fr); }
}

/* Match the proportions of the public actions across the header, content and footer. */
:is(.store-workspace, .site-footer) :is(.button, button, .footer-pill) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem 1rem;
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--action-line) 52%, transparent);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.home-editorial .discover-home :is(.section-heading, .province-filters) .button.secondary {
  box-shadow: inset 0 1px 0 var(--frosted-edge);
}

.header-inner :is(.icon-pill, .mobile-menu-toggle) {
  border-color: color-mix(in srgb, var(--action-line) 52%, transparent);
  background: color-mix(in srgb, var(--surface) 63%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-rim, transparent);
}
.header-inner :is(.icon-pill, .mobile-menu-toggle):hover:not(:disabled) {
  background: var(--action-hover);
}

.home-editorial .home-hero-copy .actions {
  align-items: stretch;
  gap: .55rem;
}
.home-editorial .home-hero-copy .actions > .button {
  min-height: 46px;
  padding: .6rem 1.15rem;
}
.home-editorial .national-hero .home-hero-copy .button.secondary { border-color: rgb(255 255 255 / .36); }

@media (max-width: 600px) {
  .home-editorial .home-hero-copy .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .home-editorial .discover-home .section-heading .button.secondary {
    padding-inline: .8rem;
    font-size: .875rem;
    white-space: nowrap;
  }

  .site-footer .footer-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    width: 100%;
  }

  .site-footer .footer-social .share-status { grid-column: 1 / -1; }
}

.home-editorial .discover-home .home-provinces:has(> .province-filters) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem 1rem;
}
.home-editorial .discover-home .home-provinces:has(> .province-filters) > .section-heading { display: contents; }
.home-provinces:has(> .province-filters) > .section-heading > h2 { grid-column: 1 / -1; }
.home-provinces:has(> .province-filters) > .section-heading > .actions {
  grid-column: 2;
  grid-row: 2;
  justify-content: end;
  gap: .4rem;
}
.home-editorial .discover-home .province-filters:not([hidden]) {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .15rem;
  width: min(100%, 25rem);
  margin: 0;
  padding: .2rem;
  border-radius: .85rem;
  background: color-mix(in srgb, var(--action-line) 19%, transparent);
}
.home-editorial .discover-home .province-filters .button.secondary {
  min-height: 44px;
  padding: .3rem .2rem;
  border: 0;
  border-radius: .65rem;
  background: transparent;
  box-shadow: none;
  font-size: .875rem;
}
.home-editorial .discover-home .province-filters .button.secondary[aria-pressed="true"] {
  background: var(--surface);
  box-shadow: 0 1px 4px rgb(0 0 0 / 12%);
}
.home-provinces:has(> .province-filters) > .province-shelf { grid-column: 1 / -1; min-width: 0; }
@media (max-width: 600px) {
  .home-editorial .discover-home .home-provinces:has(> .province-filters) { grid-template-columns: minmax(0, 1fr); }
  .home-provinces:has(> .province-filters) > .section-heading > .actions {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-editorial .discover-home .province-filters:not([hidden]) { grid-row: 3; width: 100%; }
}

:is(.header-inner, .footer-summary) > .brand {
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
:is(.header-inner, .footer-summary) > .brand img {
  width: 1.25em;
  height: 1.25em;
  object-fit: contain;
  flex: none;
}
.header-inner > .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) {
  .header-inner:has(> .mobile-menu-toggle:not([hidden])):has(.header-tools > a[href="/thong-bao"]) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu" "tools tools" "navigation navigation";
  }
}

/* A translucent surface, reflected light and a curved rim for interactive controls. */
body {
  --drop-fill-top: rgb(255 255 255 / 41%);
  --drop-fill-bottom: rgb(233 239 249 / 17%);
  --drop-shine: rgb(255 255 255 / 41%);
  --drop-rim: rgb(255 255 255 / 85%);
  --drop-shadow: rgb(37 52 88 / 12%);
}
:root[data-theme="dark"] body {
  --drop-fill-top: rgb(109 128 158 / 32%);
  --drop-fill-bottom: rgb(23 31 48 / 46%);
  --drop-shine: rgb(217 234 255 / 23%);
  --drop-rim: rgb(225 239 255 / 35%);
  --drop-shadow: rgb(0 0 0 / 30%);
}

body :is(button, .button, .top-pill, .footer-pill),
body :is(button, .button, .top-pill, .footer-pill):hover:not(:disabled),
body .button.secondary,
body .header-inner :is(.icon-pill, .mobile-menu-toggle),
body .header-inner :is(.icon-pill, .mobile-menu-toggle):hover:not(:disabled),
body .national-hero .home-hero-copy .button.secondary,
body .national-hero .home-hero-copy .button.secondary:hover,
body .national-hero .button:not(.secondary),
.home-editorial .discover-home :is(.section-heading, .province-filters) .button.secondary,
.home-editorial .discover-home :is(.section-heading, .province-filters) .button.secondary:is(:hover, [aria-pressed="true"]) {
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--drop-rim) 68%, var(--action-line));
  background-image:
    radial-gradient(ellipse 75% 65% at 32% 0%, var(--drop-shine), transparent 85%),
    linear-gradient(160deg, var(--drop-fill-top), var(--drop-fill-bottom));
  background-color: transparent;
  box-shadow:
    inset 0 1px 1px var(--drop-rim),
    inset 0 -2px 4px color-mix(in srgb, var(--drop-shadow) 65%, transparent),
    0 3px 9px var(--drop-shadow);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.home-editorial .national-hero .button:not(.secondary) {
  --drop-fill-top: rgb(46 91 222 / 96%);
  --drop-fill-bottom: rgb(29 63 177 / 92%);
  --drop-shine: rgb(218 231 255 / 40%);
  color: #fff;
}
body .national-hero .home-hero-copy .button.secondary {
  --drop-fill-top: rgb(255 255 255 / 23%);
  --drop-fill-bottom: rgb(255 255 255 / 12%);
  --drop-shine: rgb(255 255 255 / 23%);
  color: #fff;
  border-color: rgb(255 255 255 / 56%);
  text-shadow: 0 1px 3px rgb(0 0 0 / 48%);
}
.home-editorial .discover-home .province-filters .button.secondary {
  --drop-fill-top: transparent;
  --drop-fill-bottom: transparent;
  --drop-shine: transparent;
  border-color: transparent;
  box-shadow: none;
}
.home-editorial .discover-home .province-filters .button.secondary[aria-pressed="true"] {
  --drop-fill-top: color-mix(in srgb, var(--surface) 82%, transparent);
  --drop-fill-bottom: color-mix(in srgb, var(--surface) 42%, transparent);
  --drop-shine: var(--drop-rim);
  border-color: var(--drop-rim);
  background-color: transparent;
}

@media (hover: hover) {
  body :is(button, .button, .top-pill, .footer-pill):not(:disabled):not([aria-disabled="true"]):hover {
    filter: brightness(1.08);
  }
}
@media (prefers-reduced-motion: no-preference) {
  body :is(button, .button, .top-pill, .footer-pill):not(:disabled):not([aria-disabled="true"]):active {
    scale: .97;
  }
}

/* VietLocal: mobile toolbar and transparent glass */
body {
  --drop-fill-top: rgb(255 255 255 / 21%);
  --drop-fill-bottom: rgb(233 239 249 / 7%);
  --drop-shine: rgb(255 255 255 / 23%);
  --drop-rim: rgb(255 255 255 / 63%);
  --drop-shadow: rgb(37 52 88 / 8%);
}
:root[data-theme="dark"] body {
  --drop-fill-top: rgb(109 128 158 / 18%);
  --drop-fill-bottom: rgb(23 31 48 / 21%);
  --drop-shine: rgb(217 234 255 / 16%);
  --drop-rim: rgb(225 239 255 / 26%);
  --drop-shadow: rgb(0 0 0 / 19%);
}
body :is(.header-inner, .ops-header) :is(.icon-pill, .mobile-menu-toggle) {
  background-color: transparent;
}
.home-editorial .national-hero .button:not(.secondary) {
  --drop-fill-top: rgb(40 82 209 / 82%);
  --drop-fill-bottom: rgb(26 56 173 / 76%);
}

@media (max-width: 760px) {
  .header-inner:has(> .mobile-menu-toggle:not([hidden])),
  .header-inner:has(> .mobile-menu-toggle:not([hidden])):has(.header-tools > a[href="/thong-bao"]) {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand tools menu" "navigation navigation navigation";
    gap: 0 .22rem;
    align-items: center;
  }
  .header-inner > .brand { min-width: 0; font-size: clamp(1rem, 4.2vw, 1.35rem); white-space: nowrap; }
  .header-inner > .header-tools { flex-wrap: nowrap; gap: .2rem; }
  .header-inner > .header-tools > .icon-pill,
  .header-inner > .mobile-menu-toggle:not([hidden]) {
    width: clamp(36px, 10.5vw, 44px);
    height: 44px;
    padding: 0;
  }
  .header-inner .tool-icon { font-size: 1.05rem; }
  .header-inner .account-pill img { max-inline-size: 26px; max-block-size: 26px; }
}
@media (max-width: 380px) {
  .header-inner:has(> .mobile-menu-toggle:not([hidden])) > .brand span {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
/* End VietLocal mobile toolbar and transparent glass */

/* VietLocal: refined light glass */
:root:not([data-theme="dark"]) body {
  --drop-fill-top: rgb(218 231 249 / 31%);
  --drop-fill-bottom: rgb(190 210 240 / 14%);
  --drop-shine: rgb(255 255 255 / 30%);
  --drop-rim: rgb(255 255 255 / 52%);
  --drop-shadow: rgb(37 52 88 / 6%);
}
:root:not([data-theme="dark"]) body :is(.header-inner, .ops-header) :is(.icon-pill, .mobile-menu-toggle),
:root:not([data-theme="dark"]) .home-editorial .discover-home .section-heading .button.secondary {
  background:
    linear-gradient(165deg, rgb(255 255 255 / 29%), rgb(189 209 239 / 17%));
  border: 1px solid rgb(91 119 165 / 25%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), 0 1px 3px rgb(42 66 108 / 6%);
}
:root:not([data-theme="dark"]) body :is(.header-inner, .ops-header) :is(.icon-pill, .mobile-menu-toggle):hover,
:root:not([data-theme="dark"]) .home-editorial .discover-home .section-heading .button.secondary:hover {
  background: linear-gradient(165deg, rgb(255 255 255 / 34%), rgb(169 196 235 / 29%));
  border-color: rgb(91 119 165 / 39%);
}

.store-workspace .actions:has(> a[href="/bai-cua-toi"]):has(> a[href="/lich-cua-toi"]) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  align-items: stretch;
  gap: .55rem;
  margin-block: .75rem 1rem;
}
.store-workspace .actions:has(> a[href="/bai-cua-toi"]):has(> a[href="/lich-cua-toi"]) > .button {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: .45rem .65rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .store-workspace .actions:has(> a[href="/bai-cua-toi"]):has(> a[href="/lich-cua-toi"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: .45rem;
  }
  .store-workspace .actions:has(> a[href="/bai-cua-toi"]):has(> a[href="/lich-cua-toi"]) > .button { font-size: .9rem; min-height: 44px; }
}

@media (max-width: 600px) {
  .store-workspace .actions:has(> a[href="/bai-cua-toi"]):has(> a[href="/lich-cua-toi"]) {
    gap: .35rem .45rem;
    justify-items: start;
  }
  .store-workspace .actions:has(> a[href="/bai-cua-toi"]):has(> a[href="/lich-cua-toi"]) > .button {
    width: auto;
    max-width: 100%;
    min-height: 38px;
    padding: .25rem .68rem;
    font-size: .81rem;
  }
  .home-editorial .national-hero .home-hero-copy .actions {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: .35rem;
  }
  .home-editorial .national-hero .home-hero-copy .actions > .button {
    min-height: 40px;
    min-width: 0;
    padding: .38rem .36rem;
    font-size: .8rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .home-editorial .discover-home .section-heading .button.secondary {
    min-height: 36px;
    padding: .3rem .6rem;
    font-size: .8rem;
  }
  .header-inner > .header-tools > .icon-pill,
  .header-inner > .mobile-menu-toggle:not([hidden]) {
    width: clamp(34px, 9.5vw, 38px);
    height: 38px;
    min-height: 0;
  }
  .header-inner .tool-icon { font-size: .95rem; }
}

/* End VietLocal refined light glass */

/* VietLocal: round menu theme toggle */
@media (max-width: 760px) {
  .header-inner #main-navigation details > .actions:has(> [data-theme-toggle]) {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: .6rem;
    padding: .45rem .65rem;
  }
  .header-inner #main-navigation details > .actions > [data-theme-toggle] {
    box-sizing: border-box;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border-radius: 50%;
    line-height: 1;
  }
  .header-inner #main-navigation details > .actions > [data-theme-toggle] .tool-icon {
    line-height: 1;
  }
}

.home-editorial .national-hero.banner-gallery::before {
  inset: 0;
  width: 100%;
  mask-image: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(90deg, rgb(9 20 32 / 58%), rgb(9 20 32 / 28%) 52%, transparent 85%);
}
@media (max-width: 680px) {
  .home-editorial .national-hero.banner-gallery::before {
    background: linear-gradient(0deg, rgb(9 20 32 / 65%), rgb(9 20 32 / 31%) 48%, transparent 78%);
  }
}

/* End VietLocal round menu theme toggle */
