/* style/resources-hi88-safety.css */
.page-resources-hi88-safety {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark backgrounds */
  line-height: 1.6;
  background-color: #0A192F;
}

.page-resources-hi88-safety-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-hi88-safety-hero {
  background: linear-gradient(135deg, #0A192F 0%, #2A3B4C 100%);
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-resources-hi88-safety-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-resources-hi88-safety-hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #E0E0E0;
}

.page-resources-hi88-safety-hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-hi88-safety-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-resources-hi88-safety-btn.primary {
  background-color: #FFD700;
  color: #0A192F;
}

.page-resources-hi88-safety-btn.primary:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
}

.page-resources-hi88-safety-btn.secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-hi88-safety-btn.secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-resources-hi88-safety-btn.large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-resources-hi88-safety-section {
  padding: 80px 0;
  background-color: #0A192F;
}

.page-resources-hi88-safety-section.featured {
  background-color: #1A2B3D;
}

.page-resources-hi88-safety-section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-resources-hi88-safety-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-resources-hi88-safety-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-resources-hi88-safety-content-wrapper.reverse {
  flex-direction: row-reverse;
}

.page-resources-hi88-safety-text-content {
  flex: 1;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-resources-hi88-safety-text-content p {
  margin-bottom: 20px;
}

.page-resources-hi88-safety-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-resources-hi88-safety-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-hi88-safety-faq {
  background-color: #0A192F;
}

.page-resources-hi88-safety-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-hi88-safety-faq-item {
  background-color: #1A2B3D;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-hi88-safety-faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-resources-hi88-safety-faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources-hi88-safety-faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-hi88-safety-faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #E0E0E0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-resources-hi88-safety-faq-answer.active {
  max-height: 500px; /* Adjust as needed */
  padding: 0 25px 20px;
}

.page-resources-hi88-safety-cta-banner {
  background: linear-gradient(90deg, #0A192F, #2A3B4C);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-resources-hi88-safety-cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-hi88-safety-cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #E0E0E0;
}

.page-resources-hi88-safety-cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-hi88-safety .highlight {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-hi88-safety-hero-title {
    font-size: 2.8em;
  }
  .page-resources-hi88-safety-hero-description {
    font-size: 1.1em;
  }
  .page-resources-hi88-safety-section-title {
    font-size: 2em;
  }
  .page-resources-hi88-safety-content-wrapper {
    flex-direction: column;
  }
  .page-resources-hi88-safety-content-wrapper.reverse {
    flex-direction: column;
  }
  .page-resources-hi88-safety-text-content,
  .page-resources-hi88-safety-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-resources-hi88-safety-cta-title {
    font-size: 2.2em;
  }
  .page-resources-hi88-safety-cta-description {
    font-size: 1.1em;
  }
  .page-resources-hi88-safety-cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-hi88-safety-btn.large {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-resources-hi88-safety-hero {
    padding: 80px 0;
  }
  .page-resources-hi88-safety-hero-title {
    font-size: 2.2em;
  }
  .page-resources-hi88-safety-hero-description {
    font-size: 1em;
  }
  .page-resources-hi88-safety-hero-actions {
    flex-direction: column;
  }
  .page-resources-hi88-safety-section {
    padding: 60px 0;
  }
  .page-resources-hi88-safety-section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-resources-hi88-safety-text-content {
    font-size: 1em;
  }
  .page-resources-hi88-safety-faq-question {
    font-size: 1.1em;
  }
  .page-resources-hi88-safety-cta-title {
    font-size: 1.8em;
  }
  .page-resources-hi88-safety-cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources-hi88-safety-hero-title {
    font-size: 1.8em;
  }
  .page-resources-hi88-safety-section-title {
    font-size: 1.5em;
  }
  .page-resources-hi88-safety-faq-question {
    font-size: 1em;
  }
  .page-resources-hi88-safety-cta-title {
    font-size: 1.5em;
  }
  .page-resources-hi88-safety-btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-hi88-safety-btn.large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
}