/* style/nohu52.css */
.page-nohu52 {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-nohu52__hero-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small decorative padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #f0f4f8; /* Light background for hero */
}

.page-nohu52__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto; /* Center image wrapper */
}

.page-nohu52__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-nohu52__hero-content {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
}

.page-nohu52__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-nohu52__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: #4b5563;
  margin-bottom: 30px;
}

.page-nohu52__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
}

/* Shared Container Styles */
.page-nohu52__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-nohu52__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #2563eb;
  text-align: center;
  margin-bottom: 20px;
}

.page-nohu52__section-description {
  font-size: clamp(0.95em, 1.8vw, 1.1em);
  color: #4b5563;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-nohu52__text-block {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 1em;
  text-align: justify;
}

.page-nohu52__highlight {
  font-weight: 700;
  color: #2563eb;
}

.page-nohu52__inline-link {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}

/* Dark Section */
.page-nohu52__dark-section {
  background-color: #2563eb;
  color: #ffffff;
}

.page-nohu52__dark-section .page-nohu52__section-title,
.page-nohu52__dark-section .page-nohu52__hero-description,
.page-nohu52__dark-section .page-nohu52__text-block,
.page-nohu52__dark-section .page-nohu52__section-description {
  color: #ffffff;
}

.page-nohu52__dark-section .page-nohu52__highlight {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.page-nohu52__dark-section .page-nohu52__inline-link {
  color: #ffffff;
  text-decoration: underline;
}

/* Buttons */
.page-nohu52__btn-primary,
.page-nohu52__btn-secondary,
.page-nohu52__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-nohu52__btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}

.page-nohu52__btn-primary:hover {
  background-color: #1e40af;
  border-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.page-nohu52__btn-secondary {
  background-color: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.page-nohu52__btn-secondary:hover {
  background-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.page-nohu52__btn-small {
  padding: 8px 15px;
  font-size: 0.95em;
  background-color: #64748b;
  color: #ffffff;
  border: none;
  border-radius: 5px;
}

.page-nohu52__btn-small:hover {
  background-color: #4b5563;
  transform: translateY(-1px);
}

.page-nohu52__cta-full-width {
  text-align: center;
  margin-top: 40px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-nohu52__cta-full-width .page-nohu52__btn-primary {
  width: auto; /* Adjust to content */
  min-width: 250px;
}

/* Games Section */
.page-nohu52__games-section {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-nohu52__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page-nohu52__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-nohu52__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-nohu52__game-title {
  font-size: 1.4em;
  color: #2563eb;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

/* Promotions Section */
.page-nohu52__promotions-section {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

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