/* ===== page-no-hu: Hero Banner ===== */
.page-no-hu__hero {
  background-color: #e6f7ff;
  padding-top: 0;
  margin-top: 0;
}
.page-no-hu__hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
/* Main image first, then text content (no overlapping) */
.page-no-hu__hero-image-wrap {
  width: 100%;
}
.page-no-hu__hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
}
.page-no-hu__hero-content {
  padding: 16px 16px 24px;
  text-align: center;
}
.page-no-hu__hero-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: #0477a7;
  max-width: 800px;
  margin: 12px auto 8px;
}
.page-no-hu__hero-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #333333;
  max-width: 820px;
  margin: 0 auto;
}
.page-no-hu__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.page-no-hu__btn {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
  line-height: 1.4;
}
.page-no-hu__btn--primary {
  background-color: #0477a7;
  color: #ffffff;
}
.page-no-hu__btn--secondary {
  background-color: #EA7C07;
  color: #ffffff;
}
.page-no-hu__btn:hover {
  opacity: 0.85;
}

/* ===== page-no-hu: Logo / Partners grid ===== */
.page-no-hu__brands {
  background: #ffffff;
  padding: 16px 16px 32px;
}
.page-no-hu__brands-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.page-no-hu__brands-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0477a7;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.page-no-hu__brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  justify-items: center;
}
.page-no-hu__brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 4px 15px rgba(4, 119, 167, 0.08);
}
.page-no-hu__brand-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}
.page-no-hu__brand-cta {
  display: block;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.9rem;
}
.page-no-hu__brand-cta:hover {
  opacity: 0.85;
}
/* 2nd row: 2 items centered (positions 5 and 6) */
.page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(5) {
  grid-column: 2;
}
.page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(6) {
  grid-column: 3;
}

/* ===== page-no-hu: Guide Content ===== */
.page-no-hu__guide {
  background-color: #f7fbff;
  padding: 24px 16px 40px;
}
.page-no-hu__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.page-no-hu__guide-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0477a7;
  margin-bottom: 10px;
}
.page-no-hu__guide-intro {
  text-align: center;
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 24px;
}
.page-no-hu__guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.page-no-hu__guide-figure {
  margin: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.page-no-hu__guide-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.page-no-hu__guide-figure figcaption {
  font-size: 0.9rem;
  color: #333333;
  line-height: 1.5;
  padding: 8px 2px 0;
}
.page-no-hu__guide-note {
  text-align: center;
  margin-top: 28px;
  padding: 16px 20px;
  background-color: #e6f7ff;
  border-left: 4px solid #26A9E0;
  border-radius: 6px;
  font-weight: 600;
  color: #0477a7;
}

/* ===== Responsive for mobile ===== */
@media (max-width: 1024px) {
  .page-no-hu__brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(4) {
    grid-column: 1;
  }
  .page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(5) {
    grid-column: 2;
  }
  .page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(6) {
    grid-column: 3;
  }
}
@media (max-width: 768px) {
  /* Image ratio adjustments */
  .page-no-hu__hero-image {
    aspect-ratio: 2 / 1;
  }
  /* Logo grid becomes 2 columns */
  .page-no-hu__brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  /* Reset grid-column positions to normal flow on mobile */
  .page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(4) {
    grid-column: auto;
  }
  .page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(5) {
    grid-column: auto;
  }
  .page-no-hu__brands-grid .page-no-hu__brand-card:nth-child(6) {
    grid-column: auto;
  }
  /* Brand card smaller width */
  .page-no-hu__brand-card {
    max-width: 100%;
  }
  /* Guide figures are full width */
  .page-no-hu__guide-grid {
    grid-template-columns: 1fr;
  }
  /* Generic image rules to prevent overflow */
  .page-no-hu img {
    max-width: 100% !important;
    height: auto !important;
  }
  /* Buttons and containers safe on small screens */
  .page-no-hu__btn,
  .page-no-hu__hero-actions,
  .page-no-hu__brand-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }
  .page-no-hu__hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-no-hu__btn {
    width: 100%;
    max-width: 320px;
  }
}