/* style/newbie-guide.css */

/* Body background is dark (#0a0a0a), so text should be light */
.page-newbie-guide {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body handles the main background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-newbie-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
  background-color: #0a0a0a; /* Match body background for consistency */
  color: #ffffff;
  text-align: center;
}

.page-newbie-guide__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-newbie-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-newbie-guide__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-newbie-guide__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
}

.page-newbie-guide__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-newbie-guide__section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Default section background */
}

.page-newbie-guide__section:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.03); /* Slightly different background for alternating sections */
}

.page-newbie-guide__section-title {
  font-size: 2.5rem;
  color: #017439; /* Brand color for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-newbie-guide__content-block {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content cards/blocks */
  color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__content-block p,
.page-newbie-guide__content-block li {
  color: #f0f0f0;
}

.page-newbie-guide__list {
  list-style: disc;
  margin-left: 20px;
  padding: 0;
  margin-bottom: 20px;
}

.page-newbie-guide__list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-newbie-guide__cta-button,
.page-newbie-guide__btn-primary,
.page-newbie-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-newbie-guide__btn-primary {
  background-color: #017439; /* Brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-newbie-guide__btn-primary:hover {
  background-color: #005a2e;
  color: #ffffff;
}

.page-newbie-guide__btn-register {
  background-color: #C30808; /* Custom Register color */
  color: #FFFF00; /* Custom Register text color */
  border: 2px solid #C30808;
}

.page-newbie-guide__btn-register:hover {
  background-color: #a00606;
  color: #FFFF00;
}

.page-newbie-guide__btn-login {
  background-color: #C30808; /* Custom Login color */
  color: #FFFF00; /* Custom Login text color */
  border: 2px solid #C30808;
}

.page-newbie-guide__btn-login:hover {
  background-color: #a00606;
  color: #FFFF00;
}

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

.page-newbie-guide__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-newbie-guide__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-newbie-guide__step-title {
  font-size: 1.5rem;
  color: #017439;
  margin-bottom: 15px;
}

.page-newbie-guide__step-card p {
  color: #f0f0f0;
  font-size: 0.95rem;
  flex-grow: 1;
}

.page-newbie-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-newbie-guide__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-newbie-guide__faq-title {
  font-size: 2.5rem;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-newbie-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-newbie-guide__faq-item {
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-newbie-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(1, 116, 57, 0.7); /* Dark green with transparency */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-newbie-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-newbie-guide__faq-question:hover {
  background-color: #005a2e;
}

.page-newbie-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-newbie-guide__faq-item[open] .page-newbie-guide__faq-toggle {
  content: '−';
}

.page-newbie-guide__faq-answer {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.08); /* Lighter background for answer */
  color: #f0f0f0;
  font-size: 0.95rem;
}

.page-newbie-guide__video-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-newbie-guide__video-link {
  display: block;
  width: 100%;
  height: auto;
}

.page-newbie-guide__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-newbie-guide__cta-banner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 60px auto 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-newbie-guide__cta-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-newbie-guide__cta-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 80%;
}

.page-newbie-guide__cta-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-newbie-guide__cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-newbie-guide__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-newbie-guide__section-title {
    font-size: 2.2rem;
  }
  .page-newbie-guide__cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-newbie-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-newbie-guide__container {
    padding: 0 15px;
  }
  .page-newbie-guide__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 30px;
  }
  .page-newbie-guide__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-newbie-guide__description {
    font-size: 1rem;
  }
  .page-newbie-guide__section {
    padding: 40px 0;
  }
  .page-newbie-guide__section-title,
  .page-newbie-guide__faq-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-newbie-guide__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-newbie-guide__step-card {
    padding: 20px;
  }
  .page-newbie-guide__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-newbie-guide__faq-answer {
    padding: 15px 20px;
  }
  .page-newbie-guide__cta-button,
  .page-newbie-guide__btn-primary,
  .page-newbie-guide__btn-secondary,
  .page-newbie-guide a[class*="button"],
  .page-newbie-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* For stacked buttons */
  }
  .page-newbie-guide__cta-buttons,
  .page-newbie-guide__button-group,
  .page-newbie-guide__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;
    display: flex;
    flex-direction: column;
  }
  .page-newbie-guide img,
  .page-newbie-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-newbie-guide__hero-image-wrapper,
  .page-newbie-guide__video-wrapper,
  .page-newbie-guide__cta-banner,
  .page-newbie-guide__section,
  .page-newbie-guide__card,
  .page-newbie-guide__container,
  .page-newbie-guide__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-newbie-guide__cta-title {
    font-size: 1.5rem;
  }
  .page-newbie-guide__cta-text {
    font-size: 0.95rem;
  }
  .page-newbie-guide__cta-content {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .page-newbie-guide__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-newbie-guide__section-title,
  .page-newbie-guide__faq-title {
    font-size: 1.8rem;
  }
  .page-newbie-guide__cta-title {
    font-size: 1.3rem;
  }
  .page-newbie-guide__cta-text {
    font-size: 0.9rem;
  }
}