/* style/privacy-policy.css */

/* --- General Styles (scoped to .page-privacy-policy) --- */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main for dark background */
  background-color: #0D0E12; /* Background color from custom palette */
  line-height: 1.6;
}

/* Fixed header spacing handled by body in shared.css, no need to add here */
/* .page-privacy-policy__hero-section should have small top padding, not --header-offset */

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  box-sizing: border-box;
  background-color: #0D0E12; /* Ensure background matches body */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
  border-radius: 10px;
}

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

.page-privacy-policy__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  color: #FFF3E6; /* Light text for dark background */
}

.page-privacy-policy__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  color: #FF8C1A; /* Primary color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-privacy-policy__intro-text {
  font-size: 1.05em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

/* --- CTA Buttons --- */
.page-privacy-policy__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
  transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Primary color for text */
  border: 2px solid #A84F0C; /* Border color */
  box-shadow: 0 2px 10px rgba(168, 79, 12, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  color: #FFA53A;
  border-color: #FFA53A;
  transform: translateY(-2px);
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
  padding: 60px 0;
  background-color: #0D0E12; /* Background color */
  color: #FFF3E6; /* Text Main */
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #FF8C1A; /* Primary color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-privacy-policy__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #FFF3E6; /* Text Main */
}

.page-privacy-policy__list li strong {
  color: #FFA53A; /* Secondary color for emphasis */
}

.page-privacy-policy__content-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__image-wrapper--inline {
  width: 100%;
  max-width: 800px; /* Max width for inline images */
  margin: 30px auto;
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy a {
  color: #FF8C1A; /* Primary color for links */\  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #FFA53A; /* Secondary color on hover */
}

.page-privacy-policy__update-date {
  font-size: 0.95em;
  color: #A84F0C; /* Border color for subtle text */
  text-align: right;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(168, 79, 12, 0.3);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

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

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for first section */
  }

  .page-privacy-policy__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-privacy-policy__hero-content {
    padding: 0 10px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 350px; /* Narrower for mobile */
  }

  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__content-area {
    padding: 40px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

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

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

  /* Image responsiveness for content area */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 200px !important; /* Maintain minimum size */
    min-height: 200px !important; /* Maintain minimum size */
  }

  .page-privacy-policy__image-wrapper,
  .page-privacy-policy__image-wrapper--inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

  .page-privacy-policy__main-title {
    font-size: clamp(1.4em, 8vw, 2em);
  }

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

/* Color contrast enforcement - Dark body background (#0D0E12) requires light text (#FFF3E6) */
.page-privacy-policy__dark-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-privacy-policy__card { /* Although no explicit cards in this layout, define for safety */
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

/* Ensure all links and interactive elements have sufficient contrast */
.page-privacy-policy a {
  color: #FF8C1A; /* Primary color */
}

.page-privacy-policy a:hover {
  color: #FFA53A; /* Secondary color */
}

/* No CSS filter on images */
.page-privacy-policy img {
  filter: none;
}