/**
 * HanoPalais UI — shared design system.
 *
 * Loaded on every page. Defines the tokens, the site chrome (header, mega
 * menu, mobile drawer, footer) and the component primitives (buttons, forms,
 * cards, badges, page shells). Section-level layout for the V2 pages lives in
 * hanopalais-site.css and consumes these tokens; the booking plugin maps its
 * own variables onto them so the two plugins render as one system.
 *
 * Scale: spacing 4/8/12/16/24/32/48/64/96/128 · radius 2/6/12 · type from a
 * fluid modular scale. Gold is a hairline accent, never a fill.
 */

:root {
	/* colour */
	--hnp-color-ink: #0e1a26;
	--hnp-color-ink-2: #24313d;
	--hnp-color-text: #1b232c;
	--hnp-color-muted: #4f5b66; /* was #5b6773 — secondary copy was reading too pale (0.7.3) */
	--hnp-color-bg: #fbfaf7;
	--hnp-color-surface: #ffffff;
	--hnp-color-sand: #efe9df;
	--hnp-color-border: rgba(14, 26, 38, 0.12);
	--hnp-color-border-light: rgba(255, 255, 255, 0.18);
	--hnp-color-accent: #b08968;
	--hnp-color-accent-soft: rgba(176, 137, 104, 0.14);
	--hnp-color-accent-text: #7d5636;
	--hnp-color-gold: #d1b286;
	--hnp-color-inverse: #ffffff;
	--hnp-color-danger: #a13a2c;
	--hnp-color-success: #1f6b4a;

	/* layout */
	--hnp-container: 1240px;
	--hnp-container-wide: 1440px;
	--hnp-container-narrow: 760px;
	--hnp-gutter: clamp(20px, 4vw, 40px);

	/* spacing */
	--hnp-space-1: 4px;
	--hnp-space-2: 8px;
	--hnp-space-3: 12px;
	--hnp-space-4: 16px;
	--hnp-space-5: 24px;
	--hnp-space-6: 32px;
	--hnp-space-7: 48px;
	--hnp-space-8: 64px;
	--hnp-space-9: 96px;
	--hnp-space-10: 128px;
	--hnp-section-tight: clamp(40px, 6vw, 64px);
	--hnp-section: clamp(56px, 8vw, 96px);
	--hnp-section-spacious: clamp(72px, 10vw, 128px);

	/* radius */
	--hnp-radius-sm: 2px;
	--hnp-radius-md: 6px;
	--hnp-radius-lg: 12px;
	/* OFV2-027 design system (Owner DOCX p.13: "bo viền, bo cong"): one scale every component reads,
	   instead of per-component numbers. Old sm/md/lg stay for the components that already use them. */
	--hnp-radius-small: 8px;      /* inputs, thumbnails, table cells */
	--hnp-radius-medium: 12px;    /* tiles, buttons inside cards */
	--hnp-radius-large: 16px;     /* cards, media frames, modals */
	--hnp-radius-pill: 999px;     /* badges, chips, primary buttons */
	--hnp-border-subtle: 1px solid rgba(14, 26, 38, 0.10);
	--hnp-border-strong: 1px solid rgba(14, 26, 38, 0.18);
	--hnp-surface: #ffffff;
	--hnp-surface-muted: #f6f3ee;
	--hnp-surface-badge: #faf7f2;
	--hnp-shadow-card: 0 1px 2px rgba(14, 26, 38, 0.04), 0 8px 24px rgba(14, 26, 38, 0.06);
	--hnp-shadow-modal: 0 24px 64px rgba(14, 26, 38, 0.28);
	--hnp-modal-backdrop: rgba(14, 26, 38, 0.56);
	--hnp-card-pad: clamp(16px, 2vw, 24px);
	--hnp-badge-h: 32px;
	--hnp-button-h: 48px;
	--hnp-input-h: 48px;

	/* type */
	/* OFV2-026 (Owner DOCX p.13 "font chữ sang"): Be Vietnam Pro — drawn for Vietnamese diacritics, SIL OFL,
	   self-hosted (public/fonts/be-vietnam-pro, vietnamese + latin subsets, font-display: swap). */
	--hnp-font-display: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--hnp-font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	/* Type roles: display · H1 · H2 · H3 · body · meta · price · button. */
	--hnp-type-display: 600 var(--hnp-heading-hero)/1.08 var(--hnp-font-display);
	--hnp-type-h1: 600 var(--hnp-heading-1)/1.12 var(--hnp-font-display);
	--hnp-type-h2: 600 var(--hnp-heading-2)/1.18 var(--hnp-font-display);
	--hnp-type-h3: 600 var(--hnp-heading-3)/1.3 var(--hnp-font-display);
	--hnp-type-body: 400 var(--hnp-text-base)/1.65 var(--hnp-font-body);
	--hnp-type-meta: 400 var(--hnp-text-sm)/1.45 var(--hnp-font-body);
	--hnp-type-price: 700 clamp(1.25rem, 2vw, 1.5rem)/1.15 var(--hnp-font-display);
	--hnp-type-button: 600 var(--hnp-text-sm)/1.2 var(--hnp-font-body);
	--hnp-text-xs: 0.75rem;
	--hnp-text-sm: 0.875rem;
	--hnp-text-base: 1rem;
	--hnp-text-lg: 1.125rem;
	--hnp-text-lead: clamp(1.05rem, 1.6vw, 1.25rem);
	--hnp-heading-1: clamp(2.125rem, 5.6vw, 4rem);
	/* The editorial hero scale — homepage, brand pages, membership, about.
	   One step above a page head, and the only place that step is used. */
	--hnp-heading-hero: clamp(2.5rem, 5.6vw, 5rem);
	--hnp-heading-2: clamp(1.625rem, 3.2vw, 2.75rem);
	--hnp-heading-3: clamp(1.125rem, 1.8vw, 1.375rem);
	--hnp-heading-4: 1.0625rem;
	--hnp-leading-tight: 1.1;
	--hnp-leading-snug: 1.25;
	--hnp-leading-body: 1.65;
	--hnp-tracking-caps: 0.14em;

	/* chrome */
	--hnp-header-h: 72px;
	--hnp-header-h-mobile: 60px;
	--hnp-z-header: 500;
	--hnp-z-drawer: 600;

	/* motion */
	--hnp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--hnp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--hnp-dur: 220ms;
	--hnp-dur-reveal: 760ms;
	--hnp-stagger: 90ms;
	--hnp-reveal-y: 22px;
}

/* --------------------------------------------------- broken-image guard --
   Full-Site Elementor + Search Bar + M Village Parity (2026-09): a photo
   whose file 404s gets flagged class="error" by LiteSpeed's lazy-load
   library (see the property-mosaic/room-card/related-card guards this
   generalizes). Those three were scoped to components that already paint a
   neutral surface behind their image; this is the site-wide default for
   everywhere else an image can fail -- native Elementor image widgets on
   About/Membership/the homepage included, none of which carry a component-
   specific placeholder background. Low specificity so any component's own
   more specific rule (the three above, or a future one) still wins. */
img.error {
	display: none;
}

/* ----------------------------------------------------------------- motion */

/* Reveals are opt-in per element and only armed once the motion script has
   marked what is already on screen (html.hnp-motion), so nothing is ever
   hidden for a visitor whose scripts have not run. */
html.hnp-motion [data-reveal] {
	opacity: 0;
	transform: translate3d(0, var(--hnp-reveal-y), 0);
	transition:
		opacity var(--hnp-dur-reveal) var(--hnp-ease-out),
		transform var(--hnp-dur-reveal) var(--hnp-ease-out);
	transition-delay: calc(var(--hnp-i, 0) * var(--hnp-stagger));
	will-change: opacity, transform;
}

html.hnp-motion [data-reveal].is-inview {
	opacity: 1;
	transform: none;
}

/* Editorial image reveal: the frame lifts while the picture settles from a
   slight enlargement — the photograph arrives, it does not pop. */
html.hnp-motion [data-reveal="image"] {
	transform: translate3d(0, calc(var(--hnp-reveal-y) * 0.6), 0);
}

html.hnp-motion [data-reveal="image"] img {
	transform: scale(1.06);
	transition: transform 1100ms var(--hnp-ease-out);
	transition-delay: calc(var(--hnp-i, 0) * var(--hnp-stagger));
}

html.hnp-motion [data-reveal="image"].is-inview img {
	transform: scale(1);
}

/* Once revealed, hand hover back to the card (its own transition applies). */
html.hnp-motion .hnp-card[data-reveal].is-inview .hnp-card__media img,
html.hnp-motion .hnp-card.is-inview [data-reveal="image"] img {
	transition: transform 600ms var(--hnp-ease);
}

/* Parallax layers are oversized so their travel never exposes an edge. */
[data-parallax] {
	will-change: transform;
}

@media (min-width: 1024px) and (hover: hover) {

	.hnps-hero__media[data-parallax],
	.hnps-brandhero__media[data-parallax],
	.hnps-final__media[data-parallax] {
		top: -20%;
		bottom: -20%;
	}
}


@media (max-width: 767px) {

	:root {
		--hnp-reveal-y: 14px;
		--hnp-dur-reveal: 560ms;
		--hnp-stagger: 60ms;
	}
}


@media (prefers-reduced-motion: reduce) {

	html.hnp-motion [data-reveal],
	html.hnp-motion [data-reveal] img {
		opacity: 1;
		transform: none;
		transition: none;
	}
}


.hnp-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ------------------------------------------------------------- foundations */

.hnp-header,
.hnp-header *,
.hnp-drawer,
.hnp-drawer *,
.hnp-footer,
.hnp-footer *,
.hnp-template,
.hnp-template *,
.hnp-shell,
.hnp-ctaband,
.hnp-ctaband * {
	box-sizing: border-box;
}

body.hnps-chrome {
	background: var(--hnp-color-bg);
	color: var(--hnp-color-text);
	/* OFV2-026: one family across theme, Elementor and plugin markup. */
	font-family: var(--hnp-font-body);
	--e-global-typography-primary-font-family: 'Be Vietnam Pro';
	--e-global-typography-secondary-font-family: 'Be Vietnam Pro';
	--e-global-typography-text-font-family: 'Be Vietnam Pro';
	--e-global-typography-accent-font-family: 'Be Vietnam Pro';
}

body.hnps-chrome :is(h1, h2, h3, h4, h5, h6, .entry-title) {
	font-family: var(--hnp-font-display);
}

body.hnps-chrome :is(button, input, select, textarea) {
	font-family: inherit;
}

body.hnps-chrome .site-content {
	padding-top: 0;
}

/* Astra's transparent-header padding no longer applies: the theme header is gone. */
body.hnps-chrome.ast-theme-transparent-header .site-content {
	padding-top: 0;
}

.hnp-shell {
	width: 100%;
	max-width: var(--hnp-container);
	margin-inline: auto;
	padding-inline: var(--hnp-gutter);
}

.hnp-shell--wide {
	max-width: var(--hnp-container-wide);
}

.hnp-shell--narrow {
	max-width: var(--hnp-container-narrow);
}

/* Full-bleed breakout: the M Village property-hero mosaic runs edge to edge
   of the viewport rather than sitting in a card inset (Property V2 gap
   HNP-0444). Only the mosaic uses this; every other .hnp-shell consumer is
   unaffected because this is an additive modifier class, not a change to
   .hnp-shell itself. */


.hnp-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.hnp-eyebrow {
	margin: 0 0 var(--hnp-space-3);
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-xs);
	font-weight: 700;
	letter-spacing: var(--hnp-tracking-caps);
	text-transform: uppercase;
	color: var(--hnp-accent-text, var(--hnp-color-accent-text));
}

.hnp-eyebrow--light {
	color: #d8c3a5;
}

/* --------------------------------------------------------------- buttons */

.hnp-btn,
.hnps-chrome .hnp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	border: 1px solid transparent;
	border-radius: var(--hnp-radius-sm);
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--hnp-dur) var(--hnp-ease), color var(--hnp-dur) var(--hnp-ease), border-color var(--hnp-dur) var(--hnp-ease), transform var(--hnp-dur) var(--hnp-ease);
}

.hnp-btn--primary,
.hnps-chrome .hnp-btn--primary {
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
	border-color: var(--hnp-color-ink);
}

.hnp-btn--primary:hover,
.hnp-btn--primary:focus-visible,
.hnps-chrome .hnp-btn--primary:hover,
.hnps-chrome .hnp-btn--primary:focus-visible {
	background: var(--hnp-color-accent);
	border-color: var(--hnp-color-accent);
	color: var(--hnp-color-ink);
}

.hnp-btn--secondary,
.hnps-chrome .hnp-btn--secondary {
	background: transparent;
	color: var(--hnp-color-ink);
	border-color: currentColor;
}

.hnp-btn--secondary:hover,
.hnp-btn--secondary:focus-visible,
.hnps-chrome .hnp-btn--secondary:hover,
.hnps-chrome .hnp-btn--secondary:focus-visible {
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
}

.hnp-btn--inverse,
.hnps-chrome .hnp-btn--inverse {
	background: var(--hnp-color-inverse);
	color: var(--hnp-color-ink);
	border-color: var(--hnp-color-inverse);
}

.hnp-btn--inverse:hover,
.hnp-btn--inverse:focus-visible,
.hnps-chrome .hnp-btn--inverse:hover,
.hnps-chrome .hnp-btn--inverse:focus-visible {
	background: transparent;
	color: var(--hnp-color-inverse);
}

.hnp-btn--ghost-light,
.hnps-chrome .hnp-btn--ghost-light {
	background: transparent;
	color: var(--hnp-color-inverse);
	border-color: rgba(255, 255, 255, 0.7);
}

.hnp-btn--ghost-light:hover,
.hnp-btn--ghost-light:focus-visible,
.hnps-chrome .hnp-btn--ghost-light:hover,
.hnps-chrome .hnp-btn--ghost-light:focus-visible {
	background: var(--hnp-color-inverse);
	color: var(--hnp-color-ink);
}

.hnp-btn--sm,
.hnps-chrome .hnp-btn--sm {
	min-height: 40px;
	padding: 8px 18px;
	font-size: var(--hnp-text-xs);
}

.hnp-btn--block,
.hnps-chrome .hnp-btn--block {
	width: 100%;
}

.hnp-btn:disabled,
.hnp-btn[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Micro-interaction: an arrow that leans forward on hover. */
.hnp-btn__arrow {
	display: inline-block;
	transition: transform var(--hnp-dur) var(--hnp-ease);
}

.hnp-btn:hover .hnp-btn__arrow,
.hnp-btn:focus-visible .hnp-btn__arrow {
	transform: translateX(4px);
}

.hnp-btn:active,
.hnps-chrome .hnp-btn:active {
	transform: translateY(1px);
}

.hnp-link,
.hnps-chrome .hnp-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--hnp-accent-text, var(--hnp-color-accent-text));
	text-decoration: none;
	padding-bottom: 2px;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: 0 100%;
	transition: color var(--hnp-dur) var(--hnp-ease), background-size 320ms var(--hnp-ease);
}

/* The hairline underline grows to a rule on hover; colour deepens to ink. */
.hnp-link:hover,
.hnps-chrome .hnp-link:hover {
	color: var(--hnp-color-ink);
	background-size: 100% 2px;
}

/* Segmented control: one track, the selected segment filled with ink. */


















.hnp-chip,
.hnps-chrome .hnp-chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid var(--hnp-color-border);
	border-radius: 999px;
	font-size: var(--hnp-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hnp-color-ink);
	text-decoration: none;
	background: transparent;
	transition: border-color var(--hnp-dur) var(--hnp-ease), background var(--hnp-dur) var(--hnp-ease), color var(--hnp-dur) var(--hnp-ease);
}

.hnp-chip:hover,
.hnps-chrome .hnp-chip:hover {
	border-color: var(--hnp-color-ink);
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
}

.hnps-chrome :where(.hnp-btn, .hnp-link, a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--hnp-color-accent);
	outline-offset: 3px;
}

/* ----------------------------------------------------------------- forms */

.hnp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.hnp-label,
.hnps-chrome .hnp-label {
	font-size: var(--hnp-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hnp-color-muted);
}

/* P0 Addendum (2026-09): a CSS Grid item with no explicit min-width takes
   its content's *min-content* size as its floor -- and a wrappable label
   like "GIỜ TRẢ" has a min-content of just its widest single syllable, not
   its full text. When a track's own fr-share is tight (the "Theo ngày"
   search bar mode, whose two clock columns are the narrowest of six), the
   grid takes that floor literally and the label wraps one syllable per
   line instead of holding its width. Search-bar field labels are short,
   fixed captions, never meant to wrap -- nowrap makes the label's real
   width the floor instead, which is what stopped the collapse. */


.hnp-control,
.hnps-chrome .hnp-control {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-base);
	color: var(--hnp-color-text);
	background: var(--hnp-color-surface);
	border: 1px solid var(--hnp-color-border);
	border-radius: var(--hnp-radius-sm);
	transition: border-color var(--hnp-dur) var(--hnp-ease), box-shadow var(--hnp-dur) var(--hnp-ease);
}

