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

.page-blog-top-card-games-2024 {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--body-bg); /* Body background from custom colors */
  line-height: 1.6;
}

.page-blog-top-card-games-2024__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-top-card-games-2024__container--center {
  text-align: center;
}

.page-blog-top-card-games-2024__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-blog-top-card-games-2024__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-blog-top-card-games-2024__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-blog-top-card-games-2024__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

/* HERO Section */
.page-blog-top-card-games-2024__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--deep-green);
}

.page-blog-top-card-games-2024__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-blog-top-card-games-2024__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-blog-top-card-games-2024__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--border-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-blog-top-card-games-2024__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog-top-card-games-2024__main-title {
  font-weight: 800;
  color: var(--gold-color);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  /* font-size handled by clamp in shared or relative to viewport */
}

.page-blog-top-card-games-2024__intro-text {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-blog-top-card-games-2024__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-blog-top-card-games-2024__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
}

.page-blog-top-card-games-2024__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
  margin-top: 20px;
}

.page-blog-top-card-games-2024__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
  margin-top: 40px;
}

/* Why Choose Section */
.page-blog-top-card-games-2024__why-choose {
  background-color: var(--body-bg);
}

.page-blog-top-card-games-2024__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-blog-top-card-games-2024__text-block {
  flex: 1;
  text-align: left;
  font-size: 17px;
  color: var(--text-secondary);
}

.page-blog-top-card-games-2024__text-block p {
  margin-bottom: 15px;
}

.page-blog-top-card-games-2024__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-top-card-games-2024__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-top-card-games-2024__image-block--center {
  margin-top: 40px;
  flex: none;
  width: 100%;
}

/* Top Games Section */
.page-blog-top-card-games-2024__top-games {
  background-color: var(--card-bg);
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-blog-top-card-games-2024__game-item {
  background: var(--deep-green);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-top-card-games-2024__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-blog-top-card-games-2024__game-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-top-card-games-2024__game-item p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Reputable Factors Section */
.page-blog-top-card-games-2024__reputable-factors {
  background-color: var(--body-bg);
}

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

.page-blog-top-card-games-2024__card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-blog-top-card-games-2024__card:hover {
  transform: translateY(-5px);
}

.page-blog-top-card-games-2024__factor-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-top-card-games-2024__factor-item p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Winning Tips Section */
.page-blog-top-card-games-2024__winning-tips {
  background-color: var(--deep-green);
}

.page-blog-top-card-games-2024__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-top-card-games-2024__tip-item {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-top-card-games-2024__tip-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-blog-top-card-games-2024__tip-item p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Latest Blog Section */
.page-blog-top-card-games-2024__latest-blog {
  background-color: var(--body-bg);
}

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

.page-blog-top-card-games-2024__blog-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-top-card-games-2024__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-blog-top-card-games-2024__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 25px;
}

.page-blog-top-card-games-2024__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-blog-top-card-games-2024__blog-excerpt {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-blog-top-card-games-2024__blog-date {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.7;
  display: block;
}

.page-blog-top-card-games-2024__view-all {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-top-card-games-2024__faq-section {
  background-color: var(--card-bg);
}

.page-blog-top-card-games-2024__faq-list {
  margin-top: 40px;
}

details.page-blog-top-card-games-2024__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--deep-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-blog-top-card-games-2024__faq-item summary.page-blog-top-card-games-2024__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-blog-top-card-games-2024__faq-item summary.page-blog-top-card-games-2024__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-top-card-games-2024__faq-item summary.page-blog-top-card-games-2024__faq-question:hover {
  background: rgba(var(--primary-color), 0.2);
}

.page-blog-top-card-games-2024__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-blog-top-card-games-2024__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--glow-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog-top-card-games-2024__faq-item .page-blog-top-card-games-2024__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-bg);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
  font-size: 16px;
}

.page-blog-top-card-games-2024__faq-answer p {
  margin: 0;
}

/* CTA Bottom Section */
.page-blog-top-card-games-2024__cta-bottom {
  background-color: var(--deep-green);
  padding-bottom: 80px;
}

.page-blog-top-card-games-2024__container--center .page-blog-top-card-games-2024__section-title {
  margin-bottom: 15px;
}

.page-blog-top-card-games-2024__image-block--cta {
  margin-top: 50px;
}

/* General image styling to prevent filter */
.page-blog-top-card-games-2024 img {
  filter: none; /* Ensure no CSS filter is applied */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-top-card-games-2024__main-title {
    font-size: clamp(32px, 5vw, 48px);
  }
  .page-blog-top-card-games-2024__intro-text {
    font-size: 18px;
  }
  .page-blog-top-card-games-2024__section-title {
    font-size: 32px;
  }
  .page-blog-top-card-games-2024__text-block p, .page-blog-top-card-games-2024__game-item p, .page-blog-top-card-games-2024__factor-item p, .page-blog-top-card-games-2024__tip-item p, .page-blog-top-card-games-2024__blog-excerpt, .page-blog-top-card-games-2024__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-top-card-games-2024__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-top-card-games-2024__main-title {
    font-size: clamp(28px, 7vw, 40px); /* Smaller clamp for mobile */
  }

  .page-blog-top-card-games-2024__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-blog-top-card-games-2024__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-top-card-games-2024__section {
    padding: 40px 0;
  }

  .page-blog-top-card-games-2024__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-blog-top-card-games-2024__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-blog-top-card-games-2024__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  
  .page-blog-top-card-games-2024__image-block img,
  .page-blog-top-card-games-2024__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  .page-blog-top-card-games-2024__container,
  .page-blog-top-card-games-2024__section,
  .page-blog-top-card-games-2024__card,
  .page-blog-top-card-games-2024__game-item,
  .page-blog-top-card-games-2024__tip-item,
  .page-blog-top-card-games-2024__blog-card,
  .page-blog-top-card-games-2024__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-top-card-games-2024__game-list,
  .page-blog-top-card-games-2024__factors-grid,
  .page-blog-top-card-games-2024__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-top-card-games-2024__game-title {
    font-size: 20px;
  }

  .page-blog-top-card-games-2024__factor-title,
  .page-blog-top-card-games-2024__tip-title,
  .page-blog-top-card-games-2024__blog-title {
    font-size: 18px;
  }

  details.page-blog-top-card-games-2024__faq-item summary.page-blog-top-card-games-2024__faq-question {
    padding: 15px;
  }

  .page-blog-top-card-games-2024__faq-qtext {
    font-size: 16px;
  }

  .page-blog-top-card-games-2024__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

  details.page-blog-top-card-games-2024__faq-item .page-blog-top-card-games-2024__faq-answer {
    padding: 0 15px 15px;
  }

  .page-blog-top-card-games-2024__cta-button--large {
    padding: 15px 35px;
    font-size: 18px;
  }
}