/* style/blog-hbbet-platform-advantages.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
}

.page-blog-hbbet-platform-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Body background is light, so use dark text */
  background-color: var(--secondary-color);
}

.page-blog-hbbet-platform-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-hbbet-platform-advantages__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-blog-hbbet-platform-advantages__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-blog-hbbet-platform-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-hbbet-platform-advantages__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-blog-hbbet-platform-advantages__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-blog-hbbet-platform-advantages__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-hbbet-platform-advantages__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-hbbet-platform-advantages__btn-primary,
.page-blog-hbbet-platform-advantages__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-hbbet-platform-advantages__btn-primary {
  background-color: var(--button-login); /* Use login color for primary action */
  color: var(--text-light);
  border: 2px solid var(--button-login);
}

.page-blog-hbbet-platform-advantages__btn-primary:hover {
  background-color: darken(var(--button-login), 10%);
  border-color: darken(var(--button-login), 10%);
}

.page-blog-hbbet-platform-advantages__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-blog-hbbet-platform-advantages__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* General Sections */
.page-blog-hbbet-platform-advantages__advantages-section,
.page-blog-hbbet-platform-advantages__registration-guide-section,
.page-blog-hbbet-platform-advantages__why-choose-section,
.page-blog-hbbet-platform-advantages__faq-section {
  padding: 60px 0;
}

.page-blog-hbbet-platform-advantages__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-blog-hbbet-platform-advantages__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555;
}

.page-blog-hbbet-platform-advantages__advantage-item {
  margin-bottom: 40px;
  padding: 20px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-hbbet-platform-advantages__advantage-heading {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-hbbet-platform-advantages__advantage-text {
  margin-bottom: 20px;
}

.page-blog-hbbet-platform-advantages__advantage-image,
.page-blog-hbbet-platform-advantages__registration-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-hbbet-platform-advantages__advantage-list,
.page-blog-hbbet-platform-advantages__registration-steps,
.page-blog-hbbet-platform-advantages__why-choose-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-hbbet-platform-advantages__advantage-list li,
.page-blog-hbbet-platform-advantages__registration-steps li,
.page-blog-hbbet-platform-advantages__why-choose-list li {
  background-color: #f9f9f9;
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid var(--primary-color);
  border-radius: 4px;
  color: var(--text-dark);
}

.page-blog-hbbet-platform-advantages__sub-heading,
.page-blog-hbbet-platform-advantages__step-heading,
.page-blog-hbbet-platform-advantages__list-item-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: bold;
}

.page-blog-hbbet-platform-advantages__registration-steps li {
  counter-increment: step-counter;
}

.page-blog-hbbet-platform-advantages__registration-steps li::before {
  content: counter(step-counter) ". ";
  font-weight: bold;
  color: var(--button-login);
  margin-right: 8px;
}

.page-blog-hbbet-platform-advantages__conclusion-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 40px auto 0 auto;
  color: #555;
}

/* FAQ Section */
.page-blog-hbbet-platform-advantages__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-hbbet-platform-advantages__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-hbbet-platform-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-blog-hbbet-platform-advantages__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-blog-hbbet-platform-advantages__faq-item[open] .page-blog-hbbet-platform-advantages__faq-question {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-blog-hbbet-platform-advantages__faq-item[open] .page-blog-hbbet-platform-advantages__faq-question .page-blog-hbbet-platform-advantages__faq-toggle {
  color: var(--text-light);
}

.page-blog-hbbet-platform-advantages__faq-qtext {
  flex-grow: 1;
}

.page-blog-hbbet-platform-advantages__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-blog-hbbet-platform-advantages__faq-item[open] .page-blog-hbbet-platform-advantages__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-hbbet-platform-advantages__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog-hbbet-platform-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-hbbet-platform-advantages__container {
    padding: 0 15px;
  }

  .page-blog-hbbet-platform-advantages__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-blog-hbbet-platform-advantages__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-hbbet-platform-advantages__hero-description {
    font-size: 1em;
  }

  .page-blog-hbbet-platform-advantages__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog-hbbet-platform-advantages__btn-primary,
  .page-blog-hbbet-platform-advantages__btn-secondary,
  .page-blog-hbbet-platform-advantages a[class*="button"],
  .page-blog-hbbet-platform-advantages a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-hbbet-platform-advantages__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-blog-hbbet-platform-advantages__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-blog-hbbet-platform-advantages__advantages-section,
  .page-blog-hbbet-platform-advantages__registration-guide-section,
  .page-blog-hbbet-platform-advantages__why-choose-section,
  .page-blog-hbbet-platform-advantages__faq-section {
    padding: 40px 0;
  }

  /* Mobile image responsiveness */
  .page-blog-hbbet-platform-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-hbbet-platform-advantages__hero-image-wrapper,
  .page-blog-hbbet-platform-advantages__advantage-item,
  .page-blog-hbbet-platform-advantages__registration-guide-section,
  .page-blog-hbbet-platform-advantages__why-choose-section,
  .page-blog-hbbet-platform-advantages__faq-section,
  .page-blog-hbbet-platform-advantages__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-hbbet-platform-advantages__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-hbbet-platform-advantages__faq-answer {
    padding: 15px 20px;
  }
}