.hnp-control:hover {
	border-color: rgba(14, 26, 38, 0.3);
}

.hnp-control:focus,
.hnp-control:focus-visible {
	outline: none;
	border-color: var(--hnp-color-ink);
	box-shadow: 0 0 0 3px var(--hnp-color-accent-soft);
}

.hnp-control[readonly] {
	color: var(--hnp-color-muted);
	background: var(--hnp-color-bg);
}

.hnp-control:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.hnp-control[aria-invalid="true"],
.hnp-field--error .hnp-control {
	border-color: var(--hnp-color-danger);
}

textarea.hnp-control {
	min-height: 140px;
	resize: vertical;
	line-height: var(--hnp-leading-body);
}

.hnp-error {
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--hnp-radius-sm);
	background: rgba(161, 58, 44, 0.08);
	color: var(--hnp-color-danger);
	font-size: var(--hnp-text-sm);
}

/* ------------------------------------------------------------------ badges */

.hnp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: var(--hnp-radius-sm);
	font-size: var(--hnp-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
	background: var(--hnp-color-sand);
	color: var(--hnp-color-ink);
}

.hnp-badge--accent {
	background: var(--hnp-color-accent-soft);
	color: var(--hnp-accent-text, var(--hnp-color-accent-text));
}



.hnp-badge--surface {
	background: rgba(255, 255, 255, 0.92);
	color: var(--hnp-color-ink);
}

/* ------------------------------------------------------------------- cards */

.hnp-card {
	display: flex;
	flex-direction: column;
	background: var(--hnp-color-surface);
	border: 1px solid var(--hnp-color-border);
	border-radius: var(--hnp-radius-md);
	overflow: hidden;
	transition: border-color var(--hnp-dur) var(--hnp-ease), transform var(--hnp-dur) var(--hnp-ease);
}

.hnp-card:hover {
	border-color: var(--hnp-color-accent);
	transform: translateY(-3px);
}

.hnp-card__media {
	position: relative;
	overflow: hidden;
	background: var(--hnp-color-sand);
}

.hnp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 600ms var(--hnp-ease);
}

/* All-Base UI Unification (2026-09): shared with the property mosaic and the
   room card -- a card photo whose file 404s falls back to the sand tile
   already behind it instead of the browser's broken-image glyph and alt
   text. One rule here covers every card that shares .hnp-card__media
   (property cards, related-property cards), not a per-Base patch. */
.hnp-card__media img.error { display: none; }

.hnp-card:hover .hnp-card__media img {
	transform: scale(1.03);
}

/* A fixed-ratio frame never grows with a portrait photo: the image fills it. */
.hnp-card__media[class*="hnp-ratio-"] img {
	position: absolute;
	inset: 0;
}


.hnp-ratio-4x3 { aspect-ratio: 4 / 3; }
.hnp-ratio-3x2 { aspect-ratio: 3 / 2; }
.hnp-ratio-16x10 { aspect-ratio: 16 / 10; }


/* -------------------------------------------------------------- headings */

.hnps-chrome .hnp-h1,
.hnps-chrome .hnp-h2,
.hnps-chrome .hnp-h3,
.hnps-chrome .hnp-h4 {
	font-family: var(--hnp-font-display);
	color: var(--hnp-color-ink);
	margin: 0;
	letter-spacing: -0.01em;
}

.hnps-chrome .hnp-h1 { font-size: var(--hnp-heading-1); line-height: var(--hnp-leading-tight); letter-spacing: -0.02em; }
.hnps-chrome .hnp-h2 { font-size: var(--hnp-heading-2); line-height: 1.15; }
.hnps-chrome .hnp-h3 { font-size: var(--hnp-heading-3); line-height: var(--hnp-leading-snug); }
.hnps-chrome .hnp-h4 { font-size: var(--hnp-heading-4); line-height: 1.35; }

.hnp-lead {
	margin: 0;
	font-size: var(--hnp-text-lead);
	line-height: 1.6;
	color: var(--hnp-color-text);
}

.hnp-muted {
	color: var(--hnp-color-muted);
}

/* ------------------------------------------------------------------ header */

/* Astra's own base stylesheet sets `body { overflow-x: hidden; }` as a
   horizontal-scroll guard. Per spec, an element with overflow-x set to
   anything but visible forces its overflow-y to a used value of auto even
   if never declared -- there is no way to keep overflow-x:hidden without
   also making the element a scroll container on the y-axis. <html> already
   carries the equivalent guard correctly and is genuinely where the page
   scrolls; body becoming a second, spurious scroll container breaks
   position:sticky for every descendant (including .hnp-header below),
   which sticks relative to body's own (never-moving) scroll position
   instead of the page's real one. Restoring plain `visible` on body voids
   that side effect; <html>'s overflow-x:hidden still guards the page.
   `html body` (not bare `body`) so this reliably outranks Astra's own
   `body{overflow-x:hidden}` by specificity rather than by source order,
   since LiteSpeed's CSS-combine step does not guarantee two same-selector
   rules from different source files keep their original relative order. */
html body { overflow: visible !important; } /* ULT-080: order-proof — a combined-CSS reorder must never make body the scroller again */

.hnp-header {
	position: sticky;
	top: 0;
	z-index: var(--hnp-z-header);
	background: var(--hnp-color-bg);
	border-bottom: 1px solid var(--hnp-color-border);
	transition: background var(--hnp-dur) var(--hnp-ease), border-color var(--hnp-dur) var(--hnp-ease), box-shadow var(--hnp-dur) var(--hnp-ease);
}

/* WordPress core's own admin bar is `position: fixed` (and exposes its
   real height as --wp-admin--admin-bar--height, 32px desktop / 46px at
   its own 601-782px step) only above 600px; below that WP switches it to
   `position: absolute` so it scrolls away with the page instead of
   sitting above it (wp-includes/css/admin-bar.css). The header's sticky
   top has to match that split exactly -- reserving the bar's height below
   600px would leave a blank gap where a bar that already scrolled away
   used to be. */
@media (min-width: 601px) {

	.hnp-header { top: var(--wp-admin--admin-bar--height, 0px); }

	/* ULT-080 (Owner feedback #1: page content showed through a gap between the admin bar and the header at
	   "Thương hiệu thành viên"): a strip of header colour directly above the header, as tall as the admin bar. At rest
	   it sits under the admin bar (which paints above it); if anything ever pushes the header lower, the strip fills
	   the gap instead of letting the page show through. */
	body.admin-bar .hnp-header::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: var(--wp-admin--admin-bar--height, 32px);
		background: var(--hnp-color-bg);
	}
}

.hnp-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hnp-space-5);
	min-height: var(--hnp-header-h-mobile);
}

.hnp-header__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	flex: 0 0 auto;
}

.hnp-header__logo img {
	display: block;
	width: auto;
	height: 36px;
}

.hnp-header__nav {
	display: none;
}

.hnp-header__actions {
	display: flex;
	align-items: center;
	gap: var(--hnp-space-3);
}

.hnp-header__cta {
	min-height: 40px;
	padding: 8px 16px;
	font-size: var(--hnp-text-xs);
}

/* Account entry: an icon on small screens, icon + label from the desktop nav up. */
.hnp-header__account {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 8px;
	font-size: var(--hnp-text-sm);
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	border-radius: var(--hnp-radius-sm);
	transition: background var(--hnp-dur) var(--hnp-ease);
}

.hnp-header__account .hnp-icon { width: 20px; height: 20px; }
.hnp-header__account:hover { background: rgba(14, 26, 38, 0.06); }
body.hnps-hero-page .hnp-header:not(.is-scrolled):not(.is-open) .hnp-header__account:hover { background: rgba(255, 255, 255, 0.14); }
.hnp-header__account span { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hnp-link--light,
.hnps-chrome .hnp-link--light { color: rgba(255, 255, 255, 0.85); }
.hnp-link--light:hover,
.hnps-chrome .hnp-link--light:hover { color: #ffffff; }

.hnp-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.hnp-burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 1px;
	transition: transform var(--hnp-dur) var(--hnp-ease), opacity var(--hnp-dur) var(--hnp-ease);
}

.hnp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hnp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hnp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Over a hero the header starts transparent and turns solid on scroll. */
body.hnps-hero-page .hnp-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
	color: #ffffff;
}

body.hnps-hero-page .hnp-header .hnp-nav__link,
body.hnps-hero-page .hnp-header .hnp-burger {
	color: #ffffff;
}

body.hnps-hero-page .hnp-header .hnp-header__cta {
	background: var(--hnp-color-inverse);
	color: var(--hnp-color-ink);
	border-color: var(--hnp-color-inverse);
}

body.hnps-hero-page .hnp-header .hnp-header__cta:hover {
	background: var(--hnp-color-accent);
	border-color: var(--hnp-color-accent);
}

body.hnps-hero-page .hnp-header.is-scrolled,
body.hnps-hero-page .hnp-header.is-open {
	background: var(--hnp-color-bg);
	border-bottom-color: var(--hnp-color-border);
	color: var(--hnp-color-ink);
}

body.hnps-hero-page .hnp-header.is-scrolled .hnp-nav__link,
body.hnps-hero-page .hnp-header.is-scrolled .hnp-burger,
body.hnps-hero-page .hnp-header.is-open .hnp-nav__link,
body.hnps-hero-page .hnp-header.is-open .hnp-burger {
	color: var(--hnp-color-ink);
}

body.hnps-hero-page .hnp-header.is-scrolled .hnp-header__cta,
body.hnps-hero-page .hnp-header.is-open .hnp-header__cta {
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
	border-color: var(--hnp-color-ink);
}

.hnp-header.is-scrolled {
	box-shadow: 0 1px 0 var(--hnp-color-border);
}

/* Logo variants: the gold mark reads on ink; on paper it needs no change. */
.hnp-header__logo img {
	transition: filter var(--hnp-dur) var(--hnp-ease);
}

/* The theme styles every <button> as a filled call-to-action; navigation
   toggles must not inherit that. Class-pair specificity beats the theme's
   element and .ast-button rules. */
.hnp-header button.hnp-nav__link,
.hnp-header button.hnp-nav__link:hover,
.hnp-header button.hnp-nav__link:focus,
.hnp-header button.hnp-burger,
.hnp-header button.hnp-burger:hover,
.hnp-drawer button.hnp-drawer__link,
.hnp-drawer button.hnp-drawer__link:hover,
.hnp-drawer button.hnp-drawer__link:focus,
.hnp-drawer button.hnp-drawer__close,
.hnp-drawer button.hnp-drawer__close:hover {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.2;
	color: inherit;
}

.hnp-header button.hnp-nav__link {
	font-size: var(--hnp-text-sm);
	font-weight: 600;
	padding: 8px 14px;
}

.hnp-drawer button.hnp-drawer__link {
	font-family: var(--hnp-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	padding: 12px 0;
}

.hnp-drawer button.hnp-drawer__close {
	font-size: 1.5rem;
	padding: 0;
}

/* ------------------------------------------------------------- desktop nav */

.hnp-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hnp-nav__item {
	position: relative;
}

.hnp-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 14px;
	font-size: var(--hnp-text-sm);
	font-weight: 600;
	color: var(--hnp-color-ink);
	text-decoration: none;
	border-radius: var(--hnp-radius-sm);
	background: transparent;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	position: relative;
}

.hnp-nav__link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 6px;
	height: 1px;
	background: currentColor;
	opacity: 0;
	transform: scaleX(0.6);
	transform-origin: left;
	transition: opacity var(--hnp-dur) var(--hnp-ease), transform var(--hnp-dur) var(--hnp-ease);
}

.hnp-nav__link:hover::after,
.hnp-nav__link[aria-expanded="true"]::after,
.hnp-nav__item.is-current > .hnp-nav__link::after {
	opacity: 1;
	transform: scaleX(1);
}

.hnp-nav__caret {
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform var(--hnp-dur) var(--hnp-ease);
}

.hnp-nav__link[aria-expanded="true"] .hnp-nav__caret {
	transform: translateY(2px) rotate(-135deg);
}

/* ---------------------------------------------------------------- mega menu */

.hnp-mega {
	position: absolute;
	left: 50%;
	top: calc(100% + 8px);
	width: min(920px, calc(100vw - 2 * var(--hnp-gutter)));
	transform: translateX(-50%) translateY(6px);
	background: var(--hnp-color-surface);
	color: var(--hnp-color-text);
	border: 1px solid var(--hnp-color-border);
	border-radius: var(--hnp-radius-md);
	box-shadow: 0 24px 48px -24px rgba(14, 26, 38, 0.35);
	padding: var(--hnp-space-5);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--hnp-dur) var(--hnp-ease), transform var(--hnp-dur) var(--hnp-ease), visibility 0s linear var(--hnp-dur);
}

.hnp-nav__item.is-open > .hnp-mega,
.hnp-nav__item:focus-within > .hnp-mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
	transition-delay: 0s;
}

.hnp-mega__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--hnp-space-4);
}

.hnp-mega__brand {
	display: flex;
	flex-direction: column;
	gap: var(--hnp-space-3);
	padding: var(--hnp-space-4);
	border-radius: var(--hnp-radius-md);
	text-decoration: none;
	color: inherit;
	border: 1px solid transparent;
	transition: border-color var(--hnp-dur) var(--hnp-ease), background var(--hnp-dur) var(--hnp-ease);
}

.hnp-mega__brand:hover,
.hnp-mega__brand:focus-visible {
	border-color: var(--hnp-color-border);
	background: var(--hnp-color-bg);
}

.hnp-mega__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	border-radius: var(--hnp-radius-sm);
	background: var(--hnp-accent-soft, var(--hnp-color-accent-soft));
	color: var(--hnp-accent, var(--hnp-color-accent));
	font-family: var(--hnp-font-display);
	font-size: 2.25rem;
	font-weight: 700;
	overflow: hidden;
}

.hnp-mega__mark img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hnp-mega__name {
	margin: 0;
	font-family: var(--hnp-font-display);
	font-size: var(--hnp-text-lg);
	line-height: 1.25;
	color: var(--hnp-color-ink);
}

.hnp-mega__tag {
	margin: 0;
	font-size: var(--hnp-text-sm);
	line-height: 1.5;
	color: var(--hnp-color-muted);
	flex: 1 1 auto;
}

.hnp-mega__cta {
	font-size: var(--hnp-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hnp-accent-text, var(--hnp-color-accent-text));
}

.hnp-mega__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hnp-space-4);
	margin-top: var(--hnp-space-4);
	padding-top: var(--hnp-space-4);
	border-top: 1px solid var(--hnp-color-border);
	font-size: var(--hnp-text-sm);
	color: var(--hnp-color-muted);
}

/* ------------------------------------------------------------ mobile drawer */

.hnp-drawer {
	position: fixed;
	inset: 0;
	z-index: var(--hnp-z-drawer);
	display: flex;
	flex-direction: column;
	background: var(--hnp-color-bg);
	color: var(--hnp-color-ink);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 320ms var(--hnp-ease), visibility 0s linear 320ms;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.hnp-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
	transition-delay: 0s;
}

.hnp-drawer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--hnp-header-h-mobile);
	padding: 0 var(--hnp-gutter);
	border-bottom: 1px solid var(--hnp-color-border);
	flex: 0 0 auto;
}

.hnp-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 0;
	color: var(--hnp-color-ink);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.hnp-drawer__body {
	flex: 1 1 auto;
	padding: var(--hnp-space-5) var(--hnp-gutter) var(--hnp-space-7);
}

.hnp-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hnp-drawer__list > li + li {
	border-top: 1px solid var(--hnp-color-border);
}

.hnp-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 12px 0;
	font-family: var(--hnp-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--hnp-color-ink);
	text-decoration: none;
	background: transparent;
	border: 0;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

.hnp-drawer__sub {
	display: none;
	margin: 0 0 var(--hnp-space-4);
	padding: 0;
	list-style: none;
}

.hnp-drawer__link[aria-expanded="true"] + .hnp-drawer__sub {
	display: block;
}

.hnp-drawer__sub a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 0 12px var(--hnp-space-4);
	border-left: 2px solid var(--hnp-accent, var(--hnp-color-accent));
	margin-bottom: var(--hnp-space-2);
	color: var(--hnp-color-ink);
	text-decoration: none;
}

.hnp-drawer__sub strong {
	font-size: var(--hnp-text-base);
}

.hnp-drawer__sub small {
	font-size: var(--hnp-text-sm);
	color: var(--hnp-color-muted);
}

.hnp-drawer__foot {
	margin-top: var(--hnp-space-6);
	display: grid;
	gap: var(--hnp-space-3);
}

.hnp-drawer__contact {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hnp-space-2) var(--hnp-space-4);
	margin: var(--hnp-space-4) 0 0;
	font-size: var(--hnp-text-sm);
	color: var(--hnp-color-muted);
}

.hnp-drawer__contact a {
	color: var(--hnp-color-ink);
	text-decoration: none;
}

body.hnp-scroll-lock {
	overflow: hidden;
}

