.page-resources-phtay-security-fairness {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-phtay-security-fairness__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-phtay-security-fairness__hero-section {
  background-color: #003366; /* Primary color background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-resources-phtay-security-fairness__hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-resources-phtay-security-fairness__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary color for emphasis */
  line-height: 1.2;
}

.page-resources-phtay-security-fairness__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-phtay-security-fairness__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-phtay-security-fairness__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-phtay-security-fairness__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
}

.page-resources-phtay-security-fairness__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-phtay-security-fairness__introduction-section,
.page-resources-phtay-security-fairness__security-features,
.page-resources-phtay-security-fairness__fairness-guarantees,
.page-resources-phtay-security-fairness__responsible-gaming,
.page-resources-phtay-security-fairness__transaction-security,
.page-resources-phtay-security-fairness__customer-support,
.page-resources-phtay-security-fairness__conclusion-section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-resources-phtay-security-fairness__introduction-section {
  background-color: #f9f9f9;
}

.page-resources-phtay-security-fairness__section-title {
  font-size: 2em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-resources-phtay-security-fairness__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-phtay-security-fairness__feature-grid,
.page-resources-phtay-security-fairness__fairness-grid,
.page-resources-phtay-security-fairness__responsible-grid,
.page-resources-phtay-security-fairness__transaction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-phtay-security-fairness__feature-card,
.page-resources-phtay-security-fairness__fairness-card,
.page-resources-phtay-security-fairness__responsible-card,
.page-resources-phtay-security-fairness__transaction-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-phtay-security-fairness__feature-card:hover,
.page-resources-phtay-security-fairness__fairness-card:hover,
.page-resources-phtay-security-fairness__responsible-card:hover,
.page-resources-phtay-security-fairness__transaction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-phtay-security-fairness__feature-icon,
.page-resources-phtay-security-fairness__fairness-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-resources-phtay-security-fairness__feature-title,
.page-resources-phtay-security-fairness__fairness-title,
.page-resources-phtay-security-fairness__responsible-title,
.page-resources-phtay-security-fairness__transaction-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-resources-phtay-security-fairness__feature-description,
.page-resources-phtay-security-fairness__fairness-description,
.page-resources-phtay-security-fairness__responsible-description,
.page-resources-phtay-security-fairness__transaction-description {
  font-size: 1em;
  color: #555;
}

.page-resources-phtay-security-fairness__link {
  display: inline-block;
  margin-top: 15px;
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-phtay-security-fairness__link:hover {
  color: #FFD700;
}

.page-resources-phtay-security-fairness__cta-button {
  display: inline-block;
  background-color: #003366;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-phtay-security-fairness__cta-button:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

.page-resources-phtay-security-fairness__cta-button--secondary {
  background-color: #FFD700;
  color: #003366;
}

.page-resources-phtay-security-fairness__cta-button--secondary:hover {
  background-color: #e6c200;
}

.page-resources-phtay-security-fairness__support-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources-phtay-security-fairness__support-button {
  display: inline-block;
  background-color: #f0f0f0;
  color: #003366;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-phtay-security-fairness__support-button:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-resources-phtay-security-fairness__action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources-phtay-security-fairness__action-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-phtay-security-fairness__action-button--primary {
  background-color: #003366;
  color: #ffffff;
}

.page-resources-phtay-security-fairness__action-button--primary:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

.page-resources-phtay-fairness-guarantees .page-resources-phtay-security-fairness__cta-button {
  margin-bottom: 0;
}

.page-resources-phtay-security-fairness__action-button--secondary {
  background-color: #FFD700;
  color: #003366;
}

.page-resources-phtay-security-fairness__action-button--secondary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-phtay-security-fairness__hero-title {
    font-size: 2em;
  }

  .page-resources-phtay-security-fairness__hero-description {
    font-size: 1em;
  }

  .page-resources-phtay-security-fairness__section-title {
    font-size: 1.8em;
  }

  .page-resources-phtay-security-fairness__feature-grid,
  .page-resources-phtay-security-fairness__fairness-grid,
  .page-resources-phtay-security-fairness__responsible-grid,
  .page-resources-phtay-security-fairness__transaction-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-phtay-security-fairness__hero-section,
  .page-resources-phtay-security-fairness__introduction-section,
  .page-resources-phtay-security-fairness__security-features,
  .page-resources-phtay-security-fairness__fairness-guarantees,
  .page-resources-phtay-security-fairness__responsible-gaming,
  .page-resources-phtay-security-fairness__transaction-security,
  .page-resources-phtay-security-fairness__customer-support,
  .page-resources-phtay-security-fairness__conclusion-section {
    padding: 40px 0;
  }

  .page-resources-phtay-security-fairness__container {
    padding: 0 15px;
  }

  .page-resources-phtay-security-fairness__hero-image img,
  .page-resources-phtay-security-fairness__feature-icon img,
  .page-resources-phtay-security-fairness__fairness-icon img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-resources-phtay-security-fairness img {
    max-width: 100%;
    height: auto;
  }
}