.page-resources-common-bonus-types-and-pitfalls {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

.page-resources-common-bonus-types-and-pitfalls__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Let shared.css handle body padding-top */
}

.page-resources-common-bonus-types-and-pitfalls__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-common-bonus-types-and-pitfalls__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-common-bonus-types-and-pitfalls__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-resources-common-bonus-types-and-pitfalls__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-common-bonus-types-and-pitfalls__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-common-bonus-types-and-pitfalls__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-resources-common-bonus-types-and-pitfalls__section-title--light {
  color: #ffffff;
}

.page-resources-common-bonus-types-and-pitfalls__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-common-bonus-types-and-pitfalls__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-common-bonus-types-and-pitfalls__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-common-bonus-types-and-pitfalls__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-resources-common-bonus-types-and-pitfalls__paragraph--light {
  color: #ffffff;
}

.page-resources-common-bonus-types-and-pitfalls__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-common-bonus-types-and-pitfalls__card {
  background: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-resources-common-bonus-types-and-pitfalls__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-common-bonus-types-and-pitfalls__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-common-bonus-types-and-pitfalls__card-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources-common-bonus-types-and-pitfalls__btn-primary,
.page-resources-common-bonus-types-and-pitfalls__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;
  margin-top: auto; /* Push button to bottom of card */
}

.page-resources-common-bonus-types-and-pitfalls__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-common-bonus-types-and-pitfalls__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-resources-common-bonus-types-and-pitfalls__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-common-bonus-types-and-pitfalls__btn-secondary:hover {
  background-color: #e0f2f7;
}

.page-resources-common-bonus-types-and-pitfalls__btn-secondary--light {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-common-bonus-types-and-pitfalls__btn-secondary--light:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-common-bonus-types-and-pitfalls__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-common-bonus-types-and-pitfalls__list-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-resources-common-bonus-types-and-pitfalls__list-item-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-resources-common-bonus-types-and-pitfalls__list-item-text {
  color: #f0f0f0;
}

.page-resources-common-bonus-types-and-pitfalls__cta-section {
  background-color: #f0f8ff;
  color: #333333;
  padding: 60px 0;
  text-align: center;
}

.page-resources-common-bonus-types-and-pitfalls__grid-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-common-bonus-types-and-pitfalls__info-box {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-common-bonus-types-and-pitfalls__info-box-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-common-bonus-types-and-pitfalls__info-box-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-common-bonus-types-and-pitfalls__info-box-text {
  color: #555555;
  font-size: 1em;
}

.page-resources-common-bonus-types-and-pitfalls__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-resources-common-bonus-types-and-pitfalls__faq-section {
  padding: 60px 0;
}

.page-resources-common-bonus-types-and-pitfalls__faq-list {
  margin-top: 40px;
}

.page-resources-common-bonus-types-and-pitfalls__faq-item {
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-common-bonus-types-and-pitfalls__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

.page-resources-common-bonus-types-and-pitfalls__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-resources-common-bonus-types-and-pitfalls__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-resources-common-bonus-types-and-pitfalls__faq-answer {
  padding: 15px 25px 20px;
  background-color: #f0f0f0;
  color: #555555;
  font-size: 1em;
}

.page-resources-common-bonus-types-and-pitfalls__responsible-gambling-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

/* General image responsiveness */
.page-resources-common-bonus-types-and-pitfalls img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-common-bonus-types-and-pitfalls__hero-section {
    height: 450px;
  }

  .page-resources-common-bonus-types-and-pitfalls__hero-title {
    font-size: 2em;
  }

  .page-resources-common-bonus-types-and-pitfalls__hero-description {
    font-size: 1em;
  }

  .page-resources-common-bonus-types-and-pitfalls__section-title {
    font-size: 1.8em;
  }

  .page-resources-common-bonus-types-and-pitfalls__content-area,
  .page-resources-common-bonus-types-and-pitfalls__cta-section,
  .page-resources-common-bonus-types-and-pitfalls__faq-section,
  .page-resources-common-bonus-types-and-pitfalls__responsible-gambling-section {
    padding: 30px 15px;
  }

  .page-resources-common-bonus-types-and-pitfalls__grid,
  .page-resources-common-bonus-types-and-pitfalls__grid-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-common-bonus-types-and-pitfalls__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-common-bonus-types-and-pitfalls__btn-primary,
  .page-resources-common-bonus-types-and-pitfalls__btn-secondary,
  .page-resources-common-bonus-types-and-pitfalls a[class*="button"],
  .page-resources-common-bonus-types-and-pitfalls a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-common-bonus-types-and-pitfalls__cta-buttons,
  .page-resources-common-bonus-types-and-pitfalls__button-group,
  .page-resources-common-bonus-types-and-pitfalls__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-common-bonus-types-and-pitfalls img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-common-bonus-types-and-pitfalls__section,
  .page-resources-common-bonus-types-and-pitfalls__card,
  .page-resources-common-bonus-types-and-pitfalls__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-common-bonus-types-and-pitfalls__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Consistent with shared */
  }
}