/* GLF-006: `html body { overflow: visible !important }` (ULT-080) always beat the rule above, so the page behind
   the open drawer kept scrolling. The document is the scroller, so the lock belongs on <html>, as the room modal
   and search locks already do. */
html:has(> body.hnp-scroll-lock),
html:has(> body.hnp-scroll-lock) body {
	overflow: hidden !important;
}

/* ------------------------------------------------------------------ footer */

.hnp-footer {
	background: var(--hnp-color-ink);
	color: rgba(255, 255, 255, 0.78);
	padding: var(--hnp-section) 0 var(--hnp-space-6);
}

.hnp-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: var(--hnp-text-sm);
}

.hnp-footer__contact a,
.hnp-footer__list a,
.hnp-footer__social a,
.hnp-footer__legal a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	transition: color var(--hnp-dur) var(--hnp-ease);
}

.hnp-footer__contact a:hover,
.hnp-footer__list a:hover,
.hnp-footer__social a:hover,
.hnp-footer__legal a:hover {
	color: #ffffff;
}

.hnps-chrome .hnp-footer__title {
	margin: 0 0 var(--hnp-space-3);
	font-family: var(--hnp-font-body);
	/* UX-011: these are the footer's column headings — the labels a guest scans for "Liên hệ". At 12px uppercase
	   they were the smallest text on the page while doing a navigational job, on all 21 pages measured. */
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e7d6bd;
	line-height: 1.4;
}

.hnp-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px var(--hnp-space-5);
	font-size: var(--hnp-text-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hnp-footer__social a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
}

.hnp-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px var(--hnp-space-4);
	margin: 0;
	font-size: var(--hnp-text-xs);
	color: rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------------ page shells */

/* The theme's content container is a flex row (for sidebars); every template
   renders inside one block so its sections stack full width. */
.hnp-template {
	width: 100%;
	min-width: 0;
	flex: 1 1 100%;
}

/* A booking or V2 shortcode dropped straight into a full-width page gets the
   page rhythm the section templates would otherwise provide. */
.hnps-chrome .entry-content > .hnp,
.hnps-chrome .entry-content > .hnp-results {
	max-width: var(--hnp-container);
	margin-inline: auto;
	padding-inline: var(--hnp-gutter);
}

.hnps-chrome .entry-content > .hnp {
	padding-top: var(--hnp-section-tight);
}

.hnps-chrome .entry-content > .hnp-results {
	padding-bottom: var(--hnp-section);
}

.hnp-page {
	padding: var(--hnp-section-tight) 0 var(--hnp-section);
}

.hnp-page__head {
	max-width: 760px;
	margin-bottom: var(--hnp-space-7);
}

.hnp-page__head .hnp-lead {
	margin-top: var(--hnp-space-4);
	color: var(--hnp-color-muted);
}

/* journal / archive */
.hnp-journal {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hnp-space-5);
}

.hnp-post {
	text-decoration: none;
	color: inherit;
}

.hnp-post__body {
	display: flex;
	flex-direction: column;
	gap: var(--hnp-space-2);
	padding: var(--hnp-space-4) var(--hnp-space-4) var(--hnp-space-5);
	flex: 1 1 auto;
}

.hnp-post__meta {
	display: flex;
	align-items: center;
	gap: var(--hnp-space-3);
	font-size: var(--hnp-text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hnp-color-muted);
}

.hnp-post__meta .hnp-badge {
	letter-spacing: 0.06em;
}

.hnps-chrome .hnp-post__title {
	margin: 0;
	font-family: var(--hnp-font-display);
	font-size: var(--hnp-heading-3);
	line-height: var(--hnp-leading-snug);
	color: var(--hnp-color-ink);
}

.hnp-post__excerpt {
	margin: 0;
	font-size: var(--hnp-text-sm);
	line-height: var(--hnp-leading-body);
	color: var(--hnp-color-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hnp-post--featured .hnp-post__body {
	padding: var(--hnp-space-5);
}

.hnps-chrome .hnp-post--featured .hnp-post__title {
	font-size: var(--hnp-heading-2);
}

.hnp-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--hnp-space-2);
	margin-top: var(--hnp-space-7);
}

.hnp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--hnp-color-border);
	border-radius: var(--hnp-radius-sm);
	font-size: var(--hnp-text-sm);
	font-weight: 600;
	color: var(--hnp-color-ink);
	text-decoration: none;
}

.hnp-pagination .page-numbers.current,
.hnp-pagination .page-numbers:hover {
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
	border-color: var(--hnp-color-ink);
}

/* single post */










.hnp-article__body {
	max-width: var(--hnp-container-narrow);
	margin: 0 auto;
	padding: var(--hnp-space-5) var(--hnp-space-6) var(--hnp-section);
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--hnp-color-text);
}

.hnp-article__body > * + * {
	margin-top: 1.25em;
}

.hnps-chrome .hnp-article__body h2,
.hnps-chrome .hnp-article__body h3 {
	font-family: var(--hnp-font-display);
	color: var(--hnp-color-ink);
	line-height: 1.25;
	margin-top: 2em;
}

.hnps-chrome .hnp-article__body h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.hnps-chrome .hnp-article__body h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); }

.hnp-article__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--hnp-radius-md);
}

.hnp-article__body a {
	color: var(--hnp-color-accent-text);
}

.hnp-article__related {
	background: var(--hnp-color-sand);
	padding: var(--hnp-section-tight) 0;
}

/* 404 */
.hnp-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	padding: var(--hnp-section) 0;
}

.hnp-404__code {
	font-family: var(--hnp-font-display);
	font-size: clamp(4rem, 14vw, 9rem);
	line-height: 0.9;
	font-weight: 700;
	color: var(--hnp-color-sand);
	margin: 0 0 var(--hnp-space-4);
}

.hnp-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hnp-space-3);
	margin-top: var(--hnp-space-6);
}

/* CTA band (used at the end of property and article pages) */
.hnp-ctaband {
	background: var(--hnp-color-ink);
	color: #ffffff;
	padding: var(--hnp-section-tight) 0;
}

.hnp-ctaband__inner {
	display: flex;
	flex-direction: column;
	gap: var(--hnp-space-4);
	align-items: flex-start;
}

.hnps-chrome .hnp-ctaband__title {
	margin: 0;
	font-family: var(--hnp-font-display);
	font-size: var(--hnp-heading-2);
	line-height: 1.15;
	color: #ffffff;
}

.hnp-ctaband__text {
	margin: 0;
	max-width: 52ch;
	color: rgba(255, 255, 255, 0.76);
	line-height: var(--hnp-leading-body);
}

.hnp-ctaband__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hnp-space-3);
}

/* -------------------------------------------------------- legacy page tidy */

/* Elementor-built pages keep their content; only the page frame is aligned. */
body.hnps-chrome.hnps-legacy-page .site-content > .ast-container {
	max-width: none;
	padding: 0;
}

/* The fanpage bubble injected site-wide sits above the mobile booking bar. */
@media (max-width: 767px) {

	body.hnps-chrome #hp-messenger-btn,
	body.hnps-chrome .hp-popup-btn {
		bottom: 88px !important;
	}
}


/* ------------------------------------------------------------- responsive */

@media (min-width: 640px) {

	.hnp-journal {
		grid-template-columns: repeat(2, 1fr);
	}

	.hnp-post--featured {
		grid-column: 1 / -1;
	}

	.hnp-post--featured .hnp-post__link {
		display: grid;
		grid-template-columns: 1.3fr 1fr;
	}

	.hnp-ctaband__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}


@media (min-width: 1024px) {

	:root {
		--hnp-header-h: 76px;
	}

	.hnp-header__bar {
		min-height: var(--hnp-header-h);
	}

	.hnp-header__logo img {
		height: 42px;
	}

	.hnp-header__nav {
		display: block;
	}

	.hnp-burger {
		display: none;
	}

	.hnp-header__cta {
		min-height: 44px;
		padding: 10px 22px;
	}

	.hnp-header__account {
		display: inline-flex;
	}

	.hnp-journal {
		grid-template-columns: repeat(3, 1fr);
	}
}


/* Seven items plus account and CTA need the space between 1024 and 1279. */
@media (min-width: 1024px) and (max-width: 1279px) {

	.hnp-nav { gap: 0; }
	.hnp-nav__link,
	.hnp-header button.hnp-nav__link { padding: 8px 9px; font-size: 0.8125rem; }
	.hnp-nav__link::after { left: 9px; right: 9px; }
	.hnp-header__account span { display: none; }
	.hnp-header__account { padding: 6px; }
	.hnp-header__bar { gap: var(--hnp-space-3); }
}


@media (prefers-reduced-motion: reduce) {

	.hnp-header,
	.hnp-mega,
	.hnp-drawer,
	.hnp-btn,
	.hnp-card,
	.hnp-card__media img,
	.hnp-burger span,
	.hnp-nav__link::after {
		transition: none;
	}

	.hnp-card:hover,
	.hnp-card:hover .hnp-card__media img,
	.hnp-btn:hover .hnp-btn__arrow {
		transform: none;
	}
}



/* -------------------------------------------------- account menu (v0.5) */

.hnp-header__user { position: relative; }

.hnp-header button.hnp-header__account,
.hnp-header button.hnp-header__account:hover,
.hnp-header button.hnp-header__account:focus {
	background: transparent;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	color: inherit;
}
.hnp-header button.hnp-header__account:hover { background: rgba(14, 26, 38, 0.06); }
/* T-0791 (J-10): the theme's button style (uppercase + tracking) turned the member name into "KHÁCH T…"; the name reads as written.
   The ch caps below are unchanged, so the header keeps its width budget; the full name is in the span's title and the button's aria-label. */
.hnp-header button.hnp-header__account,
.hnp-header button.hnp-header__account span { text-transform: none; letter-spacing: normal; }
.hnp-header__account .hnp-nav__caret { margin-left: 2px; }
.hnp-header__account[aria-expanded="true"] .hnp-nav__caret { transform: rotate(180deg); }

.hnp-usermenu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 220px;
	padding: 8px;
	background: var(--hnp-color-surface);
	border: 1px solid var(--hnp-color-border);
	border-radius: var(--hnp-radius-md);
	box-shadow: 0 24px 48px -24px rgba(14, 26, 38, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--hnp-dur) var(--hnp-ease), transform var(--hnp-dur) var(--hnp-ease), visibility 0s linear var(--hnp-dur);
	z-index: 2;
}
.hnp-header__user.is-open .hnp-usermenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hnp-usermenu__link { display: block; padding: 10px 12px; border-radius: var(--hnp-radius-sm); font-size: var(--hnp-text-sm); font-weight: 600; color: var(--hnp-color-ink); text-decoration: none; }
.hnp-usermenu__link:hover, .hnp-usermenu__link:focus-visible { background: var(--hnp-color-sand); }
.hnp-usermenu__link--out { margin-top: 4px; border-top: 1px solid var(--hnp-color-border); border-radius: 0; color: var(--hnp-color-muted); }

.hnp-drawer__account { padding: var(--hnp-space-4) var(--hnp-gutter); border-top: 1px solid var(--hnp-color-border); }
.hnp-drawer__accountname { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--hnp-space-2); font-family: var(--hnp-font-display); font-weight: 700; color: var(--hnp-color-ink); }
.hnp-drawer__accountname .hnp-icon { width: 20px; height: 20px; }
.hnp-drawer__accountlist { list-style: none; margin: 0; padding: 0; display: grid; }
.hnp-drawer__accountlist a { display: block; padding: 10px 0; font-size: var(--hnp-text-sm); color: var(--hnp-color-text); text-decoration: none; border-bottom: 1px solid var(--hnp-color-border); }
.hnp-drawer__register { margin: var(--hnp-space-3) 0 0; font-size: var(--hnp-text-sm); color: var(--hnp-color-muted); text-align: center; }
.hnp-drawer__register a { color: var(--hnp-color-ink); font-weight: 700; }



/* Private pages have no hero: give the header its solid state from the start. */
body.hnps-private-page .hnp-header { background: var(--hnp-color-surface); border-bottom: 1px solid var(--hnp-color-border); }

/* The legacy fanpage widget (WPCode "Nút liên hệ Fanpage") is removed at the
   source by HNPS_Chrome::drop_legacy_chat_widget(), not hidden here — hidden
   markup still shipped unlabelled links to the wrong brand's Facebook page.
   These two rules stay as a belt-and-braces guard in case the filter is
   removed or another copy of the snippet appears. */
.hnps-chrome #hp-messenger-btn,
.hnps-chrome #hp-auto-popup { display: none !important; }


/* The fanpage button's Font Awesome glyphs: V2 pages drop the icon fonts, so the
   decorative <i> would render as an empty box. The label carries the meaning. */
.hnps-chrome #hp-messenger-btn i,
.hnps-chrome .hp-popup-header i,
.hnps-chrome .hp-popup-btn i { display: none !important; }

/* White nav over a photograph needs its own scrim: a brand's cover may be a
   bright room, and the hero's own gradient cannot be dark enough at the top
   without flattening the picture. This strip sits behind the transparent
   header only, and disappears the moment the header turns solid. */
body.hnps-hero-page .hnp-header::before {
	content: "";
	position: absolute;
	inset: 0 0 -32px 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(14, 26, 38, 0.82) 0%, rgba(14, 26, 38, 0.66) 60%, rgba(14, 26, 38, 0) 100%);
	opacity: 1;
	transition: opacity var(--hnp-dur) var(--hnp-ease);
}

body.hnps-hero-page .hnp-header.is-scrolled::before,
body.hnps-hero-page .hnp-header.is-open::before {
	opacity: 0;
}

body.hnps-hero-page .hnp-header > * {
	position: relative;
	z-index: 1;
}

/* Even with the scrim, white type over an unpredictable photograph benefits
   from a soft shadow — it costs nothing and disappears once the header is solid. */
body.hnps-hero-page .hnp-header:not(.is-scrolled):not(.is-open) .hnp-nav__link,
body.hnps-hero-page .hnp-header:not(.is-scrolled):not(.is-open) .hnp-header__account,
body.hnps-hero-page .hnp-header:not(.is-scrolled):not(.is-open) .hnp-header__logo img {
	text-shadow: 0 1px 2px rgba(14, 26, 38, 0.6), 0 1px 14px rgba(14, 26, 38, 0.55); /* GLF-063: tight shadow + stronger scrim — white nav over a light Base photo measured 2.9–3.7:1 */
}

body.hnps-hero-page .hnp-header:not(.is-scrolled):not(.is-open) .hnp-header__logo img {
	filter: drop-shadow(0 1px 10px rgba(14, 26, 38, 0.5));
	text-shadow: none;
}

/* --------------------------------------------------- support action (v0.6) */

.hnp-support {
	position: fixed;
	right: var(--hnp-space-4);
	bottom: calc(84px + env(safe-area-inset-bottom));
	z-index: 480;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--hnp-color-ink);
	color: #ffffff;
	text-decoration: none;
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	/* KVA-062: a light hairline keeps the ink bubble visible over the dark footer and dark sections. */
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 14px 30px -14px rgba(14, 26, 38, 0.6);
	transition: background var(--hnp-dur) var(--hnp-ease), transform var(--hnp-dur) var(--hnp-ease);
}

.hnp-support:hover,
.hnp-support:focus-visible { background: var(--hnp-color-accent); transform: translateY(-2px); color: #ffffff; }
.hnp-support__icon { width: 20px; height: 20px; fill: currentColor; }

@media (min-width: 1024px) {

	.hnp-support { bottom: var(--hnp-space-5); right: var(--hnp-space-5); padding: 12px 18px; }
}


@media (prefers-reduced-motion: reduce) {

	.hnp-support { transition: none; }
	.hnp-support:hover { transform: none; }
}


/* ==================================================== social channels (v0.6, chrome) */

.hnps-social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hnp-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hnps-social__link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 8px 15px;
	border: 1px solid var(--hnps-line);
	border-radius: 999px;
	font-size: var(--hnp-text-sm);
	font-weight: 600;
	color: var(--hnps-ink);
	text-decoration: none;
	background: transparent;
	transition: border-color var(--hnp-dur) var(--hnp-ease), background var(--hnp-dur) var(--hnp-ease), color var(--hnp-dur) var(--hnp-ease);
}

.hnps-social__link:hover,
.hnps-social__link:focus-visible {
	border-color: var(--hnps-ink);
	background: var(--hnps-ink);
	color: #ffffff;
}

.hnps-social__icon { width: 19px; height: 19px; flex: 0 0 auto; fill: currentColor; }
.hnps-social__support { margin: var(--hnp-space-3) 0 0; }
.hnps-social__zalo { gap: 9px; }
.hnps-social__zalo .hnps-social__icon { width: 20px; height: 20px; }

/* On dark ground (footer, brand hero) the row inverts. */
.hnp-footer .hnps-social__link,
.hnps-section--dark .hnps-social__link {
	border-color: rgba(255, 255, 255, 0.24);
	color: rgba(255, 255, 255, 0.92);
}

