/* style/blog-58k-beginner-guide.css */

/* Base Styles */
.page-blog-58k-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Default light background */
}

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

/* Hero Section */
.page-blog-58k-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #f5f5f5; /* Light background for hero section */
}

.page-blog-58k-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-58k-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-58k-beginner-guide__hero-content {
  text-align: center;
  padding: 40px 20px 0;
  max-width: 800px;
}

.page-blog-58k-beginner-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
  font-weight: 700;
  color: #017439; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-58k-beginner-guide__intro-text {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 30px;
}

/* Sections */
.page-blog-58k-beginner-guide__section {
  padding: 60px 0;
}

.page-blog-58k-beginner-guide__dark-section {
  background-color: #017439; /* Main brand color for dark sections */
  color: #ffffff; /* White text for dark background */
}

.page-blog-58k-beginner-guide__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-blog-58k-beginner-guide__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: inherit;
}

.page-blog-58k-beginner-guide__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-blog-58k-beginner-guide__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-blog-58k-beginner-guide__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-blog-58k-beginner-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto; /* Center image */
  min-width: 200px; /* Min image size for content area */
  min-height: 200px; /* Min image size for content area */
}

.page-blog-58k-beginner-guide__text-block {
  flex: 1;
}

/* Lists */
.page-blog-58k-beginner-guide__ordered-list,
.page-blog-58k-beginner-guide__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-blog-58k-beginner-guide__ordered-list li,
.page-blog-58k-beginner-guide__unordered-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: inherit;
}

/* Game List */
.page-blog-58k-beginner-guide__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-58k-beginner-guide__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  color: #333333; /* Dark text for light card background */
}

.page-blog-58k-beginner-guide__game-card:hover {
  transform: translateY(-5px);
}

.page-blog-58k-beginner-guide__game-image {
  width: 100%;
  height: 200px; /* Fixed height for game images */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-58k-beginner-guide__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #017439; /* Brand color for game titles */
}

.page-blog-58k-beginner-guide__game-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-58k-beginner-guide__game-title a:hover {
  color: #005f2e; /* Darker green on hover */
}

.page-blog-58k-beginner-guide__game-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 15px;
}

/* CTA Buttons */
.page-blog-58k-beginner-guide__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: 20px;
  margin-right: 15px;
  box-sizing: border-box; /* Crucial for button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-blog-58k-beginner-guide__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-blog-58k-beginner-guide__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
  color: #f0f000;
}

.page-blog-58k-beginner-guide__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand color for secondary button text */
  border: 2px solid #017439;
}

.page-blog-58k-beginner-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-blog-58k-beginner-guide__cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 15px;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-58k-beginner-guide__faq-list {
  margin-top: 40px;
}

.page-blog-58k-beginner-guide__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light FAQ background */
}

.page-blog-58k-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #017439; /* Brand color for FAQ question */
  position: relative;
}

.page-blog-58k-beginner-guide__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.page-blog-58k-beginner-guide__faq-item[open] .page-blog-58k-beginner-guide__faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg); /* No rotation for minus sign */
}


.page-blog-58k-beginner-guide__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
}

.page-blog-58k-beginner-guide__faq-answer p {
  margin-bottom: 10px;
}

.page-blog-58k-beginner-guide__faq-link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-blog-58k-beginner-guide__faq-link:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-blog-58k-beginner-guide__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-58k-beginner-guide__content-grid {
    flex-direction: column;
  }
  .page-blog-58k-beginner-guide__content-grid--reverse {
    flex-direction: column; /* Keep consistent for reverse layout on mobile */
  }
  .page-blog-58k-beginner-guide__image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog-58k-beginner-guide__container {
    padding: 0 15px;
  }
}