.page-blog-ac888-latest-features {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
}

.page-blog-ac888-latest-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-blog-ac888-latest-features__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding for fixed header */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.page-blog-ac888-latest-features__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Adjust as needed */
  object-fit: cover;
  display: block;
}

.page-blog-ac888-latest-features__hero-content {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with image slightly */
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-blog-ac888-latest-features__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
  color: #E53935; /* Main color */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-ac888-latest-features__description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

.page-blog-ac888-latest-features__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-ac888-latest-features__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-blog-ac888-latest-features__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-ac888-latest-features__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  margin-left: 20px;
}

.page-blog-ac888-latest-features__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* General Section Styles */
.page-blog-ac888-latest-features__section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-ac888-latest-features__section-title {
  font-size: 2.2em;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-blog-ac888-latest-features__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

/* Feature Items */
.page-blog-ac888-latest-features__features-highlight .page-blog-ac888-latest-features__container {
  padding: 20px 40px;
}

.page-blog-ac888-latest-features__feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
  padding: 20px;
  border-radius: 8px;
  background: #fdfdfd;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.page-blog-ac888-latest-features__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-blog-ac888-latest-features__feature-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-ac888-latest-features__feature-content {
  width: 50%;
}

.page-blog-ac888-latest-features__feature-title {
  font-size: 1.8em;
  color: #FF5A4F; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-ac888-latest-features__feature-list {
  list-style: disc;
  margin-left: 20px;
  color: #333333;
  font-size: 1em;
}

.page-blog-ac888-latest-features__feature-list li {
  margin-bottom: 8px;
}

/* Security Section */
.page-blog-ac888-latest-features__security-image,
.page-blog-ac888-latest-features__responsible-gaming-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-ac888-latest-features__security .page-blog-ac888-latest-features__container,
.page-blog-ac888-latest-features__support .page-blog-ac888-latest-features__container,
.page-blog-ac888-latest-features__responsible-gaming .page-blog-ac888-latest-features__container,
.page-blog-ac888-latest-features__registration-cta .page-blog-ac888-latest-features__container {
  text-align: center;
}

.page-blog-ac888-latest-features__support .page-blog-ac888-latest-features__cta-button {
  margin-left: 0;
  margin-top: 20px;
}

/* FAQ Section */
details.page-blog-ac888-latest-features__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #E0E0E0; /* Border */
  overflow: hidden;
  background: #ffffff; /* Card BG */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

details.page-blog-ac888-latest-features__faq-item summary.page-blog-ac888-latest-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-blog-ac888-latest-features__faq-item summary.page-blog-ac888-latest-features__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-ac888-latest-features__faq-item summary.page-blog-ac888-latest-features__faq-question:hover {
  background: #f9f9f9;
}

.page-blog-ac888-latest-features__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-blog-ac888-latest-features__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-ac888-latest-features__faq-item .page-blog-ac888-latest-features__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #333333;
}

.page-blog-ac888-latest-features__registration-cta .page-blog-ac888-latest-features__cta-button {
  margin-top: 20px;
}

.page-blog-ac888-latest-features__registration-cta .page-blog-ac888-latest-features__cta-button + .page-blog-ac888-latest-features__cta-button {
  margin-left: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-ac888-latest-features__container {
    padding: 15px;
  }

  .page-blog-ac888-latest-features__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
    max-width: 800px;
  }

  .page-blog-ac888-latest-features__main-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }

  .page-blog-ac888-latest-features__feature-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .page-blog-ac888-latest-features__feature-item--reverse {
    flex-direction: column;
  }

  .page-blog-ac888-latest-features__feature-image,
  .page-blog-ac888-latest-features__feature-content {
    width: 100%;
  }

  .page-blog-ac888-latest-features__feature-list {
    text-align: left;
  }

  .page-blog-ac888-latest-features__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-ac888-latest-features {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-blog-ac888-latest-features__hero-section {
    padding-top: 10px; /* Maintain small top padding */
    margin-bottom: 20px;
  }

  .page-blog-ac888-latest-features__hero-image {
    max-height: 400px !important; /* Specific mobile height */
    object-fit: contain !important; /* Ensure image fits */
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-ac888-latest-features__hero-content {
    padding: 20px 15px;
    margin-top: -40px;
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-ac888-latest-features__main-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 10px;
  }

  .page-blog-ac888-latest-features__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-blog-ac888-latest-features__cta-button {
    font-size: 1em;
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove horizontal margin for multiple buttons */
    margin-bottom: 10px; /* Add vertical spacing for stacked buttons */
  }

  .page-blog-ac888-latest-features__registration-cta .page-blog-ac888-latest-features__cta-button + .page-blog-ac888-latest-features__cta-button {
    margin-left: 0 !important;
  }
  
  .page-blog-ac888-latest-features__registration-cta .page-blog-ac888-latest-features__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-blog-ac888-latest-features__section {
    padding: 30px 0;
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-ac888-latest-features__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-blog-ac888-latest-features__text-block {
    font-size: 0.95em;
  }

  .page-blog-ac888-latest-features__feature-item {
    padding: 15px;
    margin-bottom: 40px;
  }

  .page-blog-ac888-latest-features__feature-image,
  .page-blog-ac888-latest-features__security-image,
  .page-blog-ac888-latest-features__responsible-gaming-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important; /* Enforce min size */
  }

  .page-blog-ac888-latest-features__feature-title {
    font-size: 1.5em;
  }

  details.page-blog-ac888-latest-features__faq-item summary.page-blog-ac888-latest-features__faq-question {
    padding: 15px;
  }

  .page-blog-ac888-latest-features__faq-qtext {
    font-size: 1em;
  }

  .page-blog-ac888-latest-features__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-blog-ac888-latest-features__faq-item .page-blog-ac888-latest-features__faq-answer {
    padding: 0 15px 15px;
  }
}