/* style/latest-jackpot-games.css */

/* Base Styles */
.page-latest-jackpot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

.page-latest-jackpot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-latest-jackpot-games__section {
  padding: 60px 0;
  background-color: #ffffff; /* Default section background */
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-latest-jackpot-games__section:nth-child(even) {
  background-color: #f0f8ff; /* Alternating light blue background for visual separation */
}

.page-latest-jackpot-games__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-latest-jackpot-games__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.8;
}

.page-latest-jackpot-games__highlight {
  font-weight: bold;
  color: #26A9E0;
}

/* Hero Section */
.page-latest-jackpot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #e0f2f7; /* Light blue background for hero */
  text-align: center;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.page-latest-jackpot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Aspect ratio for 1200x675 display */
  overflow: hidden;
  position: relative;
}

.page-latest-jackpot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size */
}

.page-latest-jackpot-games__hero-content {
  padding: 40px 20px;
  position: relative; /* Ensure content is below image, not overlaid */
  z-index: 1;
}

.page-latest-jackpot-games__main-title {
  font-size: 48px;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-latest-jackpot-games__intro-text {
  font-size: 22px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-latest-jackpot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-latest-jackpot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-latest-jackpot-games__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

.page-latest-jackpot-games__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-latest-jackpot-games__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

.page-latest-jackpot-games__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* For mobile responsiveness */
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  overflow: hidden;
}

/* Image Card */
.page-latest-jackpot-games__image-card {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.page-latest-jackpot-games__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size */
}

.page-latest-jackpot-games__image-caption {
  padding: 15px 20px;
  font-size: 15px;
  color: #666666;
  text-align: center;
  background-color: #f9f9f9;
}

/* Game List */
.page-latest-jackpot-games__game-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}