/* style/resources-hm88-app-security-review.css */

/* Base styles for the page */
.page-resources-hm88-app-security-review {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-resources-hm88-app-security-review__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-hm88-app-security-review__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  color: #FFFFFF;
  background-color: #26A9E0;
  position: relative;
  overflow: hidden;
}

.page-resources-hm88-app-security-review__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-resources-hm88-app-security-review__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-resources-hm88-app-security-review__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources-hm88-app-security-review__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
}

.page-resources-hm88-app-security-review__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-resources-hm88-app-security-review__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-hm88-app-security-review__btn-primary:hover {
  background-color: #D36C06;
}

/* Content Section */
.page-resources-hm88-app-security-review__content-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-hm88-app-security-review__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-hm88-app-security-review__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-hm88-app-security-review__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-hm88-app-security-review__text-block a:hover {
  text-decoration: underline;
}

/* Grid for Cards */
.page-resources-hm88-app-security-review__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-hm88-app-security-review__card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  color: #333333;
}

.page-resources-hm88-app-security-review__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-hm88-app-security-review__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-hm88-app-security-review__card-text {
  font-size: 1em;
  color: #555555;
}

.page-resources-hm88-app-security-review__card-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-hm88-app-security-review__card-text a:hover {
  text-decoration: underline;
}

/* Lists */
.page-resources-hm88-app-security-review__list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-resources-hm88-app-security-review__list-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-hm88-app-security-review__list-item strong {
  color: #26A9E0;
}

.page-resources-hm88-app-security-review__list-item a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-hm88-app-security-review__list-item a:hover {
  text-decoration: underline;
}

/* Images within content */
.page-resources-hm88-app-security-review__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.page-resources-hm88-app-security-review__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-hm88-app-security-review__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources-hm88-app-security-review__video-link {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  text-decoration: none;
}

.page-resources-hm88-app-security-review__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #555555;
}

.page-resources-hm88-app-security-review__video-caption a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-hm88-app-security-review__video-caption a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-resources-hm88-app-security-review__faq-container {
  margin-top: 40px;
}

.page-resources-hm88-app-security-review__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-hm88-app-security-review__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #F8F8F8;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-resources-hm88-app-security-review__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-hm88-app-security-review__faq-question:hover {
  background-color: #EEEEEE;
}

.page-resources-hm88-app-security-review__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #26A9E0;
}

.page-resources-hm88-app-security-review__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #FFFFFF;
  text-align: justify;
}

.page-resources-hm88-app-security-review__faq-answer p {
  margin-bottom: 10px;
}

.page-resources-hm88-app-security-review__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-hm88-app-security-review__faq-answer a:hover {
  text-decoration: underline;
}

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

  .page-resources-hm88-app-security-review__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-hm88-app-security-review {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-hm88-app-security-review__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-resources-hm88-app-security-review__hero-title {
    font-size: 2em;
  }

  .page-resources-hm88-app-security-review__hero-description {
    font-size: 1em;
  }

  .page-resources-hm88-app-security-review__btn-primary {
    padding: 12px 25px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-hm88-app-security-review__content-section {
    padding: 40px 0;
  }

  .page-resources-hm88-app-security-review__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-hm88-app-security-review__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-hm88-app-security-review__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-hm88-app-security-review__card {
    padding: 20px;
  }

  .page-resources-hm88-app-security-review__card-title {
    font-size: 1.3em;
  }

  .page-resources-hm88-app-security-review__list {
    padding-left: 20px;
  }

  .page-resources-hm88-app-security-review__list-item {
    font-size: 1em;
  }

  /* Images responsive */
  .page-resources-hm88-app-security-review img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive */
  .page-resources-hm88-app-security-review video,
  .page-resources-hm88-app-security-review__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-hm88-app-security-review__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-hm88-app-security-review__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-hm88-app-security-review__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-hm88-app-security-review__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-hm88-app-security-review__hero-title {
    font-size: 1.8em;
  }

  .page-resources-hm88-app-security-review__hero-description {
    font-size: 0.9em;
  }

  .page-resources-hm88-app-security-review__section-title {
    font-size: 1.5em;
  }
}

/* Color contrast specific classes (if needed, otherwise default to base styles) */
.page-resources-hm88-app-security-review__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-hm88-app-security-review__light-bg {
  background-color: #ffffff;
  color: #333333;
}