/* style/nh.css */

:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
}

.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f9fa;
}

.page-nh h1, .page-nh h2, .page-nh h3, .page-nh h4, .page-nh h5, .page-nh h6 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-nh p {
  margin-bottom: 1em;
}

.page-nh a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-nh a:hover {
  text-decoration: underline;
}

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

/* HERO Section */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--deep-navy-color);
  color: var(--text-main);
}

.page-nh__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-nh__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-nh__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-nh__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-nh__hero-content h1 {
  color: var(--gold-color);
  font-size: clamp(2.2em, 5vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-nh__hero-content p {
  font-size: 1.2em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-nh__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-nh__btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.page-nh__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-nh__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-main);
}

/* Section Styling */
.page-nh__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-nh__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-nh__dark-bg .page-nh__section-title, 
.page-nh__dark-bg .page-nh__section-description {
  color: var(--text-main);
}

.page-nh__dark-bg p, .page-nh__dark-bg li {
  color: var(--text-secondary);
}

.page-nh__intro-section, .page-nh__games-section, .page-nh__promotions-section, .page-nh__faq-section, .page-nh__blog-section {
  padding: 80px 0;
}

.page-nh__intro-section {
  background-color: #ffffff;
}

.page-nh__intro-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-nh__intro-text {
  flex: 1;
}

.page-nh__intro-text h2 {
  color: var(--primary-color);
}

.page-nh__intro-image {
  flex: 1;
  min-width: 300px;
}

.page-nh__intro-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-nh__intro-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-nh__intro-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%231D5FD1"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-nh__quick-access-section {
  background-color: var(--deep-navy-color);
  padding: 60px 0;
}

.page-nh__quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-nh__quick-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  text-decoration: none;
}

.page-nh__quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--gold-color);
}

.page-nh__games-section {
  background-color: #f0f4f8;
}

.page-nh__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nh__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-nh__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-nh__game-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-nh__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-nh__promotions-section {
  background-color: #ffffff;
}

.page-nh__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-nh__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-nh__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-nh__promo-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-nh__promo-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-nh__cta-promo {
  text-align: center;
  margin-top: 50px;
}

.page-nh__security-support-section {
  background-color: var(--deep-navy-color);
  padding: 80px 0;
}

.page-nh__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__security-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-nh__security-item img {
  
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.page-nh__security-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-nh__security-text {
  font-size: 0.95em;
  color: var(--text-secondary);
}

.page-nh__contact-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-nh__faq-section {
  background-color: #f0f4f8;
}

.page-nh__faq-list {
  margin-top: 40px;
}

details.page-nh__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-secondary);
}

details.page-nh__faq-item summary.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
  color: var(--text-main);
}

details.page-nh__faq-item summary.page-nh__faq-question::-webkit-details-marker {
  display: none;
}

details.page-nh__faq-item summary.page-nh__faq-question:hover {
  background: #1a3e7a; /* Slightly lighter dark background for hover */
}

.page-nh__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
}

.page-nh__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-nh__faq-item .page-nh__faq-answer {
  padding: 0 25px 25px;
  background: var(--deep-navy-color);
  border-radius: 0 0 8px 8px;
  font-size: 1em;
  color: var(--text-secondary);
}

/* Blog Section */
.page-nh__blog-section {
  background-color: var(--deep-navy-color);
  padding: 80px 0;
}

.page-nh__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__blog-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-nh__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.page-nh__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-nh__blog-title {
  font-size: 1.3em;
  margin: 20px 15px 10px;
}

.page-nh__blog-title a {
  color: var(--text-main);
  text-decoration: none;
}

.page-nh__blog-title a:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-nh__blog-meta {
  font-size: 0.85em;
  color: var(--text-secondary);
  margin: 0 15px 10px;
}

.page-nh__blog-excerpt {
  font-size: 0.95em;
  color: var(--text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-nh__cta-blog {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__hero-content h1 {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-nh__section-title {
    font-size: 2em;
  }
  .page-nh__intro-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-nh__intro-image {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-nh__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-nh__hero-image img {
    border-radius: 4px;
  }

  .page-nh__hero-content p {
    font-size: 1em;
  }

  .page-nh__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__btn-primary, .page-nh__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__container {
    padding: 0 15px;
  }

  .page-nh__intro-section, .page-nh__games-section, .page-nh__promotions-section, .page-nh__faq-section, .page-nh__blog-section,
  .page-nh__quick-access-section, .page-nh__security-support-section {
    padding: 40px 0;
  }

  .page-nh__section-title {
    font-size: 1.8em;
  }
  .page-nh__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-nh__intro-list li {
    font-size: 0.95em;
  }

  .page-nh__quick-links-grid {
    grid-template-columns: 1fr;
  }

  .page-nh__games-grid, .page-nh__promotions-grid, .page-nh__security-grid, .page-nh__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-nh__game-card img, .page-nh__promo-card img, .page-nh__blog-card img {
    
  }

  .page-nh__game-title, .page-nh__promo-title, .page-nh__blog-title {
    font-size: 1.2em;
  }

  details.page-nh__faq-item summary.page-nh__faq-question {
    padding: 15px;
  }
  .page-nh__faq-qtext {
    font-size: 1em;
  }
  details.page-nh__faq-item .page-nh__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all images are responsive and prevent overflow */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-nh__section, .page-nh__card, .page-nh__container, .page-nh__quick-link-card, .page-nh__game-card, .page-nh__promo-card, .page-nh__security-item, .page-nh__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-nh__cta-buttons, .page-nh__button-group, .page-nh__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}