/* ===== Nổ Hũ Page - rongvang68 ===== */
.page-no-hu {
  color: #333333;
  background-color: #FFFFFF;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

/* ===== Hero Section ===== */
.page-no-hu__hero-section {
  padding-top: 10px;
  padding-bottom: 24px;
}

.page-no-hu__hero-image {
  display: block;
}

.page-no-hu__hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.page-no-hu__hero-content {
  text-align: center;
  padding: 20px 16px 0;
  max-width: 960px;
  margin: 0 auto;
}

.page-no-hu__hero-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin: 0 0 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-no-hu__hero-desc {
  font-size: 1.0625rem;
  color: #333333;
  max-width: 640px;
  margin: 0 auto 20px;
}

.page-no-hu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* ===== Buttons ===== */
.page-no-hu__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-no-hu__btn--primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.3);
}

.page-no-hu__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(38, 169, 224, 0.4);
}

.page-no-hu__btn--secondary {
  background-color: #EA7C07;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(234, 124, 7, 0.3);
}

.page-no-hu__btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234, 124, 7, 0.4);
}

/* ===== Partner / Logo Grid ===== */
.page-no-hu__partner-section {
  padding: 32px 16px;
}

.page-no-hu__partner-title {
  text-align: center;
  color: #26A9E0;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 28px;
}

.page-no-hu__partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-no-hu__partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease;
}

.page-no-hu__partner-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-no-hu__partner-logo {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
}

.page-no-hu__partner-cta {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background-color: #26A9E0;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background-color 0.2s ease;
}

.page-no-hu__partner-cta:hover {
  background-color: #1f8fc4;
}

/* 5th and 6th item centered in 4-col grid */
.page-no-hu__partner-item:nth-child(5) {
  grid-column: 2;
}

.page-no-hu__partner-item:nth-child(6) {
  grid-column: 3;
}

/* ===== Guide Section ===== */
.page-no-hu__guide-section {
  padding: 16px 16px 48px;
}

.page-no-hu__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.page-no-hu__guide-title {
  text-align: center;
  color: #26A9E0;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.page-no-hu__guide-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  color: #333333;
}

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

.page-no-hu__guide-figure {
  margin: 0;
  width: 100%;
}

.page-no-hu__guide-figure img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.page-no-hu__guide-caption {
  text-align: center;
  font-weight: 600;
  color: #333333;
  margin-top: 8px;
  font-size: 0.95rem;
}

.page-no-hu__guide-cta {
  text-align: center;
  margin-top: 28px;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
  .page-no-hu__partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-no-hu__partner-item:nth-child(5) {
    grid-column: auto;
  }

  .page-no-hu__partner-item:nth-child(6) {
    grid-column: auto;
  }

  .page-no-hu__guide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-no-hu__guide-figure img {
    aspect-ratio: 2 / 1;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
  .page-no-hu__hero-section {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .page-no-hu__hero-img {
    aspect-ratio: 2 / 1;
  }

  .page-no-hu__hero-content {
    padding: 16px 12px 0;
  }

  .page-no-hu__hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-no-hu__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-no-hu__partner-section {
    padding: 24px 12px;
  }

  .page-no-hu__partner-title {
    font-size: 1.375rem;
    margin-bottom: 20px;
  }

  .page-no-hu__partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-no-hu__partner-item:nth-child(5),
  .page-no-hu__partner-item:nth-child(6) {
    grid-column: auto;
  }

  .page-no-hu__guide-section {
    padding: 8px 12px 32px;
  }

  .page-no-hu__guide-title {
    font-size: 1.375rem;
  }

  .page-no-hu__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-no-hu__guide-figure {
    width: 100%;
  }

  .page-no-hu__guide-figure img {
    aspect-ratio: 2 / 1;
  }

  .page-no-hu img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-no-hu {
    max-width: 100%;
    overflow-x: hidden;
  }
}