/* ==========================================================================
   Home V2 — homepage remake
   Source: source-dev/source/css/styles.css

   Naming: classes that clash with common.css (container, hero, btn, btn-primary,
   btn-outline, footer, footer-bottom, header, is-active) are prefixed `hv2-`.
   Everything else keeps the mockup name.
   ========================================================================== */

/* common.css ships the old HTML5 shim — `article, aside, details, figcaption,
   figure, footer, header, hgroup, menu, nav, section { display: block }`. An
   author rule always outranks the browser default `[hidden] { display: none }`,
   so the hidden attribute silently does nothing on any of those tags: the
   doctor filter set card.hidden = true and every card stayed on screen. The
   HTML spec's own remedy is to restate the rule with !important. */
.hv2-header [hidden],
.hv2-main [hidden],
.hv2-footer [hidden] {
  display: none !important;
}

:root,
.home-v2 {
  /* Brand */
  --hv2-navy-deep: #0F2349;
  --hv2-navy: #043E72;
  --hv2-blue: #065BA7;
  --hv2-blue-mid: #0F4A8C;
  --hv2-blue-sky: #3FB0E5;
  --hv2-gold: #FFC84D;
  --hv2-teal: #14B8A6;
  --hv2-teal-deep: #0E7C7B;

  /* Accents */
  --hv2-red: #DC2626;
  --hv2-red-hot: #ED1B2E;
  --hv2-pink: #DB2777;
  --hv2-orange: #D97706;
  --hv2-orange-2: #F59E0B;
  --hv2-violet: #7C3AED;
  --hv2-green: #00A758;

  /* Neutrals */
  --hv2-ink: #0F172A;
  --hv2-ink-2: #1F2937;
  --hv2-slate: #374151;
  --hv2-muted: #6B7280;
  --hv2-muted-2: #757575;
  --hv2-line: #E5E9F0;
  --hv2-bg-soft: #F4F6FA;
  --hv2-bg-soft-2: #F9FAFB;

  /* Layout */
  --hv2-container: 1280px;
  --hv2-radius-sm: 12px;
  --hv2-radius: 20px;
  --hv2-radius-lg: 24px;
  --hv2-radius-pill: 999px;
  --hv2-section-pad: 72px;
  --hv2-section-pad-sm: 64px;

  --hv2-shadow-sm: 0 2px 8px rgba(15, 35, 73, .06);
  --hv2-shadow: 0 12px 32px rgba(15, 35, 73, .10);
  --hv2-shadow-lg: 0 24px 60px rgba(15, 35, 73, .16);
}

.hv2-container {
  width: 100%;
  max-width: var(--hv2-container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Shared primitives
   ========================================================================== */

.hv2-section {
  padding-block: var(--hv2-section-pad);
}

.hv2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hv2-blue);
}

.hv2-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--hv2-blue);
  border-radius: 2px;
}

.hv2-eyebrow--gold {
  color: var(--hv2-gold);
}

.hv2-eyebrow--gold::before {
  background: var(--hv2-gold);
}

.section-head {
  max-width: 640px;
}

.section-head--center {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 16px 0 12px;
}

.section-title.nowrap {
  white-space: nowrap;
}

.section-title .hl {
  color: var(--hv2-blue);
}

.section-title .hl-gold {
  color: var(--hv2-gold);
}

.section-sub {
  color: var(--hv2-muted);
  font-size: 16px;
  margin: 0;
  max-width: 560px;
}

.on-dark .section-title {
  color: #fff;
}

.on-dark .section-sub {
  color: rgba(255, 255, 255, .7);
}

.hv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 22px;
  border-radius: var(--hv2-radius-pill);
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.hv2-btn-primary {
  background: var(--hv2-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 91, 167, .28);
}

.hv2-btn-primary:hover {
  background: #0a4e8f;
  color: #fff;
  transform: translateY(-1px);
}

.hv2-btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
}

.hv2-btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

/* Image that fills its positioned parent */
.ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border: 0;
}

