/* style/no-hu.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-b-g: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the page-no-hu container */
.page-no-hu {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Ensure light text on dark body background */
  background-color: var(--background); /* Use custom background color */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container for main content width */
.page-no-hu__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-no-hu__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background: var(--deep-green); /* Example: using a custom dark green for hero background */
  color: var(--text-main);
  position: relative;
  z-index: 1;
}

.page-no-hu__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold); /* Using gold for main title */
  line-height: 1.2;
}

.page-no-hu__description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-secondary);
}

.page-no-hu__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-no-hu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 180px;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  border: none; /* Remove default border */
}

.page-no-hu__btn--primary {
  background: var(--button-gradient); /* Custom button color */
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-no-hu__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-no-hu__btn--secondary {
  background: var(--background); /* Dark background for secondary button */
  color: var(--glow); /* Glow color for text */
  border: 2px solid var(--glow); /* Border with glow color */
}

.page-no-hu__btn--secondary:hover {
  transform: translateY(-2px);
  background: var(--glow);
  color: var(--background);
}

.page-no-hu__btn--large {
  padding: 16px 40px;
  font-size: 1.25rem;
  min-width: 220px;
}

/* General section styling */
.page-no-hu__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider);
}

.page-no-hu__section:last-of-type {
  border-bottom: none;
}

.page-no-hu__article-wrap {
  max-width: 1000px; /* Wider for article content */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-no-hu__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 30px;
  text-align: center;
}

.page-no-hu__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--gold);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-no-hu p {
  margin-bottom: 1em;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.page-no-hu a {
  color: var(--glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-no-hu__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-no-hu__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 0 auto; /* Center image within figure */
}

.page-no-hu__figcaption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

.page-no-hu__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.page-no-hu__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.page-no-hu__list-item {
  margin-bottom: 0.5em;
  font-size: 1.05rem;
}

/* Advantages section */
.page-no-hu__advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-no-hu__advantage-card {
  background-color: var(--card-b-g); /* Custom card background */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-no-hu__advantage-card:hover {
  transform: translateY(-5px);
}

.page-no-hu__advantage-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 15px;
}

/* FAQ Section */
.page-no-hu__faq-section {
  margin-top: 40px;
}

.page-no-hu__faq-question {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-main);
  margin-top: 25px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--divider);
  cursor: pointer;
  position: relative;
  user-select: none; /* Prevent text selection on click */
}

.page-no-hu__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-no-hu__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-no-hu__faq-answer {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-no-hu__faq-question.active + .page-no-hu__faq-answer {
  max-height: 500px; /* Sufficient height for answer */
}

/* Call to Action Section at bottom */
.page-no-hu__cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--deep-green); /* Dark green background */
  color: var(--text-main);
}

.page-no-hu__cta-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-no-hu__cta-description {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-no-hu__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-no-hu__section-title {
    font-size: 2rem;
  }
  .page-no-hu__cta-title {
    font-size: 2.5rem;
  }
  .page-no-hu__container {
    padding: 0 15px;
  }
  .page-no-hu__article-wrap {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section Title + CTA */
  .page-no-hu__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }
  .page-no-hu__main-title {
    font-size: 2.2rem !important; /* Fixed for smaller screens */
    margin-bottom: 10px;
  }
  .page-no-hu__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-no-hu__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding: 0 15px; /* Add padding to button container */
  }
  .page-no-hu__btn {
    width: 100% !important; /* Full width for mobile buttons */
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-no-hu__btn--large {
    font-size: 1.1rem !important;
    padding: 14px 25px !important;
  }

  /* 2. Single Column Long Text Container */
  .page-no-hu__section {
    padding: 40px 0;
  }
  .page-no-hu__article-wrap,
  .page-no-hu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-no-hu__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-no-hu__sub-title {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-no-hu p,
  .page-no-hu__list-item {
    font-size: 0.95rem;
  }

  /* 3. Generic Images and Figure */
  .page-no-hu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-no-hu__figure {
    padding: 0 15px; /* Add padding to figure container */
    box-sizing: border-box;
  }
  .page-no-hu__figcaption {
    font-size: 0.85rem;
  }

  /* 4. Buttons and Button Containers (already covered in Top Section but ensuring general rule) */
  .page-no-hu__cta-buttons,
  .page-no-hu__button-group,
  .page-no-hu__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;
  }
  .page-no-hu__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 5. Registration Tutorial and FAQ Blocks (adjusting for readability) */
  .page-no-hu__advantages {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 20px;
    padding: 0 15px; /* Add padding to advantage cards container */
  }
  .page-no-hu__advantage-title {
    font-size: 1.3rem;
  }
  .page-no-hu__faq-section {
    padding: 0 15px; /* Add padding to FAQ section */
  }
  .page-no-hu__faq-question {
    font-size: 1.1rem;
  }
  .page-no-hu__faq-answer {
    font-size: 0.95rem;
    padding-left: 10px;
  }
  .page-no-hu__cta-section {
    padding: 60px 0;
  }
  .page-no-hu__cta-title {
    font-size: 2rem;
  }
  .page-no-hu__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}