/* style/resources-latest-j88-promotions.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --register-login-font-color: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

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

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

.page-resources-latest-j88-promotions__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-latest-j88-promotions__section-title--light {
  color: var(--text-light);
}

.page-resources-latest-j88-promotions__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-j88-promotions__section-description--light {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.page-resources-latest-j88-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #339966 100%); /* Green gradient */
  color: var(--text-light);
  overflow: hidden;
}

.page-resources-latest-j88-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 0 20px;
}

.page-resources-latest-j88-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 900px; /* Adjust based on desired visual balance */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-j88-promotions__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}