@charset "UTF-8";
:root {
  --teal: #00695f;
  --teal-dark: #004c46;
  --ink: #0c1930;
  --muted: #748092;
  --gold: #efb15f;
  --line: #e5e9ed;
  --bg: #f5f7f4;
  --navy: #082234;
  --shadow: 0 3px 18px #1d303609;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--teal);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #efb15f;
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce2e9;
  border-radius: 7px;
  background: #fff;
  padding: 11px 12px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 80px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex: none;
}
input[type="range"] {
  padding: 0;
  accent-color: var(--teal);
}
input[type="color"] {
  height: 40px;
  padding: 4px;
}
label {
  display: block;
  margin: 13px 0;
  font-size: 13px;
  line-height: 1.7;
}
label > input,
label > select,
label > textarea {
  margin-top: 5px;
}
h1,
h2 {
  font-family: "Noto Serif", Georgia, serif;
  letter-spacing: -0.6px;
}
h1 {
  font-size: 36px;
  line-height: 1.3;
  margin: 12px 0 20px;
}
h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 0 0 10px;
}
h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 9px;
}
h4 {
  font-size: 13px;
  margin: 22px 0 10px;
}
p {
  line-height: 1.75;
}
small {
  font-size: 11px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  border: 0;
  background: none;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(105deg, #007c70, #005d55);
  color: #fff;
  font-weight: 500;
  padding: 12px 18px;
  line-height: 1.4;
  white-space: nowrap;
}
.btn:hover {
  background: #004f49;
  color: #fff;
  box-shadow: 0 3px 12px #00695f20;
}
.btn .icon {
  filter: brightness(0) invert(1);
}
.btn.white {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn.white .icon,
.btn.light .icon,
.btn.danger .icon {
  filter: none;
}
.btn.light {
  background: #f0f4f3;
  color: var(--teal-dark);
  border-color: #e0e8e5;
}
.btn.earth {
  background: linear-gradient(110deg, #a45328, #c88b4e);
}
.btn.small {
  font-size: 12px;
  padding: 8px 12px;
}
.btn.small .icon {
  width: 16px;
  height: 16px;
}
.btn.full {
  width: 100%;
  margin-top: 10px;
}
.btn.danger {
  background: #fff1ef;
  color: #b6322d;
  border-color: #f7c9c4;
}
.icon-btn {
  display: inline-flex;
  width: 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f0f2f3;
  flex: none;
}
.icon-btn:hover,
.icon-btn.active {
  background: var(--teal);
  color: white;
}
.icon-btn.active .icon,
.icon-btn:hover .icon {
  filter: brightness(0) invert(1);
}
.text-btn {
  color: var(--teal);
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.prose {
  line-height: 1.9;
  color: #596376;
  font-size: 14px;
}
.small-text {
  font-size: 11px;
}
.panel {
  background: white;
  border-radius: 13px;
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel + .panel {
  margin-top: 14px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
  min-width: 0;
}
.section-heading h2,
.section-heading h3,
.section-heading p {
  margin: 0;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.section-heading > a,
.section-heading > .text-btn {
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-heading .icon {
  width: 18px;
  height: 18px;
}
.section-icon {
  display: grid;
  place-items: center;
  width: 38px;
  color: var(--teal);
}
.section-icon .icon {
  width: 31px;
  height: 31px;
  filter: invert(30%) sepia(61%) saturate(1118%) hue-rotate(129deg);
}
.orange .icon {
  filter: invert(43%) sepia(68%) saturate(759%) hue-rotate(337deg);
}
.pink .icon {
  filter: invert(41%) sepia(90%) saturate(1460%) hue-rotate(312deg);
}
.action-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
}
.content-container {
  max-width: 1350px;
  margin: 28px auto;
  padding: 24px;
}
.overlap {
  position: relative;
  z-index: 2;
  margin-top: -25px !important;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.two-col > .panel {
  margin-top: 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px;
  background: #fff;
}
.skip:focus {
  top: 10px;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: white;
  border-radius: 9px;
  padding: 14px 22px;
  max-width: 90vw;
  z-index: 10000;
  opacity: 0;
  transition: 0.25s;
  box-shadow: 0 8px 35px #0003;
  pointer-events: none;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#toast.error {
  background: #a83531;
}
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 4.5%;
  background: #fffffff0;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 15px #092b3810;
}
.brand {
  flex: none;
  display: inline-block;
}
.brand img {
  width: 207px;
  height: auto;
  mix-blend-mode: multiply;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 23px;
  flex: 1;
  justify-content: center;
  height: 100%;
  font-size: 12px;
}
.site-header nav > a,
.nav-more > summary {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}
.site-header nav > a.active {
  font-weight: 700;
  color: var(--teal-dark);
}
.site-header nav > a.active:after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
}
.nav-more {
  position: relative;
  height: 100%;
}
.nav-more > summary {
  cursor: pointer;
  list-style: none;
}
.nav-more > div {
  position: absolute;
  top: 65px;
  left: -20px;
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 10px 25px #0002;
}
.nav-more a {
  display: block;
  padding: 10px;
  border-radius: 6px;
}
.nav-more a:hover {
  background: #eaf5f0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
}
.flag {
  background: #ef1427;
  color: #ffea13;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 15px;
}
.mobile-menu {
  display: none;
}
.hero {
  --hero: url("/assets/hero.webp");
  position: relative;
  background-image:
    linear-gradient(90deg, #001e2d66, transparent 70%), var(--hero);
  background-position: center;
  background-size: cover;
  color: white;
  min-height: 310px;
  padding: 30px 5% 35px;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50px;
  background: linear-gradient(transparent, #f5f7f480);
  pointer-events: none;
}
.hero-inner {
  max-width: 1390px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  line-height: 1.5;
  margin: 0 0 7px;
  font-weight: 500;
}
.hero h1 {
  font-size: 46px;
  margin: 4px 0 8px;
  letter-spacing: -1px;
  color: #fff;
}
.hero h1 em {
  font-family: "Dancing Script", cursive;
  font-size: 64px;
  line-height: 0.9;
  font-weight: 500;
  color: var(--gold);
  font-style: normal;
}
.hero-subtitle {
  font-size: 17px;
  margin: 6px 0 18px;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 600px;
  max-width: 100%;
  padding: 4px 4px 4px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 40px;
  box-shadow: 0 3px 15px #0001;
  margin-top: 16px;
  height: 44px;
}
.hero-search input {
  border: 0;
  box-shadow: none;
  padding: 8px 0;
  font-size: 12px;
  background: none;
}
.hero-search .btn {
  padding: 8px 22px;
  border-radius: 30px;
  height: 36px;
}
.hero-categories {
  display: flex;
  gap: 9px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fffffff2;
  color: var(--ink);
  border-radius: 10px;
  min-width: 125px;
  font-size: 12px;
}
.cat-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 3px 10px #00301f0c;
}
.cat-icon .icon {
  width: 25px;
  height: 25px;
  filter: invert(34%) sepia(75%) saturate(831%) hue-rotate(128deg);
}
.category[style*="f89820"] .icon,
.home-categories a[style*="f89820"] .icon {
  filter: invert(61%) sepia(94%) saturate(1510%) hue-rotate(356deg);
}
.category[style*="fa5272"] .icon,
.home-categories a[style*="fa5272"] .icon {
  filter: invert(45%) sepia(80%) saturate(1643%) hue-rotate(317deg);
}
.category[style*="a34ee9"] .icon,
.home-categories a[style*="a34ee9"] .icon {
  filter: invert(38%) sepia(61%) saturate(1626%) hue-rotate(240deg);
}
.home-hero {
  min-height: 342px;
  padding: 29px 8.3% 21px;
  background-position: center 52%;
}
.home-hero:after {
  display: none;
}
.home-hero h1 {
  font-size: 58px;
  margin: 0;
  line-height: 1.13;
  letter-spacing: 1px;
}
.script-line {
  font-family: "Dancing Script", cursive;
  color: var(--gold);
  font-size: 47px;
  line-height: 1.12;
  margin: 0 0 5px;
  font-weight: 500;
}
.hero-copy {
  font-size: 13px;
  line-height: 1.7;
  margin: 4px 0 8px;
}
.home-hero .hero-search {
  width: 525px;
  height: 40px;
  margin: 9px 0 14px;
}
.home-hero .hero-search .btn {
  height: 33px;
  border-radius: 8px 25px 25px 8px;
}
.home-categories {
  display: flex;
  gap: 31px;
  max-width: 550px;
  justify-content: space-between;
}
.home-categories a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
}
.home-categories .cat-icon {
  width: 42px;
  height: 42px;
}
.hero-video {
  position: absolute;
  right: -2%;
  top: 41px;
  width: 268px;
  padding: 16px;
  border: 1px solid #dce5d7;
  border-radius: 11px;
  background: #002a2c77;
  backdrop-filter: blur(7px);
  display: grid;
  grid-template-columns: 48px 1fr 15px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  line-height: 1.6;
  color: #fff !important;
}
.hero-video .icon {
  filter: brightness(0) invert(1);
}
.play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: grid;
  place-items: center;
  background: #ffffff44;
}
.video-thumbs {
  grid-column: 1/4;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}
.video-thumbs img {
  height: 46px;
  object-fit: cover;
  border: 1px solid white;
  border-radius: 5px;
  width: 100%;
}
.hero-caption {
  position: absolute;
  bottom: 12px;
  right: 35px;
  font-size: 11px;
}
.home-content {
  padding: 16px 2.2% 30px;
  max-width: 1600px;
  margin: auto;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.featured-card {
  position: relative;
  height: 125px;
  border-radius: 9px;
  overflow: hidden;
  color: white !important;
  box-shadow: 0 3px 8px #001d1b17;
}
.featured-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 28%, #001b16c4);
}
.featured-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.featured-card:hover > img {
  transform: scale(1.05);
}
.featured-card > div {
  position: absolute;
  bottom: 9px;
  left: 12px;
  right: 28px;
  z-index: 1;
}
.featured-card h3 {
  font-size: 12px;
  margin: 0 0 2px;
}
.featured-card small {
  font-size: 10px;
}
.featured-card small .icon {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}
.round-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f6f7f8;
  display: grid;
  place-items: center;
  z-index: 2;
}
.round-arrow .icon {
  width: 15px;
  height: 15px;
}
.journey-row {
  display: grid;
  grid-template-columns: 3.1fr 1fr;
  gap: 15px;
  margin-top: 19px;
}
.journeys {
  padding: 14px 17px;
  background: #fcf5ef;
}
.journeys .section-heading {
  margin-bottom: 9px;
}
.journeys h2 {
  font-size: 21px;
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tour-card {
  position: relative;
  border-radius: 10px;
  background: white;
  padding: 4px 4px 9px;
  overflow: hidden;
}
.tour-card > div {
  position: relative;
}
.tour-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 7px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #007d65ed;
  border: 1px solid #ffffff44;
  border-radius: 7px;
  color: white;
  padding: 4px 8px;
  font-size: 10px;
  position: absolute;
  top: 10px;
  left: 10px;
}
.badge .icon {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}
.badge.static {
  position: static;
  font-size: 12px;
}
.tour-card h3 {
  font-size: 11px;
  margin: 7px 8px 4px;
}
.tour-card small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin: 4px 8px 0;
}
.tour-card small .icon {
  width: 11px;
  height: 11px;
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 10px;
}
.tags span,
.tags a,
.tag {
  padding: 4px 7px;
  border-radius: 4px;
  background: #e7f5ef;
  color: #12634f;
  font-size: 10px;
  display: inline-block;
}
.tags a {
  background: #eaf2ff;
  color: #0064c9;
}
.tour-card .tags {
  margin: 0 8px;
}
.tour-card .round-arrow {
  bottom: 17px;
  right: 10px;
}
.experience-banner {
  border-radius: 13px;
  padding: 22px 20px;
  background:
    linear-gradient(90deg, #fff0de, #eec39d55),
    url("/assets/bai-dinh.webp") right bottom/cover;
  color: #9d512b;
  overflow: hidden;
  min-height: 222px;
}
.experience-banner h2 {
  font-size: 25px;
  line-height: 1.2;
}
.experience-banner p {
  font-size: 10px;
}
.experience-banner .btn {
  font-size: 11px;
  border-radius: 20px;
  padding: 9px 15px;
}
.home-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  margin-top: 18px;
}
.home-bottom > section + section {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.home-bottom h2 {
  font-family: inherit;
  font-size: 17px;
  letter-spacing: -0.5px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mini-grid img {
  height: 69px;
  object-fit: cover;
  border-radius: 5px;
  width: 100%;
}
.mini-grid strong {
  font-size: 10px;
  display: block;
  line-height: 1.5;
  margin-top: 4px;
}
.mini-grid small {
  font-size: 9px;
  color: var(--muted);
}
.food-feature {
  background: #fff6e8;
  border-radius: 8px;
  padding: 12px 16px;
  min-height: 100px;
}
.food-feature h3 {
  font-family: "Noto Serif", serif;
  color: #9d512b;
}
.food-feature p,
.food-feature a {
  font-size: 11px;
  margin: 2px 0;
}
.food-feature .icon {
  width: 14px;
  height: 14px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-list a {
  display: flex;
  gap: 10px;
  font-size: 10px;
  line-height: 1.5;
}
.news-list img {
  width: 110px;
  height: 35px;
  object-fit: cover;
  border-radius: 4px;
}
.news-list small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 32px 5% 20px;
  background: #edf3ef;
  margin-top: 30px;
  font-size: 11px;
  color: #566d69;
}
.site-footer strong {
  display: block;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
}
.site-footer p {
  font-size: 11px;
}
.site-footer > small {
  grid-column: 1/-1;
  border-top: 1px solid #d8e1dc;
  padding-top: 12px;
  font-size: 10px;
}
.three-col {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) 320px;
  gap: 12px;
  margin: 0 2.1% 25px;
}
.filters {
  padding: 18px;
}
.filters h4 {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.filters label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #606b7d;
  margin: 6px 0;
}
.filters input[type="checkbox"] {
  margin: 0;
  width: 14px;
  height: 14px;
}
.filters h3 {
  font-size: 15px;
}
.filters .text-btn {
  font-size: 10px;
}
.results-toolbar {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 15px;
  font-size: 12px;
}
.results-toolbar select {
  margin-left: auto;
  width: auto;
  font-size: 11px;
  padding: 9px;
}
.results-toolbar input {
  flex: 1;
}
.inline-search {
  font-size: 12px;
  margin-bottom: 15px;
}
.places-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.place-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: white;
}
.card-image {
  display: block;
  position: relative;
  height: 143px;
  overflow: hidden;
}
.card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}
.place-card:hover .card-image > img {
  transform: scale(1.04);
}
.card-body {
  padding: 10px;
}
.card-body h3 {
  font-size: 12px;
  margin-bottom: 5px;
}
.location {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  line-height: 1.5;
}
.location .icon {
  width: 14px;
  height: 14px;
}
.card-body .location {
  font-size: 10px;
  margin: 5px 0;
}
.rating {
  font-size: 11px;
  color: #f4a100;
}
.rating strong {
  color: var(--ink);
}
.rating span {
  color: var(--muted);
}
.favorite {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
  background: #062c2766;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.favorite .icon {
  filter: brightness(0) invert(1);
}
[data-favorite][aria-pressed="true"] {
  background: #ffebef;
  color: #dc244b;
}
[data-favorite][aria-pressed="true"] .icon {
  filter: invert(31%) sepia(69%) saturate(1800%) hue-rotate(318deg);
}
.places-grid.list-view {
  grid-template-columns: 1fr;
}
.list-view .place-card {
  display: flex;
}
.list-view .card-image {
  width: 200px;
  flex: none;
}
.list-view .card-body {
  padding: 20px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 22px 0 0;
  flex-wrap: wrap;
}
.pagination button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 11px;
  background: #fafafa;
  font-size: 11px;
}
.pagination button.active {
  background: var(--teal);
  color: white;
}
.right-rail {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}
.right-rail .panel {
  padding: 16px;
  margin: 0;
}
.right-rail h3 {
  font-size: 14px;
}
.mini-map {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #e1ecdf;
  position: relative;
}
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.topic-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  height: 86px;
}
.topic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topic-grid span {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 8px 8px;
  background: linear-gradient(transparent, #002c22);
  color: white;
  font-size: 10px;
}
.plan-banner {
  border-radius: 12px;
  background: linear-gradient(130deg, #fcf6db, #c9e4d3);
  padding: 22px;
  color: var(--teal-dark);
}
.plan-banner p {
  font-size: 12px;
}
.plan-banner .btn {
  font-size: 11px;
}
.detail-hero {
  padding-top: 15px;
  min-height: 310px;
}
.detail-hero h1 {
  font-size: 39px;
}
.breadcrumbs {
  font-size: 11px;
  color: inherit;
  opacity: 0.85;
  margin: 0 0 20px;
}
.detail-hero .location {
  color: white;
}
.detail-hero .location .icon {
  filter: brightness(0) invert(1);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 16px;
  margin: 0 2.3% 30px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  overflow: auto;
  white-space: nowrap;
}
.tabs a,
.tabs button {
  display: inline-flex;
  padding: 13px 8px;
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.tabs .active {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 600;
}
.overview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  padding: 4px 0 12px;
}
.overview h2 {
  font-size: 19px;
}
.overview h2 .icon {
  margin-right: 9px;
}
.info-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  background: #f4f6fa;
  border-radius: 8px;
  gap: 13px 10px;
  padding: 18px;
  font-size: 11px;
  margin: 0;
}
.info-grid dt {
  display: flex;
  gap: 8px;
  align-items: center;
}
.info-grid .icon {
  width: 16px;
  height: 16px;
}
.info-grid dd {
  margin: 0;
  line-height: 1.6;
}
.source-link {
  font-size: 11px;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 90px 90px;
  gap: 9px;
}
.gallery-photo {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}
.gallery-photo.lead {
  grid-row: 1/3;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nearby-list a {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}
.nearby-list img {
  width: 95px;
  height: 65px;
  border-radius: 6px;
  object-fit: cover;
}
.nearby-list strong {
  font-size: 12px;
}
.nearby-list small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}
.review {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.review .rating {
  float: right;
}
.review p {
  font-size: 12px;
}
.switch-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  margin: 12px 0;
}
.switch-row input {
  appearance: none;
  width: 28px;
  height: 16px;
  border: 0;
  border-radius: 15px;
  background: #d0d8d9;
  padding: 0;
  position: relative;
  margin: 0;
}
.switch-row input:before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 3px;
  left: 3px;
  background: white;
  border-radius: 50%;
}
.switch-row input:checked {
  background: var(--teal);
}
.switch-row input:checked:before {
  left: 15px;
}
.weather-box {
  padding: 10px;
  background: #f1f7f6;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.7;
}
.weather-box strong {
  font-size: 25px;
  color: var(--teal);
}
#measure-output {
  display: block;
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
}
#itinerary-stops {
  padding-left: 20px;
}
#itinerary-stops li {
  padding: 12px 0;
  font-size: 12px;
  cursor: grab;
}
#itinerary-stops button {
  color: #b5322b;
  margin-left: 8px;
}
.map-marker {
  width: 30px;
  height: 37px;
  cursor: pointer;
  filter: drop-shadow(0 2px 3px #0003);
}
.map-marker > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 3px;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  background: var(--marker, #008577);
}
.map-marker img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  transform: rotate(45deg);
}
.mapboxgl-popup-content {
  font-family: "Be Vietnam Pro", sans-serif;
  border-radius: 10px;
  padding: 14px;
  min-width: 200px;
}
.map-popup h3 {
  margin: 0 0 6px;
  font-size: 13px;
}
.map-popup > img {
  height: 110px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.map-popup .btn {
  font-size: 10px;
  padding: 7px;
}
.map-fallback {
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #e6eee5;
  height: 100%;
  color: #356556;
  text-align: center;
}
.vr-hero {
  min-height: 250px;
}
.vr-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  gap: 16px;
  margin: 0 2.2% 30px;
}
.vr-featured {
  display: flex;
  overflow: auto;
  gap: 12px;
  scroll-snap-type: x mandatory;
  padding-bottom: 5px;
}
.vr-card {
  flex: 0 0 calc(20% - 10px);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  padding: 0 0 10px;
  text-align: left;
  scroll-snap-align: start;
  background: white;
  min-width: 150px;
}
.vr-card.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px #00857715;
}
.vr-card > div {
  position: relative;
}
.vr-card img {
  height: 140px;
  width: 100%;
  object-fit: cover;
}
.vr-card strong,
.vr-card small {
  display: block;
  margin: 8px 9px 0;
  font-size: 12px;
}
.vr-card small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.vr-card .badge {
  top: auto;
  bottom: 7px;
  left: 7px;
  background: #11392bb3;
  border-radius: 15px;
}
.vr-layout .section-heading input {
  max-width: 250px;
  margin-left: auto;
  font-size: 11px;
}
.vr-viewer {
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  background: #09252b;
}
.vr-viewer a-scene {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vr-viewer:fullscreen {
  height: 100vh;
  border-radius: 0;
}
.viewer-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  z-index: 3;
  background: #09252b;
}
.viewer-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #00252f9c;
  color: #fff;
  padding: 8px 12px;
  border-radius: 7px;
  z-index: 3;
  pointer-events: none;
  font-size: 11px;
}
.scene-strip {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 10px 0;
}
.scene-strip button {
  flex: 0 0 115px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-size: 10px;
  text-align: center;
  line-height: 1.4;
}
.scene-strip button.active {
  border-color: var(--teal);
  background: #e8f5ee;
}
.scene-strip img {
  width: 100%;
  height: 63px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 4px;
}
.vr-controls {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  padding: 9px 0;
}
.vr-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 auto;
  font-size: 10px;
}
.vr-controls select {
  font-size: 10px;
  width: 110px;
  padding: 7px;
  margin: 0;
}
.vr-controls audio {
  height: 32px;
  width: 250px;
}
.caption {
  background: #eef5f0;
  padding: 12px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.7;
}
.scene-minimap {
  position: relative;
  min-height: 140px;
  background: radial-gradient(ellipse at center, #dfebd0, #bbd4bb);
  border-radius: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  align-content: center;
  overflow: hidden;
}
.scene-minimap button {
  position: relative;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: 50%;
  font-size: 9px;
  z-index: 1;
}
.scene-minimap button.active {
  background: var(--teal);
  color: white;
}
.scene-minimap .fov-cone {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  width: 65px;
  height: 75px;
  background: #e4a42a88;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
  z-index: 0;
}
.satellite-hero {
  min-height: 230px;
  background-image:
    linear-gradient(90deg, #063750cc, #04496522), url("/assets/hero.webp");
}
.satellite-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 265px;
  gap: 14px;
  margin: 0 1.4% 30px;
}
.satellite-layout aside label {
  font-size: 11px;
}
.radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.radio-row input {
  margin: 0;
}
.satellite-map-shell {
  height: 490px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.satellite-map {
  position: absolute;
  inset: 0;
  background: #233c32;
}
.compare-map {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}
#compare-slider {
  position: absolute;
  z-index: 4;
  top: 45%;
  left: 0;
  width: 100%;
  background: transparent;
}
.map-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fffe;
  font-size: 10px;
  z-index: 3;
}
.satellite-map-shell + section {
  margin-top: 14px;
}
.metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 11px;
  line-height: 1.6;
}
.metadata dt {
  color: var(--muted);
}
.metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.job-list {
  max-height: 250px;
  overflow: auto;
}
.job {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
}
.job strong {
  display: block;
}
.job small {
  display: block;
  color: var(--muted);
}
.short-hero {
  min-height: 215px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card > a > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 9px;
}
.article-card h2 {
  font-size: 20px;
  margin: 15px 0 8px;
}
.article-card p {
  font-size: 13px;
  color: var(--muted);
}
.article-page {
  max-width: 1000px;
}
.article-page > a {
  display: block;
  margin-bottom: 20px;
}
.article-cover {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 10px;
}
.article-page .prose {
  white-space: pre-wrap;
}
.document-list article {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.document-list article > .icon {
  width: 32px;
  height: 32px;
}
.document-list article > div {
  flex: 1;
}
.document-list p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.document-list h3 {
  margin: 0 0 5px;
}
.document-list .btn {
  font-size: 11px;
}
.inline-form {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.inline-form label {
  margin: 0;
  flex: 1;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 23px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}
.stat-card strong {
  font-size: 34px;
  color: var(--teal);
  display: block;
  font-family: "Noto Serif", serif;
}
.stat-card span {
  font-size: 12px;
  color: var(--muted);
}
.bar-row {
  margin: 20px 0;
  font-size: 12px;
}
.bar-row > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
}
.bar-track {
  height: 20px;
  border-radius: 6px;
  background: #e9f0ed;
  overflow: hidden;
}
.bar-track > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #008676, #5cbba0);
  border-radius: 6px;
}
.report-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.report-card h3 {
  margin-top: 10px;
}
.report-card p {
  font-size: 12px;
}
.report-card small {
  color: var(--muted);
}
.report-card .text-btn {
  float: right;
}
.check-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.check-label input {
  margin: 0;
}
.form-error {
  font-size: 12px;
  color: #b5362b;
  white-space: pre-wrap;
}
.form-error:empty {
  display: none;
}
.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fefdf960, #163d3722),
    url("/assets/hero.webp") center/cover;
  padding: 20px 5% 45px;
}
.auth-page > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-page > header > a:last-child {
  font-size: 12px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  max-width: 1200px;
  margin: 40px auto 0;
  gap: 60px;
  align-items: center;
}
.auth-pitch {
  align-self: stretch;
  padding-top: 10px;
}
.auth-pitch h2 {
  font-size: 30px;
  margin: 0;
}
.auth-pitch h1 {
  font-size: 62px;
  color: #16494b;
  margin: 0;
}
.auth-pitch .script-line {
  font-size: 42px;
  color: #a45328;
  margin-top: 0;
}
.auth-pitch ul {
  list-style: none;
  padding: 0;
  margin: 90px 0 0;
  color: white;
  font-size: 14px;
}
.auth-pitch li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
  max-width: 270px;
}
.auth-pitch li .icon {
  width: 43px;
  height: 43px;
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  filter: brightness(0) invert(1);
}
.auth-card {
  background: #fffffff7;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 60px #082e2212;
}
.auth-card h2 {
  font-size: 28px;
  margin: 0;
}
.auth-card > p {
  font-size: 12px;
  margin-bottom: 25px;
}
.auth-card label {
  font-size: 12px;
  margin: 17px 0;
}
.auth-card input {
  padding: 12px;
}
.password-wrap {
  position: relative;
  display: block;
}
.password-wrap input {
  padding-right: 45px;
}
.toggle-password {
  position: absolute;
  right: 3px;
  top: 5px;
  background: transparent;
}
.form-between {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin: 20px 0;
}
.form-between a {
  color: var(--teal);
}
.auth-switch {
  text-align: center;
  margin: 30px 0 0 !important;
  color: var(--muted);
  font-size: 12px;
}
.auth-switch a {
  color: #a8582b;
  margin-left: 8px;
  font-weight: 500;
}
.account-page {
  padding-top: 35px;
}
.account-page h1 {
  font-size: 30px;
}
.account-page .panel > .btn {
  margin-top: 18px;
}
.account-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.legal {
  max-width: 850px;
  margin: 40px auto;
}
.legal h2 {
  margin-top: 30px;
}
.error-page {
  min-height: 50vh;
  padding: 90px 20px;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 26px;
  max-width: 90vw;
  width: 650px;
  box-shadow: 0 15px 80px #0005;
  color: var(--ink);
}
dialog::backdrop {
  background: #001b27aa;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 5;
}
#media-dialog {
  width: auto;
  max-width: 92vw;
  padding: 35px 22px 22px;
}
#media-dialog img {
  max-height: 80vh;
  max-width: 85vw;
}
#media-dialog video {
  max-height: 75vh;
  max-width: 85vw;
}
#media-dialog p {
  white-space: pre-wrap;
}
.admin-shell {
  min-height: 100vh;
  background: #f4f8fc;
}
.admin-header {
  height: 66px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #f8fbff;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #dce7ed;
  padding: 8px 25px;
}
.admin-header .brand img {
  width: 160px;
}
.admin-title {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-user strong {
  display: block;
  font-size: 11px;
}
.admin-user small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.admin-user > .icon {
  width: 28px;
  height: 28px;
}
.admin-sidebar {
  position: fixed;
  top: 66px;
  bottom: 0;
  left: 0;
  width: 210px;
  background: linear-gradient(150deg, #0b2b42, #061b28);
  padding: 18px 10px;
  overflow: auto;
  color: #d7e5ed;
  z-index: 40;
}
.admin-sidebar > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 11px;
  margin: 3px 0;
  line-height: 1.5;
}
.admin-sidebar > a:hover {
  background: #125c66;
  color: white;
}
.admin-sidebar .icon {
  filter: brightness(0) invert(1);
  width: 16px;
  height: 16px;
  opacity: 0.9;
}
.admin-sidebar > a.active {
  background: linear-gradient(90deg, #007a7d, #005865);
  color: white;
}
.sidebar-label {
  display: block;
  padding: 22px 12px 8px;
  color: #7694a6;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.admin-main {
  padding: 90px 28px 35px;
  margin-left: 210px;
}
.admin-main h1 {
  font-family: inherit;
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
}
.admin-main h2 {
  font-family: inherit;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.admin-main .eyebrow {
  font-size: 9px;
  color: var(--teal);
  margin-bottom: 10px;
}
.admin-main .panel {
  border: 1px solid #e5edf4;
  box-shadow: none;
}
.admin-main .stat-card {
  border: 1px solid #deebf3;
  border-top: 3px solid var(--teal);
}
.quick-links {
  display: grid;
  gap: 10px;
}
.quick-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f5f9fc;
  font-size: 12px;
  border-radius: 7px;
}
.workflow {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  flex-wrap: wrap;
}
.workflow span {
  font-size: 11px;
  background: #e6f3ef;
  color: var(--teal);
  border-radius: 7px;
  padding: 12px;
}
.workflow b {
  color: var(--muted);
}
.admin-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.admin-tour-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.admin-tour-card > img {
  height: 145px;
  width: 100%;
  object-fit: cover;
}
.admin-tour-card > div {
  padding: 15px;
}
.admin-tour-card h3 {
  margin: 10px 0 3px;
}
.admin-tour-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
}
.admin-tour-card small {
  color: var(--muted);
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
}
th {
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  color: #5b7186;
  background: #f3f7fb;
  padding: 13px 10px;
  white-space: nowrap;
}
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  max-width: 300px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
td .btn {
  font-size: 10px;
}
td img {
  width: 55px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}
.table-scroll {
  margin-top: 16px;
}
#record-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
#record-fields label.wide {
  grid-column: 1/-1;
}
.service-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  font-size: 12px;
}
.editor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.editor-top h1 {
  font-size: 20px;
  margin-bottom: 5px;
}
.editor-top .breadcrumbs {
  font-size: 10px;
  margin-bottom: 7px;
}
.editor-tabs {
  gap: 15px;
  margin-bottom: 12px;
}
.editor-workspace {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 250px;
  gap: 12px;
}
.scene-navigator {
  padding: 12px !important;
  max-height: 850px;
  overflow: auto;
}
.scene-navigator h3 {
  font-size: 12px;
}
.scene-navigator input {
  font-size: 10px;
  padding: 8px;
}
.navigator-scene {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  border: 1px solid #dfebf4;
  border-radius: 6px;
  padding: 6px;
  margin: 8px 0;
  text-align: left;
  font-size: 10px;
  background: #fff;
  cursor: grab;
  line-height: 1.5;
}
.navigator-scene.active {
  background: #e2f2ff;
  border-color: #48a3ec;
}
.navigator-scene img {
  width: 45px;
  height: 35px;
  border-radius: 4px;
  object-fit: cover;
}
.navigator-scene.disabled {
  opacity: 0.5;
}
.navigator-scene span {
  flex: 1;
  overflow-wrap: anywhere;
}
.navigator-scene b {
  font-size: 9px;
  color: var(--muted);
}
.editor-center {
  min-width: 0;
}
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}
.editor-toolbar label {
  margin: 0;
  font-size: 9px;
  flex: 1;
}
.editor-toolbar select {
  width: 115px;
  font-size: 10px;
  padding: 7px;
}
.editor-toolbar .btn {
  font-size: 10px;
}
.editor-viewer {
  height: 380px;
  border-radius: 9px;
}
.editor-hint {
  padding: 8px 10px;
  background: #fff8df;
  font-size: 10px;
  color: #836222;
  margin: 8px 0;
  border-radius: 6px;
}
.editor-bottom {
  padding: 16px !important;
}
.editor-bottom h3 {
  font-size: 13px;
}
.editor-bottom label {
  font-size: 11px;
}
.editor-bottom .muted {
  font-size: 11px;
}
.properties {
  padding: 15px !important;
}
.properties h3 {
  font-size: 13px;
}
.properties label {
  font-size: 10px;
  margin: 10px 0;
}
.properties input,
.properties select,
.properties textarea {
  font-size: 11px;
  padding: 8px;
}
.properties .btn {
  font-size: 11px;
  padding: 9px;
}
.properties details {
  font-size: 11px;
  padding: 10px 0;
}
.properties .check-label input {
  width: 14px;
  height: 14px;
}
.hotspot-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  margin: 7px 0;
  font-size: 11px;
  cursor: pointer;
}
.hotspot-row .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.hotspot-row small {
  margin-left: auto;
  color: var(--muted);
}
.library-dialog {
  width: 900px;
  max-height: 85vh;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
  max-height: 55vh;
  overflow: auto;
}
.library-item {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.library-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 6px;
}
.library-item > .icon {
  width: 40px;
  height: 40px;
  margin: 20px auto;
  display: block;
}
.timeline-step {
  display: grid;
  grid-template-columns: 30px 1fr 80px 80px 80px 75px 25px;
  gap: 8px;
  align-items: center;
  border: 1px solid #dceaf2;
  border-left: 4px solid var(--teal);
  background: #f8fbfe;
  padding: 9px;
  border-radius: 6px;
  margin: 8px 0;
  cursor: grab;
  font-size: 10px;
}
.timeline-step input,
.timeline-step select {
  font-size: 10px;
  padding: 6px;
}
.timeline-step small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}
.timeline-step button {
  color: #c4372c;
}
.dragging {
  opacity: 0.45;
}
.vr-preview-dialog {
  width: 1000px;
}
.vr-preview-dialog .vr-viewer {
  height: 60vh;
}
.form-status {
  font-size: 11px;
  color: var(--teal);
}
@media (min-width: 1600px) {
  .site-header {
    padding-left: max(5%, calc((100vw - 1536px) / 2));
    padding-right: max(5%, calc((100vw - 1536px) / 2));
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .home-hero {
    min-height: 390px;
  }
  .three-col,
  .detail-layout,
  .map-layout,
  .vr-layout,
  .satellite-layout {
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
  }
  .home-content {
    padding-top: 25px;
  }
  .featured-card {
    height: 145px;
  }
  .tour-card img {
    height: 115px;
  }
}
@media (max-width: 1300px) {
  .site-header {
    padding: 0 25px;
    gap: 16px;
  }
  .site-header .brand img {
    width: 175px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 10px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .language {
    display: none;
  }
  .hero h1 {
    font-size: 40px;
  }
  .three-col {
    grid-template-columns: 190px minmax(0, 1fr) 250px;
  }
  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .satellite-layout {
    grid-template-columns: 230px minmax(0, 1fr) 225px;
  }
  .admin-sidebar {
    width: 185px;
  }
  .admin-main {
    margin-left: 185px;
    padding: 85px 18px 30px;
  }
  .editor-workspace {
    grid-template-columns: 160px minmax(0, 1fr) 220px;
  }
  .editor-toolbar {
    flex-wrap: wrap;
  }
  .editor-toolbar label {
    flex-basis: 100%;
  }
  .editor-viewer {
    height: 330px;
  }
  .editor-top .action-row {
    gap: 5px;
  }
  .editor-top .btn {
    font-size: 10px;
    padding: 7px;
  }
  .timeline-step {
    grid-template-columns: 20px 1fr 65px 65px 65px 25px;
  }
  .timeline-step .transition-col {
    display: none;
  }
  .home-categories {
    gap: 15px;
  }
  .tour-card h3 {
    font-size: 10px;
  }
  .journeys h2 {
    font-size: 18px;
  }
  .featured-card h3 {
    font-size: 11px;
  }
  .home-bottom h2 {
    font-size: 15px;
  }
}
@media (max-width: 1050px) {
  .site-header nav {
    gap: 11px;
  }
  .site-header nav > a:nth-last-child(-n + 3) {
    display: none;
  }
  .site-header .brand img {
    width: 165px;
  }
  .hero-video {
    width: 230px;
    right: 0;
  }
  .home-hero {
    padding-left: 5%;
  }
  .home-hero h1 {
    font-size: 50px;
  }
  .script-line {
    font-size: 40px;
  }
  .hero-search {
    max-width: 65%;
  }
  .home-hero .hero-search {
    max-width: 65%;
  }
  .home-categories {
    max-width: 550px;
  }
  .three-col {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .three-col > .right-rail {
    display: none;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .overview {
    grid-template-columns: 1fr;
  }
  .satellite-layout {
    grid-template-columns: 220px 1fr;
  }
  .satellite-layout > .right-rail {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .vr-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .vr-card {
    flex-basis: 160px;
  }
  .vr-layout .section-heading {
    flex-wrap: wrap;
  }
  .vr-layout h2 {
    font-size: 19px;
  }
  .vr-viewer {
    height: 350px;
  }
  .journey-row {
    grid-template-columns: 1fr;
  }
  .experience-banner {
    display: none;
  }
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .featured-card {
    height: 140px;
  }
  .home-bottom {
    gap: 16px;
  }
  .home-bottom .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-bottom .mini-grid > a:last-child {
    display: none;
  }
  .news-list img {
    width: 70px;
  }
  .site-footer {
    gap: 20px;
  }
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .editor-workspace {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .properties {
    grid-column: 1/-1;
  }
  .properties form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .editor-top {
    align-items: start;
  }
  .editor-top .action-row {
    max-width: 220px;
  }
  .auth-layout {
    gap: 30px;
    grid-template-columns: 1fr 400px;
  }
  .auth-card {
    padding: 26px;
  }
  .auth-pitch h1 {
    font-size: 55px;
  }
}
@media (max-width: 760px) {
  :root {
    font-size: 13px;
  }
  .site-header {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }
  .site-header .brand img {
    width: 155px;
  }
  .mobile-menu {
    display: flex;
    margin-left: auto;
    order: 2;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: auto;
    max-height: 85vh;
    overflow: auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px;
    gap: 0;
    box-shadow: 0 12px 25px #0002;
    font-size: 13px;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav > a,
  .site-header nav > a:nth-last-child(-n + 3) {
    display: block;
    padding: 12px;
    height: auto;
  }
  .site-header nav > a.active:after {
    display: none;
  }
  .nav-more {
    height: auto;
  }
  .nav-more > summary {
    padding: 12px;
  }
  .nav-more > div {
    position: static;
    box-shadow: none;
    width: auto;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions > .icon-btn {
    display: none;
  }
  .header-actions .btn {
    font-size: 10px;
    padding: 8px;
  }
  .header-actions .btn .icon {
    display: none;
  }
  .hero {
    min-height: 270px;
    padding: 26px 22px 40px;
  }
  .hero h1 {
    font-size: 31px;
    line-height: 1.45;
  }
  .hero h1 em {
    font-size: 45px;
    display: inline-block;
  }
  .hero-subtitle {
    font-size: 13px;
    line-height: 1.7;
  }
  .hero-search {
    max-width: 100%;
    height: 44px;
  }
  .hero-categories {
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 6px;
    gap: 7px;
  }
  .category {
    min-width: 140px;
    font-size: 10px;
    padding: 8px;
  }
  .category .cat-icon {
    width: 32px;
    height: 32px;
  }
  .category .cat-icon .icon {
    width: 20px;
  }
  .home-hero {
    padding: 27px 22px 22px;
    min-height: 390px;
    background-position: 60% center;
  }
  .home-hero h1 {
    font-size: 44px;
    line-height: 1.2;
  }
  .home-hero .script-line {
    font-size: 35px;
    margin: 4px 0 10px;
  }
  .hero-copy {
    font-size: 11px;
  }
  .home-hero .hero-search {
    max-width: 100%;
    margin-top: 20px;
  }
  .hero-video {
    display: none;
  }
  .home-categories {
    gap: 6px;
    margin-top: 18px;
  }
  .home-categories a {
    font-size: 8px;
    white-space: normal;
    text-align: center;
    max-width: 67px;
  }
  .home-categories .cat-icon {
    width: 36px;
    height: 36px;
  }
  .home-categories .icon {
    width: 20px;
  }
  .hero-caption {
    font-size: 8px;
    bottom: 7px;
    right: 15px;
  }
  .home-content {
    padding: 20px 14px;
  }
  .section-heading {
    gap: 8px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .section-heading > a {
    font-size: 9px;
  }
  .section-icon {
    display: none;
  }
  .featured-grid {
    display: flex;
    overflow: auto;
    gap: 10px;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
  }
  .featured-card {
    flex: 0 0 200px;
    height: 145px;
    scroll-snap-align: start;
  }
  .featured-card h3 {
    font-size: 12px;
  }
  .journey-row {
    margin-top: 15px;
  }
  .journeys {
    padding: 14px;
  }
  .journeys h2 {
    font-size: 17px;
  }
  .journeys .section-heading > a {
    display: none;
  }
  .tour-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tour-card img {
    height: 95px;
  }
  .tour-card h3 {
    font-size: 11px;
  }
  .tour-card small {
    font-size: 8px;
  }
  .tour-card .round-arrow {
    display: none;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .home-bottom > section + section {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .home-bottom .mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-bottom .mini-grid > a:last-child {
    display: block;
  }
  .home-bottom .mini-grid img {
    height: 85px;
  }
  .news-list a {
    font-size: 12px;
    gap: 12px;
  }
  .news-list img {
    width: 100px;
    height: 50px;
  }
  .news-list small {
    font-size: 10px;
  }
  .three-col {
    grid-template-columns: 1fr;
    margin: 0 12px 20px;
  }
  .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
    padding: 15px;
  }
  .filters .section-heading {
    width: 100%;
    margin-bottom: 5px;
  }
  .filters h4 {
    display: none;
  }
  .filters label {
    font-size: 10px;
  }
  .filters > input[type="range"],
  .filters > #radius-label,
  .filters > #locate-filter {
    display: none;
  }
  .filters label:has([name="area"]),
  .filters label:has(#rating-filter) {
    display: none;
  }
  .result-panel {
    padding: 14px;
  }
  .results-toolbar {
    font-size: 11px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .results-toolbar select {
    font-size: 10px;
  }
  .results-toolbar .icon-btn {
    width: 31px;
    height: 31px;
  }
  .inline-search {
    font-size: 11px;
  }
  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .card-image {
    height: 125px;
  }
  .card-body {
    padding: 9px;
  }
  .card-body h3 {
    font-size: 11px;
  }
  .card-body .location {
    font-size: 9px;
  }
  .tags {
    font-size: 8px;
  }
  .tags span,
  .tags a {
    font-size: 8px;
    padding: 3px 5px;
  }
  .badge {
    font-size: 9px;
    padding: 3px 6px;
    left: 6px;
    top: 6px;
  }
  .favorite {
    width: 26px;
    height: 26px;
    right: 5px;
    top: 5px;
  }
  .favorite .icon {
    width: 17px;
  }
  .detail-hero h1 {
    font-size: 29px;
  }
  .detail-hero .action-row {
    gap: 6px;
  }
  .detail-hero .btn {
    font-size: 10px;
    padding: 9px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    margin: 0 12px 20px;
  }
  .detail-layout > .right-rail {
    display: grid;
    grid-template-columns: 1fr;
  }
  .overview {
    gap: 15px;
  }
  .info-grid {
    font-size: 10px;
    grid-template-columns: 110px 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 160px 90px 90px;
  }
  .gallery-photo.lead {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .tabs {
    gap: 8px;
  }
  .tabs a,
  .tabs button {
    font-size: 10px;
  }
  .panel {
    padding: 16px;
  }
  .detail-layout h2 {
    font-size: 19px;
  }
  .vr-layout {
    grid-template-columns: 1fr;
    margin: 0 12px 20px;
  }
  .vr-layout .right-rail {
    display: grid;
    grid-template-columns: 1fr;
  }
  .vr-card {
    flex: 0 0 145px;
  }
  .vr-card img {
    height: 110px;
  }
  .vr-layout .section-heading {
    gap: 8px;
  }
  .vr-layout .section-heading input {
    width: 100%;
    max-width: none;
    margin: 5px 0 0;
  }
  .vr-layout .section-heading h2 {
    font-size: 18px;
  }
  .vr-viewer {
    height: 300px;
  }
  .vr-controls {
    gap: 7px;
  }
  .vr-controls label {
    margin-left: 0;
  }
  .vr-controls audio {
    width: 100%;
  }
  .scene-strip button {
    flex-basis: 95px;
  }
  .scene-strip img {
    height: 53px;
  }
  .vr-hero {
    min-height: 215px;
  }
  .satellite-layout {
    grid-template-columns: 1fr;
    margin: 0 12px 20px;
  }
  .satellite-layout > aside:first-child {
    order: 2;
  }
  .satellite-layout > section {
    order: 1;
  }
  .satellite-layout > .right-rail {
    order: 3;
    grid-template-columns: 1fr;
  }
  .satellite-map-shell {
    height: 390px;
  }
  .satellite-hero {
    min-height: 205px;
  }
  .satellite-layout form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .satellite-layout form h4,
  .satellite-layout form .btn {
    grid-column: 1/-1;
  }
  .satellite-layout form h4 {
    margin: 12px 0 0;
  }
  .satellite-layout .radio-row {
    font-size: 10px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .content-container {
    margin: 20px 12px;
    padding: 16px;
  }
  .short-hero {
    min-height: 195px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-card > a > img {
    height: 190px;
  }
  .article-card h2 {
    font-size: 21px;
  }
  .article-cover {
    height: 210px;
  }
  .article-page h1 {
    font-size: 28px;
  }
  .document-list article {
    flex-wrap: wrap;
    gap: 12px;
  }
  .document-list article > div {
    flex-basis: 70%;
  }
  .document-list article .btn {
    margin-left: 45px;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card strong {
    font-size: 29px;
  }
  .stat-card span {
    font-size: 10px;
  }
  .inline-form .btn {
    font-size: 11px;
  }
  .inline-form label {
    min-width: 120px;
  }
  .account-page h1 {
    font-size: 25px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 25px 20px;
    gap: 20px;
    font-size: 10px;
  }
  .site-footer > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer .brand img {
    width: 180px;
  }
  .site-footer > small {
    font-size: 9px;
  }
  .auth-page {
    padding: 18px 18px 35px;
  }
  .auth-page > header .brand img {
    width: 150px;
  }
  .auth-page > header > a:last-child {
    font-size: 10px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
  }
  .auth-pitch {
    padding: 0;
  }
  .auth-pitch h2 {
    font-size: 23px;
  }
  .auth-pitch h1 {
    font-size: 45px;
  }
  .auth-pitch .script-line {
    font-size: 28px;
  }
  .auth-pitch ul {
    display: none;
  }
  .auth-card {
    padding: 25px;
  }
  .auth-card h2 {
    font-size: 27px;
  }
  .auth-card > p {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .auth-card label {
    font-size: 11px;
  }
  .admin-header {
    padding: 8px 12px;
    gap: 12px;
    height: 60px;
  }
  .admin-header .brand img {
    width: 135px;
  }
  .admin-title {
    display: none;
  }
  .admin-header > .text-btn {
    font-size: 10px;
    margin-left: auto;
  }
  .admin-user > span {
    display: none;
  }
  .admin-sidebar {
    top: 60px;
    bottom: auto;
    width: 100%;
    height: 49px;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    overflow-x: auto;
    z-index: 45;
  }
  .admin-sidebar a {
    white-space: nowrap;
    padding: 9px;
    font-size: 10px;
    margin: 0 4px;
  }
  .admin-sidebar .sidebar-label {
    display: none;
  }
  .admin-sidebar .icon {
    width: 14px;
    height: 14px;
  }
  .admin-main {
    margin-left: 0;
    padding: 125px 12px 25px;
  }
  .admin-main h1 {
    font-size: 22px;
  }
  .admin-tour-grid {
    grid-template-columns: 1fr;
  }
  .admin-tour-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
  .admin-tour-card > img {
    height: 100%;
    min-height: 175px;
  }
  .admin-tour-card > div {
    padding: 12px;
  }
  .admin-tour-card .action-row .btn {
    font-size: 9px;
    padding: 7px;
  }
  .admin-main .section-heading {
    flex-wrap: wrap;
  }
  .admin-main .section-heading .btn {
    font-size: 10px;
  }
  .editor-top {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .editor-top h1 {
    font-size: 19px;
  }
  .editor-top .action-row {
    max-width: none;
  }
  .editor-tabs {
    gap: 8px;
  }
  .editor-tabs button {
    font-size: 10px;
    padding: 10px 6px;
  }
  .editor-workspace {
    grid-template-columns: 1fr;
  }
  .scene-navigator {
    max-height: 180px;
  }
  .scene-navigator > #scene-navigator {
    display: flex;
    overflow: auto;
    gap: 8px;
  }
  .navigator-scene {
    min-width: 135px;
    max-width: 155px;
    flex: none;
    margin: 5px 0;
  }
  .scene-navigator input {
    padding: 6px;
  }
  .scene-navigator .section-heading {
    margin-bottom: 6px;
  }
  .editor-viewer {
    height: 310px;
  }
  .editor-toolbar label {
    flex-basis: auto;
    font-size: 9px;
  }
  .editor-toolbar select {
    width: 100px;
  }
  .properties {
    grid-column: auto;
  }
  .properties form {
    display: block;
  }
  .properties label {
    font-size: 11px;
  }
  .editor-bottom .action-row {
    gap: 7px;
  }
  .editor-bottom .btn {
    font-size: 10px;
  }
  .library-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-step {
    grid-template-columns: 18px 1fr 55px 55px 55px 20px;
    font-size: 9px;
    gap: 4px;
    padding: 6px;
  }
  .timeline-step input {
    padding: 4px;
    font-size: 9px;
  }
  .timeline-step small {
    font-size: 7px;
  }
  #record-fields {
    grid-template-columns: 1fr;
  }
  .service-status {
    font-size: 11px;
  }
  .workflow {
    gap: 8px;
  }
  .workflow span {
    font-size: 10px;
  }
  dialog {
    padding: 22px;
    max-width: 94vw;
  }
  .legal h1 {
    font-size: 28px;
  }
  .legal h2 {
    font-size: 21px;
  }
  .error-page h1 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .map-list,
  .layers-panel,
  .hero,
  .map-highlights {
    display: none;
  }
  body {
    background: white;
  }
}

.maplibregl-popup-content {
  font-family: "Be Vietnam Pro", sans-serif;
  border-radius: 10px;
  padding: 14px;
  min-width: 200px;
}
.compare-map {
  pointer-events: none;
}
.switch-row small {
  display: block;
  font-size: 9px;
  color: #9b6a36;
}
.switch-row:has(input:disabled) {
  opacity: 0.65;
}

.legend-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  margin: 6px 0;
}
.legend-row > span {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

/* Map prototype alignment, October 2026. */
.layer-symbol {
  width: 23px;
  height: 23px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex: none;
}
.layer-symbol .icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}
.photo-marker {
  width: 55px;
  height: 68px;
  z-index: 2;
}
.photo-marker > span {
  width: 55px;
  height: 55px;
  border: 3px solid white;
  border-radius: 50% 50% 50% 5px;
  background: #fff;
  overflow: hidden;
}
.photo-marker > span img {
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  filter: none;
  transform: rotate(45deg);
  flex: none;
}
.photo-marker > strong {
  position: absolute;
  top: 18px;
  left: 49px;
  white-space: nowrap;
  background: #fffffff2;
  border-radius: 0 7px 7px 0;
  z-index: -1;
  padding: 5px 8px;
  font-size: 10px;
  box-shadow: 0 1px 6px #0002;
}
.map-marker:focus-visible {
  z-index: 4;
}
.view-angle {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  margin: 12px 0;
  border-block: 1px solid var(--line);
}
.view-angle strong,
.view-angle output,
.view-angle small {
  display: block;
  font-size: 11px;
}
.view-angle output {
  color: var(--teal);
  margin: 6px 0;
}
.view-angle small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.view-compass {
  position: relative;
  flex: none;
  width: 76px;
  height: 76px;
  border: 1px solid #bdceca;
  border-radius: 50%;
  background: repeating-conic-gradient(
    #ccdcd6 0deg 1deg,
    transparent 1deg 30deg
  );
}
.view-compass > span {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
}
.view-compass .fov-cone {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 42px;
  height: 31px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #009e7790;
  transform-origin: bottom center;
  transform: translateX(-50%);
}
.scene-minimap {
  background: #f2f6f4;
  min-height: 0;
  padding: 12px;
  gap: 7px;
}
.viewer-shell {
  position: relative;
}
.viewer-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  gap: 7px;
  z-index: 4;
}
.viewer-tools .icon-btn {
  background: #123c34bb;
  border: 1px solid #ffffffb0;
  color: white;
}
.viewer-tools .icon {
  filter: brightness(0) invert(1);
}
.vr-viewer {
  height: 480px;
}
.vr-viewer canvas {
  touch-action: none;
}
.vr-layout .panel + .panel {
  margin-top: 16px;
}
@media (max-width: 760px) {
  .photo-marker > strong {
    display: none;
  }
  .vr-viewer {
    height: 360px;
  }
  .vr-layout .right-rail {
    display: block;
  }
  .vr-controls label {
    margin-left: 0;
  }
}

.map-category-glyph {
  display: block;
  width: 26px;
  height: 26px;
  background: var(--category-color);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* =====================================================================
   Menu chính dùng chung (trong suốt đè lên banner) và footer
   ===================================================================== */
.site-header {
  position: relative;
  z-index: 30;
  margin-bottom: -72px;
  background: linear-gradient(
    180deg,
    #03160fcc 0,
    #03160f66 55%,
    transparent 100%
  );
  box-shadow: none;
  color: #fff;
}
.site-header .brand img {
  mix-blend-mode: normal;
  width: 200px;
  filter: drop-shadow(0 1px 6px #0007);
}
.site-header nav > a,
.site-header .nav-more > summary {
  color: #fff;
  text-shadow: 0 1px 8px #000a;
}
.site-header nav > a:hover,
.site-header .nav-more > summary:hover {
  color: #ffe9b8;
}
.site-header nav > a.active {
  color: #fff;
  font-weight: 700;
}
.site-header nav > a.active:after {
  background: #fff;
}
.site-header .icon-btn {
  background: #ffffffdd;
}
.site-header .language {
  color: #fff;
  text-shadow: 0 1px 8px #000a;
}
.site-header .language .icon {
  width: 13px;
  height: 13px;
  filter: brightness(0) invert(1);
}
.site-header .nav-more > div a {
  color: var(--ink);
  text-shadow: none;
}
.site-header .nav-more > div a:hover {
  color: var(--teal-dark);
}
/* Trang không có banner: thanh xanh đậm, cùng kiểu chữ trắng */
body:not(:has(main > .hero:first-child)) .site-header {
  margin-bottom: 0;
  background: linear-gradient(135deg, #0a3a33, #0f5e52);
}
/* Banner nằm dưới menu: cộng thêm chiều cao menu vào phần đệm trên */
main:not(.map-page) > .hero:first-child {
  padding-top: calc(30px + 72px);
}
@media (max-width: 760px) {
  .site-header {
    margin-bottom: -64px;
    background: linear-gradient(180deg, #03160fe6, #03160f99);
  }
  body:not(:has(main > .hero:first-child)) .site-header {
    margin-bottom: 0;
    background: linear-gradient(135deg, #0a3a33, #0f5e52);
  }
  .site-header .brand img {
    width: 150px;
  }
  .site-header .mobile-menu {
    background: #ffffffdd;
  }
  .site-header nav.open > a,
  .site-header nav.open .nav-more > summary {
    color: var(--ink);
    text-shadow: none;
  }
  .site-header nav.open > a.active {
    color: var(--teal-dark);
  }
  .site-header nav.open > a.active:after {
    background: var(--teal);
  }
  main:not(.map-page) > .hero:first-child {
    padding-top: calc(30px + 64px);
  }
}

/* ---- Footer ---- */
.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-top: 40px;
  padding: 42px max(5%, calc((100vw - 1536px) / 2)) 18px;
  border-top: 0;
  background:
    radial-gradient(900px 260px at 12% 0, #14806f40, transparent 70%),
    linear-gradient(180deg, #0b3b34, #072722);
  color: #c3dbd4;
  font-size: 12px;
  line-height: 1.6;
}
.site-footer .brand img {
  width: 190px;
  height: auto;
  mix-blend-mode: normal;
}
.site-footer p {
  margin: 12px 0 0;
  color: #9fc4ba;
  font-size: 12px;
}
.site-footer strong {
  position: relative;
  display: block;
  margin-bottom: 14px;
  padding-bottom: 9px;
  color: #fff;
  font-size: 13px;
}
.site-footer strong:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.site-footer a:not(.brand) {
  display: block;
  margin: 7px 0;
  color: #c3dbd4;
  transition:
    color 0.15s,
    transform 0.15s;
}
.site-footer a:not(.brand):hover {
  color: #ffe2a8;
  transform: translateX(3px);
}
.site-footer > small {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid #ffffff22;
  color: #8fb5ab;
  font-size: 11px;
}
@media (max-width: 1050px) {
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}
@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }
}

/* ---- Trang Liên hệ và khối tin tức trang chủ ---- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 28px) 34px;
}
.contact-layout .panel + .panel {
  margin-top: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-actions .btn .icon {
  filter: brightness(0) invert(1);
  width: 16px;
  height: 16px;
}
.contact-info-panel .info-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-info-panel .info-list li {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
}
.contact-info-panel .info-list .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}
.contact-pending {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #f6faf8;
  font-size: 13px;
  line-height: 1.6;
}
.contact-links {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.contact-links h3 {
  margin: 0 0 6px;
  font-size: 14px;
}
.contact-links a:not(.btn) {
  display: block;
  margin: 6px 0;
  font-size: 13px;
  color: var(--teal);
}
.contact-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}
.home-bottom.home-bottom-single {
  grid-template-columns: 1fr;
}
.home-bottom-single .news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .home-bottom-single .news-list {
    grid-template-columns: 1fr;
  }
}

/* Tin tức trang chủ và nội dung chi tiết điểm đến. */
.home-news { margin: 36px 0 48px; }
.home-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-news-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 5px 22px #12352a08; }
.home-news-image { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.home-news-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.home-news-card:hover .home-news-image img { transform: scale(1.035); }
.home-news-image > span { position: absolute; bottom: 14px; left: 16px; background: #fff; color: var(--teal); font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 20px; }
.home-news-body { padding: 22px; }
.home-news-body > small { color: #697a83; font-size: 11px; }
.home-news-body h3 { font: 700 19px/1.5 'Be Vietnam Pro',sans-serif; margin: 10px 0; }
.home-news-body p { color: #637078; line-height: 1.75; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-news-body .text-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 8px; }
.place-narration { padding: 18px; background: #edf6f2; border-radius: 10px; margin: 20px 0; }
.place-narration audio { width: 100%; margin: 8px 0; }
.place-narration small { display: block; }
.place-video-grid,.place-article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.place-video-grid figure { margin: 0; }
.place-video-grid video,.place-article-grid img { width: 100%; border-radius: 9px; }
.place-article-grid img { aspect-ratio: 16/9; object-fit: cover; }
.place-video-grid figcaption { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
@media(max-width: 760px) { .home-news-grid,.place-video-grid,.place-article-grid { grid-template-columns: 1fr; } .home-news-body h3 { font-size: 18px; } }

#compare-map { pointer-events: none; }
#compare-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: white; z-index: 3; pointer-events: none; box-shadow: 0 0 5px #1238; }
#compare-divider span { position: absolute; top: 45%; left: -19px; width: 40px; height: 40px; border-radius: 50%; background: white; color: #006b60; text-align: center; line-height: 40px; font-size: 24px; }
#compare-labels { position: absolute; top: 60px; left: 12px; right: 12px; z-index: 3; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; }
#compare-labels[hidden], #compare-divider[hidden] { display: none; }
#compare-labels span { padding: 8px; background: #ffffffed; border-radius: 8px; font-size: 12px; }
#compare-form fieldset { border: 1px solid #dce5e4; border-radius: 10px; margin: 12px 0; padding: 12px; min-width: 0; }
#compare-form input { min-width: 0; width: 100%; }
#compare-status { font-size: 13px; line-height: 1.6; }

#compare-map .mapboxgl-control-container, #compare-map .maplibregl-control-container { display: none; }

.map-marker > .map-place-label { position:absolute; top:4px; left:31px; display:block; width:max-content; max-width:160px; padding:4px 7px; border:1px solid #c6d4dc; border-radius:6px; background:rgba(255,255,255,.96); color:#102c46; font:600 11px/1.35 'Be Vietnam Pro',sans-serif; text-align:left; white-space:normal; box-shadow:0 2px 5px #102c4626; pointer-events:none; }
.map-marker:hover,.map-marker:focus-visible { z-index:20; }
.map-marker:hover > .map-place-label,.map-marker:focus-visible > .map-place-label { color:#fff; background:#073c55; border-color:#073c55; }

.place-cluster { width:48px; height:48px; border-radius:50%; background:#007f78; border:5px solid #b5eee4; box-shadow:0 3px 12px #153f4640; color:#fff; font:700 15px 'Be Vietnam Pro',sans-serif; cursor:pointer; }
.place-cluster:hover,.place-cluster:focus-visible { background:#07516b; outline:3px solid #fff; }
.map-marker.label-collided > .map-place-label { visibility:hidden; }
.map-marker.label-collided:hover > .map-place-label,.map-marker.label-collided:focus-visible > .map-place-label { visibility:visible; }
.cluster-place-list { display:grid; gap:8px; max-height:260px; overflow:auto; padding:8px; }.cluster-place-list button { text-align:left; color:#006c65; padding:8px; background:#eef8f5; border-radius:6px; }

/* Chi tiết điểm đến: nội dung và thông tin nhanh không kéo giãn theo nhau. */
.destination-detail .detail-layout { max-width:1320px; margin-left:auto; margin-right:auto; padding:0 24px; grid-template-columns:minmax(0,1fr) 280px; gap:24px; }
.destination-detail .overview { grid-template-columns:minmax(0,1fr) 290px; align-items:start; gap:30px; padding:24px 0 4px; }
.destination-story { min-width:0; }.destination-story h2 { font-family:inherit; font-size:23px; margin:0 0 20px; color:#133b3a; }
.destination-story .prose { font-size:15px; line-height:1.95; color:#485e6e; margin:0 0 18px; }
.destination-facts { border:1px solid #dfebe7; border-radius:14px; background:#f6faf8; padding:22px; align-self:start; }
.destination-facts .eyebrow { font:600 9px/1.5 'Be Vietnam Pro',sans-serif; letter-spacing:1px; color:#6d8b82; margin:0 0 6px; }
.destination-facts h3 { font:700 17px/1.4 'Be Vietnam Pro',sans-serif; margin:0 0 20px; color:#173e38; }
.destination-facts .info-grid { display:grid; grid-template-columns:1fr; gap:0; padding:0; background:none; font-size:13px; align-content:start; }
.destination-facts .info-grid dt { color:#798b93; font-size:11px; gap:7px; margin:0 0 5px; padding:0; }
.destination-facts .info-grid dd { color:#203f4d; font-size:13px; line-height:1.7; margin:0 0 17px; padding:0 0 14px; border-bottom:1px solid #e0ebe6; overflow-wrap:anywhere; }
.destination-facts .btn { font-size:11px; padding:11px; }
.destination-story .place-narration { padding:20px; margin:24px 0; border:1px solid #cde5dc; border-radius:12px; background:linear-gradient(120deg,#edf8f2,#f8fbf9); }
.destination-story .place-narration h3 { font-family:inherit; font-size:15px; margin:0 0 12px; }
.destination-story .place-narration audio { display:block; width:100%; height:42px; margin:8px 0 12px; }
.destination-story .source-link { display:inline-block; font-size:12px; line-height:1.7; }
.destination-detail .panel { border-radius:15px; border:1px solid #e4ebe8; box-shadow:0 5px 20px #1f473307; }
@media(max-width:1200px) { .destination-detail .detail-layout { grid-template-columns:minmax(0,1fr); }.destination-detail .right-rail { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }.destination-detail .right-rail .panel { margin:0; } }
@media(max-width:700px) { .destination-detail .overview,.destination-detail .right-rail { grid-template-columns:1fr; }.destination-detail .detail-layout { padding:0 12px; }.destination-facts { padding:20px; }.destination-story .prose { font-size:14px; } }

/* Editorial reading layout */
.editorial-detail{max-width:1100px;margin:0 auto;padding:28px 28px 70px}.editorial-detail>nav{display:flex;gap:12px;font-size:12px;color:#7a8795;margin-bottom:35px}.editorial-heading{max-width:850px;margin:0 auto 28px}.editorial-heading h1{font-size:clamp(28px,4vw,44px);line-height:1.28;letter-spacing:-.8px;margin:12px 0 20px;color:#113b3a}.editorial-intro{font-size:18px;line-height:1.8;color:#5d7180}.editorial-meta{display:flex;gap:20px;font-size:12px;color:#7b8a99}.editorial-meta span{display:flex;align-items:center;gap:6px}.editorial-meta svg{width:16px;height:16px}.editorial-figure{margin:0 0 34px}.editorial-figure>img{display:block;width:100%;max-height:570px;object-fit:cover;border-radius:16px}.editorial-figure figcaption{text-align:right;font-size:11px;line-height:1.7;color:#7a8894;padding:10px 0}.editorial-body{max-width:780px;margin:auto}.editorial-body>p{font-size:17px;line-height:1.95;color:#3e5361;margin:0 0 24px;white-space:pre-line}.editorial-source{display:flex;gap:15px;padding:24px;background:#edf7f3;border-left:3px solid #008777;border-radius:0 10px 10px 0;margin:34px 0}.editorial-source>svg{flex-shrink:0;color:#008777}.editorial-source strong{font-size:15px}.editorial-source p{font-size:13px;line-height:1.8;color:#678079;margin:8px 0}.editorial-source a{font-size:13px;font-weight:600}@media(max-width:650px){.editorial-detail{padding:20px 18px 45px}.editorial-heading h1{font-size:29px}.editorial-body>p{font-size:16px}.editorial-figure>img{border-radius:10px}.editorial-source{padding:18px}}

/* ===== Thẻ popup điểm du lịch dùng chung (trang Bản đồ, trang Cảnh quan 3D) ===== */
.tp-popup .mapboxgl-popup-content { padding: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px #0b2a2f40; }
.tp-popup .mapboxgl-popup-close-button {
  top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #0f172a;
  font-size: 18px; line-height: 24px; box-shadow: 0 1px 4px #0003; z-index: 2;
}
.tp-popup .mapboxgl-popup-close-button:hover { background: #f1f5f9; }
.tp { --tp: #0f766e; width: 300px; max-width: 100%; font-family: 'Be Vietnam Pro', sans-serif; color: #0f172a; }
.tp-media { position: relative; height: 138px; background: #e2e8f0; }
.tp-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-cat, .tp-vr {
  position: absolute; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px;
  border-radius: 999px; color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.2;
}
.tp-cat { left: 10px; background: var(--tp); }
.tp-vr { right: 10px; background: #7c3aed; }
.tp-cat .icon, .tp-vr .icon { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.tp-body { padding: 11px 13px 4px; display: grid; gap: 8px; }
.tp-body h3 { margin: 0; font-size: 16px; line-height: 1.3; color: #0c1930; }
.tp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: #475569; margin-top: -3px; }
.tp-stars { color: #f59e0b; letter-spacing: 1px; font-size: 12.5px; }
.tp-stars i { color: #d7dde4; font-style: normal; }
.tp-dot { width: 3px; height: 3px; border-radius: 50%; background: #94a3b8; }
.tp-muted { color: #94a3b8; }
.tp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.tp-stat {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; padding: 6px 8px; border-radius: 10px;
  background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
}
.tp-stat .icon { grid-row: span 2; width: 18px; height: 18px; }
.tp-stat b { font-size: 13.5px; line-height: 1.1; color: color-mix(in srgb, var(--c) 80%, #000); }
.tp-stat small { font-size: 10.5px; color: #64748b; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-desc { margin: 0; font-size: 12.5px; line-height: 1.55; color: #334155; }
.tp-addr { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 12px; line-height: 1.45; color: #64748b; }
.tp-addr .icon { width: 14px; height: 14px; flex: none; margin-top: 1px; opacity: .7; }
.tp .popup-crowd, .tp .popup-traffic { margin: 0; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 13px 13px; border-top: 1px solid #eef2f4; margin-top: 8px; }
.tp-btn {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 6px 10px;
  border-radius: 9px; border: 1px solid transparent; font: 600 12px/1.2 'Be Vietnam Pro', sans-serif; text-decoration: none; cursor: pointer;
}
.tp-btn .icon { width: 14px; height: 14px; }
.tp-btn-main { background: var(--tp); color: #fff; }
.tp-btn-vr { background: #7c3aed; color: #fff; }
.tp-btn-main .icon, .tp-btn-vr .icon { filter: brightness(0) invert(1); }
.tp-btn-route { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.tp-btn-add { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.tp-btn:hover { filter: brightness(.95); }
.tp-btn:focus-visible { outline: 3px solid #99f6e4; outline-offset: 1px; }
/* Khối phụ của thẻ (tài nguyên quanh điểm, vùng biến động, cảnh 360°). */
.tp-sec { border-radius: 10px; background: #f8fafc; border: 1px solid #e8eef3; padding: 8px 10px; display: grid; gap: 6px; }
.tp-sec > strong { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #0c1930; }
.tp-sec > strong .icon { width: 14px; height: 14px; }
.tp-sec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tp-sec li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #334155; }
.tp-sec li i { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--c); }
.tp-sec li b { margin-left: auto; font-variant-numeric: tabular-nums; color: #0f172a; }
.tp-sec .tp-muted { font-size: 11.5px; }
.tp-head { display: flex; align-items: center; gap: 10px; padding: 13px 40px 12px 13px; background: var(--tp); color: #fff; }
.tp-head .tp-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #ffffff2e; flex: none; }
.tp-head .tp-ico .icon { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.tp-head h3 { margin: 0; font-size: 15px; line-height: 1.25; color: #fff; }
.tp-head small { display: block; font-size: 11.5px; opacity: .9; }
.tp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 85%, #000); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); }
.tp-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0; font-size: 12px; }
.tp-kv dt { color: #64748b; }
.tp-kv dd { margin: 0; color: #0f172a; font-weight: 500; }
@media (max-width: 480px) { .tp { width: 270px; } .tp-media { height: 118px; } }
/* Thẻ không cao quá khung bản đồ: ảnh và nút cố định, phần thông tin cuộn bên trong. */
.tp { display: flex; flex-direction: column; max-height: min(450px, calc(100vh - 380px)); }
.tp-media, .tp-head, .tp-actions { flex: none; }
.tp-media { height: 118px; }
.tp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-bottom: 8px; scrollbar-width: thin; }
.tp-actions { margin-top: 0; }
.tp-actions .tp-btn { flex: 1 1 calc(50% - 6px); }
/* Thẻ rộng hơn để đủ thông tin mà không phải cuộn; chiều cao tối đa do script tính theo khoảng trống phía trên điểm. */
.tp { width: 400px; max-height: var(--tp-max, calc(100vh - 200px)); }
.tp-media { height: 132px; }
.tp-body { gap: 7px; padding: 11px 14px 6px; }
.tp-desc { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.tp-actions { flex-wrap: nowrap; padding: 10px 14px 13px; }
.tp-actions .tp-btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding: 6px 7px; }
@media (max-width: 480px) {
  .tp { width: 290px; }
  .tp-actions { flex-wrap: wrap; }
  .tp-actions .tp-btn { flex: 1 1 calc(50% - 6px); }
}
/* Không để lưới ép cắt ngang khối mô tả; màn hình thấp thì thu ảnh và mô tả cho vừa. */
.tp-body > * { min-height: min-content; }
@media (max-height: 820px) {
  .tp-media { height: 104px; }
  .tp-desc { -webkit-line-clamp: 2; line-clamp: 2; }
}
/* Nút trong thẻ co theo độ dài chữ (không ép đều nhau) để “Xem VR360” không tràn; thiếu chỗ thì xuống hàng. */
.tp-actions { flex-wrap: wrap; }
.tp-actions .tp-btn { flex: 1 1 auto; min-width: max-content; padding: 6px 9px; gap: 4px; }
.tp { width: 424px; }
.tp-actions { gap: 5px; }
.tp-actions .tp-btn { padding: 6px 8px; font-size: 11.5px; }
@media (max-width: 480px) { .tp { width: 290px; } }
