/* style/blog-how-to-choose-games.css */

/* Body background color from shared.css: var(--background-color) */
/* This page uses a dark background from custom colors for main sections, 
   so text should be light. */

.page-blog-how-to-choose-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-blog-how-to-choose-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #08160F 0%, #11271B 100%); /* Adjusted to custom colors */
  color: #F2FFF6;
}

.page-blog-how-to-choose-games__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-blog-how-to-choose-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Deep Green background for readability */
  border-radius: 10px;
}

.page-blog-how-to-choose-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-how-to-choose-games__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog-how-to-choose-games__section {
  padding: 60px 20px;
  text-align: center;
}

.page-blog-how-to-choose-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.page-blog-how-to-choose-games__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-blog-how-to-choose-games__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-blog-how-to-choose-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-weight: bold;
  text-align: center;
}

.page-blog-how-to-choose-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-blog-how-to-choose-games__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-how-to-choose-games__card--dark {
  background-color: #0A4B2C; /* Deep Green */
  border-color: #2E7A4E;
}

.page-blog-how-to-choose-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-how-to-choose-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-how-to-choose-games__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-how-to-choose-games__card p {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-how-to-choose-games__game-category {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-how-to-choose-games__category-title {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-blog-how-to-choose-games__category-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-how-to-choose-games__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-blog-how-to-choose-games__list li {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-blog-how-to-choose-games__list li::before {
  content: '✓';
  color: #57E38D; /* Glow */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-blog-how-to-choose-games__list-with-icons {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-blog-how-to-choose-games__list-with-icons li {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-blog-how-to-choose-games__list-with-icons li h3 {
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-size: 1.4em;
}

.page-blog-how-to-choose-games__list-with-icons li p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-blog-how-to-choose-games__btn-primary,
.page-blog-how-to-choose-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-how-to-choose-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom color */
  color: #ffffff;
  border: none;
}

.page-blog-how-to-choose-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-how-to-choose-games__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-blog-how-to-choose-games__btn-secondary:hover {
  background: #57E38D; /* Glow */\  color: #08160F; /* Background */
}

.page-blog-how-to-choose-games__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.page-blog-how-to-choose-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-blog-how-to-choose-games__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-how-to-choose-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-how-to-choose-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-how-to-choose-games__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-blog-how-to-choose-games__faq-toggle {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
}

.page-blog-how-to-choose-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
}

.page-blog-how-to-choose-games__faq-item[open] .page-blog-how-to-choose-games__faq-question {
  background-color: #1E3A2A; /* Divider */
}

.page-blog-how-to-choose-games__cta-section {
  background: linear-gradient(180deg, #11271B 0%, #08160F 100%); /* Adjusted to custom colors */
  padding: 80px 20px;
}

.page-blog-how-to-choose-games__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-how-to-choose-games__hero-content {
    padding: 15px;
  }
  .page-blog-how-to-choose-games__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
  .page-blog-how-to-choose-games__hero-description {
    font-size: 1.1em;
  }
  .page-blog-how-to-choose-games__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }
  .page-blog-how-to-choose-games__grid {
    gap: 20px;
  }
  .page-blog-how-to-choose-games__card-image {
    height: 180px;
  }
  .page-blog-how-to-choose-games__card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-choose-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-blog-how-to-choose-games__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }
  .page-blog-how-to-choose-games__hero-description {
    font-size: 1em;
  }
  .page-blog-how-to-choose-games__section-title {
    font-size: clamp(1.4em, 5vw, 2.2em);
  }
  .page-blog-how-to-choose-games__content-area,
  .page-blog-how-to-choose-games__section {
    padding: 30px 15px;
  }
  .page-blog-how-to-choose-games__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-blog-how-to-choose-games__card {
    padding: 20px;
  }
  .page-blog-how-to-choose-games__card-image {
    height: 150px;
  }
  .page-blog-how-to-choose-games__game-category {
    padding: 20px;
  }
  .page-blog-how-to-choose-games__category-title {
    font-size: 1.5em;
  }
  .page-blog-how-to-choose-games__text-block,
  .page-blog-how-to-choose-games__list li,
  .page-blog-how-to-choose-games__list-with-icons li p {
    font-size: 0.95em;
  }
  .page-blog-how-to-choose-games__list-with-icons li h3 {
    font-size: 1.2em;
  }
  .page-blog-how-to-choose-games__btn-primary,
  .page-blog-how-to-choose-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
  }
  .page-blog-how-to-choose-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-blog-how-to-choose-games__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-blog-how-to-choose-games__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Mobile responsive image styles */
  .page-blog-how-to-choose-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-how-to-choose-games__section,
  .page-blog-how-to-choose-games__card,
  .page-blog-how-to-choose-games__container,
  .page-blog-how-to-choose-games__game-category,
  .page-blog-how-to-choose-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-how-to-choose-games__hero-section {
    overflow: hidden !important; /* Ensure hero section does not overflow */
  }
}

/* Ensure images are at least 200px wide in content areas */
.page-blog-how-to-choose-games__content-area img,
.page-blog-how-to-choose-games__card-image,
.page-blog-how-to-choose-games__category-image {
  min-width: 200px;
  min-height: 200px;
}

/* No filter properties for images */
.page-blog-how-to-choose-games img {
  filter: none; /* Ensure no CSS filters are applied */
}