/* style/blog-hello88-di-security-fairness.css */

/* Custom Colors */
:root {
  --hello88-primary-color: #11A84E;
  --hello88-secondary-color: #22C768;
  --hello88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --hello88-card-bg: #11271B;
  --hello88-background: #08160F;
  --hello88-text-main: #F2FFF6;
  --hello88-text-secondary: #A7D9B8;
  --hello88-border-color: #2E7A4E;
  --hello88-glow-color: #57E38D;
  --hello88-gold-color: #F2C14E;
  --hello88-divider-color: #1E3A2A;
  --hello88-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming body has dark background from shared.css */
.page-blog-hello88-di-security-fairness {
  font-family: 'Arial', sans-serif;
  color: var(--hello88-text-main); /* Light text for dark background */
  background-color: var(--hello88-background); /* Explicitly set for content area if not inherited */
  line-height: 1.6;
  padding-bottom: 60px;
}

/* Ensure images maintain aspect ratio and don't overflow */
.page-blog-hello88-di-security-fairness img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Sections */
.page-blog-hello88-di-security-fairness__section {
  padding: 60px 20px;
  position: relative;
}

.page-blog-hello88-di-security-fairness__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-hello88-di-security-fairness__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-blog-hello88-di-security-fairness__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-hello88-di-security-fairness__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
  border-radius: 0; /* Hero image usually covers full width, no border radius */
}

.page-blog-hello88-di-security-fairness__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--hello88-text-main);
  padding: 20px;
}

.page-blog-hello88-di-security-fairness__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--hello88-gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-hello88-di-security-fairness__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--hello88-text-secondary);
}

.page-blog-hello88-di-security-fairness__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-hello88-di-security-fairness__btn-primary,
.page-blog-hello88-di-security-fairness__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-blog-hello88-di-security-fairness__btn-primary {
  background: var(--hello88-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-blog-hello88-di-security-fairness__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-blog-hello88-di-security-fairness__btn-secondary {
  background: transparent;
  color: var(--hello88-text-main);
  border: 2px solid var(--hello88-border-color);
}

.page-blog-hello88-di-security-fairness__btn-secondary:hover {
  background: rgba(var(--hello88-border-color-rgb), 0.2);
  color: var(--hello88-gold-color);
  border-color: var(--hello88-gold-color);
}

/* Section Titles */
.page-blog-hello88-di-security-fairness__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--hello88-gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-hello88-di-security-fairness__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--hello88-primary-color);
  border-radius: 2px;
}

.page-blog-hello88-di-security-fairness__intro-section p,
.page-blog-hello88-di-security-fairness__key-pillars p,
.page-blog-hello88-di-security-fairness__fair-play p,
.page-blog-hello88-di-security-fairness__licensing p,
.page-blog-hello88-di-security-fairness__responsible-gaming p,
.page-blog-hello88-di-security-fairness__testimonials p {
  color: var(--hello88-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-hello88-di-security-fairness__image-content {
  margin: 30px auto;
  border: 1px solid var(--hello88-border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Feature Grid */
.page-blog-hello88-di-security-fairness__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-hello88-di-security-fairness__feature-card {
  background: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--hello88-text-main);
}

.page-blog-hello88-di-security-fairness__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(17, 168, 78, 0.5);
}

.page-blog-hello88-di-security-fairness__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: none; /* No extra border on card images */
}

.page-blog-hello88-di-security-fairness__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--hello88-gold-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog-hello88-di-security-fairness__feature-card p {
  font-size: 1rem;
  color: var(--hello88-text-secondary);
  text-align: center;
}

/* List styles */
.page-blog-hello88-di-security-fairness__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-hello88-di-security-fairness__list li {
  background: var(--hello88-card-bg);
  border: 1px solid var(--hello88-divider-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: var(--hello88-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-hello88-di-security-fairness__list li strong {
  color: var(--hello88-gold-color);
  margin-right: 10px;
  flex-shrink: 0;
}

/* Testimonials */
.page-blog-hello88-di-security-fairness__testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-hello88-di-security-fairness__testimonial-card {
  background: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--hello88-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-blog-hello88-di-security-fairness__testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--hello88-text-secondary);
  font-size: 1.1rem;
}

.page-blog-hello88-di-security-fairness__testimonial-author {
  font-weight: 600;
  color: var(--hello88-gold-color);
  text-align: right;
}

/* FAQ Section */
.page-blog-hello88-di-security-fairness__faq-list {
  margin-top: 40px;
}

.page-blog-hello88-di-security-fairness__faq-item {
  background: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-hello88-di-security-fairness__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--hello88-text-main);
  cursor: pointer;
  background: var(--hello88-deep-green);
  border-bottom: 1px solid var(--hello88-divider-color);
  transition: background 0.3s ease;
}

.page-blog-hello88-di-security-fairness__faq-question:hover {
  background: rgba(var(--hello88-deep-green-rgb), 0.8);
}

.page-blog-hello88-di-security-fairness__faq-item[open] > .page-blog-hello88-di-security-fairness__faq-question {
  background: var(--hello88-primary-color);
  color: #ffffff;
}

.page-blog-hello88-di-security-fairness__faq-qtext {
  flex-grow: 1;
}

.page-blog-hello88-di-security-fairness__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--hello88-gold-color);
}

