/* style/blog-hello88-dis-latest-features.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-blog-hello88-dis-latest-features {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-hello88-dis-latest-features__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #08160F;
}

.page-blog-hello88-dis-latest-features__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-hello88-dis-latest-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-hello88-dis-latest-features__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: -80px; /* Adjust to slightly overlap image for visual flow */
  position: relative;
  z-index: 1; /* Ensure content is above image (if any overlap) */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency for depth */
  border-radius: 15px;
  padding: 30px 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog-hello88-dis-latest-features__main-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.page-blog-hello88-dis-latest-features__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog-hello88-dis-latest-features__btn-primary,
.page-blog-hello88-dis-latest-features__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-blog-hello88-dis-latest-features__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-hello88-dis-latest-features__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-hello88-dis-latest-features__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  margin-left: 15px;
}

.page-blog-hello88-dis-latest-features__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #57E38D;
  transform: translateY(-2px);
}

.page-blog-hello88-dis-latest-features__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-blog-hello88-dis-latest-features__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-blog-hello88-dis-latest-features__article {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-hello88-dis-latest-features__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #F2C14E; /* Gold */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog-hello88-dis-latest-features h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: #57E38D; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-hello88-dis-latest-features p {
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-blog-hello88-dis-latest-features a {
  color: #57E38D;
  text-decoration: none;
}

.page-blog-hello88-dis-latest-features a:hover {
  text-decoration: underline;
}

.page-blog-hello88-dis-latest-features__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-hello88-dis-latest-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-hello88-dis-latest-features__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

.page-blog-hello88-dis-latest-features__feature-card:hover {
  transform: translateY(-5px);
}

.page-blog-hello88-dis-latest-features__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-blog-hello88-dis-latest-features__card-title {
  color: #F2C14E; /* Gold */
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-blog-hello88-dis-latest-features__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-blog-hello88-dis-latest-features__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-hello88-dis-latest-features__list-item {
  background-color: #11271B; /* Card BG */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  border-left: 5px solid #2AD16F; /* Button color for accent */
  color: #F2FFF6; /* Text Main */
  font-size: 1.05rem;
}

.page-blog-hello88-dis-latest-features__list-item strong {
  color: #F2C14E; /* Gold */
}

.page-blog-hello88-dis-latest-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-blog-hello88-dis-latest-features__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-blog-hello88-dis-latest-features__faq-list {
  margin-top: 30px;
}

.page-blog-hello88-dis-latest-features__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-hello88-dis-latest-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  font-size: 1.1rem;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-blog-hello88-dis-latest-features__faq-question:hover {
  background-color: #11271B;
}

.page-blog-hello88-dis-latest-features__faq-item[open] .page-blog-hello88-dis-latest-features__faq-question {
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-blog-hello88-dis-latest-features__faq-qtext {
  flex-grow: 1;
}

.page-blog-hello88-dis-latest-features__faq-toggle {
  margin-left: 15px;
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow */
}

.page-blog-hello88-dis-latest-features__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.6;
}

.page-blog-hello88-dis-latest-features__faq-answer p {
  margin-bottom: 0;
}

/* Ensure details summary marker is hidden */
.page-blog-hello88-dis-latest-features__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-hello88-dis-latest-features__faq-item summary {
  list-style: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-blog-hello88-dis-latest-features {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-hello88-dis-latest-features__hero-content {
    margin-top: -50px;
    padding: 20px;
  }

  .page-blog-hello88-dis-latest-features__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-hello88-dis-latest-features__hero-description {
    font-size: 1rem;
  }

  .page-blog-hello88-dis-latest-features__btn-primary,
  .page-blog-hello88-dis-latest-features__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin-left: 0 !important;
    margin-bottom: 10px;
  }

  .page-blog-hello88-dis-latest-features__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding: 0 15px;
  }

  .page-blog-hello88-dis-latest-features__content-area {
    padding: 20px 15px;
  }

  .page-blog-hello88-dis-latest-features__section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-hello88-dis-latest-features h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-hello88-dis-latest-features__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-hello88-dis-latest-features__card-image {
    height: 180px;
  }

  .page-blog-hello88-dis-latest-features__list-item {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-blog-hello88-dis-latest-features__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-hello88-dis-latest-features__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  /* Mobile image and container responsiveness */
  .page-blog-hello88-dis-latest-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-hello88-dis-latest-features__section,
  .page-blog-hello88-dis-latest-features__card,
  .page-blog-hello88-dis-latest-features__container,
  .page-blog-hello88-dis-latest-features__hero-image-wrapper,
  .page-blog-hello88-dis-latest-features__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-hello88-dis-latest-features__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog-hello88-dis-latest-features__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Additional CSS for elements to ensure contrast */
.page-blog-hello88-dis-latest-features h1, .page-blog-hello88-dis-latest-features h2, .page-blog-hello88-dis-latest-features h3, .page-blog-hello88-dis-latest-features h4, .page-blog-hello88-dis-latest-features h5, .page-blog-hello88-dis-latest-features h6 {
  color: #F2C14E; /* Gold for main titles, then Glow */
}

.page-blog-hello88-dis-latest-features__text-block, .page-blog-hello88-dis-latest-features p {
  color: #A7D9B8; /* Text Secondary for body text */
}

/* Override for specific links to ensure contrast */
.page-blog-hello88-dis-latest-features__faq-answer a {
  color: #57E38D;
}