.page-resources-bet365-app-features-deep-dive {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

.page-resources-bet365-app-features-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-bet365-app-features-deep-dive__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7a9c 100%);
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  min-height: 600px;
}

.page-resources-bet365-app-features-deep-dive__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-resources-bet365-app-features-deep-dive__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-bet365-app-features-deep-dive__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-resources-bet365-app-features-deep-dive__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-resources-bet365-app-features-deep-dive__btn-primary,
.page-resources-bet365-app-features-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-bet365-app-features-deep-dive__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-bet365-app-features-deep-dive__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

.page-resources-bet365-app-features-deep-dive__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-bet365-app-features-deep-dive__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-resources-bet365-app-features-deep-dive__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
  height: auto;
  overflow: hidden;
  z-index: 0;
  padding-top: 50px; /* Space for the image to sit */
}

.page-resources-bet365-app-features-deep-dive__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px; /* Limit height for hero image */
}

.page-resources-bet365-app-features-deep-dive__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-resources-bet365-app-features-deep-dive__features-overview,
.page-resources-bet365-app-features-deep-dive__detailed-features,
.page-resources-bet365-app-features-deep-dive__security-section,
.page-resources-bet365-app-features-deep-dive__download-section,
.page-resources-bet365-app-features-deep-dive__promotions-section,
.page-resources-bet365-app-features-deep-dive__faq-section,
.page-resources-bet365-app-features-deep-dive__cta-final {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for content sections */
  color: #333333; /* Dark text for light background */
}

.page-resources-bet365-app-features-deep-dive__features-overview p,
.page-resources-bet365-app-features-deep-dive__security-section p,
.page-resources-bet365-app-features-deep-dive__download-section p,
.page-resources-bet365-app-features-deep-dive__promotions-section p,
.page-resources-bet365-app-features-deep-dive__cta-final p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-bet365-app-features-deep-dive__feature-card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-bet365-app-features-deep-dive__feature-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-resources-bet365-app-features-deep-dive__feature-image {
  flex: 1;
  min-width: 400px; /* Minimum size for feature images */
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-bet365-app-features-deep-dive__card-content {
  flex: 1;
  padding: 30px;
}

.page-resources-bet365-app-features-deep-dive__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-bet365-app-features-deep-dive__card-content p {
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-bet365-app-features-deep-dive__btn-text-link {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-bet365-app-features-deep-dive__btn-text-link:hover {
  color: #d16e06;
  text-decoration: underline;
}

.page-resources-bet365-app-features-deep-dive__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-resources-bet365-app-features-deep-dive__security-image {
  flex: 1;
  min-width: 400px;
  height: auto;
  display: block;
  object-fit: contain;
}

.page-resources-bet365-app-features-deep-dive__text-block {
  flex: 1;
}

.page-resources-bet365-app-features-deep-dive__download-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-resources-bet365-app-features-deep-dive__faq-list {
  margin-top: 40px;
}

.page-resources-bet365-app-features-deep-dive__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-resources-bet365-app-features-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #e0f2f7; /* Lighter shade of brand color */
  border-bottom: 1px solid #cce9f0;
}

.page-resources-bet365-app-features-deep-dive__faq-item[open] .page-resources-bet365-app-features-deep-dive__faq-question {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-bet365-app-features-deep-dive__faq-item[open] .page-resources-bet365-app-features-deep-dive__faq-toggle {
  color: #ffffff;
}

.page-resources-bet365-app-features-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-bet365-app-features-deep-dive__faq-item[open] .page-resources-bet365-app-features-deep-dive__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-bet365-app-features-deep-dive__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #333333;
  font-size: 1.1em;
}

/* Details element native styles reset */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

.page-resources-bet365-app-features-deep-dive__cta-final .page-resources-bet365-app-features-deep-dive__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-bet365-app-features-deep-dive__main-title {
    font-size: 2.8em;
  }

  .page-resources-bet365-app-features-deep-dive__feature-card {
    flex-direction: column;
  }

  .page-resources-bet365-app-features-deep-dive__feature-card:nth-child(even) {
    flex-direction: column;
  }

  .page-resources-bet365-app-features-deep-dive__feature-image,
  .page-resources-bet365-app-features-deep-dive__security-image {
    min-width: unset;
    width: 100%;
    max-width: 600px; /* Constrain max-width for larger tablets */
    margin: 0 auto 20px auto;
  }

  .page-resources-bet365-app-features-deep-dive__security-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-resources-bet365-app-features-deep-dive__hero-section {
    padding: 60px 15px;
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile */
  }

  .page-resources-bet365-app-features-deep-dive__main-title {
    font-size: 2em;
  }

  .page-resources-bet365-app-features-deep-dive__intro-text {
    font-size: 1em;
  }

  .page-resources-bet365-app-features-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 30px auto 0 auto;
  }

  .page-resources-bet365-app-features-deep-dive__btn-primary,
  .page-resources-bet365-app-features-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-resources-bet365-app-features-deep-dive__hero-image-wrapper {
    position: relative;
    bottom: unset;
    left: unset;
    transform: none;
    margin-top: 30px;
    padding-top: 0;
  }

  .page-resources-bet365-app-features-deep-dive__hero-image {
    max-height: 300px;
  }

  .page-resources-bet365-app-features-deep-dive__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-resources-bet365-app-features-deep-dive__features-overview,
  .page-resources-bet365-app-features-deep-dive__detailed-features,
  .page-resources-bet365-app-features-deep-dive__security-section,
  .page-resources-bet365-app-features-deep-dive__download-section,
  .page-resources-bet365-app-features-deep-dive__promotions-section,
  .page-resources-bet365-app-features-deep-dive__faq-section,
  .page-resources-bet365-app-features-deep-dive__cta-final {
    padding: 40px 0;
  }

  .page-resources-bet365-app-features-deep-dive__container {
    padding: 0 15px;
  }

  .page-resources-bet365-app-features-deep-dive__feature-card {
    margin-bottom: 40px;
  }

  .page-resources-bet365-app-features-deep-dive__feature-image,
  .page-resources-bet365-app-features-deep-dive__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto 20px auto;
    display: block !important;
  }

  .page-resources-bet365-app-features-deep-dive__card-content {
    padding: 20px;
  }

  .page-resources-bet365-app-features-deep-dive__card-title {
    font-size: 1.5em;
  }

  .page-resources-bet365-app-features-deep-dive__download-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0 auto;
  }

  /* Ensure content containers don't overflow */
  .page-resources-bet365-app-features-deep-dive__section,
  .page-resources-bet365-app-features-deep-dive__card,
  .page-resources-bet365-app-features-deep-dive__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-bet365-app-features-deep-dive__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-bet365-app-features-deep-dive__faq-answer {
    font-size: 1em;
    padding: 15px 20px;
  }
}