.page-resources-jollyph-beginner-guide {
  color: #333333; /* Dark text for light body background */
}

.page-resources-jollyph-beginner-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-resources-jollyph-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  filter: brightness(0.6); /* Slightly darken image for text readability */
  object-fit: cover;
}

.page-resources-jollyph-beginner-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-jollyph-beginner-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

.page-resources-jollyph-beginner-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-resources-jollyph-beginner-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-resources-jollyph-beginner-guide__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-jollyph-beginner-guide__hero-button:hover {
  background-color: #E0A83A;
}

.page-resources-jollyph-beginner-guide__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-jollyph-beginner-guide__article-heading {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
}

.page-resources-jollyph-beginner-guide__article-subheading {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-jollyph-beginner-guide__article-paragraph {
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-jollyph-beginner-guide__article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-jollyph-beginner-guide__article-button {
  display: inline-block;
  background-color: #000000; /* Main color for secondary CTAs */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.page-resources-jollyph-beginner-guide__article-button:hover {
  background-color: #333333;
}

.page-resources-jollyph-beginner-guide__article-button--cta {
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.2em;
  padding: 15px 35px;
  margin-top: 40px;
}

.page-resources-jollyph-beginner-guide__article-button--cta:hover {
  background-color: #E0A83A;
}

.page-resources-jollyph-beginner-guide__back-to-resources {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-resources-jollyph-beginner-guide__back-button {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-jollyph-beginner-guide__back-button:hover {
  color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-jollyph-beginner-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-jollyph-beginner-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-jollyph-beginner-guide__hero-content {
    padding: 15px;
  }

  .page-resources-jollyph-beginner-guide__content-area {
    padding: 0 15px;
    font-size: 1em;
  }

  .page-resources-jollyph-beginner-guide__article-heading {
    font-size: 1.8em;
  }

  .page-resources-jollyph-beginner-guide__article-subheading {
    font-size: 1.3em;
  }

  .page-resources-jollyph-beginner-guide__article-image {
    max-width: 100%;
    height: auto; /* Ensure images scale correctly */
  }

  .page-resources-jollyph-beginner-guide__article-paragraph img {
    max-width: 100%;
    height: auto;
  }

  .page-resources-jollyph-beginner-guide img {
    max-width: 100%;
    height: auto;
  }
}