.page-resources-winph-beginner-guide {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources-winph-beginner-guide__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
}

.page-resources-winph-beginner-guide__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-winph-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-resources-winph-beginner-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
}

.page-resources-winph-beginner-guide__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  line-height: 1.2;
}

.page-resources-winph-beginner-guide__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-winph-beginner-guide__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-winph-beginner-guide__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-size: 1em;
}

.page-resources-winph-beginner-guide__button--primary {
  background-color: #FFD700; /* Gold primary color */
  color: #8B0000; /* Deep red secondary color */
  border: 2px solid #FFD700;
}

.page-resources-winph-beginner-guide__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-winph-beginner-guide__button--secondary {
  background-color: #8B0000; /* Deep red secondary color */
  color: #FFD700; /* Gold primary color */
  border: 2px solid #8B0000;
}

.page-resources-winph-beginner-guide__button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-resources-winph-beginner-guide__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-winph-beginner-guide__table-of-contents {
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background */
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 40px;
  border-left: 5px solid #FFD700;
}

.page-resources-winph-beginner-guide__toc-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  text-align: center;
}

.page-resources-winph-beginner-guide__toc-list {
  list-style: none;
  padding: 0;
}

.page-resources-winph-beginner-guide__toc-list li {
  margin-bottom: 10px;
}

.page-resources-winph-beginner-guide__toc-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-winph-beginner-guide__toc-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-winph-beginner-guide__article-heading {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 10px;
}

.page-resources-winph-beginner-guide__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-winph-beginner-guide__article p {
  margin-bottom: 1em;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-resources-winph-beginner-guide__ordered-list,
.page-resources-winph-beginner-guide__unordered-list {
  margin-bottom: 1.5em;
  padding-left: 25px;
}

.page-resources-winph-beginner-guide__ordered-list li,
.page-resources-winph-beginner-guide__unordered-list li {
  margin-bottom: 0.8em;
  color: #f0f0f0;
}

.page-resources-winph-beginner-guide__ordered-list li strong {
  color: #FFD700;
}

.page-resources-winph-beginner-guide__faq-item {
  background-color: rgba(139, 0, 0, 0.2); /* Semi-transparent deep red */
  border: 1px solid #8B0000;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-winph-beginner-guide__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-winph-beginner-guide__faq-answer {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-winph-beginner-guide__return-link-container {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 215, 0, 0.3);
}

.page-resources-winph-beginner-guide__return-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-winph-beginner-guide__return-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

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

  .page-resources-winph-beginner-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-winph-beginner-guide__button {
    width: 100%;
    padding: 10px 20px;
  }

  .page-resources-winph-beginner-guide__content-area {
    padding: 0 15px;
  }

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

  .page-resources-winph-beginner-guide__toc-title {
    font-size: 1.5em;
  }

  .page-resources-winph-beginner-guide__hero-image,
  .page-resources-winph-beginner-guide__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small on mobile */
    min-height: 200px; /* Ensure images are not too small on mobile */
  }

  /* Ensure no horizontal scrolling */
  .page-resources-winph-beginner-guide {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-resources-winph-beginner-guide__hero-title {
    font-size: 1.6em;
  }

  .page-resources-winph-beginner-guide__hero-description {
    font-size: 0.9em;
  }

  .page-resources-winph-beginner-guide__hero-content {
    padding: 20px;
  }

  .page-resources-winph-beginner-guide__button {
    font-size: 0.9em;
  }

  .page-resources-winph-beginner-guide__article-heading {
    font-size: 1.5em;
  }
}