/* style/privacy-policy.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --page-bg-color: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--page-bg-color);
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding */
  background-color: var(--primary-color);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-privacy-policy__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above image if any layering */
  z-index: 2;
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.8) 0%, rgba(255, 90, 79, 0.8) 100%);
  margin-top: -100px; /* Overlap with image slightly for visual effect */
  padding-top: 120px;
  border-radius: 15px 15px 0 0;
}

.page-privacy-policy__main-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-privacy-policy__description {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-bg-color);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: -80px; /* Pull content area up to overlap hero section */
  position: relative;
  z-index: 1;
}

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

.page-privacy-policy__section-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-privacy-policy__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

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

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

.page-privacy-policy__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

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

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

/* FAQ Section */
.page-privacy-policy__faq-section {
  padding: 60px 20px;
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  margin-top: 40px;
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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;
}

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: #f9f9f9;
}

.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}

.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--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: #fcfcfc;
  border-radius: 0 0 8px 8px;
  color: var(--text-main-color);
}

details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content-wrapper {
    padding-top: 80px;
    margin-top: -80px;
  }
  .page-privacy-policy__content-area {
    margin-top: -60px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-privacy-policy__description {
    font-size: 17px;
  }
  .page-privacy-policy__section-title {
    font-size: 26px;
  }
  .page-privacy-policy__text-block, .page-privacy-policy__list-item, .page-privacy-policy__faq-qtext, .page-privacy-policy__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* General content area padding */
  .page-privacy-policy__content-area {
    padding: 20px 15px;
    margin-top: -40px;
  }
  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
  }
  .page-privacy-policy__hero-content-wrapper {
    padding: 30px 15px;
    margin-top: -60px;
    padding-top: 80px;
  }
  .page-privacy-policy__main-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }
  .page-privacy-policy__description {
    font-size: 15px;
  }

  /* Titles and Text */
  .page-privacy-policy__section-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-privacy-policy__text-block, .page-privacy-policy__list-item, .page-privacy-policy__faq-answer p {
    font-size: 15px;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }

  /* Images */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section */
  .page-privacy-policy__faq-section {
    padding: 40px 15px;
  }
  .page-privacy-policy__faq-section .page-privacy-policy__section-title {
    margin-bottom: 30px;
    font-size: 24px;
  }
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    padding: 15px;
  }
  .page-privacy-policy__faq-qtext {
    font-size: 16px;
  }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 15px 15px;
  }

  /* Placeholder for other required media queries (even if not directly used by this page type) */
  /* __hero-slider (general hero section) */
  .page-privacy-policy__hero-slider {
    padding-top: 10px !important;
  }
  /* __promo-duo-grid (general two-column grid that might stack) */
  .page-privacy-policy__promo-duo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  /* __home-content / __blog-slider (general content/blog list adaptation) */
  .page-privacy-policy__home-content, .page-privacy-policy__blog-slider {
    padding: 20px 15px;
  }
  .page-privacy-policy__home-content-inner {
    max-height: 60vh !important;
    overflow-y: auto !important;
  }
  .page-privacy-policy__post-cover {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  /* Buttons and button containers (general button adaptation) */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy a[class*="btn"] {
    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__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}