/* style/resources-jiliph888-latest-promotions-guide.css */
.page-resources-jiliph888-latest-promotions-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f9f9f9 */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-jiliph888-latest-promotions-guide__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-jiliph888-latest-promotions-guide__hero-section {
  background-color: #0A2342; /* Main color as background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-resources-jiliph888-latest-promotions-guide__hero-content {
  max-width: 800px;
}

.page-resources-jiliph888-latest-promotions-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
}

.page-resources-jiliph888-latest-promotions-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-jiliph888-latest-promotions-guide__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.page-resources-jiliph888-latest-promotions-guide__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for CTA */
  color: #0A2342; /* Dark text for accent background */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-jiliph888-latest-promotions-guide__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-jiliph888-latest-promotions-guide__section-title {
  font-size: 2.2em;
  color: #0A2342; /* Main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-resources-jiliph888-latest-promotions-guide__section-paragraph {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-jiliph888-latest-promotions-guide__promotions-grid-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-resources-jiliph888-latest-promotions-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-jiliph888-latest-promotions-guide__promotion-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-jiliph888-latest-promotions-guide__promotion-card img {
  max-width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-resources-jiliph888-latest-promotions-guide__card-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-resources-jiliph888-latest-promotions-guide__card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-resources-jiliph888-latest-promotions-guide__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-jiliph888-latest-promotions-guide__card-button:hover {
  background-color: #e6c200;
}

.page-resources-jiliph888-latest-promotions-guide__how-to-claim-section,
.page-resources-jiliph888-latest-promotions-guide__tips-section,
.page-resources-jiliph888-latest-promotions-guide__faq-section,
.page-resources-jiliph888-latest-promotions-guide__cta-section {
  padding: 60px 0;
}

.page-resources-jiliph888-latest-promotions-guide__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-jiliph888-latest-promotions-guide__step-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-jiliph888-latest-promotions-guide__step-title {
  font-size: 1.4em;
  color: #0A2342;
  margin-bottom: 10px;
}

.page-resources-jiliph888-latest-promotions-guide__step-description a {
  color: #0A2342;
  text-decoration: underline;
}

.page-resources-jiliph888-latest-promotions-guide__step-description a:hover {
  color: #FFD700;
}

.page-resources-jiliph888-latest-promotions-guide__tips-list {
  list-style: disc;
  margin-left: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-jiliph888-latest-promotions-guide__tip-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-jiliph888-latest-promotions-guide__accordion {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-header {
  background-color: #0A2342;
  color: #ffffff;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-header:hover {
  background-color: #1a3a61;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-header[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-jiliph888-latest-promotions-guide__accordion-content {
  padding: 0 20px;
  background-color: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #333333;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-content a {
  color: #0A2342;
  text-decoration: underline;
}

.page-resources-jiliph888-latest-promotions-guide__accordion-content a:hover {
  color: #FFD700;
}

.page-resources-jiliph888-latest-promotions-guide__cta-section {
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-resources-jiliph888-latest-promotions-guide__cta-section .page-resources-jiliph888-latest-promotions-guide__section-title {
  color: #FFD700;
}

.page-resources-jiliph888-latest-promotions-guide__cta-section .page-resources-jiliph888-latest-promotions-guide__section-paragraph {
  color: #f0f0f0;
}

.page-resources-jiliph888-latest-promotions-guide__back-link-wrapper {
  text-align: center;
  padding: 40px 20px;
}

.page-resources-jiliph888-latest-promotions-guide__back-link {
  display: inline-block;
  color: #0A2342;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  border: 2px solid #0A2342;
  padding: 10px 25px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-jiliph888-latest-promotions-guide__back-link:hover {
  background-color: #0A2342;
  color: #ffffff;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-resources-jiliph888-latest-promotions-guide__hero-section {
    padding: 60px 15px;
  }

  .page-resources-jiliph888-latest-promotions-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-jiliph888-latest-promotions-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-jiliph888-latest-promotions-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-jiliph888-latest-promotions-guide__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-resources-jiliph888-latest-promotions-guide__section-paragraph {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-jiliph888-latest-promotions-guide__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-jiliph888-latest-promotions-guide__promotion-card img {
    height: 200px; /* Adjust height for smaller screens */
  }

  .page-resources-jiliph888-latest-promotions-guide__promotion-card,
  .page-resources-jiliph888-latest-promotions-guide__step-item {
    padding: 20px;
  }

  .page-resources-jiliph888-latest-promotions-guide__card-title,
  .page-resources-jiliph888-latest-promotions-guide__step-title {
    font-size: 1.2em;
  }

  .page-resources-jiliph888-latest-promotions-guide__tips-list,
  .page-resources-jiliph888-latest-promotions-guide__accordion {
    padding: 0 15px;
  }

  .page-resources-jiliph888-latest-promotions-guide__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }

  /* Critical: Ensure images do not overflow on mobile */
  .page-resources-jiliph888-latest-promotions-guide img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images should still be at least 200px wide for display, but max-width: 100% takes precedence for responsiveness */
  .page-resources-jiliph888-latest-promotions-guide__hero-image img,
  .page-resources-jiliph888-latest-promotions-guide__promotion-card img {
    min-width: 200px; /* Ensure minimum display size */
    width: auto; /* Allow auto width to scale with max-width: 100% */
  }

  .page-resources-jiliph888-latest-promotions-guide__hero-image img {
    width: 100%; /* Hero image fills width on mobile */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-jiliph888-latest-promotions-guide__hero-title {
    font-size: 1.6em;
  }

  .page-resources-jiliph888-latest-promotions-guide__section-title {
    font-size: 1.5em;
  }

  .page-resources-jiliph888-latest-promotions-guide__cta-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}