/* style/blog-top-win777-game-recommendations.css */

:root {
  --win777-primary-color: #11A84E;
  --win777-secondary-color: #22C768;
  --win777-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --win777-card-bg: #11271B;
  --win777-background: #08160F;
  --win777-text-main: #F2FFF6;
  --win777-text-secondary: #A7D9B8;
  --win777-border-color: #2E7A4E;
  --win777-glow-color: #57E38D;
  --win777-gold-color: #F2C14E;
  --win777-divider-color: #1E3A2A;
  --win777-deep-green: #0A4B2C;
}

.page-blog-top-win777-game-recommendations {
  font-family: Arial, sans-serif;
  color: var(--win777-text-main); /* Default text color for the page */
  background-color: var(--win777-background); /* Page background */
}

/* Hero Section */
.page-blog-top-win777-game-recommendations__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--win777-deep-green);
}

.page-blog-top-win777-game-recommendations__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-top-win777-game-recommendations__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-top-win777-game-recommendations__hero-content {
  max-width: 900px;
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
  color: var(--win777-text-main);
}

.page-blog-top-win777-game-recommendations__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: bold;
  line-height: 1.2;
  color: var(--win777-text-main);
  margin-bottom: 20px;
}

.page-blog-top-win777-game-recommendations__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--win777-text-secondary);
}

/* CTA Button */
.page-blog-top-win777-game-recommendations__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-top-win777-game-recommendations__btn-primary {
  background: var(--win777-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-top-win777-game-recommendations__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-top-win777-game-recommendations__btn-secondary {
  background: var(--win777-card-bg);
  color: var(--win777-primary-color);
  border: 2px solid var(--win777-primary-color);
}

.page-blog-top-win777-game-recommendations__btn-secondary:hover {
  background: var(--win777-primary-color);
  color: var(--win777-text-main);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-blog-top-win777-game-recommendations__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--win777-background);
  color: var(--win777-text-secondary);
}

.page-blog-top-win777-game-recommendations__content-area p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05rem;
  color: var(--win777-text-secondary);
}

.page-blog-top-win777-game-recommendations__content-area h2,
.page-blog-top-win777-game-recommendations__content-area h3 {
  color: var(--win777-text-main);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-blog-top-win777-game-recommendations__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  color: var(--win777-text-main);
  margin-bottom: 40px;
}

.page-blog-top-win777-game-recommendations__game-grid,
.page-blog-top-win777-game-recommendations__steps-container,
.page-blog-top-win777-game-recommendations__features-grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.page-blog-top-win777-game-recommendations__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-blog-top-win777-game-recommendations__steps-container {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-blog-top-win777-game-recommendations__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-blog-top-win777-game-recommendations__game-card,
.page-blog-top-win777-game-recommendations__step-card,
.page-blog-top-win777-game-recommendations__feature-item,
.page-blog-top-win777-game-recommendations__card {
  background-color: var(--win777-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--win777-text-secondary);
  border: 1px solid var(--win777-border-color);
}

.page-blog-top-win777-game-recommendations__game-image,
.page-blog-top-win777-game-recommendations__step-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-top-win777-game-recommendations__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}

.page-blog-top-win777-game-recommendations__game-title,
.page-blog-top-win777-game-recommendations__step-title,
.page-blog-top-win777-game-recommendations__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--win777-text-main);
}

.page-blog-top-win777-game-recommendations__game-title a,
.page-blog-top-win777-game-recommendations__step-title a {
  color: var(--win777-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-top-win777-game-recommendations__game-title a:hover,
.page-blog-top-win777-game-recommendations__step-title a:hover {
  color: var(--win777-gold-color);
}

.page-blog-top-win777-game-recommendations__game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-top-win777-game-recommendations__faq-list {
  margin-top: 40px;
}

.page-blog-top-win777-game-recommendations__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--win777-card-bg);
  border: 1px solid var(--win777-border-color);
}

.page-blog-top-win777-game-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--win777-deep-green);
  color: var(--win777-text-main);
  font-weight: bold;
  font-size: 1.1rem;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-blog-top-win777-game-recommendations__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-top-win777-game-recommendations__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-blog-top-win777-game-recommendations__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  line-height: 1;
}