.hnp-footer .hnps-social__link:hover,
.hnp-footer .hnps-social__link:focus-visible,
.hnps-section--dark .hnps-social__link:hover,
.hnps-section--dark .hnps-social__link:focus-visible {
	border-color: #ffffff;
	background: #ffffff;
	color: var(--hnp-color-ink);
}

.hnp-footer .hnps-social__zalo {
	background: #ffffff;
	color: var(--hnp-color-ink);
	border-color: #ffffff;
}

.hnp-footer .hnps-social__zalo:hover { background: var(--hnp-color-accent); border-color: var(--hnp-color-accent); color: #ffffff; }

/* Brand pages: the channels block replaces the old chip row. */


/* Below the desktop breakpoint the support action is a circle: a labelled pill
   at the right edge of a one-column page sits on top of the text.
   FRD F-008: up to 1279px — at 1024 the pill sat on the /dat-phong/ area filter chips. */
@media (max-width: 1279px) {

	.hnp-support {
		width: 48px;
		height: 48px;
		padding: 0;
		justify-content: center;
		gap: 0;
	}

	.hnp-support__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.hnp-support__icon { width: 22px; height: 22px; }
}


/* Contact: channel rows sit below the facts list, each full width. */
.hnps-contact__channels { display: grid; gap: var(--hnp-space-5); margin-top: var(--hnp-space-6); padding-top: var(--hnp-space-5); border-top: 1px solid var(--hnp-color-border); }
.hnps-contact__channel .hnp-label { display: block; margin-bottom: 10px; }
.hnps-contact__channel .hnps-social__support { margin: 0; }

@media (min-width: 768px) {

	.hnps-contact__channels { grid-template-columns: auto 1fr; gap: var(--hnp-space-7); align-items: start; }
}



/* ================================================= design tokens (v0.7, owner pass) */

/* Radius system: controls 8, cards 12, panels 16. The legacy sm/md/lg names
   are remapped so every existing rule moves with the system; the semantic
   names below are what new rules should use. Colour aliases name the roles
   the palette already plays — ink is the primary, the warm accent the
   secondary, gold the hairline highlight. */
:root {
	--hnp-radius-sm: 6px;
	--hnp-radius-md: 12px;
	--hnp-radius-lg: 16px;
	--hnp-radius-control: 8px;
	--hnp-radius-card: 12px;
	--hnp-radius-panel: 16px;
	--hnp-radius-pill: 999px;

	--hnp-color-primary: var(--hnp-color-ink);
	--hnp-color-primary-soft: var(--hnp-color-ink-2);
	--hnp-color-secondary: var(--hnp-color-accent);
	--hnp-color-secondary-text: var(--hnp-color-accent-text);
	--hnp-color-highlight: var(--hnp-color-gold);
	--hnp-color-paper: var(--hnp-color-bg);
	--hnp-color-line: var(--hnp-color-border);
	--hnp-color-line-strong: rgba(14, 26, 38, 0.22);

	--hnp-shadow-card: 0 18px 40px -28px rgba(14, 26, 38, 0.35);
	--hnp-shadow-panel: 0 24px 60px -36px rgba(14, 26, 38, 0.4);
}

/* Controls and buttons take the control radius; badges and tags the small one. */
.hnp-btn,
.hnps-chrome .hnp-btn,
.hnp-control,
.hnps-chrome .hnp-control,
.hnp-field__control,
.hnps-stepper,
.hnp-stepper { border-radius: var(--hnp-radius-control); }

.hnp-card { border-radius: var(--hnp-radius-card); box-shadow: var(--hnp-shadow-card); }
.hnp-card:hover { box-shadow: 0 26px 50px -30px rgba(14, 26, 38, 0.45); }

/* Titles: darker, heavier, tighter — the page hierarchy reads at a glance. */
.hnps-chrome .hnp-h1,
.hnps-chrome .hnp-h2,
.hnps-chrome .hnp-h3,
.hnps-chrome .hnp-h4,
.hnps .hnps-sectionhead__title,
.hnps .hnps-story__title,
.hnps .hnps-brandcard__name,
.hnps .hnps-property__name,
.hnps .hnps-stay__label,
.hnps .hnps-pillar__title,
.hnps .hnps-aboutbrand__name,
.hnps .hnps-tier__name,
.hnps .hnps-value__title,
.hnp-footer__title,
.hnp .hnp__title,
.hnp-card__name {
	font-weight: 700;
	color: var(--hnp-color-ink);
	letter-spacing: -0.015em;
}

.hnps .hnps-sectionhead__title { letter-spacing: -0.02em; }
.hnps .hnps-section--dark .hnps-sectionhead__title,
.hnps .hnps-section--dark .hnps-story__title,
.hnps .hnps-value__title,
.hnps .hnps-hero__title,
.hnps .hnps-brandhero__title,
.hnp-footer__title { color: #ffffff; }
.hnps .hnps-value__title--ink { color: var(--hnp-color-ink); }

.hnp-eyebrow:not(.hnp-eyebrow--light) { color: var(--hnp-accent-text, var(--hnp-color-accent-text)); }

/* ---------------------------------------------------------- checkbox fields */

.hnp-field--check {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	align-items: start;
	margin: 0;
	font-size: var(--hnp-text-sm);
	line-height: 1.5;
	color: var(--hnp-color-text);
}

.hnp-field--check label { cursor: pointer; }
.hnp-field--check.hnp-field--error label { color: var(--hnp-color-danger); }

.hnp-check {
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	border: 1.5px solid var(--hnp-color-line-strong);
	border-radius: var(--hnp-radius-sm);
	background: var(--hnp-color-surface);
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	transition: border-color var(--hnp-dur) var(--hnp-ease), background var(--hnp-dur) var(--hnp-ease);
}

.hnp-check::before {
	content: "";
	width: 11px;
	height: 6px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg) translateY(-1px);
	opacity: 0;
}

.hnp-check:checked { background: var(--hnp-color-ink); border-color: var(--hnp-color-ink); }
.hnp-check:checked::before { opacity: 1; }
.hnp-check:focus-visible { outline: 2px solid var(--hnp-color-accent); outline-offset: 2px; }

.hnps-consent { display: grid; gap: var(--hnp-space-3); }

/* ------------------------------------------------ support: Fanpage first, Zalo second */

.hnps-social__support {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hnp-space-2);
	margin: var(--hnp-space-3) 0 0;
}

.hnps-social__fanpage,
.hnps-social__zalo { gap: 9px; }
.hnps-social__fanpage .hnps-social__icon,
.hnps-social__zalo .hnps-social__icon { width: 20px; height: 20px; }

/* On the dark footer / dark sections the primary is white-on-ink inverted. */
.hnp-footer .hnps-social__fanpage,
.hnps-section--dark .hnps-social__fanpage {
	background: #ffffff;
	color: var(--hnp-color-ink);
	border-color: #ffffff;
}

.hnp-footer .hnps-social__fanpage:hover,
.hnp-footer .hnps-social__fanpage:focus-visible,
.hnps-section--dark .hnps-social__fanpage:hover,
.hnps-section--dark .hnps-social__fanpage:focus-visible { background: var(--hnp-color-accent); border-color: var(--hnp-color-accent); color: #ffffff; }

.hnp-footer .hnps-social__zalo,
.hnps-section--dark .hnps-social__zalo {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.55);
}

.hnp-footer .hnps-social__zalo:hover,
.hnp-footer .hnps-social__zalo:focus-visible,
.hnps-section--dark .hnps-social__zalo:hover,
.hnps-section--dark .hnps-social__zalo:focus-visible { background: #ffffff; color: var(--hnp-color-ink); border-color: #ffffff; }

/* ------------------------------------------------------------- footer (v0.7) */

.hnp-footer__veritas-tagline {
	margin: 0 0 var(--hnp-space-2);
	font-family: var(--hnp-font-body);
	font-style: italic;
	font-size: var(--hnp-text-sm);
	color: var(--hnp-color-gold);
}

/* Support FAB now reads "Nhắn tin Fanpage": a touch wider on desktop. */
.hnp-support__icon { width: 22px; height: 22px; }

/* The support button steps aside while a search or registration form is on
   screen, so it can never cover a submit button (see hanopalais-ui.js). */
.hnp-support {
	transition:
		background var(--hnp-dur) var(--hnp-ease),
		color var(--hnp-dur) var(--hnp-ease),
		transform var(--hnp-dur) var(--hnp-ease),
		opacity var(--hnp-dur) var(--hnp-ease),
		visibility var(--hnp-dur) var(--hnp-ease);
}

.hnp-support.is-yielded {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(0.96);
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {

	.hnp-support.is-yielded { transform: none; }
}


/* ==================================================== footer (v0.9 rebuild) */

/* Three levels on a deep ink ground: what we want to hear from you and how to
   reach us, then where everything is, then who owns it. The earlier footer's
   rules are superseded here rather than edited, so the older class names stay
   harmless if any page still carries them. */

.hnp-footer {
	padding: var(--hnp-space-9) 0 var(--hnp-space-6);
	background: var(--hnp-color-ink);
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--hnp-text-sm);
	line-height: 1.6;
}

/* --- level 1: service row --- */
.hnp-footer__service {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hnp-space-7);
	padding-bottom: var(--hnp-space-7);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hnps-chrome .hnp-footer__lead {
	margin: 0 0 var(--hnp-space-3);
	font-family: var(--hnp-font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #ffffff;
	max-width: 22ch;
	text-wrap: balance;
}

.hnp-footer__leadnote {
	margin: 0 0 var(--hnp-space-4);
	max-width: 44ch;
	color: rgba(255, 255, 255, 0.7);
}

.hnp-footer__feedbackcta { gap: 8px; }

.hnps-chrome .hnp-footer__title {
	margin: 0 0 var(--hnp-space-4);
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-xs);
	font-weight: 700;
	letter-spacing: var(--hnp-tracking-caps);
	text-transform: uppercase;
	color: var(--hnp-color-gold);
}

/* Contacts: the label is small, the thing you act on is not. */
.hnp-footer__contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--hnp-space-4);
}

.hnp-footer__ckey {
	display: block;
	font-size: var(--hnp-text-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.hnp-footer .hnp-footer__cvalue {
	display: inline-block;
	margin-top: 2px;
	font-size: var(--hnp-text-base);
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.hnp-footer .hnp-footer__cvalue:hover,
.hnp-footer .hnp-footer__cvalue:focus-visible { border-bottom-color: var(--hnp-color-gold); color: var(--hnp-color-gold); }

/* Channels: a real tap target, not a decoration. */
.hnp-footer__channels {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 var(--hnp-space-4);
	padding: 0;
	list-style: none;
}

.hnp-footer .hnp-footer__channel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	color: #ffffff;
	transition: background var(--hnp-dur) var(--hnp-ease), border-color var(--hnp-dur) var(--hnp-ease), color var(--hnp-dur) var(--hnp-ease);
}

.hnp-footer .hnp-footer__channel .hnp-icon { width: 20px; height: 20px; }

.hnp-footer .hnp-footer__channel:hover,
.hnp-footer .hnp-footer__channel:focus-visible {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--hnp-color-ink);
}

.hnp-footer__socialnote {
	margin: 0;
	max-width: 34ch;
	color: rgba(255, 255, 255, 0.6);
}

/* --- level 2: navigation --- */
.hnp-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--hnp-space-6) var(--hnp-space-5);
	padding: var(--hnp-space-7) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hnp-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

/* Parity Correction Mission Section 28 (P1): mobile footer accordion.
   .hnp-footer__col is a <details>; .hnp-footer__title is now its
   <summary>. Below 700px it stays a real, collapsed-by-default disclosure
   (own chevron, no native marker); at 700px+ hanopalais-ui.js opens every
   one on load and this look returns to a plain heading, matching before. */
.hnp-footer__col > summary.hnp-footer__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hnp-space-3);
	cursor: pointer;
	list-style: none;
}
.hnp-footer__col > summary.hnp-footer__title::-webkit-details-marker { display: none; }
.hnp-footer__col > summary.hnp-footer__title::after {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid var(--hnp-color-gold);
	border-bottom: 1.5px solid var(--hnp-color-gold);
	transform: rotate(45deg);
	transition: transform var(--hnp-dur) var(--hnp-ease);
}
.hnp-footer__col[open] > summary.hnp-footer__title::after { transform: rotate(-135deg); }
.hnp-footer__col > ul { padding-top: var(--hnp-space-2); }

@media (min-width: 700px) {
	.hnp-footer__col > summary.hnp-footer__title { cursor: default; pointer-events: none; }
	.hnp-footer__col > summary.hnp-footer__title::after { display: none; }
	.hnp-footer__col > ul { padding-top: 0; }
}

.hnp-footer .hnp-footer__col a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.hnp-footer .hnp-footer__col a:hover,
.hnp-footer .hnp-footer__col a:focus-visible { color: #ffffff; border-bottom-color: rgba(255, 255, 255, 0.5); }

/* --- level 3: the company --- */
.hnp-footer__corp {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hnp-space-6);
	padding: var(--hnp-space-7) 0;
}

.hnp-footer__logo {
	width: 48px;
	height: auto;
	margin-bottom: var(--hnp-space-3);
	opacity: 0.9;
}

.hnp-footer__promise {
	margin: 0;
	max-width: 40ch;
	color: rgba(255, 255, 255, 0.7);
}

.hnp-footer__veritas-tagline {
	margin: 0 0 var(--hnp-space-2);
	font-family: var(--hnp-font-body);
	font-style: italic;
	font-size: var(--hnp-text-sm);
	color: var(--hnp-color-gold);
}

.hnp-footer__note {
	margin: 0 0 6px;
	max-width: 42ch;
	color: rgba(255, 255, 255, 0.65);
}

/* --- the registration line --- */
.hnp-footer__legal {
	padding-top: var(--hnp-space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hnp-footer__company {
	margin: 0 0 6px;
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.9);
}

/* Legal text is small, never microscopic: it still has to be readable on a
   phone without pinching. */
.hnp-footer__registration {
	margin: 0;
	max-width: 92ch;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {

	.hnp-footer__service { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--hnp-space-7); }
	.hnp-footer__nav { grid-template-columns: repeat(3, 1fr); }
	.hnp-footer__corp { grid-template-columns: 1.2fr 1fr; align-items: start; }
}


@media (min-width: 1024px) {

	.hnp-footer { padding-top: calc(var(--hnp-space-9) + var(--hnp-space-4)); }
	.hnp-footer__nav { grid-template-columns: repeat(5, 1fr); gap: var(--hnp-space-6) var(--hnp-space-5); }
}


/* The 0.7 footer styled `__social` and `__legal` as inline rows; the rebuilt
   footer uses them as blocks, so those older rules are reset here rather than
   edited in place — any page still carrying the old markup keeps working. */
.hnp-footer .hnp-footer__social {
	display: block;
	font-size: var(--hnp-text-sm);
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
}

.hnp-footer .hnp-footer__legal {
	display: block;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.6);
}

.hnp-footer .hnp-footer__socialnote {
	font-size: var(--hnp-text-sm);
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: rgba(255, 255, 255, 0.6);
}

/* The corporate row reads better as three even columns than as a wide gap. */
@media (min-width: 768px) {

	.hnp-footer__corp { grid-template-columns: 1fr 1fr; gap: var(--hnp-space-8); }
}


/* At desktop widths the three levels share one five-column measure, so the
   headings of every level land on the same vertical lines and the footer reads
   as one object rather than three stacked bands. */
@media (min-width: 1024px) {

	.hnp-footer__service {
		grid-template-columns: repeat(5, 1fr);
		gap: var(--hnp-space-5);
	}

	.hnp-footer__feedback { grid-column: span 2; }
	.hnp-footer__contact { grid-column: 3 / span 1; }
	.hnp-footer__social { grid-column: 4 / span 2; }

	.hnp-footer__corp {
		grid-template-columns: repeat(5, 1fr);
		gap: var(--hnp-space-5);
	}

	.hnp-footer__mark { grid-column: span 2; }
	.hnp-footer__veritas { grid-column: 3 / span 3; }

	.hnp-footer__note { max-width: 52ch; }
}


/* On a phone the floating support button parks over the bottom-right corner, so
   the footer ends with enough room that it can never sit on the legal line. */
@media (max-width: 767px) {

	.hnp-footer { padding-bottom: calc(var(--hnp-space-6) + 64px); }
}

/* The closing booking band shares the footer's ink, so without an edge the two
   read as one very tall dark block. A hairline at the same weight the footer
   uses internally separates them without introducing a second colour. */
.hnp-footer { border-top: 1px solid rgba(255, 255, 255, 0.14); }

/* Secondary nav ("Thêm"): a plain link list beside the brand mega. */
.hnp-mega--links { width: min(300px, calc(100vw - 2 * var(--hnp-gutter))); left: auto; right: 0; transform: translateY(6px); }
.hnp-nav__item.is-open > .hnp-mega--links,
.hnp-nav__item:focus-within > .hnp-mega--links { transform: translateY(0); }
.hnp-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hnp-mega__link { display: block; padding: 10px 12px; border-radius: 8px; color: var(--hnp-color-text); text-decoration: none; font-weight: 600; }
.hnp-mega__link:hover { background: var(--hnp-color-surface-alt, var(--hnp-color-tint)); }

