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

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-blog-hq88-latest-promotions {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

.page-blog-hq88-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Brand color gradient */
}

.page-blog-hq88-latest-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-blog-hq88-latest-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog-hq88-latest-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-blog-hq88-latest-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-blog-hq88-latest-promotions__description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-hq88-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-hq88-latest-promotions__btn-primary,
.page-blog-hq88-latest-promotions__btn-secondary,
.page-blog-hq88-latest-promotions__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-hq88-latest-promotions__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog-hq88-latest-promotions__btn-primary:hover {
  background: #d66f06;
  border-color: #d66f06;
}

.page-blog-hq88-latest-promotions__btn-secondary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-hq88-latest-promotions__btn-secondary:hover {
  background: #1a7bb0;
  border-color: #1a7bb0;
}

.page-blog-hq88-latest-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 5px;
  background: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
}

.page-blog-hq88-latest-promotions__btn-small:hover {
  background: #1a7bb0;
  border-color: #1a7bb0;
}

.page-blog-hq88-latest-promotions__content-section {
  padding: 80px 20px;
  background-color: #f8f9fa; /* Light background for content area */
  color: #333333; /* Dark text for light background */
}

.page-blog-hq88-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.page-blog-hq88-latest-promotions__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-hq88-latest-promotions__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog-hq88-latest-promotions__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-hq88-latest-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-blog-hq88-latest-promotions__promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-blog-hq88-latest-promotions__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog-hq88-latest-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-hq88-latest-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-blog-hq88-latest-promotions__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-hq88-latest-promotions__ordered-list,
.page-blog-hq88-latest-promotions__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog-hq88-latest-promotions__ordered-list li,
.page-blog-hq88-latest-promotions__unordered-list li {
  margin-bottom: 10px;
  color: #333333;
}

.page-blog-hq88-latest-promotions__ordered-list li strong {
  color: #26A9E0;
}

.page-blog-hq88-latest-promotions__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-blog-hq88-latest-promotions__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-hq88-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f0f8ff; /* Light blue background for summary */
  border-bottom: 1px solid #e0e0e0;
}

.page-blog-hq88-latest-promotions__faq-question:hover {
  background-color: #e6f7ff;
}

.page-blog-hq88-latest-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #EA7C07; /* Login color for toggle */
}

.page-blog-hq88-latest-promotions__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  border-top: 1px solid #f0f0f0;
}

/* Styling for <details> tag for native toggle */
.page-blog-hq88-latest-promotions__faq-item details > summary {
  list-style: none;
}
.page-blog-hq88-latest-promotions__faq-item details > summary::-webkit-details-marker {
  display: none;
}

/* Links within content */
.page-blog-hq88-latest-promotions a {
  color: #26A9E0;
  text-decoration: none;
}

.page-blog-hq88-latest-promotions a:hover {
  text-decoration: underline;
}

/* Bottom CTA buttons */
.page-blog-hq88-latest-promotions__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-hq88-latest-promotions__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog-hq88-latest-promotions__description {
    font-size: 1.1rem;
  }
  .page-blog-hq88-latest-promotions__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-blog-hq88-latest-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-blog-hq88-latest-promotions__hero-content {
    padding: 0 15px;
  }
  .page-blog-hq88-latest-promotions__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-blog-hq88-latest-promotions__description {
    font-size: 1rem;
  }
  .page-blog-hq88-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-blog-hq88-latest-promotions__btn-primary,
  .page-blog-hq88-latest-promotions__btn-secondary,
  .page-blog-hq88-latest-promotions__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-blog-hq88-latest-promotions__content-section {
    padding: 40px 15px;
  }
  .page-blog-hq88-latest-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-hq88-latest-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-blog-hq88-latest-promotions__sub-title {
    font-size: 1.5rem;
  }
  .page-blog-hq88-latest-promotions__text-block,
  .page-blog-hq88-latest-promotions__ordered-list li,
  .page-blog-hq88-latest-promotions__unordered-list li,
  .page-blog-hq88-latest-promotions__card-text {
    font-size: 0.95rem;
  }

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

  .page-blog-hq88-latest-promotions__card-image {
    height: 180px;
  }

  .page-blog-hq88-latest-promotions__card-title {
    font-size: 1.3rem;
  }

  .page-blog-hq88-latest-promotions__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-blog-hq88-latest-promotions__faq-answer {
    font-size: 0.9rem;
    padding: 15px;
  }

  /* Image responsiveness for all images within content */
  .page-blog-hq88-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Ensure no overflow for image containers */
  .page-blog-hq88-latest-promotions__hero-image-wrapper,
  .page-blog-hq88-latest-promotions__promo-card,
  .page-blog-hq88-latest-promotions__promo-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-blog-hq88-latest-promotions__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-blog-hq88-latest-promotions__hero-content {
    padding: 0 10px;
  }
  .page-blog-hq88-latest-promotions__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }
  .page-blog-hq88-latest-promotions__description {
    font-size: 0.9rem;
  }
  .page-blog-hq88-latest-promotions__content-section {
    padding: 30px 10px;
  }
  .page-blog-hq88-latest-promotions__container {
    padding: 0 10px;
  }
}