.page-blog-top-win777-game-recommendations__faq-answer {
  padding: 0 25px 20px;
  color: var(--win777-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-top-win777-game-recommendations__faq-item[open] .page-blog-top-win777-game-recommendations__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

/* Fallback for non-details/summary */
.page-blog-top-win777-game-recommendations__faq-item.active .page-blog-top-win777-game-recommendations__faq-answer {
  max-height: 500px !important;
  padding-top: 15px;
}

.page-blog-top-win777-game-recommendations__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-blog-top-win777-game-recommendations__text-link {
  color: var(--win777-primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-blog-top-win777-game-recommendations__text-link:hover {
  color: var(--win777-gold-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-top-win777-game-recommendations__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-blog-top-win777-game-recommendations__steps-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog-top-win777-game-recommendations__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-top-win777-game-recommendations__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-blog-top-win777-game-recommendations__main-title {
    font-size: 2rem;
  }

  .page-blog-top-win777-game-recommendations__description {
    font-size: 1rem;
  }

  .page-blog-top-win777-game-recommendations__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100% !important; /* Ensure full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-top-win777-game-recommendations__content-area {
    padding: 40px 15px;
  }

  .page-blog-top-win777-game-recommendations__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-top-win777-game-recommendations__game-grid,
  .page-blog-top-win777-game-recommendations__steps-container,
  .page-blog-top-win777-game-recommendations__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-top-win777-game-recommendations__game-image,
  .page-blog-top-win777-game-recommendations__step-image,
  .page-blog-top-win777-game-recommendations__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-top-win777-game-recommendations__game-card,
  .page-blog-top-win777-game-recommendations__step-card,
  .page-blog-top-win777-game-recommendations__feature-item,
  .page-blog-top-win777-game-recommendations__card,
  .page-blog-top-win777-game-recommendations__content-area,
  .page-blog-top-win777-game-recommendations__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-blog-top-win777-game-recommendations__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  
  .page-blog-top-win777-game-recommendations__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-blog-top-win777-game-recommendations__cta-buttons {
    display: flex;
    flex-direction: column; 
    gap: 10px;
  }

  /* Ensure content images are not smaller than 200px */
  .page-blog-top-win777-game-recommendations img:not(.page-blog-top-win777-game-recommendations__feature-icon) {
    min-width: 200px;
    min-height: 200px;
  }
  /* Specific override for game/step images to ensure min size if height auto makes them too small */
  .page-blog-top-win777-game-recommendations__game-image,
  .page-blog-top-win777-game-recommendations__step-image {
    height: 200px !important;
  }
}

/* General image responsiveness, ensuring no filter */
.page-blog-top-win777-game-recommendations img {
  max-width: 100%;
  height: auto;
  display: block;
  /* filter: none; -- explicitly ensure no filter is applied */
}

/* Ensure content images are at least 200x200px where applicable */
.page-blog-top-win777-game-recommendations__game-image,
.page-blog-top-win777-game-recommendations__step-image {
  min-width: 200px;
  min-height: 200px;
}

.page-blog-top-win777-game-recommendations__feature-icon {
  min-width: 100px; /* Feature icons can be smaller, but still not tiny */
  min-height: 100px;
}

/* Color contrast safety */
.page-blog-top-win777-game-recommendations__dark-bg {
  background-color: var(--win777-deep-green);
  color: var(--win777-text-main);
}

.page-blog-top-win777-game-recommendations__light-bg {
  background-color: var(--win777-background);
  color: var(--win777-text-secondary);
}

.page-blog-top-win777-game-recommendations__card {
  background-color: var(--win777-card-bg);
  color: var(--win777-text-secondary);
  border: 1px solid var(--win777-border-color);
}

.page-blog-top-win777-game-recommendations__card h3, .page-blog-top-win777-game-recommendations__card a {
  color: var(--win777-text-main);
}

.page-blog-top-win777-game-recommendations__card p {
  color: var(--win777-text-secondary);
}