/* ===================================================================
   NATIVE ELEMENTOR BRIDGE (2026-09)
   ===================================================================
   Marketing pages are built from native Elementor widgets so the owner
   can click a heading, a photograph or a button and edit it. Elementor
   wraps every widget in its own markup, so the HanoPalais class that
   used to sit on the <h2>/<p>/<a> now sits on that wrapper. These rules
   hand the styling back down to the element inside: typography and
   colour inherit, Elementor's own widget chrome is neutralised, and a
   button keeps a real clickable box. No design values are invented
   here — buttons reuse the same tokens .hnp-btn does. */

/* Typography set on the wrapper reaches the element Elementor renders. */
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor .elementor-widget-container {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: inherit;
	margin: 0;
	padding: 0;
}

/* A text editor's paragraphs must not add the theme's own outer margins. */
.elementor-widget-text-editor .elementor-widget-container > :first-child { margin-top: 0; }
.elementor-widget-text-editor .elementor-widget-container > :last-child { margin-bottom: 0; }

/* Images: the wrapper carries the layout class, the <img> fills it. */
.elementor-widget-image .elementor-widget-container,
.elementor-widget-image figure,
.elementor-widget-image a { display: block; height: 100%; }
.elementor-widget-image img { display: block; }

/* Buttons and links: the wrapper is only a marker, the anchor is the
   control, so the whole padded box stays clickable. */
.hnps-el-btn,
.hnps-el-link { display: inline-flex; align-self: flex-start; max-width: 100%; }
.hnps-el-btn .elementor-button-wrapper,
.hnps-el-link .elementor-button-wrapper { display: contents; }

.hnps-el-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	border: 1px solid transparent;
	border-radius: var(--hnp-radius-sm);
	background: transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--hnp-dur) var(--hnp-ease), color var(--hnp-dur) var(--hnp-ease), border-color var(--hnp-dur) var(--hnp-ease);
}

.hnps-el-btn--primary .elementor-button {
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
	border-color: var(--hnp-color-ink);
}

.hnps-el-btn--primary .elementor-button:hover,
.hnps-el-btn--primary .elementor-button:focus-visible {
	background: var(--hnp-color-accent);
	border-color: var(--hnp-color-accent);
	color: var(--hnp-color-ink);
}

.hnps-el-btn--ghost-light .elementor-button {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.5);
}

.hnps-el-btn--ghost-light .elementor-button:hover,
.hnps-el-btn--ghost-light .elementor-button:focus-visible {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--hnp-color-ink);
}

.hnps-el-link .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 0 2px;
	background: transparent;
	border: 0;
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: none;
	line-height: inherit;
	color: var(--hnp-accent-text, var(--hnp-color-accent-text));
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: 0 100%;
	transition: color var(--hnp-dur) var(--hnp-ease), background-size 320ms var(--hnp-ease);
}

.hnps-el-link .elementor-button:hover {
	color: var(--hnp-color-ink);
	background-size: 100% 2px;
}

.hnps-el-link--light .elementor-button { color: rgba(255, 255, 255, 0.85); }
.hnps-el-link--light .elementor-button:hover { color: #ffffff; }

/* Elementor gives every container a default padding and gap of its own
   (--container-default-padding-*, --widgets-spacing). A HanoPalais section
   does its own spacing in the stylesheet, so those defaults are zeroed here
   rather than written per element — written per element they would outrank
   the class the container carries. */
.hnps .e-con,
.hnp-footer .e-con {
	--container-default-padding-top: 0px;
	--container-default-padding-right: 0px;
	--container-default-padding-bottom: 0px;
	--container-default-padding-left: 0px;
	--widgets-spacing: 0px;
	--widgets-spacing-row: 0px;
	--widgets-spacing-column: 0px;
}

/* Containers whose own class sets a gap keep it, ahead of Elementor's --gap. */
.hnps .e-con.hnps-hero__actions { gap: var(--hnp-space-3); }

/* Note on measures: Elementor caps a widget that sits directly in a
   container at 100% with a four-class selector no single HanoPalais class
   can outrank, so a class that sets `max-width` goes on a container instead
   of on the widget — see tools/native/tree.php. Nothing is needed here. */

/* Elementor's kit styles its buttons with a two-class selector too, so the
   HanoPalais look needs one more step of specificity to win. */
.hnps .hnps-el-btn .elementor-button,
.hnp-footer .hnps-el-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	border: 1px solid transparent;
	border-radius: var(--hnp-radius-sm);
	background: transparent;
	color: inherit;
	fill: currentColor;
}

.hnps .hnps-el-btn--primary .elementor-button {
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
	border-color: var(--hnp-color-ink);
}

.hnps .hnps-el-btn--primary .elementor-button:hover,
.hnps .hnps-el-btn--primary .elementor-button:focus-visible {
	background: var(--hnp-color-accent);
	border-color: var(--hnp-color-accent);
	color: var(--hnp-color-ink);
}

.hnps .hnps-el-btn--ghost-light .elementor-button {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.5);
}

.hnps .hnps-el-btn--ghost-light .elementor-button:hover,
.hnps .hnps-el-btn--ghost-light .elementor-button:focus-visible {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--hnp-color-ink);
}

.hnps .hnps-el-link .elementor-button,
.hnp-footer .hnps-el-link .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 0;
	padding: 0 0 2px;
	background: transparent;
	border: 0;
	border-radius: 0;
	font-family: var(--hnp-font-body);
	font-size: var(--hnp-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: none;
	line-height: inherit;
	color: var(--hnp-accent-text, var(--hnp-color-accent-text));
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: 0 100%;
}

.hnps .hnps-el-link .elementor-button:hover { color: var(--hnp-color-ink); background-size: 100% 2px; }
.hnps .hnps-el-link--light .elementor-button { color: rgba(255, 255, 255, 0.85); }
.hnps .hnps-el-link--light .elementor-button:hover { color: #ffffff; }

/* The hero cover: the class that used to sit on the <img> now sits on the
   Image widget (so it keeps the settle animation), and the photograph
   itself has to fill the frame Elementor wraps it in. */
.hnps .hnps-hero__media,
.hnps .hnps-hero__media .elementor-widget-image,
.hnps .hnps-hero__media .elementor-widget-container,
.hnps .hnps-hero__media img { width: 100%; height: 100%; }

.hnps .hnps-hero__media img {
	object-fit: cover;
	object-position: var(--hnp-hero-focus, 50% 50%);
}

/* The hero's gradient is decoration drawn over the photograph. Left as a
   normal pseudo-element it also swallows clicks, which in the Elementor
   editor means the owner cannot select the cover photo to replace it. */
.hnps-hero::after { pointer-events: none; }

/* The cover sits in an absolutely positioned frame. Clicks belong to the
   photograph inside it — that is what the owner means to select when they
   click the hero image in Elementor — not to the empty frame around it. */
.hnps .hnps-hero__media { pointer-events: none; }
.hnps .hnps-hero__media .elementor-widget-image { pointer-events: auto; }

/* The hero copy block spans the full cover, so its empty half would sit on
   top of the photograph and swallow every click aimed at it. The block
   itself is only a layout frame; its children are the things worth
   selecting, so clicks land on them, and anywhere else in the hero reaches
   the photograph behind. */
.hnps .hnps-hero__inner { pointer-events: none; }
.hnps .hnps-hero__inner > * { pointer-events: auto; }

/* The remaining button variants, for native Elementor buttons. Same tokens
   as their .hnp-btn-- counterparts. */
.hnps .hnps-el-btn--secondary .elementor-button {
	background: transparent;
	color: var(--hnp-color-ink);
	border-color: currentColor;
}

.hnps .hnps-el-btn--secondary .elementor-button:hover,
.hnps .hnps-el-btn--secondary .elementor-button:focus-visible {
	background: var(--hnp-color-ink);
	color: var(--hnp-color-inverse);
	border-color: var(--hnp-color-ink);
}

.hnps .hnps-el-btn--inverse .elementor-button {
	background: var(--hnp-color-inverse);
	color: var(--hnp-color-ink);
	border-color: var(--hnp-color-inverse);
}

.hnps .hnps-el-btn--inverse .elementor-button:hover,
.hnps .hnps-el-btn--inverse .elementor-button:focus-visible {
	background: transparent;
	color: var(--hnp-color-inverse);
}

/* The About and Membership covers work the same way as the homepage hero:
   decoration and the copy frame must not intercept a click meant for the
   photograph underneath. */
.hnps .hnps-brandhero::after { pointer-events: none; }
.hnps .hnps-brandhero__media { pointer-events: none; }
.hnps .hnps-brandhero__media .elementor-widget-image { pointer-events: auto; }
.hnps .hnps-brandhero__inner { pointer-events: none; }
.hnps .hnps-brandhero__inner > * { pointer-events: auto; }

.hnps .hnps-brandhero__media,
.hnps .hnps-brandhero__media .elementor-widget-image,
.hnps .hnps-brandhero__media .elementor-widget-container,
.hnps .hnps-brandhero__media img { width: 100%; height: 100%; }
.hnps .hnps-brandhero__media img { object-fit: cover; }

/* A list that is now the content of a Text Editor keeps the list class on
   the widget wrapper, so the <ul> inside has to step aside and let the
   wrapper govern: no second set of markers, no double spacing, and the
   wrapper's own display (a grid of amenity lines, for instance) still
   reaches the items. */
.hnps .elementor-widget-text-editor > .elementor-widget-container > ul,
.hnps .elementor-widget-text-editor > .elementor-widget-container > ol {
	display: inherit;
	grid-template-columns: inherit;
	gap: inherit;
	margin: 0;
	padding: 0;
	list-style: inherit;
	font: inherit;
	color: inherit;
}

/* A class that lays its children out — the founder's name above their role,
   say — needs those children to be real siblings, so those are built as
   separate widgets inside a container rather than as one block of markup.
   Nothing is needed here for that case. */

/* The founder's portrait is a cover behind the quote, so the same rule the
   heroes use applies: the copy frame passes clicks through to the
   photograph, its own children stay selectable. */
.hnps .hnps-founder::after { pointer-events: none; }
.hnps .hnps-founder__media { pointer-events: none; }
.hnps .hnps-founder__media .elementor-widget-image { pointer-events: auto; }
.hnps .hnps-founder__inner { pointer-events: none; }
.hnps .hnps-founder__inner > *,
.hnps .hnps-founder__body > * { pointer-events: auto; }

.hnps .hnps-founder__media,
.hnps .hnps-founder__media .elementor-widget-image,
.hnps .hnps-founder__media .elementor-widget-container,
.hnps .hnps-founder__media img { width: 100%; height: 100%; }
.hnps .hnps-founder__media img { object-fit: cover; }

/* =====================================================================
   TYPE SCALE — the three jobs an H1 does here  (2026-09)

   An audit across sixteen customer-facing routes found seven different
   H1 sizes: 30, 40, 44, 56, 64, 76 and 80px. Most of that was a real
   system doing its job — a page's role, not its page, should pick the
   scale — but three of them were accidents.

     80px  editorial hero   homepage, brand pages, membership, about
     64px  page head        /co-so/, property, tin tức, khu vực, checkout
     40px  form page        login, register, forgot password
     30px  search tool      /dat-phong/ — deliberately compact, it is a
                            toolbar page and the title is a label

   H2 needed nothing: 44px already, on every section head, CTA band,
   property intro, room list and gallery heading across the site.
   ===================================================================== */

/* The brand index is a directory, like /co-so/ — it was wearing the
   section-head class as its page title and coming out at 44px, smaller
   than the H2s beneath it. */
.hnps .hnps-brandindex__title,
.hnps h1.hnps-sectionhead__title {
	font-size: var(--hnp-heading-1);
	line-height: var(--hnp-leading-tight);
	letter-spacing: -0.02em;
}

/* About's hero title already carried the right classes — but Elementor
   puts a widget's CSS classes on its wrapper, not on the heading inside
   it, so "hnps-brandhero__title" never reached the h1 and the title fell
   back to a themed 56px, smaller than the brand heroes it belongs with.
   The wrapper hands the scale down. */
.hnps .hnps-brandhero__title .elementor-heading-title,
.hnps .hnps-abouthero__title .elementor-heading-title {
	font-size: var(--hnp-heading-hero);
	line-height: var(--hnp-leading-tight);
	letter-spacing: -0.02em;
	color: inherit;
}

/* The brand panel is 920px wide and centres itself on its nav item, which
   sits about 300px from the left. On any viewport narrower than roughly
   1400px that pushes its left edge off the screen — at 1024 it started at
   -108px — so a customer on a laptop opening "Thương hiệu" would have seen
   the first brand cut in half. Found by sweeping widths rather than by
   looking, because it is invisible until the menu is open.

   Below that width it centres on the viewport instead, which is what a
   panel this wide wants anyway. */
@media (max-width: 1399px) {
	.hnp-mega {
		position: fixed;
		left: 50%;
		top: var(--hnp-header-h);
		transform: translateX(-50%) translateY(6px);
	}
}

/* The header brand link was 67x36 — the logo's own height with nothing round
   it. It is the most-tapped control on a phone; it gets the same 44 as every
   other one. Purely the hit area: the mark itself is unchanged. */
.hnp-header__logo {
	min-height: 44px;
}

/* ============================================ focus visibility (2026-09)
   Two defects found by walking the site with Tab rather than counting
   elements.

   1. Every text input had no visible focus state at all. The rule at
      `.hnp-control:focus` (0,2,0) is outranked by the theme's
      `input[type="email"]:focus` (0,2,1), which sets `box-shadow: none` and
      returns the border to its resting colour — so focus landed on a field
      and nothing moved. Doubling the class lifts ours to (0,4,0) and wins
      on specificity, which is the honest way round it: no !important, and
      nothing the theme does next can silently undo it.

   2. The skip link — the first thing a keyboard user reaches — un-clipped
      itself on focus but stayed white-on-cream at 126x18, so it was
      technically reachable and effectively invisible. */

.hnp-control.hnp-control:focus,
.hnp-control.hnp-control:focus-visible,
.hnp-field__control.hnp-field__control:focus,
.hnp-field__control.hnp-field__control:focus-visible {
	border-color: var(--hnp-color-ink);
	outline: 2px solid var(--hnp-color-ink);
	outline-offset: 2px;
}

.skip-link.skip-link:focus,
.skip-link.skip-link:focus-visible,
a.screen-reader-text.screen-reader-text:focus,
a.screen-reader-text.screen-reader-text:focus-visible {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--hnp-radius-control, 8px);
	/* background-color, not the shorthand: a later background-color longhand
	   from the theme was winning against it. And every token here carries a
	   literal fallback, because the skip link sits outside .hnps — the scope
	   the design tokens are declared on — so a bare var() resolved to nothing
	   and the rule was thrown away at computed-value time. */
	background-color: #0e1a26;
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	outline: 2px solid #b08968;
	outline-offset: 2px;
}

/* Buttons outside the header and footer had only a colour change on focus —
   the same change hover makes, so a keyboard user could not tell the two
   apart, and outside `.hnps-chrome` there was no ring at all. One rule, on
   the class rather than on a scope, so it reaches every button on the site.
   Doubled to clear the theme's own (0,2,1) input/button rules. */
.hnp-btn.hnp-btn:focus-visible,
.hnp-link.hnp-link:focus-visible,
.hnp-textbtn.hnp-textbtn:focus-visible {
	outline: 2px solid var(--hnp-color-accent, #b08968);
	outline-offset: 3px;
}

/* Native Elementor buttons were 6px while every .hnp-btn was 8px — two button
   families on one page. The earlier pass filed this as an owner action against
   the Elementor global kit; that was wrong. The kit was never setting a radius
   at all: `.hnps-el-btn .elementor-button` was reaching for --hnp-radius-sm,
   which is the *small* radius (2px, 6px in the wider scope), where every other
   control on the site uses --hnp-radius-control.

   The kit is now set to 8px as well, so an Elementor button authored outside
   these wrappers matches too (tools/kit-button-radius.php, reversible). */
.hnps-el-btn .elementor-button,
.hnps .hnps-el-btn .elementor-button,
.hnp-footer .hnps-el-btn .elementor-button {
	border-radius: var(--hnp-radius-control, 8px);
}

/* The consent boxes were 22px against the 24px minimum for a target that is
   not inline text. Their labels are clickable too, so the real target was
   already larger — but two pixels is not worth the argument. */
.hnp-field--check { grid-template-columns: 24px 1fr; }
.hnp-check { width: 24px; height: 24px; }


/* ---- FB-12: the member-brand tab is a link; the caret is the toggle ------ */
.hnp-nav__split { display: inline-flex; align-items: center; }
.hnp-nav__link--split { padding-right: 4px; }
.hnp-header .hnp-nav__toggle,
.hnp-header .hnp-nav__toggle:hover,
.hnp-header .hnp-nav__toggle:focus {
	display: inline-grid;
	place-items: center;
	width: 28px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--hnp-radius-sm);
	background: transparent;
	color: inherit;
	box-shadow: none;
	cursor: pointer;
}
.hnp-header .hnp-nav__toggle:focus-visible { outline: 2px solid var(--hnp-color-accent); outline-offset: 2px; }
.hnp-nav__toggle[aria-expanded="true"] .hnp-nav__caret { transform: translateY(2px) rotate(-135deg); }
.hnp-nav__item[data-hnp-mega]::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
@media (hover: hover) and (min-width: 1024px) {
	.hnp-nav__item[data-hnp-mega]:hover > .hnp-mega {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
		transition-delay: 0s;
	}
	.hnp-nav__item[data-hnp-mega]:hover > .hnp-mega--links { transform: translateY(0); }
	.hnp-nav__item[data-hnp-mega]:hover .hnp-nav__caret { transform: translateY(2px) rotate(-135deg); }
}
/* OFB-013: the brand logo fills its tile ("logo ra full viên") — one geometry for the three
   brands, the whole mark visible (object-fit: contain), a small even inset, nothing cropped. */
