/* style/resources-j88-latest-betting-trends.css */

:root {
  --j88-primary-color: #017439;
  --j88-secondary-color: #FFFFFF;
  --j88-register-login-button-bg: #C30808;
  --j88-register-login-font-color: #FFFF00;
  --j88-body-background: #1a1a2e; /* From shared.css, used for contrast calculation */
  --j88-dark-text-color: #333333;
  --j88-light-text-color: #ffffff;
}

.page-resources-j88-latest-betting-trends {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--j88-light-text-color); /* Default text color for dark body background */
  background-color: var(--j88-body-background);
}

.page-resources-j88-latest-betting-trends__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* shared.css handles body padding-top, so this should be 0 */
  color: var(--j88-light-text-color);
}

.page-resources-j88-latest-betting-trends__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-j88-latest-betting-trends__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-j88-latest-betting-trends__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-j88-latest-betting-trends__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--j88-light-text-color);
}

.page-resources-j88-latest-betting-trends__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--j88-light-text-color);
}

.page-resources-j88-latest-betting-trends__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-j88-latest-betting-trends__content-section {
  padding: 60px 0;
  background-color: var(--j88-secondary-color);
  color: var(--j88-dark-text-color);
}

.page-resources-j88-latest-betting-trends__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-j88-latest-betting-trends__section-title {
  font-size: 2.5em;
  color: var(--j88-primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-resources-j88-latest-betting-trends__sub-title {
  font-size: 1.8em;
  color: var(--j88-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-j88-latest-betting-trends__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--j88-dark-text-color);
}

.page-resources-j88-latest-betting-trends__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-resources-j88-latest-betting-trends__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-resources-j88-latest-betting-trends__image-text-block .page-resources-j88-latest-betting-trends__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-resources-j88-latest-betting-trends__image-text-block .page-resources-j88-latest-betting-trends__text-content {
  flex: 1;
  max-width: 50%;
}

.page-resources-j88-latest-betting-trends__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-resources-j88-latest-betting-trends__game-card {
  background-color: var(--j88-body-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 30px;
  color: var(--j88-light-text-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}