.page-blog-safe-secure-gaming-th777-ph {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  line-height: 1.6;
}

.page-blog-safe-secure-gaming-th777-ph__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-safe-secure-gaming-th777-ph__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-blog-safe-secure-gaming-th777-ph__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-blog-safe-secure-gaming-th777-ph__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text contrast */
}

.page-blog-safe-secure-gaming-th777-ph__hero-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.page-blog-safe-secure-gaming-th777-ph__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-blog-safe-secure-gaming-th777-ph__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog-safe-secure-gaming-th777-ph__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.page-blog-safe-secure-gaming-th777-ph__btn-primary,
.page-blog-safe-secure-gaming-th777-ph__btn-secondary,
.page-blog-safe-secure-gaming-th777-ph__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-blog-safe-secure-gaming-th777-ph__btn-primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog-safe-secure-gaming-th777-ph__btn-primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-blog-safe-secure-gaming-th777-ph__btn-secondary {
  background-color: transparent;
  color: #FFFFFF; /* Register color */
  border: 2px solid #FFFFFF;
}

.page-blog-safe-secure-gaming-th777-ph__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-blog-safe-secure-gaming-th777-ph__btn-tertiary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-blog-safe-secure-gaming-th777-ph__btn-tertiary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-blog-safe-secure-gaming-th777-ph__content-section {
  padding: 60px 0;
}