/* Card thumbnail gradients, cycled by position */
.g-teal     { background: linear-gradient(135deg, #b8e8dd, #d9f5ee); }
.g-violet   { background: linear-gradient(135deg, #ede9fe, #ddd9ee); }
.g-gold     { background: linear-gradient(135deg, #fef3c7, #eee3b7); }
.g-blue     { background: linear-gradient(135deg, #cffafe, #d9ecff); }
.g-rose     { background: linear-gradient(135deg, #fce7f3, #ffe0ee); }
.g-pink-red { background: linear-gradient(135deg, #ffd9d9, #ffc1cf); }
.g-cyan     { background: linear-gradient(135deg, #9ff4ff, #bfeaee); }
.g-purple   { background: linear-gradient(135deg, #efd9ff, #ddd0ff); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding-inline: 18px;
  border-radius: var(--hv2-radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--hv2-slate);
  border: 1px solid var(--hv2-line);
  transition: .2s;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--hv2-blue);
}

.chip.is-active {
  background: var(--hv2-gold);
  color: var(--hv2-navy-deep);
  border-color: var(--hv2-gold);
}

.chip--dark {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .85);
}

.chip--dark.is-active {
  background: var(--hv2-gold);
  color: var(--hv2-navy-deep);
  border-color: var(--hv2-gold);
}

@media (max-width: 640px) {
  .section-title.nowrap {
    font-size: min(7.2vw, 30px);
    letter-spacing: -.5px;
  }
}

@media (max-width: 860px) {
  .section-title.nowrap {
    white-space: normal;
  }
}

/* ==========================================================================
   Hero — banner slider + 3 CTA cards
   ========================================================================== */

.hv2-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hv2-hero--banner {
  padding: 0;
  background: none;
  height: calc(100vh - 114px);
  min-height: 500px;
  max-height: 800px;
}

.hero-media {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The mockup's banner was drawn for this 2.6:1 slot, but the real banners are
     1.55:1 promo art with an empty sky on top. Anchoring to the top showed only
     that sky and cut the logo, headline and hotline; centring keeps the message
     in frame. Proper fix is artwork cut to the hero ratio. */
  object-position: center center;
  display: block;
}

.hero-slider {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.hero-slider:active {
  cursor: grabbing;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform .7s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: block;
  overflow: hidden;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Kept in step with .hero-media img above — this rule comes later and wins. */
  object-position: center center;
  display: block;
}

/* CTA cards overlapping the lower part of the banner */
.hero-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 5;
}

.hero-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-card {
  position: relative;
  border-radius: var(--hv2-radius);
  padding: 20px 22px;
  min-height: 132px;
  box-shadow: var(--hv2-shadow);
}

.hero-card .num {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.hero-card .hc-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
  padding-right: 40px;
  color: inherit;
}

.hero-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.hero-card--blue .hc-title,
.hero-card--sky .hc-title {
  padding-right: 0;
  max-width: 64%;
}

.hero-card--blue p,
.hero-card--sky p {
  max-width: 66%;
}

.hc-bigico {
  position: absolute;
  right: 20px;
  top: calc(50% + 8px);
  transform: translateY(-50%);
  opacity: .92;
  pointer-events: none;
}

/* Cards 01 and 03 are links */
a.hero-card {
  display: block;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

a.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hv2-shadow-lg);
}

.hero-card--blue {
  background: var(--hv2-blue);
  color: #fff;
}

.hero-card--blue .num {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.hero-card--blue p {
  color: rgba(255, 255, 255, .82);
}

a.hero-card--blue:hover {
  background: #054e91;
}

.hero-card--gold {
  background: var(--hv2-gold);
  color: var(--hv2-navy-deep);
}

.hero-card--gold .num {
  background: rgba(15, 35, 73, .14);
  color: var(--hv2-navy-deep);
}

.hero-card--sky {
  background: var(--hv2-blue-sky);
  color: #fff;
}

.hero-card--sky .num {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.hero-card--sky p {
  color: rgba(255, 255, 255, .9);
}

a.hero-card--sky:hover {
  background: #35a2d6;
}

/* Booking form inside card 02 */
.hero-card--gold .mini-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

/* The mockup had bare <input>s directly inside .mini-form. Contact Form 7
   instead nests them: .wpcf7 > form > .form-group > span > input, so the grid
   above lands on a single child and does nothing — fields stack and the button
   collapses to its text width. Re-apply the grid on CF7's own form. */
.hero-card--gold .mini-form > .wpcf7 {
  grid-column: 1 / -1;
}

.hero-card--gold .mini-form .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Holds only hidden inputs; without this it takes a grid cell and knocks the
   two fields onto separate rows. */
.hero-card--gold .mini-form .hidden-fields-container {
  display: none;
}

.hero-card--gold .mini-form .form-group {
  grid-column: span 1;
  min-width: 0;
}

.hero-card--gold .mini-form .wpcf7-form-control-wrap {
  display: block;
}

.hero-card--gold .mini-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Spinner CF7 chiếm hẳn 1 hàng grid (24px) dưới nút -> card cao dư. Ẩn đi;
   thông báo gửi/lỗi vẫn hiện qua .wpcf7-response-output. */
.hero-card--gold .mini-form .wpcf7-spinner {
  display: none;
}

/* Khi chưa có thông báo, đừng chừa chỗ trống. */
.hero-card--gold .mini-form .wpcf7-response-output:empty {
  display: none;
}

/* common.css hangs the per-field error under the input as an absolute tooltip.
   In this two-row grid it lands exactly on the submit button, and the button
   wins the paint order — same z-index, later in the DOM. Putting the tip back
   in flow makes it push the button down instead of hiding behind it. */
.hero-card--gold .mini-form .wpcf7-not-valid-tip {
  position: static;
  display: block;
  width: auto;
  margin-top: 6px;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.35;
}

.hero-card--gold .mini-form .wpcf7-not-valid-tip::before {
  display: none;
}

/* text/tel inputs (không tính nút submit) */
.hero-card--gold .mini-form input:not([type="submit"]) {
  width: 100%;
  grid-column: span 1;
  height: 40px;
  border-radius: 9px;
  border: none;
  padding: 0 12px;
  font-size: 13px;
  background: rgba(255, 255, 255, .9);
}

/* nút gửi — CF7 render <input type="submit">, style full-width navy như mockup */
.hero-card--gold .mini-form button,
.hero-card--gold .mini-form input[type="submit"],
.hero-card--gold .mini-form .wpcf7-submit {
  grid-column: 1 / -1;
  width: 100%;
  height: 42px;
  border-radius: 9px;
  background: var(--hv2-navy);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.hero-card--gold .mini-form button:hover,
.hero-card--gold .mini-form input[type="submit"]:hover,
.hero-card--gold .mini-form .wpcf7-submit:hover {
  background: #033765;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    transition: none;
  }
}

@media (max-width: 860px) {
  .hv2-hero--banner {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-media {
    position: static;
  }

  .hero-media img {
    height: auto;
  }

  .hero-track {
    height: auto;
    align-items: flex-start;
  }

  .hero-slide {
    height: auto;
  }

  .hero-slide img,
  .hero-slide video {
    aspect-ratio: 2560 / 1655;
    object-fit: cover;
  }

  .hero-cta {
    position: static;
    margin-top: 12px;
    margin-bottom: 18px;
  }

  .hero-cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-card--gold .mini-form,
  .hero-card--gold .mini-form .wpcf7-form {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Doctors — watermark, filter chips, horizontal card carousel
   ========================================================================== */

.doctors {
  position: relative;
  background: var(--hv2-navy);
  color: #fff;
  overflow: hidden;
}

.doctors .watermark {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}

.doctors .watermark-track {
  display: inline-flex;
  width: max-content;
  font-size: 96px;
  font-weight: 800;
  /* common.css sets a fixed line-height (24px at html font-size 10px), which
     leaves the 96px glyphs overflowing a 24px line box — .watermark clips them
     and the strip shows only the bottom of each letter. Unitless so it tracks
     the font size, and roomy enough for Vietnamese stacked diacritics. */
  line-height: 1.25;
  letter-spacing: -2px;
  color: rgba(255, 255, 255, .04);
  white-space: nowrap;
  animation: hv2-watermark-scroll 40s linear infinite;
}

@keyframes hv2-watermark-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.doctors-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 30px;
  position: relative;
}

.doctor-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  position: relative;
  /* Card co theo nội dung, không kéo giãn bằng nhau -> bỏ khoảng trống dư giữa
     phần thông tin và box kinh nghiệm (exp không bị margin-top:auto đẩy xuống). */
  align-items: start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.doctor-grid::-webkit-scrollbar {
  display: none;
}

.doctor-grid.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.doctor-card {
  scroll-snap-align: start;
  background: #fff;
  color: var(--hv2-ink);
  border-radius: var(--hv2-radius);
  overflow: hidden;
  box-shadow: var(--hv2-shadow);
}

.doctor-photo {
  display: block;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.doctor-photo img.ph {
  object-position: center top;
  transition: transform .45s ease;
}

.doctor-card:hover .doctor-photo img.ph {
  transform: scale(1.05);
}

.doctor-photo .spec {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: rgba(255, 255, 255, .9);
  color: var(--hv2-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--hv2-radius-pill);
}

.doctor-body {
  padding: 18px 18px 20px;
}

.doctor-body h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  /* Luôn dành 2 dòng cho tên -> card tên ngắn cao bằng card tên dài, nút thẳng hàng.
     Tên quá dài thì cắt còn 2 dòng. */
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
}

.doctor-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.doctor-card:hover .doctor-body h3 a,
.doctor-body h3 a:hover {
  color: var(--hv2-blue);
}

.doctor-body .role {
  font-size: 12.5px;
  color: var(--hv2-muted);
  margin: 0 0 3px;
}

.doctor-body .dept {
  font-size: 12.5px;
  color: var(--hv2-muted);
  margin: 0 0 12px;
}

.doctor-body .exp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--hv2-bg-soft);
  border-radius: var(--hv2-radius-sm);
  padding: 10px 12px;
  margin: 0 0 16px;
}

.doctor-body .exp .ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--hv2-blue);
}

.doctor-body .exp b {
  display: block;
  font-size: 14px;
  color: var(--hv2-blue);
}

.doctor-body .exp small {
  display: block;
  font-size: 11.5px;
  color: var(--hv2-muted);
}

.doctor-body .hv2-btn {
  width: 100%;
}

.doctor-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, .7);
  padding: 24px 0;
}

.doctors-foot {
  text-align: center;
  margin-top: 34px;
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  .doctors .watermark-track {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .doctor-grid {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 860px) {
  .doctors-head {
    flex-direction: column;
    align-items: stretch;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters .chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .doctor-grid {
    grid-auto-columns: 76%;
    gap: 14px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
}

/* ==========================================================================
   Marquee — slogan ticker
   ========================================================================== */

.marquee {
  background: #fff;
  padding-block: 46px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: hv2-marquee-scroll 26s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #A9CBF0;
  white-space: nowrap;
}

.marquee-track .plus {
  color: #CFE0F5;
  font-weight: 300;
}

@keyframes hv2-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ==========================================================================
   Stories — 1 featured + list
   ========================================================================== */

.hv2-btn-outline {
  border: 1.5px solid var(--hv2-line);
  color: var(--hv2-slate);
  background: #fff;
}

.hv2-btn-outline:hover {
  border-color: var(--hv2-blue);
  color: var(--hv2-blue);
}

.stories-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  margin-top: 44px;
  align-items: stretch;
}

.story-feature {
  border-radius: var(--hv2-radius-lg);
  overflow: hidden;
  box-shadow: var(--hv2-shadow);
  background: #fff;
}

.story-feature .thumb {
  display: block;
  height: 300px;
  position: relative;
}

.story-feature .tag-top {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background: var(--hv2-gold);
  color: var(--hv2-navy-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 6px 12px;
  border-radius: var(--hv2-radius-pill);
}

.story-feature .fbody {
  padding: 22px 24px 26px;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.story-meta .author {
  color: var(--hv2-blue);
  font-weight: 700;
}

.story-meta .date {
  color: var(--hv2-muted);
}

.story-meta .pill {
  background: var(--hv2-bg-soft);
  color: var(--hv2-slate);
  padding: 3px 10px;
  border-radius: var(--hv2-radius-pill);
  font-weight: 600;
}

.story-feature h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
}

.story-feature h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.story-feature h3 a:hover {
  color: var(--hv2-blue);
}

.story-feature p {
  color: var(--hv2-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.story-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.story-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--hv2-line);
  border-radius: var(--hv2-radius);
  padding: 12px;
  transition: .2s;
  flex: 1 1 0;
  min-height: 96px;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

.story-item:hover {
  box-shadow: var(--hv2-shadow);
  transform: translateY(-2px);
}

.story-item .mini-thumb {
  width: 120px;
  height: auto;
  aspect-ratio: 3 / 2;
  min-height: 0;
  align-self: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  flex: none;
}

.story-item .si-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-item .si-meta {
  font-size: 11px;
  color: var(--hv2-muted);
  margin-bottom: 6px;
}

.story-item .si-meta b {
  color: var(--hv2-blue);
}

.story-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.story-item .read {
  font-size: 12.5px;
  color: var(--hv2-blue);
  font-weight: 700;
}

.stories-foot {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .story-list {
    height: auto;
  }

  .story-item {
    flex: none;
  }
}

@media (max-width: 480px) {
  .story-item {
    grid-template-columns: 108px 1fr;
  }

  .story-item .mini-thumb {
    width: 108px;
  }
}

/* ==========================================================================
   Carousel arrows — shared by reviews and partners
   ========================================================================== */

.nav-arrows {
  display: inline-flex;
  gap: 10px;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: .2s;
  border: none;
  cursor: pointer;
  background: none;
}

.arrow-btn.ghost {
  background: #fff;
  border: 1.5px solid var(--hv2-line);
  color: var(--hv2-slate);
}

.arrow-btn.solid {
  background: var(--hv2-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(6, 91, 167, .3);
}

.arrow-btn:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   Reviews — auto-scrolling wall of 9:16 and 16:9 cards
   ========================================================================== */

.reviews {
  background: var(--hv2-bg-soft);
  overflow: hidden;
}

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.vwall {
  position: relative;
  margin: 46px auto 0;
  max-width: var(--hv2-container);
  padding-inline: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.vwall-track {
  display: flex;
  width: max-content;
  animation: hv2-vwall-scroll 48s linear infinite;
}

.vwall:hover .vwall-track {
  animation-play-state: paused;
}

@keyframes hv2-vwall-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.v-card {
  position: relative;
  height: 344px;
  flex: none;
  margin-right: 18px;
  border-radius: var(--hv2-radius-lg);
  overflow: hidden;
  box-shadow: var(--hv2-shadow);
  color: inherit;
  text-decoration: none;
}

.v-card.portrait {
  aspect-ratio: 9 / 16;
}

.v-card.landscape {
  aspect-ratio: 16 / 9;
}

.v-media {
  position: absolute;
  inset: 0;
}

.v-card .badge-type {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--hv2-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hv2-red);
}

.v-card .badge-type.is-image {
  color: var(--hv2-teal-deep);
}

.v-card .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  z-index: 2;
  background: rgba(255, 255, 255, .95);
  display: grid;
  place-items: center;
  color: var(--hv2-blue);
  box-shadow: var(--hv2-shadow);
}

.v-card .dur {
  position: absolute;
  bottom: 76px;
  right: 14px;
  z-index: 2;
  background: rgba(15, 35, 73, .7);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.v-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 44px 16px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(15, 35, 73, .9));
}

.v-stars {
  color: var(--hv2-gold);
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 8px;
}

.v-reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v-reviewer .ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  flex: none;
}

.v-reviewer .rname {
  font-size: 13px;
  font-weight: 700;
}

.v-reviewer .rloc {
  font-size: 11px;
  color: rgba(255, 255, 255, .72);
}

.rv-bar {
  display: none;
}

.rv-progress {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(15, 35, 73, .12);
  overflow: hidden;
}

.rv-progress span {
  display: block;
  height: 100%;
  width: 12%;
  border-radius: 4px;
  background: var(--hv2-blue);
  transition: width .2s linear;
}

@media (prefers-reduced-motion: reduce) {
  .vwall-track {
    animation: none;
  }
}

@media (max-width: 860px) {
  .reviews-head {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-head .nav-arrows {
    display: none;
  }

  .arrow-btn {
    width: 40px;
    height: 40px;
  }

  .vwall {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .vwall::-webkit-scrollbar {
    display: none;
  }

  .vwall-track {
    animation: none;
  }

  .v-card {
    scroll-snap-align: start;
  }

  .vwall-track .v-card[aria-hidden="true"] {
    display: none;
  }

  .rv-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: var(--hv2-container);
    margin: 20px auto 0;
    padding-inline: 24px;
  }

  .rv-bar .nav-arrows {
    flex: none;
  }
}

/* ==========================================================================
   Packages — Offers / Specialties tabs
   ========================================================================== */

.packages {
  overflow: hidden;
}

.pkg-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pkg-toggle {
  display: inline-flex;
  gap: 10px;
}

.pkg-wall {
  position: relative;
  margin: 46px auto 0;
  max-width: var(--hv2-container);
  padding-inline: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.pkg-wall::-webkit-scrollbar {
  display: none;
}

.pkg-wall.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.pkg-track {
  display: flex;
  width: max-content;
  padding-block: 6px;
}

.pkg-track[hidden] {
  display: none;
}

.pkg-card {
  scroll-snap-align: start;
  width: 300px;
  flex: none;
  margin-right: 22px;
  background: #fff;
  border: 1px solid var(--hv2-line);
  border-radius: var(--hv2-radius);
  overflow: hidden;
  transition: .2s;
}

.pkg-card:hover {
  box-shadow: var(--hv2-shadow);
  transform: translateY(-3px);
}

.pkg-media {
  aspect-ratio: 4 / 3;
  position: relative;
  display: block;
}

.pkg-media img.ph {
  transition: transform .45s ease;
}

.pkg-card:hover .pkg-media img.ph {
  transform: scale(1.05);
}

.pkg-media .discount,
.pkg-media .tag {
  position: absolute;
  top: 14px;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1;
  padding: 5px 11px;
  border-radius: var(--hv2-radius-pill);
}

.pkg-media .discount {
  left: 14px;
  background: var(--c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 35, 73, .18);
}

.pkg-media .tag {
  right: 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--c);
}

.pkg-body {
  padding: 18px;
}

.pkg-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
  min-height: 45px;
}

.pkg-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.pkg-card:hover .pkg-body h3 a,
.pkg-body h3 a:hover {
  color: var(--hv2-blue);
}

.pkg-desc {
  font-size: 13px;
  color: var(--hv2-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  min-height: 40px;
}

.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.pkg-price .now {
  font-size: 22px;
  font-weight: 800;
  color: var(--hv2-blue);
}

.pkg-price .was {
  font-size: 13px;
  color: var(--hv2-muted);
  text-decoration: line-through;
}

.pkg-expire {
  font-size: 11.5px;
  color: var(--hv2-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.pkg-body .hv2-btn {
  width: 100%;
}

.c-red    { --c: #DC2626; }
.c-pink   { --c: #DB2777; }
.c-orange { --c: #D97706; }
.c-violet { --c: #7C3AED; }
.c-teal   { --c: #0E7C7B; }
.c-blue   { --c: #065BA7; }

@media (max-width: 860px) {
  .pkg-head {
    flex-direction: column;
    align-items: stretch;
  }

  .pkg-toggle {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Facilities
   ========================================================================== */

.facilities {
  background: linear-gradient(160deg, #043E72, #065BA7);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.fac-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.fac-left .section-title {
  color: #fff;
  margin-top: 18px;
}

.fac-left .fac-sub {
  color: rgba(255, 255, 255, .75);
  font-size: 16px;
  max-width: 400px;
  line-height: 1.6;
}

.fac-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.arrow-btn.ghost-dark {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: #fff;
}

.arrow-btn.solid-gold {
  background: var(--hv2-gold);
  color: var(--hv2-navy-deep);
}

.fac-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, .2);
  border-radius: 4px;
  position: relative;
  max-width: 160px;
}

.fac-progress::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--fac-p, 25%);
  background: var(--hv2-gold);
  border-radius: 4px;
  transition: width .35s ease;
}

.fac-count {
  font-weight: 700;
  font-size: 14px;
}

.fac-count b {
  color: var(--hv2-gold);
}

.fac-right {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 380px;
}

.fac-main {
  grid-row: 1 / 3;
  border-radius: var(--hv2-radius-lg);
  position: relative;
  overflow: hidden;
}

.fac-thumb {
  border-radius: var(--hv2-radius);
  position: relative;
  overflow: hidden;
}

.fac-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, .95);
  color: var(--hv2-ink);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--hv2-shadow);
}

.fac-caption .step {
  font-size: 11px;
  color: var(--hv2-blue);
  font-weight: 700;
  margin-bottom: 4px;
}

.fac-caption h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
}

.fac-caption p {
  font-size: 12px;
  color: var(--hv2-muted);
  margin: 0;
  line-height: 1.5;
}

.fac-next,
.fac-label {
  display: none;
}

@media (max-width: 1100px) {
  .fac-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .fac-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .fac-left {
    display: contents;
  }

  .fac-right {
    order: 2;
    margin-top: 26px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 14px;
    height: auto;
  }

  .fac-carousel {
    order: 3;
    margin-top: 22px;
  }

  .fac-main,
  .fac-next {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    background: none;
    overflow: visible;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .fac-main img.ph,
  .fac-next img.ph {
    position: static;
    inset: auto;
    height: clamp(160px, 45vw, 210px);
    border-radius: var(--hv2-radius);
  }

  .fac-thumb:not(.fac-next) {
    display: none;
  }

  .fac-next {
    display: flex;
  }

  .fac-caption {
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 10px 2px 0;
    color: #fff;
  }

  .fac-caption .step,
  .fac-caption p {
    display: none;
  }

  .fac-caption h4 {
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
  }

  .fac-label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    padding: 10px 2px 0;
  }
}

/* ==========================================================================
   Partners — tabs + logo marquee + support banner
   ========================================================================== */

.partners-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.partner-tabs {
  display: flex;
  gap: 12px;
  margin: 34px 0 24px;
}

.partner-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hv2-slate);
  background: var(--hv2-bg-soft);
  transition: .2s;
  border: none;
  cursor: pointer;
}

.partner-tab.is-active {
  background: var(--hv2-blue);
  color: #fff;
}

/* The mockup used emoji here; those render differently on every OS and cannot
   take the brand colour, so the field is an uploaded icon instead. */
.partner-tab_ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: none;
  display: block;
}

/* An <img> cannot inherit currentColor, and the active tab flips to a blue
   background. Wash the icon to white there instead of shipping two files. */
.partner-tab.is-active .partner-tab_ico {
  filter: brightness(0) invert(1);
}

.logo-marquee {
  position: relative;
  max-width: var(--hv2-container);
  margin: 34px auto 8px;
  padding-inline: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.logo-marquee[hidden] {
  display: none;
}

.logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 20px;
  animation: hv2-logo-scroll 32s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

@keyframes hv2-logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  flex: none;
  width: 190px;
  height: 92px;
  display: grid;
  place-items: center;
  padding: 0 20px;
  transition: .2s;
}

.logo-item img {
  max-width: 130px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: .25s;
}

.logo-item:hover img {
  filter: none;
  opacity: 1;
}

.partner-empty {
  text-align: center;
  color: var(--hv2-muted);
  font-size: 15px;
  padding: 48px 20px;
}

.partner-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  background: var(--hv2-bg-soft);
  border-radius: var(--hv2-radius);
  padding: 18px 22px;
}

.partner-banner .b-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hv2-blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
}

/* An uploaded SVG carries no intrinsic size, so it would fill the whole box. */
.partner-banner .b-ico img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.partner-banner b {
  font-size: 15px;
}

.partner-banner p {
  font-size: 13px;
  color: var(--hv2-muted);
  margin: 2px 0 0;
}

.partner-banner .hv2-btn {
  margin-left: auto;
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

@media (max-width: 860px) {
  .partners-head {
    flex-direction: column;
    align-items: stretch;
  }

  .partners-head .nav-arrows {
    align-self: flex-end;
  }
}

@media (max-width: 640px) {
  .partner-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .partner-tab {
    white-space: nowrap;
    height: auto;
    min-height: 38px;
    padding-inline: 11px;
    font-size: 12.5px;
  }

  .partner-banner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .partner-banner .b-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .partner-banner > div {
    flex: 1 1 0;
    min-width: 0;
  }

  .partner-banner b {
    font-size: 14.5px;
  }

  .partner-banner .hv2-btn {
    margin-left: 0;
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Top bar — header-v2.php
   ========================================================================== */

.hv2-topbar {
  background: var(--hv2-navy-deep);
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.hv2-topbar .hv2-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
}

.topbar-item img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: none;
}

.topbar-item strong {
  color: var(--hv2-gold);
  font-weight: 700;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-right > a {
  color: inherit;
  white-space: nowrap;
}

.topbar-right > a:hover {
  color: #fff;
}

/* Language picker — opens on hover, keyboard focus keeps it open too. */
.lang {
  position: relative;
}

.lang .flag {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  overflow: hidden;
  display: block;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3);
}

.lang .flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.lang-current:hover {
  color: #fff;
}

.lang-current .caret {
  transition: transform .2s;
}

.lang.is-open .caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 172px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--hv2-line);
  border-radius: 12px;
  box-shadow: var(--hv2-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
  z-index: 200;
}

/* Hover bridge so the gap does not close the menu. */
.lang-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.lang.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hv2-slate);
}

.lang-opt .flag {
  box-shadow: 0 0 0 1px var(--hv2-line);
}

.lang-opt:hover {
  background: var(--hv2-bg-soft);
  color: var(--hv2-blue);
}

/* ==========================================================================
   Header / nav — header-v2.php
   ========================================================================== */

/* common.css styles the bare `header` element (absolute, full width) — reset it. */
/* Off-canvas backdrop exists in the markup at every width; only the mobile
   drawer uses it. */
.nav-backdrop {
  display: none;
}

.hv2-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--hv2-line);
  transition: none;
}

.hv2-header .hv2-container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  flex-wrap: nowrap;
  position: relative;
}

.brand-h1 {
  margin: 0;
  font-size: 0;
  line-height: 0;
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.brand-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--hv2-navy-deep);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-inline: auto;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hv2-slate);
  border-radius: 8px;
  transition: .2s;
}

.nav-item:hover > .nav-link,
.nav-item.is-current > .nav-link,
.nav-link:hover {
  color: var(--hv2-blue);
  background: var(--hv2-bg-soft);
}

.nav-link .caret {
  transition: transform .2s;
  flex: none;
}

.nav-item:hover .nav-link .caret {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--hv2-line);
  border-radius: 14px;
  box-shadow: var(--hv2-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 120;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-item:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hv2-slate);
  white-space: nowrap;
  transition: .15s;
}

.submenu a:hover {
  background: var(--hv2-bg-soft);
  color: var(--hv2-blue);
}

.submenu--mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 10px;
  min-width: 520px;
}

.submenu--right {
  left: auto;
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--hv2-slate);
  border: 1px solid var(--hv2-line);
  background: none;
  cursor: pointer;
  transition: .2s;
}

.icon-btn:hover {
  border-color: var(--hv2-blue);
  color: var(--hv2-blue);
}

.nav-toggle {
  display: none;
  background: none;
  cursor: pointer;
}

/* Search panel behind the round icon button. */
.header-search-panel {
  position: absolute;
  top: 100%;
  right: 24px;
  margin-top: 8px;
  display: none;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--hv2-line);
  border-radius: 14px;
  box-shadow: var(--hv2-shadow);
  z-index: 130;
}

.hv2-header.search-open .header-search-panel {
  display: flex;
}

.header-search-panel input {
  width: 260px;
  max-width: 50vw;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--hv2-ink);
  border: 1px solid var(--hv2-line);
  border-radius: 10px;
  background: var(--hv2-bg-soft);
}

.header-search-panel button {
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  background: var(--hv2-blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.nav-search {
  display: none;
}

/* ==========================================================================
   Footer — footer-v2.php
   ========================================================================== */

.hv2-footer {
  background: var(--hv2-blue);
  color: rgba(255, 255, 255, .78);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.hv2-footer .brand-img--footer {
  height: 52px;
}

.hv2-footer .brand-text {
  color: #fff;
}

.footer-about_info {
  font-size: 13px;
  line-height: 1.7;
  margin: 18px 0;
}

.footer-about_info b {
  color: #fff;
}

.footer-about_info a:hover {
  color: var(--hv2-gold);
}

.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  transition: .2s;
}

.socials a:hover {
  transform: translateY(-2px);
}

.socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

p.socials-title,
.footer-col .ft-title {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 12px;
  position: relative;
}

p.socials-title {
  margin: 24px 0 16px;
}

.footer-col .ft-title {
  margin: 0 0 20px;
}

p.socials-title::after,
.footer-col .ft-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--hv2-gold);
}

/* common.css styles .menu-item globally for the desktop header — neutralise it here. */
.hv2-footer-menu .menu-item {
  display: block;
  padding: 0;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: inherit;
}

.hv2-footer-menu .menu-item::before {
  content: none;
}

.hv2-footer-menu .menu-item .sub-menu,
.hv2-footer-menu .menu-item .child {
  display: none;
}

.footer-col a {
  font-size: 14px;
  color: inherit;
  transition: .2s;
}

.footer-col a:hover {
  color: var(--hv2-gold);
}

.footer-hours .hours-note {
  font-size: 13px;
  margin: 0 0 16px;
}

.footer-hours .slot {
  margin-bottom: 14px;
}

.footer-hours .slot small {
  font-size: 12px;
  display: block;
  margin-bottom: 3px;
}

.footer-hours .slot b {
  color: #fff;
  font-size: 17px;
}

.footer-hours .hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hv2-gold);
  color: var(--hv2-navy-deep);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--hv2-radius-pill);
  font-size: 13px;
  margin-top: 6px;
}

