/* style/privacy-policy.css */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* General background for the main content area */
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand color gradient for hero background */
  color: #ffffff; /* White text for dark background */
}

.page-privacy-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Required for flex children */
}

.page-privacy-policy__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 800px; /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__intro-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Content Section */
.page-privacy-policy__content-section {
  padding: 40px 20px;
  background-color: #F5F7FA; /* Background for content */
  color: #333333; /* Text color for light background */
}

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

.page-privacy-policy__section-title {
  font-size: 2rem;
  color: #E53935; /* Primary color for section titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FF5A4F; /* Accent border */
  padding-bottom: 10px;
}

.page-privacy-policy__content-section h3 {
  font-size: 1.5rem;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__content-section p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-privacy-policy__content-section ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-privacy-policy__content-section ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-privacy-policy__content-section li {
  margin-bottom: 8px;
}

.page-privacy-policy__content-section a {
  color: #E53935;
  text-decoration: underline;
}

.page-privacy-policy__content-section a:hover {
  color: #FF5A4F;
}

/* Cards */
.page-privacy-policy__card {
  background: #FFFFFF; /* Card background */
  border: 1px solid #E0E0E0; /* Border color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  color: #333333; /* Text color for card */
}

.page-privacy-policy__card-title {
  font-size: 1.3rem;
  color: #E53935;
  margin-top: 0;
  margin-bottom: 15px;
}

/* Info List & Sharing Grid */
.page-privacy-policy__info-list,
.page-privacy-policy__sharing-grid,
.page-privacy-policy__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-privacy-policy__info-list img,
.page-privacy-policy__sharing-grid img,
.page-privacy-policy__rights-grid img {
  width: 100%;
  height: auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
}

.page-privacy-policy__security-measures,
.page-privacy-policy__cookie-types,
.page-privacy-policy__contact-info {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-privacy-policy__security-measures li,
.page-privacy-policy__cookie-types li,
.page-privacy-policy__contact-info li {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  padding: 15px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-privacy-policy__security-measures li::before,
.page-privacy-policy__cookie-types li::before,
.page-privacy-policy__contact-info li::before {
  content: '✓'; /* Checkmark icon */
  color: #E53935;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

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

  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-privacy-policy__hero-image img {
    border-radius: 4px;
  }

  .page-privacy-policy__main-title {
    font-size: 2rem;
  }

  .page-privacy-policy__intro-text {
    font-size: 1rem;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    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__content-section {
    padding: 20px 15px;
  }

  .page-privacy-policy__container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5rem;
    margin-top: 30px;
  }

  .page-privacy-policy__content-section h3 {
    font-size: 1.2rem;
  }

  .page-privacy-policy__info-list,
  .page-privacy-policy__sharing-grid,
  .page-privacy-policy__rights-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 15px;
  }

  .page-privacy-policy__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Enhance visibility on mobile */
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__info-list .page-privacy-policy__card img,
  .page-privacy-policy__sharing-grid .page-privacy-policy__card img,
  .page-privacy-policy__rights-grid .page-privacy-policy__card img {
    min-width: unset;
    min-height: unset;
  }

  .page-privacy-policy__security-measures li,
  .page-privacy-policy__cookie-types li,
  .page-privacy-policy__contact-info li {
    padding: 12px 15px;
  }
}