.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--primary-color); /* Matches #1A202C */
  padding-top: var(--header-offset, 120px);
}

.page-privacy-policy__hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:1920x1080:awin_bet,privacy_policy,security_banner,data_protection]') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-privacy-policy__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #F5B041;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  background-color: #F5B041; /* Accent color for CTA */
  color: #1A202C;
  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;
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background-color: #e0a03d;
  transform: translateY(-2px);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1A202C;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.page-privacy-policy__section-heading {
  font-size: 2.2em;
  color: #F5B041;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #F5B041;
  padding-bottom: 10px;
}

.page-privacy-policy__sub-heading {
  font-size: 1.6em;
  color: #F5B041;
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-privacy-policy__list-item strong {
  color: #F5B041;
}

.page-privacy-policy__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
  object-fit: cover;
}

.page-privacy-policy__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__link-button {
  display: inline-block;
  background-color: transparent;
  color: #F5B041;
  padding: 10px 20px;
  border: 2px solid #F5B041;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-privacy-policy__link-button:hover {
  background-color: #F5B041;
  color: #1A202C;
}

/* FAQ Section */
.page-privacy-policy__section-faq {
  background-color: #2a3447;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  background-color: #1A202C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1A202C;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  border-bottom: 1px solid rgba(245, 176, 65, 0.2);
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
  background-color: #2a3447;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  color: #F5B041;
  font-size: 1.2em;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #F5B041;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-privacy-policy__faq-answer p {
  margin: 0;
  padding-bottom: 15px;
  font-size: 1em;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(0deg);
}

/* Ensure links within content are styled */
.page-privacy-policy__paragraph a,
.page-privacy-policy__list-item a {
  color: #F5B041;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__paragraph a:hover,
.page-privacy-policy__list-item a:hover {
  color: #e0a03d;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
  }

  .page-privacy-policy__section-heading {
    font-size: 1.8em;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 60px 15px;
    min-height: 350px;
  }

  .page-privacy-policy__hero-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__hero-description {
    font-size: 0.95em;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-privacy-policy__content-area {
    padding: 25px 15px;
    margin-bottom: 20px;
  }

  .page-privacy-policy__section-heading {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__paragraph {
    font-size: 0.95em;
  }

  .page-privacy-policy__list {
    margin-left: 20px;
  }

  .page-privacy-policy__list-item {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-privacy-policy__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1.1em;
  }

  .page-privacy-policy__faq-toggle {
    font-size: 1.5em;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 15px;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__hero-title {
    font-size: 1.5em;
  }

  .page-privacy-policy__hero-description {
    font-size: 0.9em;
  }

  .page-privacy-policy__section-heading {
    font-size: 1.4em;
  }

  .page-privacy-policy__sub-heading {
    font-size: 1.1em;
  }

  .page-privacy-policy__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}