/* style/blog-af88-card-game-beginner-guide.css */
/* Custom Colors */
:root {
  --af88-primary: #11A84E;
  --af88-secondary: #22C768;
  --af88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --af88-card-bg: #11271B;
  --af88-background: #08160F;
  --af88-text-main: #F2FFF6;
  --af88-text-secondary: #A7D9B8;
  --af88-border: #2E7A4E;
  --af88-glow: #57E38D;
  --af88-gold: #F2C14E;
  --af88-divider: #1E3A2A;
  --af88-deep-green: #0A4B2C;
}

.page-blog-af88-card-game-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: var(--af88-text-main); /* Light text for dark background */
  background-color: var(--af88-background); /* Dark background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-blog-af88-card-game-beginner-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--af88-background); /* Ensure background for the whole section */
  position: relative;
  overflow: hidden;
}

.page-blog-af88-card-game-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image for better layout */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-blog-af88-card-game-beginner-guide__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  background-color: var(--af88-background); /* Ensure content block has background */
  width: 100%; /* Ensure it spans full width of container */
}

.page-blog-af88-card-game-beginner-guide__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--af88-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-af88-card-game-beginner-guide__description {
  font-size: 1.2em;
  color: var(--af88-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-af88-card-game-beginner-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-af88-card-game-beginner-guide__btn-primary,
.page-blog-af88-card-game-beginner-guide__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-af88-card-game-beginner-guide__btn-primary {
  background: var(--af88-button-gradient);
  color: #ffffff;
  border: none;
}

.page-blog-af88-card-game-beginner-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-af88-card-game-beginner-guide__btn-secondary {
  background-color: transparent;
  color: var(--af88-primary);
  border: 2px solid var(--af88-primary);
}

.page-blog-af88-card-game-beginner-guide__btn-secondary:hover {
  background-color: var(--af88-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

/* General Sections */
.page-blog-af88-card-game-beginner-guide__introduction-section,
.page-blog-af88-card-game-beginner-guide__benefits-section,
.page-blog-af88-card-game-beginner-guide__guide-section,
.page-blog-af88-card-game-beginner-guide__strategy-section,
.page-blog-af88-card-game-beginner-guide__responsible-gaming-section,
.page-blog-af88-card-game-beginner-guide__faq-section,
.page-blog-af88-card-game-beginner-guide__cta-section {
  padding: 60px 0;
}

.page-blog-af88-card-game-beginner-guide__dark-bg {
  background-color: var(--af88-card-bg); /* Darker background for contrast */
  color: var(--af88-text-main);
}

.page-blog-af88-card-game-beginner-guide__section-title {
  font-size: 2.5em;
  color: var(--af88-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-blog-af88-card-game-beginner-guide p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--af88-text-secondary);
}

/* Benefits Section */
.page-blog-af88-card-game-beginner-guide__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-af88-card-game-beginner-guide__benefit-card,
.page-blog-af88-card-game-beginner-guide__step-card,
.page-blog-af88-card-game-beginner-guide__card {
  background-color: var(--af88-card-bg);
  border: 1px solid var(--af88-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-af88-card-game-beginner-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-af88-card-game-beginner-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-af88-card-game-beginner-guide__card-title {
  font-size: 1.6em;
  color: var(--af88-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Strategy List */
.page-blog-af88-card-game-beginner-guide__strategy-list,
.page-blog-af88-card-game-beginner-guide__responsible-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-blog-af88-card-game-beginner-guide__strategy-list li,
.page-blog-af88-card-game-beginner-guide__responsible-list li {
  background-color: var(--af88-card-bg);
  border: 1px solid var(--af88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  font-size: 1.1em;
  color: var(--af88-text-secondary);
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-blog-af88-card-game-beginner-guide__strategy-list li strong,
.page-blog-af88-card-game-beginner-guide__responsible-list li strong {
  color: var(--af88-primary);
  margin-right: 10px;
  flex-shrink: 0;
}

/* FAQ Section */
.page-blog-af88-card-game-beginner-guide__faq-list {
  margin-top: 30px;
}

.page-blog-af88-card-game-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--af88-card-bg);
  border: 1px solid var(--af88-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-af88-card-game-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--af88-deep-green); /* Slightly different background for question */
  color: var(--af88-text-main);
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-blog-af88-card-game-beginner-guide__faq-question:hover {
  background-color: var(--af88-primary);
}

.page-blog-af88-card-game-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--af88-glow);
}

/* For <details> tag, we hide the default marker */
.page-blog-af88-card-game-beginner-guide__faq-item summary {
  list-style: none;
}
.page-blog-af88-card-game-beginner-guide__faq-item summary::-webkit-details-marker {
  display: none;
}
/* When details is open, adjust padding and max-height for answer */
.page-blog-af88-card-game-beginner-guide__faq-item[open] .page-blog-af88-card-game-beginner-guide__faq-answer {
  max-height: 1000px; /* Arbitrary large value for expansion */
  padding-top: 15px;
}
.page-blog-af88-card-game-beginner-guide__faq-item[open] .page-blog-af88-card-game-beginner-guide__faq-question {
  background-color: var(--af88-primary);
}

.page-blog-af88-card-game-beginner-guide__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--af88-text-secondary);
  font-size: 1.05em;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

/* CTA Section */
.page-blog-af88-card-game-beginner-guide__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-blog-af88-card-game-beginner-guide__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  display: block;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-af88-card-game-beginner-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-af88-card-game-beginner-guide__hero-section {
    padding-top: 10px !important; /* body already handles header-offset */
    padding-bottom: 40px;
  }
  .page-blog-af88-card-game-beginner-guide__hero-content {
    padding: 30px 15px;
  }
  .page-blog-af88-card-game-beginner-guide__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-blog-af88-card-game-beginner-guide__description {
    font-size: 1em;
  }
  .page-blog-af88-card-game-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-af88-card-game-beginner-guide__btn-primary,
  .page-blog-af88-card-game-beginner-guide__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-af88-card-game-beginner-guide__introduction-section,
  .page-blog-af88-card-game-beginner-guide__benefits-section,
  .page-blog-af88-card-game-beginner-guide__guide-section,
  .page-blog-af88-card-game-beginner-guide__strategy-section,
  .page-blog-af88-card-game-beginner-guide__responsible-gaming-section,
  .page-blog-af88-card-game-beginner-guide__faq-section,
  .page-blog-af88-card-game-beginner-guide__cta-section {
    padding: 40px 0;
  }
  .page-blog-af88-card-game-beginner-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog-af88-card-game-beginner-guide p {
    font-size: 1em;
  }
  .page-blog-af88-card-game-beginner-guide__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-blog-af88-card-game-beginner-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-blog-af88-card-game-beginner-guide__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px 20px;
  }

  /* Images responsiveness for mobile */
  .page-blog-af88-card-game-beginner-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-af88-card-game-beginner-guide__hero-image-wrapper,
  .page-blog-af88-card-game-beginner-guide__container,
  .page-blog-af88-card-game-beginner-guide__benefits-grid,
  .page-blog-af88-card-game-beginner-guide__benefit-card,
  .page-blog-af88-card-game-beginner-guide__step-card,
  .page-blog-af88-card-game-beginner-guide__card,
  .page-blog-af88-card-game-beginner-guide__faq-item,
  .page-blog-af88-card-game-beginner-guide__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Remove padding for hero image wrapper as image itself has max-width */
  .page-blog-af88-card-game-beginner-guide__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-blog-af88-card-game-beginner-guide__main-title {
    font-size: clamp(1.5em, 10vw, 2em);
  }
  .page-blog-af88-card-game-beginner-guide__section-title {
    font-size: 1.5em;
  }
}