.page-blog-safe-secure-gaming-th777-ph__section-title {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-blog-safe-secure-gaming-th777-ph__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-blog-safe-secure-gaming-th777-ph__text-block strong {
  color: #000000;
}

.page-blog-safe-secure-gaming-th777-ph__feature-grid,
.page-blog-safe-secure-gaming-th777-ph__game-types,
.page-blog-safe-secure-gaming-th777-ph__info-grid,
.page-blog-safe-secure-gaming-th777-ph__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-safe-secure-gaming-th777-ph__feature-item,
.page-blog-safe-secure-gaming-th777-ph__game-card,
.page-blog-safe-secure-gaming-th777-ph__info-item,
.page-blog-safe-secure-gaming-th777-ph__promo-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-safe-secure-gaming-th777-ph__feature-item:hover,
.page-blog-safe-secure-gaming-th777-ph__game-card:hover,
.page-blog-safe-secure-gaming-th777-ph__info-item:hover,
.page-blog-safe-secure-gaming-th777-ph__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.page-blog-safe-secure-gaming-th777-ph__feature-image,
.page-blog-safe-secure-gaming-th777-ph__game-image,
.page-blog-safe-secure-gaming-th777-ph__info-image,
.page-blog-safe-secure-gaming-th777-ph__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-safe-secure-gaming-th777-ph__feature-title,
.page-blog-safe-secure-gaming-th777-ph__game-title,
.page-blog-safe-secure-gaming-th777-ph__info-title,
.page-blog-safe-secure-gaming-th777-ph__promo-title {
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-safe-secure-gaming-th777-ph__game-title a {
  color: #000000;
  text-decoration: none;
}

.page-blog-safe-secure-gaming-th777-ph__game-title a:hover {
  text-decoration: underline;
}

.page-blog-safe-secure-gaming-th777-ph__feature-description,
.page-blog-safe-secure-gaming-th777-ph__game-description,
.page-blog-safe-secure-gaming-th777-ph__info-description,
.page-blog-safe-secure-gaming-th777-ph__promo-description {
  font-size: 0.95rem;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-blog-safe-secure-gaming-th777-ph__info-item .page-blog-safe-secure-gaming-th777-ph__btn-tertiary {
  margin-top: auto;
}

.page-blog-safe-secure-gaming-th777-ph__summary-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-blog-safe-secure-gaming-th777-ph__summary-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #333333;
}

.page-blog-safe-secure-gaming-th777-ph__summary-list li strong {
  color: #000000;
}

.page-blog-safe-secure-gaming-th777-ph__text-center {
  text-align: center;
}

.page-blog-safe-secure-gaming-th777-ph__cta-final {
  background-color: #f0f0f0;
  padding: 80px 0;
}

.page-blog-safe-secure-gaming-th777-ph__faq-section {
  padding: 60px 0;
}

.page-blog-safe-secure-gaming-th777-ph__faq-list {
  margin-top: 40px;
}

.page-blog-safe-secure-gaming-th777-ph__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-safe-secure-gaming-th777-ph__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-blog-safe-secure-gaming-th777-ph__faq-question:hover {
  background-color: #e8e8e8;
}

.page-blog-safe-secure-gaming-th777-ph__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-safe-secure-gaming-th777-ph__faq-item.active .page-blog-safe-secure-gaming-th777-ph__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-safe-secure-gaming-th777-ph__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-blog-safe-secure-gaming-th777-ph__faq-item.active .page-blog-safe-secure-gaming-th777-ph__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-blog-safe-secure-gaming-th777-ph__faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  color: #555555;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-safe-secure-gaming-th777-ph__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog-safe-secure-gaming-th777-ph__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  }
  .page-blog-safe-secure-gaming-th777-ph__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-blog-safe-secure-gaming-th777-ph__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-blog-safe-secure-gaming-th777-ph__hero-content-wrapper {
    padding: 15px;
    width: 95%;
  }
  .page-blog-safe-secure-gaming-th777-ph__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .page-blog-safe-secure-gaming-th777-ph__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }
  .page-blog-safe-secure-gaming-th777-ph__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-blog-safe-secure-gaming-th777-ph__btn-primary,
  .page-blog-safe-secure-gaming-th777-ph__btn-secondary,
  .page-blog-safe-secure-gaming-th777-ph__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-safe-secure-gaming-th777-ph__content-section {
    padding: 40px 0;
  }
  .page-blog-safe-secure-gaming-th777-ph__section-title {
    font-size: 1.8rem;
  }
  .page-blog-safe-secure-gaming-th777-ph__text-block,
  .page-blog-safe-secure-gaming-th777-ph__summary-list li,
  .page-blog-safe-secure-gaming-th777-ph__faq-answer p {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-safe-secure-gaming-th777-ph__feature-grid,
  .page-blog-safe-secure-gaming-th777-ph__game-types,
  .page-blog-safe-secure-gaming-th777-ph__info-grid,
  .page-blog-safe-secure-gaming-th777-ph__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-safe-secure-gaming-th777-ph__feature-item,
  .page-blog-safe-secure-gaming-th777-ph__game-card,
  .page-blog-safe-secure-gaming-th777-ph__info-item,
  .page-blog-safe-secure-gaming-th777-ph__promo-item {
    padding: 20px;
  }
  .page-blog-safe-secure-gaming-th777-ph__feature-image,
  .page-blog-safe-secure-gaming-th777-ph__game-image,
  .page-blog-safe-secure-gaming-th777-ph__info-image,
  .page-blog-safe-secure-gaming-th777-ph__promo-image {
    height: 200px;
  }
  .page-blog-safe-secure-gaming-th777-ph__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-blog-safe-secure-gaming-th777-ph__faq-answer {
    padding: 0 20px;
  }
  .page-blog-safe-secure-gaming-th777-ph__faq-item.active .page-blog-safe-secure-gaming-th777-ph__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-blog-safe-secure-gaming-th777-ph img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-safe-secure-gaming-th777-ph__container,
  .page-blog-safe-secure-gaming-th777-ph__hero-section,
  .page-blog-safe-secure-gaming-th777-ph__content-section,
  .page-blog-safe-secure-gaming-th777-ph__feature-grid,
  .page-blog-safe-secure-gaming-th777-ph__game-types,
  .page-blog-safe-secure-gaming-th777-ph__info-grid,
  .page-blog-safe-secure-gaming-th777-ph__promo-grid,
  .page-blog-safe-secure-gaming-th777-ph__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-safe-secure-gaming-th777-ph__main-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
  .page-blog-safe-secure-gaming-th777-ph__hero-description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }
  .page-blog-safe-secure-gaming-th777-ph__section-title {
    font-size: 1.6rem;
  }
  .page-blog-safe-secure-gaming-th777-ph__text-block {
    font-size: 0.95rem;
  }
  .page-blog-safe-secure-gaming-th777-ph__feature-title,
  .page-blog-safe-secure-gaming-th777-ph__game-title,
  .page-blog-safe-secure-gaming-th777-ph__info-title,
  .page-blog-safe-secure-gaming-th777-ph__promo-title {
    font-size: 1.2rem;
  }
  .page-blog-safe-secure-gaming-th777-ph__feature-description,
  .page-blog-safe-secure-gaming-th777-ph__game-description,
  .page-blog-safe-secure-gaming-th777-ph__info-description,
  .page-blog-safe-secure-gaming-th777-ph__promo-description {
    font-size: 0.9rem;
  }
  .page-blog-safe-secure-gaming-th777-ph__btn-primary,
  .page-blog-safe-secure-gaming-th777-ph__btn-secondary,
  .page-blog-safe-secure-gaming-th777-ph__btn-tertiary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}