/* style/blog-top-reasons-to-choose-hbbet.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-blog-top-reasons-to-choose-hbbet {
  color: #ffffff; /* Light text for readability on dark body background */
  background-color: #1a1a2e; /* Ensure dark background for consistency */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body already handles --header-offset */
}

.page-blog-top-reasons-to-choose-hbbet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-top-reasons-to-choose-hbbet__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image first, then text content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  background-color: #1a1a2e; /* Ensure dark background for hero */
  overflow: hidden; /* Prevent content overflow */
}

.page-blog-top-reasons-to-choose-hbbet__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1920px; /* Max width for hero image */
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-blog-top-reasons-to-choose-hbbet__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  color: #ffffff; /* Ensure white text */
}

.page-blog-top-reasons-to-choose-hbbet__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for emphasis */
}

.page-blog-top-reasons-to-choose-hbbet__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-blog-top-reasons-to-choose-hbbet__btn-primary,
.page-blog-top-reasons-to-choose-hbbet__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-blog-top-reasons-to-choose-hbbet__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-top-reasons-to-choose-hbbet__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-blog-top-reasons-to-choose-hbbet__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 20px;
}

.page-blog-top-reasons-to-choose-hbbet__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Introduction Section */
.page-blog-top-reasons-to-choose-hbbet__introduction-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-blog-top-reasons-to-choose-hbbet__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Brand color for titles */
}

.page-blog-top-reasons-to-choose-hbbet__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

/* Reasons List Section */
.page-blog-top-reasons-to-choose-hbbet__reasons-list {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-blog-top-reasons-to-choose-hbbet__reason-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card background */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog-top-reasons-to-choose-hbbet__reason-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for reason titles */
}

.page-blog-top-reasons-to-choose-hbbet__reason-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Ensure images are not too wide */
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* CTA Section */
.page-blog-top-reasons-to-choose-hbbet__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #26A9E0, #1e87c0); /* Gradient background for CTA */
  text-align: center;
  color: #ffffff;
}

.page-blog-top-reasons-to-choose-hbbet__cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog-top-reasons-to-choose-hbbet__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-top-reasons-to-choose-hbbet__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container fills width */
  max-width: 100%; /* Ensure container fills width */
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-blog-top-reasons-to-choose-hbbet__faq-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-blog-top-reasons-to-choose-hbbet__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-top-reasons-to-choose-hbbet__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-top-reasons-to-choose-hbbet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff; /* Light text */
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for summary */
}

.page-blog-top-reasons-to-choose-hbbet__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for WebKit browsers */
}

.page-blog-top-reasons-to-choose-hbbet__faq-question:hover {
  background-color: #1e87c0;
}

.page-blog-top-reasons-to-choose-hbbet__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-blog-top-reasons-to-choose-hbbet__faq-item[open] .page-blog-top-reasons-to-choose-hbbet__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or '-' */
}

.page-blog-top-reasons-to-choose-hbbet__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #f0f0f0; /* Slightly off-white for answer text */
  background-color: rgba(255, 255, 255, 0.03); /* Very subtle background for answer */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-top-reasons-to-choose-hbbet__hero-section {
    padding: 40px 0;
  }
  .page-blog-top-reasons-to-choose-hbbet__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog-top-reasons-to-choose-hbbet__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }
  .page-blog-top-reasons-to-choose-hbbet__reason-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }
  .page-blog-top-reasons-to-choose-hbbet__cta-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-blog-top-reasons-to-choose-hbbet {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-blog-top-reasons-to-choose-hbbet__hero-section {
    padding: 30px 0;
  }

  .page-blog-top-reasons-to-choose-hbbet__hero-content {
    padding: 0 15px;
  }

  .page-blog-top-reasons-to-choose-hbbet__hero-image,
  .page-blog-top-reasons-to-choose-hbbet__reason-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containing elements for images/videos/buttons */
  .page-blog-top-reasons-to-choose-hbbet__section,
  .page-blog-top-reasons-to-choose-hbbet__card,
  .page-blog-top-reasons-to-choose-hbbet__container,
  .page-blog-top-reasons-to-choose-hbbet__reason-item,
  .page-blog-top-reasons-to-choose-hbbet__cta-buttons,
  .page-blog-top-reasons-to-choose-hbbet__faq-list,
  .page-blog-top-reasons-to-choose-hbbet__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons */
  .page-blog-top-reasons-to-choose-hbbet__btn-primary,
  .page-blog-top-reasons-to-choose-hbbet__btn-secondary {
    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 margin for stacking */
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-blog-top-reasons-to-choose-hbbet__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-blog-top-reasons-to-choose-hbbet__introduction-section,
  .page-blog-top-reasons-to-choose-hbbet__reasons-list,
  .page-blog-top-reasons-to-choose-hbbet__cta-section,
  .page-blog-top-reasons-to-choose-hbbet__faq-section {
    padding: 40px 0;
  }

  .page-blog-top-reasons-to-choose-hbbet__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
}