/* ==========================================================================
   Ngukhoe.com – Medpro-inspired light medical theme
   ========================================================================== */
:root {
  color-scheme: light;
  /* brand */
  --brand: #00b5f1;          /* Medpro cyan – decorative, icons, gradients */
  --brand-600: #0079c2;      /* text links, buttons (4.9:1 on white) */
  --brand-700: #005c94;
  --brand-50: #eaf6fe;
  --brand-100: #d5eefc;
  --accent: #ffb54a;         /* Medpro orange */
  --accent-600: #f39a1c;
  --on-accent: #3b2400;
  --success: #22b14c;
  /* neutrals */
  --navy: #11325b;
  --text: #22354b;
  --muted: #56677c;
  --border: #dde8f2;
  --bg: #ffffff;
  --bg-tint: #eef7fe;
  --card: #ffffff;
  /* type */
  --font-head: "Montserrat", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(17, 50, 91, .06);
  --shadow: 0 8px 28px rgba(17, 50, 91, .09);
  --shadow-lg: 0 18px 48px rgba(17, 50, 91, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s, box-shadow .2s, transform .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgba(0, 121, 194, .25); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 16px rgba(255, 181, 74, .35); }
.btn--accent:hover { background: var(--accent-600); color: var(--on-accent); }
.btn--ghost { background: #fff; color: var(--brand-600); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand-50); }
.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 44px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--border); }
.header__top { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 800 26px/1 var(--font-head); color: var(--brand); letter-spacing: -.5px; }
.brand__name span { color: inherit; }
.brand__tag { font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: .3px; }

.search { position: relative; flex: 1; max-width: 460px; }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 16px 0 46px; border-radius: 999px;
  border: 1.5px solid transparent; background: #f1f5f9; color: var(--text); font: inherit; font-size: 15px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search input::placeholder { color: #7a8899; }
.search input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 181, 241, .15); }
.search__results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  padding: 8px; max-height: 420px; overflow: auto; text-align: left;
}
.search__results a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.search__results a:hover, .search__results a[aria-selected="true"] { background: var(--brand-50); }
.search__results strong { display: block; color: var(--navy); font-weight: 600; font-size: 15px; line-height: 1.35; }
.search__results small { color: var(--brand-600); font-weight: 600; font-size: 12px; }
.search__results mark { background: #fff1d6; color: inherit; border-radius: 3px; }
.search__empty { padding: 12px; color: var(--muted); margin: 0; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--navy); align-items: center; justify-content: center; }
.menu-btn .ic { width: 24px; height: 24px; }

.site-nav { border-top: 1px solid var(--border); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.nav__item { position: relative; }
.nav__row { display: flex; align-items: center; }
.nav__link {
  display: flex; align-items: center; min-height: 52px; padding: 0 14px; color: var(--navy);
  font-weight: 600; font-size: 16px; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--brand-600); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open .nav__link::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brand-600); }
