/* style/privacy-policy.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */

:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --card-bg-color: #10233F;
  --border-color: #244D84;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --deep-navy-color: #08162B;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Mặc định cho toàn bộ trang */
  background-color: var(--deep-navy-color); /* Phù hợp với body background */
}

.page-privacy-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng đệm nhỏ, không dùng --header-offset */
  background-color: var(--primary-color);
  color: var(--text-main-color);
  text-align: center;
  overflow: hidden;
}

.page-privacy-policy__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

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

.page-privacy-policy__intro-text {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-secondary-color);
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--card-bg-color); /* Nền cho phần nội dung chính */
  color: var(--text-main-color);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-privacy-policy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--gold-color, var(--text-main-color)); /* Sử dụng màu vàng nếu có, không thì dùng text-main */
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  color: var(--text-secondary-color);
}

.page-privacy-policy strong {
  color: var(--text-main-color);
}

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

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: var(--text-secondary-color);
}

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

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

.page-privacy-policy a:hover {
  color: var(--gold-color, var(--secondary-color));
  text-decoration: none;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-privacy-policy__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

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

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

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

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

  .page-privacy-policy__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8rem;
  }

  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__hero-image,
  .page-privacy-policy__content-image {
    min-width: unset !important;
    min-height: unset !important;
  }

  .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;
    padding-right: 15px;
  }

  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-privacy-policy__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8rem;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5rem;
  }
}