/* style/resources-hello88-account-security-tips.css */

/* Base styles for the page */
.page-resources-hello88-account-security-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

.page-resources-hello88-account-security-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-hello88-account-security-tips__hero-section {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  background-color: #0A1931;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-hello88-account-security-tips__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-resources-hello88-account-security-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hello88-account-security-tips__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Content Section */
.page-resources-hello88-account-security-tips__content-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background for content for readability */
  color: #333333; /* Dark text for light background */
}

.page-resources-hello88-account-security-tips__section-title {
  font-size: 2.2em;
  color: #0A1931;
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-hello88-account-security-tips__sub-section-title {
  font-size: 1.8em;
  color: #0A1931;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-hello88-account-security-tips__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-hello88-account-security-tips__paragraph a {
  color: #0A1931;
  text-decoration: underline;
}

.page-resources-hello88-account-security-tips__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-resources-hello88-account-security-tips__list-item {
  margin-bottom: 10px;
}

.page-resources-hello88-account-security-tips__list-item strong {
  color: #0A1931; /* Changed to main brand color for better contrast on light background */
}

/* Call to Action Section */
.page-resources-hello88-account-security-tips__call-to-action {
  padding: 80px 0;
  text-align: center;
  background-color: #0A1931;
  color: #ffffff;
}

.page-resources-hello88-account-security-tips__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-hello88-account-security-tips__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hello88-account-security-tips__cta-description a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-hello88-account-security-tips__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-resources-hello88-account-security-tips__btn-primary,
.page-resources-hello88-account-security-tips__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, border-color 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-hello88-account-security-tips__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-resources-hello88-account-security-tips__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-hello88-account-security-tips__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-hello88-account-security-tips__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

/* FAQ Section */
.page-resources-hello88-account-security-tips__faq-list {
  margin-top: 50px;
}

.page-resources-hello88-account-security-tips__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-hello88-account-security-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #0A1931;
  transition: background-color 0.3s ease;
}

.page-resources-hello88-account-security-tips__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-hello88-account-security-tips__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-resources-hello88-account-security-tips__faq-item.active .page-resources-hello88-account-security-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-hello88-account-security-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-hello88-account-security-tips__faq-item.active .page-resources-hello88-account-security-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-resources-hello88-account-security-tips__faq-answer p {
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-hello88-account-security-tips__faq-answer a {
  color: #0A1931;
  text-decoration: underline;
}

/* Image styles (no small icons, no filter) */
.page-resources-hello88-account-security-tips img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
  /* Ensure no filter is applied */
  filter: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-hello88-account-security-tips__hero-title {
    font-size: 2.8em;
  }

  .page-resources-hello88-account-security-tips__section-title {
    font-size: 2em;
  }

  .page-resources-hello88-account-security-tips__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-hello88-account-security-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-hello88-account-security-tips__container {
    padding: 0 15px;
  }

  .page-resources-hello88-account-security-tips__hero-section {
    padding: 100px 0 60px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-resources-hello88-account-security-tips__hero-title {
    font-size: 2.2em;
  }

  .page-resources-hello88-account-security-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-hello88-account-security-tips__hero-cta-buttons,
  .page-resources-hello88-account-security-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-hello88-account-security-tips__btn-primary,
  .page-resources-hello88-account-security-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-hello88-account-security-tips__content-section,
  .page-resources-hello88-account-security-tips__call-to-action {
    padding: 60px 0;
  }

  .page-resources-hello88-account-security-tips__section-title {
    font-size: 1.8em;
  }

  .page-resources-hello88-account-security-tips__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources-hello88-account-security-tips__paragraph,
  .page-resources-hello88-account-security-tips__list-item {
    font-size: 1em;
  }

  .page-resources-hello88-account-security-tips__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-resources-hello88-account-security-tips__faq-answer {
    padding: 0 20px;
  }

  .page-resources-hello88-account-security-tips__faq-item.active .page-resources-hello88-account-security-tips__faq-answer {
    padding: 15px 20px;
  }

  /* Image responsiveness for mobile */
  .page-resources-hello88-account-security-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Video responsiveness for mobile */
  .page-resources-hello88-account-security-tips video,
  .page-resources-hello88-account-security-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-hello88-account-security-tips__video-section,
  .page-resources-hello88-account-security-tips__video-container,
  .page-resources-hello88-account-security-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-hello88-account-security-tips__section,
  .page-resources-hello88-account-security-tips__card,
  .page-resources-hello88-account-security-tips__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Safeguards */
.page-resources-hello88-account-security-tips__dark-bg {
  background-color: #0A1931;
  color: #ffffff; /* Deep blue background, white text */
}

.page-resources-hello88-account-security-tips__light-bg {
  background-color: #f8f9fa;
  color: #333333; /* Light gray background, dark text */
}

/* Ensure image elements are not smaller than 200px in content area CSS */
.page-resources-hello88-account-security-tips__content-section img,
.page-resources-hello88-account-security-tips__paragraph img,
.page-resources-hello88-account-security-tips__list-item img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific contrast adjustments for links on light background */
.page-resources-hello88-account-security-tips__content-section a {
  color: #0A1931;
}

.page-resources-hello88-account-security-tips__content-section a:hover {
  color: #FFD700;
}