.page-blog-hello88-di-security-fairness__faq-item[open] .page-blog-hello88-di-security-fairness__faq-toggle {
  color: #ffffff;
}

.page-blog-hello88-di-security-fairness__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--hello88-text-secondary);
  background: var(--hello88-card-bg);
  border-top: 1px solid var(--hello88-divider-color);
}

.page-blog-hello88-di-security-fairness__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Hide default details marker */
.page-blog-hello88-di-security-fairness__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-blog-hello88-di-security-fairness__faq-item summary::marker {
  display: none;
}

/* Bottom CTA Section */
.page-blog-hello88-di-security-fairness__cta-bottom {
  background: var(--hello88-deep-green);
  text-align: center;
  padding: 80px 20px;
  border-top: 5px solid var(--hello88-primary-color);
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-blog-hello88-di-security-fairness__cta-container {
  position: relative;
  z-index: 1;
}

.page-blog-hello88-di-security-fairness__cta-title {
  color: var(--hello88-gold-color);
  margin-bottom: 20px;
}

.page-blog-hello88-di-security-fairness__cta-description {
  font-size: 1.15rem;
  color: var(--hello88-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-blog-hello88-di-security-fairness__cta-bottom .page-blog-hello88-di-security-fairness__image-content {
  margin-top: 40px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  filter: brightness(0.8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-hello88-di-security-fairness__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-blog-hello88-di-security-fairness__description {
    font-size: 1rem;
  }
  .page-blog-hello88-di-security-fairness__section {
    padding: 50px 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-hello88-di-security-fairness {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Images */
  .page-blog-hello88-di-security-fairness img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Containers with images/content */
  .page-blog-hello88-di-security-fairness__section,
  .page-blog-hello88-di-security-fairness__container,
  .page-blog-hello88-di-security-fairness__feature-card,
  .page-blog-hello88-di-security-fairness__testimonial-card,
  .page-blog-hello88-di-security-fairness__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-hello88-di-security-fairness__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-blog-hello88-di-security-fairness__hero-content {
    padding: 15px;
  }

  .page-blog-hello88-di-security-fairness__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-hello88-di-security-fairness__description,
  .page-blog-hello88-di-security-fairness__cta-description {
    font-size: 0.95rem;
  }

  .page-blog-hello88-di-security-fairness__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  /* Buttons */
  .page-blog-hello88-di-security-fairness__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-hello88-di-security-fairness__btn-primary,
  .page-blog-hello88-di-security-fairness__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: unset;
  }

  .page-blog-hello88-di-security-fairness__feature-grid,
  .page-blog-hello88-di-security-fairness__testimonial-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-blog-hello88-di-security-fairness__feature-card,
  .page-blog-hello88-di-security-fairness__testimonial-card {
    padding: 25px;
  }

  .page-blog-hello88-di-security-fairness__card-title {
    font-size: 1.3rem;
  }

  .page-blog-hello88-di-security-fairness__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-blog-hello88-di-security-fairness__faq-toggle {
    font-size: 1.5rem;
  }

  .page-blog-hello88-di-security-fairness__faq-answer {
    padding: 15px;
    font-size: 0.95rem;
  }

  .page-blog-hello88-di-security-fairness__list li {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .page-blog-hello88-di-security-fairness__cta-bottom {
    padding: 60px 15px;
  }
}

/* Fallback for body background color variable if not defined in shared */
.page-blog-hello88-di-security-fairness {
  --background-color-rgb: 8, 22, 15; /* RGB for #08160F */
}

/* Ensure brand color variables are available for RGB conversion if needed */
.page-blog-hello88-di-security-fairness {
  --hello88-primary-color-rgb: 17, 168, 78;
  --hello88-deep-green-rgb: 10, 75, 44;
}