/* style/blog-win50-game-guide-beginners.css */

/* Custom Colors */
:root {
  --win50-primary: #11A84E;
  --win50-secondary: #22C768;
  --win50-button-gradient-start: #2AD16F;
  --win50-button-gradient-end: #13994A;
  --win50-card-bg: #11271B;
  --win50-background: #08160F;
  --win50-text-main: #F2FFF6;
  --win50-text-secondary: #A7D9B8;
  --win50-border: #2E7A4E;
  --win50-glow: #57E38D;
  --win50-gold: #F2C14E;
  --win50-divider: #1E3A2A;
  --win50-deep-green: #0A4B2C;
}

.page-blog-win50-game-guide-beginners {
  background-color: var(--win50-background); /* Dark background */
  color: var(--win50-text-main); /* Light text for readability */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-win50-game-guide-beginners__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-win50-game-guide-beginners__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-blog-win50-game-guide-beginners__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-height: 600px; /* Limit height for hero image */
}

.page-blog-win50-game-guide-beginners__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--win50-text-main);
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: 150px; /* Push content down to avoid overlapping image too much */
}

.page-blog-win50-game-guide-beginners__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: var(--win50-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-blog-win50-game-guide-beginners__hero-description {
  font-size: 1.2em;
  color: var(--win50-text-secondary);
  margin-bottom: 30px;
}

.page-blog-win50-game-guide-beginners__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog-win50-game-guide-beginners__btn-primary {
  background: linear-gradient(180deg, var(--win50-button-gradient-start) 0%, var(--win50-button-gradient-end) 100%);
  color: #ffffff; /* White text on green gradient button */
}

.page-blog-win50-game-guide-beginners__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-blog-win50-game-guide-beginners__section {
  padding: 60px 0;
}

.page-blog-win50-game-guide-beginners__dark-section {
  background-color: var(--win50-deep-green);
  color: var(--win50-text-main);
}

.page-blog-win50-game-guide-beginners__section-title {
  font-size: 2.5em;
  color: var(--win50-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog-win50-game-guide-beginners__text-block {
  font-size: 1.1em;
  color: var(--win50-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-win50-game-guide-beginners__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-blog-win50-game-guide-beginners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-win50-game-guide-beginners__card {
  background-color: var(--win50-card-bg); /* Dark card background */
  color: var(--win50-text-main); /* Light text on card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--win50-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-win50-game-guide-beginners__card-title {
  font-size: 1.5em;
  color: var(--win50-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-win50-game-guide-beginners__card-text {
  font-size: 1em;
  color: var(--win50-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-blog-win50-game-guide-beginners__btn-secondary {
  background: var(--win50-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-blog-win50-game-guide-beginners__btn-secondary:hover {
  background-color: var(--win50-secondary);
}

.page-blog-win50-game-guide-beginners__game-list,
.page-blog-win50-game-guide-beginners__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-blog-win50-game-guide-beginners__list-item {
  background-color: var(--win50-card-bg);
  border: 1px solid var(--win50-divider);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-blog-win50-game-guide-beginners__list-title {
  font-size: 1.3em;
  color: var(--win50-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-blog-win50-game-guide-beginners__list-text {
  color: var(--win50-text-secondary);
  font-size: 1em;
}

.page-blog-win50-game-guide-beginners__faq-list {
  margin-top: 40px;
}

.page-blog-win50-game-guide-beginners__faq-item {
  background-color: var(--win50-card-bg);
  border: 1px solid var(--win50-divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-win50-game-guide-beginners__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--win50-text-main);
  background-color: var(--win50-deep-green);
  transition: background-color 0.3s ease;
}

.page-blog-win50-game-guide-beginners__faq-question:hover {
  background-color: var(--win50-primary);
}

.page-blog-win50-game-guide-beginners__faq-qtext {
  flex-grow: 1;
}

.page-blog-win50-game-guide-beginners__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--win50-gold);
}

.page-blog-win50-game-guide-beginners__faq-answer {
  padding: 0 25px 20px;
  color: var(--win50-text-secondary);
  font-size: 1em;
  line-height: 1.7;
  /* For details tag, browser handles visibility */
}

.page-blog-win50-game-guide-beginners__faq-item[open] > .page-blog-win50-game-guide-beginners__faq-question {
  background-color: var(--win50-primary);
}

.page-blog-win50-game-guide-beginners__conclusion-cta {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-win50-game-guide-beginners__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-blog-win50-game-guide-beginners__hero-content {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .page-blog-win50-game-guide-beginners {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-win50-game-guide-beginners__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-win50-game-guide-beginners__hero-content {
    padding: 30px 15px;
    margin-top: 80px;
  }

  .page-blog-win50-game-guide-beginners__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-blog-win50-game-guide-beginners__hero-description {
    font-size: 1em;
  }

  .page-blog-win50-game-guide-beginners__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-blog-win50-game-guide-beginners__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-blog-win50-game-guide-beginners__section {
    padding: 40px 0;
  }

  .page-blog-win50-game-guide-beginners__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-win50-game-guide-beginners__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-win50-game-guide-beginners__card {
    padding: 25px;
  }

  .page-blog-win50-game-guide-beginners__card-title {
    font-size: 1.3em;
  }

  .page-blog-win50-game-guide-beginners__game-list,
  .page-blog-win50-game-guide-beginners__tips-list {
    margin: 30px 0;
  }

  .page-blog-win50-game-guide-beginners__list-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-blog-win50-game-guide-beginners__list-title {
    font-size: 1.2em;
  }

  .page-blog-win50-game-guide-beginners__faq-question {
    padding: 18px 20px;
    font-size: 1.1em;
  }

  .page-blog-win50-game-guide-beginners__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-blog-win50-game-guide-beginners img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-win50-game-guide-beginners__section,
  .page-blog-win50-game-guide-beginners__card,
  .page-blog-win50-game-guide-beginners__container,
  .page-blog-win50-game-guide-beginners__hero-section,
  .page-blog-win50-game-guide-beginners__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by container */
    /* padding-right: 15px; */ /* Handled by container */
    overflow-x: hidden !important;
  }

  .page-blog-win50-game-guide-beginners__cta-button,
  .page-blog-win50-game-guide-beginners__btn-primary,
  .page-blog-win50-game-guide-beginners__btn-secondary,
  .page-blog-win50-game-guide-beginners a[class*="button"],
  .page-blog-win50-game-guide-beginners 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;
    text-align: center;
  }
  
  .page-blog-win50-game-guide-beginners__cta-buttons,
  .page-blog-win50-game-guide-beginners__button-group,
  .page-blog-win50-game-guide-beginners__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; /* Ensure vertical stacking for multiple buttons */
  }
}

@media (max-width: 480px) {
  .page-blog-win50-game-guide-beginners__hero-content {
    margin-top: 60px;
  }
  .page-blog-win50-game-guide-beginners__main-title {
    font-size: 1.8em;
  }
  .page-blog-win50-game-guide-beginners__section-title {
    font-size: 1.8em;
  }
}

/* Details/Summary reset for native arrow */
.page-blog-win50-game-guide-beginners__faq-item summary {
  list-style: none;
}
.page-blog-win50-game-guide-beginners__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Ensure contrast for all text */
p, li, span, a {
  color: var(--win50-text-main);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--win50-gold);
}

/* Specific contrast adjustments if needed */
.page-blog-win50-game-guide-beginners__dark-section .page-blog-win50-game-guide-beginners__text-block {
  color: var(--win50-text-secondary);
}

.page-blog-win50-game-guide-beginners__dark-section .page-blog-win50-game-guide-beginners__list-item .page-blog-win50-game-guide-beginners__list-text {
  color: var(--win50-text-secondary);
}

.page-blog-win50-game-guide-beginners__dark-section .page-blog-win50-game-guide-beginners__list-item .page-blog-win50-game-guide-beginners__list-title {
  color: var(--win50-gold);
}