/* Base styles for the privacy policy page */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  padding-top: 10px; /* Fixed header spacing */
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 8px;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-privacy-policy__hero-content-wrapper {
  position: absolute;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(47, 107, 255, 0.7); /* Primary color with transparency */
  border-radius: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-privacy-policy__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-privacy-policy__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-privacy-policy__center-button {
  display: block;
  margin: 30px auto;
}

/* Content Area */
.page-privacy-policy__section {
  background-color: #FFFFFF; /* Card BG */
  padding: 40px 0;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #1F2D3D; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
}

.page-privacy-policy ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-privacy-policy li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-privacy-policy a {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-privacy-policy a:hover {
  text-decoration: none;
}

/* Image with text block */
.page-privacy-policy__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__image-text-block .page-privacy-policy__content-image {
  flex-shrink: 0;
  width: 40%;
  border-radius: 8px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__image-text-block .page-privacy-policy__text-content {
  flex-grow: 1;
}

.page-privacy-policy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF; /* Primary color */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
}

.page-privacy-policy__centered-image {
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Card Grid */
.page-privacy-policy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-privacy-policy__card-title {
  font-size: 1.3em;
  color: #2F6BFF; /* Primary color */
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-privacy-policy__card p {
  font-size: 0.95em;
  color: #1F2D3D;
  flex-grow: 1;
}

.page-privacy-policy__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__card-button:hover {
  opacity: 0.9;
}

/* List with icons */
.page-privacy-policy__list-icons {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-privacy-policy__list-icons li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 1em;
  color: #1F2D3D;
}

.page-privacy-policy__icon {
  color: #2F6BFF; /* Primary color */
  margin-right: 10px;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}

/* User Rights Grid */
.page-privacy-policy__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-privacy-policy__right-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-privacy-policy__right-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Security List */
.page-privacy-policy__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-privacy-policy__security-list li {
  background: #F4F7FB; /* Background color */
  border-left: 4px solid #2F6BFF; /* Primary color */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1em;
  color: #1F2D3D;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.page-privacy-policy__security-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* Cookie Types List */
.page-privacy-policy__cookie-types {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-privacy-policy__cookie-types li {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1em;
  color: #1F2D3D;
}

.page-privacy-policy__cookie-types li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* Contact List */
.page-privacy-policy__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #D6E2FF;
  font-size: 1em;
  color: #1F2D3D;
}

.page-privacy-policy__contact-list li:last-child {
  border-bottom: none;
}

.page-privacy-policy__contact-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
  margin-top: 50px;
  padding-bottom: 40px;
}

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

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #F4F7FB; /* Background color */
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB; /* Background color */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content-wrapper {
    padding: 30px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-privacy-policy__hero-description {
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  }
}