.page-resources-scam-prevention {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-scam-prevention__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-resources-scam-prevention__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-scam-prevention__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.page-resources-scam-prevention__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #ffffff;
}

.page-resources-scam-prevention__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-scam-prevention__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-scam-prevention__cta-button {
  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;
  font-size: 1em;
  margin: 0 10px;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources-scam-prevention__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-scam-prevention__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
  transform: translateY(-2px);
}

.page-resources-scam-prevention__btn-secondary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-scam-prevention__btn-secondary:hover {
  background-color: #c96706;
  border-color: #c96706;
  transform: translateY(-2px);
}

.page-resources-scam-prevention__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #ffffff;
}

.page-resources-scam-prevention__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

.page-resources-scam-prevention__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-resources-scam-prevention__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-scam-prevention__inline-link:hover {
  color: #4ac0f2;
}

.page-resources-scam-prevention__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-scam-prevention__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-scam-prevention__card {
  background-color: rgba(255, 255, 255, 0.08); /* Light background for card content on dark body */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-scam-prevention__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-scam-prevention__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  flex-grow: 0;
}

.page-resources-scam-prevention__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-resources-scam-prevention__list li {
  margin-bottom: 8px;
}

.page-resources-scam-prevention__faq-container {
  margin-top: 40px;
}

.page-resources-scam-prevention__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-scam-prevention__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #26A9E0;
  list-style: none;
  padding-right: 10px;
}

.page-resources-scam-prevention__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-scam-prevention__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-resources-scam-prevention__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #ffffff;
}

.page-resources-scam-prevention__faq-answer {
  padding-top: 15px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-resources-scam-prevention__image-block {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-scam-prevention__cta-section {
  background-color: #26A9E0;
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources-scam-prevention__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-scam-prevention__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-scam-prevention__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-scam-prevention__conclusion-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-scam-prevention__hero-title {
    font-size: 2.2em;
  }

  .page-resources-scam-prevention__hero-description {
    font-size: 1em;
  }

  .page-resources-scam-prevention__section-title {
    font-size: 2em;
  }

  .page-resources-scam-prevention__cta-title {
    font-size: 2em;
  }

  .page-resources-scam-prevention__grid-container {
    grid-template-columns: 1fr;
  }

  .page-resources-scam-prevention__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-scam-prevention__cta-button,
  .page-resources-scam-prevention__btn-primary,
  .page-resources-scam-prevention__btn-secondary,
  .page-resources-scam-prevention a[class*="button"],
  .page-resources-scam-prevention 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-scam-prevention__cta-buttons,
  .page-resources-scam-prevention__button-group,
  .page-resources-scam-prevention__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;
  }

  /* Images and their containers must be responsive */
  .page-resources-scam-prevention img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-scam-prevention__section,
  .page-resources-scam-prevention__card,
  .page-resources-scam-prevention__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-scam-prevention__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied on mobile */
  }

  .page-resources-scam-prevention__card-image {
    height: auto;
  }

  .page-resources-scam-prevention__image-block {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color contrast safety for dark background */
.page-resources-scam-prevention__dark-bg {
  color: #ffffff;
  background: #26A9E0;
}

.page-resources-scam-prevention__light-bg {
  color: #ffffff; /* Text remains white on card background */
  background: rgba(255, 255, 255, 0.08);
}

/* Ensure text on cards is always readable */
.page-resources-scam-prevention__card p,
.page-resources-scam-prevention__card li {
  color: #f0f0f0;
}

.page-resources-scam-prevention__faq-answer p {
  color: #f0f0f0;
}

.page-resources-scam-prevention__faq-item summary {
  color: #26A9E0;
}

.page-resources-scam-prevention__faq-toggle {
  color: #ffffff;
}

.page-resources-scam-prevention__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-scam-prevention__cta-title {
  color: #ffffff;
}

.page-resources-scam-prevention__cta-description {
  color: #f0f0f0;
}

.page-resources-scam-prevention__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-scam-prevention__btn-secondary {
  background-color: #EA7C07;
  color: #ffffff;
}

.page-resources-scam-prevention__conclusion-section {
  color: #ffffff;
}

.page-resources-scam-prevention__section-title {
  color: #26A9E0;
}

.page-resources-scam-prevention__paragraph {
  color: #f0f0f0;
}

.page-resources-scam-prevention__card-title {
  color: #26A9E0;
}

.page-resources-scam-prevention__list li {
  color: #f0f0f0;
}