.page-newbie-guide {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-color: #F4F7FB;
  --text-main-color: #1F2D3D;
  --text-black-color: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  font-family: Arial, sans-serif;
  color: var(--text-main-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

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

.page-newbie-guide__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding to avoid header overlap */
  background-color: var(--primary-color);
}

.page-newbie-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-newbie-guide__hero-content {
  padding: 40px 20px;
  color: var(--card-bg); /* White text on blue background */
  background-color: var(--primary-color);
}

.page-newbie-guide__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--card-bg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-newbie-guide__description {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-newbie-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--card-bg);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-newbie-guide__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__introduction-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-newbie-guide__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main-color);
}

.page-newbie-guide__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-main-color);
}

.page-newbie-guide__steps-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-newbie-guide__step-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-newbie-guide__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-newbie-guide__step-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-newbie-guide__step-description {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

.page-newbie-guide__step-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-newbie-guide__step-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-newbie-guide__faq-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

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

.page-newbie-guide__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.page-newbie-guide__faq-question {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-newbie-guide__faq-answer {
  font-size: 1em;
  color: var(--text-main-color);
}

.page-newbie-guide__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

.page-newbie-guide__cta-section {
  padding: 80px 0;
  background: var(--button-gradient);
  text-align: center;
}

.page-newbie-guide__section-title--white,
.page-newbie-guide__text-content--white {
  color: var(--card-bg);
}

.page-newbie-guide__cta-button--glow {
  background: var(--card-bg);
  color: var(--primary-color);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-newbie-guide__cta-button--glow:hover {
  box-shadow: 0 0 20px var(--glow-color), 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-newbie-guide__hero-content {
    padding: 30px 15px;
  }

  .page-newbie-guide__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-newbie-guide__description {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
  }

  .page-newbie-guide__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

  .page-newbie-guide__step-list {
    grid-template-columns: 1fr;
  }

  /* Ensure content images are responsive */
  .page-newbie-guide__hero-image,
  .page-newbie-guide__step-image,
  .page-newbie-guide__introduction-section img,
  .page-newbie-guide__faq-section img,
  .page-newbie-guide__cta-section img {
    max-width: 100%;
    height: auto;
  }

  /* Specific rule for img elements within .page-newbie-guide to prevent small sizes */
  .page-newbie-guide img:not([width="32"]):not([width="40"]):not([width="48"]):not([width="60"]):not([width="64"]):not([width="80"]):not([width="100"]) {
      min-width: 200px;
      min-height: 200px;
  }

  .page-newbie-guide__step-image {
      height: auto; /* Allow auto height for mobile responsiveness */
      min-height: 200px; /* Ensure minimum height */
  }

  .page-newbie-guide__text-content {
    text-align: left;
  }
}