.page-resources-how-to-choose-reliable-bookmaker {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #000000; /* Ensuring main background is dark as per shared.css */
}

.page-resources-how-to-choose-reliable-bookmaker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a7bb5); /* Primary color gradient */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-how-to-choose-reliable-bookmaker__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-how-to-choose-reliable-bookmaker__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-bookmaker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-bookmaker__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-how-to-choose-reliable-bookmaker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-resources-how-to-choose-reliable-bookmaker__content-area,
.page-resources-how-to-choose-reliable-bookmaker__faq-section,
.page-resources-how-to-choose-reliable-bookmaker__light-bg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for main content */
  color: #333333; /* Dark text for light background */
}

.page-resources-how-to-choose-reliable-bookmaker__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-how-to-choose-reliable-bookmaker__section-title--white {
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-bookmaker__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-how-to-choose-reliable-bookmaker__paragraph--white {
  color: #f0f0f0;
}

.page-resources-how-to-choose-reliable-bookmaker__paragraph a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-how-to-choose-reliable-bookmaker__paragraph--white a {
  color: #ffffff;
}

.page-resources-how-to-choose-reliable-bookmaker__image {
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-how-to-choose-reliable-bookmaker__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-reliable-bookmaker__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  min-height: 250px; /* Ensure cards have minimum height */
}

.page-resources-how-to-choose-reliable-bookmaker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-reliable-bookmaker__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-how-to-choose-reliable-bookmaker__card-text {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1;
}

.page-resources-how-to-choose-reliable-bookmaker__feature-list,
.page-resources-how-to-choose-reliable-bookmaker__mistake-list,
.page-resources-how-to-choose-reliable-bookmaker__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-how-to-choose-reliable-bookmaker__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-resources-how-to-choose-reliable-bookmaker__list-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-resources-how-to-choose-reliable-bookmaker__mistake-list .page-resources-how-to-choose-reliable-bookmaker__list-item::before {
  content: '❌';
  color: #EA7C07;
}

.page-resources-how-to-choose-reliable-bookmaker__tips-list .page-resources-how-to-choose-reliable-bookmaker__list-item::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-resources-how-to-choose-reliable-bookmaker__tips-list {
  counter-reset: list-item;
}

.page-resources-how-to-choose-reliable-bookmaker__video-section {
  background-color: #0d0d0d; /* Dark background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-resources-how-to-choose-reliable-bookmaker__video-wrapper {
  display: block;
  max-width: 960px;
  margin: 40px auto 0;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reliable-bookmaker__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-list {
  margin-top: 40px;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-question:hover {
  background-color: #eef7fc;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-question h3 {
  margin: 0;
  color: #26A9E0;
  font-size: 1.1em;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-item.active .page-resources-how-to-choose-reliable-bookmaker__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-how-to-choose-reliable-bookmaker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f0f0f0;
  color: #333333;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-item.active .page-resources-how-to-choose-reliable-bookmaker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

.page-resources-how-to-choose-reliable-bookmaker__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-how-to-choose-reliable-bookmaker__conclusion-section {
  background-color: #1a7bb5; /* Darker blue for conclusion */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-resources-how-to-choose-reliable-bookmaker__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources-how-to-choose-reliable-bookmaker__btn-primary,
.page-resources-how-to-choose-reliable-bookmaker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-how-to-choose-reliable-bookmaker__btn-primary {
  background-color: #EA7C07; /* Login orange */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-how-to-choose-reliable-bookmaker__btn-primary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-resources-how-to-choose-reliable-bookmaker__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-reliable-bookmaker__btn-secondary:hover {
  background-color: #eef7fc;
  color: #1a7bb5;
  border-color: #1a7bb5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-reliable-bookmaker__main-title {
    font-size: 2.8em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__section-title {
    font-size: 2em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__hero-description,
  .page-resources-how-to-choose-reliable-bookmaker__paragraph,
  .page-resources-how-to-choose-reliable-bookmaker__list-item,
  .page-resources-how-to-choose-reliable-bookmaker__card-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-reliable-bookmaker__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
  }

  .page-resources-how-to-choose-reliable-bookmaker__main-title {
    font-size: 2.2em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__content-area,
  .page-resources-how-to-choose-reliable-bookmaker__faq-section,
  .page-resources-how-to-choose-reliable-bookmaker__video-section,
  .page-resources-how-to-choose-reliable-bookmaker__conclusion-section {
    padding: 40px 15px;
  }

  .page-resources-how-to-choose-reliable-bookmaker__section-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__criteria-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-how-to-choose-reliable-bookmaker__image {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-resources-how-to-choose-reliable-bookmaker__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-resources-how-to-choose-reliable-bookmaker__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-how-to-choose-reliable-bookmaker__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__faq-answer {
    padding: 0 20px;
  }

  .page-resources-how-to-choose-reliable-bookmaker__faq-item.active .page-resources-how-to-choose-reliable-bookmaker__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-how-to-choose-reliable-bookmaker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-choose-reliable-bookmaker__btn-primary,
  .page-resources-how-to-choose-reliable-bookmaker__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-reliable-bookmaker__main-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__section-title {
    font-size: 1.5em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__hero-description {
    font-size: 0.9em;
  }

  .page-resources-how-to-choose-reliable-bookmaker__card {
    padding: 20px;
  }

  .page-resources-how-to-choose-reliable-bookmaker__card-title {
    font-size: 1.3em;
  }
}