/* style/privacy-policy.css */

:root {
  --color-primary: #F2C14E;
  --color-secondary: #FFD36B;
  --color-background-dark: #0A0A0A;
  --color-card-bg: #111111;
  --color-text-main: #FFF6D6;
  --color-border: #3A2A12;
  --color-glow: #FFD36B;
  --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

.page-privacy-policy__hero-section {
  padding-top: 10px; /* Rely on body padding-top from shared.css */
  position: relative;
  text-align: center;
  color: var(--color-text-main);
  overflow: hidden;
  padding-bottom: 40px;
}

.page-privacy-policy__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-privacy-policy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  width: 90%;
  z-index: 10;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

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

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

.page-privacy-policy__content-section {
  padding: 60px 0;
  background-color: var(--color-background-dark);
  color: var(--color-text-main);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 700;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
  font-size: 1.6rem;
  color: var(--color-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--color-text-main);
}

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

.page-privacy-policy__list-item {
  margin-bottom: 8px;
  font-size: 1rem;
}

.page-privacy-policy__list-item strong {
  color: var(--color-secondary);
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__link-contact {
  color: var(--color-secondary);
  text-decoration: underline;
}

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

.page-privacy-policy__cta-block {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.2);
}

.page-privacy-policy__cta-text {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.page-privacy-policy__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.4);
}

/* --- Placeholder CSS for required mobile rules --- */
/* These rules are mandatory as per instructions, even if the elements are not visually prominent on this specific page. */

.page-privacy-policy__hero-carousel-section {
  /* This is a placeholder for the hero carousel section, if it were present */
  padding-top: 10px;
}

.page-privacy-policy__guide-box {
  /* Placeholder for guide box (five team cards) */
  padding: 16px 20px 24px;
  background: var(--color-card-bg);
  border-radius: 4px;
}

.page-privacy-policy__guide-grid {
  /* Placeholder for guide grid */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-privacy-policy__guide-card {
  /* Placeholder for guide card */
  flex: 0 0 20%;
  max-width: 20%;
}

.page-privacy-policy__guide-card img {
  /* Placeholder for guide card image */
  aspect-ratio: 250/350;
  object-fit: contain;
  width: 100%;
  height: auto;
}

.page-privacy-policy__guide-card--pos-1, .page-privacy-policy__guide-card--pos-5 {
  /* Placeholder for specific guide card positioning */
  padding-top: 50px;
}

.page-privacy-policy__guide-card--pos-2, .page-privacy-policy__guide-card--pos-4 {
  /* Placeholder for specific guide card positioning */
  padding-top: 25px;
}

.page-privacy-policy__home-content-box {
  /* Placeholder for home content box */
  max-width: 91%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid var(--color-primary);
  border-radius: 15px;
  box-shadow: 0 0 20px var(--color-primary);
  height: 700px;
  overflow: hidden;
}

.page-privacy-policy__home-content-inner {
  /* Placeholder for home content inner scrollable area */
  height: 100%;
  overflow-y: auto;
}

.page-privacy-policy__blog-grid {
  /* Placeholder for blog grid */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-privacy-policy__hero-section {
    padding-top: 10px !important;
    height: auto;
  }

  .page-privacy-policy__hero-image-wrapper {
    height: 300px;
  }

  .page-privacy-policy__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    width: 100%;
  }

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

  .page-privacy-policy__intro-text {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-section {
    padding: 30px 0;
  }

  .page-privacy-policy__container {
    padding: 0 15px;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__paragraph,
  .page-privacy-policy__list-item {
    font-size: 0.95rem;
  }

  .page-privacy-policy__cta-block {
    padding: 20px;
    margin-top: 30px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .page-privacy-policy__btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* --- Mandatory Mobile Rules for Placeholder Sections --- */
  /* 1. Top Hero Carousel Section */
  .page-privacy-policy__hero-carousel-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }

  /* 2. Guide Box with Five Team Vertical Cards */
  .page-privacy-policy__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .page-privacy-policy__guide-card {
    padding-top: 0 !important; /* Reset specific padding for mobile */
    flex: none;
  }

  .page-privacy-policy__guide-card--pos-1,
  .page-privacy-policy__guide-card--pos-2 {
    grid-column: span 3; /* Top two cards take 3 columns each (half width) */
    max-width: 100%;
  }

  .page-privacy-policy__guide-card--pos-3,
  .page-privacy-policy__guide-card--pos-4,
  .page-privacy-policy__guide-card--pos-5 {
    grid-column: span 2; /* Bottom three cards take 2 columns each (third width) */
    max-width: 100%;
  }

  .page-privacy-policy__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100% !important;
    height: auto !important;
  }

  /* 3. Home Content Box (700px height scrolling frame) */
  .page-privacy-policy__home-content-box {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Auto height for mobile */
    padding: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__home-content-inner {
    height: auto !important; /* Auto height for mobile */
    overflow: visible !important; /* No scrolling on mobile */
  }

  /* 4. Blog Card Section */
  .page-privacy-policy__blog-grid {
    grid-template-columns: repeat(1, 1fr) !important; /* Single column for mobile */
    gap: 15px !important;
  }

  /* 5. General Images and Buttons */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container,
  .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 !important;
    padding-right: 15px !important;
  }

  .page-privacy-policy__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}