/* style/blog-latest-promotions-hello888.css */

/* Root variables for colors */
:root {
  --hello888-primary: #11A84E;
  --hello888-secondary: #22C768;
  --hello888-card-bg: #11271B;
  --hello888-bg: #08160F;
  --hello888-text-main: #F2FFF6;
  --hello888-text-secondary: #A7D9B8;
  --hello888-border: #2E7A4E;
  --hello888-glow: #57E38D;
  --hello888-gold: #F2C14E;
  --hello888-divider: #1E3A2A;
  --hello888-deep-green: #0A4B2C;
  --hello888-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-blog-latest-promotions-hello888 {
  background-color: var(--hello888-bg); /* Dark background */
  color: var(--hello888-text-main); /* Light text for contrast */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-latest-promotions-hello888__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  color: var(--hello888-text-main);
}

.page-blog-latest-promotions-hello888__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-blog-latest-promotions-hello888__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image slightly for text readability */
}

.page-blog-latest-promotions-hello888__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 200px; /* Adjust based on image height to push content below image */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-blog-latest-promotions-hello888__main-title {
  color: var(--hello888-gold);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-blog-latest-promotions-hello888__hero-description {
  color: var(--hello888-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-blog-latest-promotions-hello888__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--hello888-button-gradient);
  color: var(--hello888-text-main);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog-latest-promotions-hello888__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-latest-promotions-hello888__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-blog-latest-promotions-hello888__section {
  padding: 60px 0;
  background-color: var(--hello888-bg);
}

.page-blog-latest-promotions-hello888__introduction-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
}

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

.page-blog-latest-promotions-hello888__section-title {
  color: var(--hello888-primary);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(17, 168, 78, 0.3);
}

.page-blog-latest-promotions-hello888__content-wrapper {
  font-size: 1.1em;
  color: var(--hello888-text-main);
}

.page-blog-latest-promotions-hello888__content-wrapper p {
  margin-bottom: 1em;
}

.page-blog-latest-promotions-hello888__content-wrapper strong {
  color: var(--hello888-gold);
}

.page-blog-latest-promotions-hello888__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions-hello888__image--centered {
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog-latest-promotions-hello888__card {
  background-color: var(--hello888-card-bg);
  border: 1px solid var(--hello888-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--hello888-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-latest-promotions-hello888__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(17, 168, 78, 0.5);
}

.page-blog-latest-promotions-hello888__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-latest-promotions-hello888__card-title {
  color: var(--hello888-gold);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-latest-promotions-hello888__card-description {
  color: var(--hello888-text-secondary);
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-latest-promotions-hello888__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--hello888-button-gradient);
  color: var(--hello888-text-main);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
}

.page-blog-latest-promotions-hello888__card-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.page-blog-latest-promotions-hello888__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-blog-latest-promotions-hello888__steps-list li {
  background-color: var(--hello888-card-bg);
  border: 1px solid var(--hello888-border);
  border-left: 5px solid var(--hello888-primary);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--hello888-text-main);
}

.page-blog-latest-promotions-hello888__steps-list li h3 {
  color: var(--hello888-primary);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-latest-promotions-hello888__steps-list li p {
  color: var(--hello888-text-secondary);
}

.page-blog-latest-promotions-hello888__link-button {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  background-color: var(--hello888-deep-green);
  color: var(--hello888-text-main);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-blog-latest-promotions-hello888__link-button:hover {
  background-color: var(--hello888-primary);
}

.page-blog-latest-promotions-hello888__grid-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-blog-latest-promotions-hello888__benefit-card {
  background-color: var(--hello888-card-bg);
  border: 1px solid var(--hello888-border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--hello888-text-main);
}

.page-blog-latest-promotions-hello888__benefit-title {
  color: var(--hello888-secondary);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-latest-promotions-hello888__benefit-card p {
  color: var(--hello888-text-secondary);
  font-size: 0.95em;
}

.page-blog-latest-promotions-hello888__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-blog-latest-promotions-hello888__tips-list li {
  background-color: var(--hello888-card-bg);
  border: 1px solid var(--hello888-border);
  border-left: 5px solid var(--hello888-secondary);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--hello888-text-main);
}

.page-blog-latest-promotions-hello888__tips-list li h3 {
  color: var(--hello888-secondary);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-latest-promotions-hello888__tips-list li p {
  color: var(--hello888-text-secondary);
}

.page-blog-latest-promotions-hello888__faq-list {
  margin-top: 40px;
}

.page-blog-latest-promotions-hello888__faq-item {
  background-color: var(--hello888-card-bg);
  border: 1px solid var(--hello888-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--hello888-text-main);
}

.page-blog-latest-promotions-hello888__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--hello888-deep-green);
  color: var(--hello888-text-main);
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog-latest-promotions-hello888__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-latest-promotions-hello888__faq-item summary:hover {
  background-color: var(--hello888-primary);
}

.page-blog-latest-promotions-hello888__faq-qtext {
  flex-grow: 1;
  color: var(--hello888-text-main);
}

.page-blog-latest-promotions-hello888__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: var(--hello888-gold);
}

.page-blog-latest-promotions-hello888__faq-answer {
  padding: 20px 25px;
  background-color: var(--hello888-card-bg);
  color: var(--hello888-text-secondary);
  border-top: 1px solid var(--hello888-divider);
  font-size: 1em;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-latest-promotions-hello888__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-blog-latest-promotions-hello888__section-title {
    font-size: 2em;
  }
  .page-blog-latest-promotions-hello888__hero-content {
    margin-top: 150px;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-promotions-hello888 {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-blog-latest-promotions-hello888__hero-section {
    padding: 10px 15px 40px;
  }

  .page-blog-latest-promotions-hello888__hero-image-wrapper {
    max-height: 300px;
  }

  .page-blog-latest-promotions-hello888__hero-content {
    margin-top: 100px;
    padding: 15px;
  }

  .page-blog-latest-promotions-hello888__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }

  .page-blog-latest-promotions-hello888__hero-description {
    font-size: 1em;
  }

  .page-blog-latest-promotions-hello888__cta-button,
  .page-blog-latest-promotions-hello888__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px !important;
    font-size: 1em !important;
  }
  
  .page-blog-latest-promotions-hello888__section {
    padding: 40px 0;
  }

  .page-blog-latest-promotions-hello888__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-latest-promotions-hello888__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-latest-promotions-hello888__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-latest-promotions-hello888__card-image {
    height: 180px;
  }

  .page-blog-latest-promotions-hello888__card {
    padding: 20px;
  }
  
  .page-blog-latest-promotions-hello888__card-title {
    font-size: 1.3em;
  }

  .page-blog-latest-promotions-hello888__steps-list li,
  .page-blog-latest-promotions-hello888__tips-list li {
    padding: 20px;
  }

  .page-blog-latest-promotions-hello888__grid-benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-latest-promotions-hello888__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all images and their containers are responsive */
  .page-blog-latest-promotions-hello888 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-latest-promotions-hello888__section,
  .page-blog-latest-promotions-hello888__card,
  .page-blog-latest-promotions-hello888__container,
  .page-blog-latest-promotions-hello888__content-wrapper,
  .page-blog-latest-promotions-hello888__grid,
  .page-blog-latest-promotions-hello888__grid-benefits,
  .page-blog-latest-promotions-hello888__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-latest-promotions-hello888__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-latest-promotions-hello888__faq-answer {
    padding: 15px 20px;
  }
}