*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #192a51;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.wrap-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(19, 42, 81, 0.92);
  z-index: 100;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-header { max-height: 48px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.logo-lolem { max-height: 40px; }

/* Kind Heart symbol */
.kind-heart-icon {
  display: inline-block;
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin: 0 8px;
  object-fit: contain;
  filter: contrast(1.25) brightness(1.15) drop-shadow(0 0 8px rgba(255, 255, 255, 0.35));
}

.section-title.with-kind-heart .kind-heart-icon {
  height: 34px;
}

.section-title.with-kind-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Video */
.video-section {
  max-width: 1200px;
  margin: 48px auto 56px;
  padding: 0 16px;
  clear: both;
}

.video-wrapper {
  width: 100%;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: #000;
  display: block;
}

.video-wrapper video::-webkit-media-controls {
  display: none !important;
}

.video-wrapper video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Hero carousel — full image, không crop */
.wrap-hero {
  margin-top: 72px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  background: #132a51;
  padding-bottom: 28px;
  touch-action: pan-y pinch-zoom;
}

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(56.25vw, 78vh);
  background: #132a51;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 1s ease, visibility 1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  cursor: zoom-in;
  display: block;
}

.hero-slide .poster-headline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 40px;
  background: linear-gradient(0deg, rgba(19, 42, 81, 0.92) 0%, rgba(19, 42, 81, 0.4) 60%, transparent 100%);
  color: #ffdb7c;
  font-size: clamp(18px, 3.5vw, 32px);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-slide .poster-headline-long {
  font-size: clamp(15px, 2.8vw, 26px);
  line-height: 1.35;
  padding-left: 16px;
  padding-right: 16px;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active { background: #ffdb7c; border-color: #ffdb7c; }

/* KV 2026 — tagline gallery */
.section-title-kv {
  margin-top: 0;
  line-height: 0;
}

.tagline-kv-img {
  display: block;
  max-width: min(92%, 520px);
  height: auto;
  margin: 0 auto;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* Description */
.intro-after-hero {
  padding: 28px 20px 12px;
  text-align: center;
}

.main-description {
  text-align: center;
  color: #fff;
  max-width: 819px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  padding: 0;
}

.btn-gui-loi-chuc {
  display: block;
  margin: 30px auto 0;
  color: #fff;
  background-color: #906f1b;
  padding: 15px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.btn-gui-loi-chuc:hover { background-color: #a07f2b; }

/* SDG section */
.wrap-sdg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  margin-top: 40px;
}

.wrap-sdg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19, 42, 81, 0.55);
}

.wrap-sdg .container { position: relative; z-index: 1; }

.sdg-title {
  color: #fff;
  text-align: center;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.sdg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.sdg-item { text-align: center; color: #fff; }

.sdg-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.sdg-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sdg-item p { font-size: 14px; opacity: 0.9; }

/* Stats */
.wrap-video-content {
  background-image: url('https://cdn.pnj.io/images/2025/giacmololem/p3/Hinh_background_san_khau.png');
  background-size: cover;
  background-position: center;
  min-height: 700px;
  margin-top: 52px;
  padding-bottom: 3rem;
}

.cotien {
  margin: 0 auto 10px;
  display: block;
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 82px;
  object-fit: contain;
}

.wrap-awards .cotien,
.wrap-news .cotien,
.wrap-doi-tac .cotien,
.journey-section .cotien {
  max-width: 100px;
  max-height: 82px;
}

.phep-mau-section .cotien {
  max-width: 96px;
  max-height: 78px;
}

.section-title {
  color: #fff;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-top: 13px;
}

.wrap-number {
  text-align: center;
  color: #fff;
  border-radius: 24px;
  border: 1px solid #fff;
  background: linear-gradient(91deg, rgba(255,255,255,0.15) 0.24%, rgba(255,255,255,0) 99.76%);
  margin: 44px auto 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: flex-start;
  padding: 24px 20px;
  gap: 12px 8px;
}

.wrap-number .item {
  cursor: pointer;
  min-width: 0;
  padding: 0 4px;
  transition: transform 0.3s;
}

.wrap-number .item.active { transform: scale(1.05); }

.wrap-number .item.item-stat-long.active {
  transform: none;
}

.so-lieu {
  color: #fff;
  text-align: center;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  max-width: 100%;
}

.wrap-number .item-stat-long .so-lieu {
  font-size: clamp(16px, 2vw, 28px);
  letter-spacing: -0.03em;
}

.wrap-number .item-stat-long.main-number .so-lieu {
  font-size: clamp(20px, 2.6vw, 34px);
}

.so-lieu-desc {
  color: #fff;
  text-align: center;
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.3;
}

.main-number .so-lieu,
.main-number .so-lieu-desc { color: #ffdb7c; }

/* Phép màu — desktop: hover chữ vàng + transition */
@media (hover: hover) and (pointer: fine) {
  .phep-mau-section .wrap-number .item .so-lieu,
  .phep-mau-section .wrap-number .item .so-lieu-desc {
    transition: color 0.3s ease;
  }

  .phep-mau-section .wrap-number .item:hover .so-lieu,
  .phep-mau-section .wrap-number .item:hover .so-lieu-desc,
  .phep-mau-section .wrap-number .item.main-number .so-lieu,
  .phep-mau-section .wrap-number .item.main-number .so-lieu-desc {
    color: #ffdb7c;
  }

  .phep-mau-section .wrap-number .item {
    transition: transform 0.3s ease;
  }

  .phep-mau-section .wrap-number .item:hover,
  .phep-mau-section .wrap-number .item.main-number {
    transform: scale(1.05);
  }

  .phep-mau-section .wrap-number .item.item-stat-long:hover,
  .phep-mau-section .wrap-number .item.item-stat-long.main-number {
    transform: none;
  }
}

.bo-suu-tap-intro {
  width: 95%;
  max-width: 877px;
  margin: 2rem auto 0;
  color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  min-height: 120px;
  transition: opacity 0.5s;
}

.bo-suu-tap-intro.fade { opacity: 0; }

/* Gallery marquee — 2 hàng */
.wrap-trung-bay {
  margin-top: 48px;
  padding-bottom: 40px;
}

.gallery-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 300px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.gallery-marquee--top {
  margin-top: 24px;
  margin-bottom: 12px;
}

.gallery-marquee__track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-marquee--top .gallery-marquee__track {
  animation: gallery-scroll-left 70s linear infinite;
}

.gallery-marquee--bottom .gallery-marquee__track {
  animation: gallery-scroll-left 70s linear infinite reverse;
}

.gallery-marquee:not(.is-ready) .gallery-marquee__track {
  animation-play-state: paused;
}

.gallery-marquee__track .slide {
  flex: 0 0 auto;
  line-height: 0;
}

.gallery-marquee__track .slide img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  max-height: 300px;
  border-radius: 4px;
  object-fit: cover;
}

@keyframes gallery-scroll-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Legacy class names (dist cũ) — giữ tương thích */
.slider1, .slider2 {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 300px;
  margin: auto;
}

.slider1 { margin-bottom: 12px; margin-top: 24px; }

.slide-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.slider1 .slide-track { animation: gallery-scroll-left 70s linear infinite; }
.slider2 .slide-track { animation: gallery-scroll-left 70s linear infinite reverse; }

.slide-track .slide {
  flex: 0 0 auto;
  line-height: 0;
}

.slide-track .slide img {
  display: block;
  width: auto;
  max-width: none;
  max-height: 300px;
  border-radius: 4px;
  object-fit: cover;
}

/* Awards */
.wrap-awards {
  padding: 60px 20px;
  text-align: center;
}

.wrap-awards .intro {
  color: #fff;
  max-width: 700px;
  margin: 16px auto 40px;
  font-size: 16px;
  line-height: 1.6;
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.award-item img {
  width: 100px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.award-item img.award-logo-banner {
  width: 160px;
  height: auto;
  max-height: 48px;
}

.award-item img.logo-white {
  filter: brightness(0) invert(1);
}

.award-item .award-text { color: #fff; }

.award-item .award-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffdb7c;
  margin-bottom: 4px;
}

.award-item .award-org { font-size: 14px; opacity: 0.85; }

/* News */
.wrap-news {
  padding: 60px 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 32px auto 0;
}

.news-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.2s, border-color 0.2s;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: #ffdb7c;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card .news-title {
  padding: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* Partners */
.wrap-doi-tac {
  padding: 48px 20px;
  text-align: center;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 28px;
}

.partners-logos img {
  height: 86px;
  width: auto;
  object-fit: contain;
}

.partners-logos .partner-sprite {
  height: 86px;
  width: 113px;
  flex-shrink: 0;
}

.partner-sprite {
  display: block;
  background: url('../assets/partners/frame78.png') no-repeat;
  background-size: 338px 102px;
}

.partner-sprite.hoi-phu-nu {
  background-position: 0 center;
}

.partner-sprite.thanh-doan {
  background-position: -113px center;
}

/* Journey 2026 — 6 ngày trên 1 màn hình */
.journey-section {
  padding: 40px 20px 32px;
  text-align: center;
  position: relative;
}

.journey-section .section-title.with-kind-heart {
  flex-wrap: nowrap;
  gap: 6px;
  padding: 0 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.journey-section .journey-title-text {
  white-space: normal;
  font-size: clamp(15px, 4.2vw, 28px);
  line-height: 1.35;
  max-width: min(100%, 720px);
}

.journey-section .section-title.with-kind-heart .kind-heart-icon {
  flex-shrink: 0;
  height: clamp(20px, 5.5vw, 34px);
  width: auto;
  margin: 0 2px;
}

/* Timeline 2026 — vertical track, mobile-first */
.timeline-2026 {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 0 16px;
}

.timeline-track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Đường timeline dọc */
.timeline-track::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 219, 124, 0.15) 0%,
    rgba(255, 219, 124, 0.75) 50%,
    rgba(255, 219, 124, 0.15) 100%
  );
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 14px;
  align-items: start;
  position: relative;
  padding-bottom: 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-node::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6c8 0%, #ffdb7c 55%, #c9a84a 100%);
  box-shadow: 0 0 14px rgba(255, 219, 124, 0.55);
}

.timeline-node img {
  position: relative;
  z-index: 1;
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: contrast(1.25) brightness(1.1) drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

.timeline-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 219, 124, 0.28);
  text-align: left;
  min-width: 0;
}

.timeline-date {
  color: #ffdb7c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  display: block;
}

.timeline-card .event-info { color: #fff; }

.timeline-card .event-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.timeline-card .event-info span {
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.45;
  display: block;
}

.timeline-card .tbu { color: #ffdb7c; font-size: 12px; font-style: normal; }

/* Desktop: timeline zigzag hai bên */
@media (min-width: 768px) {
  .timeline-2026 {
    max-width: 920px;
    margin-top: 36px;
    padding: 0 24px;
  }

  .timeline-track::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    grid-template-columns: 1fr 52px 1fr;
    gap: 0 20px;
    padding-bottom: 28px;
  }

  .timeline-node {
    grid-column: 2;
    justify-self: center;
  }

  .timeline-item .timeline-card {
    grid-column: 3;
  }

  .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    text-align: right;
  }

  .timeline-item:nth-child(odd) .event-info strong,
  .timeline-item:nth-child(odd) .event-info span {
    text-align: right;
  }
}

.banner-hengaplai {
  display: block;
  margin: 36px auto 0;
  width: auto;
  max-width: min(420px, 88vw);
  height: auto;
}

/* Footer */
footer {
  background-color: #906f1b;
  color: #fff;
  padding: 32px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p { font-size: 14px; line-height: 1.6; }

.lien-he {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo-footer { height: 45px; width: 45px; }

/* ===== NGÀY HỘI PAGE ===== */
.bg-ngayhoi {
  background: linear-gradient(180deg, #5eb3ff 0%, #7ec8ff 15%, #c4a8ff 45%, #ffb8d9 70%, #ffd784 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.bg-ngayhoi > * { position: relative; z-index: 1; }

.ngayhoi-hero {
  margin-top: 72px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
  max-height: calc(100vh - 72px);
  box-sizing: border-box;
}

.ngayhoi-hero img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 88px);
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  margin: 0 auto;
}

.ngayhoi-gate {
  text-align: center;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  padding: 24px 20px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 24px rgba(100, 60, 180, 0.12);
}

.page-ngayhoi .kind-heart-icon,
.page-ngayhoi .ngayhoi-gate .gate-icon {
  object-fit: contain;
}

/* Nền sáng — bỏ glow trắng (dành cho trang chủ nền tối), giữ chrome bạc rõ */
.page-ngayhoi .kind-heart-icon {
  filter: contrast(1.12) brightness(1.02) drop-shadow(0 2px 4px rgba(60, 50, 80, 0.2));
}

.page-ngayhoi .ngayhoi-gate .gate-icon {
  height: 72px;
  width: auto;
  max-width: 120px;
  margin: 0 auto 12px;
  filter: none;
}

.ngayhoi-gate h2 {
  color: #b8860b;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.8);
}

.ngayhoi-gate p {
  color: #1a3a7a;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 700;
  margin-top: 6px;
}

.station-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 16px auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 32px rgba(100, 60, 180, 0.15);
}

.page-ngayhoi .ngayhoi-gate + .station-section {
  margin-top: 12px;
}

.station-section:nth-child(even) {
  background: rgba(255, 248, 230, 0.88);
}

.station-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.station-inner.reverse { direction: rtl; }
.station-inner.reverse > * { direction: ltr; }

/* Desktop: mô tả cùng lề trái với chữ TRẠM (cột 2), icon tim ở cột 1 */
.station-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 14px;
  align-items: start;
}

.station-head {
  display: contents;
}

.station-copy .kind-heart-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  height: 44px;
  width: auto;
  margin: 0;
  flex-shrink: 0;
}

.station-copy .station-title {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
  display: block;
  text-align: left;
}

.station-copy > .station-desc {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  text-align: left;
}

.station-title {
  color: #b8860b;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.station-title .kind-heart-icon {
  height: 38px;
  width: auto;
  margin: 0;
  flex-shrink: 0;
}

.station-desc {
  color: #2a3a6e;
  font-size: 16px;
  line-height: 1.7;
}

.page-ngayhoi .section-title.with-kind-heart .kind-heart-icon {
  height: 34px;
}

.station-images {
  display: grid;
  gap: 12px;
}

.station-images.single img,
.station-images.grid-2 img {
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* Ảnh dọc (vd. Trạm Ngọt Ngào) — hiện full, không crop */
.station-images.portrait img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
  max-height: none;
}

/* Trạm ảnh compact — cùng chiều cao (Học Kỹ Năng, Lưu Giữ, Vui Chơi, Ngọt Ngào) */
.station-images.single.compact,
.station-images.grid-2.pair-compact {
  max-width: 400px;
  width: 100%;
}

.station-images.single.compact {
  margin: 0 auto;
}

.station-images.single.compact img,
.station-images.grid-2.pair-compact img {
  max-height: 130px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.station-images.grid-2.pair-compact {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.station-images.grid-3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.station-images.grid-3 img:first-child {
  grid-row: span 2;
}

.station-images img { border-radius: 8px; object-fit: cover; width: 100%; }

.san-khau-section {
  position: relative;
  padding: 40px 20px 28px;
  text-align: center;
  margin: 16px auto;
  max-width: 1100px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(100, 60, 180, 0.15);
}

.san-khau-section .section-title {
  margin-bottom: 12px;
  color: #1a3a7a;
}

.san-khau-section .time {
  color: #b8860b;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.san-khau-section .desc {
  color: #2a3a6e;
  font-size: 16px;
  line-height: 1.6;
  max-width: 880px;
  margin: 0 auto 24px;
  padding: 0 12px;
  text-wrap: pretty;
}

.san-khau-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.san-khau-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
  height: auto;
}

/* Legacy — unused */
.san-khau-gallery .side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Ngày hội — gửi lời nhắn & closing */
.page-ngayhoi .wrap-send-msg {
  background: linear-gradient(180deg, #fffdf8 0%, #fff5fb 45%, #f3eeff 100%);
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 28px 20px 24px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -6px 24px rgba(100, 60, 180, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: none;
}

.page-ngayhoi .wrap-send-msg .section-title {
  font-size: clamp(14px, 3.5vw, 20px);
  margin-top: 8px;
}

.page-ngayhoi .wrap-send-msg .cotien-kind-heart {
  max-width: 56px;
  max-height: 48px;
}

.page-ngayhoi .msg-carousel-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.page-ngayhoi .msg-carousel {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 12px;
  padding: 12px 0 16px;
  cursor: grab;
  touch-action: pan-x;
}

.page-ngayhoi .msg-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

@media (min-width: 769px) {
  .page-ngayhoi .card-msg {
    flex: 0 0 220px;
    max-width: 220px;
    width: 220px;
    padding: 14px 16px;
  }
}

.page-ngayhoi .ngayhoi-closing {
  position: relative;
  text-align: center;
  padding: 28px 20px 32px;
  background: linear-gradient(180deg, #243d72 0%, #1a3568 35%, #132a51 100%);
  overflow: hidden;
}

.page-ngayhoi .ngayhoi-closing::before {
  display: none;
}

.page-ngayhoi .ngayhoi-closing .banner-hengaplai {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: auto;
  max-width: min(380px, 82vw);
}

/* Messages carousel */
.wrap-send-msg {
  padding: 48px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
}

.wrap-send-msg .section-title { color: #1a3a7a; }

.wrap-send-msg .section-title-sub {
  margin-top: 32px;
}

.thankyou-msg {
  display: none;
  color: #2a3a6e;
  margin: 16px auto;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.5;
}

.msg-carousel-wrap {
  position: relative;
  max-width: 100%;
  padding: 0 4px;
}

.msg-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 12px 0 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.msg-carousel::-webkit-scrollbar { display: none; }

.card-msg {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
  box-shadow: 0 3px 12px rgba(100, 60, 180, 0.1);
}

.card-msg .msg { color: #2a3a6e; font-size: 12px; line-height: 1.55; font-style: italic; }
.card-msg .from { color: #b8860b; font-size: 11px; margin-top: 8px; font-weight: 600; line-height: 1.4; }

.msg-form {
  max-width: 500px;
  margin: 24px auto 0;
}

.msg-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  background: #fff;
  color: #2a3a6e;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 12px;
}

.msg-form textarea::placeholder { color: rgba(42, 58, 110, 0.45); }

/* ===== NGÀY HỘI — MOBILE ===== */
@media (max-width: 768px) {
  .page-ngayhoi .bg-ngayhoi {
    padding: 0 0 24px;
  }

  .page-ngayhoi .ngayhoi-hero {
    margin-top: 56px;
    max-height: calc(100dvh - 56px);
    padding: 0 10px;
  }

  .page-ngayhoi .ngayhoi-hero img {
    max-height: calc(100dvh - 68px);
    max-width: 100%;
  }

  .page-ngayhoi .ngayhoi-gate {
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 0;
    padding: 20px 16px 24px;
    border-radius: 16px;
    max-width: none;
  }

  .page-ngayhoi .ngayhoi-gate .gate-icon {
    height: 64px;
  }

  .page-ngayhoi .ngayhoi-gate h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .page-ngayhoi .ngayhoi-gate p {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 8px;
  }

  .page-ngayhoi .station-section,
  .page-ngayhoi .san-khau-section,
  .page-ngayhoi .wrap-send-msg {
    margin: 12px;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .page-ngayhoi .wrap-send-msg {
    margin-bottom: 0;
    border-radius: 16px 16px 0 0;
    padding: 20px 16px 22px;
  }

  .page-ngayhoi .station-inner,
  .page-ngayhoi .station-inner.reverse {
    grid-template-columns: 1fr;
    gap: 16px;
    direction: ltr;
  }

  .page-ngayhoi .station-inner .station-images {
    order: -1;
  }

  .page-ngayhoi .station-copy {
    display: block;
  }

  .page-ngayhoi .station-head {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }

  .page-ngayhoi .station-copy .station-title {
    display: block;
    font-size: 15px;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 0;
  }

  .page-ngayhoi .station-copy .kind-heart-icon {
    height: 40px;
    width: auto;
    grid-column: unset;
    grid-row: unset;
    margin: 0;
    flex-shrink: 0;
  }

  .page-ngayhoi .station-desc {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    padding: 0 4px;
  }

  .page-ngayhoi .station-images.single img,
  .page-ngayhoi .station-images.grid-2 img {
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
  }

  .page-ngayhoi .station-images.portrait img {
    aspect-ratio: auto;
    max-height: none;
    object-fit: contain;
  }

  .page-ngayhoi .station-images.grid-2 {
    gap: 10px;
  }

  .page-ngayhoi .station-images.single.compact,
  .page-ngayhoi .station-images.grid-2.pair-compact {
    max-width: min(100%, 340px);
    margin: 0 auto;
  }

  .page-ngayhoi .station-images.single.compact img,
  .page-ngayhoi .station-images.grid-2.pair-compact img {
    max-height: 95px;
  }

  .page-ngayhoi .san-khau-section .section-title {
    font-size: 16px;
  }

  .page-ngayhoi .san-khau-section .time {
    font-size: 18px;
  }

  .page-ngayhoi .san-khau-section .desc {
    font-size: 14px;
    padding: 0 8px;
    max-width: 100%;
  }

  .page-ngayhoi .san-khau-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .page-ngayhoi .san-khau-gallery img {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .page-ngayhoi .wrap-send-msg .section-title {
    font-size: 13px;
    line-height: 1.35;
    padding: 0 4px;
  }

  .page-ngayhoi .wrap-send-msg .cotien-kind-heart {
    max-width: 48px;
    height: auto;
  }

  .page-ngayhoi .msg-carousel {
    padding: 6px 0 12px;
    margin: 0 -2px;
    padding-left: 2px;
    padding-right: 2px;
    scroll-padding-inline: 12px;
    gap: 10px;
  }

  .page-ngayhoi .card-msg {
    flex: 0 0 200px;
    max-width: 200px;
    padding: 12px 14px;
  }

  .page-ngayhoi .card-msg .msg {
    font-size: 11px;
    line-height: 1.5;
  }

  .page-ngayhoi .card-msg .from {
    font-size: 10px;
    margin-top: 6px;
  }

  .page-ngayhoi .msg-form {
    padding: 0 4px;
  }

  .page-ngayhoi .msg-form textarea {
    font-size: 16px;
    min-height: 120px;
  }

  .page-ngayhoi .btn-gui-loi-chuc {
    width: 100%;
    max-width: 100%;
  }

  .page-ngayhoi .ngayhoi-closing {
    padding: 24px 16px 28px;
  }

  .page-ngayhoi .ngayhoi-closing .banner-hengaplai {
    max-width: min(300px, 78vw);
  }
}

@media (max-width: 390px) {
  .page-ngayhoi .station-title {
    font-size: 13px;
  }

  .page-ngayhoi .ngayhoi-gate h2 {
    font-size: 18px;
  }

  .phep-mau-section .wrap-number .item:not(.main-number) .so-lieu {
    font-size: 15px;
  }

  .phep-mau-section .wrap-number .item:not(.main-number) .so-lieu-desc {
    font-size: 9px;
  }
}

/* Responsive — shared */
@media (max-width: 768px) {
  .nav-menu { gap: 8px; }
  .nav-menu a { font-size: 12px; }
  .logo-header { max-width: 64px; }
  .logo-lolem { max-width: 70px; }

  .wrap-hero {
    padding-bottom: 16px;
  }

  .intro-after-hero {
    padding: 20px 16px 8px;
  }

  .main-description {
    font-size: 14px;
  }

  .tagline-kv-img {
    max-width: min(94%, 360px);
  }

  .slider1, .slider2,
  .gallery-marquee {
    height: 136px;
    min-height: 136px;
  }

  .slide-track .slide img,
  .gallery-marquee__track .slide img {
    max-height: 136px;
    max-width: none;
  }

  .wrap-trung-bay {
    margin-top: 32px;
    padding-bottom: 32px;
  }

  .gallery-marquee--top {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .hero-carousel {
    aspect-ratio: 16 / 9;
    max-height: min(52vw, 46dvh);
    height: auto;
    width: 100%;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
  }

  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: absolute;
    display: block;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }

  .hero-slide .poster-headline {
    font-size: clamp(11px, 2.85vw, 14px);
    padding: 10px 10px 30px;
    line-height: 1.3;
    letter-spacing: 0.3px;
  }

  .hero-slide .poster-headline-long {
    font-size: clamp(9px, 2.45vw, 12px);
    line-height: 1.35;
    padding: 8px 8px 30px;
  }

  .hero-dots {
    bottom: 6px;
  }

  .sdg-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Phép màu — mobile */
  .phep-mau-section {
    min-height: auto;
    margin-top: 32px;
    padding: 28px 0 36px;
    background-position: center top;
  }

  .phep-mau-section .cotien {
    max-width: 72px;
    max-height: 58px;
  }

  .phep-mau-section .section-title.with-kind-heart {
    font-size: 18px;
    gap: 8px;
    margin-top: 8px;
    padding: 0 16px;
  }

  .phep-mau-section .section-title.with-kind-heart .kind-heart-icon {
    height: 28px;
  }

  .phep-mau-section .wrap-number {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 24px 12px 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(19, 42, 81, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .phep-mau-section .wrap-number .item {
    min-width: 0;
    min-height: 76px;
    flex: unset;
    padding: 12px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s, border-color 0.25s, opacity 0.25s, box-shadow 0.25s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .phep-mau-section .wrap-number .item:not(.active) {
    opacity: 0.72;
  }

  .phep-mau-section .wrap-number .item.active {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 219, 124, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 219, 124, 0.45);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  }

  .phep-mau-section .wrap-number .item .so-lieu,
  .phep-mau-section .wrap-number .item .so-lieu-desc {
    transition: color 0.3s ease;
  }

  .phep-mau-section .wrap-number .item.active .so-lieu,
  .phep-mau-section .wrap-number .item.active .so-lieu-desc {
    color: #ffdb7c;
  }

  .phep-mau-section .wrap-number .item .so-lieu-desc {
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .phep-mau-section .wrap-number .item:not(.main-number) .so-lieu {
    font-size: clamp(16px, 4.5vw, 22px);
    line-height: 1.1;
  }

  .phep-mau-section .wrap-number .item:not(.main-number) .so-lieu-desc {
    font-size: 10px;
    margin-top: 4px;
    line-height: 1.25;
    opacity: 0.9;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .phep-mau-section .wrap-number .item.item-stat-long {
    grid-column: 1 / -1;
    min-height: 88px;
    padding: 16px 12px;
  }

  .phep-mau-section .wrap-number .item.item-stat-long .so-lieu {
    font-size: clamp(24px, 7vw, 36px);
    letter-spacing: -0.03em;
    line-height: 1.05;
  }

  .phep-mau-section .wrap-number .item.item-stat-long .so-lieu-desc {
    font-size: clamp(11px, 3vw, 13px);
    margin-top: 6px;
  }

  .phep-mau-section .wrap-number .item.main-number {
    grid-column: 1 / -1;
    order: -1;
    padding: 22px 16px 20px;
    opacity: 1;
    transform: none;
    background: linear-gradient(135deg, rgba(255, 219, 124, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 219, 124, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .phep-mau-section .wrap-number .item.main-number .so-lieu {
    font-size: clamp(36px, 11vw, 52px);
    letter-spacing: -0.02em;
  }

  .phep-mau-section .wrap-number .item-stat-long.main-number .so-lieu {
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: -0.04em;
  }

  .phep-mau-section .wrap-number .item.main-number .so-lieu-desc {
    font-size: clamp(13px, 3.5vw, 16px);
    margin-top: 10px;
    font-weight: 500;
  }

  .phep-mau-section .bo-suu-tap-intro {
    width: auto;
    margin: 16px 12px 0;
    padding: 18px 16px;
    font-size: 14px;
    line-height: 1.65;
    min-height: 200px;
    height: 200px;
    box-sizing: border-box;
    text-align: left;
    background: rgba(19, 42, 81, 0.55);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: none;
  }

  .wrap-number { padding: 12px 8px; gap: 8px; }
  .wrap-number .item { min-width: 90px; }

  .section-title { font-size: 14px; }

  .journey-section .journey-title-text {
    font-size: clamp(14px, 3.8vw, 18px);
  }

  .journey-section .section-title.with-kind-heart .kind-heart-icon {
    height: clamp(18px, 5vw, 28px);
  }

  .timeline-2026 {
    padding: 0 12px;
    margin-top: 20px;
  }

  .timeline-track::before {
    left: 19px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 0 10px;
    padding-bottom: 16px;
  }

  .timeline-node {
    width: 40px;
    height: 40px;
  }

  .timeline-node img {
    height: 20px;
  }

  .timeline-card {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .timeline-date {
    font-size: 14px;
  }

  .timeline-card .event-info strong {
    font-size: 13px;
  }

  .timeline-card .event-info span {
    font-size: 12px;
  }

  .phep-mau-section .section-title.with-kind-heart {
    font-size: 18px;
  }

  .slider1, .slider2 { height: 136px; }
  .slide-track .slide img { max-height: 136px; }

  .award-item { flex-direction: column; text-align: center; }
  .news-grid { grid-template-columns: 1fr; }

  .btn-gui-loi-chuc { font-size: 14px; }
  .footer-inner { flex-direction: column; text-align: left; }

  .page-ngayhoi .section-title.with-kind-heart {
    font-size: 16px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-ngayhoi .section-title.with-kind-heart .kind-heart-icon {
    height: 28px;
  }
}