.footer-hours .hotline:hover {
  background: #f2b93e;
  color: var(--hv2-navy-deep);
}

.newsletter p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* CF7 output — the subscriber form is a shortcode, not fixed markup. */
.newsletter input[type="email"],
.newsletter input[type="text"],
.newsletter input[type="tel"] {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  margin-bottom: 10px;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.newsletter input[type="submit"],
.newsletter button[type="submit"] {
  width: 100%;
  max-width: 260px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--hv2-gold);
  color: var(--hv2-navy-deep);
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.newsletter input[type="submit"]:hover,
.newsletter button[type="submit"]:hover {
  background: #f2b93e;
  transform: translateY(-1px);
}

.newsletter form {
  max-width: 260px;
}

.hv2-footer-sign {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hv2-footer-sign_img {
  max-width: 104px;
}

.hv2-footer-sign img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hv2-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.hv2-footer-bottom .links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hv2-footer-bottom a {
  color: inherit;
}

.hv2-footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   Header / footer responsive
   ========================================================================== */

@media (max-width: 1150px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--hv2-slate);
    border: 1px solid var(--hv2-line);
    order: 2;
  }

  .header-actions {
    order: 1;
    margin-left: auto;
  }

  /* The mockup drops the menu down under the header. The live site uses an
     off-canvas drawer sliding in from the left, and that is the behaviour the
     client already knows — keep it. */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 86vw;
    height: 100dvh;
    margin-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: var(--hv2-shadow-lg);
    padding: 16px 8px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 200;
  }

  .hv2-header.nav-open .nav {
    transform: translateX(0);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 73, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    z-index: 190;
    border: none;
  }

  .hv2-header.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav {
      transition: none;
    }
  }

  .nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 6px 10px;
    padding: 0 12px;
    height: 44px;
    border: 1px solid var(--hv2-line);
    border-radius: 12px;
    background: var(--hv2-bg-soft);
    color: var(--hv2-muted);
  }

  .nav-search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    outline: none;
    height: 100%;
    font-size: 14px;
    color: var(--hv2-ink);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 15px;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    margin: 0;
    padding: 2px 0 6px 14px;
    display: none;
  }

  .nav-item.open > .submenu {
    display: block;
  }

  .submenu--mega {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .header-search-panel {
    right: 24px;
    left: 24px;
  }

  .header-search-panel input {
    width: auto;
    max-width: none;
    flex: 1;
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .hv2-topbar {
    display: none;
  }

  .brand-img {
    height: 38px;
    max-width: 170px;
  }

  .hv2-header .hv2-container {
    min-height: 62px;
    gap: 12px;
  }

  .nav {
    max-height: calc(100dvh - 62px);
  }

  .header-actions .hv2-btn {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hv2-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Back to top
   ========================================================================== */

/* Parked in the same corner as the button-contact-vr plugin stack but below
   it, so the two never overlap. z-index stays under the plugin's. */
/* The mockup paints this navy, but the page has full-width navy sections
   (doctors, facilities) that the button scrolls over and disappears into.
   White disc with a navy chevron reads on both, and matches the .arrow-btn
   controls used inside the sections. */
.hv2-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--hv2-line, #E5E9F0);
  border-radius: 50%;
  background: #fff;
  color: var(--hv2-navy, #043E72);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 35, 73, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s,
              background-color .2s ease, color .2s ease;
}

.hv2-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hv2-to-top:hover {
  background: var(--hv2-navy, #043E72);
  color: #fff;
  border-color: var(--hv2-navy, #043E72);
}

.hv2-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 640px) {
  .hv2-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hv2-to-top {
    transition: opacity .25s ease, visibility .25s;
  }
}

/* ============================================================
   PATCH 2026-08-05 — feedback round: doctors align, bold exp,
   header hotline CTA, hero stickers, footer Figma, to-top mobile
   ============================================================ */

/* (1) Doctor cards: box "năm kinh nghiệm" + CTA "Đặt hẹn khám nhanh"
   luôn ngang hàng dưới đáy card, không lệch theo độ dài text */
.doctor-grid .doctor-card { display: flex; flex-direction: column; }
.doctor-card .doctor-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.doctor-body > .hv2-btn { margin-top: auto; }
.doctor-body .exp { margin-top: auto; }
.doctor-body .exp + .hv2-btn { margin-top: 0; }

/* (2) Số năm kinh nghiệm in đậm */
.doctor-body .exp b { font-weight: 800; }

/* (3) Bỏ mục menu "Đội Ngũ Bác Sĩ" (đã thay bằng CTA hotline trên header) */
.nav .nav-item:has(> .nav-link[href*="doi-ngu-bac-si"]) { display: none; }

/* (3) CTA hotline vàng trên header — giống website hiện tại */
.hv2-btn-hotline {
  background: var(--hv2-gold, #FFC84D); color: var(--hv2-navy, #043E72);
  font-weight: 800; box-shadow: none;
}
.hv2-btn-hotline:hover { background: #f2b93e; color: var(--hv2-navy, #043E72); transform: translateY(-1px); }
.hv2-btn-hotline .hotline-ico {
  display: grid; place-items: center; width: 22px; height: 22px; flex: none;
  border: 1.5px solid var(--hv2-navy, #043E72); border-radius: 50%;
}

/* (4) Sticker fallback ở card 01 & 03 (ảnh svg trắng, canh như mockup) */
img.hc-bigico { width: 60px; height: 60px; object-fit: contain; }

/* (6) Mobile: kéo nút lên đầu trang lên trên thanh CTA đáy màn hình */
@media (max-width: 860px) {
  .hv2-to-top { bottom: 70px; }
}
@media (max-width: 640px) {
  .hv2-to-top { right: 12px; bottom: 66px; }
}

/* (5) Footer mobile sắp xếp theo Figma:
   địa chỉ (full) → "Về chúng tôi" + "Giờ làm việc" 2 cột →
   "Liên hệ" + icon social → "Theo dõi bản tin" (email + nút cùng hàng) */
@media (max-width: 860px) {
  .hv2-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .hv2-footer .footer-about { display: contents; }
  .hv2-footer .footer-about .brand,
  .hv2-footer .footer-about_info { grid-column: 1 / -1; order: 1; }
  /* đường kẻ phân cách giữa khối địa chỉ và 2 cột menu (theo Figma) */
  .hv2-footer .footer-about_info { margin: 0; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  /* tiêu đề footer mobile theo Figma: không in hoa, không gạch vàng, gọn */
  .hv2-footer .footer-col .ft-title,
  .hv2-footer p.socials-title {
    text-transform: none; letter-spacing: 0; font-size: 14.5px;
    padding-bottom: 0; margin: 0 0 12px;
  }
  .hv2-footer .footer-col .ft-title::after,
  .hv2-footer p.socials-title::after { display: none; }
  .hv2-footer .footer-col { order: 2; min-width: 0; }
  .hv2-footer p.socials-title { grid-column: 1 / -1; order: 3; margin: 0; }
  .hv2-footer .footer-about .socials { grid-column: 1 / -1; order: 3; margin-top: -4px; }
  .hv2-footer .footer-col.newsletter { grid-column: 1 / -1; order: 4; }
  /* hotline pill gọn trong cột hẹp */
  .hv2-footer .footer-hours .hotline { font-size: 12px; padding: 8px 12px; white-space: nowrap; }
  /* form bản tin: ô email + nút Đăng ký nằm cùng một hàng */
  .hv2-footer .newsletter form { max-width: 100%; }
  .hv2-footer .newsletter .wpcf7-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
  .hv2-footer .newsletter .wpcf7-form .hidden-fields-container { display: none; }
  .hv2-footer .newsletter .wpcf7-form .form-group { flex: 1 1 0; min-width: 0; }
  .hv2-footer .newsletter .wpcf7-form .form-group .wpcf7-form-control-wrap { display: block; }
  .hv2-footer .newsletter .wpcf7-form .form-group input { margin-bottom: 0; min-width: 0; }
  .hv2-footer .newsletter .wpcf7-form button[type="submit"],
  .hv2-footer .newsletter .wpcf7-form input[type="submit"] { width: auto; max-width: none; flex: 0 0 auto; padding: 0 22px; }
  .hv2-footer .newsletter .wpcf7-response-output { flex-basis: 100%; margin: 0; }
}

/* Mobile: chừa chỗ cho thanh CTA đáy màn hình — copyright không bị che */
@media (max-width: 860px) {
  .hv2-footer { padding-bottom: 56px; }
  .hv2-footer .hv2-footer-bottom { padding-bottom: 14px; }
}

/* Giờ làm việc: heading nhóm ("Từ thứ 2 đến thứ 7", "Chủ Nhật") phân biệt rõ với giờ —
   chữ vàng nhỏ in hoa + kẻ phân nhóm, khoảng cách gọn đều */
.footer-hours .hours-heading {
  margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--hv2-gold, #FFC84D);
  text-transform: uppercase; letter-spacing: .6px;
}
.footer-hours .slot + .hours-heading,
.footer-hours .hours-note + .hours-heading {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .2);
}
.footer-hours .slot { margin-bottom: 10px; }
.footer-hours .slot small { margin-bottom: 2px; opacity: .85; }
.footer-hours .slot b { font-size: 16px; }
.footer-hours .hotline { margin-top: 10px; }

/* ============================================================
   PATCH — thu gọn khoảng cách section (mobile/PC) +
   lá cờ ngôn ngữ ở header mobile (theo Figma)
   ============================================================ */

/* Khoảng cách section mobile gọn hơn (PC đã giảm 88→72 ở :root).
   Override thẳng padding-block để chắc chắn thắng var inheritance. */
@media (max-width: 860px) {
  .hv2-section { padding-block: 44px; }
  .marquee { padding-block: 26px; }
}
@media (max-width: 640px) {
  .hv2-section { padding-block: 36px; }
  .marquee { padding-block: 22px; }
}

/* Lá cờ ngôn ngữ — chỉ hiện ở header mobile (topbar + switcher desktop ẩn ≤860px) */
.lang--mobile { display: none; position: relative; }
@media (max-width: 860px) {
  .lang--mobile { display: inline-flex; align-items: center; flex: none; }
  .lang--mobile .lang-current {
    color: var(--hv2-navy, #043E72);
    gap: 4px; padding: 0 2px; height: 40px;
  }
  .lang--mobile .lang-current:hover { color: var(--hv2-blue, #065BA7); }
  .lang--mobile .flag {
    width: 24px; height: 16px;
    box-shadow: 0 0 0 1px rgba(15, 35, 73, .15);
  }
  .lang--mobile .caret { width: 12px; height: 12px; }
  .lang--mobile .lang-menu { right: 0; left: auto; min-width: 150px; }
}

/* ============================================================
   PATCH round 2 — feedback: hover states + story landscape + lang toggle
   ============================================================ */

/* (4) Item hotline trên topbar: hover sáng lên giống Tuyển dụng / Tin tức */
a.topbar-item { transition: color .2s; }
a.topbar-item:hover { color: #fff; }

/* (5) 3 tab đối tác: hover nổi lên giống nút "Tìm hiểu thêm" */
.partner-tab { transition: background-color .2s, color .2s, transform .2s ease, box-shadow .2s ease; }
.partner-tab:not(.is-active):hover { transform: translateY(-2px); box-shadow: var(--hv2-shadow); }
.partner-tab.is-active:hover { transform: translateY(-2px); }

/* (6) Box câu chuyện lớn (feature): hover nổi lên giống box con */
.story-feature { transition: box-shadow .2s ease, transform .2s ease; }
.story-feature:hover { box-shadow: var(--hv2-shadow-lg); transform: translateY(-2px); }

/* (7) Ảnh đại diện câu chuyện: giữ layout ảnh-trái/chữ-phải, thumb tỉ lệ ngang 3:2 (xem .story-item .mini-thumb) */

/* (2) Cờ ngôn ngữ mobile: mở/đóng bằng click (toggle .is-open), không dùng hover/focus */
@media (max-width: 860px) {
  .lang--mobile:hover .lang-menu,
  .lang--mobile:focus-within .lang-menu { opacity: 0; visibility: hidden; transform: translateY(6px); }
  .lang--mobile.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
}

/* (3) CTA "Đặt hẹn khám nhanh" trong drawer menu mobile */
.nav-cta { display: none; }
@media (max-width: 1150px) {
  .nav-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: calc(100% - 12px); margin: 10px 6px 6px; height: 48px;
  }
}

/* ==========================================================================
   Reviews popup — image gallery + video player
   ========================================================================== */
.rv-modal[hidden] { display: none; }

.rv-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 24, .85);
  cursor: zoom-out;
}

.rv-modal-panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1000px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.rv-modal-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s;
}

.rv-modal-close:hover { background: rgba(255, 255, 255, .32); }

.rv-modal-stage { display: flex; justify-content: center; width: 100%; }

/* Gallery */
.rv-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-gallery-img {
  display: block;
  max-width: 92vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #000;
}

.rv-gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .9);
  color: #0b1b2b;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transition: background-color .2s;
}

.rv-gal-nav:hover { background: #fff; }
.rv-gal-prev { left: 10px; }
.rv-gal-next { right: 10px; }

.rv-gallery:not(.has-many) .rv-gal-nav,
.rv-gallery:not(.has-many) .rv-gal-counter { display: none; }

.rv-gal-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

/* Video */
.rv-video {
  position: relative;
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.rv-video iframe,
.rv-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

/* Caption */
.rv-modal-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.rv-modal-caption:empty { display: none; }
.rv-cap-stars { color: #FBBF24; letter-spacing: 1px; }
.rv-cap-name { font-weight: 700; }
.rv-cap-loc { color: rgba(255, 255, 255, .7); }

/* Con trỏ + trạng thái thẻ review bấm được */
.v-card[data-rv-open] { cursor: pointer; }
button.v-card,
.v-card[role="button"] {
  font: inherit;
  text-align: left;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
}

@media (max-width: 640px) {
  .rv-modal { padding: 14px; }
  .rv-gal-nav { width: 38px; height: 38px; }
}

/* ==========================================================================
   Swiper — bỏ layout carousel cũ trên các container đã chuyển sang Swiper
   ========================================================================== */
.doctor-grid.swiper,
.pkg-track.swiper {
  display: block;
  overflow: hidden;
  padding-block: 8px;
  cursor: grab;
}

.doctor-grid.swiper {
  grid-auto-flow: unset;
  grid-auto-columns: unset;
  scroll-snap-type: none;
}

.pkg-wall {
  overflow: visible;
  cursor: auto;
}

.pkg-track.swiper {
  width: auto;
}

.doctor-grid.swiper .swiper-wrapper,
.pkg-track.swiper .swiper-wrapper {
  align-items: stretch;
}

.doctor-grid.swiper .doctor-card {
  height: auto;
}

.pkg-track.swiper .pkg-card {
  width: auto;
  margin-right: 0;
  flex-shrink: 0;
  height: auto;
}

/* Reviews wall */
.vwall.swiper {
  overflow: hidden;
}

.vwall.swiper .vwall-track {
  animation: none;
  width: auto;
}

.vwall.swiper .v-card {
  width: auto;        /* để height + aspect-ratio quyết định bề rộng (slidesPerView: auto) */
  margin-right: 0;
}

/* Facilities: giữ thiết kế featured + thumbnail, cho vuốt cảm ứng đổi slide */
.fac-right {
  touch-action: pan-y;
}

.fac-right img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Ẩn tag trên ảnh: chuyên khoa (thẻ bác sĩ) + VIDEO/ẢNH (thẻ cảm nhận) */
.doctor-photo .spec,
.v-card .badge-type {
  display: none;
}
