/* style/nh.css */
/* 
 * Body background is assumed to be dark (var(--bg-color) from shared.css, likely #08160F or similar deep green).
 * Therefore, text colors are set to light colors (#F2FFF6, #A7D9B8) to ensure WCAG AA contrast.
 */

.page-nh {
  font-family: 'Arial', sans-serif;
  color: var(--page-text-color, #F2FFF6); /* Default text color for dark background */
  background-color: var(--page-bg-color, #08160F); /* Deep Green background */
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-nh__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Typography */
.page-nh__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Use clamp for responsive H1 */
  font-weight: 700;
  color: #F2C14E; /* Gold for main title */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-nh__subtitle {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-nh__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.page-nh__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #F2C14E; /* Gold */
  border-radius: 2px;
}

.page-nh__card-title,
.page-nh__guide-title,
.page-nh__strategy-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-top: 20px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-nh__text-block,
.page-nh__card-text,
.page-nh__faq-answer p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

/* Buttons */
.page-nh__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 60px;
}

.page-nh__btn-primary,
.page-nh__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-width: 180px;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-nh__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color for secondary button text */
  border: 2px solid #57E38D; /* Glow color for border */
}

.page-nh__btn-secondary:hover {
  background-color: #57E38D; /* Glow color */
  color: #08160F; /* Background color for text on hover */
  transform: translateY(-2px);
}

/* Sections */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-nh__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-nh__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.5); /* Darken image for text contrast */
}

.page-nh__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
}

.page-nh__intro-section,
.page-nh__guide-section,
.page-nh__strategy-section,
.page-nh__promotions-section,
.page-nh__conclusion-section {
  padding: 60px 0;
  background-color: #08160F; /* Main background color */
}

/* Feature Grid */
.page-nh__feature-grid,
.page-nh__strategy-grid,
.page-nh__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__feature-card,
.page-nh__strategy-item,
.page-nh__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__feature-card:hover,
.page-nh__strategy-item:hover,
.page-nh__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-nh__feature-image,
.page-nh__strategy-image,
.page-nh__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

/* Guide Section */
.page-nh__guide-step {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #2E7A4E; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-nh__guide-step .page-nh__btn-secondary {
  margin-top: 20px;
}

/* FAQ Section */
.page-nh__faq-list {
  margin-top: 40px;
}

.page-nh__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-nh__faq-item[open] {
  background-color: #0A4B2C; /* Slightly darker when open */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  list-style: none; /* Remove default marker */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-nh__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-nh__faq-question:hover {
  color: #57E38D; /* Glow color */
}

.page-nh__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #57E38D; /* Glow color */
  margin-left: 15px;
}

.page-nh__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-nh__faq-answer p {
  margin-bottom: 0;
}

/* Image styling */
.page-nh img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-nh__container {
    padding: 0 15px;
  }

  .page-nh__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-nh__subtitle {
    font-size: 1rem;
  }

  .page-nh__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__feature-grid,
  .page-nh__strategy-grid,
  .page-nh__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-nh__feature-card,
  .page-nh__strategy-item,
  .page-nh__promo-card,
  .page-nh__guide-step,
  .page-nh__faq-item {
    padding: 20px;
  }

  .page-nh__feature-image,
  .page-nh__strategy-image,
  .page-nh__promo-image {
    height: 200px; /* Adjust height for smaller screens */
  }

  .page-nh__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-nh__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Force responsive images, videos, and containers */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-nh video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__hero-section,
  .page-nh__intro-section,
  .page-nh__features-section,
  .page-nh__guide-section,
  .page-nh__strategy-section,
  .page-nh__promotions-section,
  .page-nh__faq-section,
  .page-nh__conclusion-section,
  .page-nh__hero-content,
  .page-nh__feature-grid,
  .page-nh__strategy-grid,
  .page-nh__promo-grid,
  .page-nh__cta-section,
  .page-nh__faq-list,
  .page-nh__guide-step {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding to prevent content touching edges */
    padding-right: 15px; /* Add padding to prevent content touching edges */
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-nh__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-nh__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-nh__hero-image-wrapper {
      padding-left: 0;
      padding-right: 0;
  }
  
  /* Small top padding for sections, body handles header offset */
  .page-nh__hero-section,
  .page-nh__intro-section,
  .page-nh__features-section,
  .page-nh__guide-section,
  .page-nh__strategy-section,
  .page-nh__promotions-section,
  .page-nh__faq-section,
  .page-nh__conclusion-section {
    padding-top: 30px !important; /* Adjust section top padding for mobile */
    padding-bottom: 30px !important;
  }

  .page-nh__hero-section {
    padding-top: 10px !important; /* Specific small top padding for hero */
  }
}

/* Ensure no filter on images */
.page-nh img {
  filter: none; /* Remove any potential filter */
}

.page-nh__hero-image {
  filter: brightness(0.5); /* Only hero image can have brightness filter for text contrast */
}