/* style/privacy-policy.css */

/* General page styling */
.page-privacy-policy {
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  background-color: #E53935; /* Brand primary color for hero background */
  color: #ffffff; /* White text for contrast */
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it doesn't overflow */
  overflow: hidden;
  box-sizing: border-box;
}

.page-privacy-policy__hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  object-fit: cover;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 30px 20px 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 60ch; /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 80ch; /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Content Area */
.page-privacy-policy__content-area {
  max-width: 100%; /* Changed to 100% to allow full width padding on mobile */
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #F5F7FA; /* Background */
  color: #333333; /* Text Main */
  box-sizing: border-box;
}

.page-privacy-policy__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #E53935; /* Primary brand color for titles */
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-privacy-policy__paragraph {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-privacy-policy__list-item {
  margin-bottom: 10px;
  font-size: 17px;
}

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

.page-privacy-policy__content-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px; /* Max width for content images */
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-privacy-policy__image-caption {
  margin-top: 15px;
  font-size: 15px;
  color: #555555;
}

/* Links */
.page-privacy-policy__text-link {
  color: #E53935; /* Primary brand color */
  text-decoration: underline;
  font-weight: bold;
}

.page-privacy-policy__text-link:hover {
  color: #FF5A4F; /* Auxiliary brand color */
  text-decoration: none;
}

/* Buttons */
.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button gradient */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding/border included in width */
  text-align: center;
}

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-privacy-policy__copyright-section {
  background-color: #333333;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 15px;
}

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

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

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

  .page-privacy-policy__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__hero-description {
    font-size: 16px;
  }

  .page-privacy-policy__content-area {
    padding: 30px 0px; /* Remove horizontal padding here, let container handle it */
  }

  .page-privacy-policy__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 16px;
  }

  /* Images responsive */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size even on mobile */
    min-height: 200px !important; /* Enforce min size even on mobile */
  }
  
  .page-privacy-policy__hero-image-wrapper,
  .page-privacy-policy__image-block,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-privacy-policy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important; /* Add padding to buttons too */
    padding-right: 15px !important;
  }
}

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

/* Ensure content area images are not too small */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}