.page-terms-conditions {
  color: #ffffff; /* Sẽ được điều chỉnh bởi hệ thống màu thông minh nếu body background không phải là dark */
  background-color: #0a0a0a; /* Body background color from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị header cố định che */
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-terms-conditions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(1, 116, 57, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-terms-conditions__heading-1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: #1a1a1a; /* Nền tối hơn để nổi bật trên body */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__section {
  margin-bottom: 40px;
}

.page-terms-conditions__heading-2 {
  font-size: 2.5em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #017439;
  padding-bottom: 10px;
}

.page-terms-conditions__heading-3 {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-terms-conditions__list-item {
  margin-bottom: 8px;
  color: #e0e0e0;
}

.page-terms-conditions__list-item strong {
  color: #ffffff;
}

.page-terms-conditions__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__image--center {
  text-align: center;
}

.page-terms-conditions a {
  color: #017439; /* Màu thương hiệu cho liên kết */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
  color: #00a040; /* Màu xanh lá cây sáng hơn khi hover */
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__heading-1 {
    font-size: 2.8em;
  }

  .page-terms-conditions__hero-description {
    font-size: 1.1em;
  }

  .page-terms-conditions__heading-2 {
    font-size: 2em;
  }

  .page-terms-conditions__heading-3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-terms-conditions__heading-1 {
    font-size: 2.2em;
  }

  .page-terms-conditions__hero-description {
    font-size: 1em;
  }

  .page-terms-conditions__heading-2 {
    font-size: 1.8em;
  }

  .page-terms-conditions__heading-3 {
    font-size: 1.4em;
  }

  .page-terms-conditions__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  .page-terms-conditions p,
  .page-terms-conditions li {
    font-size: 15px;
  }

  /* Mobile image responsiveness */
  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__section,
  .page-terms-conditions__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__heading-1 {
    font-size: 1.8em;
  }

  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }

  .page-terms-conditions__hero-section {
    min-height: 300px;
  }

  .page-terms-conditions__heading-2 {
    font-size: 1.5em;
  }

  .page-terms-conditions__heading-3 {
    font-size: 1.2em;
  }

  .page-terms-conditions__list {
    margin-left: 15px;
  }
}