.has-mega .nav__link { padding-right: 4px; }
.has-mega .nav__link::after { right: 0; }
.nav__toggle { width: 32px; height: 44px; border: 0; background: none; color: var(--navy); display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.nav__toggle .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__toggle .ic { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 50%; z-index: 55; min-width: 320px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega__inner {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 20px 8px;
}
.mega--wide { min-width: 600px; }
.mega--wide .mega__inner { grid-template-columns: repeat(2, 1fr); }
.mega__col { padding: 0 16px; border-left: 1px solid var(--border); }
.mega__col:first-child { border-left: 0; }
.mega__title {
  display: block; font: 700 13px/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .6px;
  color: var(--muted); padding: 6px 0 12px; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.mega__title:hover { color: var(--brand-600); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 9px 0; color: var(--navy); font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.mega li a:hover { color: var(--brand-600); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #cfeafc 0%, #e6f5fe 55%, #f4fbff 100%);
  padding: 56px 0 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__grid { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; align-items: end; gap: 16px; }
.hero__art { align-self: start; width: 300px; margin-top: 40px; }
.hero__art--left { justify-self: end; }
.hero__art--right { justify-self: start; }
.hero__content { text-align: center; padding-bottom: 150px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); color: var(--brand-700); font-weight: 600; font-size: 14px; margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--brand-600); }
.search--hero { max-width: 660px; margin: 0 auto; }
.search--hero input { height: 60px; font-size: 17px; background: #fff; box-shadow: var(--shadow); border-radius: 14px; padding-left: 52px; }
.search--hero .search__icon { left: 20px; width: 22px; height: 22px; }
.hero__hints { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.hero__hints a { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-weight: 500; min-height: 32px; display: inline-flex; align-items: center; }
.hero__hints a:hover { background: #fff; }
.checks { list-style: none; padding: 0; margin: 24px auto 0; display: inline-flex; flex-direction: column; gap: 8px; text-align: left; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; color: var(--text); }
.ic--check { width: 22px; height: 22px; color: #fff; fill: var(--success); stroke: #fff; margin-top: 2px; }

/* quick cards row (overlaps hero bottom) */
.quick { position: relative; z-index: 2; margin-top: -110px; }
.quick__wrap { position: relative; }
.quick__track {
  list-style: none; margin: 0; padding: 8px 4px 20px; display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.quick__track::-webkit-scrollbar { display: none; }
.quick__track li { scroll-snap-align: start; }
.quick-card {
  height: 100%; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 12px 18px; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid transparent; color: var(--navy);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); color: var(--navy); }
.quick-card .picto { width: 60px; height: 60px; }
.quick-card__title { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.quick-card__count { font-size: 13px; color: var(--muted); }
.quick__nav {
  position: absolute; top: 50%; transform: translateY(-60%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--navy); box-shadow: var(--shadow);
  display: none; align-items: center; justify-content: center; z-index: 3; transition: opacity .2s, background-color .2s;
}
.quick__nav:hover { background: var(--brand-50); }
.quick__nav[disabled] { opacity: 0; pointer-events: none; }
.quick__nav--prev { left: -22px; }
.quick__nav--next { right: -22px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.section__head p { margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.kicker { display: block; font: 700 13px/1.4 var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: var(--brand-600); margin-bottom: 6px; }

.pills { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pill {
  min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 0; background: var(--brand-50); color: var(--brand-600);
  font-weight: 600; font-size: 16px; transition: background-color .2s, color .2s, box-shadow .2s;
}
.pill:hover { background: var(--brand-100); }
.pill.is-active { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgba(0, 121, 194, .25); }
.section--tint .pill:not(.is-active) { background: #fff; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* article card */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card__link:hover { color: inherit; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { text-wrap: pretty; font-size: 18px; line-height: 1.35; margin: 10px 0 8px; font-weight: 700; transition: color .2s; }
.card:hover .card__title { color: var(--brand-600); }
.card__excerpt { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.card__meta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.card__meta .ic { width: 16px; height: 16px; }
.card__more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--brand-600); }

.cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.cover__deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .picto { position: relative; width: 88px; height: 88px; filter: drop-shadow(0 8px 16px rgba(0, 60, 110, .18)); transition: transform .35s var(--ease); }
.card:hover .cover .picto { transform: scale(1.06) rotate(-3deg); }
.cover--ngung-tho { background: linear-gradient(135deg, #8fd8fb, #4bbff0); }
.cover--da-ky { background: linear-gradient(135deg, #a7e4f7, #3fb9e3); }
.cover--review-may { background: linear-gradient(135deg, #ffd79b, #ffb54a); }
.cover--mat-na { background: linear-gradient(135deg, #b6e3ff, #69c3f5); }
.cover--kien-thuc-may { background: linear-gradient(135deg, #c3ecf6, #5dc7e4); }
.cover--huong-dan { background: linear-gradient(135deg, #ffe4bd, #ffc46e); }

/* real photos (optional): thumbnail 16:9 cropped to fill, product photo fitted inside */
.cover--photo { background: var(--brand-50); }
.cover--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .cover--photo img { transform: scale(1.04); }
.review-card__media--photo { padding: 20px; }
.review-card__photo { width: 100%; height: 100%; max-height: 260px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 60, 110, .15)); }

.chip { align-self: flex-start; display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--brand-50); color: var(--brand-700); }
.chip--review-may, .chip--huong-dan { background: #fff1d9; color: #8a4d00; }

/* review cards */
.review-card { display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s var(--ease); }
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-card__media { position: relative; display: grid; place-items: center; background: linear-gradient(160deg, #e6f6fe, #c5e9fb); }
.review-card__media .picto { width: 110px; height: 110px; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.review-card__body { padding: 24px; }
.review-card__title { font-size: 19px; line-height: 1.35; }
.review-card__title a { color: var(--navy); }
.review-card__title a:hover { color: var(--brand-600); }
.review-card__body > p { color: var(--muted); font-size: 15px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.specs div { background: var(--bg-tint); border-radius: 12px; padding: 10px 12px; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); font-size: 14px; line-height: 1.3; }

/* about strip */
.about-strip { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.about-strip__art { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0, #d9f1fd 70%); display: grid; place-items: center; box-shadow: inset 0 0 0 10px #fff, var(--shadow); }
.about-strip__art img { width: 72%; height: auto; }
.about-strip blockquote { margin: 0 0 20px; font-size: 19px; line-height: 1.6; color: var(--navy); font-weight: 500; border-left: 4px solid var(--accent); padding-left: 18px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.pillars li { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); }
.pillars .picto { width: 44px; height: 44px; margin-bottom: 10px; }
.pillars strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 15.5px; margin-bottom: 4px; }
.pillars span { font-size: 14px; color: var(--muted); line-height: 1.55; display: block; }

/* support-style banner */
.banner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center;
  border-radius: var(--radius-lg); background: linear-gradient(100deg, #0090d6 0%, #00b5f1 55%, #2fd3ff 100%);
  color: #fff; box-shadow: var(--shadow-lg); min-height: 280px;
}
.banner__art { align-self: stretch; position: relative; background: linear-gradient(100deg, rgba(255, 255, 255, .95) 30%, rgba(255, 255, 255, 0)); display: grid; place-items: center; padding: 24px; }
.banner__art svg { width: 100%; max-width: 320px; height: auto; }
.banner__body { padding: 36px 40px; position: relative; z-index: 1; }
.banner__watermark { position: absolute; right: -20px; bottom: -40px; font: 800 140px/1 var(--font-head); color: rgba(255, 255, 255, .08); pointer-events: none; letter-spacing: -4px; }
.banner h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; font-weight: 700; letter-spacing: .3px; }
.banner p { color: rgba(255, 255, 255, .95); font-size: 17px; max-width: 520px; }
.banner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.banner .btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.banner .btn--ghost-white:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* pagination */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager[hidden] { display: none; }
.pager__btn {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--border);
  background: #fff; color: var(--navy); font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s, border-color .2s, color .2s;
}
.pager__btn:hover:not([disabled]) { border-color: var(--brand); color: var(--brand-600); }
.pager__btn[aria-current="page"] { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgba(0, 121, 194, .25); }
.pager__btn[disabled] { opacity: .4; cursor: not-allowed; }
.pager__btn .ic { width: 18px; height: 18px; }

/* short intro (home) */
.intro { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; max-width: 960px; }
.intro__art { width: 180px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff 0, #d9f1fd 70%); box-shadow: inset 0 0 0 8px #fff, var(--shadow); }
.intro__art img { width: 74%; height: auto; }
.intro__body h2 { font-size: clamp(22px, 2.6vw, 28px); }
.intro__body p { color: var(--muted); font-size: 17px; margin-bottom: 8px; }
.section--intro { padding: 56px 0; }
@media (max-width: 767px) {
  .intro { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .intro__art { width: 130px; margin: 0 auto; }
}

/* ---------- page heads ---------- */
.page-head { background: linear-gradient(180deg, #d9f0fd, #f1f9ff); padding: 20px 0 48px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.page-head > .container { position: relative; z-index: 1; }
.page-head__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 12px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 680px; margin: 0; }
.page-head p + p { margin-top: 12px; }
.page-head__art { display: flex; gap: 12px; }
.page-head__art .picto { width: 84px; height: 84px; background: #fff; border-radius: 22px; padding: 12px; box-shadow: var(--shadow); }
.page-head__art .picto:nth-child(2) { transform: translateY(18px); }

.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14.5px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; color: #9aa9ba; font-size: 18px; line-height: 1; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; min-height: 32px; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .ic { width: 16px; height: 16px; }
.breadcrumb [aria-current] span { max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cat-block { scroll-margin-top: 140px; }
.cat-block + .cat-block { margin-top: 48px; }
.cat-block__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cat-block__head .picto { width: 48px; height: 48px; }
.cat-block__head h2 { font-size: 24px; margin: 0; }
.cat-block__head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); }

/* ---------- article ---------- */
.page-head--article { padding-bottom: 40px; }
.article__title { font-size: clamp(26px, 3.4vw, 40px) !important; max-width: 900px; margin-top: 14px !important; }
.article__lead { font-size: 18px !important; max-width: 820px !important; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; color: var(--muted); font-size: 14.5px; }
.article__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .ic { width: 18px; height: 18px; }
.author img { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.author > span { display: flex; flex-direction: column; line-height: 1.25; }
.author strong { color: var(--navy); }
.author small { font-size: 12.5px; }

.article-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 64px; align-items: start; }
.article__aside { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 16px; }
.toc { background: var(--bg-tint); border-radius: var(--radius); padding: 18px 16px; max-height: calc(100vh - 300px); overflow: auto; }
.toc__title { display: flex; align-items: center; gap: 8px; font: 700 15px var(--font-head); color: var(--navy); margin: 0 0 10px; }
.toc__title .ic { width: 18px; height: 18px; color: var(--brand-600); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text); font-size: 14px; line-height: 1.45; border-left: 3px solid transparent; }
.toc a::before { content: counter(toc) "."; color: var(--brand-600); font-weight: 700; flex: none; }
.toc a:hover { background: #fff; color: var(--brand-700); }
.toc a.is-active { background: #fff; border-left-color: var(--brand); color: var(--brand-700); font-weight: 600; }
.aside-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.aside-card .picto { width: 40px; height: 40px; flex: none; }
.aside-card p { margin: 0; }
/* topic cluster box in the article sidebar */
.cluster { display: block; color: var(--text); }
.cluster__title { font: 700 13px/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 0 0 8px !important; }
.cluster__title a { color: var(--brand-600); }
.cluster ol { margin: 0; padding-left: 1.2em; }
.cluster li { margin: 0 0 6px; font-size: 14px; line-height: 1.45; }
.cluster li a { color: var(--navy); }
.cluster li a:hover { color: var(--brand-600); }
.cluster li[aria-current] { color: var(--brand-600); font-weight: 600; }
/* "Chủ đề liên quan" on hub / 404 pages */
.topic-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.aside-card strong { color: var(--navy); }

.prose { font-size: 17px; line-height: 1.8; color: var(--text); max-width: 760px; }
.prose > * + * { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .6em; padding-top: .4em; scroll-margin-top: 150px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .5em; scroll-margin-top: 150px; }
.prose h4 { font-size: 18px; margin: 1.3em 0 .4em; color: var(--brand-700); scroll-margin-top: 150px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose ul li::marker { color: var(--brand); }
.prose li > ul { margin: .6em 0 0; list-style: circle; }
.prose ol li::marker { color: var(--brand-600); font-weight: 700; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; min-width: 560px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.prose thead th { background: var(--brand-600); color: #fff; font-weight: 600; font-family: var(--font-head); font-size: 14.5px; }
.prose tbody th { color: var(--navy); font-weight: 600; background: #f7fbfe; }
.prose tbody tr:nth-child(even) td { background: #fbfdff; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.figure { margin: 1.6em 0 2em; }
.figure a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: #fff; transition: box-shadow .2s; }
.figure a:hover { box-shadow: var(--shadow); }
.figure img { width: 100%; height: auto; }
.figure--narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.figure figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); text-align: center; }
.prose .refs { padding-left: 1.4em; font-size: 15px; line-height: 1.65; color: var(--muted); }
.prose .refs li { margin-bottom: .6em; }
.prose .refs a { word-break: break-all; }
.table-wrap--specs th[scope="row"] { width: 24%; }
.table-wrap--specs td:nth-child(2) { width: 24%; font-weight: 600; color: var(--navy); }
.callout { border-radius: var(--radius); padding: 16px 18px; margin: 1.6em 0; font-size: 15.5px; line-height: 1.65; }
.callout p { margin: 0; }
.callout--warn { background: #fff6e6; border-left: 4px solid var(--accent); }
.callout--info { background: var(--brand-50); border-left: 4px solid var(--brand); }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #eef8ff, #fff); border: 1px solid var(--border); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; flex: none; background: #fff; box-shadow: var(--shadow-sm); }
.author-box p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.6; }
.author-box__name { font: 700 18px var(--font-head) !important; color: var(--navy); margin: 0 !important; }
.author-box__role { color: var(--brand-600); font-weight: 600; font-size: 14px !important; }
.author-box .link-arrow { text-decoration: none; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; }

/* ---------- about page ---------- */
.about-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-hero__card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); text-align: center; }
.about-hero__card img { width: 140px; height: 140px; margin: 0 auto 12px; }
.about-hero__card h2 { font-size: 22px; margin: 0; }
.about-hero__card p { color: var(--brand-600); font-weight: 600; margin: 4px 0 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.facts div { background: var(--bg-tint); border-radius: 12px; padding: 10px 6px; }
.facts strong { display: block; font: 800 22px var(--font-head); color: var(--brand-600); }
.facts span { font-size: 12.5px; color: var(--muted); }
.story { max-width: 780px; margin: 0 auto; font-size: 18px; line-height: 1.85; }
.story .highlight { background: var(--bg-tint); border-radius: var(--radius); padding: 20px 24px; border-left: 4px solid var(--brand); color: var(--navy); font-weight: 500; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; flex-direction: column; }
.offer .picto { width: 64px; height: 64px; margin-bottom: 16px; }
.offer h3 { font-size: 20px; }
.offer p { color: var(--muted); font-size: 15.5px; }
.offer .link-arrow { margin-top: auto; }
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principles li { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.principles .ic--check { width: 26px; height: 26px; }
.principles strong { display: block; color: var(--navy); margin-bottom: 2px; }
.principles span { color: var(--muted); font-size: 15px; }
.signoff { text-align: center; max-width: 720px; margin: 0 auto; }
.signoff p { font-size: 19px; color: var(--navy); }
.signoff .sig { font: 700 22px var(--font-head); color: var(--brand-600); }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 380px; }
.brand--footer img { width: 56px; height: 56px; }
.footer__note { font-size: 14px !important; }
.footer__note strong { color: var(--navy); }
.footer__title { font-size: 16px; margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: 15px; }
.footer__links a:hover { color: var(--brand-600); }
.footer__disclaimer { display: flex; gap: 12px; align-items: flex-start; margin: 40px 0 0; padding: 16px 18px; border-radius: var(--radius); background: #fff8eb; color: #5a4520; font-size: 14px; line-height: 1.6; }
.footer__disclaimer .ic { color: var(--accent-600); margin-top: 2px; }
.footer__disclaimer p { margin: 0; }
.footer__bottom { margin-top: 32px; background: var(--brand); color: #fff; font-size: 14px; padding: 14px 0; }
.footer__bottom .container { color: #04263f; font-weight: 500; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand-600); color: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s; }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--brand-700); transform: translateY(-2px); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .quick__track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .hero__art { width: 210px; margin-top: 90px; }
}
@media (min-width: 1024px) {
  .quick__nav { display: flex; }
}
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .header__top { min-height: 68px; gap: 12px; }
  .search--header { display: none; }
  .header__actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .brand__name { font-size: 22px; }
  .brand img { width: 42px; height: 42px; }
  .site-nav {
    position: fixed; inset: 68px 0 0 0; background: #fff; overflow-y: auto; border-top: 1px solid var(--border);
    transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s linear .28s;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav__bar { padding-top: 8px; padding-bottom: 24px; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--border); }
  .nav__row { justify-content: space-between; }
  .nav__link { min-height: 56px; font-size: 17px; padding: 0 4px; }
  .nav__link::after { display: none; }
  .nav__toggle { width: 48px; height: 48px; }
  .mega, .mega--wide { position: static; min-width: 0; transform: none; opacity: 1; visibility: visible; display: none; transition: none; }
  .nav__item.is-open .mega, .nav__item.is-open .mega--wide { display: block; transform: none; }
  .mega__inner, .mega--wide .mega__inner { grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 12px; background: var(--bg-tint); border-radius: 12px; }
  .mega__col { border-left: 0; padding: 12px 16px 4px; }
  .mega__title { border-bottom: 0; padding-bottom: 4px; margin: 0; }
  .mega li a { padding: 10px 0; }
  body.nav-open { overflow: hidden; }

  .hero { padding-top: 36px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .hero__content { padding-bottom: 130px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .review-card { grid-template-columns: 1fr; }
  .review-card__media { min-height: 150px; }
  .about-strip { grid-template-columns: 1fr; gap: 28px; }
  .about-strip__art { width: 200px; margin: 0 auto; }
  .banner { grid-template-columns: 1fr; }
  .banner__art { display: none; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .article__aside { position: static; }
  .toc { max-height: none; }
  .aside-card { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .about-hero { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .page-head__art { display: none; }
  .page-head__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .quick__track { grid-auto-columns: 42%; padding-left: 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .specs { grid-template-columns: 1fr 1fr 1fr; }
  .banner__body { padding: 28px 22px; }
  .banner .btn { width: 100%; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 4px 16px; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; font-size: 15px; }
  .checks li { font-size: 15.5px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 23px; }
  .prose h3 { font-size: 19px; }
  .author-box { flex-direction: column; }
  .offer-grid, .principles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .story { font-size: 17px; }
  .breadcrumb [aria-current] span { max-width: 22ch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Mask size tool (bài Hướng dẫn chọn size mặt nạ CPAP) ---------- */
.size-tool { margin: 1.2em 0 2.2em; }
.size-tool__types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 22px; }
.size-type { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px 14px;
  border: 2px solid var(--border); border-radius: var(--radius); background: #fff; cursor: pointer; text-align: center;
  transition: border-color .15s, box-shadow .15s; }
.size-type:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.size-type input { position: absolute; opacity: 0; pointer-events: none; }
.size-type:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,181,241,.15); }
.size-type:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.size-type__img { width: 100%; max-width: 132px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.size-type__name { font: 700 15px/1.3 var(--font-head); color: var(--navy); }
.size-type__en { font-size: 13px; color: var(--muted); }
.size-panel { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--bg-tint); margin-bottom: 14px; }
.size-panel + .size-panel { margin-top: 0; }
.size-tool:not(.is-ready) .size-panel { margin-bottom: 22px; }
.prose .size-panel h3 { margin-top: 0; }
.prose .size-panel h3 + p { margin-top: 0; }
.prose .size-panel .mask-grid + h3 { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.size-callout { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #fff; border-left: 4px solid var(--accent); }
.size-how { display: grid; grid-template-columns: repeat(2, minmax(0, 190px)) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 14px; }
.size-how:has(.size-how__fig:only-of-type) { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); }
.size-how:has(.size-how__fig--wide) { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.size-how__fig { margin: 0; background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 8px; }
.size-how__fig img { width: 100%; height: auto; }
.size-how__fig figcaption { margin-top: 4px; font-size: 13px; text-align: center; color: var(--muted); }
.size-how__text p { margin: 0 0 10px; font-size: 15.5px; }
.size-inputs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.size-input { display: grid; gap: 4px; }
.size-input__label { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.size-input__label b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 4px; border-radius: 50%;
  background: #1fae8f; color: #fff; font-size: 13px; }
.size-input__box { display: flex; align-items: center; width: 150px; border: 1px solid var(--border); border-radius: 10px; background: #fff; overflow: hidden; }
.size-input__box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,181,241,.2); }
.size-input__box input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font-size: 17px; font-weight: 600; color: var(--navy); background: transparent; outline: 0; }
.size-input__box span { padding: 0 12px; color: var(--muted); font-weight: 600; }
.size-input small { font-size: 12.5px; color: var(--muted); }
.size-result { margin: 4px 0 12px; font-weight: 700; color: var(--navy); min-height: 1em; }
.size-result:empty { display: none; }
.mask-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.mask-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s, opacity .15s; }
.mask-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-bottom: 1px solid var(--border); }
.mask-card__body { padding: 12px 14px 14px; }
.prose .mask-card h4 { margin: 0; font-size: 16px; line-height: 1.35; }
.mask-card__brand { margin: 2px 0 8px !important; font-size: 13px; color: var(--muted); }
.mask-card__fit { margin: 0 0 10px !important; padding: 8px 10px; border-radius: 8px; background: var(--bg-tint); font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.4; }
.mask-card dl { margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
.mask-card dl div { display: flex; justify-content: space-between; gap: 8px; }
.mask-card dt { color: var(--muted); }
.mask-card dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.mask-card dl div:last-child dd { color: var(--brand-600); }
.mask-card.is-fit { border-color: #1fae8f; box-shadow: 0 0 0 2px rgba(31,174,143,.25); }
.mask-card.is-fit .mask-card__fit { background: #e3f7f1; color: #12795f; }
.mask-card.is-nofit { opacity: .6; }
.mask-card.is-nofit .mask-card__fit { background: #fff4e5; color: #a35d00; }
.size-disclaimer { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 767px) {
  .size-tool__types { gap: 8px; }
  .size-type { padding: 8px 4px 10px; }
  .size-tool__types { grid-template-columns: repeat(6, 1fr); }
  .size-tool__types .size-type { grid-column: span 2; }
  .size-tool__types .size-type:nth-child(4) { grid-column: 2 / span 2; }
  .size-type__img { max-width: 104px; }
  .size-type__name { font-size: 14px; }
  .size-panel { padding: 16px 12px; }
  .size-how, .size-how:has(.size-how__fig:only-of-type), .size-how:has(.size-how__fig--wide) { grid-template-columns: 1fr 1fr; }
  .size-how:has(.size-how__fig:only-of-type) .size-how__fig, .size-how__fig--wide { grid-column: 1 / -1; max-width: 320px; }
  .size-how__text { grid-column: 1 / -1; }
  .mask-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mask-card__body { padding: 10px; }
  .mask-card dl div { flex-direction: column; gap: 0; }
  .mask-card dd { text-align: left; }
}
.mask-card__note { margin: 8px 0 0 !important; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-style: italic; }
.size-how__text .size-tip { padding: 8px 12px; border-radius: 10px; background: #fff; border-left: 4px solid var(--accent); font-size: 14.5px; }
/* bấm ảnh mặt nạ để xem lớn */
.mask-card__zoom { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; position: relative; }
.mask-card__zoom::after { content: ""; position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311325B' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center/18px no-repeat;
  box-shadow: 0 2px 8px rgba(17,50,91,.15); opacity: .85; transition: opacity .15s; }
.mask-card__zoom:hover::after, .mask-card__zoom:focus-visible::after { opacity: 1; }
.mask-card__zoom:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(10,25,45,.78); }
.lightbox[hidden] { display: none; }
.lightbox__inner { position: relative; margin: 0; max-width: min(92vw, 720px); background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.lightbox__inner img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: 10px; }
.lightbox__inner figcaption { margin-top: 8px; text-align: center; font-weight: 600; color: var(--navy); }
.lightbox__close { position: absolute; right: -12px; top: -12px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.lightbox__close:focus-visible { outline: 3px solid var(--brand); }
.has-lightbox body { overflow: hidden; }
