.page-terms-conditions {
  padding-bottom: 40px;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
  min-height: 80vh; /* Ensure sufficient height */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-terms-conditions__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%); /* Card BG to Background gradient */
}

.page-terms-conditions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FF8C1A; /* Main color */
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjust clamp values for H1 */
}

.page-terms-conditions__description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF3E6; /* Text Main */
}

.page-terms-conditions__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-terms-conditions__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 150px;
  cursor: pointer;
  border: none;
}

.page-terms-conditions__button--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-terms-conditions__button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-terms-conditions__button--secondary {
  background-color: transparent;
  color: #FF8C1A; /* Main color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-terms-conditions__button--secondary:hover {
  background-color: rgba(255, 140, 26, 0.1);
  transform: translateY(-2px);
}

.page-terms-conditions__button--inline {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main */
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}

.page-terms-conditions__button--inline:hover {
  opacity: 0.9;
}

.page-terms-conditions__content-section {
  padding: 40px 0;
}

.page-terms-conditions__article-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1rem;
}

.page-terms-conditions__section-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #FFA53A; /* Auxiliary color */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
  filter: none; /* No filter for images */
  min-width: 200px; /* Enforce minimum width */
  min-height: 200px; /* Enforce minimum height */
}

.page-terms-conditions__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-terms-conditions__contact-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #FFF3E6; /* Text Main */
}

.page-terms-conditions__link {
  color: #FFB04D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #FFA53A; /* Auxiliary color on hover */
  text-decoration: underline;
}

.page-terms-conditions__last-updated {
  margin-top: 40px;
  font-size: 0.9rem;
  text-align: right;
  color: #A84F0C; /* Border color for subtle text */
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-terms-conditions__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-terms-conditions__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-terms-conditions__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-terms-conditions__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-terms-conditions__section-title {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  }
  .page-terms-conditions__article-content {
    font-size: 0.95rem;
  }
}

@media (max-width: 549px) {
  .page-terms-conditions__container {
    padding: 0 10px;
  }
  .page-terms-conditions__hero-section {
    padding-bottom: 30px;
  }
  .page-terms-conditions__main-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
  .page-terms-conditions__description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .page-terms-conditions__article-content {
    padding: 0 5px; /* Adjust padding for very small screens */
  }
  .page-terms-conditions__button {
    padding: 10px 20px;
  }
}

/* Crucial mobile responsiveness for images to prevent overflow */
@media (max-width: 768px) {
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}