/* style/blog-top-trusted-card-games.css */
.page-blog-top-trusted-card-games {
  color: #333333; /* Default text color for light body background */
  background-color: var(--background-color, #ffffff); /* Ensure it respects shared body background */
}

.page-blog-top-trusted-card-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  background-color: #f5f5f5; /* Light background for hero section */
}

.page-blog-top-trusted-card-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  margin-bottom: 20px;
}

.page-blog-top-trusted-card-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-top-trusted-card-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-top-trusted-card-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #017439; /* Brand color for H1 */
  margin-bottom: 15px;
}

.page-blog-top-trusted-card-games__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

.page-blog-top-trusted-card-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-blog-top-trusted-card-games__btn-primary,
.page-blog-top-trusted-card-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-blog-top-trusted-card-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-blog-top-trusted-card-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-blog-top-trusted-card-games__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand color */
  border: 2px solid #017439;
}

.page-blog-top-trusted-card-games__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-blog-top-trusted-card-games__section {
  padding: 60px 20px;
}

.page-blog-top-trusted-card-games__dark-section {
  background-color: #017439; /* Brand color as dark background */
  color: #ffffff; /* White text for dark background */
}

.page-blog-top-trusted-card-games__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog-top-trusted-card-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #017439; /* Brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-blog-top-trusted-card-games__dark-section .page-blog-top-trusted-card-games__section-title {
  color: #ffffff;
}

.page-blog-top-trusted-card-games__intro-section p,
.page-blog-top-trusted-card-games__criteria-section p,
.page-blog-top-trusted-card-games__games-section p,
.page-blog-top-trusted-card-games__guide-section p,
.page-blog-top-trusted-card-games__conclusion-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-blog-top-trusted-card-games__highlight {
  font-weight: 700;
  color: #017439;
}

.page-blog-top-trusted-card-games__dark-section .page-blog-top-trusted-card-games__highlight {
  color: #FFFF00; /* Yellow highlight on dark background */
}

.page-blog-top-trusted-card-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-top-trusted-card-games__card {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-blog-top-trusted-card-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-top-trusted-card-games__card-icon {
  width: 100%;
  max-width: 400px; /* Ensure image is not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-top-trusted-card-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-blog-top-trusted-card-games__card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

.page-blog-top-trusted-card-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-top-trusted-card-games__game-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-top-trusted-card-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-blog-top-trusted-card-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-blog-top-trusted-card-games__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog-top-trusted-card-games__game-title a {
  color: #017439;
  text-decoration: none;
}

.page-blog-top-trusted-card-games__game-title a:hover {
  text-decoration: underline;
}

.page-blog-top-trusted-card-games__game-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

.page-blog-top-trusted-card-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-blog-top-trusted-card-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-top-trusted-card-games__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.page-blog-top-trusted-card-games__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-blog-top-trusted-card-games__step-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog-top-trusted-card-games__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-top-trusted-card-games__btn-link:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-blog-top-trusted-card-games__faq-list {
  margin-top: 30px;
}

.page-blog-top-trusted-card-games__faq-item {
  background-color: #ffffff; /* White background for FAQ items */
  color: #333333; /* Dark text for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-blog-top-trusted-card-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none; /* Remove default marker for summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-blog-top-trusted-card-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-top-trusted-card-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-top-trusted-card-games__faq-item[open] .page-blog-top-trusted-card-games__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-top-trusted-card-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-blog-top-trusted-card-games__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section specific styles */
.page-blog-top-trusted-card-games__conclusion-section {
  text-align: center;
}

.page-blog-top-trusted-card-games__conclusion-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-top-trusted-card-games__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-blog-top-trusted-card-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-blog-top-trusted-card-games__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-blog-top-trusted-card-games__section {
    padding: 40px 15px;
  }

  .page-blog-top-trusted-card-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem); /* Further adjust for smaller screens */
  }

  .page-blog-top-trusted-card-games__description {
    font-size: 1rem;
  }

  .page-blog-top-trusted-card-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-top-trusted-card-games__btn-primary,
  .page-blog-top-trusted-card-games__btn-secondary,
  .page-blog-top-trusted-card-games__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 0 auto; /* Center buttons when stacked */
  }

  .page-blog-top-trusted-card-games__grid,
  .page-blog-top-trusted-card-games__game-list,
  .page-blog-top-trusted-card-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-top-trusted-card-games__card,
  .page-blog-top-trusted-card-games__game-card,
  .page-blog-top-trusted-card-games__step-card {
    padding: 20px;
  }

  .page-blog-top-trusted-card-games__card-icon,
  .page-blog-top-trusted-card-games__game-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-top-trusted-card-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-top-trusted-card-games__section,
  .page-blog-top-trusted-card-games__card,
  .page-blog-top-trusted-card-games__container,
  .page-blog-top-trusted-card-games__hero-image-wrapper,
  .page-blog-top-trusted-card-games__hero-content,
  .page-blog-top-trusted-card-games__game-card,
  .page-blog-top-trusted-card-games__step-card,
  .page-blog-top-trusted-card-games__cta-buttons,
  .page-blog-top-trusted-card-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-blog-top-trusted-card-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-top-trusted-card-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }
}