.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: transparent; /* Body background from shared.css */
}

.page-terms-conditions__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  text-align: center;
  background-color: #0A0A0A; /* Background for hero section, consistent with body */
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-terms-conditions__hero-content {
  position: relative;
  max-width: 1000px;
  margin: -100px auto 0 auto; /* Pull content up over image slightly */
  padding: 40px 20px;
  background: rgba(17, 17, 17, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
  z-index: 10;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-terms-conditions__article {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-terms-conditions__section-heading {
  font-size: 2.2em;
  color: #F2C14E; /* Main color */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #3A2A12;
  padding-bottom: 10px;
}

.page-terms-conditions__sub-heading {
  font-size: 1.6em;
  color: #FFD36B; /* Glow color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__paragraph {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-terms-conditions__paragraph a {
  color: #F2C14E; /* Main color for links */
  text-decoration: underline;
}

.page-terms-conditions__paragraph a:hover {
  color: #FFD36B; /* Glow color on hover */
}

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

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-terms-conditions__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-terms-conditions__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}

.page-terms-conditions__cta-section {
  text-align: center;
  padding: 50px 20px;
  background: #111111; /* Card BG */
  border-radius: 10px;
  margin-top: 40px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__cta-text {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on light button */
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-terms-conditions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-terms-conditions__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-terms-conditions__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: #FFF6D6;
  background-color: #0A0A0A;
  border-top: 1px solid #3A2A12;
  margin-top: 40px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-terms-conditions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-terms-conditions__hero-image {
    max-height: 300px;
  }

  .page-terms-conditions__hero-content {
    margin-top: -50px;
    padding: 20px 15px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-terms-conditions__intro-text {
    font-size: 1em;
  }

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

  .page-terms-conditions__article {
    padding: 20px 15px;
  }

  .page-terms-conditions__section-heading {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__sub-heading {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-terms-conditions__paragraph {
    font-size: 0.95em;
  }

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

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

  /* Image containers */
  .page-terms-conditions__image-wrapper,
  .page-terms-conditions__section,
  .page-terms-conditions__article,
  .page-terms-conditions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  /* Button responsiveness */
  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-terms-conditions__cta-text {
    font-size: 1.1em;
  }

  .page-terms-conditions__copyright {
    padding: 20px 15px;
  }
}