/* style/resources-how-to-identify-reliable-platforms.css */
.page-resources-how-to-identify-reliable-platforms {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from shared.css body */
}

.page-resources-how-to-identify-reliable-platforms__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-how-to-identify-reliable-platforms__hero-section {
  position: relative;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero:1920x1080:kv999,security,trust,online_gambling,vietnam]') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-resources-how-to-identify-reliable-platforms__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay to ensure text readability */
  z-index: 1;
}

.page-resources-how-to-identify-reliable-platforms__hero-section > .page-resources-how-to-identify-reliable-platforms__container {
  position: relative;
  z-index: 2;
}

.page-resources-how-to-identify-reliable-platforms__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-how-to-identify-reliable-platforms__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-how-to-identify-reliable-platforms__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-resources-how-to-identify-reliable-platforms__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-how-to-identify-reliable-platforms__btn-primary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-resources-how-to-identify-reliable-platforms__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-how-to-identify-reliable-platforms__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-how-to-identify-reliable-platforms__content-area {
  background-color: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-resources-how-to-identify-reliable-platforms__section-title {
  font-size: 2.2em;
  color: #017439;
  margin-bottom: 30px;
  text-align: left;
}

.page-resources-how-to-identify-reliable-platforms__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-how-to-identify-reliable-platforms p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-resources-how-to-identify-reliable-platforms__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-how-to-identify-reliable-platforms__list li {
  margin-bottom: 10px;
}

.page-resources-how-to-identify-reliable-platforms__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-identify-reliable-platforms__cta-section {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  padding: 50px 20px;
  margin-top: 60px;
  border-radius: 8px;
}

.page-resources-how-to-identify-reliable-platforms__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-how-to-identify-reliable-platforms__cta-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-how-to-identify-reliable-platforms__faq-section {
  margin-top: 60px;
}

.page-resources-how-to-identify-reliable-platforms__faq-item {
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-how-to-identify-reliable-platforms__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-identify-reliable-platforms__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-how-to-identify-reliable-platforms__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #017439;
}

.page-resources-how-to-identify-reliable-platforms__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

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

.page-resources-how-to-identify-reliable-platforms__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-how-to-identify-reliable-platforms__main-title {
    font-size: 2.5em;
  }

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

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

@media (max-width: 768px) {
  .page-resources-how-to-identify-reliable-platforms {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-how-to-identify-reliable-platforms__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-how-to-identify-reliable-platforms__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-how-to-identify-reliable-platforms__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-resources-how-to-identify-reliable-platforms__btn-primary,
  .page-resources-how-to-identify-reliable-platforms__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-how-to-identify-reliable-platforms__content-area {
    padding: 40px 0;
  }

  .page-resources-how-to-identify-reliable-platforms__container {
    padding: 0 15px;
  }

  .page-resources-how-to-identify-reliable-platforms__section-title {
    font-size: 1.8em;
    text-align: center;
  }

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

  .page-resources-how-to-identify-reliable-platforms img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-resources-how-to-identify-reliable-platforms__cta-section {
    padding: 30px 15px;
  }

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

  .page-resources-how-to-identify-reliable-platforms__faq-question {
    padding: 12px 15px;
  }

  .page-resources-how-to-identify-reliable-platforms__faq-title {
    font-size: 1em;
  }

  .page-resources-how-to-identify-reliable-platforms__faq-answer {
    padding: 0 15px;
  }

  .page-resources-how-to-identify-reliable-platforms__faq-item.active .page-resources-how-to-identify-reliable-platforms__faq-answer {
    padding: 15px !important;
  }
}

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

  .page-resources-how-to-identify-reliable-platforms__section-title {
    font-size: 1.6em;
  }

  .page-resources-how-to-identify-reliable-platforms__cta-title {
    font-size: 1.6em;
  }
}