.hnp-mega__mark--logo { background: #fff; display: grid; place-items: center; padding: 6%; box-sizing: border-box; }
.hnp-mega__mark--logo img,
.hnp-mega__logo { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.hnp-drawer__split { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hnp-drawer__split .hnp-drawer__link--split { flex: 1 1 auto; }
.hnp-drawer button.hnp-drawer__toggle { flex: 0 0 auto; width: 48px; justify-content: center; }
.hnp-drawer__split.is-open + .hnp-drawer__sub { display: block; }

/* FB-12: brand cards read as clickable — lift on hover, a visible ring on keyboard focus. */
.hnps-brandcard { transition: transform var(--hnp-dur) var(--hnp-ease), box-shadow var(--hnp-dur) var(--hnp-ease); }
.hnps-brandcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(14, 26, 38, 0.45); }
.hnps-brandcard__link { display: block; color: inherit; text-decoration: none; border-radius: inherit; }
.hnps-brandcard__link:focus-visible { outline: 3px solid var(--hnp-color-accent); outline-offset: 3px; }
.hnps-brandcard:hover .hnps-brandcard__cta,
.hnps-brandcard__link:focus-visible .hnps-brandcard__cta { text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .hnps-brandcard, .hnps-brandcard:hover { transition: none; transform: none; } }

/* Inside the Elementor editor the reveal observer never sees widgets that re-render, so every
   revealed block stayed at opacity 0 and the Owner edited empty sections. Show them at once there. */
html.elementor-html.hnp-motion [data-reveal],
html.elementor-html.hnp-motion [data-reveal] img,
body.elementor-editor-active [data-reveal],
body.elementor-editor-active [data-reveal] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* FB-12: the member-brand tab is a real link now; keep the header's own colour on hover/focus (no theme link colour). */
.hnp-header .hnp-nav__split a.hnp-nav__link:hover,
.hnp-header .hnp-nav__split a.hnp-nav__link:focus,
.hnp-header .hnp-nav__split a.hnp-nav__link:visited { color: inherit; }
.hnp-nav__split { color: var(--hnp-color-ink); }
body.hnps-hero-page .hnp-header:not(.is-scrolled):not(.is-open) .hnp-nav__split { color: #fff; }

/* Owner brand marks (Logo khác) in the phone menu brand list. */
.hnp-drawer__sub a.hnp-drawer__brand { flex-direction: row; align-items: center; gap: 12px; }
.hnp-drawer__brandlogo { flex: 0 0 auto; width: 56px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #fff; display: grid; place-items: center; padding: 4px; box-sizing: border-box; box-shadow: 0 1px 0 var(--hnp-color-border); }
.hnp-drawer__brandlogo img { width: 100%; height: 100%; object-fit: contain; }
.hnp-drawer__brandcopy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* ==========================================================================
   CFB-004 — footer, recomposed (Owner feedback 2026-09-17 #3).
   One grid for the four footer parts (Elementor widgets or the PHP fallback):
   the wrappers between the grid and the parts' own blocks become
   `display: contents`, so each block (mark, social, nav, contacts, feedback,
   Veritas, legal) is placed directly.
     desktop: [mark + social | 5 link columns] / [contacts | feedback] / [legal | Veritas]
     phone:   mark, contacts, feedback, link accordions, social, Veritas, legal
   ========================================================================== */
.hnp-footer { padding: 64px 0 0; }
.hnp-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "mark" "contact" "feedback" "nav" "social" "veritas" "legal";
	align-items: start;
}
.hnp-footer__grid .elementor,
.hnp-footer__grid .elementor-section-wrap,
.hnp-footer__grid .e-con,
.hnp-footer__grid .e-con-inner,
.hnp-footer__grid .elementor-element,
.hnp-footer__grid .elementor-widget-container,
.hnp-footer__grid .hnp-footer__service,
.hnp-footer__grid .hnp-footer__corp { display: contents; }

.hnp-footer__grid .hnp-footer__mark { grid-area: mark; }
.hnp-footer__grid .hnp-footer__social { grid-area: social; }
.hnp-footer__grid .hnp-footer__nav { grid-area: nav; }
.hnp-footer__grid .hnp-footer__contact { grid-area: contact; }
.hnp-footer__grid .hnp-footer__feedback { grid-area: feedback; }
.hnp-footer__grid .hnp-footer__veritas { grid-area: veritas; }
.hnp-footer__grid .hnp-footer__legal { grid-area: legal; }

/* mark: the logo reads as a logo, the promise as one calm line */
.hnp-footer__grid .hnp-footer__mark { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 28px; }
.hnp-footer__grid .hnp-footer__logo { width: auto; height: 64px; margin: 0; opacity: 1; }
.hnp-footer__grid .hnp-footer__promise { max-width: 36ch; font-size: 0.9375rem; line-height: 1.65; color: rgba(255, 255, 255, 0.72); }

/* contacts: equal cells */
.hnp-footer__grid .hnp-footer__contact { display: block; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hnp-footer__grid .hnp-footer__contact > .hnp-footer__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.hnp-footer__grid .hnp-footer__contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.hnp-footer__grid .hnp-footer__cvalue { font-size: 0.9375rem; line-height: 1.4; padding: 6px 0; overflow-wrap: anywhere; }

/* feedback: a short question and one button */
.hnp-footer__grid .hnp-footer__feedback { padding: 0 0 28px; }
.hnps-chrome .hnp-footer__grid .hnp-footer__lead { margin: 0 0 6px; font-size: 1.125rem; line-height: 1.35; max-width: none; }
.hnp-footer__grid .hnp-footer__leadnote { margin: 0 0 14px; font-size: 0.875rem; max-width: 40ch; }
.hnp-footer__grid .hnp-footer__feedbackcta { min-height: 44px; }

/* nav: accordions on a phone, open columns from 700px */
.hnp-footer__grid .hnp-footer__nav { display: block; padding: 0; border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hnp-footer__grid .hnp-footer__col { border-bottom: 1px dashed rgba(255, 255, 255, 0.16); }
.hnps-chrome .hnp-footer__grid .hnp-footer__col > summary.hnp-footer__title { min-height: 52px; margin: 0; padding: 0 2px; }
.hnp-footer__grid .hnp-footer__col ul { gap: 0; padding: 0 0 12px; }
.hnp-footer .hnp-footer__grid .hnp-footer__col li a { display: flex; align-items: center; min-height: 44px; font-size: 0.9375rem; line-height: 1.35; border-bottom: 0; }

/* social */
.hnp-footer__grid .hnp-footer__social { padding: 24px 0 0; }
.hnps-chrome .hnp-footer__grid .hnp-footer__social > .hnp-footer__title { margin-bottom: 12px; }
.hnp-footer__grid .hnp-footer__channels { gap: 10px; margin-bottom: 10px; }
.hnp-footer .hnp-footer__grid .hnp-footer__socialnote { font-size: 0.8125rem; max-width: 32ch; }

/* Veritas + legal: the quiet last lines */
.hnp-footer__grid .hnp-footer__veritas { padding: 28px 0 0; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hnps-chrome .hnp-footer__grid .hnp-footer__veritas > .hnp-footer__title { margin-bottom: 6px; }
.hnp-footer__grid .hnp-footer__veritas-tagline { margin-bottom: 4px; font-size: 0.8125rem; }
.hnp-footer__grid .hnp-footer__note { margin: 0; font-size: 0.8125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.58); }
.hnp-footer .hnp-footer__grid .hnp-footer__legal { padding: 20px 0 28px; margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hnp-footer__grid .hnp-footer__company { margin-bottom: 4px; font-size: 0.8125rem; }
.hnp-footer__grid .hnp-footer__registration { font-size: 0.75rem; line-height: 1.6; color: rgba(255, 255, 255, 0.52); }
/* GOLIVE-FINAL §63: policy / privacy / member-terms links (published pages only). */
.hnp-footer__policies { margin: 8px 0 0; font-size: 0.8125rem; line-height: 1.4; display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; }
.hnp-footer__policies a { color: inherit; opacity: 0.8; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.hnp-footer__policies a:hover, .hnp-footer__policies a:focus-visible { opacity: 1; }
.hnp-footer__policies span { opacity: 0.5; margin: 0 4px; }

/* phone: room for the bottom booking bar and the Fanpage bubble */
@media (max-width: 767px) {
	.hnp-footer { padding-top: 48px; }
	.hnp-footer .hnp-footer__grid .hnp-footer__legal { padding-bottom: 148px; } /* GLF-010: was 104px — the buttons sit 132px up, above the sticky "Tìm phòng" bar */
}

@media (min-width: 700px) {
	.hnp-footer__grid .hnp-footer__col { border-bottom: 0; }
	.hnps-chrome .hnp-footer__grid .hnp-footer__col > summary.hnp-footer__title { min-height: 0; margin: 0 0 12px; padding: 0; }
	.hnp-footer .hnp-footer__grid .hnp-footer__col li a { min-height: 32px; font-size: 0.875rem; }
	.hnp-footer__grid .hnp-footer__col ul { padding: 0; }
}

@media (min-width: 768px) {
	.hnp-footer__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-template-areas:
			"mark mark mark social social social"
			"nav nav nav nav nav nav"
			"contact contact contact contact feedback feedback"
			"legal legal legal legal veritas veritas";
		column-gap: 32px;
	}
	.hnp-footer__grid .hnp-footer__social { padding: 0 0 28px; justify-self: end; text-align: right; }
	.hnp-footer__grid .hnp-footer__channels { justify-content: flex-end; }
	.hnp-footer .hnp-footer__grid .hnp-footer__socialnote { margin-left: auto; }
	.hnp-footer__grid .hnp-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; padding: 32px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
	.hnp-footer__grid .hnp-footer__contact { padding: 28px 0; border-top: 0; }
	.hnp-footer__grid .hnp-footer__contacts { grid-template-columns: repeat(4, max-content); justify-content: start; gap: 12px 36px; }
	.hnp-footer__grid .hnp-footer__feedback { padding: 28px 0; justify-self: end; text-align: right; }
	.hnp-footer__grid .hnp-footer__leadnote { margin-left: auto; }
	.hnp-footer__grid .hnp-footer__veritas { margin-top: 0; padding: 24px 0 32px; justify-self: end; text-align: right; }
	.hnp-footer__grid .hnp-footer__veritas .hnp-footer__note { margin-left: auto; }
	.hnp-footer .hnp-footer__grid .hnp-footer__legal { margin-top: 0; padding: 24px 0 32px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	.hnp-footer__grid .hnp-footer__contacts { grid-template-columns: repeat(2, max-content); }
}

@media (min-width: 1200px) {
	.hnp-footer { padding-top: 72px; }
	.hnp-footer__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-template-areas:
			"mark mark mark mark nav nav nav nav nav nav nav nav"
			"social social social social nav nav nav nav nav nav nav nav"
			"contact contact contact contact contact contact contact contact feedback feedback feedback feedback"
			"legal legal legal legal legal legal legal veritas veritas veritas veritas veritas";
		column-gap: 40px;
	}
	.hnp-footer__grid .hnp-footer__mark { padding-bottom: 24px; }
	.hnp-footer__grid .hnp-footer__social { justify-self: start; text-align: left; padding: 0 0 40px; }
	.hnp-footer__grid .hnp-footer__channels { justify-content: flex-start; }
	.hnp-footer .hnp-footer__grid .hnp-footer__socialnote { margin-left: 0; }
	.hnp-footer__grid .hnp-footer__nav { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 0 0 40px; border-bottom: 0; }
	.hnp-footer__grid .hnp-footer__contact { border-top: 1px solid rgba(255, 255, 255, 0.12); align-self: stretch; }
	.hnp-footer__grid .hnp-footer__feedback { border-top: 1px solid rgba(255, 255, 255, 0.12); align-self: stretch; justify-self: stretch; }
	.hnp-footer .hnp-footer__grid .hnp-footer__legal,
	.hnp-footer__grid .hnp-footer__veritas { border-top: 1px solid rgba(255, 255, 255, 0.12); align-self: stretch; justify-self: stretch; }
}

/* CFB-004 refinements: email on its own row on a phone; calmer desktop link columns. */
@media (max-width: 767px) {
	.hnp-footer__grid .hnp-footer__contacts > li:last-child { grid-column: 1 / -1; }
}
.hnp-footer .hnp-footer__grid .hnp-footer__col li + li { margin-top: 2px; }
@media (min-width: 700px) {
	.hnp-footer .hnp-footer__grid .hnp-footer__col li a { min-height: 0; padding: 5px 0; }
}
@media (min-width: 1200px) {
	.hnp-footer__grid {
		grid-template-areas:
			"mark mark mark nav nav nav nav nav nav nav nav nav"
			"social social social nav nav nav nav nav nav nav nav nav"
			"contact contact contact contact contact contact contact contact feedback feedback feedback feedback"
			"legal legal legal legal legal legal legal veritas veritas veritas veritas veritas";
	}
	.hnp-footer__grid .hnp-footer__nav { border-top: 0; grid-template-columns: 0.9fr 0.8fr 1.25fr 1.15fr 1fr; column-gap: 28px; }
	.hnps-chrome .hnp-footer__grid .hnp-footer__col > summary.hnp-footer__title { white-space: nowrap; }
}

/* CFB-004: the 12-column desktop composition starts at 1200px; 768–1199px keeps the
   brand/social row, puts the five link columns on one row where they fit (1024+),
   and reads Veritas then the legal line full width. */
@media (min-width: 768px) and (max-width: 1199px) {
	.hnp-footer__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-template-areas:
			"mark mark mark social social social"
			"nav nav nav nav nav nav"
			"contact contact contact contact feedback feedback"
			"veritas veritas veritas veritas veritas veritas"
			"legal legal legal legal legal legal";
		column-gap: 32px;
	}
	.hnp-footer__grid .hnp-footer__mark { padding-bottom: 28px; }
	.hnp-footer__grid .hnp-footer__social { justify-self: end; text-align: right; padding: 0 0 28px; }
	.hnp-footer__grid .hnp-footer__channels { justify-content: flex-end; }
	.hnp-footer .hnp-footer__grid .hnp-footer__socialnote { margin-left: auto; }
	.hnp-footer__grid .hnp-footer__nav { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 32px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
	.hnp-footer__grid .hnp-footer__contact,
	.hnp-footer__grid .hnp-footer__feedback { border-top: 0; }
	.hnp-footer__grid .hnp-footer__veritas { justify-self: stretch; text-align: left; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 24px 0 0; }
	.hnp-footer__grid .hnp-footer__veritas .hnp-footer__note { margin-left: 0; max-width: none; }
	.hnp-footer .hnp-footer__grid .hnp-footer__legal { border-top: 0; margin-top: 0; padding: 16px 0 32px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.hnp-footer__grid .hnp-footer__nav { grid-template-columns: 0.9fr 0.8fr 1.25fr 1.2fr 1.05fr; column-gap: 24px; }
	.hnp-footer__grid .hnp-footer__contacts { grid-template-columns: repeat(4, max-content); }
}

/* ==========================================================================
   CFB-020 — kept legacy guide pages (per-Base check-in, PCCC, Sổ tay; tiện ích)
   read in the HanoPalais type system (see HNPS_Legacy_Pages).
   ========================================================================== */
body.hnps-legacy-guide { cursor: auto !important; font-family: var(--hnp-font-body) !important; }
body.hnps-legacy-guide a, body.hnps-legacy-guide button { cursor: pointer !important; }
body.hnps-legacy-guide .hp-trail, body.hnps-legacy-guide #hp-cursor-wrap { display: none !important; }
body.hnps-legacy-guide .elementor > .e-con {
	--container-default-padding-top: 0px; --container-default-padding-right: 0px; --container-default-padding-bottom: 0px; --container-default-padding-left: 0px;
	padding: 0 !important;
}
body.hnps-legacy-guide .elementor-widget-html,
body.hnps-legacy-guide .elementor-widget-html p,
body.hnps-legacy-guide .elementor-widget-html li,
body.hnps-legacy-guide .elementor-widget-html span:not([class*="fa"]),
body.hnps-legacy-guide .elementor-widget-html a,
body.hnps-legacy-guide .elementor-widget-html div { font-family: var(--hnp-font-body) !important; }
body.hnps-legacy-guide .elementor-widget-html h1,
body.hnps-legacy-guide .elementor-widget-html h2,
body.hnps-legacy-guide .elementor-widget-html h3,
body.hnps-legacy-guide .elementor-widget-html h4,
body.hnps-legacy-guide .elementor-widget-html h1 *:not(i):not([class*="fa-"]):not(svg),
body.hnps-legacy-guide .elementor-widget-html h2 *:not(i):not([class*="fa-"]):not(svg),
body.hnps-legacy-guide .elementor-widget-html h3 *:not(i):not([class*="fa-"]):not(svg) {
	font-family: var(--hnp-font-display) !important;
	font-style: normal !important;
	text-transform: none !important;
	letter-spacing: -0.01em !important;
	background-image: none !important;
	-webkit-text-fill-color: currentColor !important;
}
body.hnps-legacy-guide .elementor-widget-html h1 { color: #fff !important; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem) !important; line-height: 1.1 !important; text-wrap: balance; }
body.hnps-legacy-guide .elementor-widget-html h1 span { color: inherit !important; }
body.hnps-legacy-guide .elementor-widget-html h2 { color: var(--hnp-color-ink) !important; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem) !important; line-height: 1.2 !important; }
body.hnps-legacy-guide .elementor-widget-html h3 { color: var(--hnp-color-ink) !important; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.5rem) !important; line-height: 1.3 !important; }

/* CFB-030 — back to top: the Owner's pill, bottom-left, clear of the Fanpage button (right) and the phone booking bar. */
.hnp-totop {
	position: fixed;
	left: var(--hnp-space-4, 16px);
	bottom: calc(84px + env(safe-area-inset-bottom));
	z-index: 470;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px 10px 14px;
	border: 1px solid rgba(14, 26, 38, 0.12);
	border-radius: 999px;
	background: #fff;
	color: var(--hnp-color-ink, #0e1a26);
	font-family: var(--hnp-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1;
	box-shadow: 0 10px 28px -12px rgba(14, 26, 38, 0.45);
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.hnp-totop.is-visible { opacity: 1; transform: none; }
.hnp-totop[hidden] { display: none !important; }
.hnp-totop:hover { background: var(--hnp-color-sand, #f1e9df); color: var(--hnp-color-ink, #0e1a26); }
.hnp-totop:focus-visible { outline: 2px solid var(--hnp-color-accent, #b08968); outline-offset: 3px; }
.hnp-totop svg { flex: 0 0 auto; }
@media (min-width: 1024px) {
	.hnp-totop { left: var(--hnp-space-5, 24px); bottom: var(--hnp-space-5, 24px); }
}
/* KVA-062: on a phone the 158px pill sat over content on every screen, the footer's
   legal lines included. It becomes a 44px arrow; the words stay for screen readers.
   Tablets too (KVA-065): at 768 the pill sat on the room cards' price tags. */
/* FRD F-008: on desktop too — the 158px pill covered the left reading edge (section eyebrows, "Xem tất cả 17 ảnh"). Same place
   (bottom-left, CFB-030), 44px arrow at every width; name kept for screen readers + a tooltip for the mouse. */
.hnp-totop { width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center; }
.hnp-totop span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .hnp-totop { transition: none; } }
/* FBW0311 T2: bottom-right, stacked above the Fanpage button (hanopalais-ui.js measures the button and sets the exact bottom);
   these are the no-script / first-paint positions. Steps aside (fades, not clickable) while a button or link lies beneath it. */
.hnp-totop { left: auto; right: var(--hnp-space-4, 16px); bottom: calc(144px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
	.hnp-totop { left: auto; right: var(--hnp-space-5, 24px); bottom: calc(var(--hnp-space-5, 24px) + 60px); }
}
.hnp-totop.is-yielded { opacity: 0 !important; pointer-events: none; }

/* ===================================================== NFB2-011 (2026-09-18)
   The ONE article layout. A reading measure of ~70 characters, 17–18px body,
   generous leading; headings that step, not shout; pictures that may run wider
   than the text; quotes, lists, tables and captions all styled, because the
   Owner will use every one of them from the ordinary WordPress editor. */
.hnps-article { --ha-measure: 720px; --ha-wide: 1040px; background: var(--hnp-color-bg, #fbfaf7); color: var(--hnp-color-text, #1b232c); padding-bottom: clamp(32px, 5vw, 56px); }
.hnps-article__shell { width: 100%; max-width: calc(var(--ha-measure) + 2 * var(--hnp-gutter, 20px)); margin-inline: auto; padding-inline: var(--hnp-gutter, 20px); box-sizing: border-box; }
.hnps-article__head { padding-block: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.hnps-article__crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; font-size: 0.8125rem; color: var(--hnp-color-muted, #4f5b66); }
.hnps-article__crumbs a { color: inherit; text-decoration: none; }
.hnps-article__crumbs a:hover, .hnps-article__crumbs a:focus-visible { color: var(--hnp-color-ink, #0e1a26); text-decoration: underline; }
.hnps-article__kicker { margin: 0 0 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hnps-article__kicker a { color: var(--hnp-color-accent-text, #7d5636); text-decoration: none; }
.hnps-chrome .hnps-article__title { margin: 0; font-family: var(--hnp-font-display); font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3rem); line-height: 1.14; letter-spacing: -0.015em; font-weight: 700; color: var(--hnp-color-ink, #0e1a26); text-wrap: balance; }
.hnps-article__deck { margin: 14px 0 0; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--hnp-color-ink-2, #24313d); }
.hnps-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 0.875rem; color: var(--hnp-color-muted, #4f5b66); }

.hnps-article__lead { margin: 0 auto clamp(24px, 4vw, 40px); width: 100%; max-width: calc(var(--ha-wide) + 2 * var(--hnp-gutter, 20px)); padding-inline: var(--hnp-gutter, 20px); box-sizing: border-box; }
.hnps-article__lead img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(720px, 82vh); margin-inline: auto; border-radius: var(--hnp-radius-panel, 16px); background: var(--hnp-color-sand, #efe9df); }
.hnps-article__lead figcaption, .hnps-article__body figcaption { margin-top: 8px; font-size: 0.8125rem; line-height: 1.5; color: var(--hnp-color-muted, #4f5b66); text-align: center; }

.hnps-article__body { width: 100%; max-width: calc(var(--ha-measure) + 2 * var(--hnp-gutter, 20px)); margin-inline: auto; padding-inline: var(--hnp-gutter, 20px); box-sizing: border-box; font-size: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem); line-height: 1.8; overflow-wrap: break-word; }
.hnps-article__body > * { margin: 0; }
.hnps-article__body > * + * { margin-top: 1.15em; }
.hnps-chrome .hnps-article__body h2, .hnps-chrome .hnps-article__body h3, .hnps-chrome .hnps-article__body h4 { font-family: var(--hnp-font-display); color: var(--hnp-color-ink, #0e1a26); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.hnps-chrome .hnps-article__body h2 { margin-top: 2em; font-size: clamp(1.4375rem, 1.2rem + 1vw, 1.875rem); line-height: 1.25; }
.hnps-chrome .hnps-article__body h3 { margin-top: 1.7em; font-size: clamp(1.1875rem, 1.1rem + 0.5vw, 1.375rem); line-height: 1.3; }
.hnps-chrome .hnps-article__body h4 { margin-top: 1.5em; font-size: 1.0625rem; line-height: 1.4; }
.hnps-article__body h2 + *, .hnps-article__body h3 + *, .hnps-article__body h4 + * { margin-top: 0.6em; }
.hnps-article__body a { color: var(--hnp-color-accent-text, #7d5636); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hnps-article__body a:hover { color: var(--hnp-color-ink, #0e1a26); }
.hnps-article__body a:focus-visible { outline: 2px solid var(--hnp-color-accent, #b08968); outline-offset: 2px; border-radius: 2px; }
.hnps-article__body strong { color: var(--hnp-color-ink, #0e1a26); }
.hnps-article__body ul, .hnps-article__body ol { padding-left: 1.3em; }
.hnps-article__body li + li { margin-top: 0.45em; }
.hnps-article__body li::marker { color: var(--hnp-color-accent-text, #7d5636); }
.hnps-article__body blockquote { margin-inline: 0; padding: 18px 22px; border-left: 3px solid var(--hnp-color-accent, #b08968); border-radius: 0 var(--hnp-radius-card, 12px) var(--hnp-radius-card, 12px) 0; background: #fff; box-shadow: 0 1px 0 var(--hnp-color-border, rgba(14, 26, 38, 0.12)); font-size: 0.97em; }
.hnps-article__body blockquote > * { margin: 0; }
.hnps-article__body blockquote > * + * { margin-top: 0.7em; }
.hnps-article__body blockquote cite { display: block; font-size: 0.875rem; font-style: normal; color: var(--hnp-color-muted, #4f5b66); }
.hnps-article__body figure { margin-inline: 0; }
.hnps-article__body img { display: block; max-width: 100%; height: auto; border-radius: var(--hnp-radius-card, 12px); background: var(--hnp-color-sand, #efe9df); }
.hnps-article__body figure.wp-block-image, .hnps-article__body > p > img:only-child { margin-top: 1.6em; margin-bottom: 0.4em; }
.hnps-article__body .wp-block-embed iframe, .hnps-article__body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--hnp-radius-card, 12px); }
.hnps-article__body table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.hnps-article__body .wp-block-table { overflow-x: auto; }
.hnps-article__body th, .hnps-article__body td { padding: 10px 12px; border-bottom: 1px solid var(--hnp-color-border, rgba(14, 26, 38, 0.12)); text-align: left; vertical-align: top; }
.hnps-article__body th { font-family: var(--hnp-font-display); color: var(--hnp-color-ink, #0e1a26); background: var(--hnp-color-sand, #efe9df); }
.hnps-article__body hr { border: 0; border-top: 1px solid var(--hnp-color-border, rgba(14, 26, 38, 0.12)); margin-block: 2em; }
.hnps-article__body .hnps-hashtags { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--hnp-color-border, rgba(14, 26, 38, 0.12)); font-size: 0.875rem; line-height: 1.9; color: var(--hnp-color-accent-text, #7d5636); word-spacing: 0.3em; }
/* A picture is never cropped (many are the Owner's artwork with words on it) and never taller than the screen. */
.hnps-article__body figure.wp-block-image img { width: auto; max-width: 100%; max-height: min(780px, 86vh); margin-inline: auto; }
.hnps-article__body--builder { max-width: none; padding-inline: 0; font-size: inherit; line-height: inherit; }

.hnps-article__foot { margin-top: clamp(28px, 4vw, 44px); }
.hnps-article__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.hnps-article__tags a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--hnp-color-sand, #efe9df); font-size: 0.875rem; color: var(--hnp-color-ink-2, #24313d); text-decoration: none; }
.hnps-article__tags a:hover, .hnps-article__tags a:focus-visible { background: var(--hnp-color-ink, #0e1a26); color: #fff; }
.hnps-article__back { margin: 0; padding-top: 18px; border-top: 1px solid var(--hnp-color-border, rgba(14, 26, 38, 0.12)); }
.hnps-chrome .hnps-article__relatedtitle { margin: 0 0 var(--hnp-space-5, 24px); font-family: var(--hnp-font-display); font-size: var(--hnp-heading-2); line-height: 1.2; color: var(--hnp-color-ink, #0e1a26); }

/* ---- listing: /tin-tuc/ — the newest article leads, the rest are compact cards */
.hnp-post { display: flex; }
.hnp-post__link { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.hnp-post__link:focus-visible { outline: 2px solid var(--hnp-color-accent, #b08968); outline-offset: 2px; border-radius: var(--hnp-radius-card, 12px); }
.hnp-post .hnp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--hnp-ease, ease); }
.hnp-post:hover .hnp-card__media img { transform: scale(1.03); }
.hnp-post__body .hnp-post__more { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.hnp-post__meta time { letter-spacing: 0.04em; }
@media (min-width: 640px) { .hnp-journal--related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hnp-journal--related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .hnp-post .hnp-card__media img { transition: none; } }

/* ULT-125: on a phone the admin bar (46px, scrolls away) sits above the fixed header at load; hanopalais-ui.js then
   follows it as it scrolls off (top = the bar's bottom, down to 0). */
@media (max-width: 600px) {
	body.admin-bar .hnp-header { top: var(--wp-admin--admin-bar--height, 46px); }
}

/* GLF-010: on tablet/desktop the support button (bottom right) and "Trở lại đầu trang" (bottom left) sat on the
   legal and Veritas lines at the end of every page. The phone already reserves this room on the legal block
   (CFB-004); from 768px the footer itself ends with room for the 50px buttons and their 24px offset. */
@media (min-width: 768px) and (max-width: 1023px) {
	.hnp-footer { padding-bottom: 148px; } /* buttons sit 132px up at these widths */
}
@media (min-width: 1024px) {
	.hnp-footer { padding-bottom: 88px; }
}

/* GLF-040: journal category navigation. */
.hnp-journal-cats { display: flex; flex-wrap: wrap; gap: var(--hnp-space-2); margin: 0 0 var(--hnp-space-6); }
.hnp-journal-cats .hnp-chip { min-height: 40px; gap: 6px; }
.hnp-journal-cats .hnp-chip.is-current { border-color: var(--hnp-color-ink); background: var(--hnp-color-ink); color: var(--hnp-color-inverse); }
.hnp-journal-cats__n { font-weight: 600; opacity: 0.7; }

/* GLF-060: phone tap targets — journal category chips and the Base page section tabs reach 44px. */
@media (max-width: 767px) {
	.hnp-journal-cats .hnp-chip { min-height: 44px; }
	.hnps-proptabs__link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* FRD F-032: signed-in staff on the front end — plugin items made the admin bar wrap to a second row, and "Xin chào"
   landed on the header's booking button. Below 1600px those items are left to wp-admin (where they all still are). */
@media (min-width: 783px) and (max-width: 1599px) {
	#wpadminbar #wp-admin-bar-wp-statistic-menu,
	#wpadminbar #wp-admin-bar-wpseo-menu,
	#wpadminbar #wp-admin-bar-wple-ssl-health,
	#wpadminbar #wp-admin-bar-wp-mail-smtp-menu,
	#wpadminbar #wp-admin-bar-wpforms-menu,
	#wpadminbar #wp-admin-bar-litespeed-menu { display: none; }
}

/* FRD F-046 (second audit): on touch widths every standalone action reaches a 44 × 44 px target — text actions, breadcrumbs,
   the category kicker, carousel arrows, chips, small buttons, the stay-mode pills, Elementor buttons and the FAQ accordion rows.
   Height comes from min-height + centring, so the visual weight stays the same. Links inside running text are unchanged. */
@media (max-width: 1023px) {
	.hnp-link,
	.hnps-crumbs a,
	.hnps-article__crumbs a,
	.hnps-guidehero__crumbs a,
	.hnps-article__kicker a,
	.hnps-propid__brand a,
	.hnps-review__source a,
	.hnp-strip-note__link,
	.hnps-result__link,
	.hnps-guidenav__link,
	.hnp-chip,
	.hnp-btn--sm,
	body .elementor-button {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	.hnps-roomcar__nav {
		width: 44px;
		height: 44px;
	}
	.hnp-search__mode,
	.hnp-search__mode input {
		min-height: 44px;
	}
	body .e-n-accordion-item > summary {
		min-height: 44px;
		display: flex;
		align-items: center;
	}
}
@media (max-width: 1023px) {
	/* F-046: the same targets where component styles are more specific; short labels ("Zalo", "Tin tức") also get 44 px width. */
	html body .hnps-roomcar .hnps-roomcar__nav { width: 44px; height: 44px; min-width: 44px; }
	html body .hnps-guidenav .hnps-guidenav__link,
	html body .hnps-guidenav__link,
	html body .hnps-faqpage__nav .hnp-chip,
	html body a.hnp-btn.hnp-btn--sm,
	html body .elementor-widget-button .elementor-button { min-height: 44px; display: inline-flex; align-items: center; }
	html body .hnp-strip-note__link,
	html body .hnps-article__crumbs a,
	html body .hnps-crumbs a,
	html body .hnps-guidehero__crumbs a { min-width: 44px; justify-content: center; }
}
@media (max-width: 1023px) {
	/* F-046: these two have fixed values set by component rules; override on touch widths only. */
	.hnps-roomcar__nav { height: 44px !important; }
	.elementor-widget-button .elementor-button { min-height: 44px !important; }
}
@media (max-width: 1023px) {
	/* F-046: Member Control Center (staff) on touch widths — buttons, segment tabs, toggles, alert / panel links, crumbs. */
	html body .hnp-ac__btn,
	html body .hnp-ac__toggle,
	html body .hnp-ac__alertlink,
	html body .hnp-ac__more,
	html body .hnp-ac__crumb a,
	html body .hnp-ac__seg a,
	html body .hnp-ac__tabs a,
	html body .hnp-ac__nav a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 1023px) {
	/* F-046: customer account tabs and the remaining staff-console links, filters and row actions on touch widths. */
	html body .hnps-acctnav__item > a,
	html body .hnp-ac td a,
	html body .hnp-ac th a,
	html body .hnp-ac li > a,
	html body .hnp-ac__reset,
	html body .hnp-ac__link { min-height: 44px; display: inline-flex; align-items: center; }
	html body .hnp-ac select { min-height: 44px; }
}
@media (max-width: 1023px) {
	html body .hnp-ac th a,
	html body .hnp-ac__reset { min-width: 44px; justify-content: center; }
}
@media (max-width: 1023px) {
	/* F-052 (final browser regression, 0.20.4): the Control Center pager numbers had a fixed 36 × 36 px box. */
	html body .hnp-ac__page { min-width: 44px; height: 44px; }
}

/* OFB27 §65 (tablet review 768–1023 px): the /dat-phong/ filter chips (38 px) and the Base page section tabs (43 px) were the
   last standalone actions under 44 px on touch tablets; phones already had them (GLF-060 / the filter sheet). Height only. */
@media (max-width: 1023px) {
	.hnp-pick,
	.hnp-pick__label { min-height: 44px; }
	.hnp-pick__label { display: inline-flex; align-items: center; }
	.hnps-proptabs__link { min-height: 44px; display: inline-flex; align-items: center; }
	/* A member link in the Control Center audit log can be as short as "#5824" (a removed member keeps its id): 44 px wide too. */
	.hnp-ac__table--audit td a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
}
/* GOLIVE-FINAL §60–§62: Booking Policy / Privacy Policy — the site's page header and a readable column. */
.hnps-legal { max-width: 760px; margin: 0 auto; padding: clamp(8px, 2vw, 24px) 0 clamp(32px, 5vw, 64px); }
.hnps-legal__head { margin: 0 0 clamp(20px, 3vw, 32px); }
.hnps-legal__body { font-size: 1rem; line-height: 1.7; color: var(--hnp-color-ink, #0e1a26); }
.hnps-legal__body h2 { margin: 2em 0 .5em; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.3; }
.hnps-legal__body h3 { margin: 1.5em 0 .4em; font-size: 1.1rem; }
.hnps-legal__body p, .hnps-legal__body li { max-width: 72ch; }
.hnps-legal__body ul { padding-left: 1.2em; display: grid; gap: .35em; }
.hnps-legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.hnps-legal__body > p:first-child em { color: var(--hnp-color-ink-2, #4f5b66); }

/* OFV2 audit #6: on phones the floating "back to top" pill covered price links and text on the room lists
   (/base-N/ room cards, /dat-phong/ results). Hidden there below 768px; the sticky header + native scroll remain. */
/* FBW0311 T2 (Owner 03/11 "thêm phần scroll to top"): no longer hidden on the room lists — the arrow now sits bottom-RIGHT
   above the Fanpage button and steps aside while a button or link is under it (hanopalais-ui.js), so it covers no price link. */

/* ===================================================== PRE-DEPLOY (2026-10-02) — prose link states
   Owner DOCX 02/10: "Lỗi khi chưa trỏ chuột vào chưa hiện vàng". Astra paints every <a> with --ast-global-color-5
   (#ffffff on this site) and only shows --ast-global-color-1 (#ffd014) on hover, so a link inside text (policy terms,
   drawer, FAQ, articles) was white on white until hovered — invisible on phones, which have no hover.
   One rule for links that sit in running text and carry no component class: visible accent + underline by default,
   stronger on hover, clear focus ring, visited coherent; a light variant on dark sections. Component links (buttons,
   cards, nav) keep their own classes and are not affected. */
:where(p, li, dd, td, th, figcaption, blockquote, address, small) a:not([class]),
:where(.hnps-legal__body, .hnps-policydrawer__body, .hnp-prose, .entry-content) a:not([class]) {
	color: var(--hnp-color-accent-text, #7d5636);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: currentColor;
	transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}
:where(p, li, dd, td, th, figcaption, blockquote, address, small) a:not([class]):visited,
:where(.hnps-legal__body, .hnps-policydrawer__body, .hnp-prose, .entry-content) a:not([class]):visited {
	color: var(--hnp-color-accent-text, #7d5636);
}
:where(p, li, dd, td, th, figcaption, blockquote, address, small) a:not([class]):hover,
:where(.hnps-legal__body, .hnps-policydrawer__body, .hnp-prose, .entry-content) a:not([class]):hover {
	color: var(--hnp-color-ink, #0e1a26);
	text-decoration-thickness: 2px;
}
:where(p, li, dd, td, th, figcaption, blockquote, address, small) a:not([class]):focus-visible,
:where(.hnps-legal__body, .hnps-policydrawer__body, .hnp-prose, .entry-content) a:not([class]):focus-visible {
	color: var(--hnp-color-ink, #0e1a26);
	outline: 2px solid var(--hnp-color-accent, #b08968);
	outline-offset: 2px;
	border-radius: 2px;
	text-decoration-thickness: 2px;
}
:where(p, li, dd, td, th, figcaption, blockquote, address, small) a:not([class]):active { color: var(--hnp-color-ink, #0e1a26); }
/* Dark surfaces (footer, dark bands): light gold by default, white on hover. */


@media (prefers-reduced-motion: reduce) {
	:where(p, li, dd, td, th, figcaption, blockquote, address, small) a:not([class]) { transition: none; }
}

/* PRE-DEPLOY (2026-10-02) visual QA: at 1024–1099px the six labels needed 657px of a 650px nav and every label broke
   onto two lines ("Đặt / phòng"). Slightly tighter padding there, and labels never wrap. */
@media (min-width: 1024px) and (max-width: 1099px) {
	.hnp-header .hnp-nav__link,
	.hnp-header button.hnp-nav__link { padding-left: 7px; padding-right: 7px; }
	.hnp-header .hnp-nav__link::after { left: 7px; right: 7px; }
	.hnp-header__bar { gap: 8px; }
}
@media (min-width: 1024px) {
	.hnp-header .hnp-nav__link { white-space: nowrap; }
}

/* ===================================================== LOF (Owner DOCX 02/10/2026 p6–7) — no sticky yellow buttons
   Root cause: Astra paints EVERY <button> yellow on :hover and :focus
   (`button:focus, button:hover { background-color: var(--ast-global-color-1) }`, specificity 0,1,1), which beats our
   single-class resting styles (0,1,0). On iOS Safari a tapped button keeps :hover, and a closing popup hands focus back
   to its trigger — so "Xem đầy đủ bảng giá" (and 6 similar triggers) stayed a full yellow block after the popup closed.
   Fix: these triggers keep their OWN resting background in every pointer state. Keyboard users keep the visible
   :focus-visible outline each component already defines (nothing here touches outline). */
button.hnps-pkgs__more:is(:hover, :focus, :active),
button.hnp-link:is(:hover, :focus, :active),
button.hnps-amenities__toggle:is(:hover, :focus, :active),
button.hnps-nearby__more:is(:hover, :focus, :active),
button.hnps-propgallery__toggle:is(:hover, :focus, :active),
button.hnps-propgallery__open:is(:hover, :focus, :active) {
	background-color: transparent;
	background-image: none;
	box-shadow: none;
}
/* Search toolbar "Lọc" (booking plugin markup): white resting chip; hover = ink border, never Astra yellow. */
button.hnp-toolbar__btn:is(:hover, :focus, :active) { background-color: #fff; color: var(--hnp-navy, #0e1a26); }
@media (hover: hover) {
	button.hnps-pkgs__more:hover,
	button.hnp-link:hover { text-decoration-thickness: 2px; }
	button.hnp-toolbar__btn:hover { border-color: var(--hnp-navy, #0e1a26); }
}
/* Touch: no grey tap flash rectangle on these text-like triggers either. */
button.hnps-pkgs__more, button.hnp-link, button.hnps-propgallery__open { -webkit-tap-highlight-color: transparent; }
/* LOF audit D2: the member buttons (ghost / primary, the new "Đồng bộ dữ liệu KiotViet", timeline filter chips) had the
   same Astra yellow on :hover / :focus. Each keeps its own resting colour; its own hover cue (ink border) stays. */
button.hnp-member__btn--ghost:is(:hover, :focus, :active) { background-color: #fff; color: var(--hnp-m-ink, #0e1a26); }
button.hnp-member__btn--primary:is(:hover, :focus, :active) { background-color: #0d1620; color: #fff; }
button.hnp-member__filter:not(.is-current):is(:hover, :focus, :active) { background-color: #fff; color: var(--hnp-m-muted, #5b6672); }
button.hnp-member__filter.is-current:is(:hover, :focus, :active) { background-color: var(--hnp-m-ink, #0e1a26); color: #fff; }
@media (hover: hover) {
	button.hnp-member__filter:not(.is-current):hover { border-color: var(--hnp-m-ink, #0e1a26); color: var(--hnp-m-ink, #0e1a26); }
}
button.hnp-member__btn:focus-visible,
button.hnp-member__filter:focus-visible { outline: 3px solid var(--hnp-m-ink, #0e1a26); outline-offset: 2px; }
button.hnp-member__btn, button.hnp-member__filter { -webkit-tap-highlight-color: transparent; }

/* ===================================================== FPD (Owner DOCX 03/10 #2) — one footer colour system
   "Phần đuôi trang sao lại chỗ chữ trắng chỗ chữ vàng": the dark-section prose-link rule (gold, incl. :visited) has the same
   specificity as `.hnp-footer .hnp-footer__col a` and comes later — so every footer link the visitor had already opened
   turned gold while the others stayed white. The footer now owns its colours, and :visited never changes them:
     section headings  → gold (brand accent, the only gold in the footer besides the Veritas tagline)
     links             → white 82 %   · visited = the same
     hover             → white + underline (no colour jump to gold)
     keyboard focus    → gold outline (visible on navy)
     legal / policy    → white 60 %, hover white
     body text         → white 60–72 % (unchanged). */
.hnp-footer .hnp-footer__col a:is(:link, :visited),
.hnp-footer .hnp-footer__nav a:is(:link, :visited) {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}
.hnp-footer .hnp-footer__col a:is(:hover, :active),
.hnp-footer .hnp-footer__nav a:is(:hover, :active) {
	color: #ffffff;
	border-bottom-color: rgba(255, 255, 255, 0.55);
}
.hnp-footer :is(.hnp-footer__legal, .hnp-footer__policies) a:is(:link, :visited) { color: rgba(255, 255, 255, 0.6); }
.hnp-footer :is(.hnp-footer__legal, .hnp-footer__policies) a:is(:hover, :active) { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.hnp-footer .hnp-footer__channel:is(:link, :visited) { color: #ffffff; }
.hnp-footer a:focus-visible {
	color: #ffffff;
	outline: 2px solid var(--hnp-color-gold, #d1b286);
	outline-offset: 3px;
	border-radius: 2px;
}
.hnps-chrome .hnp-footer .hnp-footer__title,
.hnp-footer .hnp-footer__title { color: var(--hnp-color-gold, #d1b286); }

/* MKT4-018 (PRE-MKT3-01): at 1280–1365px the full nav + a 14ch account name overflowed by 32px. The name stays visible
   but is capped shorter (ellipsis); the full name remains in the button's aria-label. Below 1280 the compact rule hides it. */
@media (min-width: 1280px) and (max-width: 1365px) {
	.hnp-header__account span:not(.hnp-nav__caret) { max-width: 9ch; }
}

/* ===== MKT5 — header notification bell (signed-in only; the count is fetched by no-store REST) ===== */
.hnp-header__bell { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; color: inherit; text-decoration: none; }
.hnp-header__bell:hover { background: rgba(14, 26, 38, 0.06); }
.hnp-header__bell:focus-visible { outline: 3px solid #b08968; outline-offset: 2px; }
.hnp-header__badge { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #a3281f; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-sizing: border-box; }
.hnp-header__badge[hidden] { display: none; }
/* The bell takes ~44 px: keep the signed-in header inside the viewport in the tight desktop band (MKT4-018 budget). */
@media (min-width: 1280px) and (max-width: 1365px) {
	.hnp-header__actions:has(.hnp-header__bell) .hnp-header__account span { max-width: 4ch; }
}
@media (min-width: 1366px) and (max-width: 1499px) {
	.hnp-header__actions:has(.hnp-header__bell) .hnp-header__account span { max-width: 9ch; }
}
/* T-0791 (J-10): without the theme's uppercase + tracking the name is narrower, and the clone measured free room beside the nav: a longer cap
   where it fits (1440+); the 1280–1439 caps above are unchanged. */
@media (min-width: 1440px) and (max-width: 1499px) {
	.hnp-header__actions:has(.hnp-header__bell) .hnp-header__account span { max-width: 15ch; }
}
@media (min-width: 1500px) {
	.hnp-header__account span:not(.hnp-nav__caret) { max-width: 18ch; }
}
/* MKT5 browser QA: on phones the bell made the signed-in header 8 px wider than 375 px (bell 44 + CTA 148 + burger 44 + 3 gaps).
   Tighter gaps and a 40 px bell (still above the 24 px minimum target) keep it inside the viewport. */
@media (max-width: 480px) {
	.hnp-header__actions:has(.hnp-header__bell) { column-gap: 6px; gap: 6px; }
	.hnp-header__actions .hnp-header__bell { width: 40px; height: 40px; }
	.hnp-header__actions .hnp-header__badge { top: 3px; right: 1px; }
}
/* Phones ≤ 400 px with the bell: a compact booking button. Below 360 px the bell gives way (the inbox stays one tap away in
   the menu: "Thông báo"), so the booking button and the menu never leave the viewport. */
@media (max-width: 400px) {
	body .hnp-header .hnp-header__actions:has(.hnp-header__bell) .hnp-header__cta { padding-left: 14px; padding-right: 14px; letter-spacing: 0; }
}
@media (max-width: 359px) {
	body .hnp-header .hnp-header__actions .hnp-header__bell { display: none; }
}

/* AMD-T28 web fixes — BEGIN (F-06, F-09) */
/* F-06: policy links inside the registration consent label are 23 px high (zero-specificity gap filler: the 44 px touch size still wins). */
:where(.hnps-consent .hnp-link) { min-height: 24px; }
/* F-09: below 1280 px the Fanpage circle stays out of the way while the footer is on screen (it sat on the footer text at 390 px);
   the footer carries its own "Nhắn tin Fanpage" link. Toggled by the footer observer in hanopalais-ui.js (same pattern as .is-yielded). */
.hnp-support.is-yielded-footer {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(0.96);
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {

	.hnp-support.is-yielded-footer { transform: none; }
}
/* AMD-T28 web fixes — END */

/* QA-MASTER R5 (T-0496) — BEGIN: below 1280px the Fanpage circle steps aside while a button or link is beneath it
   (hanopalais-ui.js toggles .is-yielded-cta; same look as the other yields). Desktop pill unchanged. */
.hnp-support.is-yielded-cta {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(0.96);
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {

	.hnp-support.is-yielded-cta { transform: none; }
}
/* QA-MASTER R5 — END */

/* FBW0311 T4 — "Hội viên thân thiết" submenu: the label links to the programme page, the caret opens four links (hover, click,
   keyboard). Focus on the caret alone does not hold it open, so Esc really closes it; hover / Enter / click do. */
.hnp-nav__item:not(.is-open):not(:hover):focus-within > .hnp-mega--member { opacity: 0; visibility: hidden; pointer-events: none; }
/* Anchored under its own tab (the item is the containing block), so the 12px hover bridge leads straight into it at every header width. */
.hnp-nav__item[data-hnp-mega]:has(> .hnp-mega--member) { position: relative !important; }
.hnp-mega--member { width: min(280px, calc(100vw - 2 * var(--hnp-gutter))); left: 0; right: auto; top: calc(100% + 8px); }
/* Below 1400px every mega panel is centred on the viewport (position: fixed, the wide brand panel); the short member list stays
   anchored under its tab instead, so the mouse never leaves the hover area on its way down (1280–1399 headers). */
.hnp-nav__item > .hnp-mega.hnp-mega--member { position: absolute; left: 0; right: auto; top: calc(100% + 8px); }
.hnp-mega.hnp-mega--member { transform: translateY(6px); }
/* T-0911 C08 F5: the drawer's accordion chevron points up while its list is open (as the desktop caret does). */
.hnp-drawer__link[aria-expanded="true"] .hnp-nav__caret { transform: translateY(2px) rotate(-135deg); }
/* RECHECK0711 T-0960 (C06 T-0958 O-1): from 1024px the "Hội viên thân thiết" panel grows to its longest link, so "Tài khoản/Hội viên của tôi"
   stays on one line (the 280px panel wrapped it at 1440). 280px stays the minimum, so the signed-out list keeps its width; capped at the viewport. */
@media (min-width: 1024px) {
	.hnp-mega.hnp-mega--member { width: max-content; min-width: min(280px, calc(100vw - 2 * var(--hnp-gutter))); max-width: calc(100vw - 2 * var(--hnp-gutter)); }
	.hnp-mega--member .hnp-mega__link { white-space: nowrap; }
}
