.page-trusted-bookmakers {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background: #f1f3f5; /* Light grey background for the page */
  padding-top: 120px; /* Desktop: Space for fixed header */
}

.page-trusted-bookmakers__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-trusted-bookmakers__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-trusted-bookmakers__intro-section {
  background: linear-gradient(135deg, var(--primary-color-light), var(--secondary-color-light)); /* Lighter gradient for intro */
  padding: 60px 0;
  text-align: center;
}

.page-trusted-bookmakers__main-title {
  font-size: 38px;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-trusted-bookmakers__hero-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin: 30px auto;
  display: block;
  object-fit: cover;
}

.page-trusted-bookmakers__text-block {
  font-size: 17px;
  color: #f0f0f0; /* Light text for dark background */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-trusted-bookmakers__highlight-text {
  font-weight: bold;
  color: #ffffff;
}

.page-trusted-bookmakers__cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-trusted-bookmakers__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-trusted-bookmakers__section-title {
  font-size: 32px;
  color: var(--primary-color-dark);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-trusted-bookmakers__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-trusted-bookmakers__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-trusted-bookmakers__card:hover {
  transform: translateY(-5px);
}

.page-trusted-bookmakers__card-title {
  font-size: 24px;
  color: var(--primary-color-dark);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-trusted-bookmakers__card-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-trusted-bookmakers__card p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

.page-trusted-bookmakers__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-trusted-bookmakers__list li {
  background: #ffffff;
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #333333;
}

.page-trusted-bookmakers__list li strong {
  color: var(--primary-color-dark);
}

.page-trusted-bookmakers__ordered-list {
  counter-reset: my-counter;
}

.page-trusted-bookmakers__ordered-list li {
  position: relative;
  padding-left: 40px;
  border-left: none;
}

.page-trusted-bookmakers__ordered-list li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.page-trusted-bookmakers__ordered-list li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-trusted-bookmakers__ordered-list li a:hover {
  text-decoration: underline;
}

.page-trusted-bookmakers__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-trusted-bookmakers__game-card-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-trusted-bookmakers__game-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-trusted-bookmakers__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-trusted-bookmakers__game-item-title {
  font-size: 20px;
  color: var(--primary-color-dark);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-trusted-bookmakers__game-card-item p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-trusted-bookmakers__btn-small {
  display: inline-block;
  background: var(--secondary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-trusted-bookmakers__btn-small:hover {
  background: var(--secondary-color-dark);
}

.page-trusted-bookmakers__mt-40 {
  margin-top: 40px;
}

/* FAQ Styles */
.page-trusted-bookmakers__faq-section {
  padding: 40px 0;
  background: #f1f3f5;
}

.page-trusted-bookmakers__faq-list {
  margin-top: 30px;
}

.page-trusted-bookmakers__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-trusted-bookmakers__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-trusted-bookmakers__faq-item.active .page-trusted-bookmakers__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-trusted-bookmakers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-trusted-bookmakers__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-trusted-bookmakers__faq-question:active {
  background: #eeeeee;
}

.page-trusted-bookmakers__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333; /* Ensure contrast */
}

.page-trusted-bookmakers__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-trusted-bookmakers__faq-item.active .page-trusted-bookmakers__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-trusted-bookmakers__main-title {
    font-size: 32px;
  }
  .page-trusted-bookmakers__section-title {
    font-size: 28px;
  }
  .page-trusted-bookmakers__text-block, .page-trusted-bookmakers__card p, .page-trusted-bookmakers__list li, .page-trusted-bookmakers__game-card-item p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-trusted-bookmakers {
    padding-top: 100px !important; /* Mobile: Space for fixed header */
  }
  .page-trusted-bookmakers__container {
    padding: 0 15px;
  }
  .page-trusted-bookmakers__intro-section, .page-trusted-bookmakers__section {
    padding: 30px 0;
  }
  .page-trusted-bookmakers__main-title {
    font-size: 28px;
  }
  .page-trusted-bookmakers__hero-image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-trusted-bookmakers__text-block {
    font-size: 16px;
    color: #f0f0f0 !important; /* Ensure light text on dark intro background */
  }
  .page-trusted-bookmakers__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-trusted-bookmakers__card {
    padding: 20px;
  }
  .page-trusted-bookmakers__card-title {
    font-size: 20px;
  }
  .page-trusted-bookmakers__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-trusted-bookmakers__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-trusted-bookmakers__list li {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-trusted-bookmakers__ordered-list li {
    padding-left: 35px;
  }
  .page-trusted-bookmakers__ordered-list li::before {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .page-trusted-bookmakers__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-trusted-bookmakers__btn-small {
    padding: 8px 15px;
    font-size: 14px;
  }
  .page-trusted-bookmakers__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-trusted-bookmakers__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-trusted-bookmakers__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-trusted-bookmakers__faq-answer {
    padding: 0 15px;
  }
  .page-trusted-bookmakers__faq-item.active .page-trusted-bookmakers__faq-answer {
    padding: 15px !important;
  }
  .page-trusted-bookmakers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-trusted-bookmakers__section,
  .page-trusted-bookmakers__card,
  .page-trusted-bookmakers__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Define color variables for consistency and contrast */
:root {
  --primary-color: #FF4500; /* OrangeRed */
  --primary-color-dark: #CC3700; /* Darker OrangeRed */
  --primary-color-light: #FF6347; /* Lighter OrangeRed */
  --secondary-color: #1E90FF; /* DodgerBlue */
  --secondary-color-dark: #146EB4; /* Darker DodgerBlue */
  --secondary-color-light: #6495ED; /* Lighter DodgerBlue */
  --dark-bg-1: #0d0d0d; /* Assuming this is from shared.css */
}

/* Ensure text contrast on various backgrounds */
.page-trusted-bookmakers__intro-section .page-trusted-bookmakers__text-block {
  color: #ffffff;
}

.page-trusted-bookmakers__intro-section .page-trusted-bookmakers__highlight-text {
  color: #ffffff;
}

.page-trusted-bookmakers__card p {
  color: #333333; /* Dark text on white card background */
}

.page-trusted-bookmakers__faq-question h3 {
  color: #333333; /* Dark text on white FAQ question background */
}

.page-trusted-bookmakers__faq-answer p {
  color: #333333; /* Dark text on light grey FAQ answer background */
}

.page-trusted-bookmakers__list li {
  color: #333333; /* Dark text on white list item background */
}

.page-trusted-bookmakers__game-card-item p {
  color: #555555; /* Darker grey text on white game card background */
}