/* style/privacy-policy.css */

:root {
  --sonbet-green-dark: #0A4B2C;
  --sonbet-green-light: #11A84E;
  --sonbet-green-medium: #22C768;
  --sonbet-gold: #F2C14E;
  --sonbet-text-main: #F2FFF6;
  --sonbet-text-secondary: #A7D9B8;
  --sonbet-bg-dark: #08160F;
  --sonbet-card-bg: #11271B;
  --sonbet-border: #2E7A4E;
  --sonbet-divider: #1E3A2A;
  --sonbet-glow: #57E38D;
  --sonbet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--sonbet-text-main); /* Default text color for the page */
  background-color: var(--sonbet-bg-dark); /* Page background from custom palette */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--sonbet-bg-dark);
  overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-privacy-policy__hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size for H1 */
  color: var(--sonbet-gold);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: var(--sonbet-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--sonbet-bg-dark);
  border-top: 1px solid var(--sonbet-divider);
}

.page-privacy-policy__section-spacing {
  margin-bottom: 40px;
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--sonbet-green-light);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--sonbet-divider);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.4em;
  color: var(--sonbet-gold);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block {
  margin-bottom: 20px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--sonbet-text-main);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  color: var(--sonbet-text-main);
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  color: var(--sonbet-text-secondary);
}

.page-privacy-policy__list-item strong {
  color: var(--sonbet-text-main);
}

.page-privacy-policy__link {
  color: var(--sonbet-green-light);
  text-decoration: underline;
}

.page-privacy-policy__link:hover {
  color: var(--sonbet-gold);
}

.page-privacy-policy__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-privacy-policy__image-caption {
  font-style: italic;
  color: var(--sonbet-text-secondary);
  margin-top: 10px;
  font-size: 0.9em;
}

.page-privacy-policy__contact-button-wrapper {
  text-align: center;
  margin-top: 30px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background: var(--sonbet-button-gradient);
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-privacy-policy__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: var(--sonbet-card-bg);
  text-align: center;
  border-top: 1px solid var(--sonbet-divider);
}

.page-privacy-policy__cta-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-privacy-policy__cta-title {
  font-size: 2.2em;
  color: var(--sonbet-gold);
  margin-bottom: 20px;
}

.page-privacy-policy__cta-description {
  font-size: 1.1em;
  color: var(--sonbet-text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__btn-cta {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-privacy-policy__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
}

.page-privacy-policy__cta-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (min-width: 769px) {
  .page-privacy-policy__cta-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-privacy-policy__cta-content {
    margin-bottom: 0;
    margin-right: 40px;
  }

  .page-privacy-policy__cta-image-wrapper {
    margin-top: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.6em;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.2em;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__image-block,
  .page-privacy-policy__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-cta {
    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;
    margin-bottom: 10px;
  }

  .page-privacy-policy__contact-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .page-privacy-policy__cta-content {
    margin-right: 0;
    margin-bottom: 20px;
  }

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